/* ==========================================================================
   Adriana Mangabeira - Design System
   Estetica: elegancia silenciosa, misterio sem excessos, luxo contemplativo
   ========================================================================== */

:root {
  --bg: #0E080D;
  --bg-alt: #17101A;
  --surface: #1C1420;
  --surface-soft: #221822;
  --border: rgba(201, 162, 75, 0.16);
  --border-strong: rgba(201, 162, 75, 0.32);
  --gold: #C9A24B;
  --gold-light: #E7CD8F;
  --wine: #A5406B;
  --wine-deep: #5E1E3C;
  --ink: #F4ECE7;
  --ink-soft: #E4D8D0;
  --muted: #B7A3AC;
  --muted-2: #8B7A82;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --radius: 18px;
  --radius-sm: 10px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 600px at 15% -10%, rgba(165, 64, 107, 0.16), transparent 60%),
    radial-gradient(ellipse 800px 500px at 100% 10%, rgba(201, 162, 75, 0.08), transparent 60%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p { margin: 0 0 1.1em; color: var(--ink-soft); }
p.lead { font-size: 1.2rem; color: var(--ink-soft); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

.section { padding: 100px 0; position: relative; z-index: 1; }
.section-sm { padding: 60px 0; position: relative; z-index: 1; }
.section-alt { background: var(--bg-alt); }
.section-wine {
  background: linear-gradient(160deg, var(--wine-deep) 0%, #3a1226 100%);
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 44px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); display: inline-block; }

.center { text-align: center; }
.center .eyebrow::before { display: none; }
.center .eyebrow { justify-content: center; }

.max-w-content { max-width: 720px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.italic-serif { font-family: var(--serif); font-style: italic; color: var(--gold-light); }
.am-fork { color: var(--gold); vertical-align: -0.15em; flex-shrink: 0; align-items: center; justify-content: center; }
.am-fork svg { width: 100%; height: 100%; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #221507;
  box-shadow: 0 10px 30px -10px rgba(201, 162, 75, 0.5);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(201, 162, 75, 0.65);
  color: #221507 !important;
}
/* hello-elementor's reset.css ships a bare a:hover{color:#336} that otherwise wins
   on any link/button whose hover state doesn't set its own color explicitly */
a:not(.btn):hover { color: var(--gold-light) !important; }
.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--gold) !important; color: var(--gold-light) !important; }
.btn-sm { padding: 11px 22px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.am-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 26px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.am-header.is-scrolled {
  background: rgba(14, 8, 13, 0.92);
  backdrop-filter: blur(14px);
  padding: 16px 0;
  border-color: var(--border);
}
.am-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-left: 32px;
  padding-right: 32px;
}
.brand { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 1.25rem; color: var(--ink) !important; flex-shrink: 0; line-height: 1.3; }
.brand .brand-mark { position: relative; width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.brand .brand-mark::before {
  content: '';
  position: absolute; inset: -10px;
  background: radial-gradient(circle, rgba(201,162,75,0.45), transparent 70%);
  filter: blur(6px);
  z-index: 0;
}
.brand img { height: 40px; width: 40px; flex-shrink: 0; object-fit: contain; position: relative; z-index: 1; }
.brand span { display: flex; flex-direction: column; gap: 5px; }
.brand small { display: block; font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; line-height: 1; }

.nav-desktop { display: flex; align-items: center; gap: 30px; flex-wrap: nowrap; }
.nav-desktop a:not(.btn) { font-size: 0.9rem; font-weight: 500; color: var(--ink-soft) !important; position: relative; padding: 4px 0; white-space: nowrap; }
.nav-desktop a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: var(--gold-light);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-desktop a:not(.btn):hover { color: var(--gold-light) !important; }
.nav-desktop a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-desktop .header-cta { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.nav-desktop .header-cta .btn { flex-shrink: 0; white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border-strong); border-radius: 10px;
  width: 44px; height: 44px; color: var(--ink); cursor: pointer; font-size: 1.1rem;
  flex-shrink: 0;
}

.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transform: translateY(-100%); opacity: 0; transition: all 0.35s ease; pointer-events: none;
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-nav a { font-family: var(--serif); font-size: 1.6rem; color: var(--ink) !important; }
.mobile-nav a:hover { color: var(--gold-light) !important; }

@media (max-width: 1100px) {
  .nav-desktop { gap: 20px; }
}
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .am-header .container { padding-left: 20px; padding-right: 20px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 170px 0 90px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border: 1px solid var(--border-strong); border-radius: 999px;
  font-size: 0.78rem; color: var(--gold-light); margin-bottom: 28px; letter-spacing: 0.04em;
}
.hero p.lead { max-width: 640px; margin: 24px 0 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.center .hero-actions { justify-content: center; }

.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 0; flex-wrap: wrap; }
.hero-stats .stat { text-align: center; }
.hero-stats .stat strong { display: block; font-family: var(--serif); font-size: 2.1rem; color: var(--gold-light); }
.hero-stats .stat span { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-grid .hero-actions { justify-content: center; }
}

.hero-photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}
.hero-photo-frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.hero-photo-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(14,8,13,0.55) 100%),
    linear-gradient(0deg, rgba(165,64,107,0.18), transparent 45%);
  pointer-events: none;
}
.hero-photo-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow);
}
@media (max-width: 900px) { .hero-photo-badge { left: 50%; transform: translateX(-50%); } }
.hero-photo-badge .num { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-light); }
.hero-photo-badge span { font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* Decorative glow orbs + sparkles, used behind hero / cta sections */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.3;
  z-index: 0;
  animation: orbFloat 14s ease-in-out infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-16px, 22px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .glow-orb { animation: none; } }

