/* ============================================================
   Brillo Dental — styles.css
   Diseño llamativo · hero oscuro · paleta AZUL
   ============================================================ */

:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --ink: #0b1530;
  --ink-soft: #4d5a78;
  --ink-faint: #8a96b3;

  /* Paleta azul */
  --blue: #2f6bff;
  --blue-deep: #1f4fd6;
  --blue-night: #0a1838;
  --blue-dark: #0d2350;
  --sky: #dbe7ff;
  --sky-soft: #eef4ff;
  --cyan: #4fd3ff;

  --line: rgba(11, 21, 48, 0.08);

  --radius-xl: 2rem;
  --radius-lg: 1.4rem;
  --radius-md: 1rem;

  --shadow-soft: 0 24px 60px -30px rgba(15, 35, 80, 0.28);
  --shadow-card: 0 34px 80px -40px rgba(15, 35, 80, 0.45);
  --shadow-blue: 0 18px 50px -16px rgba(47, 107, 255, 0.55);

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft: cubic-bezier(0.25, 1, 0.5, 1);

  --font-body: "Sora", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font-body); background: var(--bg); color: var(--ink);
  line-height: 1.6; font-size: 17px; overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
h1, h2, h3 { overflow-wrap: break-word; }

.container { width: min(1180px, 100% - 3rem); margin-inline: auto; }

.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue-deep); background: var(--sky); padding: 0.45rem 0.95rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.eyebrow--glass { color: #cfe0ff; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(8px); }

.section { padding: clamp(4.5rem, 10vw, 8.5rem) 0; }
section[id], [id] { scroll-margin-top: 6rem; }
.section__head { max-width: 660px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em; }
.section__title em { color: var(--blue); }
.section__lead { margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.08rem; }

/* ============================================================
   BUTTONS (AZUL)
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.4rem; border-radius: 999px; border: none; cursor: pointer; position: relative;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.btn--lg { padding: 1.05rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }
.btn:active { transform: scale(0.97); }

.btn--primary { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { box-shadow: 0 24px 60px -14px rgba(47, 107, 255, 0.7); }

.btn--glass { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.2); }
.btn__play { font-size: 0.7rem; }

.btn__icon {
  display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.22); font-size: 0.85rem;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease);
}
.btn:hover .btn__icon { transform: translate(3px, -3px) scale(1.08); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav-wrap { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; justify-content: center; padding-top: 1.3rem; }
.nav {
  width: min(1180px, 100% - 1.5rem); display: flex; align-items: center; gap: 1.5rem;
  padding: 0.7rem 0.7rem 0.7rem 1.5rem;
  background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px; box-shadow: 0 16px 50px -28px rgba(15, 35, 80, 0.35);
  transition: box-shadow 0.5s var(--ease), background 0.5s var(--ease);
}
.nav.scrolled { box-shadow: 0 20px 55px -22px rgba(15, 35, 80, 0.5); background: rgba(255, 255, 255, 0.9); }
.nav__brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; }
.nav__brand-thin { font-weight: 300; color: var(--ink-soft); }
.nav__logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; }
.nav__links { display: flex; gap: 1.6rem; list-style: none; margin-left: auto; }
.nav__links a { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); position: relative; transition: color 0.3s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--blue); border-radius: 2px; transition: width 0.4s var(--ease); }
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }

.nav__burger { display: none; width: 44px; height: 44px; border-radius: 999px; background: var(--blue-night); border: none; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.45s var(--ease); }
.nav__burger span:nth-child(1) { transform: translate(-50%, -5px); }
.nav__burger span:nth-child(2) { transform: translate(-50%, 5px); }
.nav__burger.open span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.nav__burger.open span:nth-child(2) { transform: translate(-50%, 0) rotate(-45deg); }

/* Backdrop */
.menu-overlay {
  position: fixed; inset: 0; z-index: 39; display: flex; justify-content: flex-end;
  background: rgba(6, 14, 34, 0); backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
  visibility: hidden; transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), visibility 0.5s var(--ease);
}
.menu-overlay.open { background: rgba(6, 14, 34, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); visibility: visible; }

