/*
Theme Name: Certified Translations EU
Theme URI: https://certifiedtranslations.be
Author: Certified Translations
Description: Custom lightweight theme for 11 EU certified translation websites. Built with SCF for content management.
Version: 1.0.0
Text Domain: certified-eu
*/

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  /* Colors */
  --color-primary: #1a63e2;
  --color-primary-light: #007bff;
  --color-primary-hover: #0056b3;
  --color-secondary: #79a9f9;
  --color-orange: #eb560d;
  --color-orange-hover: #d44d0b;
  --color-success: #28a745;
  --color-bg-light: #f3f5fb;
  --color-bg-gray: #edeff0;
  --color-text-dark: #03031a;
  --color-text-gray: #434343;
  --color-text-light: #999;
  --color-border: #eaeaea;
  --color-white: #ffffff;

  /* Typography */
  --font-heading: "Roboto", sans-serif;
  --font-body:
    "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Spacing */
  --section-padding: 50px;
  --card-padding: 30px;
  --card-radius: 8px;
  --btn-radius: 4px;
  --container-width: 1140px;
  --card-shadow: 0px 0 10px 2px #eaeaea;
}

/* =============================================
   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);
  font-weight: 400;
  color: var(--color-text-dark);
  line-height: 1.5;
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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-primary-hover);
}

ul,
ol {
  list-style: none;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text-dark);
  line-height: 1.3;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

h3 {
  font-size: 28px;
  font-weight: 600;
}

h4 {
  font-size: 22px;
  font-weight: 600;
}

p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* =============================================
   CONTAINER
   ============================================= */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

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

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

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

.btn-orange:hover {
  background-color: var(--color-orange-hover);
  border-color: var(--color-orange-hover);
  color: var(--color-white);
}

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

.btn-outline:hover {
  background-color: var(--color-orange);
  color: var(--color-white);
}

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

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

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
.site-header {
  background-color: var(--color-bg-light);
  position: relative;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Site name text fallback (no custom logo) */
.site-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-dark);
  text-decoration: none;
}

.site-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

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

/* Strip list-item display from wp_nav_menu li items */
.main-nav li {
  list-style: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  color: #29348f;
  padding: 4px 0;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary-hover);
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Reset nav underline animation for lang dropdown links */
.lang-switcher-dropdown .lang-option::after,
.lang-switcher-dropdown .lang-option:hover::after,
.lang-switcher-dropdown .lang-option.active::after {
  display: none !important;
  width: 0 !important;
}

/* Language Switcher Dropdown */
.lang-switcher {
  position: relative;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 4px 0;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: #5b6fa8;
  cursor: pointer;
  transition: color 0.25s ease;
  line-height: 1;
}

.lang-switcher-btn:hover,
.lang-switcher.open .lang-switcher-btn {
  color: var(--color-primary);
}

.lang-arrow {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.lang-switcher.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-switcher-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  min-width: 150px;
  z-index: 200;
  padding: 6px 8px;
}

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

.lang-option,
.lang-option:link,
.lang-option:visited,
.lang-option:hover,
.lang-option:focus,
.lang-option:active,
.lang-option.active {
  color: var(--color-text) !important;
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease !important;
}

.lang-option {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 6px;
}

.lang-option:hover {
  background: var(--color-bg-light);
}

.lang-option.active {
  font-weight: 600;
  background: var(--color-bg-light);
}

/* 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-text-dark);
  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);
}

/* =============================================
   HERO SECTION — 2-column split layout
   ============================================= */
.hero-section {
  background-color: var(--color-white);
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Large half-circle rising from the bottom */
.hero-section::before {
  content: "";
  position: absolute;
  bottom: 280px;
  width: 1800px;
  height: 100%;
  left: -8%;
  right: -5%;
  border-radius: 50%;
  background-color: #f3f5fb;
  pointer-events: none;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

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

/* Left column */
.hero-content h1 {
  font-size: 40px;
  color: var(--color-primary);
  margin-bottom: 14px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 16px;
  margin-bottom: 14px;
  line-height: 1.6;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 0;
}

.hero-features li {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.5;
}

.hero-features li::before {
  content: "";
  display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231a63e2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 10 8 14 16 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Right column — form card + badge stacked */
.hero-form-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-form-card {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(26, 99, 226, 0.12);
  padding: 36px 32px 32px;
  width: 100%;
  max-width: 440px;
}

.form-card-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: 28px;
  line-height: 1.4;
  text-align: center;
}

/* Floating label form fields */
.form-field-wrap {
  position: relative;
  margin-bottom: 22px;
}

.field-float-label {
  position: absolute;
  top: -9px;
  left: 12px;
  background: var(--color-white);
  padding: 0 4px;
  font-size: 12px;
  color: var(--color-text-light);
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
}

.form-select {
  width: 100%;
  padding: 14px 36px 14px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #6b7280;
  background-color: var(--color-white);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 99, 226, 0.1);
}

/* Multi-select dropdown (document type) */
.multiselect-wrap {
  position: relative;
}

.multiselect-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-body);
  color: #6b7280;
}

