/*
Theme Name: Certified Translations US
Theme URI: https://translationsforeurope.com
Author: Certified Translations
Description: Custom lightweight theme for translationsforeurope.com. Modern storytelling design with custom fonts, CSS Grid, and entrance animations.
Version: 1.0.3
Text Domain: certified-us
*/

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  /* Colors */
  --color-primary-0: #fe5900;
  --color-primary-1: #fbe0d0;
  --color-secondary-0: #004852;
  --color-secondary-1: #004852;
  --color-secondary-2: #d0e7f2;
  --color-neutral-0: #002429;
  --color-neutral-1: #fbf8f5;
  --color-neutral-2: #f7f1eb;
  --color-neutral-255: #ffffff;

  /* Aliases (used throughout the stylesheet) */
  --color-primary: var(--color-primary-0);
  --color-primary-light: var(--color-primary-1);
  --color-secondary: var(--color-secondary-0);
  --color-secondary-light: var(--color-secondary-2);
  --color-dark: var(--color-neutral-0);
  --color-bg: var(--color-neutral-1);
  --color-white: var(--color-neutral-255);
  --color-accent: #cdf31d;

  /* Typography */
  --font-headings: "P22MackinacProBook", Helvetica, sans-serif;
  --font-body-250: "TWKLausanne250", Arial, Helvetica, sans-serif;
  --font-body-650: "TWKLausanne650", Arial, Helvetica, sans-serif;
  --font-heading: var(--font-headings);
  --font-body: var(--font-body-250);
  --font-body-bold: var(--font-body-650);

  /* Spacing */
  --border-radius: 8px;
  --section-padding: 80px;
  --card-padding: 30px;
  --card-radius: 12px;
  --btn-radius: var(--border-radius);
  --grid-margin-mobile: 2vw;
  --grid-margin-desktop: 5vw;
}

/* =============================================
   FONT FACE — Self-Hosted Fonts
   (declared inline via wp_add_inline_style in functions.php
    so URLs resolve against the current site's host and avoid
    cross-origin font requests on multisite)
   ============================================= */

/* =============================================
   RESET & BASE
   ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-secondary);
  line-height: 1.4;
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-secondary);
}

ul,
ol {
  list-style: none;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: normal;
  color: var(--color-secondary);
  line-height: 1.1;
}

h1 {
  font-size: 4rem;
  line-height: 1.05em;
}

h2 {
  font-size: 2.625rem;
  line-height: 1.4em;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.3em;
}

h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 15px;
  line-height: 1.4em;
  font-size: 16px;
}

strong,
b {
  font-family: var(--font-body-bold);
}

/* =============================================
   LAYOUT — CSS Grid (not Bootstrap)
   ============================================= */
.container {
  display: grid;
  grid-template-columns: var(--grid-margin-mobile) 1fr var(--grid-margin-mobile);
  width: 100%;
}

.container > * {
  grid-column: 2;
}

.container--full {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .container {
    grid-template-columns: var(--grid-margin-desktop) 1fr var(
        --grid-margin-desktop
      );
  }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-body-bold);
  font-size: 15px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border-color: var(--color-primary-light);
}

.btn-outline {
  background-color: transparent;
  color: inherit;
}

.btn-outline:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
.site-header {
  position: fixed;
  top: 2vw;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 20px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background-color: #fbf8f5;
  border-radius: 14px;
  padding: 12px 24px;
  max-width: 1400px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 36, 41, 0.12);
}

.site-logo img {
  max-width: 180px;
  height: auto;
}

.site-logo .site-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-secondary);
}

/* Main Nav wrapper */
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Nav links group (menu items + lang dropdown) — centered */
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links li {
  list-style: none;
  display: inline;
}

.nav-links a {
  font-family: var(--font-body-bold);
  font-size: 15px;
  color: #000;
  white-space: nowrap;
  text-decoration: none;
}

.nav-links > li > a,
.nav-links > a {
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}

.nav-links > li > a:hover,
.nav-links > a:hover {
  color: #000;
  border-bottom-color: #000;
}

.nav-links > li.current-menu-item > a,
.nav-links > li.current_page_item > a {
  border-bottom-color: #000;
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
  margin-left: 4px;
}

.lang-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body-bold);
  font-size: 15px;
  color: var(--color-secondary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.lang-dropdown-toggle:hover {
  color: var(--color-primary);
}

.lang-dropdown-toggle svg {
  transition: transform 0.3s ease;
}

.lang-dropdown.open .lang-dropdown-toggle svg {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 36, 41, 0.12);
  min-width: 120px;
  padding: 6px 0;
  z-index: 10;
}

.lang-dropdown.open .lang-dropdown-menu {
  display: block;
}

.lang-dropdown-menu a {
  display: block;
  padding: 8px 18px;
  font-size: 15px;
  color: var(--color-secondary);
  white-space: nowrap;
  border: none;
}

.lang-dropdown-menu a:hover {
  background-color: var(--color-bg);
}

.lang-dropdown-menu a.active {
  font-family: var(--font-body-bold);
}

/* Header CTA Buttons */
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 20px;
}

.nav-btn-contact {
  display: flex;
  align-items: center;
  padding: 10px 24px;
  font-size: 15px;
  background: unset;
  box-shadow: inset 0px 0px 1px 1.5px var(--color-primary-1);
  color: var(--color-primary);
}

.nav-btn-contact:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.nav-btn-cta {
  padding: 10px 24px;
  font-size: 16px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-secondary);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Slide-out Panel */
.mobile-panel {
  display: none;
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background-color: var(--color-secondary);
  z-index: 1001;
  transition: right 0.3s ease;
  padding: 60px 30px 30px;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

.mobile-panel.active {
  right: 0;
}

.mobile-panel li {
  list-style: none;
}

.mobile-panel a {
  color: var(--color-white);
  font-size: 16px;
  font-family: var(--font-body);
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-panel-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 24px;
  cursor: pointer;
}

/* Mobile Language Switcher */
.lang-switcher-mobile {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.lang-switcher-mobile a {
  font-size: 13px;
  font-family: var(--font-body-bold);
  text-transform: uppercase;
  color: var(--color-white);
  opacity: 0.6;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  display: inline-block;
}

.lang-switcher-mobile a:hover,
.lang-switcher-mobile a.active {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.6);
}

/* Mobile CTA Group */
.mobile-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.mobile-cta-group .btn {
  text-align: center;
  width: 100%;
}

.mobile-cta-group .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--color-white);
}

.mobile-cta-group .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.mobile-overlay.active {
  display: block;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  min-height: 100vh;
  background-color: var(--color-secondary-light);
  position: relative;
  color: var(--color-secondary);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: calc(2vw + 110px);
}

.hero-grid {
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 45%;
}

.hero-subheading {
  font-family: var(--font-body-bold);
  font-size: 14.4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-secondary);
  margin-bottom: 20px;
}

.hero-section h1 {
  font-size: 4.25rem;
  color: var(--color-secondary);
  margin-bottom: 30px;
  max-width: 75%;
}

.hero-description {
  font-size: 16px;
  margin-bottom: 35px;
  color: var(--color-secondary);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* =============================================
   LEGAL PAGE HERO (Privacy / Terms)
   ============================================= */
.legal-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  overflow: hidden;
}

.legal-hero__content {
  background: var(--color-secondary-light);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.legal-hero__label {
  display: inline-block;
  font-family: var(--font-body-bold);
  font-size: 14.4px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 20px;
}

.legal-hero__title {
  font-family: var(--font-heading);
  font-size: 4.25rem;
  line-height: 1.15;
  color: var(--color-secondary);
  margin-bottom: 24px;
}

.legal-hero__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-secondary);
  opacity: 0.8;
  max-width: 520px;
}

.legal-hero__image {
  position: relative;
  overflow: hidden;
}

.legal-hero__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .legal-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .legal-hero__content {
    padding: 50px 28px;
  }

  .legal-hero__title {
    font-size: 2rem;
  }

  .legal-hero__image {
    min-height: 280px;
  }

  .legal-hero__image img {
    position: static;
    width: 100%;
    height: 280px;
  }
}

/* =============================================
   INNER PAGE HERO
   ============================================= */
.inner-hero {
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 60px;
  text-align: center;
}

.inner-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 36, 41, 0.7);
  z-index: 1;
}

.inner-hero .container {
  position: relative;
  z-index: 2;
}

.inner-hero h1 {
  color: var(--color-white);
  font-size: 2.5rem;
}

/* =============================================
   TEAM HERO
   ============================================= */
.team-hero {
  overflow: hidden;
  background-color: var(--color-secondary);
}

.team-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  align-items: stretch;
}

