/* ============================================================
   JB Otieno & Co Advocates — shared design system
   ============================================================ */

:root {
  /* Brand */
  --teal:        #1C5C6C;
  --teal-deep:   #14454F;
  --teal-700:    #18505E;
  --coral:       #E0795A;
  --coral-soft:  #E89379;
  --coral-deep:  #C9603F;

  /* Neutrals */
  --white:       #FFFFFF;
  --offwhite:    #F7F9FA;
  --offwhite-2:  #EDF2F3;
  --charcoal:    #1F2A2E;
  --ink-soft:    #44565B;
  --ink-faint:   #7A8B90;
  --line:        #E2E9EB;

  /* Type */
  --head: "Poppins", system-ui, sans-serif;
  --body: "Open Sans", system-ui, sans-serif;

  /* Rhythm */
  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 10px rgba(20,69,79,.06);
  --shadow:    0 14px 40px -18px rgba(20,69,79,.28);
  --shadow-lg: 0 30px 70px -30px rgba(20,69,79,.40);
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; color: var(--teal); font-weight: 700; letter-spacing: -.01em; }
h1 { font-weight: 800; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 3px; }

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tint { background: var(--offwhite); }
.eyebrow {
  font-family: var(--head); font-weight: 600; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--coral-deep);
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--coral); display: inline-block; }
.eyebrow--center { justify-content: center; }
.section-head { max-width: 680px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 1rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--coral); --fg: #fff; --bd: var(--coral);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--head); font-weight: 600; font-size: .98rem;
  padding: .82em 1.5em; border-radius: 100px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(224,121,90,.6); }
