/* ==========================================================================
   Döwletli Depgin HJ — Brand stylesheet
   Light theme · Brochure blue / white / grey palette
   Designit-inspired layout language (original implementation)
   ========================================================================== */

:root {
  /* Brand palette */
  --brand-primary: #2E5B9A;
  --brand-primary-light: #3B71B5;
  --brand-navy: #1B3A6B;
  --brand-sky: #6FA8D6;
  --brand-sky-soft: #8BB8E0;
  --brand-text: #5A6570;
  --brand-border: #E6EAEF;
  --brand-bg: #FFFFFF;
  --brand-bg-soft: #F6F8FB;
  --brand-white: #FFFFFF;

  /* Typography */
  --font-heading: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Layout */
  --header-height: 80px;
  --radius: 4px;
  --shadow-soft: 0 8px 30px rgba(27, 58, 107, 0.08);
  --transition: 0.3s ease;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--brand-text);
  background: var(--brand-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--brand-navy);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--brand-navy);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

.section {
  padding: 64px 0;
}

.section-soft {
  background: var(--brand-bg-soft);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--brand-text);
  max-width: 640px;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-sky);
  margin-bottom: 0.5rem;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Subtle diamond accent (brochure-inspired, used sparingly) */
.diamond-accent {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--brand-sky);
  transform: rotate(45deg);
  margin: 0 8px;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.75rem 1.6rem;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--brand-white);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: var(--brand-white);
}

.btn-outline-primary {
  background: transparent;
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--brand-white);
}

.btn-light-brand {
  background: var(--brand-white);
  border-color: var(--brand-white);
  color: var(--brand-navy);
}

.btn-light-brand:hover {
  background: var(--brand-bg-soft);
  border-color: var(--brand-bg-soft);
  color: var(--brand-navy);
}

/* Outline button for dark hero overlays */
.btn-outline-hero {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--brand-white);
}

.btn-outline-hero:hover,
.btn-outline-hero:focus {
  background: var(--brand-white);
  border-color: var(--brand-white);
  color: var(--brand-navy);
}

/* --------------------------------------------------------------------------
   Header (sticky)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--brand-border);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
}

.site-header .navbar {
  padding: 0.85rem 0;
  min-height: var(--header-height);
}

.navbar-brand {
  padding: 0;
}

.navbar-brand img {
  height: 52px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-navy) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--brand-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border-color: var(--brand-border);
  padding: 0.4rem 0.55rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(46, 91, 154, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231B3A6B' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --------------------------------------------------------------------------
   Hero (full-bleed, first viewport)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--brand-white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(27, 58, 107, 0.82) 0%,
    rgba(46, 91, 154, 0.55) 55%,
    rgba(46, 91, 154, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  max-width: 720px;
}

.hero-brand {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-sky-soft);
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--brand-white);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* --------------------------------------------------------------------------
   Page header (inner pages)
   -------------------------------------------------------------------------- */
.page-header {
  position: relative;
  padding: 72px 0 52px;
  background-size: cover;
  background-position: center;
  color: var(--brand-white);
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(27, 58, 107, 0.88), rgba(46, 91, 154, 0.7));
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--brand-white);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  max-width: 560px;
}

.breadcrumb-nav {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.breadcrumb-nav a {
  color: var(--brand-sky-soft);
}

.breadcrumb-nav span {
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   About teaser
   -------------------------------------------------------------------------- */
.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-image-wrap::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 40%;
  height: 40%;
  border: 3px solid var(--brand-sky);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Pillars
   -------------------------------------------------------------------------- */
.pillar-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  height: 100%;
  text-align: center;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.pillar-card:hover {
  box-shadow: var(--shadow-soft);
  border-color: var(--brand-sky-soft);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(111, 168, 214, 0.15);
  color: var(--brand-primary);
  border-radius: 50%;
  font-size: 1.4rem;
}

.pillar-card h3 {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.pillar-gloss {
  font-size: 0.85rem;
  color: var(--brand-sky);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */
.service-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.service-card-img {
  height: 200px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.service-card-body p {
  flex: 1;
  font-size: 0.95rem;
}

.service-card-body .link-more {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-primary);
}

.service-card-body .link-more:hover {
  color: var(--brand-navy);
}

/* Service detail blocks (services.html) */
.service-detail {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.service-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
}

.service-detail-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.service-detail ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.service-detail ul li {
  margin-bottom: 0.45rem;
}

.service-detail ul li::marker {
  color: var(--brand-sky);
}

/* --------------------------------------------------------------------------
   Materials comparison
   -------------------------------------------------------------------------- */
.material-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
}

.material-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.material-card-body {
  padding: 1.75rem;
}

.material-card h3 {
  font-size: 1.25rem;
}

.material-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: rgba(46, 91, 154, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Projects gallery
   -------------------------------------------------------------------------- */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.filter-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--brand-border);
  background: var(--brand-white);
  color: var(--brand-text);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--brand-white);
}

.project-item {
  margin-bottom: 1.5rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  height: 280px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 58, 107, 0.88) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 1;
}