.team-hero-content {
  padding: 140px 60px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.team-hero-content .content-subheading {
  color: rgba(255, 255, 255, 0.75);
}

.team-hero-content h1 {
  color: var(--color-white);
  font-size: 4.25rem;
  margin-bottom: 16px;
}

.team-hero__desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
}

.team-hero-image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
}

.team-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 80px 40px 0px 0px;
}

@media (max-width: 768px) {
  .team-hero-grid {
    grid-template-columns: 1fr;
  }

  .team-hero-content {
    padding: 60px 24px;
    align-items: flex-start;
  }

  .team-hero-image {
    min-height: 280px;
  }

  .team-hero-image img {
    position: relative;
    inset: auto;
    width: 100%;
    height: 280px;
    object-fit: cover;
  }
}

/* =============================================
   TRUST BADGES
   ============================================= */
.trust-badges-section {
  padding: 80px 0;
  background-color: var(--color-bg);
}

.trust-badges-inner {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 40px;
}

.trust-title {
  font-family: var(--font-heading);
  font-size: 2.625rem;
  line-height: 1.2;
  color: var(--color-secondary);
  margin: 0;
}

.trust-badges-grid {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.trust-badge-item {
  flex: 1;
  text-align: center;
}

.trust-badge-item img {
  width: 300px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 12px;
  object-fit: contain;
}

.trust-badge-caption {
  font-size: 16px;
  color: var(--color-secondary);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 991px) {
  .trust-badges-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .trust-badges-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .trust-badge-item {
    flex: 0 1 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .trust-title {
    font-size: 2rem;
  }

  .trust-badges-grid {
    /* flex-direction: column; */
    align-items: center;
  }

  .trust-badge-item {
    flex: 0 0 auto;
    width: 100%;
    max-width: 280px;
  }

  .trust-badge-item img {
    width: 200px;
  }
}

/* =============================================
   INFO / WHAT YOU NEED TO KNOW
   ============================================= */
.info-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-secondary-light);
}

/* Subheading style (uppercase label above headings) */
.content-subheading {
  font-family: var(--font-body-bold);
  font-size: 14.4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

.info-header {
  text-align: center;
  margin-bottom: 40px;
}

.info-header h2 {
  margin-bottom: 0;
}

/* Two white cards side by side */
.info-cards-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 24px;
  align-items: stretch;
}

.info-card {
  background: var(--color-bg);
  border-radius: 20px;
  padding: 40px;
}

.info-card h3 {
  font-family: var(--font-body-bold);
  font-size: 1.15rem;
  color: var(--color-secondary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.info-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-secondary);
}

.info-card ul,
.info-card ol {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-secondary);
  margin: 10px 0;
  padding-left: 20px;
}

.info-card ul {
  list-style: disc;
}

.info-card ol {
  list-style: decimal;
}

.info-card li {
  margin-bottom: 6px;
}

/* Right card: text on left, icons on right */
.info-card-right-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

/* Icons grid: 3 columns, 2 rows */
.info-icons-grid {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 20px;
}

.info-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.info-icon-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon-circle svg {
  width: 100%;
  height: 100%;
  display: block;
}

.info-icon-circle img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.info-icon-item span {
  font-size: 11px;
  font-family: var(--font-body-bold);
  text-transform: uppercase;
  color: var(--color-secondary);
  line-height: 1.3;
}

@media (max-width: 1024px) {
  .info-card-right-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .info-cards-grid {
    grid-template-columns: 1fr;
  }

  .info-icons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =============================================
   DOCUMENT TYPES GRID
   ============================================= */
.doc-types-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-white);
}

.doc-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.doc-type-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--card-radius);
  transition: transform 0.3s ease;
}

.doc-type-item:hover {
  transform: translateY(-5px);
}

.doc-type-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
}

.doc-type-icon svg {
  width: 100%;
  height: 100%;
}

.doc-type-item h3 {
  font-size: 1.1rem;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works-section {
  padding: var(--section-padding) 0;
  background-color: #fbf8f5;
}

.hiw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.how-it-works-section h2 {
  margin-bottom: 20px;
}

.hiw-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hiw-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* How it works image composition
   — main photo (.hiw-img-back) is position:relative and drives the container height
   — everything else is layered on top with position:absolute               */
.hiw-image-composition {
  position: relative;
}

/* Colour decoration blocks */
.hiw-deco-block {
  position: absolute;
  border-radius: 16px;
  z-index: 0;
}

.hiw-deco-blue {
  background: var(--color-secondary-light);
  right: 0;
  top: 12%;
  width: 35%;
  bottom: 0;
}

/* Main large photo — position:relative so it sets the container height */
.hiw-img-back {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.hiw-img-back img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* Secondary photo — overlaid at right */
.hiw-img-front {
  position: absolute;
  right: 0;
  top: 10%;
  width: 34%;
  z-index: 3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.hiw-img-front img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* Quote card */
.hiw-quote-card {
  position: absolute;
  right: 33%;
  top: 5%;
  width: 195px;
  z-index: 5;
  background: var(--color-white);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.hiw-quote-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-secondary);
  margin-bottom: 12px;
  font-style: italic;
}

.hiw-quote-name {
  display: block;
  font-family: var(--font-body-bold);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 2px;
}

.hiw-quote-role {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary);
  opacity: 0.6;
}

@media (max-width: 768px) {
  .hiw-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hiw-img-front,
  .hiw-deco-blue,
  .hiw-quote-card {
    display: none;
  }
}

/* =============================================
   TESTIMONIALS (Glide.js)
   ============================================= */
.testimonials-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-secondary);
}

/* Centered uppercase label */
.testimonials-label {
  font-family: var(--font-body-bold);
  font-size: 17px;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-white);
  text-align: center;
}

/* Wrapper holds the carousel + side arrows */
.testimonials-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
}

#testimonials-glide {
  width: 68%;
  max-width: 900px;
  position: relative;
}

/* Track — clips non-active slides */
#testimonials-glide .glide__track {
  overflow: hidden;
}

/* Slide — padding gives room for avatar outside the card */
#testimonials-glide .glide__slide {
  padding: 60px 60px 0 0;
}

/* Card */
.testimonial-card {
  background-color: var(--color-secondary-light);
  border-radius: 20px;
  padding: 50px 44px;
  position: relative;
  overflow: visible;
  min-height: 300px;
}

/* Avatar — top-right corner, fully visible */
.testimonial-avatar-wrap {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 148px;
  height: 148px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 72, 82, 0.35);
  z-index: 2;
}

.testimonial-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Name + location at top */
.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 20px;
}

.testimonial-name {
  font-family: var(--font-body-bold);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-secondary);
}

.testimonial-location {
  font-size: 16px;
  color: var(--color-secondary);
  opacity: 0.7;
}

/* Large bold quote headline (stored in 'context' field) */
.testimonial-headline {
  font-family: var(--font-body-bold);
  font-size: 1.7rem;
  line-height: 1.3;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

/* Supporting quote text */
.testimonial-text {
  font-family: var(--font-body-bold);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-secondary);
  opacity: 0.85;
  margin: 0;
}

/* Arrows — left & right sides of the card */
.glide__arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}

.glide__arrow--left {
  transform: translateX(-180px);
}
.glide__arrow--right {
  transform: translateX(180px);
}

.glide__arrow {
  pointer-events: all;
  background: none;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.glide__arrow:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

@media (max-width: 900px) {
  #testimonials-glide {
    width: 88%;
  }

  #testimonials-glide .glide__slide {
    padding: 40px 40px 0 0;
  }

  .testimonial-avatar-wrap {
    top: -30px;
    right: -30px;
    width: 130px;
    height: 130px;
  }

  .testimonial-headline {
    font-size: 1.25rem;
  }
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-choose-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-secondary-light);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.why-choose-heading {
  padding-right: 20px;
}

.why-choose-heading h2 {
  margin-bottom: 16px;
  font-size: 3rem;
  line-height: 1.2;
}

.why-choose-heading p {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

.why-choose-item {
  background-color: var(--color-neutral-1);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.why-choose-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.why-choose-icon svg {
  width: 100%;
  height: 100%;
}

.why-choose-item h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
}

.why-choose-item p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   ABOUT / HISTORY
   ============================================= */
.about-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-neutral-1);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  margin-top: 12px;
  margin-bottom: 20px;
}

.about-text .btn {
  margin-top: 28px;
}

.about-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--card-radius);
  object-fit: cover;
}

/* =============================================
   QUOTE FORM
   ============================================= */
