/* ============================================================
   GIOVANA VICENTINI TRICOLOGIA — Deep Luxury Bento
   ============================================================ */

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

/* ============================================================
   Design Tokens
   ============================================================ */

:root {
  --cream:    #F3EAE1;
  --deep-red: #410101;
  --burgundy: #52151C;
  --gold:     #D0BA8B;
  --gold-dark:#C9AF7A;
  --white:    #FFFFFF;

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --r-sm:   12px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-pill: 999px;

  --sec: 120px 0;
  --sec-sm: 80px 0;
  --max-w: 1280px;
  --pad: 0 48px;

  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --dur: 0.7s;
}

/* ============================================================
   Reset
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden; /* must be on html, not just body, to avoid fixed-pos containing-block bug */
}
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--deep-red);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ============================================================
   Layout
   ============================================================ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad);
}

.section       { padding: var(--sec); position: relative; }
.section-sm    { padding: var(--sec-sm); position: relative; }

.grid-2  { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr)); /* minmax(0) prevents track blowout */
  gap: 20px;
}
/* Prevent any grid child from expanding beyond its track */
.bento > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.stats-grid > * { min-width: 0; }

.b4  { grid-column: span 4; }
.b5  { grid-column: span 5; }
.b6  { grid-column: span 6; }
.b7  { grid-column: span 7; }
.b8  { grid-column: span 8; }
.b12 { grid-column: span 12; }

/* ============================================================
   Typography
   ============================================================ */

.display {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--burgundy);
}

.h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--burgundy);
}

.h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--burgundy);
}

.h3 {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.h4 { font-size: 20px; font-weight: 600; line-height: 1.3; }

.lead {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.75;
  font-weight: 400;
}

.body { font-size: 16px; line-height: 1.8; }

.small { font-size: 14px; line-height: 1.65; }

.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  flex-shrink: 0;
}

/* ============================================================
   Mesh Gradient Background
   ============================================================ */

.mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.orb-1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(82,21,28,0.55) 0%, transparent 70%);
  top: -300px; left: -300px;
  animation: orb1 16s ease-in-out infinite;
}
.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(208,186,139,0.45) 0%, transparent 70%);
  bottom: -200px; right: -200px;
  animation: orb2 13s ease-in-out infinite;
}
.orb-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(243,234,225,0.6) 0%, transparent 70%);
  top: 45%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orb3 20s ease-in-out infinite;
}

@keyframes orb1 {
  0%,100% { transform: translate(0,0) scale(1); }
  25%      { transform: translate(140px,80px) scale(1.12); }
  50%      { transform: translate(70px,160px) scale(0.92); }
  75%      { transform: translate(-80px,60px) scale(1.06); }
}
@keyframes orb2 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(-120px,-90px) scale(1.1); }
  66%     { transform: translate(-60px,-140px) scale(0.88); }
}
@keyframes orb3 {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: .75; }
  25%     { transform: translate(-40%,-62%) scale(1.18); opacity: .55; }
  50%     { transform: translate(-62%,-38%) scale(0.88); opacity: .95; }
  75%     { transform: translate(-46%,-56%) scale(1.08); opacity: .65; }
}

/* Dark mesh for manifesto / footer */
.mesh-dark .orb-1 { background: radial-gradient(circle, rgba(65,1,1,0.5) 0%, transparent 70%); }
.mesh-dark .orb-2 { background: radial-gradient(circle, rgba(82,21,28,0.35) 0%, transparent 70%); }
.mesh-dark .orb-3 { background: radial-gradient(circle, rgba(208,186,139,0.15) 0%, transparent 70%); }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.28s var(--ease);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }

.btn-burgundy  { background: var(--burgundy); color: var(--cream); }
.btn-burgundy:hover { background: var(--deep-red); }

.btn-gold      { background: var(--gold); color: var(--deep-red); }
.btn-gold:hover { background: var(--gold-dark); }

.btn-outline   { background: transparent; color: var(--burgundy); border: 1.5px solid var(--burgundy); }
.btn-outline:hover { background: var(--burgundy); color: var(--cream); }

.btn-outline-light { background: transparent; color: var(--cream); border: 1.5px solid rgba(243,234,225,0.45); }
.btn-outline-light:hover { background: rgba(243,234,225,0.1); border-color: var(--cream); }

