/* ============================================================
   KTF Business Group — design system
   White + brand blue · cursor-aware atmosphere · readable type
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand */
  --blue: #5CA9EC;
  --blue-deep: #2E7BC4;
  --blue-darker: #1B3D8A;     /* matches the optimized logo */
  --blue-pale: #E8F2FB;
  --blue-tint: rgba(92, 169, 236, 0.10);
  --blue-tint-soft: rgba(92, 169, 236, 0.06);

  /* Ink — readable contrast tiers */
  --navy: #0E1B2C;
  --ink: #0E1B2C;             /* primary text */
  --ink-soft: #2C3E55;        /* secondary text — still WCAG AA on white */
  --ink-mute: #5A6B7E;        /* tertiary / decorative only */

  /* Canvas */
  --white: #FFFFFF;
  --paper: #FFFFFF;

  /* Rules */
  --rule: rgba(14, 27, 44, 0.10);
  --rule-strong: rgba(14, 27, 44, 0.18);

  /* Legacy */
  --blue-color: #5CA9EC;
  --dark-blue-color: #2E7BC4;
  --black-color: #0E1B2C;
  --white-color: #FFFFFF;
  --dark-white-color: #FFFFFF;

  /* Type */
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Poppins", sans-serif;
  --font: var(--font-body);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 200ms;
  --dur: 380ms;
  --dur-slow: 720ms;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --corner: 14px;
  --corner-stroke: 1.5px;

  /* Cursor coordinates (set by app.js) */
  --mx: 50vw;
  --my: 50vh;
}

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--white);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

body ul li { list-style: none; }
body a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--blue); color: var(--white); }

/* Lock background scroll when the mobile drawer or lightbox is open */
body.nav-open,
body.modal-open { overflow: hidden; }

/* ============================================================
   Atmosphere — drifting ambient blobs + cursor spotlight
   Replaces the grid. Pointer-events: none so they never
   interfere with clicks. Hidden under opaque sections naturally.
   ============================================================ */

body::before {
  content: "";
  position: fixed;
  inset: -10vmax;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(38vmax 38vmax at 82% 18%, rgba(92, 169, 236, 0.18), transparent 65%),
    radial-gradient(34vmax 34vmax at 12% 92%, rgba(92, 169, 236, 0.14), transparent 65%),
    radial-gradient(28vmax 28vmax at 60% 60%, rgba(27, 61, 138, 0.07), transparent 70%);
  filter: blur(8px);
  animation: drift 28s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    420px 420px at var(--mx) var(--my),
    rgba(92, 169, 236, 0.16),
    rgba(92, 169, 236, 0.06) 35%,
    transparent 65%
  );
  transition: background 120ms linear;
}

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-3%, 2%, 0) scale(1.05); }
  100% { transform: translate3d(2%, -3%, 0) scale(0.98); }
}

@media (hover: none) {
  body::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  body::after { display: none; }
}

/* All content layers must sit above the atmosphere */
body > * { position: relative; z-index: 1; }

/* ============================================================
   Reusable: PLATE — corner-marked card (architectural accent)
   ============================================================ */

.service, .house, .car { position: relative; }

.service::before, .service::after,
.house::before, .house::after,
.car::before, .car::after {
  content: "";
  position: absolute;
  width: var(--corner);
  height: var(--corner);
  border: var(--corner-stroke) solid var(--blue);
  pointer-events: none;
  transition: width var(--dur) var(--ease), height var(--dur) var(--ease), border-color var(--dur-fast) var(--ease);
  z-index: 2;
}
.service::before, .house::before, .car::before {
  top: -1px; left: -1px;
  border-right: none; border-bottom: none;
}
.service::after, .house::after, .car::after {
  bottom: -1px; right: -1px;
  border-left: none; border-top: none;
}
.service:hover::before, .service:hover::after,
.house:hover::before, .house:hover::after,
.car:hover::before, .car:hover::after {
  width: calc(var(--corner) + 8px);
  height: calc(var(--corner) + 8px);
  border-color: var(--blue-darker);
}

/* ============================================================
   Header / Navbar — present on every page
   ============================================================ */

body > header {
  position: relative;
  z-index: 30;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

.navbar {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem var(--gutter);
}

.logo {
  display: inline-flex;
  align-items: center;
  transition: opacity var(--dur-fast) var(--ease);
}
.logo:hover { opacity: 0.78; }
.logo img { width: 72px; height: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-item { display: inline-flex; align-items: center; }

.nav-link, .nav-link-2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink);
  position: relative;
  padding: 0.5em 0;
  transition: color var(--dur-fast) var(--ease);
}
.nav-link::after, .nav-link-2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: var(--blue);
  transition: right var(--dur) var(--ease);
}
.nav-link:hover::after, .nav-link-2:hover::after { right: 0; }
.nav-link:hover, .nav-link-2:hover { color: var(--blue-darker); }

.nav-item a, .nav-item-2 a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease);
}
.nav-item a:hover, .nav-item-2 a:hover { color: var(--blue-darker); }

/* Dropdown */
.dropdown-block { position: relative; display: inline-flex; align-items: center; }

.drop-icon {
  font-size: 0.6rem;
  margin-left: 0.5em;
  transition: transform var(--dur) var(--ease);
}
.drop-icon.fa-chevron-up { transform: rotate(180deg); }

.dropdown-service {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 270px;
  padding: 0.85rem;
  background: var(--white);
  border: 1px solid var(--rule);
  display: none;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 0.5rem;
  z-index: 40;
  box-shadow: 0 28px 50px -28px rgba(14, 27, 44, 0.30);
}
.dropdown-service::before, .dropdown-service::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--blue);
  pointer-events: none;
}
.dropdown-service::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.dropdown-service::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.dropdown-service li a {
  display: block;
  padding: 0.7em 0.85em;
  color: var(--ink) !important;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-left: 2px solid transparent;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease), border-left-color var(--dur-fast) var(--ease);
}
.dropdown-service li a:hover {
  color: var(--blue-darker) !important;
  background: var(--blue-pale);
  border-left-color: var(--blue);
  padding-left: 1em;
}

.dropdown-service-clicked { display: flex; }

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  z-index: 50;
  background: none;
  border: 0;
}
.bar {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

/* Language switcher */
.lang-switcher { display: inline-flex; align-items: center; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule-strong);
  padding: 2px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
}
.lang-toggle-btn {
  display: inline-block;
  padding: 6px 12px;
  text-decoration: none !important;
  color: var(--ink) !important;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  cursor: pointer;
}
.lang-toggle-btn.is-active {
  background-color: var(--blue);
  color: var(--white) !important;
}
.lang-toggle-btn:not(.is-active):hover {
  background-color: var(--blue-pale);
  color: var(--blue-darker) !important;
}

