/* ZenAstro Mind — Mid-fi wireframe styles */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --cream: #f8f5f0;
  --cream-2: #efe9df;
  --cream-3: #e6ddcc;
  --purple: #4b2073;
  --purple-2: #6b3aa0;
  --purple-soft: #d9ccea;
  --gold: #c5a059;
  --ink: #2a1f2a;
  --ink-2: #6a5a6a;
  --line: #d8c8b8;
  --shape: #e6ddcc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; line-height: 1.2; }

a { color: inherit; text-decoration: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ---------- Nav ---------- */
.nav {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  position: sticky; top: 0; z-index: 10;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; max-width: 1180px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  height: 52px; width: auto; display: block;
}
.brand-text { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--gold); }
.brand-text small { display: block; font-size: 10px; letter-spacing: 2px; color: var(--ink-2); font-family: 'Outfit', sans-serif; }
.nav .brand-text { display: block; } /* shown — new logo is emblem-only, so the wordmark is live text */

.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 15px; color: var(--ink); }
.nav-links a.active { color: var(--purple); font-weight: 600; }
.nav-links a:hover { color: var(--purple); }

.btn {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  background: var(--purple); color: #fff; font-weight: 500; font-size: 14px;
  border: none; cursor: pointer; transition: background .2s;
}
.btn:hover { background: var(--purple-2); }
.btn-outline {
  background: transparent; color: var(--purple); border: 1.5px solid var(--purple);
}

/* ---------- Generic sections ---------- */
section { padding: 80px 0; }
.section-tag {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--purple); font-weight: 600; margin-bottom: 16px;
}
.section-title { font-size: 44px; margin-bottom: 16px; }
.section-title .accent { color: var(--purple); }
.section-sub { color: var(--ink-2); font-size: 17px; max-width: 640px; }

/* ---------- Hero ---------- */
.hero {
  text-align: center; padding: 80px 0 60px;
  background:
    linear-gradient(180deg, rgba(250,246,239,0.94) 0%, rgba(240,232,216,0.96) 100%),
    url('images/hero-bg.jpg') center/cover no-repeat;
  position: relative; overflow: hidden;
}
.hero > .container { position: relative; z-index: 2; }

/* Constellation overlay */
.hero-stars {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.hero-stars circle { fill: var(--gold); }
.hero-stars line { stroke: var(--gold); stroke-width: 0.6; opacity: 0.25; }
.hero-stars .twinkle { animation: twinkle 3s ease-in-out infinite; }
.hero-stars .twinkle-delay { animation-delay: 1s; }
.hero-stars .twinkle-delay-2 { animation-delay: 2s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1;   }
}
.hero-mark {
  width: auto; max-width: 380px; height: auto; max-height: 350px;
  display: block; margin: 0 auto 4px;
}
.hero-wordmark {
  font-family: 'Cormorant Garamond', serif; font-weight: 700;
  font-size: 42px; line-height: 1; color: var(--gold);
  text-align: center; margin: 0;
}
.hero-tagline {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 21px; color: var(--ink-2); text-align: center; margin: 6px 0 4px;
}
.hero-pillars {
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); text-align: center; margin-bottom: 24px;
}
.hero h1 { font-size: 56px; margin-bottom: 12px; color: var(--gold); }
.hero .tagline { font-style: italic; color: var(--ink-2); margin-bottom: 8px; }
.hero .pills { font-size: 12px; letter-spacing: 4px; color: var(--ink-2); margin-bottom: 36px; }
.hero-pill {
  display: inline-block; padding: 8px 20px; border-radius: 999px;
  background: var(--purple-soft); color: var(--purple);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 36px;
}
.hero h2 { font-size: 60px; max-width: 900px; margin: 0 auto 32px; }
.hero h2 .accent { color: var(--purple); }

/* ---------- Two-col problem ---------- */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.shape-card {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: 16px;
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.shape-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.shape-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(74,47,122,0.0) 50%, rgba(42,31,42,0.55) 100%);
}
.shape-card .caption {
  position: absolute; bottom: 20px; left: 0; right: 0; text-align: center;
  font-style: italic; color: #fff; font-size: 14px; letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

.list-rows { margin-top: 24px; }
.list-row {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 20px; margin-bottom: 12px; background: var(--cream);
  font-size: 15px; color: var(--ink);
}
.list-row::before { content: "✦"; color: var(--gold); margin-right: 12px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag {
  padding: 6px 14px; border-radius: 999px;
  background: var(--purple-soft); color: var(--purple);
  font-size: 13px; font-weight: 500;
}

/* ---------- Framework ---------- */
.framework {
  background: var(--cream-2); text-align: center;
}
.framework-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px;
}
.framework-card {
  background: var(--cream); border-radius: 16px; padding: 40px 28px;
  border: 1px solid var(--line);
}
.framework-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--purple-soft); color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-family: serif; font-style: italic; font-size: 20px;
}
.framework-card h3 { font-size: 28px; margin-bottom: 16px; }
.framework-card p { color: var(--ink-2); font-size: 15px; }

