:root {
  --gold: #f8d06a;
  --gold-deep: #c9a24a;
  --cream: #f4efe4;
  --ink: #381D2A;
  --panel: #2a1520;
  --muted: rgba(244, 239, 228, 0.62);
  --line: rgba(248, 208, 106, 0.22);
  --wa: #49e670;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  font-family: "Manrope", sans-serif;
  background: var(--ink);
  color: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.wrap {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.gold { color: var(--gold); }
.muted { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.1rem;
  padding: 0 1.4rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-gold {
  background: var(--gold);
  color: #111;
  box-shadow: 0 14px 40px -16px rgba(248, 208, 106, 0.9);
}

.btn-gold:hover { transform: translateY(-2px) scale(1.02); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(244, 239, 228, 0.2);
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1, h2, h3, .display {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  background: rgba(56, 29, 42, 0.94);
  border-bottom: 1px solid rgba(248, 208, 106, 0.12);
}

.site-header.scrolled {
  background: rgba(56, 29, 42, 0.97);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo img { height: 52px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
}

.nav-links a { color: rgba(244, 239, 228, 0.78); font-size: 0.92rem; font-weight: 600; }
.nav-links a:hover { color: var(--gold); }
.nav-phone { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: end start;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: ken 28s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(56, 29, 42, 0.62) 0%, rgba(56, 29, 42, 0.18) 38%, rgba(56, 29, 42, 0.92) 100%),
    radial-gradient(circle at 20% 20%, rgba(248, 208, 106, 0.18), transparent 32%);
}

.hero-copy { padding: 0 0 5.5rem; max-width: 820px; }

.hero h1 {
  margin: 1rem 0 1.1rem;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.92;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p { max-width: 34rem; font-size: 1.08rem; line-height: 1.7; color: var(--muted); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.6rem;
  max-width: 36rem;
}

.hero-stats div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.hero-stats strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--gold);
}

.hero-stats span { font-size: 0.82rem; color: var(--muted); }

/* Sections */
section { padding: 6.5rem 0; }

.section-head { max-width: 38rem; margin-bottom: 2.8rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1.05; }
.lead { margin-top: 1rem; font-size: 1.05rem; line-height: 1.75; color: var(--muted); }

.story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.story-photo {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  min-height: 520px;
}

.story-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; }

.story-photo::after {
  content: "16+ ani de training";
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(10px);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
}

.story ul { margin-top: 1.6rem; display: grid; gap: 0.85rem; list-style: none; }
.story li { display: flex; gap: 0.75rem; line-height: 1.55; color: var(--muted); }
.story li::before { content: ""; width: 0.55rem; height: 0.55rem; margin-top: 0.45rem; border-radius: 50%; background: var(--gold); flex: none; }

/* Features */
.features { background: linear-gradient(180deg, #2a1520, #381D2A 45%, #2a1520); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255,255,255,0.02);
  min-height: 180px;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(248, 208, 106, 0.5);
  background: rgba(248, 208, 106, 0.06);
}

.feature b {
  display: block;
  margin: 0.9rem 0 0.45rem;
  font-size: 1.05rem;
}

.feature p { color: var(--muted); line-height: 1.55; font-size: 0.95rem; }

.icon-dot {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(248, 208, 106, 0.12);
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 0.8rem;
}

.gallery-grid figure {
  overflow: hidden;
  border-radius: 1.4rem;
  position: relative;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-grid figure:first-child { grid-row: 1 / span 2; }
.gallery-grid figure:hover img { transform: scale(1.06); }

/* Guarantee */
.guarantee {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.gold-panel, .dark-panel {
  border-radius: 1.8rem;
  padding: 2.4rem;
}

.gold-panel {
  background: linear-gradient(160deg, #f8d06a, #e2b64a);
  color: #16110a;
}

.gold-panel h2 { color: #16110a; }
.gold-panel p { color: rgba(22, 17, 10, 0.72); }

.dark-panel {
  border: 1px solid var(--line);
  background: var(--panel);
}

.pay-list { margin-top: 1.4rem; display: grid; gap: 0.9rem; }
.pay-list div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.8rem; border-bottom: 1px solid rgba(248,208,106,0.12); }
.pay-list strong { color: var(--gold); }

/* Awards */
.awards { overflow: hidden; }
.award-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.award-track img {
  height: 150px;
  width: auto;
  border-radius: 1rem;
  background: #fff;
  padding: 0.4rem;
}

/* FAQ */
.faq-list { display: grid; gap: 0.7rem; max-width: 820px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--cream);
  padding: 1.15rem 1.3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 700;
}

.faq-item p { display: none; padding: 0 1.3rem 1.2rem; color: var(--muted); line-height: 1.7; }
.faq-item.open { border-color: rgba(248, 208, 106, 0.45); }
.faq-item.open p { display: block; }
.faq-item .plus { color: var(--gold); transition: transform 0.25s ease; }
.faq-item.open .plus { transform: rotate(45deg); }

/* Apply */
.apply {
  position: relative;
}

.apply-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding: 2.4rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.72)),
    url("media/castiguri-videochat.jpeg") center/cover;
  border: 1px solid var(--line);
}

.form {
  display: grid;
  gap: 0.75rem;
  padding: 1.4rem;
  border-radius: 1.4rem;
  background: rgba(56, 29, 42, 0.78);
  backdrop-filter: blur(16px);
}

.form .hp {
  position: absolute;
  left: -9999px;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.form input, .form textarea {
  width: 100%;
  border: 1px solid rgba(248,208,106,0.18);
  background: rgba(255,255,255,0.03);
  color: var(--cream);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  outline: none;
}

.form input:focus, .form textarea:focus { border-color: var(--gold); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.2rem;
}

.map {
  min-height: 360px;
  border: 0;
  border-radius: 1.6rem;
  width: 100%;
  filter: grayscale(0.35) contrast(1.05);
}

.contact-box {
  padding: 2rem;
  border-radius: 1.6rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.contact-box a { color: var(--gold); font-weight: 700; }

footer {
  padding: 2.4rem 0 7rem;
  border-top: 1px solid rgba(248,208,106,0.12);
  color: var(--muted);
  font-size: 0.9rem;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* WhatsApp */
.wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.wa-label {
  background: #fff;
  color: #333;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.wa-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--wa);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(73, 230, 112, 0.45);
  animation: pulse 2.4s ease-in-out infinite;
}

.wa-btn svg { width: 34px; height: 34px; fill: #fff; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s ease forwards;
}

.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.28s; }
.d4 { animation-delay: 0.38s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@keyframes ken {
  from { transform: scale(1.08) translateY(0); }
  to { transform: scale(1.16) translateY(-2%); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-phone { display: inline-flex; }
  .story, .guarantee, .apply-card, .contact-grid, .feature-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px 180px;
  }
  .gallery-grid figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; }
  .wa-label { display: none; }
}
