/* ==========================================================================
   Now Relocation Services — stylesheet
   Fonts: Fraunces (display/accent) + Inter (body) — loaded via Google Fonts
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (sampled from assets/img/logos/colores.png) */
  --peach: #F8AE58;
  --orange: #EB600A;
  --teal: #009698;
  --mauve: #C07CAA;
  --blue: #0056A4;
  --blue-dark: #013D74;
  --navy: #0A1F33;
  --navy-soft: #142C46;

  /* Neutrals */
  --white: #ffffff;
  --offwhite: #F7FAFC;
  --mist: #EEF2F6;
  --border: #E3E9EE;
  --text: #16232E;
  --text-soft: #55636E;
  --text-faint: #85929B;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Shape */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.5s;

  /* Elevation */
  --shadow-sm: 0 2px 10px rgba(10, 31, 51, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 31, 51, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 31, 51, 0.16);
  --shadow-blue: 0 14px 30px rgba(0, 86, 164, 0.28);

  /* Layout */
  --container-w: 1240px;
  --header-h: 84px;
  /* how far the overview cards ride up over the hero's bottom edge */
  --overview-overlap: 44px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html.has-open-menu, body.has-open-menu { overflow: hidden; }
body.has-open-menu { position: fixed; width: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--navy);
}
section { position: relative; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4.5vw, 3rem);
}
.section {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(4.5rem, 9vw, 7.5rem);
}
.section--alt { background: var(--offwhite); }
.section-head {
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
/* Isologo (the mark from the left of logo-hor.png) stands in for the old rule.
   It's multicolour on transparency, so it reads on both the light sections and
   the dark hero without needing a second asset. */
.eyebrow::before {
  content: "";
  flex: none;
  width: 1.7em;
  height: 1.7em;
  background: url("../img/logos/isologo.png") center / contain no-repeat;
}
.section-head--center .eyebrow { justify-content: center; }
.section-title {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  margin-bottom: 1.1rem;
}
.section-text {
  color: var(--text-soft);
  font-size: 1.08rem;
  max-width: 62ch;
}
.section-head--center .section-text { margin-inline: auto; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem; top: -60px;
  background: var(--blue);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top 0.25s var(--ease);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-3px); box-shadow: 0 20px 36px rgba(0,86,164,0.34); }
.btn--primary:hover svg { transform: translateX(3px); }

.btn--ghost-light {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.16); border-color: #fff; transform: translateY(-3px); }

.btn--white {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}
.btn--white:hover { background: var(--peach); color: var(--navy); transform: translateY(-3px); }
.btn--white:hover svg { transform: translateX(3px); }

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--border);
}
.btn--outline:hover { border-color: var(--blue); background: rgba(0,86,164,0.06); transform: translateY(-2px); }

.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.65; cursor: not-allowed; transform: none !important; }

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--blue);
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.text-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.text-link:hover::after { transform: scaleX(1); transform-origin: left; }
.text-link:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  /* Force its own GPU compositing layer — on iOS Safari, a fixed-position
     element combined with backdrop-filter can otherwise visually detach or
     clip at the top edge during momentum scrolling. */
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}
.site-header.is-scrolled,
.has-open-menu .site-header {
  height: 72px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 6px 24px rgba(10,31,51,0.08);
}

.brand { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.brand img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.4s var(--ease);
}
.is-scrolled .brand img,
.has-open-menu .brand img { filter: none; }

