:root {
  --teal: #095256;
  --teal-dark: #062e31;
  --teal-mid: #0d6b71;
  --sage: #8FBC94;
  --amber: #E58110;
  --amber-lt: #f9a03c;
  --amber-wash: #FBF1E3;
  --whatsapp: #25D366;
  --whatsapp-dark: #1ebe5a;
  --white: #FFFFFF;
  --offwhite: #f7fbfc;
  --ink: #23393b;
  --muted: #5a7577;
  --border: rgba(9,82,86,0.1);
  --radius: 14px;
  --maxw: 1240px;
  /* Section gutter: 6vw on narrow/medium screens; on very wide screens it
     grows just enough to keep content within --maxw instead of stretching
     edge-to-edge full bleed. */
  --pad: max(6vw, calc((100% - var(--maxw)) / 2 + 32px));
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Base is 16px on mobile/tablet; +2px on desktop so rem-based sizing across
   the whole site scales up proportionally without touching every rule. */
html { scroll-behavior: smooth; font-size: 16px; }
@media (max-width: 900px) { html { font-size: 16px; } }
body { font-family: 'Outfit', sans-serif; background: var(--offwhite); color: var(--ink); overflow-x: hidden; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
section { padding: 96px var(--pad); }
@media (max-width: 700px) { section { padding: 60px 5vw; } }

.s-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.s-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 500; line-height: 1.15; color: var(--teal); }
.s-title em { font-style: italic; color: var(--teal-mid); }
.s-intro { max-width: 620px; }
.s-intro p { margin-top: 16px; font-size: 1rem; font-weight: 300; color: var(--muted); line-height: 1.8; }

/* ===== NAV ===== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad); background: rgba(9,82,86,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(143,188,148,0.18);
}
.nav-logo { display: flex; align-items: center; font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--white); text-decoration: none; letter-spacing: 0.02em; }
.nav-logo span { color: var(--sage); }
.nav-logo-img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(215,237,254,0.85); text-decoration: none; font-size: 0.86rem; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-links a.active:not(.nav-cta) { color: var(--amber-lt); font-weight: 600; }
.nav-links a.nav-cta { background: var(--amber); color: var(--white); font-weight: 600; letter-spacing: 0.04em; padding: 9px 20px; border-radius: 4px; }
.nav-links a.nav-cta:hover { background: var(--amber-lt); }
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; }
@media (max-width: 860px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed; top: 60px; left: 0; right: 0; background: var(--teal-dark);
    flex-direction: column; align-items: stretch; padding: 20px 6vw; gap: 16px;
    display: none; border-bottom: 1px solid rgba(143,188,148,0.18);
  }
  .nav-links.open { display: flex; }
  .nav-links a.nav-cta { text-align: center; }
}

/* ===== HERO SLIDER ===== */
.hero-slider { position: relative; height: 86vh; min-height: 560px; max-height: 800px; overflow: hidden; }
@media (max-width: 700px) { .hero-slider { height: 82vh; min-height: 500px; } }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 0.8s ease; display: flex; align-items: center;
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(6,46,49,0.92) 0%, rgba(9,82,86,0.78) 55%, rgba(9,82,86,0.55) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; margin: 40px var(--pad) 0; }
.hero-tag { display: inline-block; background: rgba(143,188,148,0.15); border: 1px solid rgba(143,188,148,0.4); color: var(--sage); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 7px 18px; border-radius: 40px; margin-bottom: 26px; }
.hero-content h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 500; line-height: 1.12; color: var(--white); }
.hero-content p { margin-top: 20px; font-size: clamp(0.95rem, 1.6vw, 1.1rem); font-weight: 300; color: rgba(215,237,254,0.85); max-width: 480px; line-height: 1.75; }
.hero-btns { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn-wa, .btn-cal, .btn-outline {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 14px 28px; border-radius: 4px; text-decoration: none; display: inline-flex;
  align-items: center; gap: 10px; transition: all 0.2s; border: none; cursor: pointer;
}
.btn-wa { background: var(--whatsapp); color: var(--white); }
.btn-wa:hover { background: var(--whatsapp-dark); transform: translateY(-2px); }
.btn-cal { background: var(--amber); color: var(--white); }
.btn-cal:hover { background: var(--amber-lt); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--white); }