.multiselect-trigger[aria-expanded="true"] {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 99, 226, 0.1);
}

.multiselect-required-proxy {
  position: absolute;
  left: 16px;
  bottom: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  border: 0;
  padding: 0;
  margin: 0;
}

.multiselect-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 4px;
}

.multiselect-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--color-white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 260px;
  overflow-y: auto;
  z-index: 50;
  padding: 4px 0;
}

.multiselect-wrap.open .multiselect-dropdown {
  display: block;
}

.multiselect-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  cursor: pointer;
  font-size: 15px;
  color: #6b7280;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
  user-select: none;
}

.multiselect-option:hover {
  background-color: var(--color-bg-light);
}

/* Hide native checkbox */
.multiselect-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.multiselect-option span {
  flex: 1;
  line-height: 1.3;
}

/* Checkmark icon — hidden by default */
.multiselect-option::after {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-left: 10px;
}

/* Selected state — blue bg, white text, white checkmark */
.multiselect-option.selected {
  background-color: var(--color-primary);
  color: #fff;
}

.multiselect-option.selected:hover {
  background-color: #1555c7;
}

.multiselect-option.selected::after {
  content: "\2713";
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Narrower selects in language pair row */
.lang-pair-row .form-select {
  padding-right: 28px;
  background-position: right 8px center;
  font-size: 14px;
}

/* Language pair row — contains two .form-field-wrap + arrow */
.lang-pair-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding-top: 9px;
  /* offset for floating labels */
}

.lang-pair-row .form-field-wrap {
  margin-bottom: 0;
}

.lang-arrow {
  font-size: 18px;
  color: var(--color-white);
  text-align: center;
}

/* SVG arrow inside button */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  vertical-align: middle;
}

.btn-arrow svg {
  display: block;
}

/* Full-width button */
.btn-full {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  font-size: 20px;
  margin-top: 30px;
}

/* Trust badge — below the white card, no background */
.hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  width: 100%;
}

.badge-avatars-group {
  display: flex;
  align-items: center;
}

.badge-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--color-bg-light);
  border: 2px solid var(--color-white);
  margin-left: -10px;
  flex-shrink: 0;
}

.badge-avatar-img:first-child {
  margin-left: 0;
}

.badge-avatars-placeholder {
  display: flex;
  align-items: center;
}

.badge-avatar-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  border: 2px solid var(--color-white);
  margin-left: -10px;
  overflow: hidden;
}

.badge-avatar-circle:first-child {
  margin-left: 0;
}

.badge-text {
  font-size: 16px;
  color: var(--color-text-gray);
  opacity: 0.6;
}

/* =============================================
   INNER PAGE HERO
   ============================================= */
.inner-hero {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 60px 0;
  text-align: center;
}

.inner-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 99, 226, 0.85),
    rgba(3, 3, 26, 0.7)
  );
  z-index: 1;
}

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

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

/* =============================================
   ORDER FORM SECTION
   ============================================= */
.order-form-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-white);
  margin-top: -60px;
  position: relative;
  z-index: 3;
}