.main-nav { display: none; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav-list a {
  position: relative;
  font-weight: 600;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.92);
  padding-block: 0.4rem;
  transition: color 0.35s ease;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.is-scrolled .nav-list a { color: var(--text); text-shadow: none; }
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-list a:hover,
.nav-list a.is-active { color: var(--white); }
.is-scrolled .nav-list a:hover,
.is-scrolled .nav-list a.is-active { color: var(--navy); }
.nav-list a:hover::after,
.nav-list a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.main-nav-cta { display: none; }
@media (min-width: 1000px) {
  .main-nav-cta { display: inline-flex; }
}

/* Language pill switcher */
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 3px;
  line-height: 1;
  transition: border-color 0.4s var(--ease);
}
.is-scrolled .lang-switch,
.has-open-menu .lang-switch { border-color: var(--border); }
.lang-switch a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 30px;
  padding-inline: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-pill);
  transition: color 0.35s ease;
}
.is-scrolled .lang-switch a,
.has-open-menu .lang-switch a { color: var(--text-soft); }
.lang-switch a.is-active { color: var(--navy); }
.lang-switch__indicator {
  position: absolute;
  top: 3px; bottom: 3px;
  left: 0;
  width: 36px;
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
  transition: transform 0.4s var(--ease), width 0.4s var(--ease);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease), background-color 0.35s var(--ease);
}
.is-scrolled .nav-toggle span { background: var(--navy); }
.has-open-menu .nav-toggle span { background: var(--navy); }
.has-open-menu .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.has-open-menu .nav-toggle span:nth-child(2) { opacity: 0; }
.has-open-menu .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6rem 2rem 3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.has-open-menu .mobile-nav {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.25rem; flex-shrink: 0; }
.mobile-nav li:not(:last-child) { border-bottom: 1px solid var(--border); }
.mobile-nav ul a {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 6vw, 1.65rem);
  font-weight: 500;
  color: var(--blue);
  padding-block: 0.75rem;
  display: inline-block;
  transition: color 0.3s ease;
}
.mobile-nav ul a:hover,
.mobile-nav ul a.is-active { color: var(--orange); }
.mobile-nav .btn { margin-top: 2rem; align-self: flex-start; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
  /* reserve the strip the overview cards overlap into, so the CTA buttons
     never end up flush against (or under) the card row */
  padding-bottom: calc(var(--overview-overlap) + clamp(2.25rem, 5vh, 3.5rem));
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.08);
  will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(190deg, rgba(6,20,35,0.80) 0%, rgba(8,26,44,0.62) 42%, rgba(6,20,35,0.88) 100%),
    linear-gradient(90deg, rgba(6,20,35,0.35) 0%, rgba(6,20,35,0) 55%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-top: var(--header-h);
  max-width: 760px;
  min-width: 0;
  width: 100%;
}
.hero .eyebrow { color: var(--peach); }
.hero__title {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  color: var(--white);
  margin-bottom: 0.9rem;
}
.hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: #FBD9A8;
  margin-bottom: 1.4rem;
}
.hero__lede {
  color: rgba(255,255,255,0.88);
  font-size: 1.12rem;
  max-width: 54ch;
  margin-bottom: 2.4rem;
  overflow-wrap: break-word;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero entrance animation */
.hero [data-hero-in] {
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn 0.9s var(--ease) forwards;
}
[data-hero-in="1"] { animation-delay: 0.15s; }
/* The title is the page's LCP element: keep it visible from the first paint
   (slide only, no fade or delay) so Lighthouse doesn't count it as late. */
.hero [data-hero-in="2"] { opacity: 1; animation-name: heroInTitle; animation-delay: 0s; }
@keyframes heroInTitle {
  from { transform: translateY(12px); }
  to { transform: translateY(0); }
}
[data-hero-in="3"] { animation-delay: 0.48s; }
[data-hero-in="4"] { animation-delay: 0.64s; }
[data-hero-in="5"] { animation-delay: 0.8s; }
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Overview cards (About / Services / Contact intros)
   ========================================================================== */
.overview {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--overview-overlap) * -1);
  padding-bottom: 0;
}
.overview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.overview-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.6);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.overview-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(10,31,51,0.2);
}
.overview-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  transition: transform 0.45s var(--ease);
}
.overview-card__icon svg { width: 26px; height: 26px; }
.overview-card:hover .overview-card__icon { transform: scale(1.08) rotate(-4deg); }
.overview-card--about .overview-card__icon { background: rgba(0,150,152,0.12); color: var(--teal); }
.overview-card--services .overview-card__icon { background: rgba(235,96,10,0.12); color: var(--orange); }
.overview-card--contact .overview-card__icon { background: rgba(192,124,170,0.14); color: var(--mauve); }
.overview-card h2 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.overview-card p { color: var(--text-soft); margin-bottom: 1.5rem; }

/* ==========================================================================
   About
   ========================================================================== */
.about { padding-top: clamp(3.5rem, 7vw, 5rem); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: clamp(4rem, 8vw, 6rem);
}
.about__media { position: relative; }
.about__media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.about__media-frame img { width: 100%; height: 100%; object-fit: cover; }
.about__media-backdrop {
  position: absolute;
  inset: 20px -20px -20px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  z-index: -1;
}
.about__text .section-title { margin-top: 0; }
.about__text p + p { margin-top: 1.1rem; color: var(--text-soft); }
.about__text p:first-of-type { color: var(--text-soft); }

.values__title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}
.values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 560px) {
  .values__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .values__grid { grid-template-columns: repeat(6, 1fr); }
  .value-card:nth-child(1) { grid-column: 1 / 3; }
  .value-card:nth-child(2) { grid-column: 3 / 5; }
  .value-card:nth-child(3) { grid-column: 5 / 7; }
  .value-card:nth-child(4) { grid-column: 1 / 4; }
  .value-card:nth-child(5) { grid-column: 4 / 7; }
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.9rem 1.6rem;
  text-align: left;
  border-top: 3px solid var(--accent, var(--blue));
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent, var(--blue)) 14%, white);
  color: var(--accent, var(--blue));
  margin-bottom: 1.1rem;
  transition: transform 0.4s var(--ease);
}
.value-card:hover .value-card__icon { transform: scale(1.1) rotate(6deg); }
.value-card__icon svg { width: 22px; height: 22px; }
.value-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.92rem; color: var(--text-soft); }

