/* ==========================================================================
   Rolexarticles.biz: shared custom styles
   Tailwind (CDN) handles layout utilities; this file holds reusable
   components, transitions and animations used across every page.
   ========================================================================== */

:root {
  --ink: #1e293b;
  --ink-soft: #475569;
  --accent: #059669;
  --accent-dark: #047857;
  --accent-light: #ecfdf5;
  --border: #e2e8f0;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: #a7f3d0; color: #064e3b; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem;
  border-radius: .75rem; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid #10b981;
  outline-offset: 3px;
  border-radius: .5rem;
}

/* ---------- Header & navigation ---------- */
.site-header {
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background-color .3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .95);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px -12px rgba(15, 23, 42, .15);
}

.nav-link {
  display: inline-block; padding: .5rem .9rem; border-radius: 9999px;
  font-weight: 500; font-size: .95rem; color: var(--ink-soft);
  transition: color .2s, background-color .2s;
}
.nav-link:hover { color: var(--ink); background: #f1f5f9; }
.nav-link.is-active { color: var(--accent-dark); background: var(--accent-light); font-weight: 600; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: .75rem; color: var(--ink);
  transition: background-color .2s;
}
.menu-toggle:hover { background: #f1f5f9; }

.mobile-menu { border-top: 1px solid var(--border); background: #fff; animation: slideDown .3s var(--ease-out); }
.mobile-link {
  display: block; padding: .8rem 1rem; border-radius: .75rem;
  font-weight: 500; color: var(--ink-soft); transition: background-color .2s, color .2s;
}
.mobile-link:hover { background: #f8fafc; color: var(--ink); }
.mobile-link.is-active { background: var(--accent-light); color: var(--accent-dark); font-weight: 600; }

@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.4rem; border-radius: 9999px; border: 1px solid transparent;
  font-weight: 600; line-height: 1.25; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
.btn .icon-arrow { transition: transform .2s var(--ease-out); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-lg { padding: .95rem 1.75rem; font-size: 1.05rem; }

.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(5, 150, 105, .65);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(5, 150, 105, .7); }

.btn-secondary { background: #fff; color: var(--ink); border-color: #cbd5e1; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(15, 23, 42, .3); }

.btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .45); transform: translateY(-2px); }

/* WhatsApp green darkened for AA contrast with white text */
.btn-whatsapp { background: #128c4a; color: #fff; }
.btn-whatsapp:hover { background: #0e7a40; transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(18, 140, 74, .7); }

.link-btn { font-weight: 600; color: var(--accent-dark); border-radius: .375rem; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }

.text-link { font-weight: 600; color: var(--accent-dark); text-decoration: underline; text-decoration-color: #6ee7b7; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.text-link:hover { text-decoration-color: var(--accent-dark); }

/* ---------- Typography helpers ---------- */
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); }
.eyebrow--light { color: #6ee7b7; }
.section-title { margin-top: .75rem; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; }
.section-lead { margin-top: 1rem; font-size: 1.125rem; line-height: 1.75; color: var(--ink-soft); }
.page-title { margin-top: .75rem; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }

.text-gradient {
  background: linear-gradient(100deg, #047857 0%, #059669 45%, #0d9488 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.pill {
  display: inline-flex; align-items: center; gap: .6rem; padding: .4rem 1rem;
  border-radius: 9999px; background: rgba(255, 255, 255, .85); border: 1px solid #a7f3d0;
  font-size: .875rem; font-weight: 600; color: #065f46; box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}

/* ---------- Avatars & icon tiles ---------- */
.avatar {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 3.25rem; height: 3.25rem; border-radius: 9999px; font-weight: 800; font-size: 1.05rem;
}
.avatar--sm { width: 2.5rem; height: 2.5rem; font-size: .85rem; }
.avatar--xl {
  width: 4.75rem; height: 4.75rem; font-size: 1.6rem; color: #fff;
  background: linear-gradient(135deg, #34d399, #047857);
  box-shadow: 0 10px 30px -10px rgba(5, 150, 105, .7), inset 0 0 0 4px rgba(255, 255, 255, .25);
}

.icon-tile {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 3rem; height: 3rem; border-radius: .9rem;
  background: var(--accent-light); color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px #d1fae5;
  transition: transform .3s var(--ease-out), background-color .3s, color .3s;
}
.icon-tile--sm { width: 2.5rem; height: 2.5rem; border-radius: .75rem; }
.icon-tile--light { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }

/* ---------- Hero ---------- */
.hero-bg {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(16, 185, 129, .14), transparent 60%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(14, 165, 233, .08), transparent 60%),
    linear-gradient(180deg, #ffffff, #f8fafc);
}
.float-a, .float-b, .float-c { transform-box: fill-box; transform-origin: center; }
.float-a { animation: float 6s ease-in-out infinite; }
.float-b { animation: float 7s ease-in-out -2s infinite; }
.float-c { animation: float 8s ease-in-out -4s infinite; }
.hero-caret { animation: blink 1.1s steps(1) infinite; }
.hero-pulse { animation: glow 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes glow { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* ---------- Stats strip ---------- */
.stat { display: flex; align-items: center; gap: 1rem; }
.stat-title { font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.stat-sub { font-size: .875rem; color: #64748b; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(50rem 22rem at 50% -20%, rgba(16, 185, 129, .13), transparent 70%),
    linear-gradient(180deg, #ffffff, #ffffff);
}
.page-hero--compact { padding-bottom: 3rem; }
@media (min-width: 1024px) { .page-hero { padding: 6rem 0 5rem; } .page-hero--compact { padding-bottom: 3.5rem; } }

.jump-link {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem;
  border-radius: 9999px; border: 1px solid var(--border); background: #fff;
  font-size: .9rem; font-weight: 600; color: var(--ink-soft);
  transition: border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.jump-link:hover { border-color: #6ee7b7; color: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 20px -12px rgba(5, 150, 105, .5); }

.chip { padding: .35rem .85rem; border-radius: 9999px; background: #f1f5f9; color: var(--ink-soft); font-size: .85rem; font-weight: 600; }

/* ---------- Service cards ---------- */
.service-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 2rem; border-radius: 1rem; background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.service-card:hover { transform: translateY(-6px); border-color: #a7f3d0; box-shadow: 0 24px 48px -20px rgba(15, 23, 42, .2); }
.service-card:hover .icon-tile { transform: scale(1.08) rotate(-4deg); background: var(--accent); color: #fff; }

.service-card--flagship {
  border: 0; color: #fff; padding: 2.25rem;
  background:
    radial-gradient(30rem 16rem at 100% 0%, rgba(52, 211, 153, .35), transparent 60%),
    linear-gradient(135deg, #047857 0%, #065f46 55%, #134e4a 100%);
}
.service-card--flagship:hover { box-shadow: 0 28px 56px -20px rgba(4, 120, 87, .55); }
.service-card--flagship:hover .icon-tile { background: #fff; color: var(--accent-dark); }
@media (min-width: 640px) { .service-card--flagship { padding: 2.75rem; } }

.badge-flagship {
  display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 9999px;
  background: rgba(255, 255, 255, .15); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.badge-soft {
  display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 9999px;
  background: var(--accent-light); color: var(--accent-dark); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}

.learn-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--accent-dark); }
.learn-more svg { transition: transform .3s var(--ease-out); }
.learn-more--light { color: #fff; }
.group:hover .learn-more svg, .learn-more:hover svg { transform: translateX(5px); }
.group:hover .learn-more, .learn-more:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* ---------- Generic lifted cards ---------- */
.trust-card {
  padding: 2rem; border-radius: 1rem; background: #fff; border: 1px solid var(--border);
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.trust-card:hover { transform: translateY(-6px); border-color: #a7f3d0; box-shadow: 0 24px 48px -20px rgba(15, 23, 42, .18); }

/* ---------- Testimonial carousel ---------- */
.carousel-viewport { overflow: hidden; border-radius: 1.5rem; touch-action: pan-y; }
.carousel-track { display: flex; transition: transform .7s var(--ease-out); will-change: transform; }
.carousel-slide { flex: 0 0 100%; min-width: 0; padding: .25rem; }
.testimonial-card {
  height: 100%; padding: 2rem; border-radius: 1.5rem; background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 18px 40px -24px rgba(15, 23, 42, .25);
}
@media (min-width: 640px) { .testimonial-card { padding: 3rem; } }

.carousel-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 9999px; background: #fff;
  border: 1px solid #cbd5e1; color: var(--ink);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.carousel-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.06); }
.carousel-dot {
  width: .65rem; height: .65rem; border-radius: 9999px; background: #cbd5e1;
  transition: width .35s var(--ease-out), background-color .35s;
}
.carousel-dot:hover { background: #94a3b8; }
.carousel-dot[aria-current="true"] { width: 1.9rem; background: var(--accent); }

/* ---------- CTA band glows ---------- */
.cta-glow { position: absolute; border-radius: 9999px; filter: blur(70px); pointer-events: none; }
.cta-glow-a { width: 26rem; height: 26rem; top: -10rem; right: -8rem; background: rgba(16, 185, 129, .35); }
.cta-glow-b { width: 22rem; height: 22rem; bottom: -10rem; left: -8rem; background: rgba(13, 148, 136, .3); }

/* ---------- How it works ---------- */
.process-step { position: relative; }
.process-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; border-radius: 1rem; font-weight: 800; font-size: 1.1rem;
  color: #fff; background: linear-gradient(135deg, #10b981, #047857);
  box-shadow: 0 12px 28px -10px rgba(16, 185, 129, .6);
}
/* Connector line between steps on large screens */
@media (min-width: 1024px) {
  .process-step:not(:last-child)::after {
    content: ""; position: absolute; top: 1.75rem; left: 4.5rem; right: -1rem; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(110, 231, 183, .55) 0 6px, transparent 6px 12px);
  }
}

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--border); border-radius: 1rem; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: #a7f3d0; box-shadow: 0 16px 36px -24px rgba(15, 23, 42, .25); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; font-weight: 700; cursor: pointer; list-style: none; border-radius: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { flex-shrink: 0; color: var(--accent); transition: transform .3s var(--ease-out); }
.faq[open] .faq-icon { transform: rotate(180deg); }
.faq p { padding: 0 1.5rem 1.4rem; color: var(--ink-soft); line-height: 1.75; }

/* ---------- Portfolio ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; padding: .4rem;
  border-radius: 1.25rem; background: #f1f5f9;
}
.filter-btn {
  padding: .6rem 1.15rem; border-radius: .9rem; font-size: .925rem; font-weight: 600; color: var(--ink-soft);
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.filter-btn:hover { color: var(--ink); background: rgba(255, 255, 255, .6); }
.filter-btn[aria-pressed="true"] { background: #fff; color: var(--accent-dark); box-shadow: 0 4px 14px -6px rgba(15, 23, 42, .25); }

.portfolio-item.is-hidden { display: none; }
.portfolio-item.is-entering { animation: popIn .45s var(--ease-out) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

.portfolio-card {
  display: flex; flex-direction: column; height: 100%; padding: 1.75rem;
  border-radius: 1rem; background: #fff; border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.portfolio-card:hover { transform: translateY(-4px); border-color: #a7f3d0; box-shadow: 0 24px 48px -24px rgba(15, 23, 42, .22); }

.tag { display: inline-flex; padding: .3rem .7rem; border-radius: 9999px; font-size: .75rem; font-weight: 700; letter-spacing: .03em; }
.tag--blog { background: #ecfdf5; color: #047857; }
.tag--copy { background: #fff7ed; color: #c2410c; }
.tag--localization { background: #eff6ff; color: #1d4ed8; }
.tag--editing { background: #f5f3ff; color: #6d28d9; }

.ba-switch { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: .25rem; border-radius: .9rem; background: #f1f5f9; }
.ba-btn {
  padding: .55rem .6rem; border-radius: .7rem; font-size: .8rem; font-weight: 600; color: #64748b; line-height: 1.3;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.ba-btn:hover { color: var(--ink); }
.ba-btn[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 10px -4px rgba(15, 23, 42, .25); }
.ba-btn[data-ba-show="before"][aria-pressed="true"] { color: #be123c; }
.ba-btn[data-ba-show="after"][aria-pressed="true"] { color: var(--accent-dark); }

/* Both panels share one grid cell so the card never jumps in height */
.ba-panels { display: grid; margin-top: 1rem; }
.ba-panel {
  grid-area: 1 / 1; padding: 1.1rem 1.25rem; border-radius: .9rem; line-height: 1.7; font-size: .95rem;
  transition: opacity .35s ease, transform .35s var(--ease-out), visibility .35s;
}
.ba-panel--before { background: #fff1f2; border-left: 4px solid #fda4af; color: #475569; }
.ba-panel--after { background: #f0fdf4; border-left: 4px solid var(--accent); color: var(--ink); }
.ba-panel[aria-hidden="true"] { opacity: 0; visibility: hidden; transform: translateY(6px); }

.change-chip {
  display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .65rem; border-radius: 9999px;
  background: #f8fafc; border: 1px solid var(--border); font-size: .75rem; font-weight: 600; color: var(--ink-soft);
}
.change-chip svg { color: var(--accent); }

/* ---------- Forms ---------- */
.field-label { display: block; margin-bottom: .5rem; font-size: .925rem; font-weight: 600; color: var(--ink); }
.field-input {
  width: 100%; padding: .8rem 1rem; border-radius: .8rem; background: #fff;
  border: 1.5px solid #cbd5e1; color: var(--ink); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field-input::placeholder { color: #94a3b8; }
.field-input:hover { border-color: #94a3b8; }
.field-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); }
.field-input.is-invalid { border-color: #e11d48; background: #fff1f2; }
.field-input.is-invalid:focus { box-shadow: 0 0 0 4px rgba(225, 29, 72, .15); }
.field-error {
  display: flex; align-items: center; gap: .35rem; margin-top: .45rem;
  font-size: .85rem; font-weight: 600; color: #be123c; animation: shakeIn .35s ease;
}
.field-error[hidden] { display: none; }
@keyframes shakeIn { 0% { opacity: 0; transform: translateX(-6px); } 50% { transform: translateX(3px); } 100% { opacity: 1; transform: none; } }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select-icon { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: #64748b; }

/* Hide number spinners for a cleaner look */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

/* File upload dropzone */
.dropzone {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer;
  border: 2px dashed #cbd5e1; border-radius: 1rem; background: #f8fafc;
  transition: border-color .2s, background-color .2s;
}
.dropzone:hover, .dropzone.is-dragover { border-color: var(--accent); background: var(--accent-light); }
.dropzone.has-file { border-style: solid; border-color: #6ee7b7; background: var(--accent-light); }
.dropzone.is-invalid { border-color: #e11d48; background: #fff1f2; }
.field:has(input[type="file"]:focus-visible) .dropzone { outline: 3px solid #10b981; outline-offset: 3px; }

/* ---------- Estimator ---------- */
.range {
  --fill: 10%;
  width: 100%; height: .5rem; border-radius: 9999px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background: linear-gradient(90deg, var(--accent) 0 var(--fill), #e2e8f0 var(--fill) 100%);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 1.6rem; height: 1.6rem; border-radius: 9999px;
  background: #fff; border: 5px solid var(--accent); box-shadow: 0 4px 12px rgba(5, 150, 105, .4);
  transition: transform .15s;
}
.range::-webkit-slider-thumb:hover { transform: scale(1.12); }
.range::-moz-range-thumb {
  width: 1.1rem; height: 1.1rem; border-radius: 9999px; background: #fff;
  border: 5px solid var(--accent); box-shadow: 0 4px 12px rgba(5, 150, 105, .4);
}
.range:focus-visible { outline-offset: 6px; }

.option-card {
  display: block; height: 100%; padding: 1.1rem 1.25rem; border-radius: 1rem; cursor: pointer;
  border: 2px solid var(--border); background: #fff;
  transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s;
}
.option-card:hover { border-color: #a7f3d0; transform: translateY(-2px); }
.option-input:checked + .option-card { border-color: var(--accent); background: #f0fdf4; box-shadow: 0 10px 24px -16px rgba(5, 150, 105, .7); }
.option-input:focus-visible + .option-card { outline: 3px solid #10b981; outline-offset: 3px; }
.option-badge { padding: .2rem .6rem; border-radius: 9999px; background: #f1f5f9; font-size: .8rem; font-weight: 800; color: var(--ink-soft); }
.option-input:checked + .option-card .option-badge { background: var(--accent); color: #fff; }

.bump { animation: bump .35s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.05); color: #6ee7b7; } 100% { transform: scale(1); } }
#est-total { display: inline-block; transform-origin: left center; }

.rate-table tr { transition: background-color .2s; }
.rate-table tr:hover { background: #f8fafc; }

/* ---------- Contact page ---------- */
.step-dot {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 2rem; height: 2rem; border-radius: 9999px; background: var(--accent-light);
  color: var(--accent-dark); font-weight: 800; font-size: .875rem;
}

/* ---------- Success modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(15, 23, 42, .55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .3s ease;
}
.modal-panel {
  position: relative; width: 100%; max-width: 30rem; padding: 2.5rem 2rem; text-align: center;
  border-radius: 1.5rem; background: #fff; box-shadow: 0 40px 80px -20px rgba(15, 23, 42, .45);
  opacity: 0; transform: translateY(24px) scale(.94);
  transition: opacity .35s ease, transform .45s var(--ease-out);
}
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-panel { opacity: 1; transform: none; }

.success-icon { width: 5rem; height: 5rem; margin: 0 auto; }
.success-icon svg { width: 100%; height: 100%; }
.success-circle { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 152; stroke-dashoffset: 152; }
.success-check { stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.modal.is-open .success-circle { animation: draw .6s .15s var(--ease-out) forwards; }
.modal.is-open .success-check { animation: draw .4s .65s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Footer ---------- */
.footer-heading { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer-link { font-size: .925rem; color: #94a3b8; border-radius: .25rem; transition: color .2s; }
.footer-link:hover { color: #6ee7b7; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem;
  border-radius: 9999px; background: rgba(255, 255, 255, .06); color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .2s, color .2s, transform .2s;
}
.social-link:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: #128c4a; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(18, 140, 74, .7);
  transition: transform .25s var(--ease-out), background-color .2s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); background: #0e7a40; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .success-circle, .success-check { stroke-dashoffset: 0; }
}