.order-form-card {
  background-color: var(--color-white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.order-form-card h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
}

.form-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-step {
  display: flex;
  align-items: center;
  gap: 15px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.form-step-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-step-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

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

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

.file-upload-area p {
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.order-form-card .btn {
  width: 100%;
  margin-top: 20px;
  padding: 15px;
  font-size: 18px;
}

.order-form-call-btn {
  display: none;
}

.order-form-divider {
  display: none;
}

@media (max-width: 767px) {
  .order-form-divider {
    display: block;
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 16px 0 0;
  }
  .order-form-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-weight: 400;
  }
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-bg-light);
}

.features-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

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

.feature-item {
  text-align: center;
  padding: 30px 20px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  color: var(--color-primary);
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 14px;
  color: var(--color-text-gray);
}

/* =============================================
   TESTIMONIALS SECTION — Google review card style
   ============================================= */
.testimonials-section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

/* Decorative background circle — right side, behind cards */
.testimonials-section::after {
  content: "";
  position: absolute;
  right: -70px;
  top: 55%;
  transform: translateY(-50%);
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background-color: #f3f5fb;
  pointer-events: none;
  z-index: 0;
}

.testimonials-section .container {
  position: relative;
  padding: 30px;
  z-index: 1;
}

.testimonials-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

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

.testimonial-card {
  background-color: var(--color-white);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* padding: 24px 24px 0; */
  justify-content: space-between;
}

/* Decorative typographic quote icon — large gray " character */
.testimonial-quote-icon {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 80px;
  color: #e4e8f1;
  line-height: 0.75;
  height: 35px;
  overflow: hidden;
  user-select: none;
  margin: 25px 25px 0px 25px;
}

/* Review body text */
.testimonial-text {
  font-size: 16px;
  color: black;
  flex: 1;
  margin: -14px 25px 0px 25px;
}

/* Star rating */
.testimonial-rating {
  display: flex;
  gap: 3px;
  margin: 5px 25px 25px 25px;
}

.star-icon {
  fill: #e0e0e0;
  width: 25px;
  height: 25px;
}

.star-filled {
  fill: #ffd700;
}

/* Blue footer bar */
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-primary);
  /* margin: 0 -24px; */
  padding: 12px 20px;
  margin-top: auto;
}

.google-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: var(--color-white);
  border-radius: 50%;
  flex-shrink: 0;
}

.google-logo {
  display: block;
}

.reviewer-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.reviewer-name {
  font-size: 16px;
  color: var(--color-white);
  font-family: var(--font-heading);
  white-space: nowrap;
}

.review-date {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

/* =============================================
   HOW IT WORKS SECTION — 2-column layout
   ============================================= */
.how-it-works-section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

/* Decorative circles live on the image wrap — sit behind the SVG */

.how-it-works-section .container {
  position: relative;
  z-index: 1;
}

.how-it-works-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.how-it-works-subtitle {
  font-size: 16px;
  color: var(--color-text-gray);
  margin-bottom: 10px;
}

/* Numbered steps list */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-number-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
}

.step-text {
  font-size: 15px;
  color: var(--color-text-dark);
  line-height: 1.5;
}

.step-desc {
  font-size: 13px;
  color: var(--color-text-gray);
  line-height: 1.4;
}

/* Right: decorative image — circles rendered behind via pseudo-elements */
.how-it-works-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.how-it-works-image-wrap::before,
.how-it-works-image-wrap::after {
  display: none;
}

.how-it-works-image-wrap > * {
  position: relative;
  z-index: 1;
}

.how-it-works-img {
  border-radius: 12px;
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: cover;
}

.how-it-works-placeholder {
  width: 100%;
  max-width: 320px;
}

.how-it-works-placeholder svg {
  width: 100%;
  height: auto;
}

/* =============================================
   PRICE CTA SECTION — rounded blue card
   ============================================= */
.price-cta-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(
    to bottom,
    var(--color-white) 50%,
    var(--color-bg-light) 50%
  );
}

.price-cta-card {
  background-color: var(--color-primary);
  border-radius: 20px;
  padding: 75px 50px;
  text-align: center;
  /* max-width: 780px; */
  /* margin: 0 auto; */
}

/* Avatar group above headline */
.cta-avatars {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.cta-avatars-group {
  justify-content: center;
}

.cta-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--color-bg-light);
  border: 3px solid rgba(255, 255, 255, 0.6);
  margin-left: -10px;
  flex-shrink: 0;
}

.cta-avatar-img:first-child {
  margin-left: 0;
}

.cta-avatars-placeholder {
  align-items: center;
}

.cta-avatar-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-heading);
  border: 3px solid rgba(255, 255, 255, 0.6);
  margin-left: -10px;
}

.cta-avatar-circle:first-child {
  margin-left: 0;
}

.price-cta-card h2 {
  color: var(--color-white);
  font-size: 32px;
  margin-bottom: 8px;
}

.price-cta-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin-bottom: 16px;
}

.price-cta-card a {
  font-size: 16px;
  font-weight: 300;
  color: white;
  padding: 6px 12px;
}

/* File upload drag-over state */
.file-upload-area.drag-over {
  border-color: var(--color-primary);
  background-color: var(--color-bg-light);
}

/* =============================================
   UPLOAD PAGE
   ============================================= */