.hero-dots { position: absolute; bottom: 34px; left: var(--pad); z-index: 2; display: flex; gap: 10px; }
.hero-dot { width: 32px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.3); border: none; cursor: pointer; padding: 0; transition: background 0.2s; }
.hero-dot.active { background: var(--amber); }
.hero-arrows { position: absolute; bottom: 30px; right: var(--pad); z-index: 2; display: flex; gap: 10px; }
.hero-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); color: white; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.hero-arrow:hover { background: rgba(255,255,255,0.18); }

/* ===== CLIENT LOGO MARQUEE ===== */
.clients-strip { background: var(--white); padding: 44px 0; border-bottom: 1px solid var(--border); overflow: hidden; }
.clients-label { text-align: center; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; align-items: center; animation: marquee 32s linear infinite; padding-right: 56px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 12px; white-space: nowrap; flex-shrink: 0; }
.marquee-item img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.marquee-item span { font-size: 0.92rem; font-weight: 500; color: var(--teal); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== SERVICES ===== */
.services { background: var(--offwhite); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 50px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }
.service-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: transform 0.25s, box-shadow 0.25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(9,82,86,0.1); }
.service-carousel { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.service-carousel img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.service-carousel img.active { opacity: 1; }
.service-carousel .sc-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.service-carousel .sc-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.5); }
.service-carousel .sc-dots span.active { background: var(--white); }
.service-body { padding: 30px 28px; }
.service-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--teal); margin-bottom: 12px; }
.service-body p { font-size: 0.88rem; font-weight: 300; color: var(--muted); line-height: 1.75; }
.service-list { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.service-list li { font-size: 0.82rem; color: var(--ink); display: flex; gap: 9px; }
.service-list li::before { content: '\2192'; color: var(--amber); flex-shrink: 0; }
.service-book-btn { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; background: var(--teal); color: var(--white); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 11px 20px; border-radius: 4px; text-decoration: none; transition: background 0.2s; }
.service-book-btn:hover { background: var(--teal-mid); }

/* ===== OUR WORK TABS ===== */
.work { background: var(--white); }
.ptabs { display: flex; gap: 0; margin-top: 40px; margin-bottom: 34px; border-bottom: 2px solid var(--border); flex-wrap: wrap; }
.ptab { padding: 12px 26px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: #7a9597; cursor: pointer; border: none; background: none; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.ptab:hover { color: var(--teal); }
.ptab.active { color: var(--teal); border-bottom-color: var(--amber); }
.ppanel { display: none; }
.ppanel.active { display: block; animation: fadeUp 0.3s ease; }

.scroll-row { display: flex; gap: 22px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.scroll-row::-webkit-scrollbar { height: 6px; }
.scroll-row::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 10px; }
.work-card { flex: 0 0 300px; scroll-snap-align: start; background: var(--offwhite); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s; }
.work-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(9,82,86,0.1); }
.work-thumb { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.work-info { padding: 20px 22px; }
.work-info .cat { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); }
.work-info h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--teal); margin: 6px 0 8px; }
.work-info p { font-size: 0.8rem; font-weight: 300; color: var(--muted); line-height: 1.6; }
.work-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.76rem; font-weight: 600; color: var(--teal); text-decoration: none; }
.work-link:hover { color: var(--amber); }

.sample-item { flex: 0 0 220px; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--offwhite); }
.sample-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.sample-label { padding: 10px 14px; font-size: 0.78rem; font-weight: 500; color: var(--teal); }

.cases { display: flex; flex-direction: column; gap: 22px; margin-top: 4px; }
.case-card { background: var(--offwhite); border-radius: var(--radius); border: 1px solid var(--border); display: grid; grid-template-columns: 280px 1fr; overflow: hidden; }
@media (max-width: 700px) { .case-card { grid-template-columns: 1fr; } }
.case-visual { background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%); }
.case-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.case-body { padding: 30px 34px; }
.case-body .cat { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); }
.case-body h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--teal); margin: 8px 0 10px; }
.case-body p { font-size: 0.85rem; font-weight: 300; color: var(--muted); line-height: 1.75; }
.case-metrics { display: flex; gap: 30px; margin-top: 20px; flex-wrap: wrap; }
.metric-num { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 600; color: var(--amber); line-height: 1; }
.metric-label { font-size: 0.7rem; color: #7a9597; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 4px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tag { background: rgba(9,82,86,0.06); color: var(--teal); font-size: 0.7rem; font-weight: 500; padding: 4px 12px; border-radius: 20px; }

/* ===== ARTICLES (featured, on landing page) ===== */
.articles-featured { background: var(--offwhite); }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
@media (max-width: 900px) { .articles-grid { grid-template-columns: 1fr; } }
.article-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(9,82,86,0.1); }
.article-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.article-body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.article-body .date { font-size: 0.72rem; color: #7a9597; letter-spacing: 0.05em; text-transform: uppercase; }
.article-body h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--teal); margin: 8px 0 10px; line-height: 1.3; }
.article-body p { font-size: 0.82rem; font-weight: 300; color: var(--muted); line-height: 1.7; }
.read-more { display: inline-block; margin-top: auto; padding-top: 14px; font-size: 0.76rem; font-weight: 600; color: var(--amber); }
.articles-more { text-align: center; margin-top: 44px; }