/* ============================================================
   Hero (.welcome) — homepage typographic statement
   White canvas — atmosphere from body::before/::after shows through
   ============================================================ */

.welcome {
  position: relative;
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: transparent;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.contain-service {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  padding: clamp(4rem, 8vw, 7rem) var(--gutter) clamp(3rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.contain-service::before {
  content: "KTF BUSINESS GROUP";
  display: block;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--blue-darker);
  margin-bottom: 2rem;
  padding-left: 28px;
  position: relative;
}
.contain-service::after {
  content: "";
  position: absolute;
  top: calc(clamp(4rem, 8vw, 7rem) + 0.5em);
  left: var(--gutter);
  width: 20px;
  height: 1.5px;
  background: var(--blue);
}

.contain-service h1 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(2.75rem, 8vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin: 0;
}
.contain-service h1 span {
  display: block;
  font-size: 0.42em;
  font-weight: 400;
  color: var(--blue-darker);
  margin-top: 0.85em;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-family: var(--font-display);
}

.contain-service p {
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  font-weight: 400;
  line-height: 1.75;
  width: min(60ch, 100%);
  margin: 2.25rem 0 2.5rem;
}

.contain-service > a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.1em 2.25em;
  color: var(--blue-darker);
  background-color: transparent;
  border: 1.5px solid var(--blue);
  position: relative;
  overflow: hidden;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.contain-service > a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
  z-index: 0;
}
.contain-service > a > * { position: relative; z-index: 1; }
.contain-service > a:hover { color: var(--white); border-color: var(--blue); }
.contain-service > a:hover::before { transform: scaleX(1); }
.contain-service > a i { font-size: 1em; }

/* ============================================================
   Hero (.welcome.plain) — service-page variant
   ============================================================ */

.welcome.plain {
  background: transparent;
  min-height: auto;
  padding: clamp(3rem, 6vw, 6rem) 0 clamp(3.5rem, 7vw, 7rem);
  position: relative;
}

.contain-service-ext {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: 0 var(--gutter);
  position: relative;
}
.contain-service-ext::before {
  content: "SERVICE";
  position: absolute;
  top: -2.5rem;
  left: var(--gutter);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--blue-darker);
  padding-left: 28px;
}
.contain-service-ext::after {
  content: "";
  position: absolute;
  top: calc(-2.5rem + 0.55em);
  left: var(--gutter);
  width: 20px;
  height: 1.5px;
  background: var(--blue);
}

.contain-service-ext .landing-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.contain-service-ext h1 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0;
  position: relative;
  padding-bottom: 0.6em;
}
.contain-service-ext h1::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px;
  height: 2px;
  background: var(--blue);
}

.contain-service-ext p {
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 400;
  margin: 0;
  max-width: 58ch;
}

.contain-service-ext .landing-text a,
.contain-service-ext .landing-text > a,
.contain-service-ext .landing-text span {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1em 2.25em;
  color: var(--blue-darker);
  background-color: transparent;
  border: 1.5px solid var(--blue);
  position: relative;
  cursor: pointer;
  transition: color var(--dur) var(--ease);
  overflow: hidden;
}
.contain-service-ext .landing-text a::before,
.contain-service-ext .landing-text > a::before,
.contain-service-ext .landing-text span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
  z-index: 0;
}
.contain-service-ext .landing-text a > *,
.contain-service-ext .landing-text > a > *,
.contain-service-ext .landing-text span > * { position: relative; z-index: 1; }
.contain-service-ext .landing-text a:hover,
.contain-service-ext .landing-text > a:hover,
.contain-service-ext .landing-text span:hover { color: var(--white); }
.contain-service-ext .landing-text a:hover::before,
.contain-service-ext .landing-text > a:hover::before,
.contain-service-ext .landing-text span:hover::before { transform: scaleX(1); }

.contain-service-ext .landing-text .variant-btn {
  border-color: var(--ink);
  color: var(--ink);
}
.contain-service-ext .landing-text .variant-btn::before { background: var(--ink); }

.contain-service-ext .landing-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 1rem;
}
.contain-service-ext .landing-img::before,
.contain-service-ext .landing-img::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--blue);
  pointer-events: none;
  transition: width var(--dur) var(--ease), height var(--dur) var(--ease);
}
.contain-service-ext .landing-img::before {
  top: 0; left: 0;
  border-right: none; border-bottom: none;
}
.contain-service-ext .landing-img::after {
  bottom: 0; right: 0;
  border-left: none; border-top: none;
}
.contain-service-ext .landing-img:hover::before,
.contain-service-ext .landing-img:hover::after {
  width: 34px;
  height: 34px;
}
.contain-service-ext .landing-img img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 0;
}
.contain-service-ext .landing-img .carousel { width: 100%; max-width: 520px; }

/* Tourism inline CTA block */
.contain-service-ext p.tourism-cta-headline {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--blue-darker);
  margin: 1em 0 0.35em;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.contain-service-ext p.tourism-cta-line {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 1.5em;
  line-height: 1.55;
}

.plain-link {
  background: none !important;
  padding: 0 !important;
  margin: 0;
  color: var(--blue-darker) !important;
  text-decoration: none !important;
  font-size: inherit !important;
  font-weight: 700 !important;
  display: inline !important;
  transition: none !important;
}
.plain-link::before { transition: none !important; }

/* ============================================================
   Reveal-on-scroll — clip-path "develop" effect
   ============================================================ */

.hidden-scroll-left, .hidden-scroll-right,
.hidden-scroll-top, .hidden-scroll-bottom {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition:
    opacity var(--dur-slow) var(--ease),
    clip-path var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
  will-change: opacity, clip-path, transform;
}
.hidden-scroll-left { transform: translateX(-12px); }
.hidden-scroll-right { clip-path: inset(0 0 0 100%); transform: translateX(12px); }
.hidden-scroll-top { clip-path: inset(0 0 100% 0); transform: translateY(12px); }
.hidden-scroll-bottom { clip-path: inset(100% 0 0 0); transform: translateY(-12px); }