/* Curved hero header — same pattern as page-title-section */
.upload-hero {
  padding: 20px 0 100px;
  text-align: center;
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.upload-hero::before {
  content: "";
  position: absolute;
  bottom: 50px;
  width: 1900px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background-color: var(--color-bg-light);
  pointer-events: none;
  z-index: 0;
}

.upload-hero .container {
  position: relative;
  z-index: 1;
}

.upload-step {
  display: inline-block;
  font-size: 14px;
  color: var(--color-primary-light);
  background: #d8ebff;
  padding: 5px 15px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.upload-title {
  font-size: 44px;
  font-weight: 500;
  color: var(--color-primary);
  font-family: var(--font-heading);
  margin-bottom: 6px;
}

.upload-subtitle {
  font-size: 16px;
  color: #79a9f9;
  margin: 0;
}

/* Content area */
.upload-section {
  padding: 0 0 var(--section-padding);
  margin-top: 40px;
  min-height: 50vh;
}

.upload-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: start;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

/* Left column — upload area */
.upload-main {
  padding: 0;
}

.upload-dropzone {
  background: var(--color-white, #fff);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
}

.upload-dropzone-inner {
  border: 1px dashed #ddd;
  border-radius: 5px;
  padding: 30px 40px;
  text-align: center;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.upload-dropzone:hover .upload-dropzone-inner {
  border-color: var(--color-primary);
  background-color: rgba(26, 99, 226, 0.02);
}

.upload-dropzone.drag-over .upload-dropzone-inner {
  border-color: var(--color-primary);
  background-color: rgba(26, 99, 226, 0.05);
}

.upload-drag-text {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text-dark);
  margin: 0 0 6px;
}

.upload-or {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
}

.upload-browse-btn {
  display: inline-block;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary-light);
  background: transparent;
  border: 1.5px solid var(--color-primary-light);
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.upload-browse-btn:hover {
  background: var(--color-primary-light);
  color: #fff;
}

.upload-accepted {
  font-size: 14px;
  margin: 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.upload-accepted-icon {
  display: inline-flex;
  align-items: center;
  color: #02182f;
  line-height: 0;
}

.upload-file-input {
  display: none;
}

/* File list — outside the box */
.upload-file-list {
  margin-top: 30px;
  padding: 0;
  text-align: center;
}

.upload-empty {
  font-size: 13px;
  text-align: center;
  margin: 0 auto;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
  max-width: 400px;
}

.upload-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border, #eee);
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 8px;
}

.upload-file-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.upload-file-icon {
  flex-shrink: 0;
  color: var(--color-primary);
}

.upload-file-name {
  font-weight: 500;
  font-size: 14px;
  color: var(--color-text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-file-size {
  font-size: 13px;
  color: var(--color-text-light, #999);
  flex-shrink: 0;
  margin-left: 8px;
}

.upload-file-remove {
  background: none;
  border: none;
  color: var(--color-text-light, #999);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 4px;
  transition:
    color 0.2s,
    background 0.2s;
  flex-shrink: 0;
}

.upload-file-remove:hover {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.08);
}

/* Right column — sidebar */
.upload-sidebar-card {
  background: var(--color-white, #fff);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(26, 99, 226, 0.1);
  padding: 28px 24px;
}

.upload-sidebar-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: 24px;
  text-align: center;
}

.upload-sidebar-section {
  margin-bottom: 20px;
}

.upload-sidebar-label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.upload-sidebar-value {
  font-size: 15px;
  color: var(--color-text-light);
  font-weight: 400;
  margin: 0;
}

.upload-lang-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--color-text-light);
  vertical-align: middle;
}

.upload-doctype-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.upload-doctype-check {
  display: inline-block;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' width='16' fill='%23434343' height='16'%3E%3Cpath d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'%3E%3C/path%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.upload-calculate-btn {
  margin-top: 8px;
}

/* Trust badge */
.upload-trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  padding: 0 8px;
}

.upload-trust-badge .badge-avatars-group {
  display: flex;
  flex-shrink: 0;
}

.upload-trust-badge .badge-avatar-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
}

.upload-trust-badge .badge-avatar-img + .badge-avatar-img {
  margin-left: -12px;
}

.upload-trust-text {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  line-height: 1.4;
}

.upload-trust-primary {
  font-weight: 500;
  color: var(--color-text-dark);
}

.upload-trust-secondary {
  color: var(--color-text-light);
  font-size: 14px;
}

/* Hide footer on upload page */
body.page-template-page-upload .site-footer {
  display: none;
}

/* Responsive */
@media (max-width: 991px) {
  .upload-inner {
    grid-template-columns: 1fr 320px;
    gap: 24px;
  }

  .upload-hero::before {
    width: 1400px;
  }
}

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

  .upload-title {
    font-size: 26px;
  }

  .upload-hero {
    padding-bottom: 70px;
  }

  .upload-hero::before {
    display: none;
  }

  .upload-dropzone {
    padding: 30px 20px;
  }
}

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

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

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

.content-section .entry-content h3 {
  font-size: 24px;
  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;
  color: var(--color-text-gray);
  list-style: disc;
}

.content-section .entry-content a {
  color: var(--color-text-dark);
  text-decoration: none;
}

.content-section .entry-content a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* =============================================
   PAGE TITLE SECTION (FAQ, inner pages without hero image)
   ============================================= */
.page-title-section {
  padding: 20px 0 90px 0;
  text-align: center;
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.page-title-section::before {
  content: "";
  position: absolute;
  bottom: 30px;
  width: 1900px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background-color: var(--color-bg-light);
  pointer-events: none;
  z-index: 0;
}

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

.page-title {
  font-size: 40px;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-section {
  padding: 30px 0 60px;
}

.faq-content {
  max-width: 740px;
  margin: 0 auto;
}

/* =============================================
   ACCORDION (FAQ)
   ============================================= */
.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-dark);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: color 0.2s ease;
}

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

.accordion-item.active .accordion-header {
  color: var(--color-primary);
  font-weight: 600;
}

/* + / × toggle icon */
.accordion-arrow {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--color-text-dark);
  transition: color 0.2s ease;
}

.accordion-arrow::before {
  content: "+";
}

.accordion-item.active .accordion-arrow {
  color: var(--color-primary);
}

.accordion-item.active .accordion-arrow::before {
  content: "\00d7";
  font-size: 24px;
}

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

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

.accordion-body-inner p {
  font-size: 16px;
  line-height: 1.7;
  padding: 0px 18px;
}

.accordion-body-inner ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

.accordion-body-inner ul li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-gray);
  list-style: disc;
  margin-bottom: 4px;
}