/* ==========================================================================
   Services
   ========================================================================== */
.services__intro-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.services__intro-row .section-head { margin-bottom: 0; }
.services__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
}

/* Tabs */
.tabs__nav {
  position: relative;
  display: inline-flex;
  gap: 2.5rem;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 3rem;
}
.tabs__btn {
  position: relative;
  padding: 0.4rem 0.1rem 1.1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-faint);
  transition: color 0.35s ease;
}
.tabs__btn:hover { color: var(--navy); }
.tabs__btn.is-active { color: var(--navy); }
.tabs__indicator {
  position: absolute;
  bottom: -1.5px; left: 0;
  height: 2.5px;
  background: var(--orange);
  border-radius: 3px;
  transition: transform 0.45s var(--ease), width 0.45s var(--ease);
}

.tabs__panel { display: none; }
.tabs__panel.is-active {
  display: block;
  animation: panelIn 0.55s var(--ease);
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-block__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: stretch;
  margin-bottom: 2.75rem;
}
/* Height follows the text column instead of a fixed ratio — the panels carry a
   short intro with the flat list below, so a tall image left a dead gap. The
   img is taken out of flow so it can't push the row past `min-height`. */
.service-block__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 280px;
}
.service-block__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.service-block__text p { color: var(--text-soft); margin-bottom: 1.5rem; }

.checklist { display: flex; flex-direction: column; gap: 0.85rem; }
.checklist li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: 0.98rem;
}
.checklist li svg {
  flex-shrink: 0;
  width: 19px; height: 19px;
  margin-top: 0.15rem;
  color: var(--teal);
}

/* Panel heading — title plus the parenthetical gloss underneath it. */
.service-block__header h3 { font-size: 1.55rem; margin-bottom: 0.25rem; }
.service-block__header span {
  display: inline-block;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}
/* Flat service listing under each panel — every item at the same level. */
.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 2rem;
}

/* HR callout */
.hr-callout {
  margin-top: 3.5rem;
  background: linear-gradient(120deg, rgba(0,86,164,0.05), rgba(192,124,170,0.07));
  border: 1px solid var(--border);
  border-left: 4px solid var(--mauve);
  border-radius: var(--radius-md);
  padding: 2.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.hr-callout__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mauve);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.9rem;
}
.hr-callout h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.hr-callout p { color: var(--text-soft); font-size: 0.96rem; }
.hr-callout__items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  justify-content: center;
}
.hr-callout__items li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy);
}
.hr-callout__items li svg { width: 16px; height: 16px; color: var(--mauve); flex-shrink: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 1.4rem; margin-bottom: 1.6rem; }

.field { position: relative; margin-bottom: 1.35rem; }
.field input,
.field textarea {
  width: 100%;
  background: var(--offwhite);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.1rem 0.5rem;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.field textarea { min-height: 130px; resize: vertical; padding-top: 1.3rem; }
.field label {
  position: absolute;
  left: 1.1rem; top: 1.05rem;
  color: var(--text-faint);
  font-size: 1rem;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.25s var(--ease), color 0.25s ease, top 0.25s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0,86,164,0.1);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-0.65rem) scale(0.78);
  color: var(--blue);
}
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label { top: 0.85rem; }
/* reCAPTCHA v3: the floating badge is hidden in favour of the inline notice
   below the form. Google requires that attribution whenever the badge is
   suppressed, so .recaptcha-notice must stay visible. */