/* ===== QUIZ / LEAD QUALIFIER ===== */
.qualify { background: var(--amber-wash); }
.qualify-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; margin-top: 8px; }
@media (max-width: 900px) { .qualify-inner { grid-template-columns: 1fr; gap: 40px; } }
.qualify-bullets { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.qb { display: flex; align-items: flex-start; gap: 12px; font-size: 0.87rem; color: var(--teal); line-height: 1.5; }
.qb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex-shrink: 0; margin-top: 5px; }

.quiz-card { background: var(--white); border-radius: 14px; padding: 36px 32px; box-shadow: 0 10px 44px rgba(9,82,86,0.12); }
.quiz-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--teal); }
.quiz-card > p.quiz-sub { font-size: 0.8rem; color: #7a9597; margin-top: 4px; margin-bottom: 22px; }
.qprog { display: flex; gap: 6px; margin-bottom: 24px; }
.qpb { height: 3px; flex: 1; border-radius: 10px; background: rgba(9,82,86,0.1); transition: background 0.3s; }
.qpb.active { background: var(--teal); }
.qpb.done { background: var(--sage); }
.qstep { display: none; }
.qstep.on { display: block; animation: fadeUp 0.3s ease; }
.qq { font-size: 0.92rem; font-weight: 500; color: var(--teal); margin-bottom: 14px; line-height: 1.5; }
.qopts { display: flex; flex-direction: column; gap: 9px; }
.qopt { display: flex; align-items: center; gap: 11px; padding: 12px 15px; border-radius: 6px; border: 1.5px solid var(--border); cursor: pointer; transition: all 0.16s; font-size: 0.84rem; color: #3a5254; background: var(--offwhite); }
.qopt:hover { border-color: var(--teal); color: var(--teal); }
.qopt.sel { border-color: var(--teal); background: rgba(9,82,86,0.06); color: var(--teal); font-weight: 500; }
.qinput { width: 100%; padding: 12px 15px; border: 1.5px solid rgba(9,82,86,0.15); border-radius: 6px; font-family: 'Outfit', sans-serif; font-size: 0.87rem; color: var(--teal); background: var(--offwhite); outline: none; margin-bottom: 10px; }
.qinput:focus { border-color: var(--teal); }
.qnav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.qbtn { padding: 10px 24px; border-radius: 4px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; border: none; }
.qbtn-next { background: var(--teal); color: var(--white); }
.qbtn-next:hover { background: var(--teal-mid); }
.qbtn-back { background: transparent; color: var(--teal); border: 1.5px solid rgba(9,82,86,0.2); }
.qresult { display: none; text-align: center; }
.qresult.on { display: block; animation: fadeUp 0.4s ease; }
.qr-badge { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; }
.qr-badge.hot { background: rgba(229,129,16,0.1); border: 2px solid var(--amber); color: var(--amber); }
.qr-badge.warm { background: rgba(9,82,86,0.08); border: 2px solid var(--teal); color: var(--teal); }
.qr-badge.cool { background: rgba(143,188,148,0.15); border: 2px solid var(--sage); color: var(--teal); }
.qr-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--teal); }
.qr-body { font-size: 0.84rem; color: var(--muted); margin: 10px auto 0; line-height: 1.7; max-width: 320px; }
.qr-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.qr-restart { margin-top: 12px; font-size: 0.76rem; color: #7a9597; cursor: pointer; text-decoration: underline; background: none; border: none; }

/* ===== BOOK / INQUIRE ===== */
.book { background: var(--white); }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 44px; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }
.book-form { background: var(--offwhite); border-radius: var(--radius); padding: 34px 32px; border: 1px solid var(--border); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--teal); margin-bottom: 7px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 6px;
  font-family: 'Outfit', sans-serif; font-size: 0.87rem; color: var(--ink); background: var(--white); outline: none;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--teal); }