.btn--coral { --bg: var(--coral); --bd: var(--coral); }
.btn--coral:hover { --bg: var(--coral-deep); }
.btn--teal { --bg: var(--teal); --bd: var(--teal); box-shadow: none; }
.btn--teal:hover { --bg: var(--teal-deep); box-shadow: 0 12px 24px -10px rgba(28,92,108,.5); }
.btn--ghost { --bg: transparent; --fg: var(--teal); --bd: rgba(28,92,108,.35); box-shadow: none; }
.btn--ghost:hover { --bg: var(--teal); --fg: #fff; --bd: var(--teal); box-shadow: none; }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.5); box-shadow: none; }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--teal); --bd: #fff; box-shadow: none; }
.btn--lg { padding: 1em 1.9em; font-size: 1.05rem; }

.textlink {
  font-family: var(--head); font-weight: 600; color: var(--coral-deep);
  display: inline-flex; align-items: center; gap: .45em;
}
.textlink svg { width: 17px; height: 17px; transition: transform .2s ease; }
.textlink:hover svg { transform: translateX(4px); }

/* ============================================================
   LOGO
   ============================================================ */
.logo { display: inline-flex; align-items: center; gap: .7rem; }
.logo__img { height: 30px; width: auto; display: block; }
.logo--lg .logo__img { height: 46px; }
.logo__mark {
  font-family: var(--head); font-weight: 800; font-size: 1.9rem; line-height: 1;
  letter-spacing: -.04em; display: inline-flex; align-items: center; color: var(--teal);
}
.logo__o {
  width: .92em; height: .92em; border-radius: 50%;
  border: .18em solid var(--coral); margin-left: -.14em; box-sizing: border-box;
}
.logo__name {
  font-family: var(--head); font-weight: 600; font-size: .82rem; line-height: 1.18;
  color: var(--teal); letter-spacing: .01em;
}
.logo__name b { color: var(--coral-deep); font-weight: 700; }
.logo--stack { flex-direction: column; align-items: flex-start; gap: .25rem; }
.logo--lg .logo__mark { font-size: 2.6rem; }
.logo--lg .logo__name { font-size: 1rem; }

/* ============================================================
   UTILITY BAR + HEADER
   ============================================================ */
.utility {
  background: var(--teal-deep); color: rgba(255,255,255,.85);
  font-size: .82rem; font-family: var(--head); font-weight: 400;
}
.utility .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 1rem; }
.utility a { display: inline-flex; align-items: center; gap: .45em; color: rgba(255,255,255,.85); transition: color .15s; }
.utility a:hover { color: #fff; }
.utility svg { width: 15px; height: 15px; }
.utility__left { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.utility__social { display: flex; gap: .35rem; }
.utility__social a {
  width: 30px; height: 30px; border-radius: 50%; justify-content: center;
  background: rgba(255,255,255,.08);
}
.utility__social a:hover { background: var(--coral); }
.utility__social svg { width: 14px; height: 14px; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.97); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .25s ease; gap: 1rem; }
.site-header.is-stuck .wrap { height: 64px; }
.site-header .logo__mark { font-size: 1.55rem; }
.site-header.is-stuck .logo__name { display: none; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }
.nav__links a {
  font-family: var(--head); font-weight: 500; font-size: .96rem; color: var(--charcoal);
  position: relative; padding-block: .4rem;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--coral); transition: right .25s ease;
}
.nav__links a:hover { color: var(--teal); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { right: 0; }
.nav__links a[aria-current="page"] { color: var(--teal); font-weight: 600; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; width: 20px; height: 2px; background: var(--teal);
  border-radius: 2px; transition: transform .25s ease, opacity .2s ease; transform: translateX(-50%);
}
.nav-toggle span { top: 50%; transform: translate(-50%,-50%); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav__cta { display: none; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: calc(var(--header-h) + 24px) var(--gut) 40px; gap: 0;
    transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
    box-shadow: -20px 0 60px -30px rgba(0,0,0,.4); z-index: 60; overflow-y: auto; }
  .nav.is-open { transform: translateX(0); }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__links a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav__links a::after { display: none; }
  .nav__cta--mobile { display: inline-flex !important; margin-top: 1.4rem; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(20,69,79,.45); opacity: 0;
    visibility: hidden; transition: opacity .3s ease, visibility .3s ease; z-index: 55; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}
.nav__cta--mobile { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 48%, #2C7C8E 100%);
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(70px, 11vw, 140px); max-width: 720px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; }
.hero__rotator { color: var(--coral-soft); }
.hero p { color: rgba(255,255,255,.86); font-size: 1.18rem; margin-top: 1.4rem; max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }
.hero__values { display: flex; gap: 1.3rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,.18); }
.hero__value { display: flex; align-items: center; gap: .5rem; font-family: var(--head); font-weight: 500;
  font-size: .95rem; color: rgba(255,255,255,.9); }
.hero__value::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.hero__scales {
  position: absolute; right: -4%; bottom: -8%; width: min(620px, 52vw); color: #fff;
  opacity: .07; z-index: 1; pointer-events: none;
}
.hero__glow { position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,121,90,.32), transparent 70%);
  top: -180px; right: 8%; z-index: 1; }

/* ============================================================
   MOTIF WATERMARK (section headers)
   ============================================================ */
.motif-band { position: relative; overflow: hidden; }
.motif-band__icon {
  position: absolute; color: var(--teal); opacity: .045; z-index: 0; pointer-events: none;
}

/* ============================================================
   ABOUT TEASER
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.4rem, 5vw, 5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split--rev { direction: rtl; } .split--rev > * { direction: ltr; }

.portrait {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #E3ECEE 0 14px, #DCE7E9 14px 28px);
  display: flex; align-items: center; justify-content: center; color: var(--teal);
  overflow: hidden; box-shadow: var(--shadow);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.portrait--photo::after { display: none; }
.portrait::after { content: attr(data-label); position: absolute; bottom: 16px; left: 16px;
  font-family: ui-monospace, monospace; font-size: .72rem; letter-spacing: .04em;
  color: var(--ink-faint); background: rgba(255,255,255,.85); padding: .35em .6em; border-radius: 6px; }
.portrait__badge {
  position: absolute; bottom: -22px; right: -18px; background: var(--coral); color: #fff;
  padding: 1.1rem 1.4rem; border-radius: var(--radius-sm); box-shadow: var(--shadow);
  font-family: var(--head); max-width: 200px;
}
.portrait__badge b { display: block; font-size: 1.5rem; line-height: 1; }
.portrait__badge span { font-size: .8rem; opacity: .9; }
.placeholder {
  position: relative; border-radius: var(--radius); overflow: hidden; color: var(--ink-faint);
  background: repeating-linear-gradient(135deg, #E3ECEE 0 14px, #DCE7E9 14px 28px);
  display: flex; align-items: center; justify-content: center; min-height: 220px;
}
.placeholder span { font-family: ui-monospace, monospace; font-size: .76rem; background: rgba(255,255,255,.82);
  padding: .4em .7em; border-radius: 6px; }

/* ============================================================
   CARDS — generic / value / practice / why / insight
   ============================================================ */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }

.icon-badge {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(28,92,108,.08); color: var(--teal); margin-bottom: 1.3rem; transition: background .22s, color .22s;
}
.icon-badge svg { width: 28px; height: 28px; }
.card:hover .icon-badge { background: var(--coral); color: #fff; }
.value-card { text-align: left; }
.value-card .icon-badge { background: rgba(224,121,90,.12); color: var(--coral-deep); }

/* practice card */
.pa-card { position: relative; overflow: hidden; }
.pa-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--coral); transform: scaleY(0); transform-origin: top; transition: transform .25s ease; }
.pa-card:hover::before { transform: scaleY(1); }
.pa-card .read { margin-top: 1.1rem; }
.pa-services { display: grid; gap: .85rem; }
.pa-services li { display: flex; gap: .7rem; align-items: flex-start; font-size: .97rem; color: var(--ink-soft); }
.pa-services svg { width: 20px; height: 20px; color: var(--coral-deep); flex: none; margin-top: 2px; }

/* why-choose */
.why-card { display: flex; gap: 1.1rem; align-items: flex-start; }
.why-card .num { font-family: var(--head); font-weight: 800; font-size: 1.6rem; color: var(--coral);
  line-height: 1; flex: none; width: 2.2rem; }
.why-card h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.why-card p { font-size: .95rem; color: var(--ink-soft); }

/* insight card */
.insight { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease; }
.insight:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.insight__img { aspect-ratio: 16/10; background: repeating-linear-gradient(135deg, #E3ECEE 0 14px, #DCE7E9 14px 28px);
  position: relative; display: flex; align-items: center; justify-content: center; }
.insight__img span { font-family: ui-monospace, monospace; font-size: .72rem; color: var(--ink-faint);
  background: rgba(255,255,255,.82); padding: .35em .6em; border-radius: 6px; }
.insight__tag { position: absolute; top: 14px; left: 14px; background: var(--teal); color: #fff;
  font-family: var(--head); font-weight: 600; font-size: .72rem; padding: .35em .8em; border-radius: 100px; letter-spacing: .03em; }
.insight__body { padding: 1.6rem 1.5rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.insight__date { font-size: .82rem; color: var(--ink-faint); font-family: var(--head); font-weight: 500; }
.insight__body h3 { font-size: 1.18rem; margin: .5rem 0 .7rem; }
.insight__body p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.insight__body .read { margin-top: 1.1rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: linear-gradient(120deg, var(--teal-deep), var(--teal)); color: #fff; position: relative; overflow: hidden; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding-block: clamp(48px, 7vw, 80px); position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 620px; }
.cta-band p { color: rgba(255,255,255,.82); margin-top: .6rem; }
.cta-band__scales { position: absolute; right: 2%; top: 50%; transform: translateY(-50%); width: 300px;
  color: #fff; opacity: .08; z-index: 1; }

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-head { background: linear-gradient(135deg, var(--teal-deep), var(--teal)); color: #fff;
  position: relative; overflow: hidden; }
.page-head .wrap { position: relative; z-index: 2; padding-block: clamp(56px, 8vw, 96px); }
.page-head h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); }
.page-head p { color: rgba(255,255,255,.85); margin-top: 1rem; max-width: 560px; font-size: 1.12rem; }
.page-head__scales { position: absolute; right: -2%; bottom: -30%; width: min(420px, 40vw); color: #fff; opacity: .08; z-index: 1; }
.crumbs { font-family: var(--head); font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; display: flex; gap: .5rem; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--coral-soft); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--head); font-weight: 600; font-size: .88rem; margin-bottom: .45rem; color: var(--teal); }
.field input, .field textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; padding: .85em 1em;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--charcoal);
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(28,92,108,.12); }
.field.has-error input, .field.has-error textarea { border-color: var(--coral-deep); }
.field__err { color: var(--coral-deep); font-size: .82rem; margin-top: .35rem; display: none; font-family: var(--head); font-weight: 500; }
.field.has-error .field__err { display: block; }
.form-note { font-size: .85rem; color: var(--ink-faint); margin-top: .4rem; }
.form-success { background: rgba(28,92,108,.07); border: 1px solid rgba(28,92,108,.2); border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; color: var(--teal); font-family: var(--head); font-weight: 500; margin-top: 1rem; display: none; }
.form-success.show { display: block; }

