/* ============================================================
   Sarah Ideas — Business Collaboration Page
   Brand-matched stylesheet (AR/EN bilingual, B2B)
   ============================================================ */

/* ---- Brand tokens (extracted from screenshots) ---- */
:root {
  --teal-900: #1f5d60;
  --teal-700: #3a8b8e;        /* primary brand teal */
  --teal-500: #5aa9ab;
  --mint-200: #d8eae9;        /* hero/section wash */
  --mint-100: #ecf4f3;
  --ink-900:  #1c2b2c;
  --ink-700:  #334546;
  --ink-500:  #6b7f80;
  --line:     #e3ecec;
  --white:    #ffffff;
  --shadow-sm: 0 1px 2px rgba(31, 93, 96, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 93, 96, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --container: 1180px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background-color: var(--white);
  color: var(--ink-900);
  font-family: 'Inter', 'Tajawal', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
::selection { background: var(--teal-700); color: var(--white); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--white); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-500); }

/* ---- Motion preferences ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---- Typography (bilingual) ---- */
body {
  font-family: 'Inter', 'Tajawal', system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body[dir="rtl"] {
  font-family: 'Tajawal', 'Cairo', 'Inter', system-ui, sans-serif;
}
h1, h2, h3 { color: var(--teal-700); margin: 0 0 .5rem; line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; color: var(--ink-700); }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--teal-700); font-weight: 800; letter-spacing: .5px;
}
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--teal-700);
  font-size: 22px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mint-100);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-name { font-size: 1.05rem; }

.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; padding: 0; margin: 0;
}
.nav-links a {
  color: var(--ink-700); font-size: .95rem; font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--teal-700); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius-pill);
  background: var(--teal-700); color: var(--white) !important;
  font-weight: 600; transition: background .15s, transform .15s;
}
.nav-cta:hover { background: var(--teal-900); transform: translateY(-1px); }

.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--teal-700);
  border-radius: var(--radius-pill);
  overflow: hidden;
  font-size: .85rem; font-weight: 600;
}
.lang-toggle button {
  padding: 6px 14px; color: var(--teal-700); background: transparent;
}
.lang-toggle button.active {
  background: var(--teal-700); color: var(--white);
}

/* mobile nav */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--teal-700);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: var(--mint-200);
  padding: 80px 0 160px;
  text-align: center;
  overflow: hidden;
}
.hero h1 { color: var(--teal-700); margin-bottom: 14px; }
.hero p.lead {
  max-width: 720px; margin: 0 auto 28px;
  color: var(--ink-700); font-size: 1.05rem;
}
.hero-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: .95rem;
  transition: transform .18s cubic-bezier(.4,0,.2,1),
              background .2s, box-shadow .25s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--rx,50%) var(--ry,50%),
                              rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 60%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.btn:active::after { opacity: 1; transition: opacity 0s; }
.btn-primary {
  background: var(--teal-700); color: var(--white);
  box-shadow: 0 4px 14px rgba(58,139,142,.25);
}
.btn-primary:hover {
  background: var(--teal-900); transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(31,93,96,.28);
}
.btn-ghost {
  background: var(--white); color: var(--teal-700);
  border: 1.5px solid var(--teal-700);
}
.btn-ghost:hover { background: var(--mint-100); transform: translateY(-2px); }

/* wave divider */
.wave {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: 120px;
  pointer-events: none;
}

/* ============================================================
   Section base
   ============================================================ */
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { display: inline-block; }
.section-head .underline {
  width: 56px; height: 2px; background: var(--teal-700);
  margin: 14px auto 0; border-radius: 2px;
}
.section-head p { max-width: 680px; margin: 16px auto 0; color: var(--ink-500); }

/* ============================================================
   Metrics grid
   ============================================================ */
.metrics-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.metric-card {
  position: relative; overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.4,0,.2,1),
              box-shadow .3s, border-color .3s;
}
.metric-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-700));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
body[dir="rtl"] .metric-card::before { transform-origin: right; }
.metric-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(31,93,96,.12);
  border-color: var(--teal-500);
}
.metric-card:hover::before { transform: scaleX(1); }
.metric-card:hover .icon {
  transform: scale(1.08) rotate(-4deg);
  background: var(--teal-700); color: var(--white);
}
.metric-card:hover .stat { color: var(--teal-900); letter-spacing: -.5px; }
.metric-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--mint-200); color: var(--teal-700);
  display: grid; place-items: center; margin-bottom: 18px;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1),
              background .25s, color .25s;
}
.metric-card .icon svg { width: 22px; height: 22px; }
.metric-card .stat {
  font-size: 2rem; font-weight: 800; color: var(--teal-700);
  line-height: 1; margin: 0 0 6px;
  transition: color .25s, letter-spacing .25s;
}
.metric-card .stat-label {
  font-size: .85rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: .06em;
  margin: 0 0 14px;
}
.metric-card h3 { font-size: 1.05rem; color: var(--ink-900); margin-bottom: 6px; }
.metric-card p  { font-size: .92rem; margin: 0; color: var(--ink-700); }

