/* =========================================================
   WEBME-JEWELRY — Premium Luxury Stylesheet
   Aesthetic: "The Jeweler's Red"
   - Warm gallery-white canvas, near-black ink, single red accent
   - Playfair Display (display) + Poppins (body)
   Sections:
     1.  Design tokens (:root)
     2.  Reset & base
     3.  Typography helpers
     4.  Buttons
     5.  Reusable atoms (eyebrow, links, glass, reveal)
     6.  Header / navigation
     7.  Hero
     8.  Intro
     9.  Services
     10. Why
     11. Benefits
     12. Technology
     13. Final CTA
     14. Footer + floating action
     15. Contact page
     16. Keyframes
     17. Responsive
     18. Reduced motion
========================================================= */

/* ============ 1. DESIGN TOKENS ============ */
:root {
  /* Surfaces */
  --bg: #f4f3f1;            /* warm gallery gray */
  --bg-tint: #efeeec;       /* alternating section */
  --surface: #ffffff;       /* cards */
  --ink-deep: #14131a;      /* darkest (tech section bg) */

  /* Ink */
  --ink: #17161c;           /* primary text */
  --ink-soft: #4c4a55;      /* secondary text */
  --muted: #8b8993;         /* labels / captions */

  /* Accent — the single gemstone red */
  --accent: #e5322f;
  --accent-deep: #b31f1c;
  --accent-soft: rgba(229, 50, 47, 0.10);
  --accent-glow: rgba(229, 50, 47, 0.32);

  /* Metallic shimmer accent (used only for shine sweeps) */
  --sheen: rgba(255, 255, 255, 0.85);
  --gold: #cbb07a;

  /* Lines */
  --line: rgba(20, 19, 26, 0.10);
  --line-strong: rgba(20, 19, 26, 0.16);

  /* Shadows */
  --shadow-xs: 0 2px 10px rgba(20, 20, 32, 0.05);
  --shadow-sm: 0 10px 30px rgba(20, 20, 32, 0.07);
  --shadow-md: 0 24px 55px rgba(20, 20, 32, 0.12);
  --shadow-lg: 0 45px 90px rgba(20, 20, 32, 0.16);
  --shadow-red: 0 18px 38px rgba(229, 50, 47, 0.28);

  /* Geometry */
  --radius: 20px;
  --radius-sm: 14px;
  --radius-pill: 100px;
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* Fonts */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, sans-serif;
}

/* ============ 2. RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px; /* offset for sticky header */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

::selection { background: var(--accent); color: #fff; }

/* Custom scrollbar (subtle, premium) */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-tint); }
::-webkit-scrollbar-thumb { background: #cfcdc9; border-radius: 10px; border: 3px solid var(--bg-tint); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Layout container */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 0.6rem 1.2rem; border-radius: 0 0 10px 10px;
  z-index: 2000; transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 0; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  z-index: 1500; box-shadow: 0 0 12px var(--accent-glow);
  transition: width 0.1s linear;
}

/* ============ 3. TYPOGRAPHY HELPERS ============ */
.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}
.section--tint { background: var(--bg-tint); }

.section__head {
  max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
}
.section-title--light { color: #fff; }

.section-lead {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 300;
  margin-top: 1.2rem;
  max-width: 60ch;
}
.section-lead--center { margin-inline: auto; text-align: center; }
.section-lead--light { color: rgba(255, 255, 255, 0.72); }
.section-lead strong { color: var(--accent); font-weight: 600; }

.text-accent { color: var(--accent); }

/* ============ 4. BUTTONS ============ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95rem 2rem;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), color 0.4s var(--ease);
  white-space: nowrap;
}
.btn i { transition: transform 0.45s var(--ease); }
.btn--sm { padding: 0.65rem 1.4rem; font-size: 0.85rem; }
.btn--lg { padding: 1.1rem 2.4rem; font-size: 1rem; }

/* Primary — red with shine sweep + lift */
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--accent-deep), var(--accent));
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.btn--primary::after { /* shimmer sweep */
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 26px 50px var(--accent-glow); }
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover::after { left: 130%; }
.btn--primary:hover i { transform: translateX(4px); }

/* Ghost — hairline outline that fills on hover */
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost:hover::before { transform: scaleX(1); }