/* ---------- Center CTA ---------- */
.center-cta { text-align: center; margin-top: 48px; }

/* ---------- Comparison ---------- */
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px;
}
.compare-col {
  background: var(--cream); border-radius: 16px; padding: 28px;
  border: 1px solid var(--line);
}
.compare-col.bad { background: #fbeeee; border-color: #e8c8c8; }
.compare-col.good { background: #f1ebfa; border-color: var(--purple-soft); }
.compare-thumb {
  width: 100%; aspect-ratio: 16/7; object-fit: cover;
  border-radius: 12px; margin-bottom: 20px;
  display: block;
}
.compare-col.bad  .compare-thumb { filter: grayscale(0.4) brightness(0.9) sepia(0.15); }
.compare-col.good .compare-thumb { filter: brightness(1.05) saturate(1.05); }
.compare-col h3 { font-size: 22px; margin-bottom: 20px; }
.compare-row {
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.compare-row:last-child { border-bottom: none; }
.compare-col.bad .compare-row::before { content: "✕  "; color: #b04545; }
.compare-col.good .compare-row::before { content: "✦  "; color: var(--gold); }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px;
}
.service-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(74,47,122,.08); }
.service-thumb {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
  background: var(--cream-2);
}
.service-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--purple-soft); margin: -44px 0 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--purple); font-size: 22px;
  border: 3px solid var(--cream); position: relative; z-index: 1;
}
.service-body h3 { font-size: 22px; margin-bottom: 12px; }
.service-body p { color: var(--ink-2); font-size: 15px; margin-bottom: 16px; min-height: 66px; }
.service-body .price { color: var(--purple); font-weight: 600; font-size: 18px; margin-bottom: 16px; }
.service-body ul { list-style: none; }
.service-body li { padding: 6px 0; font-size: 14px; color: var(--ink-2); }
.service-body li::before { content: "✦ "; color: var(--gold); }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px; margin-top: 48px;
}
.testimonial-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  padding: 32px;
}
.testimonial-quote { font-size: 60px; line-height: 1; color: var(--purple-soft); font-family: serif; }
.testimonial-text { font-size: 16px; color: var(--ink); margin: 12px 0 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--gold); display: block;
}
.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-role { font-size: 13px; color: var(--ink-2); }
.stars { color: var(--gold); margin-bottom: 12px; letter-spacing: 2px; }

/* ---------- Video testimonial cards ---------- */
.video-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(74,47,122,.12); }
.video-thumb {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: var(--ink); cursor: pointer;
}
.video-poster {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: .88; transition: opacity .25s, transform .35s;
}
.video-card:hover .video-poster { opacity: 1; transform: scale(1.04); }
.video-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 45%, rgba(0,0,0,0.55) 100%);
}
.video-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--gold); color: #fff;
  border: 3px solid rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; padding-left: 5px;
  cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.video-card:hover .video-play {
  background: var(--purple); transform: translate(-50%, -50%) scale(1.08);
}
.video-duration {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.65); color: #fff;
  padding: 3px 10px; border-radius: 4px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.5px;
}
.video-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--purple); color: #fff;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}
.video-meta { padding: 22px 24px 26px; }
.video-quote {
  font-size: 15px; color: var(--ink); margin: 8px 0 16px;
  font-style: italic; line-height: 1.5;
}
.video-quote::before { content: "“ "; color: var(--gold); font-size: 20px; }
.video-quote::after { content: " ”"; color: var(--gold); font-size: 20px; }
.video-author { display: flex; align-items: center; gap: 12px; }
.video-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--gold); display: block;
}
.video-name { font-weight: 600; font-size: 14px; }
.video-role { font-size: 12px; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 48px;
}
.contact-info-item { margin-bottom: 24px; }
.contact-info-label {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--purple); font-weight: 600; margin-bottom: 6px;
}
.contact-info-value { font-size: 17px; color: var(--ink); }

.form { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; font-size: 13px; color: var(--ink-2);
  margin-bottom: 6px; font-weight: 500;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--cream-2);
  font-family: inherit; font-size: 15px; color: var(--ink);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--purple); background: #fff;
}