.quote-form-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-secondary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1447' height='512' viewBox='0 0 1447 512' fill='none'%3E%3Cpath d='M-171.997 81.9304C-131.837 147.856 -58.1278 179.184 5.16638 195.884C37.053 204.297 69.6921 210.078 102.616 211.951C125.039 213.227 147.565 212.687 169.901 210.34C219.915 205.083 270.416 189.904 308.692 157.275C346.968 124.646 402.928 25.1007 357.594 3.32494C322.711 -13.4309 270.915 63.657 259.026 129.384C247.003 195.851 262.956 264.173 296.052 323.047C412.42 530.049 735 513 807 508C879 503 1131.88 504.171 1375 211.951' stroke='%23CDF31D' stroke-width='1.5' stroke-miterlimit='10'/%3E%3Cpath d='M1445.75 129L1397.38 164.768V181.55L1414.82 174.916' stroke='%23CDF31D' stroke-width='1.5' stroke-miterlimit='10'/%3E%3Cpath d='M1397.38 164.768L1375 151.645L1445.75 129V192.998L1407.45 170.61' stroke='%23CDF31D' stroke-width='1.5' stroke-miterlimit='10'/%3E%3Cpath d='M1445.75 129L1397.38 181.55' stroke='%23CDF31D' stroke-width='1.5' stroke-miterlimit='10'/%3E%3C/svg%3E");
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: left center;
  position: relative;
  overflow: hidden;
}

.quote-form-title {
  text-align: center;
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.quote-form-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.quote-form-card {
  background-color: var(--color-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--card-radius);
  padding: 36px 28px;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: 0 0 11px #283638;
  position: relative;
  z-index: 1;
}

/* Outlined floating-label form fields inside dark card */
.quote-form-card .form-group {
  position: relative;
  margin-bottom: 22px;
}

.quote-form-card .form-group label {
  position: absolute;
  top: -9px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-body-bold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  background: var(--color-secondary);
  padding: 0 5px;
  line-height: 1;
  pointer-events: none;
}

.quote-form-card .form-group select,
.quote-form-card .form-group input[type="text"],
.quote-form-card .form-group input[type="email"] {
  width: 100%;
  padding: 14px 40px 14px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-white);
  background-color: var(--color-secondary);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  transition: border-color 0.2s;
}

.quote-form-card .form-group select:focus,
.quote-form-card .form-group input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.55);
}

.quote-form-card .form-group select option {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

/* Two-column language row */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Submit button */
.quote-form-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

/* Support link */
.quote-form-support {
  text-align: center;
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.quote-form-support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.quote-form-support a {
  color: var(--color-white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Legacy form styles (contact page, etc.) */
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-family: var(--font-body-bold);
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--color-secondary);
}

.form-group select,
.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-secondary);
  background-color: var(--color-white);
  transition: border-color 0.3s ease;
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.file-upload-area {
  border: 2px dashed #ddd;
  border-radius: var(--card-radius);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.file-upload-area svg {
  color: var(--color-secondary);
  opacity: 0.5;
  margin: 0 auto 10px;
  display: block;
}

.file-upload-text {
  font-size: 15px;
  color: var(--color-secondary);
  margin-bottom: 5px;
}

.file-upload-hint {
  font-size: 12px;
  color: var(--color-secondary);
  opacity: 0.5;
}

.file-upload-area:hover,
.file-upload-area.drag-over {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background-color: var(--color-secondary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1447' height='512' viewBox='0 0 1447 512' fill='none'%3E%3Cpath d='M-171.997 81.9304C-131.837 147.856 -58.1278 179.184 5.16638 195.884C37.053 204.297 69.6921 210.078 102.616 211.951C125.039 213.227 147.565 212.687 169.901 210.34C219.915 205.083 270.416 189.904 308.692 157.275C346.968 124.646 402.928 25.1007 357.594 3.32494C322.711 -13.4309 270.915 63.657 259.026 129.384C247.003 195.851 262.956 264.173 296.052 323.047C412.42 530.049 735 513 807 508C879 503 1131.88 504.171 1375 211.951' stroke='%23CDF31D' stroke-width='1.5' stroke-miterlimit='10'/%3E%3Cpath d='M1445.75 129L1397.38 164.768V181.55L1414.82 174.916' stroke='%23CDF31D' stroke-width='1.5' stroke-miterlimit='10'/%3E%3Cpath d='M1397.38 164.768L1375 151.645L1445.75 129V192.998L1407.45 170.61' stroke='%23CDF31D' stroke-width='1.5' stroke-miterlimit='10'/%3E%3Cpath d='M1445.75 129L1397.38 181.55' stroke='%23CDF31D' stroke-width='1.5' stroke-miterlimit='10'/%3E%3C/svg%3E");
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: 0 10%;
  color: var(--color-white);
  padding: 10vw 0 2vw;
  position: relative;
}

.site-footer .container {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Quote Form in Footer */
.footer-quote-form {
  text-align: center;
  margin-bottom: 50px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-quote-form h2 {
  color: var(--color-white);
  font-size: 2.625rem;
  max-width: 520px;
  margin: auto;
  margin-bottom: 10px;
}

.footer-quote-subtitle {
  margin-bottom: 30px;
}

.footer-form-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--color-secondary);
  box-shadow: 0 0 11px #283638;
  border-radius: 12px;
  padding: 40px 35px;
}

/* Fieldset-legend style form groups */
.footer-form .form-group {
  position: relative;
  margin-bottom: 20px;
  border: 2px solid white;
  border-radius: var(--btn-radius);
  padding: 0;
}

.footer-form .form-group label {
  position: absolute;
  top: -8px;
  left: 12px;
  background-color: var(--color-secondary);
  padding: 0 6px;
  color: var(--color-white);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0;
  z-index: 1;
  line-height: 1;
}

.footer-form .form-group select {
  background-color: #004852;
  border: none;
  color: #ffffff;
  padding: 14px 40px 14px 15px;
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: 15px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.footer-form .form-group select:focus {
  outline: none;
  border: none;
}

.footer-form .form-group select option {
  background-color: #004852;
  color: #ffffff;
}

.footer-form .form-group select option:hover,
.footer-form .form-group select option:checked {
  background-color: #fe5900;
  color: #ffffff;
}

.footer-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.footer-form-row .form-group {
  margin-bottom: 20px;
}

.footer-form-btn {
  width: 100%;
  padding: 14px;
  font-size: 14px;
  margin-top: 14px;
  border-radius: var(--btn-radius);
}

.footer-form-support {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  font-size: 11px;
  font-family: var(--font-body-bold);
  color: var(--color-white);
}

.footer-form-support svg {
  flex-shrink: 0;
}

.footer-form-support a {
  color: var(--color-white);
  text-decoration: underline;
  font-family: var(--font-body-bold);
}

/* Footer Links Card (light bg) */
.footer-links-card {
  background-color: var(--color-bg);
  border-radius: 16px;
  padding: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-links-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 30px;
}

.footer-info .footer-logo img {
  max-width: 104px;
}

.footer-links h4 {
  color: var(--color-secondary);
  font-family: var(--font-body-bold);
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--color-secondary);
  font-size: 17px;
  transition: color 0.3s ease;
}

.footer-contact a {
  color: var(--color-secondary);
  font-size: 17px;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact a:hover {
  color: var(--color-primary);
}

.footer-contact h4 {
  color: var(--color-secondary);
  font-family: var(--font-body-bold);
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.footer-contact p {
  font-size: 17px;
  color: var(--color-secondary);
  line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(0, 72, 82, 0.1);
  padding: 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--color-secondary);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: var(--color-secondary);
  font-size: 12px;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.footer-rights {
  opacity: 0.5;
}

/* =============================================
   CONTENT SECTION (Inner Pages)
   ============================================= */
.content-section {
  padding: var(--section-padding) 0;
}

.content-section .entry-content {
  max-width: 750px;
  margin: 0 auto;
}

.content-section .entry-content h2 {
  font-size: 2rem;
  margin-top: 40px;
  margin-bottom: 15px;
}

.content-section .entry-content h3 {
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 10px;
}

.content-section .entry-content p {
  margin-bottom: 20px;
}

.content-section .entry-content ul,
.content-section .entry-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.content-section .entry-content li {
  margin-bottom: 8px;
  list-style: disc;
}

/* Sticky Sidebar (Blog/Resources) */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.sidebar {
  position: sticky;
  top: 10vh;
  align-self: start;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-form-section {
  padding: 80px 0;
  background: var(--color-neutral-2);
}

.contact-form-card {
  background: var(--color-neutral-1);
  border-radius: 16px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  padding: 48px;
  max-width: 760px;
  margin: 0 auto;
}

/* Two-column row for name + email */
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* Floating-label field */
.cf-field {
  position: relative;
  margin-bottom: 20px;
}

.cf-field:last-of-type {
  margin-bottom: 0;
}

.cf-field label {
  position: absolute;
  top: -9px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-body-bold);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
  background: var(--color-white);
  padding: 0 5px;
  line-height: 1;
  pointer-events: none;
}

.contact-form-row .cf-field {
  margin-bottom: 0;
}

.cf-field input,
.cf-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-secondary);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-secondary);
  background: var(--color-neutral-1);
  transition: border-color 0.2s;
  resize: none;
}

.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.contact-consent {
  font-size: 14px;
  color: var(--color-secondary);
  line-height: 1.6;
  margin-top: 20px;
  margin-bottom: 24px;
}

.contact-consent a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.contact-form-btn {
  padding: 16px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 28px 20px;
  }
}

/* =============================================
   TEAM / ABOUT US PAGE
   ============================================= */

/* Hero enhancements */
.inner-hero__subheading {
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  opacity: 0.85;
}

.inner-hero__desc {
  max-width: 700px;
  margin-top: 15px;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Trust Badges */
.team-badges-section {
  padding: 50px 0;
  background-color: var(--bg-light);
}

.team-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.team-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
}

.team-badge img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.team-badge p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--color-secondary);
}