.show-scroll-left, .show-scroll-right,
.show-scroll-top, .show-scroll-bottom {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .hidden-scroll-left, .hidden-scroll-right, .hidden-scroll-top, .hidden-scroll-bottom {
    opacity: 1; clip-path: none; transform: none; transition: none;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Back-to-top
   ============================================================ */

.to-up {
  position: fixed;
  right: max(1.75rem, env(safe-area-inset-right));
  bottom: max(1.75rem, env(safe-area-inset-bottom));
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--blue-darker);
  background: var(--white);
  border: 1.5px solid var(--blue);
  outline: none;
  cursor: pointer;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  z-index: 35;
  box-shadow: 0 12px 24px -12px rgba(14, 27, 44, 0.35);
}
.to-up i { line-height: 1; }
.to-up.top { pointer-events: all; opacity: 1; transform: translateY(0); }
.to-up:hover { background: var(--blue); color: var(--white); }

/* ============================================================
   Services list section (homepage second block)
   ============================================================ */

.services-list-section {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  background: transparent;
}
.services-list-section::before {
  content: "OFFERING";
  position: absolute;
  top: clamp(2.5rem, 5vw, 4rem);
  left: var(--gutter);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--blue-darker);
  padding-left: 28px;
}
.services-list-section::after {
  content: "";
  position: absolute;
  top: calc(clamp(2.5rem, 5vw, 4rem) + 0.5em);
  left: var(--gutter);
  width: 20px;
  height: 1.5px;
  background: var(--blue);
}

.services-list { width: 100%; }
.services-list h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  position: relative;
  padding-bottom: 0.6em;
  margin-bottom: 1.25rem;
}
.services-list h1::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px;
  height: 2px;
  background: var(--blue);
}
.services-list p {
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 60ch;
}
.services-list div { margin: 1.25rem 0; }
.services-list div a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-darker);
  background: transparent;
  padding: 0.9em 1.85em;
  border: 1.5px solid var(--blue);
  position: relative;
  overflow: hidden;
  transition: color var(--dur) var(--ease);
}
.services-list div a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
  z-index: 0;
}
.services-list div a > * { position: relative; z-index: 1; }
.services-list div a:hover { color: var(--white); }
.services-list div a:hover::before { transform: scaleX(1); }

.services-img {
  width: 100%;
  position: relative;
  padding: 1rem;
}
.services-img::before, .services-img::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--blue);
  pointer-events: none;
  transition: width var(--dur) var(--ease), height var(--dur) var(--ease);
}
.services-img::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.services-img::after { bottom: 0; right: 0; border-left: none; border-top: none; }
.services-img:hover::before, .services-img:hover::after {
  width: 32px; height: 32px;
}
.services-img img { width: 100%; height: auto; }

/* ============================================================
   Services carousel section (homepage)
   ============================================================ */

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  background: transparent;
  padding: clamp(4rem, 7vw, 7rem) var(--gutter);
  position: relative;
}
.wrapper::before {
  content: "SERVICES";
  position: absolute;
  top: clamp(2rem, 4vw, 3rem);
  left: var(--gutter);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--blue-darker);
  padding-left: 28px;
}
.wrapper::after {
  content: "";
  position: absolute;
  top: calc(clamp(2rem, 4vw, 3rem) + 0.5em);
  left: var(--gutter);
  width: 20px;
  height: 1.5px;
  background: var(--blue);
}

.services-title { width: 100%; max-width: var(--container); margin: 0 auto 2.75rem; }
.services-title h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  position: relative;
  padding-bottom: 0.5em;
}
.services-title h1::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px;
  height: 2px;
  background: var(--blue);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

/* PLATE — service tile */
.service {
  background: var(--white);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  box-shadow: 0 1px 0 var(--rule);
}
.service:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -28px rgba(27, 61, 138, 0.35);
}

.service-img {
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.service-img a { display: block; width: 100%; height: 100%; }
.service-img img {
  border-radius: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease), filter var(--dur) var(--ease);
  filter: saturate(0.95);
}
.service:hover .service-img img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.service-txt {
  padding: 1.65rem 1.65rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
  position: relative;
}
.service-txt h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: left;
  margin: 0;
}
.service-txt p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-soft);
  text-align: left;
  margin: 0;
  flex: 1;
}
.service-txt a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  align-self: flex-start;
  margin-top: 0.5rem;
  text-decoration: none;
  color: var(--blue-darker);
  background: transparent;
  padding: 0.45em 0;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  position: relative;
  transition: gap var(--dur) var(--ease), color var(--dur-fast) var(--ease);
  width: auto;
}
.service-txt a::after {
  content: "";
  position: absolute;
  left: 0; right: 30%;
  bottom: 0;
  height: 1.5px;
  background: var(--blue);
  transition: right var(--dur) var(--ease);
}
.service-txt a:hover { gap: 0.95em; color: var(--blue-deep); background: transparent; }
.service-txt a:hover::after { right: 0; }
.service-txt a i { display: inline-block; font-size: 0.85em; }

.for_services { background: transparent; }

/* ============================================================
   Carousel
   ============================================================ */

.carousel { position: relative; width: 100%; }

.carousel__item {
  width: 100%;
  margin: 0 auto;
  display: none;
  transition: transform 600ms var(--ease);
}
.carousel__item--selected { display: block; }

.carousel__nav {
  width: 100%;
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.85rem;
}

.carousel__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1.5px solid var(--blue);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.carousel__button i {
  color: var(--blue-darker);
  font-size: 1.05rem;
  line-height: 1;
  transition: color var(--dur-fast) var(--ease);
}
.carousel__button:hover { background: var(--blue); }
.carousel__button:hover i { color: var(--white); }
.carousel__button--disabled { opacity: 0.35; pointer-events: none; }
.carousel__button--selected { background: var(--blue); }
.carousel__button--selected i { color: var(--white); }

/* ============================================================
   About-us — navy section, no grid
   ============================================================ */

.about-us {
  width: 100%;
  margin: 0 auto;
  background-color: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(4.5rem, 9vw, 8rem) var(--gutter);
  position: relative;
  overflow: hidden;
}
.about-us::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 92% 8%, rgba(92, 169, 236, 0.18) 0%, transparent 70%),
    radial-gradient(40% 50% at 4% 100%, rgba(27, 61, 138, 0.32) 0%, transparent 70%);
  pointer-events: none;
}
.about-us > * { position: relative; z-index: 1; }

.about-content {
  width: 100%;
  max-width: 880px;
  display: flex;
  flex-direction: column;
}
.about-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--white);
  display: inline-flex;
  align-items: baseline;
  gap: 0.6em;
  position: relative;
  padding-bottom: 0.5em;
}
.about-content h1::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px;
  height: 2px;
  background: var(--blue);
}
.about-content h1 i { color: var(--blue); font-size: 0.55em; }
.about-content p {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  max-width: 70ch;
}