/* ============================================================
   Platforms — Showcase (redesigned)
   ============================================================ */
.platforms { background: var(--mint-100); }

.platform-showcase {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.platform-tile {
  position: relative; overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s, border-color .25s;
}
.platform-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(31,93,96,.14);
  border-color: var(--teal-500);
}

/* color stripe at top of each tile */
.tile-stripe {
  height: 6px;
  background: var(--teal-700);
}
.platform-tile[data-platform="instagram"] .tile-stripe {
  background: linear-gradient(90deg,#f9ce34,#ee2a7b 50%,#6228d7);
}
.platform-tile[data-platform="website"]  .tile-stripe { background: linear-gradient(90deg, var(--teal-500), var(--teal-700)); }
.platform-tile[data-platform="x"]        .tile-stripe { background: #0f1419; }
.platform-tile[data-platform="snapchat"] .tile-stripe { background: #fffc00; }

.tile-body { padding: 24px 22px 22px; flex: 1; display: flex; flex-direction: column; }

.tile-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.tile-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--mint-200); color: var(--teal-700);
  display: grid; place-items: center; flex-shrink: 0;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .25s, color .25s;
}
.platform-tile:hover .tile-icon {
  transform: scale(1.08) rotate(-4deg);
  background: var(--teal-700); color: var(--white);
}
.tile-icon svg { width: 22px; height: 22px; }
.tile-title { font-weight: 700; color: var(--ink-900); font-size: 1.05rem; line-height: 1.1; }
.tile-handle { font-size: .78rem; color: var(--ink-500); margin-top: 2px; }

.tile-stat {
  margin-bottom: 18px;
}
.tile-stat .big {
  font-size: 2.2rem; font-weight: 800; color: var(--teal-700);
  line-height: 1; display: block;
  transition: color .25s, letter-spacing .25s;
}
.platform-tile:hover .tile-stat .big {
  color: var(--teal-900); letter-spacing: -.5px;
}
.tile-stat .sub {
  font-size: .82rem; color: var(--ink-500);
  margin-top: 6px; display: block;
  text-transform: uppercase; letter-spacing: .06em;
}

/* Strength bars */
.tile-bars { margin-bottom: 18px; }
.bar-row {
  display: grid; grid-template-columns: 90px 1fr 36px;
  align-items: center; gap: 10px;
  margin-bottom: 8px;
  font-size: .8rem; color: var(--ink-700);
}
.bar-row:last-child { margin-bottom: 0; }
.bar-label { font-weight: 600; }
.bar-track {
  position: relative; height: 6px;
  background: var(--mint-100); border-radius: 999px;
  overflow: hidden;
}
.bar-fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-700));
  border-radius: 999px;
  width: 0;
  transition: width 1.2s cubic-bezier(.4,0,.2,1) .15s;
}
.platform-tile.in-view .bar-fill { width: var(--w, 0%); }
body[dir="rtl"] .bar-fill { left: auto; right: 0; }
.bar-val { text-align: end; font-weight: 700; color: var(--teal-700); font-size: .78rem; }

.tile-best {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--ink-700);
}
.tile-best strong { color: var(--teal-700); font-weight: 700; }

/* ============================================================
   Why us
   ============================================================ */
.why-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.why-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
}
.why-card h3 { color: var(--teal-700); margin-bottom: 10px; }

/* ============================================================
   Collab options / packages
   ============================================================ */