@media (max-width: 768px) {
  .team-badges {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Split layout for About & Mission */
/* About Section — full-bleed two-column */
.team-about-section {
  overflow: hidden;
}

.team-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  align-items: stretch;
}

.team-about-image {
  overflow: hidden;
  min-height: 400px;
}

.team-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 400px;
}

.team-about-content {
  background-color: var(--color-secondary-light);
  padding: 80px 80px 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-about-content h2 {
  color: var(--color-secondary);
  font-size: 42.5px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.team-about-text {
  font-size: 16px;
  line-height: 1.4em;
  color: var(--color-secondary);
}

.team-about-text p + p {
  margin-top: 16px;
}

/* Mission Section — full-bleed two-column */
.team-mission-section {
  overflow: hidden;
}

.team-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  align-items: stretch;
}

.team-mission-content {
  background-color: var(--color-neutral-1);
  padding: 80px 60px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-mission-content h2 {
  color: var(--color-secondary);
  font-size: 42.5;
  margin-bottom: 20px;
  line-height: 1.2;
}

.team-mission-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-secondary);
}

.team-mission-text p + p {
  margin-top: 16px;
}

.team-mission-image {
  overflow: hidden;
  min-height: 400px;
}

.team-mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 400px;
}

/* Location split (container-based) */
.team-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.team-split__content h2 {
  margin-bottom: 20px;
}

.team-mission-text p + p {
  margin-top: 15px;
}

.team-split__image img {
  width: 100%;
  border-radius: var(--card-radius);
}

@media (max-width: 768px) {
  .team-about-grid,
  .team-mission-grid,
  .team-location-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .team-about-content,
  .team-mission-content,
  .team-location-content {
    padding: 50px 24px;
  }

  .team-location-image {
    min-height: 280px;
  }

  .team-split {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Team Members */
.team-members-section {
  padding: 80px 0;
  background-color: var(--color-neutral-2);
}

.team-members-header {
  text-align: center;
  margin-bottom: 14px;
}

.team-members-header h2 {
  font-size: clamp(1.8rem, 2.63vw, 2.625rem);
  color: var(--color-secondary);
  margin-top: 10px;
}

.team-members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-member-card {
  background: var(--color-neutral-1);
  border-radius: var(--card-radius);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  padding: 28px;
}

.team-member-card__photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: var(--card-radius);
}

.team-member-card__info {
  padding: 14px 0 6px;
}

.team-member-card__info h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--color-secondary);
}

.team-member-card__role {
  display: block;
  font-size: 1rem;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.team-member-card__info p {
  font-size: 1rem;
  line-height: 1.4em;
  color: var(--color-text);
}

@media (max-width: 991px) {
  .team-members-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .team-members-grid {
    grid-template-columns: 1fr;
  }
}

/* Why Choose Us (Team page) */
.team-why-section {
  padding: 60px 0;
  background-color: var(--color-secondary);
  color: #fff;
}

.team-why-heading {
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}

.team-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-why-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--card-radius);
  padding: 30px;
}

.team-why-card h3 {
  color: var(--color-primary);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.team-why-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .team-why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* -- Location -- */
.team-location-section {
  overflow: hidden;
}

.team-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  align-items: stretch;
}

.team-location-content {
  background-color: var(--color-neutral-1);
  padding: 80px 60px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-location-content h2 {
  color: var(--color-secondary);
  font-size: clamp(1.8rem, 2.9vw, 2.625rem);
  margin-bottom: 16px;
}

.team-location-text {
  line-height: 1.7;
  color: var(--color-secondary);
}

.team-location-detail {
  margin-top: 20px;
}

.team-location-detail__label {
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 4px;
}

.team-location-address a,
.team-location-email a {
  color: var(--color-secondary);
  text-decoration: underline;
  transition: color 0.3s;
}

.team-location-address a:hover,
.team-location-email a:hover {
  color: var(--color-primary);
}

.team-location-image {
  overflow: hidden;
  min-height: 400px;
}

.team-location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 400px;
}

/* -- Team CTA -- */
.team-cta-section {
  padding: 60px 0;
}

.team-cta-inner {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--card-radius, 12px);
  padding: 50px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.team-cta-inner h3 {
  color: var(--color-white);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.team-cta-inner p {
  opacity: 0.9;
  max-width: 550px;
}

@media (max-width: 768px) {
  .team-cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 25px;
  }
}

/* =============================================
   HOW IT WORKS PAGE
   ============================================= */

/* -- Hero -- */
.hiw-hero {
  background-color: var(--color-neutral-2);
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hiw-hero-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 40px;
  align-items: center;
}

.hiw-hero-content h1 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  margin-bottom: 20px;
  color: var(--color-secondary);
}

.hiw-hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* -- Steps -- */
.hiw-steps-section {
  background-color: var(--color-secondary-light);
  padding: var(--section-padding) 0;
}

.hiw-steps-section .content-subheading,
.hiw-steps-section h2 {
  text-align: center;
}

.hiw-steps-section h2 {
  margin-bottom: 50px;
  color: var(--color-secondary);
}

.hiw-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hiw-step-card {
  background: var(--color-neutral-1);
  border-radius: var(--card-radius);
  padding: 32px 28px;
}

.hiw-step-icon {
  width: 130px;
  height: 130px;
  margin-bottom: 24px;
}

.hiw-step-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hiw-step-icon img {
  max-width: 100%;
  height: auto;
  max-height: 160px;
  display: block;
}

.hiw-step-card .hiw-step-label {
  font-family: var(--font-body-bold);
  font-size: 22px;
  color: var(--color-secondary);
}

.hiw-step-card h3 {
  font-size: 1.375rem;
  font-family: var(--font-body-bold);
  color: var(--color-secondary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.hiw-step-card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-secondary);
  margin: 0;
}

/* -- CTA Banner -- */
.hiw-cta-banner {
  background-color: var(--color-secondary-light);
  padding: 0 0 60px;
}

.hiw-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: linear-gradient(
    135deg,
    var(--color-secondary-2),
    var(--color-primary-1)
  );
  border-radius: var(--card-radius);
  box-shadow: 0 0 5px rgb(162 193 208);
  padding: 30px 36px;
}

.hiw-cta-inner h3 {
  color: var(--color-secondary);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.hiw-cta-inner p {
  color: var(--color-secondary);
  font-size: 16px;
  margin: 0;
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-primary);
  padding: 12px 30px;
  border-radius: var(--btn-radius);
  font-family: var(--font-body-bold);
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.btn-white:hover {
  opacity: 0.9;
}

/* -- What is a sworn translation -- */
.hiw-what-section {
  background-color: var(--color-neutral-2);
  overflow: hidden;
}

.hiw-what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.hiw-what-image {
  position: relative;
}

.hiw-what-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hiw-what-content {
  padding: var(--section-padding) 60px var(--section-padding) 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hiw-what-content h2 {
  margin-bottom: 20px;
  font-size: 2.625rem;
}

.hiw-what-text p {
  margin-bottom: 16px;
  line-height: 1,4em;
  font-size: 16px;
}

/* -- When do you need -- */
.hiw-when-section {
  background-color: var(--color-secondary-light);
  padding: var(--section-padding) 0;
}

.hiw-when-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hiw-when-content h2 {
  margin-bottom: 20px;
  font-size: 2.625rem;
  line-height: 1.2;
}

.hiw-when-text p {
  margin-bottom: 12px;
  line-height: 1.4em;
  font-size: 16px;
}

.hiw-when-text ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.hiw-when-text li {
  margin-bottom: 2px;
  list-style: disc;
  font-size: 16px;
  line-height: 1.4em;
}

.hiw-when-icons-card {
  background-color: var(--color-neutral-1);
  border-radius: var(--card-radius);
  padding: 36px 28px;
}

.hiw-when-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 16px;
}

.hiw-when-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.hiw-when-icon-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.hiw-when-icon-circle svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hiw-when-icon-item span {
  font-size: 8px;
  font-family: var(--font-body-bold);
  text-transform: uppercase;
  padding: 0px 20px;
  letter-spacing: 0.5px;
  color: var(--color-secondary);
  line-height: 1.3;
}

.hiw-when-footer {
  margin-top: 40px;
}

.hiw-when-footer p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* -- FAQ CTA Banner -- */
.hiw-faq-cta {
  background-color: var(--color-secondary-light);
  padding: 100px 20px;
}

.hiw-faq-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: linear-gradient(
    135deg,
    var(--color-secondary-2),
    var(--color-primary-1)
  );
  border-radius: var(--card-radius);
  box-shadow: 0 0 5px rgb(162 193 208);
  padding: 30px 36px;
}