.about-us-light { background-color: var(--white); }
.about-us-light::before { display: none; }
.about-us-light h1 { color: var(--ink); }
.about-us-light h1 i { color: var(--blue); }
.about-us-light p { color: var(--ink-soft); }

/* ============================================================
   Footer — navy
   ============================================================ */

footer {
  width: 100%;
  margin: 0 auto;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  padding: clamp(4rem, 7vw, 7rem) var(--gutter);
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 60% at 5% 0%, rgba(92, 169, 236, 0.14) 0%, transparent 70%),
    radial-gradient(40% 50% at 95% 100%, rgba(27, 61, 138, 0.28) 0%, transparent 70%);
  pointer-events: none;
}
footer > * { position: relative; z-index: 1; }

.footer-ext { background: var(--navy); }

.site-links {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.site-links h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.4em;
}
.site-links h1::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px;
  height: 2px;
  background: var(--blue);
}

.site-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.site-links ul li { list-style: none; }
.site-links ul a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  transition: color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease);
}
.site-links ul a:hover { color: var(--blue); padding-left: 8px; }

.footer-ext .site-links ul a { color: rgba(255, 255, 255, 0.82); }
.footer-ext .site-links ul a:hover { color: var(--blue); }

.direct-contact { display: flex; flex-direction: column; gap: 0.55rem; }
.direct-contact h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.direct-contact a, .direct-2 a {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  font-weight: 400;
  padding: 0.2em 0;
  transition: color var(--dur-fast) var(--ease);
}
.direct-contact a i, .direct-2 a i { color: var(--blue); width: 1.1em; text-align: center; }
.direct-contact a:hover, .direct-2 a:hover { color: var(--white); }

/* ============================================================
   Contact form (in footer)
   ============================================================ */

.contact-us { display: flex; flex-direction: column; }
.contact-us-page { width: 100%; margin: 0 auto; padding: 2rem; max-width: var(--container); }

.contact-txt {
  margin-bottom: 1.85rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--blue);
}
.contact-txt h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.contact-txt p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.contact-form { width: 100%; }

form { width: 100%; display: flex; flex-direction: column; gap: 1.35rem; }
form > div { width: 100%; position: relative; }

form input, form textarea {
  width: 100%;
  outline: none;
  border: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  padding: 0.95em 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
  font-weight: 400;
  transition: border-color var(--dur) var(--ease);
}
form textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
form input:focus, form textarea:focus { border-bottom-color: var(--blue); }
form ::-moz-placeholder {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.55);
  opacity: 1;
}
form ::placeholder {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.55);
}
form .redflag { border-bottom-color: #FF8B7A !important; color: var(--white); }
form .redflag::-moz-placeholder { color: #FF8B7A; }
form .redflag::placeholder { color: #FF8B7A; }
form .greenflag { border-bottom-color: var(--blue); }

form button {
  cursor: pointer;
  outline: none;
  border: 1.5px solid var(--blue);
  font-family: var(--font-display);
  color: var(--blue);
  background-color: transparent;
  padding: 1em 2em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  align-self: flex-start;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  position: relative;
  overflow: hidden;
  transition: color var(--dur) var(--ease);
}
form button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
  z-index: 0;
}
form button > * { position: relative; z-index: 1; }
form button:hover { color: var(--navy); }
form button:hover::before { transform: scaleX(1); }

#error {
  color: #FF8B7A;
  margin: 0.5rem 0;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   Cars list (legacy)
   ============================================================ */

.cars-list {
  width: 100%;
  background: transparent;
  padding: clamp(3rem, 6vw, 6rem) var(--gutter);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.car {
  background: var(--white);
  border: 1px solid var(--rule);
  width: 31%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.car:hover { border-color: var(--blue); transform: translateY(-4px); }
.car .image { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; }
.car .image img { width: 100%; height: 100%; object-fit: cover; }
.car .text {
  padding: 1.5rem;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}
.car .text h1 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.car .text h6 {
  font-family: var(--font-display);
  color: var(--blue-darker);
  font-weight: 700;
  font-size: 1.5rem;
}
.car .text h6 span { font-weight: 500; color: var(--ink-soft); font-size: 0.95rem; }
.car .text div {
  margin-top: 0.5rem;
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 0.7rem; width: 100%;
}
.car .text div .car-enquiry {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--blue-darker);
  background: transparent;
  border: 1.5px solid var(--blue);
  padding: 0.75em 1.5em;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color var(--dur) var(--ease);
}
.car .text div .car-enquiry::before {
  content: ""; position: absolute; inset: 0;
  background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease); z-index: 0;
}
.car .text div .car-enquiry > * { position: relative; z-index: 1; }
.car .text div .car-enquiry:hover { color: var(--white); }
.car .text div .car-enquiry:hover::before { transform: scaleX(1); }
.car .text div p { font-size: 0.95rem; color: var(--ink-soft); }
.car .text div p a { color: var(--blue-darker); font-weight: 600; }
.car .text div p a:hover { color: var(--blue-deep); }

/* ============================================================
   Houses list — readability-first room cards
   ============================================================ */

.houses-list {
  width: 100%;
  background: transparent;
  padding: clamp(4rem, 7vw, 7rem) var(--gutter);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
  justify-content: center;
  position: relative;
}
.houses-list::before {
  content: "ROOMS";
  position: absolute;
  top: clamp(2rem, 4vw, 3rem);
  left: var(--gutter);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--blue-darker);
  padding-left: 28px;
}
.houses-list::after {
  content: "";
  position: absolute;
  top: calc(clamp(2rem, 4vw, 3rem) + 0.5em);
  left: var(--gutter);
  width: 20px;
  height: 1.5px;
  background: var(--blue);
}

.house {
  background-color: var(--white);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  box-shadow: 0 1px 0 var(--rule);
}
.house:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -28px rgba(27, 61, 138, 0.35);
}

.house .image {
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  display: block;
  border-bottom: 1px solid var(--rule);
}
.house .image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease), filter var(--dur) var(--ease);
  filter: saturate(0.95);
}
.house:hover .image img { transform: scale(1.04); filter: saturate(1.05); }