.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ============ 5. REUSABLE ATOMS ============ */
/* Eyebrow / kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.1rem;
}
.eyebrow--center { justify-content: center; }
.eyebrow__line { width: 34px; height: 1px; background: var(--accent); opacity: 0.6; }

/* Inline text link with animated underline */
.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 500; color: var(--ink); margin-top: 1.6rem;
  position: relative; width: fit-content;
}
.text-link i { color: var(--accent); transition: transform 0.4s var(--ease); }
.text-link::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.text-link:hover::after { transform: scaleX(1); transform-origin: left; }
.text-link:hover i { transform: translateX(6px); }

/* Glass card base */
.glass-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-md);
}

/* Shimmer text effect */
.shimmer {
  background: linear-gradient(100deg, var(--accent) 20%, #ff7a68 40%, var(--accent) 60%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerSweep 5s linear infinite;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ 6. HEADER / NAV ============ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding-block: 1.1rem;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled {
  padding-block: 0.65rem;
  background: rgba(244, 243, 241, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 var(--line), var(--shadow-xs);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--ink); }
.brand__mark { color: var(--accent); display: grid; place-items: center; transition: transform 0.6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(12deg) scale(1.08); }
.brand__text {
  font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: 0.01em;
}
.brand__text em { font-style: normal; color: var(--accent); font-weight: 500; }
.brand--footer .brand__text { color: #fff; }
.brand--footer .brand__mark { color: var(--accent); }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  position: relative; font-weight: 400; font-size: 0.98rem; color: var(--ink-soft);
  padding: 0.2rem 0; transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px;
  align-items: center; justify-content: center; background: transparent; border: none; cursor: pointer;
  border-radius: 10px;
}
.nav__toggle-bar { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.3s var(--ease); }
body.nav-open .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav__toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ 7. HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 8rem; padding-bottom: 5rem;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, #ffffff 0%, var(--bg) 55%),
    var(--bg);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.hero__glow--1 {
  width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; top: -10%; right: -6%;
  background: radial-gradient(circle, var(--accent-glow), transparent 68%);
  animation: pulseGlow 9s ease-in-out infinite;
}
.hero__glow--2 {
  width: 40vw; height: 40vw; max-width: 520px; max-height: 520px; bottom: -14%; left: -8%;
  background: radial-gradient(circle, rgba(229,50,47,0.16), transparent 70%);
  animation: pulseGlow 11s ease-in-out infinite reverse;
}
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Floating geometric shapes */
.hero__shapes { position: absolute; inset: 0; }
.shape { position: absolute; opacity: 0.5; }
.shape--diamond {
  width: 26px; height: 26px; border: 1.5px solid var(--accent);
  transform: rotate(45deg); border-radius: 4px;
}
.shape--ring {
  width: 60px; height: 60px; border: 1.5px solid var(--line-strong); border-radius: 50%;
}
.shape--dot { width: 10px; height: 10px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 14px var(--accent-glow); }
.s1 { top: 22%; left: 12%; animation: floatY 8s ease-in-out infinite; }
.s2 { top: 30%; right: 14%; animation: floatY 10s ease-in-out infinite 0.5s; }
.s3 { bottom: 24%; left: 20%; animation: floatY 9s ease-in-out infinite 1s; opacity: 0.35; }
.s4 { top: 60%; right: 26%; animation: floatY 7s ease-in-out infinite 0.3s; }
.s5 { bottom: 18%; right: 10%; width: 90px; height: 90px; animation: floatY 12s ease-in-out infinite; opacity: 0.3; }

.hero__inner { position: relative; z-index: 2; max-width: 880px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 1.6rem;
}
.hero__text {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  font-weight: 300; color: var(--ink-soft);
  max-width: 64ch; margin-bottom: 2.4rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.6rem 2.2rem;
  padding-top: 1.8rem; border-top: 1px solid var(--line);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--ink-soft); font-weight: 400; }
.hero__meta i { color: var(--accent); }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem; z-index: 3;
  color: var(--muted); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-cue__dot {
  width: 24px; height: 40px; border: 1.5px solid var(--line-strong); border-radius: 20px; position: relative;
}
.scroll-cue__dot::before {
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; background: var(--accent); border-radius: 50%;
  animation: scrollDot 1.8s ease-in-out infinite;
}