.hiw-faq-inner h3 {
  color: var(--color-secondary);
  font-size: 22.4px;
  font-weight: 600;
  margin-bottom: 6px;
}

.hiw-faq-inner p {
  color: var(--color-secondary);
  font-size: 16px;
  margin: 0;
}

/* -- HIW Page Responsive -- */
@media (max-width: 768px) {
  .hiw-hero {
    padding: 100px 0 40px;
  }

  .hiw-hero-grid,
  .hiw-when-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hiw-what-grid {
    grid-template-columns: 1fr;
  }

  .hiw-what-image {
    min-height: 280px;
    position: relative;
  }

  .hiw-what-content {
    padding: 40px 24px;
  }

  .hiw-hero-content h1 {
    font-size: 2.2rem;
  }

  .hiw-steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hiw-cta-inner,
  .hiw-faq-inner {
    flex-direction: column;
    text-align: center;
  }

  .hiw-when-icons {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 10px;
  }

  .hiw-when-icon-circle {
    width: 70px;
    height: 70px;
  }
}

/* =============================================
   CONTACT PAGE HERO
   ============================================= */
.contact-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  overflow: hidden;
}

.contact-hero__content {
  background: var(--color-secondary-light);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-hero__label {
  display: inline-block;
  font-family: var(--font-body-bold);
  font-size: 14.4px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.contact-hero__title {
  font-family: var(--font-heading);
  font-size: 4.25rem;
  line-height: 1.15;
  color: var(--color-secondary);
  margin-bottom: 14px;
  max-width: 70%;
}

.contact-hero__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-secondary);
  max-width: 520px;
  margin-bottom: 20px;
}

.contact-hero__btn {
  align-self: flex-start;
}

.contact-hero__image {
  position: relative;
  overflow: hidden;
}

.contact-hero__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .contact-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-hero__content {
    padding: 50px 28px;
  }

  .contact-hero__title {
    font-size: 2rem;
  }

  .contact-hero__image {
    min-height: 280px;
  }

  .contact-hero__image img {
    position: static;
    width: 100%;
    height: 280px;
  }
}

/* =============================================
   CONTACT ABOUT SECTION
   ============================================= */
.contact-about-section {
  padding: 80px 0;
  background: var(--color-white);
}

.contact-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-about-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.contact-about-text {
  font-size: 16px;
  color: var(--color-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-about-text a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.contact-detail-block {
  margin-top: 24px;
}

.contact-detail-block__label {
  font-family: var(--font-body-bold);
  color: var(--color-secondary);
  margin-bottom: 4px;
}

.contact-detail-block a {
  color: var(--color-secondary);
  text-decoration: underline;
  transition: color 0.3s;
}

.contact-detail-block a:hover {
  color: var(--color-primary);
}

.contact-map-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-map-wrap img {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .contact-about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-map-wrap {
    order: -1;
  }
}

/* =============================================
   LEGAL CONTENT SECTIONS (Privacy / Terms)
   ============================================= */
.legal-content-section {
  padding: 80px 0;
  background: var(--color-neutral-1);
}

.legal-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 60px;
  align-items: start;
}

/* Sticky TOC sidebar */
.legal-sidebar {
  position: sticky;
  top: calc(4vw + 110px);
}

.legal-sidebar__label {
  font-family: var(--font-body-bold);
  font-size: 12.8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.legal-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-sidebar__link {
  font-size: 12.8px;
  font-family: var(--font-body-bold);
  color: var(--color-secondary);
  text-decoration: none;
  padding: 4px 0;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.legal-sidebar__link:hover,
.legal-sidebar__link.active {
  color: var(--color-primary);
}

/* Section + card */
.legal-main {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.legal-section {
  scroll-margin-top: calc(4vw + 110px);
}

.legal-section__title {
  font-family: var(--font-body-bold);
  font-size: 25.6px;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.legal-section__card {
  background: var(--color-neutral-1);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  border-radius: var(--card-radius);
  padding: 32px 36px;
}

.legal-section__card p {
  font-size: 16px;
  line-height: 1.4em;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.legal-section__card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legal-sidebar {
    position: static;
  }

  .legal-sidebar__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .legal-sidebar__link {
    background: var(--color-white);
    border: 1px solid rgba(0, 72, 82, 0.15);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
  }
}

/* =============================================
   RESOURCES PAGE
   ============================================= */
.resources-description {
  font-size: 17px;
  max-width: 700px;
  margin-bottom: 40px;
  opacity: 0.8;
}

.resources-articles {
  padding: 0 0 var(--section-padding);
}

.resources-articles .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* --- Resource Hero (first article — full-bleed) --- */
.resource-hero-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  overflow: hidden;
}

.resource-hero-card__content {
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resource-hero-card__title {
  font-family: var(--font-heading);
  font-size: 4.25rem;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 24px;
}

.resource-hero-card__desc {
  font-size: 16px;
  line-height: 1.4em;
  opacity: 0.85;
  margin-bottom: 28px;
  max-width: 520px;
}

.resource-hero-card__image {
  position: relative;
  overflow: hidden;
}

.resource-hero-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .resource-hero-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .resource-hero-card__content {
    padding: 50px 28px;
  }

  .resource-hero-card__title {
    font-size: 2rem;
  }

  .resource-hero-card__image {
    min-height: 280px;
  }

  .resource-hero-card__image img {
    position: static;
    width: 100%;
    height: 280px;
  }
}

/* --- Resource Card --- */
.resource-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  border-radius: var(--card-radius);
  overflow: hidden;
}

.resource-card--reverse {
  direction: rtl;
}

.resource-card--reverse > * {
  direction: ltr;
}

.resource-card__content {
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resource-card__label {
  display: inline-block;
  font-family: var(--font-body-bold);
  font-size: 14.4px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.resource-card__title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 20px;
}

.resource-card__desc {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 28px;
}

.resource-card__link {
  display: inline-block;
  font-family: var(--font-body-bold);
  font-size: 16px;
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.resource-card__link:hover {
  color: var(--color-white);
}

.resource-card__image {
  overflow: hidden;
}

.resource-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .resource-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .resource-card--reverse {
    direction: ltr;
  }

  .resource-card__content {
    padding: 40px 28px;
  }

  .resource-card__title {
    font-size: 1.8rem;
  }

  .resource-card__image {
    min-height: 260px;
  }
}

/* --- Resource Grid (3-column cards) --- */
.resources-grid-section {
  padding: 80px 0 var(--section-padding);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.resource-grid-card {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  background: var(--color-neutral-1);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.resource-grid-card__image {
  overflow: hidden;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  aspect-ratio: 4 / 3;
}

.resource-grid-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.resource-grid-card:hover .resource-grid-card__image img {
  transform: scale(1.03);
}

.resource-grid-card__body {
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.resource-grid-card__title {
  font-family: var(--font-body-bold);
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.resource-grid-card__desc {
  font-size: 16px;
  line-height: 1.4em;
  color: var(--color-secondary);
  margin-bottom: 20px;
  flex: 1;
}

.resource-grid-card__link {
  display: inline-block;
  font-family: var(--font-body-bold);
  font-size: 16px;
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
}

.resource-grid-card__link:hover {
  color: var(--color-primary);
}

@media (max-width: 991px) {
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .resources-grid {
    grid-template-columns: 1fr;
  }
}

.resources-cta-section {
  padding: 60px 0;
}

.resources-cta-inner {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--card-radius, 12px);
  padding: 50px 40px;
  text-align: center;
}

.resources-cta-inner h3 {
  color: var(--color-white);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.resources-cta-inner p {
  opacity: 0.9;
  max-width: 550px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .resources-cta-inner {
    padding: 40px 25px;
  }
}

/* =============================================
   RESOURCE DETAIL PAGE
   ============================================= */

/* --- Hero --- */
.rd-hero {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.rd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.rd-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: 60px;
  width: 100%;
}

.rd-hero__title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.15;
  color: var(--color-white);
  max-width: 700px;
}

/* --- Content Layout --- */
.rd-content-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.rd-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 50px;
  align-items: start;
}

/* --- Body Content --- */
.rd-body {
  min-width: 0;
}

.rd-body h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1.3;
  color: var(--color-secondary);
  margin-top: 48px;
  margin-bottom: 16px;
}

.rd-body h2:first-child {
  margin-top: 0;
}

.rd-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-secondary);
  margin-top: 36px;
  margin-bottom: 12px;
}

.rd-body p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-secondary);
  margin-bottom: 20px;
}

.rd-body strong {
  font-family: var(--font-body-bold);
}

.rd-body em {
  font-style: italic;
}

.rd-body ul {
  margin: 16px 0 20px 24px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-secondary);
  list-style: disc !important;
}

