/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.4;
}

html, body { height: 100%; }

body{
  min-height: 100svh;          /* better than 100vh on mobile */
  display: flex;
  flex-direction: column;
}

/* your main wrapper should grow to fill the remaining space */
main{
  flex: 1;
}

/* push footer to the bottom when content is short */
.site-footer{
  margin-top: auto;            /* IMPORTANT */
}

/* ===== HEADER WRAPPER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
  border-bottom: 2px solid #d4af37; /* gold accent line */
}

/* ===== TOP BAR ===== */
.top-bar {
  background: #0A3A8C;;
  color: #e5e7eb;
  font-size: 0.99rem;
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  justify-content: center;
}


.top-bar-left {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.top-bar-left span a {
  color: #e5e7eb;
  text-decoration: none;
}

.top-bar-left span a:hover {
  text-decoration: underline;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.company-name {
  font-size: 1.35rem;        /* Bigger and more readable */
  font-weight: 700;          /* Stronger, premium look */
  color: #d4af37;            /* Pantheon gold */
  letter-spacing: 1px;       /* Elegant spacing */
  text-transform: uppercase; 
}


.lang {
  text-decoration: none;
  color: #404042;
  opacity: 0.7;
  font-weight: 500;
}

.lang.active {
  opacity: 1;
}

.lang:hover {
  opacity: 1;
}

.lang-separator {
  opacity: 0.5;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}


/* ===== MAIN HEADER ROW ===== */
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

/* Logo */
.logo img {
  height: 125px; /* adjust if needed */
  width: auto;
  display: block;
}

/* ===== NAVIGATION ===== */
.main-nav {
  flex: 1;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  text-decoration: none;
  font-size: 1.15rem;      /* bigger */
  font-weight: 600;        /* semi-bold */
  color: #0f172a;          /* deeper navy to match theme */
  padding: 0.25rem 0;  
  position: relative;
  letter-spacing: 0.3px;   /* cleaner spacing */
}

/* Hover underline animation */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #2563eb; /* blue underline */
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* ===== DROPDOWN ARROW ===== */
.has-dropdown > a::after {
  content: "";
  font-size: 0.65rem;
  margin-left: 0.3rem;
}

/* ===== DROPDOWN MENU (BASE) ===== */
.dropdown {
  position: absolute;
  top: 120%;
  left: 0;
  background: #ffffff;
  border-radius: 0.6rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.16);
  padding: 0.5rem 0;
  min-width: 260px;
  display: none !important;  /* HIDDEN BY DEFAULT */
  z-index: 20;
}

.dropdown li {
  padding: 0;
}

.dropdown a {
  display: block;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  color: #111827;
}

.dropdown a:hover {
  background: #eff6ff;
}



/* DESKTOP: show on hover */
@media (min-width: 769px) {
  .has-dropdown:hover > .dropdown {
    display: block !important;
  }
}

/* ===== ACTIONS (CTA + LOGIN + MENU TOGGLE) ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* Client login text link */
.minor-link {
  font-size: 0.86rem;
  color: #4b5563;
  text-decoration: none;
}

.minor-link:hover {
  color: #111827;
}

/* Gold CTA button */
.btn-primary {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: #d4af37; /* gold */
  color: #111827;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 18px rgba(212, 175, 55, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
  background 0.15s ease;
}

.btn-primary:hover {
  background: #c89c2f;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(212, 175, 55, 0.3);
}

/* Hamburger button (hidden on desktop) */
.menu-toggle {
  display: none;
  width: 36px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: #2563eb;
  padding: 6px 7px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
}
/* ===== RESPONSIVE (MOBILE) ===== */
@media (max-width: 768px) {

/* Show top bar on mobile but make it clean */
.top-bar {
  display: block;
  padding: 0.4rem 1rem;
}

/* Make the name smaller and nicely aligned */
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.top-bar-inner h1,
.top-bar-inner span,
.top-bar-inner div {
  font-size: 0.85rem;   /* smaller text */
  text-align: center;
  line-height: 1.2;
}


  /* Make the white header more compact */
  .header-inner {
    max-width: 100%;
    padding: 0.6rem 1rem;
    gap: 0.75rem;
  }

  /* Smaller logo on phone */
  .logo img {
    height: 70px;    /* was 125px */
    width: auto;
  }

  /* keep header content aligned */
  .header-actions {
    margin-left: auto;
  }

  /* hide desktop nav + CTA in header */
  .main-nav {
    display: none;
  }

    .header-actions .minor-link,
  .header-actions .btn-primary {
    display: none;
  }

  /* show hamburger */
  .menu-toggle {
    display: inline-flex;
  }

  /* when nav is open */
  .site-header.nav-open .main-nav {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
  }

  .site-header.nav-open .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.9rem 1.5rem 0.4rem;
  }

  .site-header.nav-open .main-nav a {
    font-size: 0.98rem;
  }

  /* dropdown inside mobile menu */
  .dropdown {
    position: static;
    box-shadow: none;
    padding: 0.2rem 0 0.5rem;
    display: none !important;
  }

  .has-dropdown.dropdown-open > .dropdown {
    display: block !important;
  }

  .dropdown a {
    padding-left: 1.4rem;
  }

  /* show CTA + login inside the mobile panel */
  .site-header.nav-open .btn-primary {
    display: block;
    margin: 0.7rem 1.5rem 1rem;
    width: calc(100% - 3rem);
    text-align: center;
  }

  .site-header.nav-open .minor-link {
    display: block;
    margin: 0.3rem 1.5rem 0;
  }
}



/* =======================
   FOOTER
   ======================= */
.site-footer {
  background: #0A3A8C;          /* Pantheon blue */
  color: #e5e7eb;
  padding: 2.5rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

/* Left: brand */
.footer-logo {
  height: 125px;
  width: auto;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-about {
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 320px;
  color: #e5e7eb;
}

/* Middle: links */
.footer-links h4,
.footer-contact h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d4af37;       /* gold */
  margin-bottom: 0.75rem;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.footer-links a,
.footer-contact a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #d4af37;
}

/* Bottom strip */
.footer-bottom {
  border-top: 1px solid rgba(229, 231, 235, 0.2);
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
  color: #cbd5f5;
}

.footer-location-item {
  display: flex;
  align-items: flex-start;
}

.footer-pin {
  flex-shrink: 0;
  margin-right: 0.4rem; /* controls spacing */
}

.footer-address {
  color: #ffffff; /* or your footer text color */
  text-decoration: none;
  line-height: 1.4;
}

.footer-address:hover {
  text-decoration: underline;
}

/* COPYRIGHT BANNER */
.copyright-banner {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: white;
  padding: 1.2rem 0;
  opacity: 0.85;
  letter-spacing: 0.3px;
}



/* Responsive */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-about {
    max-width: 100%;
  }
}

/* Horizontal layout for logo + text */
.footer-brand-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;              /* space between logo + text */
}


/* Text block beside logo */
.footer-about {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #e5e7eb;
  max-width: 280px;
}