/* ============ 8. INTRO ============ */
.intro__grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.intro__visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.intro__card {
  position: relative; width: min(360px, 100%); padding: 2.8rem 2.4rem; border-radius: var(--radius);
  text-align: center; overflow: hidden;
}
.intro__card-shine {
  position: absolute; inset: 0;
  background: linear-gradient(130deg, transparent 40%, rgba(255,255,255,0.6) 50%, transparent 60%);
  background-size: 250% 250%; animation: cardShine 6s ease-in-out infinite;
}
.intro__gem {
  display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 1.4rem;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.5rem;
  box-shadow: 0 0 0 8px rgba(229,50,47,0.05);
}
.intro__card-kicker { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.intro__card-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin: 0.4rem 0 1.4rem; line-height: 1.3; }
.intro__card-line { width: 50px; height: 2px; background: var(--accent); margin: 0 auto 1.2rem; }
.intro__card-note { font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }

.intro__float { position: absolute; border-radius: 50%; z-index: -1; }
.intro__float--1 { width: 120px; height: 120px; top: -20px; right: 10px; background: radial-gradient(circle, var(--accent-glow), transparent 70%); filter: blur(20px); animation: floatY 8s ease-in-out infinite; }
.intro__float--2 { width: 26px; height: 26px; border: 1.5px solid var(--accent); transform: rotate(45deg); border-radius: 5px; bottom: 12px; left: 6px; animation: floatY 6s ease-in-out infinite 0.5s; }