.btn-ghost { background: transparent; padding: 15px 0; color: var(--deep-red); }
.btn-ghost::after { content: ' →'; }
.btn-ghost:hover { opacity: 0.65; }

.btn-ghost-cream { color: rgba(243,234,225,0.8); }
.btn-ghost-cream::after { content: ' →'; }
.btn-ghost-cream:hover { color: var(--cream); }

.btn-lg { padding: 18px 44px; font-size: 16px; }
.btn-sm { padding: 10px 22px; font-size: 13px; }

/* ============================================================
   Cards
   ============================================================ */

.card {
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.card-lg { padding: 52px 48px; }
.card-sm { padding: 24px; }

.card-burgundy { background: var(--burgundy); color: var(--cream); }
.card-gold     { background: var(--gold);     color: var(--deep-red); }
.card-cream    { background: var(--cream);    color: var(--deep-red); border: 1px solid rgba(65,1,1,0.09); }
.card-dark     { background: var(--deep-red); color: var(--cream); }

.card-burgundy .h3,
.card-burgundy .h4 { color: var(--cream); }
.card-gold .h3,
.card-gold .h4     { color: var(--deep-red); }

/* ============================================================
   Scroll Reveal
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }
.d6 { transition-delay: 0.6s; }

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: all 0.32s ease;
}
.nav.scrolled {
  background: rgba(243,234,225,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 15px 0;
  box-shadow: 0 2px 40px rgba(65,1,1,0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-brand { flex-shrink: 0; display: flex; align-items: center; }
.nav-logo {
  height: 46px;
  width: auto;
  display: block;
  transition: height 0.32s ease;
}
.nav.scrolled .nav-logo { height: 38px; }
.nav-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--burgundy);
  letter-spacing: -0.025em;
  display: block;
}
.nav-sub {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--deep-red);
  opacity: 0.55;
  display: block;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--deep-red);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--burgundy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav */
.nav-mobile {
  /* Hidden via transform on all screen sizes; shown via display:block in mobile breakpoint */
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 280px;
  background: var(--cream);
  z-index: 300;
  padding: 80px 40px 40px;
  box-shadow: -10px 0 60px rgba(65,1,1,0.15);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
/* On mobile: show element off-screen (transform handles hiding) */
@media (max-width: 768px) {
  .nav-mobile { display: block; }
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nav-mobile a {
  font-size: 18px;
  font-weight: 600;
  color: var(--burgundy);
}
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(65,1,1,0.4);
  z-index: 250;
  backdrop-filter: blur(4px);
}
.nav-overlay.open { display: block; }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}
.hero > * { position: relative; z-index: 2; }

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-kicker { margin-bottom: 24px; }

.hero-title {
  font-size: clamp(40px, 5.5vw, 70px);
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: -0.035em;
  line-height: 1.07;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.8;
  color: var(--deep-red);
  opacity: 0.8;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-height: 640px;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.hero-visual:hover .hero-photo { transform: scale(1.04); }

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--burgundy) 0%, #7A2535 45%, var(--gold) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 36px;
}

.hero-sig {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(82,21,28,0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--cream);
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
  z-index: 4;
}

/* ============================================================
   Manifesto
   ============================================================ */