.form-submit { width: 100%; margin-top: 6px; }
.book-direct { display: flex; flex-direction: column; gap: 16px; }
.book-direct-card { background: var(--teal); border-radius: var(--radius); padding: 30px 28px; color: var(--white); }
.book-direct-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.book-direct-card p { font-size: 0.85rem; font-weight: 300; color: rgba(215,237,254,0.85); line-height: 1.7; margin-bottom: 18px; }
.form-note { font-size: 0.76rem; color: #7a9597; margin-top: 12px; }
.form-success { display: none; text-align: center; padding: 30px; }
.form-success.on { display: block; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--teal); position: relative; overflow: hidden; }
.testimonials::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 80% 20%, rgba(143,188,148,0.1) 0%, transparent 60%); pointer-events: none; }
.testimonials .s-label { color: var(--sage); }
.testimonials .s-title { color: var(--white); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; position: relative; z-index: 1; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 30px 26px; }
.testi-stars { color: var(--amber-lt); font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p.quote { font-size: 0.92rem; font-weight: 300; color: rgba(255,255,255,0.9); line-height: 1.8; font-style: italic; }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testi-person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-person strong { display: block; font-size: 0.86rem; color: var(--white); font-weight: 600; }
.testi-person span { font-size: 0.76rem; color: rgba(215,237,254,0.65); }

/* ===== FAQ ===== */
.faq { background: var(--offwhite); }
.faq-list { max-width: 780px; margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 20px 24px; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 0.92rem; font-weight: 500; color: var(--teal); }
.faq-q .faq-icon { font-size: 1.1rem; color: var(--amber); flex-shrink: 0; transition: transform 0.25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 24px 20px; font-size: 0.86rem; font-weight: 300; color: var(--muted); line-height: 1.75; }

/* ===== CTA BAND ===== */
.cta-band { background: var(--teal-dark); padding: 96px var(--pad); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(143,188,148,0.09) 0%, transparent 70%); pointer-events: none; }
.cta-band .s-label { color: var(--sage); }
.cta-band .s-title { color: var(--white); max-width: 600px; margin: 0 auto; }
.cta-band p.lead { margin: 16px auto 0; font-size: 0.97rem; font-weight: 300; color: rgba(215,237,254,0.7); max-width: 440px; line-height: 1.75; }
.cta-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 42px; position: relative; z-index: 1; }

/* ===== FOOTER ===== */
.site-footer { background: #041a1c; padding: 60px var(--pad) 0; }
.footer-top { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 700px) { .footer-top { grid-template-columns: 1fr; gap: 30px; } }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; color: var(--white); }
.footer-logo span { color: var(--sage); }
.footer-logo-img { height: 32px; width: auto; display: block; }
.footer-brand p { font-size: 0.82rem; color: rgba(215,237,254,0.55); margin-top: 12px; line-height: 1.7; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.footer-social a {
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; background: rgba(255,255,255,0.06); color: var(--sage); text-decoration: none; transition: all 0.2s;
}
.footer-social a:hover { background: var(--sage); color: var(--teal-dark); }
.footer-col h5 { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: flex; align-items: center; gap: 9px; font-size: 0.84rem; color: rgba(215,237,254,0.6); text-decoration: none; margin-bottom: 10px; }
.footer-col a svg { flex-shrink: 0; opacity: 0.8; }
.footer-col a:hover { color: var(--white); }
.footer-col a:hover svg { opacity: 1; }
.footer-top .footer-col:nth-child(2) a::before { content: '\2192'; color: var(--sage); flex-shrink: 0; }
.footer-copy {
  position: relative; max-width: var(--maxw); margin: 0 auto; text-align: center;
  font-size: 0.74rem; color: rgba(215,237,254,0.25); padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.06);
}
/* Reserve clearance so the fixed WhatsApp bubble never sits on top of this
   last line of content — without it, the page looks like it won't scroll
   all the way down on narrow screens where the footer spans full width. */
.footer-copy.has-hanging { padding-bottom: 100px; }
@media (max-width: 600px) { .footer-copy.has-hanging { padding-bottom: 86px; } }
.footer-admin-link {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; color: rgba(215,237,254,0.2); text-decoration: none; transition: color 0.2s;
}
.footer-admin-link:hover { color: rgba(215,237,254,0.6); }

