/* ==========================================================================
   Andes Wine Journey — design tokens & base
   ========================================================================== */

:root {
  /* color */
  --bg: #14100d;
  --bg-elevated: #1c1611;
  --bg-elevated-2: #241c15;
  --copper: #c97a3d;
  --copper-bright: #e89a55;
  --cream: #f4eee2;
  --stone: #a6957f;
  --andes-blue: #7c9cb3;
  --line: rgba(244, 238, 226, 0.12);
  --line-strong: rgba(244, 238, 226, 0.24);
  --shadow: rgba(10, 7, 4, 0.5);

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

  /* layout */
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;

  /* motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); /* strong ease-out: entrances */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); /* on-screen movement */
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1); /* iOS-like drawer curve */
  --dur-s: 0.18s; /* hover / press */
  --dur-m: 0.4s;
  --dur-l: 0.7s; /* scroll-reveal entrance */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

:focus-visible {
  outline: 2px solid var(--copper-bright);
  outline-offset: 3px;
}

/* type scale */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 480;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 550;
}

p {
  margin: 0;
  color: var(--stone);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-bright);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--copper-bright);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  margin-top: 1.1rem;
  font-size: 1.05rem;
}

section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

.btn-primary {
  background: linear-gradient(155deg, var(--copper-bright), var(--copper));
  color: #1a1108;
  box-shadow: 0 8px 24px -8px rgba(201, 122, 61, 0.55);
}

.btn-primary:active {
  transform: scale(0.97);
  transition-duration: 100ms;
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--cream);
  background: rgba(244, 238, 226, 0.04);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn-ghost:active {
  transform: scale(0.97);
  transition-duration: 100ms;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -8px rgba(201, 122, 61, 0.7);
  }

  .btn-ghost:hover {
    border-color: var(--copper-bright);
    background: rgba(201, 122, 61, 0.1);
    transform: translateY(-2px);
  }
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.3rem 0;
  transition: padding var(--dur-m) var(--ease-out),
    background var(--dur-m) var(--ease-out),
    border-color var(--dur-m) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  padding: 0.85rem 0;
  background: rgba(20, 16, 13, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

@media (pointer: coarse) {
  .nav.is-scrolled {
    /* This element sits position:fixed and recomposites on every scroll
       frame — a heavy blur here is the single most expensive animation
       cost on the page for a touch device. A slightly higher background
       opacity keeps it reading solid at a fraction of the blur radius. */
    background: rgba(20, 16, 13, 0.92);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
  }
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}

.footer-brand .brand-logo {
  height: 62px;
}

.brand {
  gap: 0.75rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--cream);
  white-space: nowrap;
}

/* Between the mobile breakpoint and wide desktop the full nav (links,
   language switch, CTA) needs the room — the hero still shows the name. */
@media (min-width: 861px) and (max-width: 1179px) {
  .brand-name {
    display: none;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 1rem;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--stone);
  position: relative;
  transition: color 160ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--copper-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover {
    color: var(--cream);
  }

  .nav-links a:hover::after {
    transform: scaleX(1);
  }
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(244, 238, 226, 0.05);
  border: 1px solid var(--line);
  gap: 0.15rem;
}

.lang-switch button {
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--stone);
  transition: color 160ms ease, background 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .lang-switch button:hover {
    color: var(--cream);
  }
}

.lang-switch button.is-active {
  background: var(--copper);
  color: #1a1108;
}

.nav .btn-primary {
  padding: 0.7rem 1.25rem;
  font-size: 0.85rem;
}

/* hamburger toggle — mobile only */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  transition: transform 160ms ease, background 160ms ease;
}

.nav-toggle:active {
  transform: scale(0.92);
}

@media (hover: hover) and (pointer: fine) {
  .nav-toggle:hover {
    background: rgba(244, 238, 226, 0.06);
  }
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 1px;
  transition: transform 220ms var(--ease-out), opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-right {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ==========================================================================
   Mobile menu
   ========================================================================== */

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(10, 7, 4, 0.6);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.mobile-menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99;
  width: min(340px, 84vw);
  height: 100dvh;
  padding: 6.5rem 1.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--bg-elevated);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 50px -20px rgba(10, 7, 4, 0.6);
  opacity: 0;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 320ms var(--ease-drawer),
    opacity 320ms var(--ease-out), visibility 0s linear 320ms;
  overflow-y: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  transition: transform 320ms var(--ease-drawer),
    opacity 320ms var(--ease-out), visibility 0s linear 0s;
}

.mobile-menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.75rem;
}

.mobile-menu-links a {
  display: block;
  padding: 0.65rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--cream);
  transition: color 160ms ease;
}

.mobile-menu-links a:active {
  color: var(--copper-bright);
}

.mobile-menu .lang-switch {
  align-self: flex-start;
}

.mobile-menu .lang-switch button {
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
}