.manifesto-section {
  background: var(--burgundy);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.manifesto-body {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.manifesto-body p {
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.45;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.manifesto-body p.visible { opacity: 1; transform: translateY(0); }

.manifesto-body strong { font-weight: 800; color: var(--gold); }

.manifesto-note {
  margin-top: 56px;
  font-size: 16px;
  color: rgba(243,234,225,0.55);
  font-style: italic;
  opacity: 0;
  transition: opacity 0.55s ease 1.2s;
}
.manifesto-note.visible { opacity: 1; }
.manifesto-note em { color: var(--gold); font-style: italic; }

/* ============================================================
   Tratamentos Cards
   ============================================================ */

.treatment-bridge {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.85;
  color: var(--deep-red);
  opacity: 0.8;
}

/* ============================================================
   Stat Cards
   ============================================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--r-lg);
  overflow: hidden;
  gap: 2px;
  background: rgba(82,21,28,0.08);
  border: 1.5px solid rgba(82,21,28,0.14);
}

.stat-block {
  padding: 52px 32px;
  text-align: center;
  background: var(--cream);
}
.stat-block:nth-child(even) { background: var(--burgundy); }
.stat-block:nth-child(even) .stat-num { color: var(--gold); }
.stat-block:nth-child(even) .stat-desc { color: rgba(243,234,225,0.7); }

.stat-num {
  display: block;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--burgundy);
  line-height: 1;
  margin-bottom: 14px;
}
.stat-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(65,1,1,0.65);
}

/* ============================================================
   NEF Phase Cards
   ============================================================ */

.phase-card { display: flex; flex-direction: column; }

/* Wraps tag+name+sub so they can breathe in the middle of the card,
   while .phase-rule stays pinned to the bottom as a closing statement. */
.phase-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }

.phase-letter {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  opacity: 0.2;
  position: absolute;
  top: 20px;
  right: 28px;
  pointer-events: none;
  color: inherit;
  text-transform: uppercase;
}

.phase-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.6;
}

.phase-name {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}

.phase-sub {
  font-size: 13px;
  font-style: italic;
  margin-bottom: 20px;
  opacity: 0.7;
}

.phase-rule {
  font-size: 13px;
  font-style: italic;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  margin-top: 20px;
  font-weight: 500;
}
.card-burgundy .phase-rule { background: rgba(243,234,225,0.12); color: var(--gold); }
.card-gold .phase-rule     { background: rgba(65,1,1,0.1); color: var(--deep-red); }

/* ============================================================
   Credential Tags
   ============================================================ */

.cred-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.cred-tag {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  background: rgba(82,21,28,0.08);
  color: var(--burgundy);
}

/* ============================================================
   Testimonials Carousel
   ============================================================ */

.carousel { position: relative; overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform 0.55s var(--ease);
}
.carousel-item { min-width: 100%; }

.testimonial-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.testimonial-quote {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.75;
  color: var(--cream);
  font-style: italic;
  position: relative;
  padding-left: 28px;
}
.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 60px;
  line-height: 1;
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
}

.testimonial-author {
  margin-top: 24px;
  font-style: normal;
  font-size: 14px;
  color: rgba(243,234,225,0.6);
  font-weight: 500;
}
.testimonial-author strong {
  display: block;
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 2px;
}

.carousel-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}
.carousel-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(243,234,225,0.3);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: all 0.25s ease;
  cursor: pointer;
  background: transparent;
}
.carousel-btn:hover { background: rgba(243,234,225,0.12); border-color: var(--cream); }

.carousel-dots { display: flex; gap: 6px; }
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(243,234,225,0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active { background: var(--gold); width: 22px; border-radius: 3px; }

/* ============================================================
   Timeline
   ============================================================ */

.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--burgundy) 0%, var(--gold) 100%);
}
.tl-item {
  position: relative;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(82,21,28,0.1);
}
.tl-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -33px; top: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--burgundy);
  border: 2.5px solid var(--cream);
  box-shadow: 0 0 0 3px rgba(82,21,28,0.18);
}
.tl-year {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.tl-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 10px;
}
.tl-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--deep-red);
  opacity: 0.78;
}
.tl-body em { font-style: italic; color: var(--burgundy); opacity: 1; }

/* ============================================================
   Pull Quote
   ============================================================ */

.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 20px 28px;
  background: rgba(208,186,139,0.1);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 36px 0;
}
.pull-quote p {
  font-size: 17px;
  font-style: italic;
  color: var(--burgundy);
  line-height: 1.7;
}

/* ============================================================
   Dark Section
   ============================================================ */

.section-burgundy { background: var(--burgundy); color: var(--cream); }
.section-dark      { background: var(--deep-red); color: var(--cream); }
.section-burgundy .h2,
.section-dark .h2 { color: var(--cream); }
.section-burgundy .lead,
.section-dark .lead { color: rgba(243,234,225,0.78); }

/* ============================================================
   Image Hover
   ============================================================ */

.img-box {
  overflow: hidden;
  border-radius: var(--r-lg);
  position: relative;
}
.img-box img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
  display: block;
}
.img-box:hover img { transform: scale(1.05); }