/* =============================================
   TEAM PAGE
   ============================================= */
/* =============================================
   TEAM PAGE — single centered column layout
   ============================================= */
.team-content-section {
  padding: 60px 0 70px;
  background-color: var(--color-white);
}

/* Centered column — card matching service/apostille page width */
.team-content-wrap {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  background: var(--color-bg-light);
  border-radius: 12px;
  padding: 48px 56px 48px;
}

/* Decorative quote icon — SVG, top-right corner of card */
.team-quote-icon {
  position: absolute;
  top: -30px;
  right: 60px;
  width: 70px;
  height: 70px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' aria-hidden='true' fill='%23dadeef'%3E%3Cpath d='M9.352 4C4.456 7.456 1 13.12 1 19.36c0 5.088 3.072 8.064 6.624 8.064 3.36 0 5.856-2.688 5.856-5.856 0-3.168-2.208-5.472-5.088-5.472-.576 0-1.344.096-1.536.192.48-3.264 3.552-7.104 6.624-9.024L9.352 4zm16.512 0c-4.8 3.456-8.256 9.12-8.256 15.36 0 5.088 3.072 8.064 6.624 8.064 3.264 0 5.856-2.688 5.856-5.856 0-3.168-2.304-5.472-5.184-5.472-.576 0-1.248.096-1.44.192.48-3.264 3.456-7.104 6.528-9.024L25.864 4z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

/* WP editor content inside the team column */
.team-editor-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-top: 0;
  margin-bottom: 12px;
}

.team-editor-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-top: 28px;
  margin-bottom: 8px;
}

.team-editor-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

/* Bullet list — dot style matching live site */
.team-editor-content ul {
  padding-left: 0;
  margin: 8px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-editor-content ul li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-dark);
  list-style: none;
  padding-left: 18px;
  position: relative;
}

.team-editor-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-text-dark);
  font-size: 14px;
  line-height: 1.65;
}

/* Team photo — full width within the column, below text */
.team-photo-wrap {
  margin-top: 36px;
}

.team-photo-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.team-photo-placeholder svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* =============================================
   SERVICE PAGE — card layout matching team page
   ============================================= */
.service-content-section {
  padding: 60px 0 70px;
  background-color: var(--color-white);
}

/* Content card — same style as team page */
.service-content-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  background: var(--color-bg-light);
  border-radius: 12px;
  padding: 35px;
}

/* Editor content typography */
.service-editor-content {
  line-height: 1.75;
  color: var(--color-text-dark);
}