.mobile-menu .btn-primary {
  justify-content: center;
  padding: 1rem 1.7rem;
}

@media (min-width: 861px) {
  .mobile-menu,
  .mobile-menu-backdrop,
  .nav-toggle {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu {
    transition: opacity 200ms ease, visibility 0s linear 0s;
    transform: none;
  }
  .nav-toggle span {
    transition: opacity 160ms ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1),
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: none;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 7rem;
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}

.hero > .container + .container {
  margin-top: 1.75rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  --kb-from: 1.06;
  --kb-to: 1.14;
  --kb-drift: -1%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  transform: scale(var(--kb-from));
  animation: heroKenBurns 18s var(--ease-in-out) infinite alternate;
}

/* Touch devices: a smaller pan/zoom range holds the subject in frame
   better on narrow crops and composites a lighter animation — cheaper
   on the GPU/battery for exactly the class of device most likely to be
   running on one. */
@media (pointer: coarse) {
  .hero-media img {
    --kb-from: 1.04;
    --kb-to: 1.08;
    --kb-drift: -0.5%;
  }
}

@keyframes heroKenBurns {
  from {
    transform: scale(var(--kb-from)) translate3d(0, 0, 0);
  }
  to {
    transform: scale(var(--kb-to)) translate3d(var(--kb-drift), var(--kb-drift), 0);
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(15, 11, 8, 0.55) 0%,
      rgba(15, 11, 8, 0.35) 32%,
      rgba(15, 11, 8, 0.65) 68%,
      #14100d 100%
    ),
    linear-gradient(90deg, rgba(15, 11, 8, 0.55) 0%, rgba(15, 11, 8, 0.05) 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--cream);
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  color: var(--cream);
  margin-bottom: 1.4rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--copper-bright);
}

.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(244, 238, 226, 0.82);
  max-width: 46ch;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.6rem;
}

/* route-line signature: draws in under the headline */
.route-line {
  width: min(420px, 60vw);
  height: 14px;
  overflow: visible;
}

.route-line path {
  fill: none;
  stroke: var(--copper-bright);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 9 11;
  stroke-dashoffset: 300;
  animation: drawRoute 1.6s var(--ease-out) 0.5s forwards;
}

@keyframes drawRoute {
  to {
    stroke-dashoffset: 0;
  }
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 2.4rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--stone);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--copper-bright), transparent);
  animation: scrollCue 2s var(--ease-in-out) infinite;
}

@keyframes scrollCue {
  0%, 100% {
    transform: scaleY(0.4);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 700px) {
  .scroll-cue {
    display: none;
  }
}

/* trust strip */
.trust-strip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.trust-strip .trust-label {
  color: var(--copper-bright);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.trust-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trust-chips li {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(20, 16, 13, 0.35);
  backdrop-filter: blur(3px);
  font-size: 0.78rem;
  color: rgba(244, 238, 226, 0.85);
  white-space: nowrap;
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-l) var(--ease-out),
    transform var(--dur-l) var(--ease-out);
  transition-delay: calc(var(--stagger, 0) * 1ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-media img {
    animation: none;
  }
  .route-line path {
    animation: none;
    stroke-dashoffset: 0;
  }
  .scroll-cue::after {
    animation: none;
  }
}

/* ==========================================================================
   Benefits
   ========================================================================== */

.benefits {
  background: var(--bg);
}

.benefits-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.benefit-photos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-self: stretch;
}

.benefit-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
}

.benefit-photos .photo-a {
  align-self: start;
  aspect-ratio: 3 / 4;
}

.benefit-photos .photo-b {
  align-self: end;
  margin-top: 3rem;
  aspect-ratio: 3 / 4;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.benefit-card {
  padding: 1.9rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg));
  transition: border-color 200ms ease, transform 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .benefit-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-4px);
  }
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 122, 61, 0.14);
  color: var(--copper-bright);
  margin-bottom: 1.1rem;
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
}

.benefit-card h3 {
  color: var(--cream);
  margin-bottom: 0.55rem;
}

.benefit-card p {
  font-size: 0.94rem;
}

@media (max-width: 940px) {
  .benefits-layout {
    grid-template-columns: 1fr;
  }
  .benefit-photos {
    max-width: 420px;
  }
}

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

/* ==========================================================================
   How it works
   ========================================================================== */

.how {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.how-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.how-photo {
  position: sticky;
  top: 7rem;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  /* Matches transfer-car.jpg's own 4:3 landscape framing exactly, so
     object-fit: cover never has to crop into the car's front/rear —
     a taller portrait box here was cutting off both ends on desktop. */
  aspect-ratio: 4 / 3;
}

.how-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background-image: linear-gradient(
    var(--copper-bright) 40%,
    transparent 0%
  );
  background-size: 1px 12px;
  background-repeat: repeat-y;
  opacity: 0.6;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.4rem;
  padding-bottom: 3rem;
}