.house .text {
  padding: 1.65rem;
  text-align: left;
  width: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.house .text h1 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.15;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.house .text h3 {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  margin: 0;
}
.house .text h3 i { color: var(--blue); font-size: 0.95em; }
.house .text h6 {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 1rem;
  font-family: var(--font-body);
  line-height: 1.55;
  margin: 0.25rem 0 0.5rem;
}
.house .text h6 span { font-weight: inherit; color: inherit; }
.house .text div {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  border-top: 1px solid var(--rule);
}
.house .text div p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 400;
}
.house .text div p a {
  color: var(--blue-darker);
  font-weight: 700;
  transition: color var(--dur-fast) var(--ease);
}
.house .text div p a:hover { color: var(--blue-deep); }
.house .text div .house-enquiry {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--blue-darker);
  background: transparent;
  border: 1.5px solid var(--blue);
  padding: 0.75em 1.5em;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color var(--dur) var(--ease);
}
.house .text div .house-enquiry::before {
  content: ""; position: absolute; inset: 0;
  background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease); z-index: 0;
}
.house .text div .house-enquiry > * { position: relative; z-index: 1; }
.house .text div .house-enquiry:hover { color: var(--white); }
.house .text div .house-enquiry:hover::before { transform: scaleX(1); }

/* ============================================================
   Booking form
   ============================================================ */

.booking-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 1.25rem;
  gap: 1rem;
}
.booking-form p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.booking-form .estimate-text {
  margin: 0.5em 0;
  width: 100%;
  display: none;
  box-sizing: border-box;
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  padding: 0.75em 0.9em;
}
.booking-form .estimate-text-visible {
  display: block;
}
.booking-form .estimate-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}
.booking-form .estimate-heading {
  margin: 0 0 0.5em 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: gray;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.booking-form .estimate-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  font-weight: 400;
  gap: 1.5em;
  font-variant-numeric: tabular-nums;
}
.booking-form .estimate-row .estimate-label,
.booking-form .estimate-row .estimate-value {
  background: none;
  padding: 0;
  border-radius: 0;
  cursor: default;
  font-size: inherit;
  font-weight: inherit;
  transition: none;
}
.booking-form .estimate-row .estimate-label {
  color: #6b7280;
}
.booking-form .estimate-row .estimate-value {
  color: var(--black-color);
  font-weight: 600;
  text-align: right;
}
.booking-form .estimate-total {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding-top: 0.55em;
  margin-top: 0.4em;
  font-size: 1.05rem;
}
.booking-form .estimate-total .estimate-label,
.booking-form .estimate-total .estimate-value {
  color: var(--black-color);
  font-weight: 700;
}
.booking-form .estimate-hint {
  margin: 0.6em 0 0 0;
  font-size: 0.75rem;
  font-weight: 400;
  color: gray;
  font-style: italic;
}
.booking-form .pair {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}
.booking-form .input-block { flex: 1 1 32%; min-width: 220px; }
.booking-form .input-block-25 { flex: 1 1 24%; min-width: 140px; }
.booking-form .input-block-50 { flex: 1 1 49%; min-width: 200px; }
.booking-form .input-block-100 { flex: 1 1 100%; }

.booking-form label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.45em;
}
.booking-form label span { color: var(--blue-darker); }

.booking-form ::-moz-placeholder {
  color: var(--ink-mute);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 1;
}
.booking-form ::placeholder {
  color: var(--ink-mute);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
}

.booking-form input, .booking-form select {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--rule-strong);
  padding: 0.9em 1em;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  font-weight: 400;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.booking-form input:focus, .booking-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(92, 169, 236, 0.18);
}
.booking-form input[type="date"] {
  color: var(--ink-soft);
  font-size: 16px;
  min-height: 48px;
  -webkit-appearance: none;
  appearance: none;
}
.booking-form .input-select label { color: var(--blue-darker); }
.booking-form .redflag {
  border-color: #C44A3A !important;
  background: rgba(196, 74, 58, 0.05);
}
.booking-form .redflag::-moz-placeholder { color: #C44A3A; }
.booking-form .redflag::placeholder { color: #C44A3A; }

.booking-form button {
  margin-top: 1.25rem;
  cursor: pointer;
  width: 100%;
  padding: 1.1em 1.5em;
  background: var(--blue);
  border: 1.5px solid var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  position: relative;
  overflow: hidden;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.booking-form button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue-darker);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
  z-index: 0;
}
.booking-form button > * { position: relative; z-index: 1; }
.booking-form button:hover { color: var(--white); border-color: var(--blue-darker); }
.booking-form button:hover::before { transform: scaleX(1); }

/* Strip the .contain-service-ext .landing-text span catch-all from every
   span inside the booking form (consent wrapper, estimate label/value).
   Without this, those spans inherit the giant blue button border, padding,
   and ::before slide-fill on hover. */
.contain-service-ext .booking-form span {
  display: inline;
  align-items: stretch;
  gap: 0;
  align-self: auto;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  text-transform: none;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  color: inherit;
  position: static;
  cursor: inherit;
  transition: none;
  overflow: visible;
}
.contain-service-ext .booking-form span::before,
.contain-service-ext .booking-form span::after {
  content: none;
  display: none;
  background: none;
  transform: none;
  transition: none;
}
.contain-service-ext .booking-form span:hover,
.contain-service-ext .booking-form span:focus {
  color: inherit;
  background: none;
  border: 0;
}
.contain-service-ext .booking-form span:hover::before,
.contain-service-ext .booking-form span:focus::before {
  transform: none;
  background: none;
  display: none;
}

/* Consent block — checkbox + inline label/link.
   Scoped under .contain-service-ext to outweigh the catch-all
   .contain-service-ext .landing-text a button styling. */
.contain-service-ext .booking-form .consent-block {
  display: flex;
  align-items: flex-start;
  gap: 0.65em;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.contain-service-ext .booking-form .consent-block input[type="checkbox"] {
  width: 1.05em;
  height: 1.05em;
  min-width: auto;
  padding: 0;
  margin: 0;
  margin-top: 0.2em;
  flex: 0 0 auto;
  cursor: pointer;
  accent-color: var(--blue);
  border: 1.5px solid var(--rule-strong);
  background: var(--white);
}
.contain-service-ext .booking-form .consent-block .consent-text {
  flex: 1 1 auto;
  display: inline;
  align-self: auto;
  gap: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  text-transform: none;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  color: inherit;
  position: static;
  cursor: auto;
  transition: none;
  overflow: visible;
}
.contain-service-ext .booking-form .consent-block .consent-text::before,
.contain-service-ext .booking-form .consent-block .consent-text::after {
  content: none;
  display: none;
  background: none;
  transform: none;
  transition: none;
}
.contain-service-ext .booking-form .consent-block .consent-text:hover,
.contain-service-ext .booking-form .consent-block .consent-text:focus {
  color: inherit;
  background: none;
  border: 0;
}
.contain-service-ext .booking-form .consent-block .consent-text:hover::before,
.contain-service-ext .booking-form .consent-block .consent-text:focus::before {
  transform: none;
  background: none;
  display: none;
}
.contain-service-ext .booking-form .consent-block label {
  display: inline;
  font-family: var(--font-body);
  font-size: inherit;
  font-weight: 400;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
  margin: 0;
  cursor: pointer;
}
.contain-service-ext .booking-form .consent-block a {
  display: inline;
  position: static;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font-family: var(--font-body);
  font-size: inherit;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  color: var(--blue-darker);
  text-decoration: underline;
  overflow: visible;
  align-self: auto;
  transition: none;
}
.contain-service-ext .booking-form .consent-block a::before,
.contain-service-ext .booking-form .consent-block a::after {
  content: none;
  display: none;
  background: none;
  transform: none;
  transition: none;
}
.contain-service-ext .booking-form .consent-block a:hover,
.contain-service-ext .booking-form .consent-block a:focus,
.contain-service-ext .booking-form .consent-block a:active {
  color: var(--blue-darker);
  background: none;
  border: 0;
}
.contain-service-ext .booking-form .consent-block a:hover::before,
.contain-service-ext .booking-form .consent-block a:focus::before {
  transform: none;
  background: none;
  display: none;
}

/* ============================================================
   Success page
   ============================================================ */

.success-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  text-align: center;
}
.success-container img { width: 220px; height: auto; }
.success-container p {
  text-align: center;
  font-size: 1.0625rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.success-container a {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  color: var(--blue-darker);
  background: transparent;
  border: 1.5px solid var(--blue);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1em 2.25em;
  position: relative;
  overflow: hidden;
  transition: color var(--dur) var(--ease);
}
.success-container a::before {
  content: ""; position: absolute; inset: 0;
  background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease); z-index: 0;
}
.success-container a > * { position: relative; z-index: 1; }
.success-container a:hover { color: var(--white); }
.success-container a:hover::before { transform: scaleX(1); }

/* ============================================================
   Modal lightbox
   ============================================================ */

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  inset: 0;
  padding-top: 60px;
  background-color: rgba(14, 27, 44, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-content {
  margin: auto;
  display: block;
  max-width: 88%;
  max-height: 78vh;
  border-radius: 0;
  object-fit: contain;
  border: 1.5px solid var(--blue);
}
#modal-counter {
  position: absolute;
  top: 24px;
  left: 24px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  background: transparent;
  border: 1.5px solid var(--blue);
  padding: 8px 16px;
}
.close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--white);
  font-size: 1.85rem;
  font-weight: 300;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid var(--blue);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.close:hover { background: var(--blue); color: var(--navy); }