.project-overlay h4 {
  color: var(--brand-white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.project-overlay span {
  color: var(--brand-sky-soft);
  font-size: 0.85rem;
  font-weight: 600;
}

.project-item.is-hidden {
  display: none;
}

/* --------------------------------------------------------------------------
   Certificates
   -------------------------------------------------------------------------- */
.cert-filters {
  margin-bottom: 2rem;
}

.cert-item.is-hidden {
  display: none;
}

.cert-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(27, 58, 107, 0.12);
}

.cert-card-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--brand-bg-soft);
  position: relative;
  cursor: zoom-in;
}

.cert-card-btn img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.cert-card:hover .cert-card-btn img {
  transform: scale(1.03);
}

.cert-card-zoom {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(27, 58, 107, 0.82);
  color: var(--brand-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.cert-card:hover .cert-card-zoom {
  opacity: 1;
}

.cert-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.cert-card-body h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.cert-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 0.5rem;
}

.cert-meta {
  font-size: 0.875rem;
  color: var(--brand-text);
  margin-bottom: 0;
  line-height: 1.5;
}

.cert-modal .modal-content {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
}

.cert-modal-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: var(--brand-bg-soft);
}

/* Home certificate showcase slider */
.cert-showcase {
  position: relative;
  padding: 3.5rem 0;
  overflow: hidden;
}

.cert-showcase-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-navy) 0%, #243f6e 45%, var(--brand-primary) 100%);
  z-index: 0;
}

.cert-showcase-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(111, 168, 214, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.cert-showcase .container {
  z-index: 1;
}

.cert-showcase-eyebrow {
  color: var(--brand-sky-soft) !important;
}

.cert-showcase-title {
  color: var(--brand-white);
  margin-bottom: 0.75rem;
}

.cert-showcase-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 36rem;
}

.cert-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.cert-showcase-badge-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--brand-white);
}

.cert-showcase-badge-text {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
  line-height: 1.3;
}

.cert-showcase-cta {
  min-width: 220px;
}

.cert-slider {
  position: relative;
  padding: 0 3rem;
}

.cert-slider-viewport {
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
}

.cert-slider-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.cert-slide {
  flex: 0 0 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .cert-slide {
    flex: 0 0 calc((100% - 2rem) / 2);
  }
}

@media (min-width: 992px) {
  .cert-slide {
    flex: 0 0 calc((100% - 4rem) / 3);
  }
}

.cert-slide-card {
  height: 100%;
  background: var(--brand-white);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.cert-slide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

.cert-slide-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.cert-slide-frame {
  position: relative;
  padding: 1rem 1rem 0.75rem;
  background: linear-gradient(180deg, #eef2f7 0%, #f8fafc 100%);
}

.cert-slide-frame::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 0.25rem;
  border-radius: 999px;
  background: rgba(27, 58, 107, 0.12);
}

.cert-slide-frame img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(27, 58, 107, 0.12);
  transition: transform 0.4s ease;
}

.cert-slide-card:hover .cert-slide-frame img {
  transform: scale(1.02);
}

.cert-slide-caption {
  padding: 1.15rem 1.25rem 1.35rem;
}

.cert-slide-caption h3 {
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 0.35rem;
  color: var(--brand-navy);
}

.cert-slide-caption p {
  font-size: 0.8rem;
  color: var(--brand-text);
  margin-bottom: 0;
  line-height: 1.45;
}

.cert-slide-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 0.45rem;
}