.grecaptcha-badge { visibility: hidden; }
.recaptcha-notice {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-faint);
}
.recaptcha-notice a {
  color: var(--text-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.recaptcha-notice a:hover { color: var(--blue); }

.form-msg {
  display: none;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 1.1rem;
}
.form-msg svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 0.1rem; }
.form-msg.is-visible { display: flex; animation: panelIn 0.4s var(--ease); }
.form-msg--success { background: rgba(0,150,152,0.1); color: #036b6d; }
.form-msg--error { background: rgba(235,96,10,0.1); color: #a84408; }

.contact-side { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248,174,88,0.25), transparent 70%);
}
.contact-info h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 1.5rem; }
.contact-info__row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-block: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-info__row:first-of-type { border-top: none; }
.contact-info__row svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--peach);
  margin-top: 0.2rem;
}
.contact-info__row span { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); margin-bottom: 0.2rem; }
.contact-info__row a, .contact-info__row p { font-weight: 500; color: var(--white); }
.contact-info__row a:hover { color: var(--peach); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
#map { height: 300px; width: 100%; background: var(--mist); }
.leaflet-popup-content { font-family: var(--font-body); font-size: 0.9rem; }
.leaflet-popup-content strong { font-family: var(--font-display); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  position: relative;
}
.site-footer::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--peach), var(--orange), var(--teal), var(--mauve), var(--blue));
}
.footer__top {
  padding-block: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.footer__brand img { height: 62px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1.1rem; }
.footer__brand p { max-width: 32ch; font-size: 0.95rem; }
.footer__col h2 {
  font-family: var(--font-body);
  color: var(--white);
  font-weight: 700;
  line-height: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a { font-size: 0.95rem; transition: color 0.3s ease; }
.footer__col a:hover { color: var(--peach); }
.footer__whatsapp,
.footer__lang-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.footer__whatsapp svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer__lang-link svg { width: 20px; height: auto; flex-shrink: 0; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,0.15); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.footer__bottom a { font-weight: 600; color: var(--white); }
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s ease, transform 0.3s var(--ease);
}
.back-to-top:hover { color: var(--peach); transform: translateY(-2px); }
.back-to-top svg { width: 16px; height: 16px; transform: rotate(-90deg); }
.footer__consent-link {
  color: rgba(255,255,255,0.75);
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}
.footer__consent-link:hover { color: var(--peach); }
.footer__consent-link[hidden] { display: none; }

/* ==========================================================================
   Cookie consent banner (shown only to EEA / UK / CH visitors — see main.js)
   ========================================================================== */
.consent-banner {
  --text: #16232E;
  --border: #E3E9EE;
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 95; /* above the WhatsApp button, below the header/mobile nav */
  max-width: 440px;
  padding: 1.4rem 1.5rem;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  line-height: 1.55;
}
.consent-banner[hidden] { display: none; }
.consent-banner p { margin-bottom: 1.1rem; }
.consent-banner__actions { display: flex; gap: 0.75rem; justify-content: flex-end; }
.consent-banner .btn { padding: 0.7rem 1.4rem; font-size: 0.92rem; }

@media (max-width: 640px) {
  /* Full width above the compact WhatsApp button (52px + 1.1rem offset). */
  .consent-banner { left: 1rem; right: 1rem; bottom: calc(52px + 1.8rem); max-width: none; }
  .consent-banner__actions .btn { flex: 1; }
}

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #25D366;
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
  overflow: hidden;
  transition: width 0.4s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.whatsapp-float svg { width: 28px; height: 28px; flex-shrink: 0; margin-inline: 15px; }
.whatsapp-float__label {
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0;
  max-width: 0;
  transition: opacity 0.3s ease;
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  width: 218px;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.34);
}
.whatsapp-float:hover .whatsapp-float__label,
.whatsapp-float:focus-visible .whatsapp-float__label {
  opacity: 1;
  max-width: 200px;
  margin-right: 1.1rem;
}
.has-open-menu .whatsapp-float { opacity: 0; visibility: hidden; }

@media (max-width: 640px) {
  .whatsapp-float { right: 1.1rem; bottom: 1.1rem; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 25px; height: 25px; margin-inline: 13.5px; }
  .whatsapp-float:hover,
  .whatsapp-float:focus-visible { width: 52px; } /* keep compact on touch devices */
  .whatsapp-float:hover .whatsapp-float__label,
  .whatsapp-float:focus-visible .whatsapp-float__label { opacity: 0; max-width: 0; margin-right: 0; }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal="up"] { transform: translateY(36px); }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 640px) {
  .overview__grid { grid-template-columns: repeat(2, 1fr); }
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .hr-callout { grid-template-columns: 1fr; }
}

@media (min-width: 860px) {
  .footer__top { grid-template-columns: 1.3fr 1fr 1fr; }
  .hr-callout { grid-template-columns: 2fr 1fr; align-items: center; }
}

@media (min-width: 1000px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }

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

  .about__grid { grid-template-columns: 0.85fr 1.15fr; gap: 4.5rem; }
  .about__grid--media-right { grid-template-columns: 1.15fr 0.85fr; }
  .about__grid--media-right .about__media { order: 2; }

  .service-block__grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .service-block__grid--reverse .service-block__media { order: 2; }

  .contact__grid { grid-template-columns: 1.15fr 0.85fr; }
}

/* Utility: dim images slightly for texture consistency */
.about__media-frame img,
.service-block__media img { filter: saturate(1.03) contrast(1.02); }