/* Make the first (brand) column narrower */
.footer-brand {
  flex: 0 0 30%;      /* about one third of the footer */
  max-width: 30%;   /* don't let it grow too wide */
}

/* Let middle & right columns take the remaining space */
.footer-contact {
  flex: 1;            /* they grow to fill what's left */
}

/* Desktop: nudge the "Contact Us" column slightly to the right */
@media (min-width: 769px) {
  .contact-main {
    margin-left: 6rem;   /* increase to 2.5rem / 3rem if you want it further right */
  }
}

/* Accordion-style footer sections */
.footer-section {
  border-top: 1px solid rgba(229, 231, 235, 0.35);
  padding-top: 0.6rem;
  margin-top: 0.5rem;
}

.footer-section summary {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d4af37;
  font-weight: 600;
  list-style: none;
  cursor: default;
}

/* remove default arrow (we'll style it ourselves on mobile) */
.footer-section summary::-webkit-details-marker {
  display: none;
}

/* Mobile: turn into real dropdowns */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-col {
    min-width: 100%;
  }

  .footer-section {
    border-top: 1px solid rgba(229, 231, 235, 0.25);
    padding-top: 0.4rem;
    margin-top: 0.25rem;
  }

  .footer-section summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 0.3rem 0;
  }

  /* little chevron indicator */
  .footer-section summary::after {
    content: "▾";
    font-size: 0.8rem;
    color: #e5e7eb;
    transform: translateY(1px) rotate(0deg);
    transition: transform 0.2s ease;
  }

  .footer-section[open] summary::after {
    transform: translateY(1px) rotate(180deg);
  }

  .footer-section ul {
    margin-top: 0.35rem;
  }

  .footer-links li,
  .footer-contact li {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
  }

  .site-footer {
    padding: 1.6rem 1rem 1.1rem;
  }

  .copyright-banner {
    font-size: 0.75rem;
    padding: 0.7rem 0;
  }
}

/* Desktop: remove the top border from footer accordion sections */
@media (min-width: 769px) {
  .footer-section {
    border-top: none !important;
    padding-top: 0;      /* optional */
    margin-top: 0.2rem;  /* optional */
  }

  /* We also don't want the summary to be clickable or styled like a dropdown */
  .footer-section summary::after {
    content: none !important;
  }
}

@media (max-width: 768px) {
  .footer-section summary {
    font-size: 0.82rem;        /* smaller & cleaner */
    letter-spacing: 0.08em;   /* reduce spacing slightly */
  }
}

/* =========================
   TABLET FIX (769px–1100px)
   ========================= */
@media (min-width: 769px) and (max-width: 1100px) {
  .footer-inner {
    gap: 1.5rem;
  }

  /* Make brand take full row, then let the other columns sit below nicely */
  .footer-brand {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .footer-about {
    max-width: 100%;
  }

  /* Remove the big desktop “push to the right” on tablets */
  .contact-main {
    margin-left: 0;
  }

  /* Ensure other columns can grow normally */
  .footer-col {
    flex: 1 1 320px;
    min-width: 280px;
  }
}

/* =======================
   GET A QUOTE PAGE
   ======================= */

.page-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: #0A3A8C;
  text-align: center;
  font-weight: 700;
}

/* Wrapper */
.quote-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

/* Hero / intro */
.quote-hero {
  margin-bottom: 2.2rem;
}

.quote-hero h1 {
  font-family: "Cinzel", serif;
  font-size: 2.2rem;
  color: #0A3A8C;
  margin-bottom: 0.6rem;
}

.quote-hero p {
  max-width: 720px;
  font-size: 0.98rem;
  color: #4b5563;
}

/* Layout: info + form */
.quote-content {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Left info column */
.quote-info {
  flex: 1;
  min-width: 260px;
  padding: 1.25rem 1.25rem 1.3rem;
  border-radius: 0.75rem;
  background: #0A3A8C;
  color: #e5e7eb;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
}

.quote-info h2 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: #f9fafb;
}

.quote-info p {
  font-size: 0.94rem;
  margin-bottom: 0.5rem;
}

.quote-info ul {
  margin: 0.4rem 0 0.8rem 1.1rem;
  font-size: 0.92rem;
}

.quote-info li {
  margin-bottom: 0.25rem;
}

.quote-note {
  font-size: 0.84rem;
  color: #d1d5db;
  font-style: italic;
}

/* Right form card */
.quote-form-card {
  flex: 1.4;
  min-width: 320px;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  padding: 1.8rem 1.7rem 2rem;
  border-top: 4px solid #d4af37;  /* gold accent */
  position: relative;
}

/* Form header */
.quote-form-header h2 {
  font-size: 1.1rem;
  margin-bottom: 0.1rem;
  color: #111827;
}

.quote-form-header p {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 1.1rem;
}

.quote-form-header p span {
  color: #dc2626; /* required-star colour */
}

/* Form layout */
.quote-form .form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  min-width: 190px;
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.3rem;
}

.form-group label span {
  margin-left: 0.15rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.7rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #111827;
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
  background: #f9fafb;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0A3A8C;
  box-shadow: 0 0 0 2px rgba(10, 58, 140, 0.18);
  background: #ffffff;
}

/* Inline checkbox (consent) */
.form-group-inline {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.3rem;
}

.form-group-inline input[type="checkbox"] {
  width: auto;
  margin-top: 0.15rem;
}

.form-group-inline label {
  font-size: 0.84rem;
  font-weight: 400;
  color: #4b5563;
}

/* Error messages + error input */
.error-message {
  display: block;
  font-size: 0.8rem;
  color: #dc2626;
  margin-top: 0.2rem;
}

.input-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

/* required star */
.req{
  color: #dc2626;          /* or red if you prefer */
  font-weight: 700;
  margin-left: .25rem;
  line-height: 1;
}

/* keep label + star nicely aligned */
.quote-form label{
  display: inline-flex;
  align-items: center;
  gap: .15rem;
}

/* ===========================
   QUOTE SUCCESS MESSAGE
   =========================== */

.quote-success-card {
  max-width: 720px;
  margin: 3rem auto;
  padding: 2.8rem 3rem;
  background: #ffffff;
  border-radius: 1.3rem;
  border-top: 4px solid #d4af37;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  text-align: center;
}

/* Title */
.quote-success-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #0a3a8c;
  margin-bottom: 0.9rem;
}

/* Text */
.quote-success-card p {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 2.2rem;
}

/* Button – matches Book Consultation pill */
.quote-success-btn {
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  cursor: pointer;

  background: linear-gradient(135deg, #f2d27a, #d4af37);
  color: #000000;
  font-weight: 700;
  font-size: 0.95rem;

  border: 1.5px solid #000000;
  box-shadow: 0 10px 22px rgba(212, 175, 55, 0.32);

  transition: transform 0.15s ease,
              box-shadow 0.15s ease,
              filter 0.15s ease;
}

.quote-success-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(212, 175, 55, 0.38);
  filter: brightness(1.03);
}