.step:last-child {
  padding-bottom: 0;
}

.step-num {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated-2);
  color: var(--copper-bright);
  font-family: var(--font-display);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.98rem;
  max-width: 46ch;
}

@media (max-width: 860px) {
  .how-layout {
    grid-template-columns: 1fr;
  }
  .how-photo {
    position: static;
    aspect-ratio: 16 / 10;
  }
}

/* ==========================================================================
   Destinations gallery
   ========================================================================== */

.destinations {
  background: var(--bg);
}

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 1.1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--copper) transparent;
}

.gallery::-webkit-scrollbar {
  height: 6px;
}

.gallery::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 999px;
}

.gallery-card {
  position: relative;
  scroll-snap-align: start;
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-card:hover img {
    transform: scale(1.07);
  }
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(12, 9, 6, 0.85) 100%
  );
}

.gallery-tag {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  z-index: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
  background: var(--bg-elevated);
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.testimonials-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.testimonials-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
}

.testimonials-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-elevated), rgba(28, 22, 17, 0.92));
}

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

.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.t-card {
  padding: 2rem 1.8rem;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: rgba(20, 16, 13, 0.6);
  backdrop-filter: blur(6px);
}

@media (pointer: coarse) {
  .t-card {
    /* A lighter blur costs less to composite on a touch device's GPU,
       especially while this section scrolls past. */
    backdrop-filter: blur(3px);
  }
}

.t-quote {
  color: var(--copper-bright);
  width: 30px;
  height: 22px;
  margin-bottom: 1rem;
}

.t-card p.t-text {
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.6rem;
}

.t-person {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.t-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--copper-bright);
  background: var(--bg-elevated-2);
  flex: none;
}

.t-name {
  color: var(--cream);
  font-weight: 600;
  font-size: 0.92rem;
  display: block;
}

.t-origin {
  font-size: 0.8rem;
  color: var(--stone);
}

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

/* ==========================================================================
   Final CTA
   ========================================================================== */

.cta-final {
  background: radial-gradient(
      120% 140% at 15% 0%,
      rgba(201, 122, 61, 0.22),
      transparent 60%
    ),
    var(--bg);
  text-align: center;
}

.cta-final .section-head {
  margin-bottom: 2.4rem;
}

.cta-final h2 {
  color: var(--cream);
}

.cta-final-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-final-note {
  font-size: 0.86rem;
  color: var(--stone);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.4rem 0 2.2rem;
  background: var(--bg);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.4rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-bright);
  margin: 0 0 1rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a,
.footer-col span {
  font-size: 0.9rem;
  color: var(--stone);
  transition: color var(--dur-s) var(--ease-out);
}

.footer-col a:hover {
  color: var(--copper-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--stone);
}

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */

.fab-whatsapp {
  position: fixed;
  right: max(clamp(1rem, 4vw, 2rem), env(safe-area-inset-right));
  bottom: max(clamp(1rem, 4vw, 2rem), calc(env(safe-area-inset-bottom) + 0.75rem));
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--copper-bright), var(--copper));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(201, 122, 61, 0.6);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity var(--dur-m) var(--ease-out),
    transform var(--dur-m) var(--ease-out), box-shadow 160ms ease;
}

.fab-whatsapp.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .fab-whatsapp:hover {
    box-shadow: 0 14px 32px -6px rgba(201, 122, 61, 0.75);
    transform: translateY(-3px) scale(1.04);
  }
}

.fab-whatsapp svg {
  width: 26px;
  height: 26px;
  color: #1a1108;
}

.fab-whatsapp::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(201, 122, 61, 0.5);
  animation: pulseRing 2.6s var(--ease-in-out) infinite;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fab-whatsapp::before {
    animation: none;
    display: none;
  }
}

/* ==========================================================================
   Small-phone refinements (≤ 420px, e.g. Galaxy S20 / iPhone SE)
   ========================================================================== */

@media (max-width: 420px) {
  :root {
    --gutter: 1.1rem;
  }

  .brand-logo {
    height: 38px;
  }

  .footer-brand .brand-logo {
    height: 48px;
  }

  .hero {
    padding-top: 6rem;
  }

  .hero h1 {
    font-size: 2.15rem;
    margin-bottom: 1.1rem;
  }

  .hero-sub {
    margin-bottom: 1.8rem;
  }

  .hero-actions {
    margin-bottom: 2rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .mobile-menu {
    width: 100vw;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 1.75rem;
  }

  .t-card,
  .benefit-card {
    padding: 1.6rem 1.4rem;
  }
}

/* Brand name must never be machine-translated. `translate="no"` is the
   standard; `.notranslate` is the class Google Translate also honors.
   No styling needed — the rule exists so the class is documented here. */
.notranslate {
}