.packages {
  background: var(--mint-100);
}
.package-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.package-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.package-card:hover {
  border-color: var(--teal-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.package-card.featured {
  border: 2px solid var(--teal-700);
  position: relative;
}
.package-card .pkg-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--teal-700); color: var(--white);
  font-size: .7rem; font-weight: 700;
  padding: 4px 12px; border-radius: var(--radius-pill);
  letter-spacing: .08em; text-transform: uppercase;
}
.package-card h3 { color: var(--teal-700); margin-bottom: 8px; }
.package-card .pkg-desc { font-size: .9rem; color: var(--ink-500); margin-bottom: 18px; }
.package-card ul {
  list-style: none; padding: 0; margin: 0 0 24px;
  flex: 1;
}
.package-card li {
  position: relative; padding: 8px 0 8px 24px;
  font-size: .92rem; color: var(--ink-700);
  border-bottom: 1px dashed var(--line);
}
.package-card li:last-child { border-bottom: none; }
.package-card li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 14px; height: 14px;
  background: var(--mint-200); color: var(--teal-700);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a8b8e' stroke-width='3'><path d='M5 12l4 4 10-10'/></svg>");
  background-size: 10px; background-repeat: no-repeat; background-position: center;
}
body[dir="rtl"] .package-card li { padding: 8px 24px 8px 0; }
body[dir="rtl"] .package-card li::before { left: auto; right: 0; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials { background: var(--white); }

.testimonial-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonial-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-500);
}

.testimonial-card .quote-mark {
  position: absolute;
  top: 14px; inset-inline-end: 22px;
  font-family: Georgia, serif;
  font-size: 56px; line-height: 1;
  color: var(--mint-200);
  font-weight: 700;
  user-select: none;
}

.testimonial-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--teal-700);
  background: var(--mint-100);
  padding: 4px 10px; border-radius: var(--radius-pill);
  margin-bottom: 14px;
  align-self: flex-start;
}

.testimonial-quote {
  color: var(--ink-700);
  font-size: .95rem; line-height: 1.65;
  margin: 0 0 20px;
  flex: 1;
}

.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal-700); color: var(--white);
  display: grid; place-items: center;
  font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; color: var(--ink-900); font-size: .95rem; }
.testimonial-role { font-size: .8rem; color: var(--ink-500); }

/* ============================================================
   Contact form
   ============================================================ */
.contact {
  background: var(--mint-200);
  position: relative;
}
.contact-wrap {
  display: grid; gap: 40px;
  grid-template-columns: 1fr 1.4fr;
  align-items: start;
}
.contact-info h2 { margin-bottom: 14px; }
.contact-info p  { color: var(--ink-700); }
.contact-info .info-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; color: var(--ink-700);
}
.contact-info .info-item svg { width: 18px; height: 18px; color: var(--teal-700); flex-shrink: 0; }
.contact-info .info-item a { transition: color .15s; }
.contact-info .info-item a:hover { color: var(--teal-700); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid; gap: 16px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
}
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-size: .82rem; font-weight: 600; color: var(--ink-700);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink-900);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.form-field select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
body[dir="rtl"] .form-field select {
  background-position: left 14px center;
  padding-right: 14px;
  padding-left: 40px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal-700);
  box-shadow: 0 0 0 3px rgba(58,139,142,.12);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field.full { grid-column: 1 / -1; }
.form-submit {
  display: inline-flex; justify-content: center; align-items: center;
  width: 100%;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  background: var(--teal-700); color: var(--white);
  font-weight: 700;
  transition: background .15s, transform .15s;
}
.form-submit:hover { background: var(--teal-900); transform: translateY(-1px); }
.form-note {
  font-size: .8rem; color: var(--ink-500); margin-top: 12px; text-align: center;
}
.form-success {
  display: none;
  background: var(--mint-100);
  border: 1px solid var(--teal-500);
  color: var(--teal-900);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-weight: 600;
}
.form-success.show { display: block; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--ink-500);
  font-size: .9rem;
}
.footer-wrap {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--teal-700); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--mint-200); color: var(--teal-700);
  display: grid; place-items: center;
  transition: background .15s, color .15s;
}
.footer-socials a:hover { background: var(--teal-700); color: var(--white); }
.footer-socials svg { width: 16px; height: 16px; }

/* ============================================================
   Language visibility
   ============================================================ */
body:not([dir="rtl"]) [data-lang="ar"] { display: none !important; }
body[dir="rtl"] [data-lang="en"] { display: none !important; }

/* preserve block-level when AR is shown for headings/paragraphs */
body[dir="rtl"] h1[data-lang="ar"],
body[dir="rtl"] h3[data-lang="ar"],
body[dir="rtl"] p[data-lang="ar"],
body[dir="rtl"] li[data-lang="ar"],
body[dir="rtl"] div[data-lang="ar"] { display: block; }

/* Fix section-head inline-block override */
body[dir="rtl"] .section-head h2[data-lang="ar"] { display: inline-block; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 80px 1fr 36px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }
  .nav.open .nav-cta { display: inline-flex; }
  .hero { padding: 60px 0 120px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 1.85rem; }
}