/* Mobile */
@media (max-width: 768px) {
  .quote-success-card {
    padding: 2rem 1.8rem;
  }

  .quote-success-card h3 {
    font-size: 1.6rem;
  }

  .quote-success-btn {
    padding: 0.65rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* =======================
   SERVICES CHECKBOX GROUP
   ======================= */

/* Default state: GREY */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  background: #f9fafb;
  border: 1px solid #d1d5db;   /* grey border */
  color: #374151;              /* grey text */
  box-shadow: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

/* Error state: ONLY when JS adds .services-error */
.checkbox-group.services-error {
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.18);
}

/* Keep label text readable even in error state */
.checkbox-group .checkbox-item,
.checkbox-group .checkbox-item span {
  color: #374151;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.checkbox-item input {
  width: auto;
}

/* Submit button / extras */
.quote-submit-btn {
  margin-top: 0.4rem;
  padding-inline: 1.9rem;
}

.privacy-note {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Responsive tweaks */
@media (max-width: 880px) {
  .quote-content {
    flex-direction: column;
  }

  .quote-info {
    order: 2;
  }

  .quote-form-card {
    order: 1;
  }
}

@media (max-width: 480px) {
  .quote-page {
    padding-inline: 1rem;
  }

  .quote-form-card {
    padding-inline: 1.3rem;
  }
}

/* Center success message on page */
.quote-success-only {
  min-height: calc(100vh - 160px); /* header + footer space */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Hide everything else when success is shown */
.quote-content.hidden {
  display: none !important;
}

/* =========================
   MOBILE FORM OPTIMIZATION
   ========================= */
@media (max-width: 768px) {

  /* Form & success card size */
  .contact-form-card,
  .quote-form-card,
  .contact-success-message,
  #quote-success-section {
    max-width: 100%;
    padding: 1.4rem 1.2rem;
    border-radius: 18px;
  }

  /* Headings */
  .contact-form-header h2,
  .quote-form-header h2,
  .contact-success-message h3,
  #quote-success-section h3 {
    font-size: 1.3rem;
    line-height: 1.25;
    margin-bottom: 0.6rem;
  }

  /* Success text */
  .contact-success-message p,
  #quote-success-section p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.4rem;
  }

  /* Inputs & textarea */
  .contact-form input,
  .contact-form textarea,
  .quote-form input,
  .quote-form textarea {
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
  }

  /* Checkbox labels */
  .form-group-inline label {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  /* Submit & return buttons */
  .contact-submit-btn,
  .quote-submit-btn,
  .contact-return-btn,
  #quote-return-btn {
    padding: 0.6rem 1.3rem;
    font-size: 0.9rem;
  }

  /* Reduce spacing between rows */
  .form-group {
    margin-bottom: 0.9rem;
  }

  .form-row {
    gap: 0.7rem;
  }

  /* Success-only center view padding */
  .quote-success-only {
    padding: 1.5rem 1rem;
  }
}

/* Hide the hero (Demander un devis) when success is shown */
.quote-content.is-hidden + #quote-success-section {
  margin-top: 0;
}

/* Completely hide hero + content when success is visible */
.quote-page.success-mode .quote-hero,
.quote-page.success-mode .quote-content {
  display: none;
}

/* Remove forced height when showing success */
.quote-page.success-mode {
  min-height: auto !important;
  padding-bottom: 0;
}

/* Tight vertical spacing for success-only view */
.quote-page.success-mode .quote-success-only {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .quote-page.success-mode {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .quote-success-only {
    align-items: center;
  }
}

/* 1) Kill any forced tall page height on mobile */
@media (max-width: 768px) {
  .quote-page {
    min-height: auto !important;
  }
}

/* 2) Make the success section NOT behave like a full-screen block */
.quote-success-only {
  margin: 0 auto !important;
  padding: 0 !important;
  align-items: center;            /* center vertically inside its own height */
}

/* 3) If any wrapper is forcing height, override it */
.quote-success-only,
#quote-success-section {
  min-height: auto !important;
  height: auto !important;
}

/* 4) Reduce spacing around the success card */
.quote-success-card {
  margin: 1.2rem auto !important;
}

/* 5) If your main container has big padding, tighten it on phones */
@media (max-width: 768px) {
  .quote-page {
    padding-top: 1.2rem !important;
    padding-bottom: 1.2rem !important;
  }
}


/* Main wrapper – same width as other pages */
.contact-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3.5rem; /* smaller top padding */
}

/* ---------- CONTACT HERO (MATCH ABOUT + SERVICES) ---------- */
.contact-hero {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  margin-top: 1rem;

  background-image: url("pictures/contact.jpg"); /* your chosen image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  height: 300px; /* EXACT same as About + Services */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* dark overlay – same as the other pages */
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    10deg,
    rgba(10, 58, 140, 0.75),
    rgba(0, 0, 0, 0.45)
  );
}

/* title – identical to About + Services */
.contact-hero h1 {
  position: relative;
  z-index: 2;
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
}

/* Intro section below hero */
.contact-intro {
  max-width: 1200px;
  margin: 2.5rem auto 2rem;
  padding: 0 1.5rem;
}

.contact-intro h2 {
  font-size: 1.8rem;
  color: #0A3A8C;
  margin-bottom: 0.8rem;
  font-family: "Playfair Display", serif;
}

.contact-intro p {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #374151;
}

/* Info cards row */
.contact-info-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.4rem;
}

.contact-info-card-mini {
  background: #0A3A8C;
  color: #e5e7eb;
  padding: 1.1rem 1.2rem;
  border-radius: 0.9rem;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.22);
  border-top: 3px solid #d4af37;
}

.contact-info-card-mini h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d4af37;
  margin-bottom: 0.4rem;
}

.contact-info-card-mini p {
  margin: 0;
  font-size: 0.92rem;
}

.contact-info-card-mini a {
  color: #f9fafb;
  text-decoration: none;
}

.contact-info-card-mini a:hover {
  color: #d4af37;
}

.contact-hours {
  margin-top: 0.4rem;
  font-size: 0.84rem;
  color: #d1d5db;
}

/* Contact form section */
.contact-form-section {
  display: flex;
  justify-content: center;
}

.contact-form-card {
  width: 100%;
  max-width: 720px;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  padding: 1.9rem 1.8rem 2.1rem;
  border-top: 4px solid #d4af37;
}

/* Form header */
.contact-form-header h2 {
  font-size: 1.15rem;
  margin-bottom: 0.1rem;
  color: #111827;
}

.contact-form-header p {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 1.1rem;
}

.contact-form-header p span {
  color: #dc2626;
}

/* Submit button */
.contact-submit-btn {
  margin-top: 0.4rem;
  padding-inline: 1.9rem;
}

/* Error styling */
.error-message {
  display: block;
  font-size: 0.8rem;
  color: #dc2626;
  margin-top: 0.2rem;
}

.input-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