.rd-body li > ul {
  margin-top: 8px;
  margin-bottom: 0;
}

.rd-body ol {
  margin: 16px 0 20px 24px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-secondary);
  list-style: decimal;
}

.rd-body li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.rd-body a {
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rd-body a:hover {
  color: var(--color-secondary);
}

.rd-body blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--color-neutral-2);
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
  font-style: italic;
}

/* --- Sticky Author Sidebar --- */
.rd-sidebar {
  position: sticky;
  top: calc(4vw + 110px);
}

.rd-author-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rd-author-card__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.rd-author-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rd-author-card__name {
  font-family: var(--font-body-bold);
  font-size: 16px;
  color: var(--color-secondary);
}

.rd-author-card__role {
  font-size: 16px;
  color: var(--color-secondary);
}

/* --- Related Article Card --- */
.rd-related {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 72, 82, 0.15);
}

.rd-related__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.rd-related__label {
  font-family: var(--font-body-bold);
  font-size: 16px;
  color: var(--color-secondary);
}

.rd-related__viewall {
  font-size: 16px;
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rd-related__viewall:hover {
  color: var(--color-secondary);
}

.rd-related-card {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  background: var(--color-neutral-1);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rd-related-card__image {
  overflow: hidden;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  aspect-ratio: 4 / 3;
}

.rd-related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.rd-related-card:hover .rd-related-card__image img {
  transform: scale(1.03);
}

.rd-related-card__body {
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rd-related-card__title {
  font-family: var(--font-body-bold);
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.rd-related-card__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-secondary);
  opacity: 0.8;
  margin-bottom: 20px;
  flex: 1;
}

.rd-related-card__link {
  display: inline-block;
  font-family: var(--font-body-bold);
  font-size: 15px;
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
}

.rd-related-card__link:hover {
  color: var(--color-primary);
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .rd-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rd-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .rd-hero {
    min-height: 60vh;
  }

  .rd-hero__title {
    font-size: 2.2rem;
  }

  .rd-hero__inner {
    padding-bottom: 40px;
  }

  .rd-content-section {
    padding: 50px 0;
  }

  .rd-body h2 {
    font-size: 1.5rem;
    margin-top: 36px;
  }
}

/* =============================================
   GET STARTED PAGE
   ============================================= */
.gs-intro {
  font-size: 18px;
  max-width: 700px;
  margin-bottom: 40px;
  line-height: 1.5;
}

/* =============================================
   FAQ PAGE
   ============================================= */
.faq-hero {
  overflow: hidden;
}

.faq-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.faq-hero-content {
  background-color: var(--color-secondary-light);
  padding: var(--section-padding) 60px var(--section-padding) 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.faq-hero-content h1 {
  color: var(--color-secondary);
  font-size: 4.25rem;
  line-height: 1.15;
  margin: 0;
}

.faq-hero-content .content-subheading {
  margin-bottom: 0;
}

.faq-hero__desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-secondary);
  opacity: 0.85;
  margin: 0;
}

.faq-hero-image {
  position: relative;
}

.faq-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.faq-content-section {
  background-color: var(--color-neutral-1);
  padding: 60px 0;
}

/* Two-column layout */
.faq-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 60px;
  align-items: start;
}

/* Sticky sidebar */
.faq-sidebar {
  position: sticky;
  top: calc(4vw + 110px);
}

.faq-sidebar__label {
  font-family: var(--font-body-bold);
  font-size: 12.8px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.faq-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-sidebar__link {
  font-size: 12.8px;
  font-weight: 600;
  color: var(--color-secondary);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.faq-sidebar__link:hover,
.faq-sidebar__link.active {
  color: var(--color-primary);
}

/* Category + accordion card */
.faq-category {
  margin-bottom: 50px;
  scroll-margin-top: calc(4vw + 110px);
}

.faq-category:last-child {
  margin-bottom: 0;
}

.faq-category__title {
  font-size: 25px;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--color-secondary);
}

.faq-category .accordion {
  background: var(--color-neutral-1);
  border-radius: var(--card-radius);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 72, 82, 0.1);
  overflow: hidden;
}

.faq-cta-section {
  background-color: var(--color-secondary-light);
  padding: 100px 20px;
}

.faq-cta-inner {
  background: linear-gradient(
    135deg,
    var(--color-secondary-2),
    var(--color-primary-1)
  );
  border-radius: var(--card-radius);
  box-shadow: 0 0 5px rgb(162 193 208);
  padding: 30px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.faq-cta-inner h3 {
  color: var(--color-secondary);
  font-size: 22.4px;
  font-weight: 600;
  margin-bottom: 6px;
}

.faq-cta-inner p {
  color: var(--color-secondary);
  font-size: 16px;
  margin: 0;
}

@media (max-width: 767px) {
  .faq-hero-grid {
    grid-template-columns: 1fr;
  }

  .faq-hero-content {
    padding: 50px 24px 40px;
  }

  .faq-hero-content h1 {
    font-size: 2.2rem;
  }

  .faq-hero-image {
    min-height: 280px;
    position: relative;
  }

  .faq-hero-image img {
    position: static;
    width: 100%;
    height: 280px;
  }

  .faq-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .faq-sidebar {
    position: static;
  }

  .faq-sidebar__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .faq-sidebar__link {
    background: var(--color-white);
    border: 1px solid rgba(0, 72, 82, 0.15);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
  }

  .faq-category__title {
    font-size: 1.2rem;
  }
}

/* =============================================
   ACCORDION (FAQ)
   ============================================= */
.accordion-item {
  border-bottom: 1px solid rgba(0, 72, 82, 0.1);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  cursor: pointer;
  font-family: var(--font-body-bold);
  font-size: 15px;
  color: var(--color-secondary);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: color 0.2s ease;
  gap: 16px;
}

.accordion-header:hover {
  color: var(--color-secondary);
}

.accordion-chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--color-secondary);
  transition:
    transform 0.3s ease,
    border-color 0.2s ease;
}

.accordion-chevron svg {
  width: 14px;
  height: 15px;
}

.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-body-inner {
  padding: 0 28px 22px;
}

.accordion-body-inner p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-secondary);
}

/* Animations disabled — content always visible */

/* =============================================
   404 PAGE
   ============================================= */
.page-404 {
  text-align: center;
  padding: 120px 0;
}