.sparkle-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.sparkle-field span {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--gold-light);
  border-radius: 50%;
  opacity: 0;
  animation: twinkle 5s ease-in-out infinite;
  box-shadow: 0 0 6px 1px rgba(231, 205, 143, 0.8);
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.3); }
}
@media (prefers-reduced-motion: reduce) { .sparkle-field span { animation: none; opacity: 0.4; } }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(0,0,0,0.55); }
.card:hover .icon { border-color: var(--gold); color: var(--gold-light); box-shadow: 0 0 0 6px rgba(201,162,75,0.08); }
.card .icon {
  width: 58px; height: 58px;
  margin-bottom: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  background: radial-gradient(circle at 30% 25%, rgba(201,162,75,0.16), rgba(201,162,75,0.02));
  border: 1px solid var(--border-strong);
  transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  font-size: 1.15rem;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; margin-bottom: 0; }
.card a.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--gold-light); font-weight: 600; font-size: 0.9rem; }
.card a.card-link i { transition: transform 0.2s ease; }
.card a.card-link:hover i { transform: translateX(3px); }

.service-card { display: flex; flex-direction: column; height: 100%; }

/* ---------- Quote / Testimonial ---------- */
.quote-block {
  border-left: 2px solid var(--gold);
  padding-left: 28px;
  margin: 40px 0;
}
.quote-block p { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--ink); }
.quote-block cite { font-style: normal; font-size: 0.85rem; color: var(--muted); }

.testi-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.testi-card p { font-style: italic; color: var(--ink-soft); }
.testi-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.testi-card .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi-card .who strong { display: block; color: var(--ink); font-size: 0.95rem; }
.testi-card .who span { display: block; font-size: 0.8rem; color: var(--muted); }