.contact-form label {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.contact-form label .req {
  display: inline-block;
  font-size: 1em;
  line-height: 1;
  color: #dc2626; /* (optional) make it red like the sentence */
  font-weight: 700;
}
/* Success message container */
.contact-success-message {
  max-width: 720px;
  margin: 2.5rem auto 0;
  padding: 2.6rem 3rem;
  background: #ffffff;
  border-radius: 1.2rem;
  border-top: 4px solid #d4af37;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  text-align: center;
}

/* Title */
.contact-success-message h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #0a3a8c;
  margin-bottom: 0.75rem;
}

/* Subtitle */
.contact-success-message p {
  font-size: 1.05rem;
  color: #4b5563;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Success return button – premium pill */
.contact-return-btn {
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  cursor: pointer;

  background: linear-gradient(135deg, #f2d27a, #d4af37);
  color: #000000;                 /* BLACK text */
  font-weight: 700;
  font-size: 0.95rem;

  border: 1.5px solid #000000;    /* BLACK outline */
  box-shadow: 0 10px 22px rgba(212, 175, 55, 0.32);

  transition: transform 0.15s ease,
              box-shadow 0.15s ease,
              filter 0.15s ease;
}

.contact-return-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(212, 175, 55, 0.38);
  filter: brightness(1.03);
}

.contact-return-btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(212, 175, 55, 0.32);
}

@media (max-width: 768px) {
  .contact-return-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .contact-success-message {
    padding: 1.5rem 1.4rem;
    text-align: center;
  }

  .contact-success-message h3 {
    font-size: 1.25rem;       /* smaller title */
    line-height: 1.3;
    margin-bottom: 0.6rem;
  }

  .contact-success-message p {
    font-size: 0.9rem;        /* smaller body text */
    line-height: 1.45;
    margin-bottom: 1.2rem;
  }

  .contact-return-btn {
    font-size: 0.85rem;
    padding: 0.55rem 1.2rem;
  }
}

[hidden] { display: none !important; }


/* Responsive */
@media (max-width: 900px) {
  .contact-info-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact-page {
    padding-inline: 1rem;
  }

  .contact-form-card {
    padding-inline: 1.3rem;
  }
}

@media (max-width: 600px) {
  .contact-hero {
    height: 180px !important;   /* match About Us hero */
    border-radius: 1rem;
    background-position: center;
  }

  .contact-hero h1 {
    font-size: 1.6rem;          /* reduce size so it fits nicely */
  }
}


.services-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.services-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: #0A3A8C;
  margin-bottom: 0.6rem;
}

.services-hero p {
  max-width: 720px;
  font-size: 1rem;
  color: #4b5563;
}

/* Category Section */
.service-category {
  margin-top: 3.2rem;
}

.service-category h2 {
  font-size: 1.35rem;
  color: #0A3A8C;
  margin-bottom: 1.2rem;
  border-left: 4px solid #d4af37;
  padding-left: 0.6rem;
}

/* Cards Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

/* Individual Card */
.service-card {
  background: #ffffff;
  padding: 1.4rem;
  border-radius: 0.9rem;
  border-top: 4px solid #d4af37;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

.service-card h3 {
  font-size: 1.05rem;
  margin: 0.5rem 0;
  color: #0A3A8C;
}

.service-card p {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.45;
}

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.6rem;
  display: block;
}

/* if you later use PNG/SVG with color, this forces a monochrome look */
.service-card img.service-icon {
  filter: grayscale(1);
  opacity: 0.9;
}

/* ---------- SERVICES HERO (MATCH ABOUT HERO) ---------- */

.services-hero {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 3rem;

  background-image: url("pictures/services.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* dark overlay similar to about-hero */
.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    10deg,
    rgba(10, 58, 140, 0.45),
    rgba(0, 0, 0, 0.25)
  );
}

/* title centered in the middle */
.services-hero h1 {
  position: relative;
  z-index: 2;
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
}

/* ---------- SERVICES INTRO TEXT BELOW HERO ---------- */

.services-intro {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.services-intro h2 {
  font-size: 1.8rem;
  color: #0A3A8C;
  margin-bottom: 0.8rem;
  font-family: "Playfair Display", serif;
}

.services-intro p {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #374151;
}
/* Base title styling */
.service-category h2,
.license-section h2 {
  position: relative;
  padding-left: 1.3rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Gold bar BEFORE the title (visible always) */
.service-category h2::before,
.license-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  border-left: #D4AF37;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* ACTIVE highlight */
.service-category h2.service-title-active,
.license-section h2.service-title-active {
  background: rgba(212, 175, 55, 0.12); /* subtle gold tint */
  color: #0A3A8C;
  font-weight: 700;
}





/* ------------------------------
   LICENSE SECTION
------------------------------ */

.license-section {
  margin-top: 3rem;
  padding: 1rem 0;
}

.license-section h2 {
  font-size: 1.6rem;
  color: #0A3A8C;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* Outer item container */
.license-accordion-item {
  display: flex;
  justify-content: flex-start;
}

/* Inner width-controlled wrapper */
.license-accordion-inner {
  width: 650px;          /* 🔥 where the arrow + grey line end */
  max-width: 100%;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.6rem 0;
}


/* HEADER GRID ------------- */

.license-accordion-header {
  background: none;
  border: none;
  width: 100%;
  display: grid;
  grid-template-columns: 90px auto 20px;  /* 🔥 perfect alignment */
  align-items: center;
  cursor: pointer;
  padding: 0.6rem 0;
  text-align: left;
  gap: 0.5rem;
}

.license-pill {
  background: #D4AF37;
  color: #111827;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  width: 74px;         /* fixed column width */
  text-align: center;
  flex-shrink: 0;
}

.license-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0A3A8C;
  line-height: 1.4;
}

.arrow {
  font-size: 0.85rem;
  justify-self: end;
  transition: transform 0.25s ease;
}

.license-accordion-item.active .arrow {
  transform: rotate(180deg);
}


/* BODY --------------------- */

.license-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
}

.license-accordion-item.active .license-accordion-body {
  max-height: 500px;
}

.license-accordion-body p {
  font-size: 0.92rem;
  color: #4b5563;
  margin: 0;
  padding: 0.5rem 0 1rem 90px; /* align text under label */
}



/* =======================
   HOME PAGE
   ======================= */

.home-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* ---------- HERO ---------- */

.home-hero {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  margin-bottom: 3rem;

  background-image: url("pictures/homepage.png"); /* replace with your beach image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: 320px;
  display: flex;
  align-items: center;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(10, 58, 120, 0.4),
    rgba(0, 0, 0, 0.25)
  );
}


.home-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 2.5rem 2.4rem;
  color: #f9fafb;
}

.home-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.home-hero p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.3rem;
  color: #e5e7eb;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- GENERIC SECTION HEADER ---------- */

.home-section-header {
  text-align: left;
  max-width: 1200px;
  margin: 0 auto 1.8rem;
}

.home-section-header h2 {
  font-size: 1.6rem;
  font-family: "Playfair Display", serif;
  color: #0A3A8C;
  margin-bottom: 0.4rem;
}

.home-section-header p {
  font-size: 0.98rem;
  color: #4b5563;
}

/* ---------- ABOUT ROW (HANDSHAKE) ---------- */

.home-about-row {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.home-about-text {
  flex: 1.1;
  min-width: 260px;
}

.home-about-text h2 {
  font-size: 1.6rem;
  font-family: "Playfair Display", serif;
  color: #0A3A8C;
  margin-bottom: 0.7rem;
}

.home-about-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 0.5rem;
}

.text-link {
  font-size: 0.9rem;
  color: #0A3A8C;
  text-decoration: none;
  font-weight: 500;
}

.text-link:hover {
  text-decoration: underline;
}

.home-about-image {
  flex: 1;
  min-width: 260px;
}

.home-about-image img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  max-height: 280px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

/* ---------- SERVICES GRID ---------- */

.home-services {
  margin-top: 1rem;
  margin-bottom: 3.5rem;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.7rem;
}

.home-service-card {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1.4rem 1.5rem 1.5rem;
  border-top: 4px solid #D4AF37;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
}

.home-service-card h3 {
  font-size: 1.05rem;
  color: #0A3A8C;
  margin-bottom: 0.4rem;
}

.home-service-card p {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 0.8rem;
}

.home-service-link {
  font-size: 0.86rem;
  color: #0A3A8C;
  text-decoration: none;
  font-weight: 500;
}

.home-service-link:hover {
  text-decoration: underline;
}


.home-service-card-image h3,
.home-service-card-image p {
  color: #f9fafb;
}

.home-service-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  z-index: 0;
}

.home-service-card-image h3,
.home-service-card-image p,
.home-service-card-image .home-service-link {
  position: relative;
  z-index: 1;
}


/* ---------- WHY PANTHEON ---------- */

.home-why {
  margin-bottom: 3.5rem;
}

.home-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.home-why-item {
  background: #f9fafb;
  border-radius: 0.9rem;
  padding: 1.4rem 1.5rem;
  border-left: 4px solid #D4AF37;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.home-why-item h3 {
  font-size: 1.02rem;
  color: #0A3A8C;
  margin-bottom: 0.35rem;
}

.home-why-item p {
  font-size: 0.9rem;
  color: #4b5563;
}

/* ---------- MAURITIUS ADVANTAGE ---------- */

.home-mauritius {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  margin: 3rem 0;
  background-image: url("pictures/homepage2.jpg"); /* another beach/mountain image */
  background-size: cover;
  background-position: center;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.home-mauritius-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(10, 58, 140, 0.5),
    rgba(0, 0, 0, 0.20)
  );
}