.page-404 h1 {
  font-size: 8rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.page-404 p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* =============================================
   RESPONSIVE — TABLET
   ============================================= */
@media (max-width: 991px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.2rem;
  }

  :root {
    --section-padding: 60px;
  }

  .site-header {
    padding: 8px 12px;
  }

  .header-inner {
    padding: 10px 16px;
  }

  .doc-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-choose-heading {
    grid-column: 1 / -1;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 767px) {
  :root {
    --section-padding: 45px;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.2rem;
  }

  p {
    font-size: 16px;
  }

  .site-header {
    top: 0;
    padding: 6px 10px;
  }

  .header-inner {
    padding: 8px 14px;
    border-radius: 10px;
  }

  .hero-section {
    min-height: auto;
    padding: 100px 0 0px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .doc-types-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .why-choose-heading {
    grid-column: 1;
  }

  .footer-links-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-form-row {
    grid-template-columns: 1fr;
  }

  .footer-form-card {
    padding: 25px 20px;
  }

  .footer-links-card {
    padding: 25px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  .quote-form-card {
    padding: 28px 20px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ===========================================================
   GET STARTED PAGE
   =========================================================== */

/* ATF two-column layout */
.gs-atf {
  display: grid;
  grid-template-columns: 60% 40%;
  min-height: 100vh;
}

.gs-atf__left {
  background: var(--color-neutral-2);
  padding: 140px 6vw 60px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gs-atf__left > * {
  max-width: 680px;
}

.gs-atf__image {
  position: relative;
  overflow: hidden;
}

.gs-atf__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Step indicator */
.gs-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
}

.gs-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gs-step span {
  font-size: 13px;
  font-family: var(--font-body-bold);
  color: #000;
}

.gs-step--active {
  border-color: black;
  background: black;
}

.gs-step--active span {
  color: #fff;
}

.gs-step-line {
  flex: 1;
  height: 2px;
  background: #000;
}

/* Step content */
.gs-step-label {
  font-family: var(--font-body-bold);
  font-size: 16px;
  letter-spacing: 1px;
  margin: 10px 0px 0px 0px;
}

.gs-step-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--color-secondary);
  line-height: 1.2;
  margin-bottom: 14px;
}

.gs-step-desc {
  font-size: 16px;
  color: var(--color-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: 520px;
}

/* Form card */
.gs-form-card {
  background: var(--color-neutral-1);
  border-radius: 12px;
  border: 1px solid #e4e4e4;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  padding: 28px 28px 24px;
  margin-bottom: 16px;
}

/* Floating-label select */
.gs-select-wrap {
  position: relative;
  margin-bottom: 20px;
}

.gs-select-wrap label {
  position: absolute;
  top: -9px;
  left: 14px;
  background: var(--color-neutral-1);
  padding: 0 4px;
  font-size: 10.4px;
  letter-spacing: 0.6px;
  color: var(--color-neutral-0);
  pointer-events: none;
  z-index: 1;
}

.gs-select-wrap select {
  width: 100%;
  padding: 8.5px 17px;
  border: 1px solid var(--color-neutral-0);
  border-radius: 8px;
  background: var(--color-neutral-1);
  font-size: 13.6px;
  color: var(--color-secondary);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23004852' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  transition: border-color 0.2s;
}

.gs-select-wrap select:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.gs-lang-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Multi-select */
.gs-multiselect {
  position: relative;
}

.gs-multiselect__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8.5px 17px;
  border: 1.5px solid var(--color-neutral-0);
  border-radius: 8px;
  background: var(--color-neutral-1);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s;
}

.gs-multiselect--open .gs-multiselect__trigger,
.gs-multiselect__trigger:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.gs-multiselect__display {
  flex: 1;
  font-size: 13.6px;
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gs-multiselect__trigger > svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.gs-multiselect--open .gs-multiselect__trigger > svg {
  transform: rotate(180deg);
}

.gs-multiselect__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--color-white);
  border: 1.5px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 72, 82, 0.12);
  z-index: 200;
  max-height: 280px;
  overflow-y: auto;
}

.gs-multiselect--open .gs-multiselect__dropdown {
  display: block;
}

.gs-multiselect__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 15px;
  color: var(--color-secondary);
  transition: background 0.1s;
}

.gs-multiselect__option:hover:not(.selected) {
  background: var(--color-neutral-2);
}

.gs-multiselect__option.selected {
  background: var(--color-primary);
  color: #fff;
}

.gs-check-icon {
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.15s;
}

.gs-multiselect__option.selected .gs-check-icon {
  opacity: 1;
}

/* Continue button */
.gs-continue-btn {
  margin-top: 4px;
  font-family: var(--font-body-bold);
  letter-spacing: 0.8px;
}

/* No-files card */
.gs-no-files-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--color-neutral-1);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 16px;
  font-size: 16px;
  font-family: var(--font-body-bold);
  color: var(--color-secondary);
}

.gs-no-files-btn {
  font-family: var(--font-body-bold);
  font-size: 16px;
  letter-spacing: 0.6px;
  color: var(--color-primary);
  background: unset;
  box-shadow: inset 0px 0px 1px 1.5px var(--color-primary-1);
  border-radius: 6px;
  padding: 12px 28px;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.gs-no-files-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Footer multi-select — dark background overrides (must come after generic gs-multiselect) */
.footer-form .gs-multiselect__trigger {
  border: none;
  background: transparent;
  padding: 14px 15px;
  border-radius: var(--btn-radius);
}

.footer-form .gs-multiselect--open .gs-multiselect__trigger,
.footer-form .gs-multiselect__trigger:focus {
  border: none;
  outline: none;
}

.footer-form .gs-multiselect__display {
  color: var(--color-white);
  font-size: 14px;
  text-align: left;
}

.footer-form .gs-multiselect__display.placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.footer-form .gs-multiselect__dropdown {
  background: var(--color-secondary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.footer-form .gs-multiselect__option {
  color: var(--color-white);
  font-size: 14px;
}

.footer-form .gs-multiselect__option:hover:not(.selected) {
  background: rgba(255, 255, 255, 0.1);
}

.footer-form .gs-multiselect__option.selected {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Support note */
.gs-support-note {
  display: flex;
  align-items: center;
  text-transform: uppercase;
  gap: 6px;
  font-family: var(--font-body-bold);
  font-size: 10.2px;
}

.gs-support-note a {
  color: var(--color-secondary);
  font-family: var(--font-body-bold);
  text-decoration: underline;
}

/* How it works */
.gs-hiw-section {
  padding: 80px 0;
  background: var(--color-neutral-2);
}

.gs-hiw-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .gs-hiw-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.gs-hiw-card {
  background: var(--color-white);
  border-radius: var(--card-radius);
  box-shadow: 0 2px 12px rgba(0, 72, 82, 0.07);
  padding: 30px;
  text-align: center;
}

.gs-hiw-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-body-bold);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.gs-hiw-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--color-secondary);
}

.gs-hiw-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-secondary);
}

/* Responsive */
@media (max-width: 900px) {
  .gs-atf {
    grid-template-columns: 1fr;
  }

  .gs-atf__left {
    padding: 120px 24px 50px;
  }

  .gs-atf__left > * {
    max-width: 100%;
  }

  .gs-atf__image {
    min-height: 320px;
  }

  .gs-atf__image img {
    position: static;
    width: 100%;
    height: 320px;
    object-fit: cover;
  }

  .gs-atf__image {
    order: -1;
  }

  .gs-lang-row {
    grid-template-columns: 1fr;
  }
}

/* Get Started page: hide quote form + decorative SVG, keep links/copyright */
.page-template-page-get-started .footer-quote-form {
  display: none;
}
.page-template-page-get-started .site-footer {
  background-image: none;
  padding-top: 0;
}

/* ── Step 2 — done step ──────────────────────────────────────── */
.gs-step--done {
  background: #000;
  border-color: #000;
}

.gs-step--done span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
}

.gs-step-line--done {
  background: var(--color-secondary);
}

/* ── Step 2 — right column (order summary) ───────────────────── */
.gs-atf__summary {
  background: linear-gradient(
    150deg,
    var(--color-secondary-light) 0%,
    var(--color-primary-light) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 5vw;
}

.gs-summary-inner {
  width: 100%;
  max-width: 360px;
}

.gs-summary-label {
  font-family: var(--font-body-bold);
  font-size: 14px;
  letter-spacing: 1.5px;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

.gs-summary-card {
  background: var(--color-neutral-1);
  border-radius: 14px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  padding: 30px;
}

.gs-summary-heading {
  font-family: var(--font-body-bold);
  font-size: 16px;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

.gs-summary-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 15px;
  margin-bottom: 10px;
  border: 1px solid #000;
  border-radius: 10px;
}

.gs-summary-row:last-child {
  margin-bottom: 0;
}

.gs-summary-key {
  font-family: var(--font-body-bold);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--color-secondary);
}

.gs-summary-doc-list {
  list-style: disc;
  padding: 0 0 0 18px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gs-summary-doc-list li {
  font-size: 14px;
  color: var(--color-secondary);
}

.gs-summary-langs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-secondary);
}

.gs-summary-langs svg {
  flex-shrink: 0;
  color: var(--color-secondary);
}

.gs-summary-val {
  font-size: 14px;
  color: var(--color-secondary);
}

.gs-summary-delivery {
  margin: 10px 0px 0px 0px;
  font-size: 16px;
  color: var(--color-secondary);
  font-family: var(--font-body-bold);
}

/* ── File upload area (get-started) ─────────────────────────── */
.gs-upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.gs-upload-area input[type="file"] {
  display: none;
}

.gs-file-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.gs-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid var(--color-secondary);
  border-radius: 10px;
  font-size: 14px;
  color: var(--color-secondary);
}

.gs-file-item__name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gs-file-item__remove {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 12px;
  color: var(--color-secondary);
  line-height: 1;
}

.gs-file-item__remove:hover {
  color: var(--color-primary);
}

/* ── Step 3 — Quote form ─────────────────────────────────────── */
.gs-atf--step3 .gs-form-card input[type="text"],
.gs-atf--step3 .gs-form-card input[type="email"],
.gs-atf--step3 .gs-form-card textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-secondary);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--color-secondary);
  background: var(--color-neutral-1);
}

.gs-atf--step3 .gs-form-card textarea {
  resize: vertical;
}

.gs-summary-row--price {
  background: transparent;
}

.gs-summary-price-text {
  font-family: var(--font-body-bold);
  font-size: 14px;
  color: var(--color-secondary);
  line-height: 1.5;
}