/* Full-width & wide images break out of the 780px card */
.service-editor-content .alignfull,
.service-editor-content .alignfull img,
.service-editor-content figure.alignfull {
  width: calc(100% + 70px);
  max-width: calc(100% + 70px);
  margin-left: -35px;
  margin-right: -35px;
  border-radius: 8px;
  overflow: hidden;
}

.service-editor-content .alignwide,
.service-editor-content figure.alignwide {
  width: 100%;
  max-width: 100%;
}

.service-editor-content .alignfull img,
.service-editor-content .alignwide img,
.service-editor-content figure img {
  width: 100%;
  height: auto;
  display: block;
}

.service-editor-content h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 30px;
}

.service-editor-content h4 {
  font-size: 28px;
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 8px;
  margin-top: 8px;
}

.service-editor-content h2:first-child {
  margin-top: 0;
}

.service-editor-content h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-top: 24px;
  margin-bottom: 10px;
}

.service-editor-content p,
.service-editor-content > div {
  margin-bottom: 14px;
  color: var(--color-text-dark);
}

.service-editor-content div:empty {
  display: none;
}
.service-editor-content a {
  color: var(--color-text-dark);
  text-decoration: underline;
}

.service-editor-content a:hover {
  color: var(--color-text-dark);
}

/* Bullet list — dot style */
.service-editor-content ul {
  padding-left: 20px;
  margin: 8px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-editor-content ul li {
  list-style: none;
  padding-left: 22px;
  position: relative;
  color: var(--color-text-dark);
  line-height: 1.65;
}

.service-editor-content ul li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--color-text-dark);
  font-size: 26px;
  line-height: 1.05;
}

/* Blockquote — blue left border highlight */
.service-editor-content blockquote {
  border-left: 3px solid var(--color-primary);
  background: #ffffff;
  margin: 20px 0;
  padding: 16px 20px;
  /* border-radius: 0 6px 6px 0; */
}

.service-editor-content blockquote p {
  margin: 0;
  color: var(--color-text-dark);
  font-style: normal;
}

/* Responsive: team & service */
@media (max-width: 991px) {
  .team-content-wrap {
    max-width: 100%;
    padding: 32px 20px 24px;
  }

  .service-content-inner {
    max-width: 100%;
    padding: 35px;
  }
}

@media (max-width: 767px) {
  .team-content-section,
  .service-content-section {
    padding: 40px 0 50px;
  }

  .team-editor-content h2 {
    font-size: 20px;
  }

  .team-editor-content h3 {
    font-size: 16px;
  }

  .service-editor-content h2 {
    font-size: 20px;
  }

  .service-editor-content h3 {
    font-size: 18px;
  }
}

/* =============================================
   FOOTER — light gray background, 3-column layout
   ============================================= */
.site-footer {
  background-color: var(--color-bg-light);
  padding: 56px 0 0;
}

/* 3-column grid */
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  column-gap: 80px;
  row-gap: 40px;
  padding-bottom: 48px;
  padding-left: 15px;
}

.footer-col--nav {
  margin-left: 40px;
}

/* Column 1: Logo */
.footer-col--logo {
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
}

.footer-col--logo .footer-logo img {
  max-width: 300px;
  height: auto;
}

.footer-col--logo .site-title-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text-dark);
}

/* Column 2 & 3: section title */
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 20px;
}

/* Column 2: Nav links */
.footer-col--nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col--nav a {
  font-size: 16px;
  color: var(--color-text-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.footer-col--nav a:hover {
  /* color: var(--color-primary); */
  color: #0056b3;
}

/* Column 3: Contact */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-style: normal;
}

/* Icon + text row */
.footer-contact-row--icon {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #000000;
  text-decoration: none;
}

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

a.footer-contact-row--link:hover .footer-address-line {
  color: var(--color-primary);
}

.footer-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #000000;
}

/* Address lines stacked */
.footer-address-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-address-line {
  font-size: 16px;
  color: var(--color-text-gray);
  line-height: 1.5;
}