.home-mauritius-inner {
  position: relative;
  z-index: 2;
  padding: 2.2rem 2.4rem;
  max-width: 620px;
  color: #f9fafb;
}

.home-mauritius-inner h2 {
  font-size: 1.7rem;
  font-family: "Playfair Display", serif;
  margin-bottom: 0.5rem;
}

.home-mauritius-inner p {
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.home-mauritius-btn {
  border-color: #f9fafb;
  color: #f9fafb;
  background: transparent;
}

.home-mauritius-btn:hover {
  background: rgba(15, 23, 42, 0.2);
}

/* ---------- GUIDING PRINCIPLES ---------- */

.home-principles {
  margin-bottom: 3.5rem;
}

.home-principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.principle-card {
  background: #f7f9fc;
  border-radius: 0.9rem;
  padding: 1.5rem 1.6rem;
  border-left: 4px solid #D4AF37;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.principle-card h3 {
  font-size: 1.05rem;
  color: #0A3A8C;
  margin-bottom: 0.4rem;
}

.principle-card p {
  font-size: 0.9rem;
  color: #4b5563;
}

/* ---------- FINAL CTA ---------- */

.home-final-cta {
  margin-top: 3rem;
}

.home-final-cta-card {
  background: #0A3A8C;
  border-radius: 1rem;
  padding: 1.9rem 1.8rem 2.1rem;
  text-align: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
}

.home-final-cta-card h2 {
  font-size: 1.5rem;
  color: #f9fafb;
  margin-bottom: 0.6rem;
  font-family: "Playfair Display", serif;
}

.home-final-cta-card p {
  font-size: 0.95rem;
  color: #e5e7eb;
  margin-bottom: 1rem;
}

.home-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 768px) {
  .home-page {
    padding-inline: 1.1rem;
  }

  .home-hero-inner {
    padding: 2rem 1.6rem;
  }

  .home-hero h1 {
    font-size: 2rem;
  }

  .home-about-row {
    flex-direction: column;
  }

  .home-about-image img {
    max-height: 260px;
  }

  .home-mauritius-inner {
    padding-inline: 1.6rem;
  }
}

@media (max-width: 600px) {
  /* Reduce hero height */
  .home-hero {
    height: 260px;        /* adjust if you want shorter */
  }

  /* Reduce inside spacing */
  .home-hero-inner {
    padding: 1.4rem 1.2rem;
  }

  /* Title smaller */
  .home-hero h1 {
    font-size: 1.6rem;    /* was ~2.4 → cleaner on mobile */
    line-height: 1.25;
  }

  /* Paragraph smaller */
  .home-hero p {
    font-size: 0.88rem;
    line-height: 1.35;
    max-width: 95%;
  }
}
@media (max-width: 600px) {

  /* Stack the section vertically */
  .home-about-row {
    flex-direction: column;
    width: 100%; 
    padding: 0;
  }

  /* Make the image container full width */
  .home-about-image {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
  }

  /* Make the image full width */
  .home-about-image img {
    width: 100% !important;     /* FORCE full width */
    max-height: 180px;          /* adjust as you want */
    object-fit: cover;
    border-radius: 1rem;
  }
}

@media (max-width: 600px) {
  .home-mauritius {
    height: 220px;      /* reduce height */
  }

  .home-mauritius-inner {
    padding: 1.4rem 1.2rem;   /* reduce padding so text fits without overflow */
  }

  .home-mauritius h2 {
    font-size: 1.4rem; 
    line-height: 1.25;
  }

  .home-mauritius p {
    font-size: 0.85rem;
    line-height: 1.3;
    max-width: 90%;
  }
}

@media (max-width: 600px) {
  .home-final-cta-card {
    padding: 1.4rem 1rem;       /* reduce inside spacing */
    border-radius: 0.8rem;      /* slightly smaller corners */
  }

  .home-final-cta-card h2 {
    font-size: 1.1rem;          /* smaller title */
    line-height: 1.3;
    margin-bottom: 0.6rem;      /* reduce spacing */
  }

  .home-final-cta-card p {
    font-size: 0.80rem;
    line-height: 1.3;
    margin-bottom: 0.9rem;
  }

  .home-final-cta-actions {
    gap: 0.5rem;                /* reduce button spacing */
  }

  .home-final-cta-card .btn-primary {
    padding: 0.55rem 1rem;      /* smaller button height */
    font-size: 0.85rem;
  }
}