.gs-summary-consent {
  margin-top: 16px;
  font-size: 12px;
  color: var(--color-secondary);
  line-height: 1.5;
}

.gs-summary-consent a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.gs-summary-btn {
  width: 100%;
  margin-top: 16px;
}

/* ── Responsive — step 2/3 ───────────────────────────────────── */
@media (max-width: 900px) {
  .gs-atf__summary {
    padding: 40px 24px;
    min-height: auto;
  }

  .gs-summary-inner {
    max-width: 100%;
  }
}

/* =============================================
   COMPREHENSIVE RESPONSIVE FIXES
   ============================================= */

/* ── TABLET (768px – 991px) ──────────────────────────────────── */
@media (max-width: 991px) {
  /* Show mobile menu on tablets — nav links overflow at this size */
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-panel {
    display: flex;
  }

  /* Hero */
  .hero-section h1 {
    max-width: 100%;
    font-size: 3rem;
  }

  .hero-content {
    max-width: 60%;
  }

  .hero-image {
    width: 50%;
  }

  /* Info cards right inner already handled at 1024px */

  /* Testimonials — reduce arrow offset */
  .glide__arrow--left {
    transform: translateX(-60px);
  }
  .glide__arrow--right {
    transform: translateX(60px);
  }

  /* Footer links inner — make it grid */
  .footer-links-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  /* HIW page — CTA banners */
  .hiw-cta-inner,
  .hiw-faq-inner,
  .faq-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Team about/mission — reduce padding */
  .team-about-content,
  .team-mission-content {
    padding: 60px 40px;
  }

  /* Team location */
  .team-location-content {
    padding: 60px 40px;
  }

  /* Resource cards */
  .resource-card__content {
    padding: 40px 36px;
  }

  .resource-card__title {
    font-size: 2rem;
  }
}

/* ── SMALL TABLET (max 768px) ────────────────────────────────── */
@media (max-width: 768px) {
  /* Homepage hero — full stack */
  .hero-content {
    max-width: 100%;
  }

  .hero-section h1 {
    max-width: 100%;
    font-size: 2.2rem;
  }

  .hero-image {
    position: relative;
    width: 100%;
    right: auto;
    bottom: auto;
    margin-top: 20px;
  }

  .hero-description {
    font-size: 16px;
  }

  /* Testimonials — full width, hide arrows, small card */
  #testimonials-glide {
    width: 100%;
  }

  #testimonials-glide .glide__slide {
    padding: 50px 20px 0 0;
  }

  .testimonial-card {
    padding: 36px 28px;
    min-height: auto;
  }

  .testimonial-avatar-wrap {
    top: -30px;
    right: -10px;
    width: 120px;
    height: 120px;
  }

  .testimonial-headline {
    font-size: 1.1rem;
  }

  .testimonials-wrapper {
    padding: 0 20px;
  }

  .glide__arrow--left {
    transform: translateX(-10px);
  }
  .glide__arrow--right {
    transform: translateX(10px);
  }

  .glide__arrow {
    width: 36px;
    height: 36px;
  }

  /* Footer quote form */
  .footer-quote-form h2 {
    font-size: 2rem;
  }

  /* Team about/mission images */
  .team-about-image,
  .team-mission-image,
  .team-location-image {
    min-height: 260px;
  }

  .team-about-image img,
  .team-mission-image img,
  .team-location-image img {
    min-height: 260px;
  }

  /* HIW page hero image */
  .hiw-hero-image img {
    border-radius: 12px;
  }

  /* HIW what section image on mobile */
  .hiw-what-image img {
    position: static;
    width: 100%;
    height: 280px;
  }

  /* HIW when icons smaller */
  .hiw-when-icon-circle {
    width: 64px;
    height: 64px;
  }

  .hiw-when-icon-item span {
    font-size: 7px;
  }

  /* Contact form section */
  .contact-form-section {
    padding: 50px 0;
  }

  /* Resource hero — smaller padding */
  .resource-hero-card__content {
    padding: 40px 24px;
  }

  .resource-hero-card__title {
    font-size: 1.8rem;
  }

  /* Step icon smaller on mobile */
  .hiw-step-icon {
    width: 100px;
    height: 100px;
  }

  /* Info section icons smaller */
  .info-icon-circle {
    width: 72px;
    height: 72px;
  }

  /* Team CTA */
  .team-cta-inner {
    padding: 30px 20px;
  }

  .team-cta-inner h3 {
    font-size: 1.3rem;
  }
}

/* ── MOBILE (max 576px) ──────────────────────────────────────── */
@media (max-width: 576px) {
  /* Get Started */
  .gs-atf__left {
    padding: 36px 16px 40px;
  }

  .gs-form-card {
    padding: 20px 16px 18px;
  }

  .gs-step-title {
    font-size: 1.5rem;
  }

  .gs-lang-row {
    grid-template-columns: 1fr;
  }

  /* Info icons — 2 columns */
  .info-icons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }

  /* HIW when icons — 2 columns */
  .hiw-when-icons {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-links-card {
    padding: 20px 16px;
  }

  /* Legal section card */
  .legal-section__card {
    padding: 24px 20px;
  }

  /* Team member cards */
  .team-member-card {
    padding: 20px;
  }

  /* Accordion */
  .accordion-header {
    padding: 16px 18px;
    font-size: 14px;
  }

  .accordion-body-inner {
    padding: 0 18px 16px;
  }

  /* Contact hero */
  .contact-hero__content {
    padding: 40px 20px;
  }

  .contact-hero__title {
    font-size: 1.8rem;
  }

  /* Resources */
  .resource-card__content {
    padding: 30px 20px;
  }

  .resource-card__title {
    font-size: 1.5rem;
  }

  /* Testimonials — smaller avatar, compact card */
  .testimonial-avatar-wrap {
    top: -20px;
    right: 10px;
    width: 100px;
    height: 100px;
  }

  #testimonials-glide .glide__slide {
    padding: 30px 10px 0 0;
  }

  .testimonial-card {
    padding: 28px 20px;
    padding-top: 36px;
  }

  /* Why choose items */
  .why-choose-item {
    padding: 24px 20px;
  }

  /* HIW CTA banners */
  .hiw-cta-inner,
  .hiw-faq-inner,
  .faq-cta-inner {
    padding: 24px 20px;
  }

  /* GS summary */
  .gs-summary-card {
    padding: 20px 16px 18px;
  }

  .gs-summary-row {
    padding: 12px 14px;
  }

  /* 404 page */
  .page-404 {
    padding: 80px 0;
  }

  .page-404 h1 {
    font-size: 4rem;
  }

  .page-404 p {
    font-size: 16px;
  }

  /* Footer quote heading */
  .footer-quote-form h2 {
    font-size: 1.6rem;
  }

  /* Resources CTA */
  .resources-cta-inner {
    padding: 30px 20px;
  }

  .resources-cta-inner h3 {
    font-size: 1.2rem;
  }

  /* Team hero */
  .team-hero-content {
    padding: 50px 20px;
  }

  .team-hero-content h1 {
    font-size: 3rem;
  }

  /* Team about/mission compact */
  .team-about-content,
  .team-mission-content {
    padding: 40px 20px;
  }

  .team-location-content {
    padding: 40px 20px;
  }

  /* Legal hero compact */
  .legal-hero__content {
    padding: 40px 20px;
  }

  .legal-hero__title {
    font-size: 1.8rem;
  }

  /* FAQ hero compact */
  .faq-hero-content {
    padding: 40px 20px 30px;
  }

  .faq-hero-content h1 {
    font-size: 1.8rem;
  }

  .faq-category__title {
    font-size: 1.1rem;
  }

  /* HIW hero compact */
  .hiw-hero {
    padding: 80px 0 30px;
  }

  .hiw-hero-content h1 {
    font-size: 1.8rem;
  }

  /* Contact about compact */
  .contact-about-content h2 {
    font-size: 1.5rem;
  }

  /* Resource hero compact */
  .resource-hero-card__content {
    padding: 30px 20px;
  }

  .resource-hero-card__title {
    font-size: 1.5rem;
  }

  /* GS image smaller on mobile */
  .gs-atf__image {
    min-height: 220px;
  }

  .gs-atf__image img {
    height: 220px;
  }
}

/* ── EXTRA SMALL (max 400px) ────────────────────────────────── */
@media (max-width: 400px) {
  .hero-section h1 {
    font-size: 1.7rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .doc-types-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .info-icons-grid {
    grid-template-columns: 1fr;
  }

  .hiw-when-icons {
    grid-template-columns: 1fr;
  }

  .trust-badge-item img {
    width: 140px;
  }

  .glide__arrow {
    width: 30px;
    height: 30px;
  }

  .page-404 h1 {
    font-size: 3rem;
  }
}