.img-placeholder-grad {
  width: 100%; height: 100%;
  min-height: 300px;
  background: linear-gradient(145deg, var(--burgundy) 0%, #6B2030 40%, var(--gold) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 28px;
}
.img-placeholder-grad span {
  font-size: 11px;
  color: rgba(243,234,225,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-style: italic;
}

/* ============================================================
   Float Overlay (glassmorphism)
   ============================================================ */

.float-overlay {
  position: absolute;
  background: rgba(82,21,28,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(208,186,139,0.25);
  border-radius: var(--r-md);
  padding: 18px 22px;
  color: var(--cream);
  z-index: 5;
}

/* ============================================================
   Form
   ============================================================ */

.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--burgundy);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1.5px solid rgba(82,21,28,0.18);
  background: rgba(82,21,28,0.04);
  font-family: var(--font);
  font-size: 15px;
  color: var(--deep-red);
  outline: none;
  transition: border-color 0.25s ease;
}
.form-input:focus,
.form-textarea:focus { border-color: var(--burgundy); }
.form-textarea { resize: vertical; min-height: 130px; }

/* ============================================================
   Tags
   ============================================================ */

.tag {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(82,21,28,0.1);
  color: var(--burgundy);
}
.tag-gold { background: rgba(208,186,139,0.25); color: var(--deep-red); }
.tag-cream { background: rgba(243,234,225,0.15); color: var(--cream); }

/* ============================================================
   Section Divider / Page Hero
   ============================================================ */

.page-hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.section-header { margin-bottom: 72px; }
.section-header.center { text-align: center; }

/* ============================================================
   Accordion / FAQ
   ============================================================ */

.faq-item {
  border-bottom: 1px solid rgba(82,21,28,0.12);
  padding: 24px 0;
}
.faq-q {
  font-size: 17px;
  font-weight: 600;
  color: var(--burgundy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(82,21,28,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
  color: var(--burgundy);
}
.faq-item.open .faq-q-icon { background: var(--burgundy); color: var(--cream); transform: rotate(45deg); }
.faq-a {
  font-size: 15px;
  line-height: 1.8;
  color: var(--deep-red);
  opacity: 0.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 500px; padding-top: 16px; }

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--deep-red);
  color: var(--cream);
  padding: 88px 0 44px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 72px;
}

.footer-brand-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.025em;
  display: block;
  margin-bottom: 6px;
}
.footer-logo {
  height: 100px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}
.footer-tagline { font-size: 13px; color: rgba(243,234,225,0.45); font-style: italic; }
.footer-slogan  { font-size: 16px; font-weight: 700; color: var(--gold); font-style: italic; margin-top: 18px; }

.footer-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243,234,225,0.35);
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(243,234,225,0.65);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--gold); }