/* ============== ABOUT PAGE ============== */

.about-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* ---------- HERO (ABOUT US + MAURITIUS IMAGE) ---------- */

.about-hero {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 3rem;

  background-image: url("pictures/mauritius.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* dark overlay */
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    10deg,
    rgba(10, 58, 140, 0.75),
    rgba(0, 0, 0, 0.45)
  );
}

/* title in the middle */
.about-hero h1 {
  position: relative;
  z-index: 2;
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
}

/* ---------- WHO WE ARE (FIRST PARAGRAPH) ---------- */

.about-intro {
  max-width: 900px;
  margin: 3rem auto 2rem;
  padding: 0 1.5rem;
  display: block;
}

.about-intro h2 {
  font-size: 1.8rem;
  color: #0A3A8C;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
}

.about-intro p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #374151;
}

/* ---------- OUR APPROACH (TEXT + SIDE IMAGE) ---------- */

.about-section {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 2rem auto 5rem;
  padding: 0 1.5rem;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 1.8rem;
  color: #0A3A8C;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
}

.about-text p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.65;
  color: #374151;
}

.about-image {
  flex: 1;
}

.about-image img {
  height: 425px;         /* adjust to your desired height */
  object-fit: cover;     /* keeps the image nicely cropped */
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}


/* ======== MVV CARDS (PREMIUM PANTHEON STYLE) ======== */

.mvv-card {
  background: #f7f9fc; /* very light corporate blue */
  border-left: 6px solid #D4AF37; /* Pantheon gold */
  padding: 1.8rem 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.mvv-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: #0A3A8C; /* Pantheon blue */
  margin-bottom: 0.8rem;
}

.mvv-card p,
.mvv-card ul {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #374151;
}

.mvv-card ul {
  padding-left: 1.2rem;
}

.mvv-card ul li {
  margin-bottom: 0.4rem;
}

/* ---------- PERFECT GLOBAL TITLE ALIGNMENT ---------- */

.about-section,
.about-intro,
.about-mvv {
    max-width: 1200px;
    margin: 0 auto 3rem auto; /* center all content blocks */
    padding: 0 1.5rem;
}

.about-intro h2,
.about-text h2,
.about-mvv h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding: 0; /* remove forced left padding */
}

.about-intro p,
.about-text p,
.about-mvv p,
.values-list {
    padding: 0; 
    margin-left: 0; 
    margin-right: 0;
    text-align: left;
}

@media (max-width: 600px) {
  .about-hero {
    height: 180px;        /* reduce from 300px → adjust as you like */
  }

  .about-hero h1 {
    font-size: 1.8rem;     /* keep title size balanced */
  }
}


@media (max-width: 768px) {

  /* Force single column layout on mobile */
  .about-intro {
    flex-direction: column;
    align-items: center;
  }

  /* Make the image container full width */
  .about-image {
    width: 100%;
    max-width: 100%;
    margin: 0;              /* remove side spacing */
  }

  /* Make the image full width */
  .about-image img {
    width: 100%;
    max-height: 200px;      /* adjust height as you want */
    object-fit: cover;
    border-radius: 1rem;
  }
}


@media (max-width: 768px) {

  /* Let the brand block use the full row width */
  .footer-brand {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* Keep logo + text side-by-side, but across the full width */
  .footer-brand-row {
    display: flex;
    align-items: center;   /* or flex-start if you prefer */
    gap: 0.75rem;
  }

  /* Allow the paragraph to use all remaining space */
  .footer-about {
    max-width: 100%;       /* remove the 280px cap on mobile */
    flex: 1;               /* grow to fill space next to logo */
  }
}



/* === Pretty Corporate Values Grid === */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* was 380px */
  gap: 1.6rem 2rem;
  margin-top: 1rem;
}


.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-icon {
  width: 14px;
  height: 14px;
  background: #D4AF37; /* Pantheon gold */
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.5);
  margin-top: 6px;
}

.value-item h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: #0A3A8C;
  margin-bottom: 0.2rem;
}

.value-item p {
  font-size: 1rem;
  color: #374151;
  line-height: 1.55;
  margin: 0;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 800px) {
  .about-page {
    padding-inline: 1rem;
  }

  .about-hero h1 {
    font-size: 2.2rem;
  }

  .about-section {
    flex-direction: column;
  }

  .about-image {
    order: -1; /* show image on top on mobile if you like */
  }
}

/* ===== HOMEPAGE ANIMATIONS ===== */

.fade-up,
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.8s ease;
}

.fade-in {
  transform: none; /* hero fades but doesn't slide */
}

.fade-up.visible,
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.link-animated {
  position: relative;
  font-weight: 600;
  color: #0A3A8C !important;
  text-decoration: none;
  padding-bottom: 3px;
}

.link-animated::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #0A3A8C;
  transition: width 0.3s ease;
}

.link-animated:hover::after {
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  /* Match hero size for About, Contact, and Services */
  .about-hero,
  .contact-hero,
  .services-hero {
    height: 180px !important;
    border-radius: 1rem;
    background-position: center;
    background-size: cover;
  }

  /* Mobile title resize */
  .about-hero h1,
  .contact-hero h1,
  .services-hero h1 {
    font-size: 1.6rem;
  }
}
/* Highlight active nav item (ONLY top-level menu items) */
.main-nav > ul > li > a.active {
  position: relative;
  font-weight: 600;
}

.main-nav > ul > li:not(.has-dropdown) > a.active::after,
.main-nav > ul > li.has-dropdown > a.active::before {

  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #2563eb; /* same as hover */
  border-radius: 2px;
}

/* ===========================
   CONSULTATION WIZARD PAGE
   =========================== */

.consult-page {
  min-height: calc(100vh - 160px); /* header + footer */
  padding: 2.5rem 1.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top left, rgba(10, 58, 140, 0.06), transparent 55%),
    radial-gradient(circle at bottom right, rgba(212, 175, 55, 0.06), transparent 55%),
    #f5f6fb;
}

.consult-step {
  display: none;
  min-height: calc(100vh - 220px);
  align-items: stretch;
  animation: consultFade 0.35s ease-out;
}

.consult-step.active {
  display: flex;
}

@keyframes consultFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.consult-inner {
  max-width: 1040px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.consult-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: #0a3a8c;
  letter-spacing: 0.02em;
}

/* Step subtitle & note at the top */
.consult-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.consult-note {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-style: italic;
}

/* Main cards */

.consult-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e5e7f5;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.4);
  padding: 1.8rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.consult-card-header h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}

.consult-card-header p {
  font-size: 0.9rem;
  color: #6b7280;
}

.consult-hint {
  font-size: 0.83rem;
  color: #9ca3af;
  margin-top: 0.25rem;
}

/* Calendar */

.calendar-wrapper {
  margin-top: 0.75rem;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.calendar-month-label {
  font-weight: 600;
  color: #111827;
  font-size: 1rem;
}

.calendar-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #d1d5e0;
  background: #f9fafb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.14s ease,
    box-shadow 0.18s ease;
}