/* ---------- Pricing ---------- */
.price-card {
  background: linear-gradient(165deg, var(--surface), var(--surface-soft) 75%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 36px 34px 34px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 50px -26px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.price-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}
.price-card::after {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,75,0.16), transparent 70%);
  pointer-events: none;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 34px 60px -24px rgba(0,0,0,0.85), 0 0 0 1px rgba(201,162,75,0.2);
}
.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(165deg, #241a15, var(--surface-soft) 75%);
  animation: featuredPulse 3.5s ease-in-out infinite;
}
@keyframes featuredPulse {
  0%, 100% { box-shadow: 0 24px 50px -26px rgba(0,0,0,0.75), 0 0 0 1px var(--gold) inset, 0 0 0 0 rgba(201,162,75,0.25); }
  50% { box-shadow: 0 24px 50px -26px rgba(0,0,0,0.75), 0 0 0 1px var(--gold) inset, 0 0 0 10px rgba(201,162,75,0); }
}
@media (prefers-reduced-motion: reduce) { .price-card.featured { animation: none; box-shadow: 0 24px 50px -26px rgba(0,0,0,0.75), 0 0 0 1px var(--gold) inset; } }
.price-card .tag {
  position: absolute; top: -13px; left: 30px; z-index: 1;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #221507; font-size: 0.72rem; font-weight: 700;
  padding: 6px 16px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: 0 6px 16px -4px rgba(201,162,75,0.6);
}
.price-card h3 { position: relative; z-index: 1; }
.price-card .old { text-decoration: line-through; color: var(--muted-2); font-size: 1rem; position: relative; z-index: 1; }
.price-card .price {
  font-family: var(--serif); font-size: 2.6rem; margin: 6px 0 4px; position: relative; z-index: 1;
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 60%, var(--gold-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-card .price small { font-family: var(--sans); font-size: 0.9rem; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 22px 0; position: relative; z-index: 1; }
.price-card ul li { padding: 8px 0 8px 26px; position: relative; color: var(--ink-soft); font-size: 0.95rem; border-top: 1px solid var(--border); }
.price-card ul li:first-child { border-top: none; }
.price-card ul li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); font-size: 0.8rem; top: 9px; }
.price-card .btn { position: relative; z-index: 1; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 90px 0;
  background: linear-gradient(160deg, var(--wine-deep), #2a0e1c 70%);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 300px at 50% 0%, rgba(201,162,75,0.18), transparent 70%);
}
.cta-band h2 { max-width: 720px; margin: 0 auto 20px; }
.cta-band p { max-width: 560px; margin: 0 auto 34px; color: var(--ink-soft); }
.cta-band .hero-actions { justify-content: center; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--gold); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 22px; margin-bottom: 34px; }
.step .num {
  counter-increment: step;
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); color: var(--gold-light);
}
.step .num::before { content: counter(step); }