/* ============================================================
   Micro-interactions & scroll reveal
   ============================================================ */

/* Scroll reveal — applied to sections / cards */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }

/* Staggered children inside .reveal-stagger */
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s cubic-bezier(.4,0,.2,1); }
.reveal-stagger.in-view > *               { opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(1)  { transition-delay: .05s; }
.reveal-stagger.in-view > *:nth-child(2)  { transition-delay: .12s; }
.reveal-stagger.in-view > *:nth-child(3)  { transition-delay: .19s; }
.reveal-stagger.in-view > *:nth-child(4)  { transition-delay: .26s; }
.reveal-stagger.in-view > *:nth-child(5)  { transition-delay: .33s; }
.reveal-stagger.in-view > *:nth-child(6)  { transition-delay: .40s; }
.reveal-stagger.in-view > *:nth-child(7)  { transition-delay: .47s; }
.reveal-stagger.in-view > *:nth-child(8)  { transition-delay: .54s; }
.reveal-stagger.in-view > *:nth-child(9)  { transition-delay: .60s; }
.reveal-stagger.in-view > *:nth-child(10) { transition-delay: .66s; }
.reveal-stagger.in-view > *:nth-child(11) { transition-delay: .72s; }

/* Section underline grows in when section reveals */
.section-head .underline { width: 0; transition: width .8s ease .25s; }
.section-head.in-view .underline { width: 56px; }

/* Logo hover */
.brand { transition: transform .25s; }
.brand:hover { transform: translateY(-1px); }
.brand-mark { transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .25s; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); box-shadow: 0 4px 12px rgba(58,139,142,.25); }

/* Nav link underline grow */
.nav-links a {
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--teal-700);
  transform: scaleX(0); transform-origin: center;
  transition: transform .25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* Lang toggle hover ripple */
.lang-toggle button { transition: background .2s, color .2s; }
.lang-toggle button:hover:not(.active) { background: var(--mint-100); }

/* CTA in nav: subtle arrow nudge */
.nav-cta { transition: background .15s, transform .2s, box-shadow .25s; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(31,93,96,.25); }

/* Hero floating accents */
.hero { position: relative; }
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.45);
  pointer-events: none;
  animation: floatY 9s ease-in-out infinite;
}
.hero::before { width: 110px; height: 110px; top: 18%;  inset-inline-start: 10%; animation-delay: -2s; }
.hero::after  { width: 70px;  height: 70px;  top: 60%;  inset-inline-end: 12%;   animation-delay: -5s; opacity: .7; }
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-18px); }
}

/* Hero headline subtle entrance */
.hero h1 {
  animation: heroIn .9s cubic-bezier(.2,.8,.2,1) both;
}
.hero p.lead { animation: heroIn .9s cubic-bezier(.2,.8,.2,1) .1s both; }
.hero-actions { animation: heroIn .9s cubic-bezier(.2,.8,.2,1) .2s both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* Form field focus polish */
.form-field { position: relative; }
.form-field input,
.form-field select,
.form-field textarea {
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: var(--teal-500); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { transform: translateY(-1px); }

/* Submit button pulse on hover */
.form-submit { position: relative; overflow: hidden; }
.form-submit::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.form-submit:hover::after { transform: translateX(100%); }

/* Testimonial micro-interactions */
.testimonial-card .quote-mark { transition: transform .35s cubic-bezier(.34,1.56,.64,1), color .25s; }
.testimonial-card:hover .quote-mark {
  color: var(--teal-500); transform: scale(1.15) rotate(-8deg);
}
.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.06);
}
.testimonial-avatar { transition: transform .3s cubic-bezier(.34,1.56,.64,1); }

/* Package card featured pulse */
@keyframes badgePulse {
  0%,100% { transform: translateX(-50%) scale(1); }
  50%     { transform: translateX(-50%) scale(1.06); }
}
.package-card.featured .pkg-badge { animation: badgePulse 2.4s ease-in-out infinite; }

/* Snapchat card subtle yellow accent */
.metric-card.snap-card::before {
  background: linear-gradient(90deg,#fffc00, #fde047);
}

/* Smooth mobile nav slide */
.nav.open .nav-links {
  animation: slideDown .25s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Focus visible (accessibility) */
:focus-visible {
  outline: 2px solid var(--teal-700);
  outline-offset: 3px;
  border-radius: 4px;
}