.calendar-nav-btn:hover {
  background: #0a3a8c;
  border-color: #0a3a8c;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(10, 58, 140, 0.35);
  transform: translateY(-1px);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  font-size: 0.75rem;
  text-align: center;
  color: #6b7280;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calendar-weekdays span {
  padding: 0.25rem 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.calendar-empty {
  height: 2.4rem;
}

.calendar-date {
  border-radius: 999px;
  border: 1px solid #e5e7f0;
  background: linear-gradient(135deg, #fdfdff, #f8f9ff);
  padding: 0.45rem 0;
  font-size: 0.86rem;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease;
}

.calendar-date:hover {
  background: #eef3ff;
  border-color: #2563eb;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

/* Today (outline only) */
.calendar-date.today {
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.75);
  border-color: rgba(212, 175, 55, 0.9);
}

/* Disabled days (weekends / past) */
.calendar-date.disabled {
  background: #f4f4f7;
  color: #b4b8c5;
  border-style: dashed;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Selected date */
.calendar-date.selected {
  background: linear-gradient(135deg, #0a3a8c, #174ea6);
  border-color: #0a3a8c;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(10, 58, 140, 0.4);
  transform: translateY(-1px);
}

/* Timeslot grid */

.timeslot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.timeslot-btn {
  border-radius: 999px;
  border: 1px solid #d1d5e0;
  background: #ffffff;
  padding: 0.35rem 1rem;
  font-size: 0.88rem;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease;
}

.timeslot-btn:hover {
  background: #eef3ff;
  border-color: #2563eb;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

.timeslot-btn.selected {
  background: linear-gradient(135deg, #0a3a8c, #174ea6);
  border-color: #0a3a8c;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(10, 58, 140, 0.4);
}

/* Actions */

.consult-actions {
  margin-top: 1.2rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.consult-actions-between {
  justify-content: space-between;
}

.btn-secondary {
  border-radius: 999px;
  border: 1px solid #d1d5e0;
  background: #ffffff;
  padding: 0.45rem 1.2rem;
  font-size: 0.88rem;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease;
}

.btn-secondary:hover {
  background: #f3f4ff;
  border-color: #9ca3af;
  box-shadow: 0 6px 14px rgba(148, 163, 184, 0.3);
  transform: translateY(-1px);
}

/* Selected date row (Step 2) */

.consult-selected-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9fafb;
  border: 1px solid #d1d5db;
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.consult-selected-label {
  font-weight: 600;
  color: #0a3a8c;
}

.consult-selected-value {
  color: #374151;
  font-weight: 500;
}

/* Error bubble */

.consult-error {
  margin-top: 0.6rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  color: #b91c1c;
  background: #fef2f2;
  border-radius: 8px;
  border: 1px solid #fecaca;
  display: none;
  position: relative;
  padding-left: 1.9rem; /* space for the little icon */
}

.consult-error::before {
  content: "!";
  position: absolute;
  left: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Step 4 thank-you */

.consult-card-center {
  text-align: center;
  align-items: center;
}

.consult-summary-box {
  margin: 1.1rem 0 1.4rem;
  padding: 1.1rem 1.4rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #f7fafc, #fdfdfd);
  border: 1px solid #e5e7f0;
  text-align: left;
  width: 100%;
  max-width: 480px;
}

.consult-summary-box p {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

/* Responsive */

@media (max-width: 768px) {
  .consult-page {
    padding: 1.75rem 1rem 2.5rem;
  }

  .consult-inner {
    gap: 1.1rem;
  }

  .consult-title {
    font-size: 1.6rem;
  }

  .consult-card {
    padding: 1.25rem 1.2rem 1.4rem;
    border-radius: 16px;
  }
}

/* Global body font – clean, modern */
body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #111827;
}

/* Fancy headings keep Playfair */
.consult-title,
.consult-card-header h2 {
  font-family: "Playfair Display", serif;
}

/* Form text a bit smaller and consistent */
.quote-form,
.quote-form label,
.quote-form input,
.quote-form select,
.quote-form textarea {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 0.95rem;
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form select,
.quote-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #d4d7e5;
  background: #f9fafc;
  padding: 0.65rem 0.8rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: #0a3a8c;
  box-shadow: 0 0 0 1px rgba(10, 58, 140, 0.15);
  background: #ffffff;
}

.field-hint {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.35rem;
}

/* WhatsApp conditional phone block – hidden by default with animation */
#phone-group {
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  overflow: hidden;
  pointer-events: none;
  margin-top: 0;
  transition:
    max-height 0.25s ease,
    opacity 0.2s ease,
    transform 0.25s ease,
    margin-top 0.2s ease;
}

/* Visible state: slide down + fade in */
#phone-group.is-visible {
  max-height: 200px; /* enough space for label + input + hint */
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  margin-top: 1rem;
}

/* Layout for the time slot buttons */
.timeslot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Base style for each time slot */
.timeslot-btn {
  min-width: 76px;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 1px solid #d4d7e5;
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  color: #111827;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

/* Hover effect */
.timeslot-btn:hover {
  border-color: #0a3a8c;
  box-shadow: 0 10px 22px rgba(10, 58, 140, 0.15);
  transform: translateY(-1px);
}

/* Selected (active) slot */
.timeslot-btn.selected {
  background: #0a3a8c;
  color: #ffffff;
  border-color: #0a3a8c;
  box-shadow: 0 14px 30px rgba(10, 58, 140, 0.35);
  transform: translateY(-1px);
}

/* Optional: focus ring for accessibility */
.timeslot-btn:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* Two-column layout: Morning / Afternoon */
.timeslot-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

/* Collapse to one column on mobile */
@media (max-width: 768px) {
  .timeslot-layout {
    grid-template-columns: 1fr;
  }
}

.timeslot-column {
  background: #f9fafc;
  border-radius: 14px;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid #e5e7f0;
}

.timeslot-column-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 0.6rem;
}

/* Inner grid for the buttons (nice and ordered) */
.timeslot-grid-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

/* Time slot chip */
.timeslot-btn {
  padding: 0.5rem 0.4rem;
  border-radius: 999px;
  border: 1px solid #d4d7e5;
  background: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  color: #111827;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
  text-align: center;
}

/* Hover */
.timeslot-btn:hover {
  border-color: #0a3a8c;
  box-shadow: 0 10px 22px rgba(10, 58, 140, 0.15);
  transform: translateY(-1px);
}

/* Selected */
.timeslot-btn.selected {
  background: #0a3a8c;
  color: #ffffff;
  border-color: #0a3a8c;
  box-shadow: 0 14px 30px rgba(10, 58, 140, 0.35);
  transform: translateY(-1px);
}

/* Optional focus ring */
.timeslot-btn:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* Success page styling */
.consult-success-card {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 2.5rem;
}

.success-title {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.success-subtitle {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 2rem;
}

.improved-summary {
  background: #f9fafc;
  border: 1px solid #e5e7ef;
  padding: 1.4rem 1.6rem;
  border-radius: 14px;
  text-align: left;
  margin: 0 auto 2rem auto;
  max-width: 420px;
}

.improved-summary p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
  color: #1f2937;
}

.improved-summary strong {
  color: #0a3a8c;
  font-weight: 600;
}

.success-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.success-btn {
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .consult-page {
    min-height: auto;          /* don't force tall page */
    padding: 1.5rem 1rem 1.5rem; /* a bit tighter bottom padding */
  }

  .consult-step {
    min-height: auto;          /* stop forcing near-full height */
  }
}

/* Make main content shrink naturally on mobile so we don't get
   extra space below the footer */
@media (max-width: 768px) {
  .consult-page {
    min-height: auto;
  }

  .consult-step {
    min-height: auto;
  }
}

/* =========================
   CUSTOM SELECT (Pantheon)
   ========================= */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 10px;
  border: 1px solid #d4d7e5;
  background: #f9fafc;
  padding: 0.65rem 0.8rem;
  font-size: 0.95rem;
  cursor: pointer;
  line-height: 1.2;
}

.custom-select-trigger:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

.custom-select-value {
  color: #111827;
}

.custom-select.is-empty .custom-select-value {
  color: #6b7280; /* placeholder vibe */
}

.custom-select-chevron {
  flex-shrink: 0;
  color: #0a3a8c;
  font-size: 0.9rem;
  transform: translateY(1px);
  transition: transform 0.18s ease;
}

.custom-select.open .custom-select-chevron {
  transform: translateY(1px) rotate(180deg);
}

.custom-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  border-radius: 14px;
  border: 1px solid #e5e7f0;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  display: none;
}

.custom-select.open .custom-select-menu {
  display: block;
}

.custom-select-option {
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #111827;
}

.custom-select-option:hover {
  background: #eef3ff;
}

.custom-select-option[aria-selected="true"] {
  background: rgba(10, 58, 140, 0.10);
  color: #0a3a8c;
  font-weight: 600;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .custom-select-trigger,
  .custom-select-option {
    font-size: 0.9rem;
  }
}

/* Desktop: separator line under footer section titles */
@media (min-width: 769px) {
  .footer-section summary {
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.45); /* subtle gold */
  }
}

/* Tablets (820 / 912 / 1024 etc): don’t force full-screen step height */
@media (max-width: 1024px) {
  .consult-page {
    min-height: auto;          /* stop forcing viewport height */
    padding-bottom: 1.5rem;    /* reduce extra bottom space */
  }

  .consult-step {
    min-height: auto;          /* this is the main culprit */
  }

  .site-footer {
    margin-top: 1.5rem;        /* optional: your 3rem is big on tablets */
  }
}

/* TABLET: switch to hamburger earlier so nav doesn’t wrap */
@media (max-width: 1024px) {
  .header-inner {
    max-width: 100%;
    padding: 0.6rem 1rem;
    gap: 0.75rem;
  }

  .logo img {
    height: 80px; /* adjust */
  }

  /* hide desktop nav + CTA */
  .main-nav {
    display: none;
  }

  .header-actions .minor-link,
  .header-actions .btn-primary {
    display: none;
  }

  /* show hamburger */
  .menu-toggle {
    display: inline-flex;
  }

  /* when nav is open */
  .site-header.nav-open .main-nav {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
  }

  .site-header.nav-open .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.9rem 1.5rem 0.4rem;
  }
}

@media (max-width: 1024px) {
  /* keep the consultation CTA visible on tablets */
  .header-actions .btn-primary {
    display: inline-flex;
  }
}

/* Mobile: make consultation button smaller & cleaner */
@media (max-width: 768px) {
  .header-actions .btn-primary {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.28);
    border-radius: 999px;

    /* ✅ CENTER TEXT */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
  }
}

/* Make the quote page a column so we can center the success block */
.quote-page.success-mode{
  display: flex;
  flex-direction: column;
}

/* Use the remaining height to center the success card nicely */
.quote-page.success-mode .quote-success-only{
  flex: 1;                       /* takes the leftover space */
  display: flex;
  align-items: center;           /* vertical center */
  justify-content: center;       /* horizontal center */
  padding: 1.25rem;              /* small breathing room */
}

/* Don’t add extra top/bottom margin that creates “empty” feel */
.quote-page.success-mode .quote-success-card{
  margin: 0 auto;
}

body{
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

/* make MAIN take the remaining height so we can center inside it */
main.quote-page{
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* when success mode is on, use the remaining height for centering */
main.quote-page.success-mode{
  justify-content: center;
}

/* force success wrapper to behave like a centering container */
main.quote-page.success-mode .quote-success-only{
  flex: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.25rem !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

/* remove extra margins that add “dead space” */
main.quote-page.success-mode .quote-success-card{
  margin: 0 auto !important;
}
@media (max-width: 768px) {

  .services-page,
  .services-intro,
  .service-category,
  .service-grid {
    max-width: 100%;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    width: 100%;
  }

  .service-card,
  .service-card * {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* Consultation page: don't force viewport math */
.consult-page { 
  min-height: auto !important;
  flex: 1;
}

.consult-step {
  min-height: auto !important;
}

/* =========================================================
   CONTACT PAGE – FORCE SAME WIDTH AS ABOUT & SERVICES
   (CSS-only override – do NOT move this block)
   ========================================================= */

/* Match main page wrapper behaviour */
.contact-page {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 1.5rem 1.5rem 4rem !important;
}

/* Remove secondary width caps that shrink the page */
.contact-intro,
.contact-info-row,
.contact-form-section {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Keep form centered but consistent with other content */
.contact-form-card,
.contact-success-message {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Ensure hero aligns with page edges */
.contact-hero {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* =========================================================
   ABOUT US ONLY — mobile cut-off fix (NO footer impact)
   ========================================================= */
@media (max-width: 600px) {

  /* About page already has padding; inner blocks also add padding.
     On small screens that "double padding" can cause visual cut-off. */
  .about-page {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Remove ONLY the inner side-padding on About blocks */
  .about-page .about-intro,
  .about-page .about-section,
  .about-page .about-mvv {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }

  /* Ensure About image never forces width */
  .about-page .about-image,
  .about-page .about-image img {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================================
   MOBILE CONSISTENCY
   About Us + Services + Contact ONLY
   ========================================================= */

@media (max-width: 600px) {

  /* 1) Give all three pages the SAME outer frame */
  .about-page,
  .services-page,
  .contact-page {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* 2) Remove inner side-padding that causes cut-off / double padding */
  .about-page .about-intro,
  .about-page .about-section,
  .about-page .about-mvv,

  .services-page .services-intro,
  .services-page .service-category,

  .contact-page .contact-intro,
  .contact-page .contact-info-row,
  .contact-page .contact-form-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }

  /* 3) Safety: images inside these pages never overflow */
  .about-page img,
  .services-page img,
  .contact-page img {
    max-width: 100% !important;
    height: auto !important;
  }
}