/* ---------- Page hero (smaller) ---------- */
.page-hero {
  background:
    linear-gradient(180deg, rgba(250,246,239,0.92) 0%, rgba(240,232,216,0.96) 100%),
    url('images/home-compare-zenastro.jpg') center/cover no-repeat;
  text-align: center; padding: 80px 0 60px;
}
.page-hero.services-bg {
  background:
    linear-gradient(180deg, rgba(250,246,239,0.92) 0%, rgba(240,232,216,0.96) 100%),
    url('images/service-activate.jpg') center/cover no-repeat;
}
.page-hero.testimonials-bg {
  background:
    linear-gradient(180deg, rgba(250,246,239,0.92) 0%, rgba(240,232,216,0.96) 100%),
    url('images/bg-extra2.jpg') center/cover no-repeat;
}
.page-hero.contact-bg {
  background:
    linear-gradient(180deg, rgba(250,246,239,0.92) 0%, rgba(240,232,216,0.96) 100%),
    url('images/bg-extra1.jpg') center/cover no-repeat;
}
.page-hero h1 { font-size: 52px; margin-bottom: 16px; }
.page-hero h1 .accent { color: var(--purple); }
.page-hero p { color: var(--ink-2); font-size: 18px; max-width: 640px; margin: 0 auto; }

/* ---------- Guide / About ---------- */
.guide-section { background: var(--cream-2); }
.guide-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center;
}
.guide-photo {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: 16px; border: 1px solid var(--line);
}
.guide-section h2 { font-size: 40px; margin-bottom: 16px; }
.guide-section h2 .accent { color: var(--purple); }
.guide-section p { color: var(--ink-2); font-size: 16px; margin-bottom: 16px; }
.guide-meta { display: flex; gap: 32px; margin-top: 24px; flex-wrap: wrap; }
.guide-meta-item .num {
  font-family: 'Cormorant Garamond', serif; font-size: 36px; color: var(--purple);
}
.guide-meta-item .label {
  font-size: 13px; color: var(--ink-2); letter-spacing: 1px;
}

/* Text-only guide variant (no photo yet) */
.guide-grid.no-photo { display: block; max-width: 760px; margin: 0 auto; text-align: center; }
.guide-grid.no-photo .guide-meta { justify-content: center; }

/* ---------- Contact map / city image ---------- */
.city-image {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--line); display: block;
}

/* ---------- AI Chat widget ---------- */
.chat-fab {
  position: fixed; bottom: 96px; right: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--purple); border: none; cursor: pointer;
  box-shadow: 0 6px 22px rgba(74, 47, 122, .45);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; transition: transform .2s, box-shadow .2s;
}
.chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(74, 47, 122, .6);
}
.chat-fab svg { width: 28px; height: 28px; fill: #fff; }
.chat-fab .chat-badge {
  position: absolute; top: -2px; right: -2px;
  background: var(--gold); color: #fff;
  width: 22px; height: 22px; border-radius: 50%;
  font-size: 11px; font-weight: 700; line-height: 22px; text-align: center;
  border: 2px solid var(--cream);
}
.chat-fab.is-open { display: none; }

.chat-panel {
  position: fixed; bottom: 96px; right: 24px;
  width: 380px; height: 560px; max-height: calc(100vh - 120px);
  background: var(--cream); border-radius: 16px;
  box-shadow: 0 16px 50px rgba(0,0,0,.25);
  display: none; flex-direction: column; overflow: hidden;
  z-index: 101;
  animation: chat-slide-up .25s ease-out;
}
.chat-panel.is-open { display: flex; }
@keyframes chat-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.chat-header {
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  color: #fff; padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
}
.chat-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  padding: 4px; flex-shrink: 0;
}
.chat-header-meta { flex: 1; }
.chat-title { font-family: 'Cormorant Garamond', serif; font-size: 17px; font-weight: 600; }
.chat-status {
  font-size: 12px; opacity: .85; display: flex; align-items: center; gap: 6px;
}
.chat-status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 6px #4ade80;
}
.chat-close {
  background: transparent; border: none; color: #fff;
  font-size: 26px; cursor: pointer; line-height: 1;
  padding: 4px; opacity: .8;
}
.chat-close:hover { opacity: 1; }

.chat-messages {
  flex: 1; overflow-y: auto; padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--cream);
}
.msg { display: flex; max-width: 85%; }
.msg.bot  { align-self: flex-start; }
.msg.user { align-self: flex-end; }
.msg-bubble {
  padding: 11px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45;
}
.msg.bot .msg-bubble {
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-top-left-radius: 4px;
}
.msg.user .msg-bubble {
  background: var(--purple); color: #fff;
  border-top-right-radius: 4px;
}
.msg-typing { display: flex; gap: 4px; padding: 14px; }
.msg-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--purple-soft);
  animation: typing-dot 1.2s infinite ease-in-out;
}
.msg-typing span:nth-child(2) { animation-delay: .15s; }
.msg-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing-dot {
  0%,60%,100% { transform: scale(0.7); opacity: .4; }
  30% { transform: scale(1); opacity: 1; }
}