.modal-btn {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-weight: 500;
  font-size: 1.4rem;
  user-select: none;
  text-decoration: none;
  background: transparent;
  border: 1.5px solid var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.modal-btn:hover { background: var(--blue); color: var(--navy); }
.prev { left: 24px; }
.next { right: 24px; }
.carousel__item img { cursor: zoom-in; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --corner: 12px; }

  .navbar { padding: 0.75rem var(--gutter); min-height: 70px; }
  .logo img { width: 60px; }

  .hamburger { display: block; }
  .hamburger.active .bar:nth-child(2) { opacity: 0; }
  .hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-menu {
    position: fixed;
    left: 0;
    top: 0; bottom: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--white);
    z-index: 45;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur);
    padding: 5rem var(--gutter) max(2rem, env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.active {
    transform: translateX(0);
    visibility: visible;
    transition: transform var(--dur) var(--ease), visibility 0s linear 0s;
  }

  .nav-item, .nav-item-2 { margin: 0; }
  .nav-link, .nav-link-2,
  .nav-item a, .nav-item-2 a { color: var(--ink) !important; font-size: 0.95rem; }
  .nav-link::after, .nav-link-2::after { display: none; }

  .dropdown-block { flex-direction: column; align-items: center; }
  .dropdown-service {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.75rem 0 0;
    text-align: center;
    margin: 0;
    min-width: 0;
  }
  .dropdown-service::before, .dropdown-service::after { display: none; }
  .dropdown-service li a {
    color: var(--ink-soft) !important;
    font-size: 0.9rem;
    border-left: none;
    text-align: center;
    padding: 0.85em 0.6em;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .dropdown-service li a:hover {
    color: var(--blue-darker) !important;
    background: transparent;
    padding-left: 0;
  }

  .lang-switcher { margin-top: 1rem; }
  .lang-toggle { padding: 4px; gap: 4px; font-size: 0.8rem; }
  .lang-toggle-btn { padding: 12px 18px; min-width: 48px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

  .to-up {
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .welcome { min-height: 88vh; }
  .contain-service { padding: 6rem var(--gutter) 3rem; }
  .contain-service::before { font-size: 0.68rem; margin-bottom: 1.5rem; }
  .contain-service::after { top: calc(6rem + 0.5em); }
  .contain-service h1 { font-size: clamp(2.25rem, 11vw, 3.75rem); }
  .contain-service p { width: 100%; }

  .services-list-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 5rem var(--gutter) 4rem;
  }
  .services-img { order: -1; max-width: 380px; margin: 0 auto; }

  .wrapper { padding: 5rem var(--gutter) 4rem; }
  .services { grid-template-columns: 1fr; gap: 1.5rem; }

  .contain-service-ext {
    grid-template-columns: 1fr;
    padding: 2.5rem var(--gutter) 0;
    gap: 2rem;
  }
  .contain-service-ext::before, .contain-service-ext::after { top: 1rem; }
  .contain-service-ext .landing-img { order: -1; justify-content: center; max-width: 460px; margin: 0 auto; }
  .contain-service-ext .landing-img img,
  .contain-service-ext .landing-img .carousel { max-width: 100%; }
  .contain-service-ext h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
  .contain-service-ext .landing-text { align-items: stretch; }
  .contain-service-ext .landing-text > a,
  .contain-service-ext .landing-text > span,
  .contain-service-ext .landing-text a {
    align-self: stretch;
    justify-content: center;
    text-align: center;
  }

  .houses-list { padding: 5rem var(--gutter) 3rem; gap: 1.5rem; grid-template-columns: 1fr; }

  .cars-list { gap: 1.5rem; padding: 3rem var(--gutter); }
  .car { width: 100%; }

  .about-us { padding: 4.5rem var(--gutter) 4rem; }
  .about-content { width: 100%; padding: 0; }
  .about-content h1 { font-size: 2rem; }

  footer {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 5rem var(--gutter) 3rem;
  }
  .site-links { order: 2; }
  .contact-us { order: 1; width: 100%; }

  form button { width: 100%; justify-content: center; }

  .booking-form .pair { gap: 0.75rem; }
  .booking-form .input-block,
  .booking-form .input-block-25,
  .booking-form .input-block-50 {
    flex: 1 1 100%;
  }

  .modal-btn { width: 44px; height: 44px; font-size: 1.15rem; }
  .prev { left: 12px; }
  .next { right: 12px; }
  .close { top: 12px; right: 12px; width: 44px; height: 44px; font-size: 1.4rem; }
  #modal-counter { top: 12px; left: 12px; font-size: 0.72rem; padding: 6px 12px; }
}

@media (max-width: 600px) {
  :root { --gutter: 1rem; }
  .nav-link, .nav-link-2 { font-size: 0.9rem; }
  .contain-service-ext h1 { font-size: 1.95rem; }
  .services-list h1, .about-content h1 { font-size: 1.95rem; }
  .service-txt { padding: 1.35rem; }
  .house .text { padding: 1.35rem; }
  .house .text h1 { font-size: 1.4rem; }

  /* Lightbox: center the photo and let it use most of the viewport on phones */
  .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    max-width: 96vw;
    max-height: calc(100dvh - 160px);
  }
  /* Lightbox prev/next move out of the photo on phones — sit at the bottom corners */
  .modal-btn { top: auto; bottom: max(16px, env(safe-area-inset-bottom)); transform: none; }
  .prev { left: 16px; }
  .next { right: 16px; }
}

/* Smallest phones — 320–380 CSS px. Tighten paddings and typography
   so content doesn't crowd the gutters at iPhone SE / mini widths. */
@media (max-width: 380px) {
  :root { --gutter: 0.85rem; }
  body { font-size: 16px; }
  .contain-service { padding: 5rem var(--gutter) 2.5rem; }
  .contain-service h1 { font-size: clamp(2rem, 10vw, 2.75rem); }
  .contain-service-ext h1, .services-list h1, .about-content h1 { font-size: 1.75rem; }
  .service-txt, .house .text { padding: 1.1rem; }
  .house .text h1 { font-size: 1.25rem; }
  .footer-bottom { font-size: 0.78rem; }
  .lang-toggle-btn { padding: 12px 14px; min-width: 44px; }
}

@media (hover: none) {
  /* Card lifts and image scales — would otherwise stick on touch */
  .service:hover, .house:hover, .car:hover { transform: none; }
  .service:hover .service-img img,
  .house:hover .image img { transform: none; filter: none; }

  /* Wipe-fill CTAs — keep ::before tucked behind on tap so the button
     doesn't stay solid-blue after navigation/back */
  .contain-service > a:hover,
  .contain-service-ext .landing-text a:hover,
  .contain-service-ext .landing-text > a:hover,
  .contain-service-ext .landing-text span:hover,
  .services-list div a:hover,
  .car .text div .car-enquiry:hover,
  .house .text div .house-enquiry:hover,
  .success-container a:hover,
  .booking-form button:hover,
  form button:hover { color: inherit; }
  .contain-service > a:hover::before,
  .contain-service-ext .landing-text a:hover::before,
  .contain-service-ext .landing-text > a:hover::before,
  .contain-service-ext .landing-text span:hover::before,
  .services-list div a:hover::before,
  .car .text div .car-enquiry:hover::before,
  .house .text div .house-enquiry:hover::before,
  .success-container a:hover::before,
  .booking-form button:hover::before,
  form button:hover::before { transform: scaleX(0); }

  /* Misc sticky-looking hovers */
  .lang-toggle-btn:not(.is-active):hover { background-color: transparent; }
  .to-up:hover { background: var(--white); color: var(--blue); }
  .nav-menu .nav-link.contact-link:hover {
    background: var(--blue);
    color: var(--white) !important;
    transform: none;
  }
  .carousel__button:hover { background: var(--white); }
  .carousel__button:hover i { color: var(--blue-darker); }
  .modal-btn:hover, .close:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }

  /* Padding-shift hovers that visually "stick" after a tap */
  .site-links ul a:hover,
  .footer-col ul a:hover,
  .footer-ext .site-links ul a:hover { padding-left: 0; }
  .service-txt a:hover { gap: 0.7em; }
}