.cert-slide-tag-accent {
  color: var(--brand-navy);
  background: rgba(46, 91, 154, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.cert-slider-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background var(--transition), transform var(--transition);
}

.cert-slider-arrow:hover {
  background: var(--brand-white);
  transform: translateY(-50%) scale(1.06);
}

.cert-slider-prev {
  left: 0;
}

.cert-slider-next {
  right: 0;
}

.cert-slider-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.cert-slider-dot {
  width: 2.5rem;
  height: 0.25rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: background var(--transition), width var(--transition);
  cursor: pointer;
}

.cert-slider-dot.is-active {
  width: 3.25rem;
  background: var(--brand-white);
}

@media (max-width: 767px) {
  .cert-showcase {
    padding: 2.75rem 0;
  }

  .cert-slider {
    padding: 0 2.5rem;
  }

  .cert-slide-frame img {
    height: 240px;
  }

  .cert-slider-arrow {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   Process / Why us
   -------------------------------------------------------------------------- */
.process-step {
  text-align: center;
  padding: 1rem 0.75rem;
  position: relative;
  height: 100%;
}

.process-number {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary);
  color: var(--brand-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 50%;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   CTA banner
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  padding: 56px 0;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(46, 91, 154, 0.92), rgba(111, 168, 214, 0.85));
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--brand-white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.95);
  max-width: 520px;
  margin: 0 auto 1.75rem;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-info-card {
  background: var(--brand-bg-soft);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.contact-info-card a {
  color: var(--brand-text);
}

.contact-info-card a:hover {
  color: var(--brand-primary);
}

.contact-form {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.contact-form .form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-navy);
}

.contact-form .form-control,
.contact-form .form-select {
  border-color: var(--brand-border);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  color: var(--brand-text);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--brand-sky);
  box-shadow: 0 0 0 0.2rem rgba(111, 168, 214, 0.25);
}

.form-success {
  display: none;
  background: rgba(46, 91, 154, 0.08);
  border: 1px solid var(--brand-sky-soft);
  color: var(--brand-navy);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.form-success.is-visible {
  display: block;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--brand-border);
  height: 360px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-strip {
  background: var(--brand-bg-soft);
  border-top: 1px solid var(--brand-border);
  padding: 1.75rem 0;
}

.contact-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.contact-strip-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 91, 154, 0.1);
  color: var(--brand-primary);
  border-radius: 50%;
  font-size: 1rem;
}

.contact-strip-item strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--brand-navy);
  font-size: 0.95rem;
}

.contact-strip-item a,
.contact-strip-item span {
  color: var(--brand-text);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Partners / about extras
   -------------------------------------------------------------------------- */
.partner-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.partner-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.partner-list li:last-child {
  border-bottom: 0;
}

.partner-list .dot {
  width: 8px;
  height: 8px;
  background: var(--brand-sky);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 52px;
}

.site-footer h5 {
  color: var(--brand-white);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer a:hover {
  color: var(--brand-sky-soft);
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand img {
  height: 56px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  /* Make logo readable on navy: keep as-is; SVG is blue — use filter for light version feel */
  /* PNG brand logo — keep original blues on navy via slight brightness */
  filter: brightness(1.15);
  opacity: 1;
}

.footer-about {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  max-width: 320px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-contact li {
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding: 1rem 0;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.bg-soft {
  background: var(--brand-bg-soft);
}

.text-navy {
  color: var(--brand-navy) !important;
}

.text-brand {
  color: var(--brand-primary) !important;
}

.list-check {
  list-style: none;
  padding: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background: var(--brand-sky);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .section {
    padding: 48px 0;
  }

  .hero {
    min-height: 70vh;
  }

  .about-image-wrap::after {
    display: none;
  }

  .navbar-nav {
    padding: 1rem 0;
  }

  .navbar-nav .nav-link {
    padding: 0.65rem 0 !important;
  }

  .navbar-nav .nav-link::after {
    left: 0;
    right: auto;
    width: 40px;
  }
}

@media (max-width: 575.98px) {
  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }

  .project-card {
    height: 240px;
  }

  .contact-form {
    padding: 1.5rem;
  }
}


/* --------------------------------------------------------------------------
   Language switcher (TK / RU / EN)
   -------------------------------------------------------------------------- */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--brand-white);
}

.lang-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.55rem;
  border: 0;
  background: transparent;
  color: var(--brand-text);
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1.2;
}

.lang-btn + .lang-btn {
  border-left: 1px solid var(--brand-border);
}

.lang-btn:hover {
  color: var(--brand-primary);
  background: var(--brand-bg-soft);
}

.lang-btn.is-active {
  background: var(--brand-primary);
  color: var(--brand-white);
}

@media (max-width: 575.98px) {
  .lang-btn {
    padding: 0.3rem 0.45rem;
    font-size: 0.7rem;
  }
}