/* Drawer panel (slides in from the right) */
.drawer {
  position: relative; width: min(86vw, 360px); height: 100%; margin-left: auto;
  background: linear-gradient(180deg, #0c1f47, #0a1838);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -30px 0 80px -40px rgba(0, 0, 0, 0.8);
  display: flex; flex-direction: column; padding: 1.4rem 1.5rem 2rem;
  transform: translateX(100%); transition: transform 0.6s var(--ease);
}
.menu-overlay.open .drawer { transform: translateX(0); }

.drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.drawer__brand { color: #fff; font-size: 1.1rem; }
.drawer__brand .nav__brand-thin { color: rgba(233, 240, 255, 0.6); }
.drawer__brand .nav__logo { width: 30px; height: 30px; }

.drawer__close { position: relative; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); cursor: pointer; flex-shrink: 0; }
.drawer__close span { position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: #fff; border-radius: 2px; }
.drawer__close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.drawer__close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.drawer__close:hover { background: rgba(255, 255, 255, 0.16); }

.drawer__nav { flex: 1; display: flex; align-items: center; }
.drawer__links { list-style: none; width: 100%; }
.drawer__links li { overflow: hidden; }
.drawer__links a {
  display: flex; align-items: center; gap: 0.9rem; width: 100%;
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; color: #fff;
  padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transform: translateX(40px); opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), color 0.3s var(--ease);
}
.menu-overlay.open .drawer__links a { transform: translateX(0); opacity: 1; transition-delay: calc(0.15s + var(--i) * 0.06s); }
.drawer__links a:hover { color: var(--cyan); }
.drawer__no { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; color: var(--cyan); letter-spacing: 0.1em; }
.drawer__arrow { margin-left: auto; font-size: 1.1rem; color: rgba(233, 240, 255, 0.4); transition: transform 0.4s var(--ease), color 0.3s var(--ease); }
.drawer__links a:hover .drawer__arrow { transform: translateX(5px); color: var(--cyan); }

.drawer__foot { padding-top: 1.4rem; }
.drawer__contact { margin-top: 1rem; text-align: center; font-size: 0.9rem; color: rgba(233, 240, 255, 0.7); display: flex; align-items: center; justify-content: center; gap: 0.5rem; }

/* Hide the floating pill while the drawer is open (the drawer has its own header) */
body.menu-open .nav-wrap { opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease); }

/* ============================================================
   HERO (dark, full-bleed image)
   ============================================================ */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(8, 18, 44, 0.96) 0%, rgba(10, 28, 70, 0.86) 45%, rgba(13, 45, 110, 0.55) 100%); }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 1; pointer-events: none; }
.hero__glow--1 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(47, 107, 255, 0.7), transparent 70%); top: -120px; right: -60px; }
.hero__glow--2 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(79, 211, 255, 0.4), transparent 70%); bottom: -120px; left: -80px; }

.hero__inner { position: relative; z-index: 2; width: min(1180px, 100% - 3rem); margin-inline: auto; padding: 9rem 0 6rem; max-width: 860px; }
.hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.8rem, 7.5vw, 5.6rem); line-height: 1.02; letter-spacing: -0.03em; }
.hero__title em { background: linear-gradient(120deg, var(--cyan), #a9c7ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { margin-top: 1.6rem; max-width: 36rem; color: rgba(233, 240, 255, 0.82); font-size: 1.15rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }

.hero__stats { display: flex; gap: 2.6rem; margin-top: 3.2rem; flex-wrap: wrap; }
.hero__stat-num { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: #fff; }
.hero__stat-label { display: block; margin-top: 0.3rem; font-size: 0.85rem; color: rgba(233, 240, 255, 0.65); }

.hero__scroll { position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(233, 240, 255, 0.6); display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.hero__scroll span { width: 1px; height: 38px; background: linear-gradient(rgba(255,255,255,0.6), transparent); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { background: var(--blue-night); color: #fff; padding: 1.1rem 0; overflow: hidden; }
.marquee__track { display: flex; align-items: center; gap: 1.8rem; white-space: nowrap; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span { font-size: 0.95rem; font-weight: 500; letter-spacing: 0.04em; }
.marquee__track i { color: var(--cyan); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SERVICES CARDS
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem; box-shadow: var(--shadow-soft); overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease);
}
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--sky-soft), transparent 60%); opacity: 0; transition: opacity 0.6s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: transparent; }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.3rem; }
.card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; font-size: 1.5rem; box-shadow: var(--shadow-blue); }
.card__no { font-family: var(--font-display); font-size: 1.5rem; color: var(--sky); }
.card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card__link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.3rem; font-weight: 600; font-size: 0.9rem; color: var(--blue-deep); transition: gap 0.3s var(--ease); }
.card:hover .card__link { gap: 0.8rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about__media { position: relative; padding-bottom: 2rem; }
.about__img { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-card); }
.about__img--main { aspect-ratio: 4/5; }
.about__img--main img { width: 100%; height: 100%; object-fit: cover; }
.about__img--sub { position: absolute; bottom: 0; right: -10%; width: 50%; aspect-ratio: 1; border: 6px solid var(--bg); }
.about__img--sub img { width: 100%; height: 100%; object-fit: cover; }
.about__chip { position: absolute; top: 7%; left: -8%; background: var(--surface); border-radius: var(--radius-md); padding: 0.9rem 1.2rem; box-shadow: var(--shadow-card); font-weight: 600; font-size: 0.85rem; display: flex; align-items: center; gap: 0.6rem; }
.about__chip-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--blue); }