/* ============================================================
   Fixes — round 2
   - keep button text above the wipe-fill (was hidden by ::before)
   - align section eyebrows to the same content edge
   - Contact CTA in nav: stand out as a button
   - Map pin (.house location) should read red
   ============================================================ */

/* 1. Button wipe-fill: isolate stacking and tuck ::before behind text */
.contain-service > a,
.contain-service-ext .landing-text a,
.contain-service-ext .landing-text > a,
.contain-service-ext .landing-text span,
.services-list div a,
.car .text div .car-enquiry,
.house .text div .house-enquiry,
.success-container a,
.booking-form button,
form button {
  isolation: isolate;
}

.contain-service > a::before,
.contain-service-ext .landing-text a::before,
.contain-service-ext .landing-text > a::before,
.contain-service-ext .landing-text span::before,
.services-list div a::before,
.car .text div .car-enquiry::before,
.house .text div .house-enquiry::before,
.success-container a::before,
.booking-form button::before,
form button::before {
  z-index: -1;
}

/* 2. Section eyebrow alignment — full-bleed sections snap to the
   same content gutter as the centered ones */
.wrapper::before, .wrapper::after,
.about-us::before, .about-us::after,
footer::before, footer::after,
.houses-list::before, .houses-list::after {
  left: max(var(--gutter), calc(50% - var(--container) / 2 + var(--gutter)));
}