/* ===== WHATSAPP HANGING ===== */
.whatsapp-hanging {
  position: fixed; bottom: 26px; right: 26px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25); animation: pulse 2.4s infinite;
  text-decoration: none;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@media (max-width: 600px) { .whatsapp-hanging { width: 50px; height: 50px; bottom: 18px; right: 18px; } }

/* Once the footer scrolls into view, the button docks inline at the end of
   the copyright line instead of continuing to float over the footer. */
.whatsapp-hanging.docked {
  position: static; display: inline-flex; width: 22px; height: 22px; margin-left: 10px;
  vertical-align: middle; box-shadow: none; animation: none;
}
.whatsapp-hanging.docked svg { width: 13px; height: 13px; }

/* ===== POPUP ===== */
.site-popup {
  position: fixed; bottom: 100px; right: 26px; z-index: 160; max-width: 300px;
  background: var(--white); border-radius: 14px; box-shadow: 0 16px 44px rgba(0,0,0,0.2);
  overflow: hidden; animation: fadeUp 0.4s ease;
}
.site-popup .popup-close { position: absolute; top: 8px; right: 10px; background: rgba(0,0,0,0.4); color: white; border: none; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; font-size: 1rem; line-height: 1; z-index: 2; }
.popup-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.popup-body { padding: 18px 20px; }
.popup-body h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--teal); margin-bottom: 6px; }
.popup-body p { font-size: 0.8rem; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.popup-cta { display: block; text-align: center; background: var(--amber); color: white; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; padding: 10px; border-radius: 5px; text-decoration: none; }
@media (max-width: 600px) { .site-popup { right: 12px; left: 12px; max-width: none; bottom: 90px; } }

/* ===== PROJECTS / ARTICLES PAGES ===== */
.page-hero { background: var(--teal); padding: 150px var(--pad) 70px; text-align: center; }
.page-hero .s-label { color: var(--sage); }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 4.5vw, 3.2rem); color: var(--white); font-weight: 500; }
.page-hero p { margin-top: 14px; color: rgba(215,237,254,0.8); font-size: 0.95rem; max-width: 560px; margin-left: auto; margin-right: auto; font-weight: 300; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
.article-single { max-width: 760px; margin: 0 auto; padding: 60px var(--pad) 90px; }
.article-single img.cover { width: 100%; border-radius: var(--radius); margin-bottom: 30px; aspect-ratio: 16/9; object-fit: cover; }
.article-single h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--teal); font-weight: 600; line-height: 1.2; }
.article-single .meta { font-size: 0.8rem; color: #7a9597; margin: 14px 0 30px; letter-spacing: 0.03em; }
.article-single .content { font-size: 1rem; font-weight: 300; color: var(--ink); line-height: 1.9; }
.article-single .content p { margin-bottom: 18px; }
.article-single .content a { color: var(--teal); text-decoration: underline; }
.article-single .content ul, .article-single .content ol { margin: 0 0 18px 22px; }
.article-single .content li { margin-bottom: 6px; }
.article-single .content blockquote { border-left: 3px solid var(--amber); padding: 10px 22px; margin: 24px 0; font-style: italic; color: var(--muted); }
.article-single .content figure { margin: 28px 0; }
.article-single .content figure img { width: 100%; border-radius: var(--radius); display: block; }
.article-single .content figcaption { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 10px; font-style: italic; }
.article-single .content .dropcap {
  float: left; font-family: 'Cormorant Garamond', serif; font-size: 3.6em; line-height: 0.8;
  padding: 0.06em 0.1em 0 0; color: var(--teal); font-weight: 600;
}
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 600; color: var(--teal); text-decoration: none; margin-bottom: 30px; }
.back-link-bottom { margin: 34px 0 0; padding-top: 26px; border-top: 1px solid var(--border); }

.article-engage { display: flex; gap: 12px; margin: 24px 0 34px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.engage-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 30px;
  border: 1.5px solid var(--border); background: var(--offwhite); color: var(--muted);
  font-family: inherit; font-size: 0.82rem; font-weight: 500; cursor: pointer; transition: all 0.18s;
}
.engage-btn:hover { border-color: var(--teal); color: var(--teal); }
.engage-btn.like-btn.liked { background: rgba(229,129,16,0.1); border-color: var(--amber); color: var(--amber); cursor: default; }
.engage-btn.like-btn.liked svg { fill: var(--amber); stroke: var(--amber); }
.engage-btn:disabled { cursor: default; }
.engage-btn.like-btn.just-liked svg { animation: likePop 0.35s ease; }
@keyframes likePop { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