a.footer-address-line {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

a.footer-address-line:hover {
  color: #0056b3;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 2px solid rgba(0, 0, 0, 0.2);
  margin-top: 60px;
  padding: 20px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8em;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.footer-copyright {
  color: var(--color-text-gray);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-legal a {
  color: var(--color-text-gray);
  text-decoration: underline;
  font-weight: 400;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

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

.footer-legal-sep {
  color: var(--color-text-gray);
}

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

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

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

/* =============================================
   RESPONSIVE - TABLET  (≤ 991px)
   ============================================= */
@media (max-width: 991px) {
  /* --- Typography --- */
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 22px;
  }

  /* --- Header --- */
  .header-inner {
    height: 65px;
  }

  .site-logo img {
    max-width: 260px;
  }

  /* --- Hero --- */
  .hero-section {
    padding: 50px 0 60px;
  }

  .hero-section::before {
    width: 1200px;
    bottom: 200px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

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

  .hero-form-card {
    max-width: 100%;
  }

  /* --- Page title section --- */
  .page-title {
    font-size: 32px;
  }

  /* --- Inner page hero --- */
  .inner-hero {
    padding: 50px 0;
  }

  .inner-hero h1 {
    font-size: 30px;
  }

  /* --- Order form (inner page) --- */
  .order-form-card {
    padding: 30px 24px;
  }

  /* --- Features --- */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* --- Testimonials --- */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-section::after {
    width: 320px;
    height: 320px;
    right: 0;
    top: 60%;
  }

  /* --- How it works --- */
  .how-it-works-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .how-it-works-image-wrap {
    order: 1;
  }

  .how-it-works-placeholder {
    max-width: 260px;
    margin: 0 auto;
  }

  .how-it-works-image-wrap::before {
    width: 160px;
    height: 160px;
  }

  .how-it-works-image-wrap::after {
    width: 110px;
    height: 110px;
  }

  /* --- Price CTA --- */
  .price-cta-card {
    padding: 40px 30px;
  }

  .price-cta-card h2 {
    font-size: 26px;
    font-weight: 500;
  }

  .price-cta-card p {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.8;
  }

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

  /* --- Content section --- */
  .content-section .entry-content h2 {
    font-size: 26px;
  }

  .content-section .entry-content h3 {
    font-size: 20px;
  }

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

  .footer-col--logo {
    grid-column: 1 / -1;
  }
}

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

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 20px;
  }

  /* --- Header / Nav --- */
  .header-inner {
    min-height: 60px;
    height: auto;
    flex-wrap: wrap;
    align-content: center;
  }

  .header-inner .site-logo,
  .header-inner .menu-toggle {
    margin-top: 10px;
    display: flex;
    align-items: center;
  }

  .site-logo img {
    max-width: 250px;
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    width: 100%;
    order: 3;
    background-color: #f3f5fb;
    padding: 0 24px;
    gap: 0;
    z-index: 100;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.4s ease,
      padding 0.4s ease;
  }

  .main-nav.active {
    max-height: 500px;
    padding: 20px 24px;
  }

  .main-nav a {
    font-size: 16px;
    gap: 8px;
    text-align: left;
    width: 100%;
  }

  .lang-switcher {
    margin-left: 0;
    padding-top: 8px;
  }

  .lang-switcher-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: auto;
  }

  .menu-toggle {
    display: flex;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    padding: 8px 14px;
  }

  .menu-toggle span {
    background-color: var(--color-primary);
  }

  .hero-inner {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
  }

  /* --- Hero --- */
  .hero-section {
    padding: 35px 0 45px;
  }

  .hero-section::before,
  .page-title-section::before {
    width: 160%;
    height: 100%;
    /* bottom: 70%; */
    bottom: 63%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .hero-content h1 {
    font-weight: 500;
    margin: 0px 0 30px;
    font-size: 1.4em;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .hero-features {
    gap: 10px;
  }

  .hero-features li {
    font-size: 14px;
  }

  .hero-form-card {
    padding: 24px 18px 20px;
  }

  .form-card-title {
    font-size: 17px;
    margin-bottom: 18px;
  }

  .form-field-wrap {
    margin-bottom: 16px;
  }

  /* Lang pair: stack vertically on mobile */
  .lang-pair-row {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
    margin-bottom: 16px;
  }

  .lang-pair-row .form-field-wrap {
    margin-bottom: 16px;
  }

  .lang-arrow {
    display: none;
  }

  .hero-badge {
    margin-top: 14px;
    padding-top: 14px;
  }

  /* --- Inner page hero --- */
  .inner-hero {
    padding: 35px 0;
  }

  .inner-hero h1 {
    font-size: 24px;
  }

  /* --- Order form (inner page) --- */
  .order-form-card {
    padding: 24px 16px;
  }

  .order-form-card h2 {
    font-size: 20px;
  }

  .file-upload-area {
    padding: 24px 16px;
  }

  /* --- Features --- */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-item {
    padding: 20px 16px;
  }

  /* --- Testimonials --- */
  .testimonials-section::after {
    content: "";
    position: absolute;
    left: 40%;
    top: -0px;
    transform: translateY(40px);
    background-repeat: no-repeat;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background-color: #f3f5fb;
    pointer-events: none;
    z-index: 0;
  }

  .testimonials-section h2 {
    margin-bottom: 24px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-footer {
    padding: 10px 16px;
  }

  /* --- How it works --- */
  .how-it-works-image-wrap::before,
  .how-it-works-image-wrap::after {
    display: none;
  }

  .how-it-works-content h2 {
    font-size: 24px;
  }

  .how-it-works-subtitle {
    font-size: 16px;
  }

  .step-item {
    gap: 12px;
  }

  .step-number-circle {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 13px;
  }

  .step-text {
    font-size: 14px;
  }

  /* --- Price CTA --- */
  .price-cta-section {
    background: var(--color-bg-light);
  }

  .price-cta-card {
    padding: 75px 50px;
    border-radius: 20px;
  }

  /* .price-cta-card h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .price-cta-card p {
        font-size: 15px;
        margin-bottom: 20px;
    } */

  /* --- Page title --- */
  .page-title {
    font-size: 26px;
  }

  /* --- Accordion --- */
  .accordion-header {
    border-top: 1.5px solid var(--color-border);
    font-size: 16px;
    padding: 28px 18px;
    font-weight: 300;
  }

  /* --- Content section --- */
  .content-section .entry-content h2 {
    font-size: 22px;
    margin-top: 28px;
  }

  .content-section .entry-content h3 {
    font-size: 18px;
  }

  /* --- Footer --- */
  .site-footer {
    padding: 35px 0 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 28px;
  }

  .footer-col--logo {
    grid-column: auto;
  }

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

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

/* =============================================
   CONTACT PAGE
   ============================================= */

/* Form section */
.contact-form-section {
  padding: 0px 0 40px;
  background-color: var(--color-white);
}

.contact-form-card {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(26, 99, 226, 0.07);
}

/* Small triangle on the right side of the card */
.contact-form-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid var(--color-white);
  filter: drop-shadow(2px 0 1px rgba(26, 99, 226, 0.07));
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-avatar-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #eef0f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-avatar-img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
}

.contact-card-intro {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-card-intro strong {
  font-size: 16px;
  color: var(--color-text-dark);
  font-weight: 500;
}

.contact-card-intro span {
  font-size: 16px;
  color: var(--color-text-gray);
  margin-top: 2px;
}

/* Fieldset-style label fields — label always on border */
.contact-field-wrap {
  position: relative;
  margin-bottom: 20px;
}

.contact-input {
  width: 100%;
  padding: 18px 14px 12px;
  border: 1px solid #d5d5d5;
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: var(--color-white);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.contact-input:focus {
  border-color: var(--color-primary);
}

.contact-textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-label {
  position: absolute;
  left: 12px;
  top: 0;
  transform: translateY(-50%);
  font-size: 12px;
  color: #999;
  pointer-events: none;
  background: var(--color-white);
  padding: 0 6px;
}

.contact-success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  border-radius: 8px;
  padding: 16px;
  font-size: 15px;
  text-align: center;
}

.contact-error {
  background-color: #fdecea;
  color: #c62828;
  border: 1px solid #ef9a9a;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 16px;
}

/* About us section */
.contact-about-section {
  padding: 30px 15px;
  background-color: var(--color-white);
}

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

.contact-about-content h2 {
  font-size: 32px;
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: 20px;
}

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

.contact-about-text a {
  color: var(--color-text-dark);
  text-decoration: underline;
  font-weight: 500;
}

.contact-about-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.6;
}

.contact-detail-row a {
  color: var(--color-text-dark);
  text-decoration: underline;
}

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

.contact-detail-icon {
  color: #555;
  flex-shrink: 0;
  margin-top: 3px;
  width: 20px;
  height: 20px;
}

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

.contact-belgium-map {
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* Map dot pulse animation */
.map-dot,
.map__core {
  fill: #4a8af4;
  filter: drop-shadow(0 0 3px rgba(74, 138, 244, 0.4));
}

.map-pulse-ring,
.map__radar {
  fill: rgba(74, 138, 244, 0.25);
  transform-box: fill-box;
  transform-origin: center;
  animation: mapPulse 2s ease-out infinite;
}

@keyframes mapPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(4);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

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

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

  .contact-belgium-map {
    max-width: 300px;
  }

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

  .contact-form-card::after {
    display: none;
  }
}