.feature-list { list-style: none; margin: 2rem 0; display: grid; gap: 1.4rem; }
.feature-list li { display: flex; gap: 1rem; }
.feature-list__mark { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; font-size: 0.85rem; font-weight: 700; }
.feature-list strong { display: block; font-size: 1.05rem; }
.feature-list p { color: var(--ink-soft); font-size: 0.95rem; }

/* ============================================================
   RESULTS GALLERY
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 1.1rem; }
.gallery__item { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item figcaption { position: absolute; inset: auto 0 0 0; padding: 1.6rem 1.2rem 1.1rem; color: #fff; font-size: 0.82rem; display: flex; flex-direction: column; background: linear-gradient(transparent, rgba(8, 18, 44, 0.85)); }
.gallery__item figcaption strong { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; }

/* ============================================================
   PROCESS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.7rem; box-shadow: var(--shadow-soft); position: relative; overflow: hidden; }
.step__num { font-family: var(--font-display); font-size: 2.6rem; color: var(--sky); line-height: 1; }
.step h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; margin: 0.8rem 0 0.5rem; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.step:hover::before { transform: scaleX(1); }

/* ============================================================
   TEAM
   ============================================================ */
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.team__card { text-align: center; }
.team__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-soft); margin-bottom: 1rem; position: relative; }
.team__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(47, 107, 255, 0.35)); opacity: 0; transition: opacity 0.6s var(--ease); }
.team__card:hover .team__photo::after { opacity: 1; }
.team__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.team__card:hover .team__photo img { transform: scale(1.06); }
.team__card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; }
.team__card span { color: var(--blue-deep); font-size: 0.88rem; font-weight: 500; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: linear-gradient(180deg, var(--sky-soft), var(--bg)); }
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.testi__card { background: var(--surface); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-soft); transition: transform 0.6s var(--ease); }
.testi__card:hover { transform: translateY(-6px); }
.stars { color: #f5b740; letter-spacing: 1px; }
.testi__card .stars { font-size: 1.05rem; }
.testi__card p { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.5; margin: 1rem 0 1.5rem; }
.testi__card footer { display: flex; align-items: center; gap: 0.8rem; }
.testi__card footer img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi__card footer span { display: flex; flex-direction: column; font-size: 0.85rem; color: var(--ink-faint); }
.testi__card footer strong { color: var(--ink); font-size: 0.95rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__inner {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: linear-gradient(150deg, var(--blue-night), var(--blue-dark) 55%, var(--blue-deep));
  color: #fff; padding: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
  box-shadow: var(--shadow-card);
}
.contact__glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 211, 255, 0.4), transparent 70%); top: -140px; right: -100px; filter: blur(40px); }
.contact__copy { position: relative; z-index: 1; }
.contact__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.08; }
.contact__title em { color: var(--cyan); }
.contact__copy > p { color: rgba(233, 240, 255, 0.78); margin-top: 1rem; }
.contact__info { list-style: none; margin-top: 1.8rem; display: grid; gap: 0.8rem; font-size: 0.98rem; color: rgba(233, 240, 255, 0.9); }
.contact__info li { display: flex; align-items: center; gap: 0.7rem; }