/* 3. Contact link in the nav: pill-button CTA, not a quiet text link */
.nav-menu .nav-link.contact-link {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.7em 1.4em;
  border-radius: 999px;
  letter-spacing: 0.12em;
  transition: background var(--dur) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.nav-menu .nav-link.contact-link::after { display: none; }
.nav-menu .nav-link.contact-link:hover {
  background: var(--blue-darker);
  color: var(--white) !important;
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .nav-menu .nav-link.contact-link {
    padding: 0.85em 1.6em;
    margin-top: 0.5rem;
  }
}

/* 4. Location pin reads red */
.house .text h3 i { color: #E63946; }

/* ============================================================
   Contact section + slim site footer (split layout)
   ============================================================ */

/* Standalone contact section — keeps the navy + atmosphere
   that used to live on <footer> */
.contact-section {
  width: 100%;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  padding: clamp(4.5rem, 7vw, 7rem) var(--gutter);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 60% at 5% 0%, rgba(92, 169, 236, 0.14) 0%, transparent 70%),
    radial-gradient(40% 50% at 95% 100%, rgba(27, 61, 138, 0.28) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.contact-section::after {
  content: "CONTACT";
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.25rem);
  left: max(var(--gutter), calc(50% - var(--container) / 2 + var(--gutter)));
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--blue);
  opacity: 0.85;
  z-index: 1;
}
.contact-section > * { position: relative; z-index: 1; }

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  max-width: var(--container);
  margin: 0 auto;
  padding-top: clamp(2rem, 4vw, 3rem);
}

/* Slim site footer below the contact section.
   Override the legacy bare-footer grid + atmosphere. */
footer.site-footer {
  display: block;
  grid-template-columns: none;
  gap: 0;
  background: #08111E;
  padding: clamp(2.75rem, 5vw, 4rem) var(--gutter) 0;
  overflow: hidden;
}
footer.site-footer::before { content: none; }
footer.site-footer::after { content: none; }

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-brand .footer-logo {
  display: inline-block;
  width: max-content;
}
.footer-brand .footer-logo img {
  width: 92px;
  height: auto;
  display: block;
}
.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 32ch;
  margin: 0;
}
.footer-locale {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin: 0;
}
.footer-locale i { color: #E63946; }

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
  position: relative;
  padding-bottom: 0.55em;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--blue);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li { list-style: none; }
.footer-col ul a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  transition: color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease);
}
.footer-col ul a:hover { color: var(--blue); padding-left: 6px; }

.footer-col-contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-col-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.6em 0;
  min-height: 44px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: color var(--dur-fast) var(--ease);
}
.footer-col-contact a i { color: var(--blue); width: 1.1em; text-align: center; }
.footer-col-contact a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 0 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom p { margin: 0; }
.footer-bottom .footer-credit {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0.8;
}

@media (max-width: 960px) {
  .contact-inner { grid-template-columns: 1fr; }
  .contact-section::after { font-size: 0.66rem; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-bottom: 2rem;
  }
  .footer-bottom {
    flex-direction: column-reverse;
    text-align: center;
    align-items: center;
    padding: 1.25rem 0 1.5rem;
  }
}

/* ============================================================
   Fixes — round 3
   - About Us gets an ABOUT eyebrow, matching the OFFERING / SERVICES recipe
   - Contact section flips white (brand canvas) — solid blue submit CTA
   - Slim footer drops #08111E for var(--navy) — single dark surface
   - Footer location pin recolors to brand blue (red was off-palette)
   - Eyebrow recipe standardized: --blue stroke always; text is
     --blue-darker on white, --blue on dark
   ============================================================ */

/* About Us — repurpose ::before from gradient-overlay to ABOUT eyebrow.
   The radial-gradient atmosphere moves onto the section's own background. */
.about-us {
  background:
    radial-gradient(40% 60% at 92% 8%, rgba(92, 169, 236, 0.18) 0%, transparent 70%),
    radial-gradient(40% 50% at 4% 100%, rgba(27, 61, 138, 0.32) 0%, transparent 70%),
    var(--navy);
}
.about-us::before {
  content: "ABOUT";
  position: absolute;
  inset: auto;
  top: clamp(2rem, 4vw, 3rem);
  left: max(var(--gutter), calc(50% - var(--container) / 2 + var(--gutter)));
  width: auto;
  height: auto;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--blue);
  padding-left: 28px;
  background:
    linear-gradient(var(--blue), var(--blue)) 0 0.55em / 20px 1.5px no-repeat;
  pointer-events: none;
  z-index: 2;
}
/* Light variant (other pages, currently unused) keeps the eyebrow,
   just recolors it for the white background */
.about-us-light::before {
  display: block;
  color: var(--blue-darker);
}

/* Contact section — flip to white canvas */
.contact-section {
  background: var(--white);
  color: var(--ink);
}
.contact-section::before {
  background:
    radial-gradient(45% 60% at 5% 0%, rgba(92, 169, 236, 0.10) 0%, transparent 70%),
    radial-gradient(40% 50% at 95% 100%, rgba(92, 169, 236, 0.06) 0%, transparent 70%);
}
.contact-section::after {
  content: "CONTACT";
  top: clamp(2rem, 4vw, 3rem);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  color: var(--blue-darker);
  padding-left: 28px;
  background:
    linear-gradient(var(--blue), var(--blue)) 0 0.55em / 20px 1.5px no-repeat;
  opacity: 1;
}

.contact-section .contact-txt h3 { color: var(--ink); }
.contact-section .contact-txt p { color: var(--ink-soft); }
.contact-section .contact-txt { border-left-color: var(--blue); }

/* Form on white — readable inputs, brand-blue focus, solid blue CTA */
.contact-section form input,
.contact-section form textarea {
  border-bottom: 1.5px solid rgba(14, 27, 44, 0.22);
  color: var(--ink);
}
.contact-section form input:focus,
.contact-section form textarea:focus {
  border-bottom-color: var(--blue);
}
.contact-section form ::-moz-placeholder {
  color: var(--ink-mute);
  opacity: 1;
}
.contact-section form ::placeholder {
  color: var(--ink-mute);
}
.contact-section form input:-webkit-autofill,
.contact-section form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 30px var(--white) inset;
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
}

.contact-section form button {
  background-color: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.contact-section form button::before { background: var(--blue-darker); }
.contact-section form button:hover { color: var(--white); }

/* Slim footer — single navy surface, brighter text, brand-blue pin */
footer.site-footer { background: var(--navy); }
.site-footer .footer-tagline { color: rgba(255, 255, 255, 0.78); }
.site-footer .footer-locale { color: rgba(255, 255, 255, 0.72); }
.site-footer .footer-locale i { color: var(--blue); }
.site-footer .footer-col ul a { color: rgba(255, 255, 255, 0.82); }
.site-footer .footer-col-contact a { color: rgba(255, 255, 255, 0.82); }
.site-footer .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
}