.chat-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0 18px 12px;
}
.chat-chip {
  background: var(--cream-2); color: var(--purple);
  border: 1px solid var(--purple-soft);
  padding: 7px 12px; border-radius: 999px;
  font-size: 13px; cursor: pointer;
  transition: background .15s, color .15s;
}
.chat-chip:hover { background: var(--purple); color: #fff; }

.chat-input-row {
  padding: 12px; border-top: 1px solid var(--line);
  background: var(--cream); display: flex; gap: 8px;
}
.chat-input {
  flex: 1; padding: 10px 14px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--cream-2);
  font-family: inherit; font-size: 14px;
}
.chat-input:focus { outline: none; border-color: var(--purple); background: #fff; }
.chat-send {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--purple); color: #fff; border: none;
  cursor: pointer; font-size: 16px;
  transition: background .15s, transform .15s;
}
.chat-send:hover { background: var(--purple-2); transform: scale(1.05); }
.chat-foot {
  font-size: 11px; color: var(--ink-2);
  text-align: center; padding: 8px 12px 10px;
  background: var(--cream);
}
.chat-foot a { color: var(--purple); text-decoration: underline; }

@media (max-width: 480px) {
  .chat-panel {
    right: 8px; left: 8px; bottom: 80px;
    width: auto; height: calc(100vh - 100px);
  }
  .chat-fab { right: 16px; bottom: 80px; width: 56px; height: 56px; }
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; box-shadow: 0 6px 22px rgba(37, 211, 102, .45);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(37, 211, 102, .55);
}
.whatsapp-fab svg { width: 32px; height: 32px; fill: #fff; position: relative; z-index: 2; }
.whatsapp-fab .pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; opacity: .6; z-index: 1;
  animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0;   }
}
.whatsapp-tooltip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%) translateX(10px);
  background: #fff; color: var(--ink);
  padding: 10px 14px; border-radius: 8px;
  font-size: 13px; white-space: nowrap; font-weight: 500;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
  opacity: 0; transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.whatsapp-tooltip::after {
  content: ""; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  border-left: 6px solid #fff;
}
.whatsapp-fab:hover .whatsapp-tooltip {
  opacity: 1; transform: translateY(-50%) translateX(0);
}
@media (max-width: 640px) {
  .whatsapp-fab { width: 56px; height: 56px; bottom: 16px; right: 16px; }
  .whatsapp-tooltip { display: none; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink); color: #ddd; padding: 56px 0 32px; margin-top: 80px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
.footer h4 { font-family: 'Outfit', sans-serif; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; color: var(--gold); }
.footer a { display: block; padding: 4px 0; font-size: 14px; color: #bbb; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid #444; margin-top: 40px; padding-top: 20px;
  font-size: 13px; color: #888; text-align: center;
}
.footer-bottom a {
  display: inline; padding: 0; color: #aaa; text-decoration: underline;
  text-decoration-color: #555; font-size: 13px;
}
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Mobile hamburger toggle ---------- */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--purple); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-inner { flex-wrap: wrap; position: relative; padding: 14px 20px; }
  .nav-toggle { display: flex; order: 3; }
  .nav .btn { order: 2; margin-left: auto; margin-right: 12px; padding: 10px 18px; font-size: 13px; }

  /* collapsible mobile menu */
  .nav-links {
    order: 4; flex-basis: 100%; flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 60vh; margin-top: 8px; }
  .nav-links a {
    padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px;
  }

  .hero h2 { font-size: 34px; }
  .hero h1 { font-size: 38px; }
  .hero-wordmark { font-size: 34px; }
  .hero-mark { max-width: 240px; max-height: 220px; }
  .section-title, .page-hero h1 { font-size: 30px; }
  .two-col, .compare, .framework-grid, .services-grid, .contact-grid, .footer-grid, .guide-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid { gap: 28px; text-align: left; }
  section { padding: 48px 0; }
  .container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .hero h2 { font-size: 28px; }
  .hero-wordmark { font-size: 28px; }
  .hero-tagline { font-size: 17px; }
  .section-title, .page-hero h1 { font-size: 26px; }
  .price, .service-body .price { font-size: 22px; }
  .nav .btn { padding: 9px 14px; font-size: 12px; }
  .brand-text { font-size: 15px; }
  .brand-text small { font-size: 8px; letter-spacing: 1px; }
}