.contact__form { position: relative; z-index: 1; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(8px); border-radius: var(--radius-lg); padding: 1.8rem; display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.82rem; font-weight: 500; color: rgba(233, 240, 255, 0.85); }
.field input, .field select { font-family: var(--font-body); font-size: 0.98rem; padding: 0.85rem 1rem; border-radius: var(--radius-md); border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.96); color: var(--ink); outline: none; transition: box-shadow 0.3s var(--ease); }
.field input:focus, .field select:focus { box-shadow: 0 0 0 3px rgba(79, 211, 255, 0.5); }
.contact__note { color: var(--cyan); font-weight: 600; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--blue-night); color: rgba(233, 240, 255, 0.7); padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer .nav__brand { color: #fff; margin-bottom: 1rem; }
.footer .nav__brand-thin { color: rgba(233, 240, 255, 0.6); }
.footer__brand p { font-size: 0.95rem; max-width: 24rem; }
.footer__col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1rem; }
.footer__col a, .footer__col p { display: block; font-size: 0.92rem; padding: 0.25rem 0; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--cyan); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; color: rgba(233, 240, 255, 0.5); }
.footer__credit { display: inline-flex; align-items: center; gap: 0.4rem; }
.footer__credit a {
  display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600;
  color: rgba(233, 240, 255, 0.85); padding: 0.3rem 0.7rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.footer__credit a:hover { color: #fff; background: rgba(47, 107, 255, 0.18); border-color: rgba(79, 211, 255, 0.5); transform: translateY(-2px); }
.footer__credit-logo { color: var(--cyan); font-size: 0.7rem; }
.footer__credit-arrow { font-size: 0.8rem; transition: transform 0.4s var(--ease); }
.footer__credit a:hover .footer__credit-arrow { transform: translate(2px, -2px); }

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.whatsapp-fab { position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 45; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 40px -12px rgba(37, 211, 102, 0.7); transition: transform 0.5s var(--ease); }
.whatsapp-fab:hover { transform: scale(1.08) rotate(-4deg); }

/* ============================================================
   SCROLL-TO-TOP BUTTON
   ============================================================ */
.to-top {
  position: fixed; bottom: 1.6rem; left: 1.6rem; right: auto; z-index: 45;
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; border: none;
  display: grid; place-items: center; box-shadow: var(--shadow-blue);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.85);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s var(--ease), box-shadow 0.4s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover { box-shadow: 0 22px 55px -14px rgba(47, 107, 255, 0.75); transform: translateY(-3px) scale(1.05); }
.to-top:active { transform: scale(0.95); }

/* ============================================================
   FLOAT + REVEAL
   ============================================================ */
.float-a { animation: floatA 6s ease-in-out infinite; }
.float-b { animation: floatB 7s ease-in-out infinite; }
@keyframes floatA { 50% { transform: translateY(-12px); } }
@keyframes floatB { 50% { transform: translateY(10px); } }

.reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft), filter 0.9s var(--ease-soft); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; }
  .float-a, .float-b, .marquee__track, .hero__scroll span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 70;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
  box-shadow: 0 0 12px rgba(79, 211, 255, 0.6);
}

/* ============================================================
   3D TILT (JS-driven) — smooth return on leave
   ============================================================ */
.tilt { transform-style: preserve-3d; transition: transform 0.5s var(--ease); }
.tilt__inner { transition: transform 0.5s var(--ease); }
.card, .team__card, .testi__card { will-change: transform; }

/* Sheen that follows the cursor on cards */
.card { --mx: 50%; --my: 50%; }
.card::before {
  content: ""; position: absolute; inset: 0; z-index: 2; opacity: 0; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(79, 211, 255, 0.18), transparent 60%);
  transition: opacity 0.4s var(--ease);
}
.card:hover::before { opacity: 1; }

/* ============================================================
   CUSTOM SELECT + INPUT HOVER
   ============================================================ */
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231f4fd6' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
.field input:hover, .field select:hover { border-color: var(--cyan); box-shadow: 0 6px 22px -10px rgba(47, 107, 255, 0.55); }

/* ============================================================
   GALLERY — caption + glow lift on hover
   ============================================================ */
.gallery__item { transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.gallery__item:hover { transform: translateY(-6px); box-shadow: 0 36px 70px -34px rgba(15, 35, 80, 0.6); }
.gallery__item figcaption { transform: translateY(8px); opacity: 0.92; transition: transform 0.5s var(--ease), opacity 0.5s var(--ease); }
.gallery__item:hover figcaption { transform: translateY(0); opacity: 1; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(120deg, rgba(47, 107, 255, 0.35), transparent 55%);
  transition: opacity 0.5s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }

/* Eyebrow + link micro-interaction */
.card__link span { transition: transform 0.4s var(--ease); }
.card:hover .card__link span { transform: translateX(4px); }

@media (hover: none) {
  .scroll-progress { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps, .team__grid { grid-template-columns: repeat(2, 1fr); }
  .testi__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav { padding: 0.55rem 0.55rem 0.55rem 1.25rem; justify-content: space-between; gap: 0.5rem; }
  .nav__brand { font-size: 1.1rem; }

  .hero__inner { padding: 7.5rem 0 5rem; }
  .hero__stats { gap: 1.8rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about__grid, .contact__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; margin-inline: auto; padding-bottom: 3rem; }
  .about__chip { left: 0; }
  .about__img--sub { right: 0; width: 46%; }

  .cards, .steps, .team__grid, .gallery { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 240px; }
  .gallery__item--tall, .gallery__item--wide { grid-row: span 1; grid-column: span 1; }

  .float-a, .float-b { animation: none; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { width: 100%; padding-inline: 1rem; }
  .hero__inner { padding: 6.5rem 0 4.5rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__stats { gap: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero__stat-num { font-size: 1.9rem; }
  .hero__stat-label { font-size: 0.72rem; }
  .footer { padding-bottom: 6rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; align-items: center; }
  /* keep WhatsApp button clear of the footer content */
  .whatsapp-fab { bottom: 1rem; right: 1rem; width: 52px; height: 52px; }
  .to-top { bottom: 1rem; left: 1rem; right: auto; width: 46px; height: 46px; }
}