/* ---------- Flow diagram ---------- */
.flow-diagram {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 820px;
  margin: 0 auto;
}
.flow-step { display: flex; flex-direction: column; align-items: center; text-align: center; width: 220px; }
.flow-circle {
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: radial-gradient(circle at 32% 28%, rgba(201,162,75,0.2), var(--surface) 70%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.7rem; color: var(--gold-light);
  margin-bottom: 22px;
  box-shadow: 0 0 0 6px rgba(201,162,75,0.06);
}
.flow-step h3 { margin-bottom: 8px; }
.flow-step p { color: var(--muted); font-size: 0.92rem; }
.flow-connector {
  width: 70px; height: 90px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  margin-top: 45px;
}
.flow-connector::before {
  content: '';
  width: 100%; height: 0;
  border-top: 2px dashed var(--border-strong);
}
.flow-connector .flow-dot {
  position: absolute; top: 50%; left: 0;
  width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 8px 2px rgba(231,205,143,0.75);
  animation: flowMove 2.6s linear infinite;
}
.flow-connector:nth-of-type(2) .flow-dot { animation-delay: 1.3s; }
@keyframes flowMove {
  0% { left: 0%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@media (max-width: 720px) {
  .flow-diagram { flex-direction: column; align-items: center; }
  .flow-step { width: 100%; max-width: 280px; }
  .flow-connector { width: 2px; height: 50px; margin: 0; }
  .flow-connector::before { width: 0; height: 100%; border-top: none; border-left: 2px dashed var(--border-strong); }
  .flow-connector .flow-dot { top: 0; left: 50%; margin-top: 0; margin-left: -3.5px; animation-name: flowMoveVert; }
}
@keyframes flowMoveVert {
  0% { top: 0%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-connector .flow-dot { animation: none; opacity: 0.6; }
}

/* ---------- Testimonial bento grid ---------- */
.testi-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
}
.testi-bento .wa-thread { max-width: none; width: 100%; height: 100%; margin: 0; }
.testi-bento .span-2 { grid-column: span 2; }
@media (max-width: 900px) {
  .testi-bento { grid-template-columns: repeat(2, 1fr); }
  .testi-bento .span-2 { grid-column: span 2; }
}
@media (max-width: 560px) {
  .testi-bento { grid-template-columns: 1fr; }
  .testi-bento .span-2 { grid-column: span 1; }
}

/* ---------- Ambient background texture ---------- */
.ambient-glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ambient-glow .glow-orb { opacity: 0.28; }

.astro-texture { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; opacity: 0.85; }
.astro-texture svg { width: 100%; height: 100%; animation: astroSpin 220s linear infinite; }
@keyframes astroSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .astro-texture svg { animation: none; } }

/* ---------- Footer ---------- */
.am-footer {
  padding: 90px 0 30px;
  position: relative;
  background: var(--bg-alt);
}
.am-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 25%, var(--gold) 50%, var(--border-strong) 75%, transparent);
  opacity: 0.6;
}
.footer-brand p { max-width: 300px; font-size: 0.92rem; color: var(--muted); margin-top: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  font-family: var(--sans); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold-light); margin-bottom: 20px; font-weight: 700;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 14px; }
.footer-grid li.footer-text {
  font-size: 0.86rem; font-style: italic; color: var(--muted-2);
}
.footer-grid ul a {
  color: var(--ink-soft) !important;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-grid ul a::before {
  content: '\2192';
  font-size: 0.8em;
  color: var(--gold);
  transition: transform 0.2s ease, color 0.2s ease;
}
.footer-grid ul a:hover { color: var(--gold-light) !important; border-color: var(--border-strong); }
.footer-grid ul a:hover::before { transform: translateX(3px); color: var(--gold-light); }
.footer-brand .brand:hover { color: var(--ink) !important; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 0.82rem; color: var(--muted-2);
  padding-top: 28px; border-top: 1px solid var(--border);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(201,162,75,0.6);
  color: #221507; font-size: 1.5rem;
  transition: transform 0.25s ease;
}
body a.wa-float:hover { transform: scale(1.08); color: #221507 !important; }

/* ---------- Page header (interior pages) ---------- */
.page-hero {
  padding: 170px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .am-fork { margin: 0 auto 20px; }
.page-hero h1 {
  background: linear-gradient(100deg, var(--ink) 15%, var(--gold-light) 45%, var(--gold) 55%, var(--ink) 85%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleSheen 7s ease-in-out infinite;
}
@keyframes titleSheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) { .page-hero h1 { animation: none; background-position: 30% 50%; } }
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--gold-light) !important; }

/* ---------- Utility ---------- */
.divider { width: 60px; height: 1px; background: var(--border-strong); margin: 32px auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.tag-list span { border: 1px solid var(--border); padding: 7px 16px; border-radius: 999px; font-size: 0.82rem; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: calc(var(--i, 0) * 0.08s) !important; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Button shimmer ---------- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: '';
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.btn-primary:hover::before { left: 130%; }

/* ---------- Pain / checklist ---------- */
.pain-list { display: flex; flex-direction: column; gap: 0; max-width: 640px; }
.pain-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.pain-item:first-child { padding-top: 0; }
.pain-item .mark {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 0.95rem;
}
.pain-item h3 { margin-bottom: 6px; font-size: 1.15rem; }
.pain-item p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ---------- Full-bleed photo quote ---------- */
.photo-quote {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.photo-quote::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,8,13,0.75) 0%, rgba(14,8,13,0.55) 40%, rgba(14,8,13,0.88) 100%);
  z-index: -1;
}
.photo-quote .quote-fork { display: block; margin: 0 auto 22px; }
.photo-quote blockquote {
  margin: 0 auto;
  max-width: 780px;
  padding: 0 24px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}
.photo-quote cite { display: block; margin-top: 26px; font-family: var(--sans); font-style: normal; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-light); }