.info-list { display: grid; gap: 1.4rem; }
.info-row { display: flex; gap: 1.1rem; align-items: flex-start; }
.info-row .icon-badge { margin: 0; flex: none; width: 48px; height: 48px; }
.info-row .icon-badge svg { width: 22px; height: 22px; }
.info-row h4 { font-family: var(--head); font-size: 1.02rem; color: var(--teal); margin-bottom: .15rem; }
.info-row p, .info-row a { color: var(--ink-soft); font-size: .98rem; }
.info-row a:hover { color: var(--coral-deep); }
.hours { display: grid; gap: .5rem; margin-top: .4rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.hours div:last-child { border-bottom: none; }
.hours span:last-child { color: var(--teal); font-weight: 600; font-family: var(--head); }
.map { aspect-ratio: 16/8; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, #E3ECEE 0 16px, #DCE7E9 16px 32px); position: relative;
  display: flex; align-items: center; justify-content: center; }
.map__pin { display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--teal); text-align: center; }
.map__pin svg { width: 40px; height: 40px; color: var(--coral); }
.map__pin span { font-family: var(--head); font-weight: 600; font-size: .95rem; }
.map__pin small { font-family: ui-monospace, monospace; font-size: .7rem; color: var(--ink-faint); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--teal-deep); color: rgba(255,255,255,.72); padding-block: clamp(54px, 7vw, 80px) 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo__mark, .site-footer .logo__name { color: #fff; }
.site-footer .logo__name b { color: var(--coral-soft); }
.footer-about p { font-size: .92rem; margin-top: 1.1rem; max-width: 280px; }
.footer-col h4 { font-family: var(--head); color: #fff; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a, .footer-col li { font-size: .92rem; transition: color .15s; }
.footer-col a:hover { color: var(--coral-soft); }
.footer-contact div { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; margin-bottom: .9rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--coral-soft); flex: none; margin-top: 3px; }
.footer-social { display: flex; gap: .55rem; margin-top: 1.3rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); transition: background .18s; }
.footer-social a:hover { background: var(--coral); }
.footer-social svg { width: 16px; height: 16px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: clamp(40px, 5vw, 60px); padding-block: 1.6rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after {
  content: "Chat on WhatsApp"; position: absolute; right: 72px; white-space: nowrap;
  background: var(--charcoal); color: #fff; font-family: var(--head); font-size: .82rem; font-weight: 500;
  padding: .5em .8em; border-radius: 8px; opacity: 0; transform: translateX(8px); transition: opacity .2s, transform .2s; pointer-events: none;
}
.wa-float:hover::after { opacity: 1; transform: translateX(0); }
.wa-float__pulse { position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
@media (max-width: 520px) { .wa-float { width: 54px; height: 54px; } .wa-float::after { display: none; } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .wa-float__pulse { animation: none; }
}
