:root {
  --black: #0b0b0c;
  --graphite-900: #121214;
  --graphite-800: #1a1a1d;
  --graphite-700: #232326;
  --graphite-600: #333338;
  --graphite-400: #6b6b70;
  --ivory: #f4f2ec;
  --ivory-dim: #cfccc2;
  --gold: #c9a86a;
  --gold-light: #e4cd9a;
  --gold-dark: #a3803f;
  --whatsapp: #25d366;
  --radius: 4px;
  --container: 1180px;
  --shadow-soft: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  font-size: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand__text strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

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

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

.gold { color: var(--gold); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: var(--black);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--graphite-600);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--whatsapp {
  background: var(--whatsapp);
  color: #08210f;
}
.btn--whatsapp:hover { transform: translateY(-2px); box-shadow: 0 15px 30px -12px rgba(37, 211, 102, 0.5); }
.btn--nav { padding: 10px 18px; font-size: 0.85rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 11, 12, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--graphite-700);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 2px;
  flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 1.15rem; color: var(--ivory); }
.brand__text em { font-style: normal; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }

.nav { display: flex; gap: 32px; }
.nav a {
  font-size: 0.9rem;
  color: var(--ivory-dim);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--graphite-600);
  border-radius: 3px;
}
.nav-toggle span { height: 2px; width: 18px; background: var(--ivory); margin: 0 auto; transition: 0.25s; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 15%, rgba(201, 168, 106, 0.14), transparent 60%),
    linear-gradient(160deg, var(--black) 0%, var(--graphite-900) 45%, var(--graphite-800) 100%);
  z-index: -1;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, black, transparent);
}

.eyebrow, .section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  position: relative;
  padding-left: 34px;
}
.eyebrow::before, .section-eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 24px; height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}

.hero__content { max-width: 780px; }
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.12;
  color: var(--ivory);
  margin-bottom: 26px;
}
.hero__lede {
  font-size: 1.1rem;
  color: var(--ivory-dim);
  max-width: 620px;
  margin-bottom: 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 64px; }

.hero__stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid var(--graphite-700);
  padding-top: 32px;
}
.hero__stats dt { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: var(--gold); font-weight: 700; }
.hero__stats dd { font-size: 0.85rem; color: var(--ivory-dim); margin-top: 4px; }

/* ---------- SECTION GENERIC ---------- */
.section { padding: 120px 0; }
.section--dark { background: var(--graphite-900); }

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: var(--ivory);
  margin-bottom: 20px;
}
.section-lede {
  max-width: 620px;
  color: var(--ivory-dim);
  margin-bottom: 56px;
  margin-left: 34px;
}

/* ---------- PRACTICE CARDS ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: linear-gradient(180deg, var(--graphite-800), var(--graphite-900));
  border: 1px solid var(--graphite-700);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
}
.card__icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  border-radius: 2px;
  margin-bottom: 24px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.4rem; color: var(--ivory); margin-bottom: 14px; }
.card p { color: var(--ivory-dim); font-size: 0.95rem; margin-bottom: 20px; }
.card__list { display: flex; flex-direction: column; gap: 10px; }
.card__list li {
  font-size: 0.87rem;
  color: var(--ivory-dim);
  padding-left: 18px;
  position: relative;
}
.card__list li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 1px;
  background: var(--gold);
}

/* ---------- ABOUT ---------- */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.about__frame {
  position: relative;
  padding: 18px;
  border: 1px solid var(--gold-dark);
}
.about__frame::before {
  content: "";
  position: absolute;
  top: -12px; left: -12px;
  width: 60px; height: 60px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}
.about__frame::after {
  content: "";
  position: absolute;
  bottom: -12px; right: -12px;
  width: 60px; height: 60px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}
.about__photo {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--graphite-700), var(--graphite-900));
  display: flex; align-items: center; justify-content: center;
  color: var(--graphite-400);
  font-size: 0.9rem;
  text-align: center;
  letter-spacing: 0.05em;
}

.about__content .section-lede,
.about__content p { margin-left: 0; }
.about__content p { color: var(--ivory-dim); margin-bottom: 18px; }
.about__role { color: var(--gold); font-size: 0.95rem; margin-bottom: 22px; letter-spacing: 0.03em; }
.about__creds {
  display: flex; flex-direction: column; gap: 12px;
  margin: 28px 0 34px;
  border-left: 1px solid var(--graphite-600);
  padding-left: 20px;
}
.about__creds li { font-size: 0.92rem; color: var(--ivory-dim); }
.about__creds strong { color: var(--ivory); font-weight: 600; margin-right: 6px; }

/* ---------- FEATURES ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature {
  padding-top: 24px;
  border-top: 1px solid var(--graphite-700);
}
.feature__num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.feature h3 { font-size: 1.1rem; color: var(--ivory); margin-bottom: 10px; }
.feature p { font-size: 0.9rem; color: var(--ivory-dim); }

/* ---------- CONTACT ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
.contact__list { margin: 32px 0 36px; display: flex; flex-direction: column; gap: 20px; }
.contact__list li { display: flex; flex-direction: column; gap: 4px; }
.contact__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); }
.contact__list a, .contact__list span { color: var(--ivory); font-size: 1.05rem; }
.contact__list a:hover { color: var(--gold); }

.contact__form {
  background: var(--graphite-800);
  border: 1px solid var(--graphite-700);
  border-radius: var(--radius);
  padding: 36px;
}
.contact__form-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; margin-bottom: 24px; color: var(--ivory); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; color: var(--ivory-dim); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  background: var(--graphite-900);
  border: 1px solid var(--graphite-600);
  border-radius: 3px;
  padding: 12px 14px;
  color: var(--ivory);
  font-family: inherit;
  font-size: 0.92rem;
  resize: vertical;
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact__form-note { margin-top: 14px; font-size: 0.85rem; color: var(--gold); min-height: 1.2em; }

/* ---------- FOOTER ---------- */
.footer { background: var(--black); border-top: 1px solid var(--graphite-700); padding: 48px 0 24px; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--graphite-700);
}
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a { font-size: 0.88rem; color: var(--ivory-dim); }
.footer__nav a:hover { color: var(--gold); }
.footer__oab { font-size: 0.82rem; color: var(--graphite-400); }
.footer__legal { font-size: 0.8rem; color: var(--graphite-400); text-align: center; }

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 60px; height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.6);
  z-index: 90;
  animation: pulse 2.6s infinite;
}
.whatsapp-float .icon { width: 30px; height: 30px; fill: #08210f; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 12px 28px -8px rgba(37,211,102,0.6); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 12px 28px -8px rgba(37,211,102,0.6); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 12px 28px -8px rgba(37,211,102,0.6); }
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 340px; margin: 0 auto; }
  .contact { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav { position: fixed; top: 72px; left: 0; right: 0; background: var(--graphite-900); flex-direction: column; padding: 24px; gap: 18px; border-bottom: 1px solid var(--graphite-700); transform: translateY(-130%); opacity: 0; transition: 0.3s ease; }
  .nav.is-open { transform: translateY(0); opacity: 1; }
  .nav-toggle { display: flex; }
  .btn--nav { display: none; }
  .cards { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .section-lede { margin-left: 0; }
  .hero__stats { gap: 32px; }
}