/* ---------- Image + text alternating block ---------- */
.feature-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.diff-list { list-style: none; padding: 0; margin: 28px 0 0; }
.diff-list li {
  display: flex; gap: 18px; padding: 20px 16px; margin: 0 -16px;
  border-radius: var(--radius-sm);
  transition: background 0.3s ease, transform 0.3s ease;
}
.diff-list li:hover { background: linear-gradient(90deg, rgba(201,162,75,0.07), transparent); transform: translateX(6px); }
.diff-list .icon-sm {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(201,162,75,0.18), var(--surface) 75%);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.diff-list li:hover .icon-sm { transform: scale(1.12) rotate(-6deg); box-shadow: 0 0 0 7px rgba(201,162,75,0.1); color: var(--gold-light); }
.diff-list h3 { margin-bottom: 4px; font-size: 1.05rem; }
.diff-list p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- WhatsApp-style testimonial bubbles ---------- */
.wa-thread {
  max-width: 480px;
  background: linear-gradient(165deg, #101b21, #0b141a 65%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 18px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.wa-thread::before {
  content: '';
  position: absolute; top: -40%; left: -20%;
  width: 140%; height: 100%;
  background: radial-gradient(ellipse at top, rgba(201,162,75,0.1), transparent 65%);
  pointer-events: none;
}
.wa-thread:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 30px 55px -20px rgba(0,0,0,0.8), 0 0 0 1px rgba(201,162,75,0.15);
}
.wa-thread-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px; margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.wa-thread-head .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--wine));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 0.95rem; color: #1a1015;
}
.wa-thread-head strong { display: block; font-size: 0.92rem; color: var(--ink); }
.wa-thread-head span { display: block; font-size: 0.72rem; color: #8fa39a; }
.wa-bubble {
  position: relative;
  max-width: 88%;
  padding: 10px 14px 18px;
  border-radius: 10px;
  font-size: 0.94rem;
  line-height: 1.5;
  color: #e9edef;
}
.wa-bubble.in { align-self: flex-start; background: #202c33; border-top-left-radius: 2px; }
.wa-bubble.out { align-self: flex-end; background: #005c4b; border-top-right-radius: 2px; }
.wa-bubble .time {
  position: absolute; bottom: 6px; right: 14px;
  font-size: 0.66rem; color: #8fa39a;
  display: flex; align-items: center; gap: 3px;
}
.wa-bubble .time i { font-size: 0.66rem; color: #53bdeb; }

/* ---------- Forms ---------- */
.am-form { display: grid; gap: 20px; }
.am-form label { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 8px; letter-spacing: 0.03em; }
.am-form input, .am-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.am-form input:focus, .am-form textarea:focus { border-color: var(--gold); }
.am-form textarea { resize: vertical; min-height: 130px; }
.am-form .hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.am-form-notice {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--gold-light);
  font-size: 0.92rem;
  margin-bottom: 24px;
}
.am-form-notice.error { color: #e6a3a3; }

/* ---------- Dev credit ---------- */
.dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted-2);
}
.dev-credit img { height: 22px; width: auto; opacity: 0.85; }
.dev-credit:hover { color: var(--gold-light) !important; }
.dev-credit:hover img { opacity: 1; }

/* ---------- Entry popup ---------- */
.am-popup-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(8, 5, 8, 0.78);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.am-popup-overlay.is-open { opacity: 1; pointer-events: all; }
.am-popup {
  position: relative;
  max-width: 460px; width: 100%;
  background: linear-gradient(165deg, var(--surface), #170f14 80%);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 40px 34px 34px;
  text-align: center;
  box-shadow: 0 40px 90px -20px rgba(0,0,0,0.8);
  transform: scale(0.92) translateY(16px);
  transition: transform 0.4s cubic-bezier(.2,.9,.3,1.3);
}
.am-popup-overlay.is-open .am-popup { transform: scale(1) translateY(0); }
.am-popup-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: transparent; color: var(--muted);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.am-popup-close:hover { color: var(--gold-light); border-color: var(--gold); }
.am-popup .am-fork { color: var(--gold); margin-bottom: 16px; }
.am-popup .old { text-decoration: line-through; color: var(--muted-2); font-size: 1rem; }
.am-popup .price { font-family: var(--serif); font-size: 2.2rem; color: var(--gold-light); margin: 4px 0 14px; }
.am-popup .price small { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); }
.am-popup ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.am-popup ul li {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 0; font-size: 0.92rem; color: var(--ink-soft);
  border-top: 1px solid var(--border); text-align: center;
}
.am-popup ul li:first-child { border-top: none; }
.am-popup ul li::before { content: '\2726'; color: var(--gold); font-size: 0.8rem; flex-shrink: 0; }
@media (max-width: 480px) { .am-popup { padding: 32px 22px 26px; } }

/* ---------- Legal pages ---------- */
.legal-content h2 { margin-top: 44px; font-size: 1.4rem; }
.legal-content ul { color: var(--ink-soft); padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content p { color: var(--ink-soft); }
.legal-content .updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 40px; }