.footer-contact-line {
  font-size: 14px;
  color: rgba(243,234,225,0.65);
  line-height: 1.7;
  margin-bottom: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(243,234,225,0.1);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p,
.footer-bottom a { font-size: 12px; color: rgba(243,234,225,0.35); }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ============================================================
   WhatsApp Fab
   ============================================================ */

.wa-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 150;
  box-shadow: 0 6px 28px rgba(37,211,102,0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 10px 36px rgba(37,211,102,0.5); }
.wa-fab svg { width: 28px; height: 28px; }

/* ============================================================
   Utilities
   ============================================================ */

.relative { position: relative; }
.z2 { position: relative; z-index: 2; }

.flex      { display: flex; }
.flex-col  { flex-direction: column; }
.items-c   { align-items: center; }
.items-e   { align-items: flex-end; }
.items-s   { align-items: flex-start; }
.justify-b { justify-content: space-between; }
.justify-c { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-40 { gap: 40px; }
.gap-48 { gap: 48px; }

.mb-8  { margin-bottom: 8px;  }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mb-56 { margin-bottom: 56px; }
.mb-64 { margin-bottom: 64px; }
.mb-80 { margin-bottom: 80px; }

.mt-8  { margin-top: 8px;  }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

.text-center { text-align: center; }
.italic { font-style: italic; }
.font-light  { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semi   { font-weight: 600; }
.font-bold   { font-weight: 700; }

.text-cream    { color: var(--cream) !important; }
.text-burgundy { color: var(--burgundy) !important; }
.text-gold     { color: var(--gold) !important; }
.op-60 { opacity: 0.6; }
.op-75 { opacity: 0.75; }

.w-full { width: 100%; }
.h-full { height: 100%; }

/* ============================================================
   Map Embed
   ============================================================ */

.map-embed {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 380px;
}
.map-embed iframe { width: 100%; height: 100%; border: none; display: block; }

/* ============================================================
   Article Card
   ============================================================ */

.article-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid rgba(82,21,28,0.09);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(82,21,28,0.1); }

.article-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.article-thumb .img-placeholder-grad { min-height: 0; }

.article-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.article-tag  { margin-bottom: 12px; }
.article-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.article-excerpt {
  font-size: 14px;
  line-height: 1.75;
  color: var(--deep-red);
  opacity: 0.72;
  flex: 1;
  margin-bottom: 20px;
}
.article-meta {
  font-size: 12px;
  color: rgba(65,1,1,0.45);
  display: flex;
  align-items: center;
  gap: 12px;
}
.article-meta span::before { content: '· '; }
.article-meta span:first-child::before { content: ''; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  :root { --pad: 0 32px; }

  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual  { aspect-ratio: 16/9; max-height: 380px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* Tablet: 2-col bento (span 6 each) */
  .b4 { grid-column: span 6; }
  .b5 { grid-column: span 6; }
  .b7 { grid-column: span 6; }
  .b8 { grid-column: span 6; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonial-card { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  :root { --pad: 0 20px; --sec: 72px 0; --sec-sm: 52px 0; }

  /* ── NAV ── */
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* ── HERO ── */
  .hero-title { font-size: 36px; }
  .hero-lead  { font-size: 16px; }
  .hero-ctas  { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-visual { max-height: 240px; }

  /* ── BENTO: collapse to true single column ── */
  .bento {
    grid-template-columns: 1fr !important; /* override any inline style */
    gap: 16px !important;
  }
  .b4, .b5, .b6, .b7, .b8, .b12 { grid-column: 1 / -1; }
  /* Overrides explicit inline grid-column/row (e.g. desktop zigzag placement) so items stack in natural DOM order instead of spawning implicit tracks or overlapping */
  .bento > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  /* Guarantee no child escapes its track */
  .bento > * { max-width: 100%; overflow-x: hidden; }

  /* ── STANDARD GRIDS ── */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 16px; }

  /* ── STATS ── */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    border-radius: var(--r-md);
  }
  .stat-block { padding: 36px 20px; }
  .stat-num   { font-size: 48px; }

  /* ── CARDS ── */
  .card    { padding: 24px; }
  .card-lg { padding: 28px 24px; }
  .card-sm { padding: 18px; }

  /* ── PHASE LETTER ── */
  .phase-letter { font-size: 72px; }

  /* ── TESTIMONIAL ── */
  .testimonial-card { grid-template-columns: 1fr; gap: 24px; }
  .testimonial-quote { font-size: 16px; padding-left: 20px; }
  .testimonial-quote::before { font-size: 44px; }

  /* ── MANIFESTO ── */
  .manifesto-section { padding: 80px 0; }
  .manifesto-body p  { font-size: 18px; }
  .manifesto-note    { font-size: 14px; }

  /* ── PAGE HERO ── */
  .page-hero { padding: 120px 0 56px; }

  /* ── FOOTER ── */
  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer        { padding: 64px 0 36px; }

  /* ── SECTION HEADERS ── */
  .section-header { margin-bottom: 40px; }

  /* ── MAP ── */
  .map-embed { height: 280px; }

  /* ── WAB FAB ── */
  .wa-fab { bottom: 20px; right: 20px; width: 52px; height: 52px; }

  /* ── TIMELINE ── */
  .timeline { padding-left: 28px; }
  .tl-item::before { left: -25px; }
  .tl-title { font-size: 17px; }

  /* ── PULL QUOTE ── */
  .pull-quote { padding: 14px 18px; }

  /* ── SECTIONS: clip horizontal bleed ── */
  section { overflow-x: hidden; }
}

@media (max-width: 480px) {
  :root { --pad: 0 16px; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-block { padding: 28px 20px; }

  .hero-title { font-size: 32px; }

  .page-hero { padding: 110px 0 48px; }

  .display { font-size: 36px; }

  .card { padding: 20px; }
}