/* ============ 9. SERVICES ============ */
.services__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
}
.service-card {
  position: relative; background: var(--surface); border-radius: var(--radius);
  padding: 2.2rem 1.9rem; box-shadow: var(--shadow-sm); overflow: hidden;
  border: 1px solid transparent;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.service-card__glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 160%; height: 70%; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  opacity: 0; transition: opacity 0.5s var(--ease); pointer-events: none;
}
.service-card__icon {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px;
  background: var(--accent-soft); color: var(--accent); font-size: 1.35rem; margin-bottom: 1.4rem;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease);
}
.service-card__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.7rem; line-height: 1.3; }
.service-card__text { font-size: 0.92rem; font-weight: 300; color: var(--ink-soft); }
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(229,50,47,0.18);
}
.service-card:hover .service-card__glow { opacity: 0.6; }
.service-card:hover .service-card__icon { background: var(--accent); color: #fff; transform: rotate(-6deg) scale(1.05); box-shadow: var(--shadow-red); }

/* ============ 10. WHY ============ */
.why__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.why__aside {
  position: relative; background: var(--surface); border-radius: var(--radius);
  padding: clamp(2.4rem, 5vw, 3.4rem); box-shadow: var(--shadow-md); text-align: center;
  overflow: hidden;
}
.why__aside::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 60% at 50% 0%, var(--accent-soft), transparent 60%);
}
.why__stat { position: relative; display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.why__stat-num { font-family: var(--font-display); font-size: clamp(3.5rem, 9vw, 5.5rem); font-weight: 700; color: var(--accent); line-height: 1; }
.why__stat-sym { font-family: var(--font-display); font-size: 2rem; color: var(--accent); font-weight: 600; }
.why__stat-label { position: relative; display: block; margin-top: 0.8rem; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.why__stat-divider { position: relative; width: 60px; height: 2px; background: var(--line-strong); margin: 1.8rem auto; }
.why__badges { position: relative; display: flex; flex-direction: column; gap: 0.8rem; }
.why__badge {
  display: inline-flex; align-items: center; gap: 0.7rem; justify-content: center;
  padding: 0.7rem 1.2rem; border-radius: var(--radius-pill); background: var(--bg-tint);
  font-size: 0.88rem; font-weight: 400; transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.why__badge i { color: var(--accent); }
.why__badge:hover { transform: translateX(6px); background: var(--accent-soft); }

/* ============ 11. BENEFITS ============ */
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.benefit {
  position: relative; background: var(--surface); border-radius: var(--radius);
  padding: 2.4rem 1.8rem; box-shadow: var(--shadow-sm); text-align: center; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.benefit::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.benefit__icon {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 1.4rem;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.5rem;
  transition: transform 0.5s var(--ease);
}
.benefit__title { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; margin-bottom: 0.6rem; }
.benefit__text { font-size: 0.9rem; font-weight: 300; color: var(--ink-soft); }
.benefit:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.benefit:hover::after { transform: scaleX(1); }
.benefit:hover .benefit__icon { transform: translateY(-4px) scale(1.06); }

/* ============ 12. TECHNOLOGY ============ */
.tech { background: var(--ink-deep); color: #fff; overflow: hidden; }
.tech__bg { position: absolute; inset: 0; z-index: 0; }
.tech__orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.tech__orb--1 { width: 460px; height: 460px; top: -12%; right: -8%; background: radial-gradient(circle, rgba(229,50,47,0.35), transparent 70%); }
.tech__orb--2 { width: 380px; height: 380px; bottom: -16%; left: -6%; background: radial-gradient(circle, rgba(229,50,47,0.18), transparent 70%); }
.tech__inner { position: relative; z-index: 1; text-align: center; max-width: 820px; }
.tech__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 2rem; border-radius: var(--radius);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(8px);
}
.stat__num { display: block; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; color: #fff; line-height: 1; }
.stat__suffix { color: var(--accent); }
.stat__label { display: block; margin-top: 0.5rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* ============ 13. FINAL CTA ============ */
.final-cta { background: var(--bg-tint); }
.final-cta__card {
  position: relative; text-align: center; max-width: 860px; margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.8rem, 5vw, 4rem);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(120% 100% at 50% 0%, #ffffff, #fbfbfa);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.final-cta__shine {
  position: absolute; top: -50%; left: -30%; width: 60%; height: 200%;
  background: linear-gradient(100deg, transparent, rgba(229,50,47,0.10), transparent);
  transform: skewX(-18deg); animation: ctaSweep 7s ease-in-out infinite;
}
.final-cta__gem {
  display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 1.6rem;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.8rem;
  box-shadow: 0 0 0 10px rgba(229,50,47,0.05);
  animation: floatY 5s ease-in-out infinite;
}
.final-cta__card .section-title { margin-bottom: 1rem; }
.final-cta__card .btn { margin-top: 2.2rem; }

/* ============ 14. FOOTER + FAB ============ */
.site-footer { background: var(--ink-deep); color: rgba(255,255,255,0.75); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__tag { margin: 1.2rem 0 1.6rem; font-weight: 300; font-size: 0.94rem; max-width: 42ch; color: rgba(255,255,255,0.6); }

.footer__title { font-family: var(--font-display); color: #fff; font-size: 1.1rem; font-weight: 600; margin-bottom: 1.2rem; }
.footer__links li { margin-bottom: 0.75rem; }
.footer__links a { font-size: 0.94rem; font-weight: 300; color: rgba(255,255,255,0.65); transition: color 0.3s var(--ease), padding-left 0.3s var(--ease); }
.footer__links a:hover { color: #fff; padding-left: 5px; }
.footer__links--contact a { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer__links--contact i { color: var(--accent); }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: space-between;
  padding-block: 1.8rem; font-size: 0.82rem; color: rgba(255,255,255,0.5);
}

/* Floating WhatsApp */
.fab-whatsapp {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 900;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 1.6rem; box-shadow: 0 12px 30px rgba(37,211,102,0.4);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  animation: fabPulse 2.6s ease-in-out infinite;
}
.fab-whatsapp:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 16px 40px rgba(37,211,102,0.55); }

/* ============ 15. CONTACT PAGE ============ */
.page-hero {
  position: relative; padding-top: 11rem; padding-bottom: clamp(3rem, 6vw, 5rem);
  text-align: center; overflow: hidden;
  background: radial-gradient(120% 90% at 50% -20%, #ffffff, var(--bg) 60%);
}
.page-hero__glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 60vw; max-width: 700px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 68%); filter: blur(70px); opacity: 0.5;
}
.page-hero__title { position: relative; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.1; letter-spacing: -0.01em; }
.page-hero__text { position: relative; max-width: 56ch; margin: 1.2rem auto 0; color: var(--ink-soft); font-weight: 300; }

/* Contact info cards */
.contact-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
  margin-top: clamp(-3rem, -4vw, -2rem); position: relative; z-index: 3;
}
.contact-card {
  position: relative; background: var(--surface); border-radius: var(--radius);
  padding: 2.4rem 1.9rem; box-shadow: var(--shadow-md); text-align: center; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.contact-card__icon {
  display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 1.3rem;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.4rem;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease);
}
.contact-card__label { font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.contact-card__value { font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; word-break: break-word; }
.contact-card__value a { transition: color 0.3s var(--ease); }
.contact-card__value a:hover { color: var(--accent); }
.contact-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.contact-card:hover .contact-card__icon { background: var(--accent); color: #fff; transform: scale(1.08); box-shadow: var(--shadow-red); }

/* Contact layout: form */
.contact-layout { display: grid; max-width: 760px; margin: 0 auto; }

.contact-form-wrap {
  background: var(--surface); border-radius: var(--radius); padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.contact-form { display: grid; gap: 1.3rem; margin-top: 1.8rem; }
.field { position: relative; display: flex; flex-direction: column; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field label { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-soft); margin-bottom: 0.5rem; }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 0.96rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }

/* Animated submit button (fills + shine already in .btn--primary) */
.btn--submit { width: 100%; justify-content: center; margin-top: 0.4rem; }
.btn--submit .btn__spinner {
  width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff;
  border-radius: 50%; display: none; animation: spin 0.7s linear infinite;
}
.btn--submit.is-loading .btn__label,
.btn--submit.is-loading i.fa-arrow-right { display: none; }
.btn--submit.is-loading .btn__spinner { display: inline-block; }

.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.6rem; }
.form-status { font-size: 0.9rem; font-weight: 500; margin-top: 0.4rem; min-height: 1.2rem; transition: color 0.3s var(--ease); }
.form-status.is-success { color: #1f9d55; }
.form-status.is-error { color: var(--accent); }
.field-error { color: var(--accent); font-size: 0.78rem; margin-top: 0.35rem; min-height: 0.9rem; }
.field input.invalid, .field textarea.invalid { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* ============ 16. KEYFRAMES ============ */
@keyframes shimmerSweep { to { background-position: 200% center; } }
@keyframes pulseGlow { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.12); opacity: 0.7; } }
@keyframes floatY { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-22px) rotate(var(--rot, 0deg)); } }
.shape--diamond { --rot: 45deg; }
@keyframes scrollDot { 0% { top: 8px; opacity: 1; } 70% { top: 24px; opacity: 0; } 100% { top: 8px; opacity: 0; } }
@keyframes cardShine { 0%, 100% { background-position: 0% 0%; } 50% { background-position: 100% 100%; } }
@keyframes ctaSweep { 0% { left: -40%; } 50% { left: 120%; } 100% { left: 120%; } }
@keyframes fabPulse { 0%, 100% { box-shadow: 0 12px 30px rgba(37,211,102,0.4); } 50% { box-shadow: 0 12px 40px rgba(37,211,102,0.7); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pinBounce { 0%, 100% { transform: rotate(-45deg) translateY(0); } 50% { transform: rotate(-45deg) translateY(-8px); } }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(2.2); opacity: 0; } }

/* ============ 17. RESPONSIVE ============ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .tech__stats { grid-template-columns: repeat(2, 1fr); }
  .intro__grid { grid-template-columns: 1fr; }
  .intro__visual { order: -1; }
  .why__grid { grid-template-columns: 1fr; }
  .why__aside { max-width: 460px; margin-inline: auto; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 74px; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); height: 100vh;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.8rem;
    background: rgba(244,243,241,0.96); backdrop-filter: blur(20px);
    padding: 2rem 2.4rem; box-shadow: -20px 0 60px rgba(0,0,0,0.15);
    transform: translateX(100%); transition: transform 0.5s var(--ease); z-index: 1200;
  }
  body.nav-open .nav__links { transform: translateX(0); }
  .nav__link { font-size: 1.3rem; font-family: var(--font-display); color: var(--ink); }
  .nav__cta { width: 100%; justify-content: center; }
  .hero { padding-top: 7rem; }
  .hero__meta { gap: 0.9rem 1.6rem; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .field--row { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .services__grid, .benefits__grid, .tech__stats { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ============ 18. REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
