/* ============================================
   AZM ASESORÍA — DESIGN TOKENS
   ============================================ */
:root {
  --navy-deep: #06203E;
  --navy: #0B4A85;
  --navy-light: #2E76BE;
  --gold: #B08A34;
  --gold-light: #D6B168;
  --cream: #F6F4EF;
  --white: #FFFFFF;
  --ink: #17212B;
  --ink-soft: #4B5A68;
  --line: #E1DDD3;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --wrap: 1180px;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 14px;
  font-weight: 500;
}
.eyebrow-light { color: var(--gold-light); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-deep);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  max-width: 720px;
}
.section-title-light { color: var(--white); }

.section-lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 0 44px;
}

blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 21px;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin: 28px 0 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--navy-deep);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy); box-shadow: 0 8px 20px rgba(11,74,133,0.25); }

.btn-ghost {
  background: transparent;
  color: var(--navy-deep);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  white-space: nowrap;
}
.btn-gold:hover { background: #9A7628; box-shadow: 0 8px 20px rgba(176,138,52,0.3); }

.btn-block { width: 100%; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 128px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-mark { height: 96px; width: auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  color: var(--navy-deep);
}
.brand-name em { font-style: italic; color: var(--gold); font-weight: 400; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
}
.main-nav a:not(.nav-cta):hover { color: var(--navy); }
.nav-cta {
  background: var(--navy-deep);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 3px;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--navy); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--navy-deep); display: block;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
  background: var(--cream);
}
.hero-ledger {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent, transparent 47px,
    rgba(11,74,133,0.045) 47px, rgba(11,74,133,0.045) 48px
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.8fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--navy); font-weight: 500; }
.hero-lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.hero-signature {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--navy-deep);
  font-size: 16.5px;
  opacity: 0.85;
}

.hero-figure { position: relative; }
.hero-frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(6,32,62,0.35);
}
.hero-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.hero-spark {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%; height: 60px;
  stroke: var(--gold-light);
  fill: none;
}
.hero-spark polyline {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw 1.8s ease-out 0.4s forwards;
}
.hero-spark circle { fill: var(--gold-light); opacity: 0; animation: fadein 0.4s ease 2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }

.hero-tag {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px 20px;
  box-shadow: 0 16px 30px -12px rgba(6,32,62,0.2);
  max-width: 220px;
}
.hero-tag-label {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.3;
}
.hero-tag-sub {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ============================================
   VALUES STRIP
   ============================================ */
.strip {
  background: var(--navy-deep);
  padding: 22px 0;
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.strip-item {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.strip-mark {
  font-family: var(--font-mono);
  color: var(--gold-light);
  font-size: 12px;
}

/* ============================================
   SECTIONS (GENERIC)
   ============================================ */
.section { padding: 104px 0; }
.section-alt { background: var(--cream); }

/* ============================================
   DOLOR / PAIN SECTION
   ============================================ */
.pain-section { padding-bottom: 88px; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}
.pain-card {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 24px 26px;
}
.pain-card p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--navy-deep);
  line-height: 1.5;
}
.pain-bridge {
  font-size: 18px;
  color: var(--ink);
  max-width: 760px;
  line-height: 1.6;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

/* ============================================
   MANIFIESTO / POR QUÉ AZM
   ============================================ */
.manifesto-section {
  background: var(--navy-deep);
  text-align: center;
}
.manifesto-inner { max-width: 760px; }
.manifesto-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--white);
  border: none;
  padding: 0;
  margin: 0 0 28px;
  line-height: 1.25;
}
.manifesto-quote em { color: var(--gold-light); font-style: italic; font-weight: 400; }
.manifesto-body {
  color: rgba(255,255,255,0.72);
  font-size: 16.5px;
  line-height: 1.7;
  margin: 0 auto 56px;
  text-align: left;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}
.manifesto-item {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 18px;
}
.manifesto-item h3 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 8px;
}
.manifesto-item p {
  color: rgba(255,255,255,0.6);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.55;
}

/* ============================================
   SERVICIOS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--white);
  padding: 40px;
}
.service-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}

/* ============================================
   METODO
   ============================================ */
.method-list {
  display: flex;
  flex-direction: column;
}
.method-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.method-step:last-child { border-bottom: 1px solid var(--line); }
.method-index {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--gold);
  padding-top: 4px;
}
.method-step h3 { font-size: 19px; margin-bottom: 8px; }
.method-step p { color: var(--ink-soft); margin: 0; max-width: 560px; font-size: 15px; }

/* ============================================
   INFORMES / MINI DASHBOARD
   ============================================ */
.report-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.report-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.report-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 15px;
}
.report-list li:last-child { border-bottom: 1px solid var(--line); }
.report-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 21px;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.report-cta { margin-top: 32px; }

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 780px; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-deep);
  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-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 14px 0 0;
  max-width: 680px;
}

.mini-dash {
  background: var(--navy-deep);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 30px 60px -24px rgba(6,32,62,0.5);
}
.mini-dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.mini-dash-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.2);
}
.mini-dash-chart {
  width: 100%;
  height: auto;
  margin-bottom: 18px;
}
.mini-dash-chart .grid { stroke: rgba(255,255,255,0.08); stroke-width: 1; }
.mini-dash-chart .bar { fill: rgba(46,118,190,0.35); }
.mini-dash-chart .chart-line {
  stroke: var(--gold-light);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mini-dash-legend {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
}
.mini-dash-legend div { display: flex; flex-direction: column; gap: 4px; }
.mini-dash-legend span { font-size: 11.5px; color: rgba(255,255,255,0.55); }
.mini-dash-legend strong {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--white);
  font-weight: 500;
}

/* ============================================
   SOBRE MI
   ============================================ */
.about-inner {
  display: grid;
  grid-template-columns: 0.75fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-figure img {
  border-radius: 6px;
  box-shadow: 0 24px 50px -20px rgba(6,32,62,0.3);
}
.about-copy p { color: var(--ink-soft); font-size: 16px; }

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
  background: var(--navy-deep);
  position: relative;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.newsletter-lede {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  max-width: 480px;
  margin: 0;
}
.newsletter-field {
  display: flex;
  gap: 10px;
  background: var(--white);
  padding: 6px;
  border-radius: 4px;
  flex-wrap: wrap;
}
.newsletter-field input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.newsletter-fine {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  margin: 14px 2px 0;
}

/* Brevo: mensajes de éxito/error del formulario de suscripción,
   con estilo propio en vez del recuadro genérico por defecto */
.newsletter-alert {
  font-family: var(--font-body);
  font-size: 14px;
  text-align: left;
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.newsletter-alert-error {
  color: #661d1d;
  background: #ffeded;
  border: 1px solid #ff4949;
}
.newsletter-alert-success {
  color: #085229;
  background: #e7faf0;
  border: 1px solid #13ce66;
}
.newsletter-form svg.progress-indicator__icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: middle;
}

/* ============================================
   CONTACTO
   ============================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}
.contact-list li {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--ink-soft); }
.contact-list a { text-decoration: none; font-weight: 500; color: var(--navy-deep); }

.contact-form {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 7px;
}
.form-row input, .form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--navy); }
.form-status { font-size: 13.5px; color: var(--ink-soft); margin: 14px 0 0; min-height: 18px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
}
.footer-brand img { height: 44px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand em { color: var(--gold-light); font-style: italic; font-weight: 400; }
.footer-nav { display: flex; gap: 26px; }
.footer-nav a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; }
.footer-nav a:hover { color: var(--white); }
.footer-legal { color: rgba(255,255,255,0.4); font-size: 13px; margin: 0; }

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero-inner, .report-inner, .about-inner, .newsletter-inner, .contact-inner {
    grid-template-columns: 1fr;
  }
  .about-figure { max-width: 320px; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 380px; margin: 0 auto; }
  .pain-grid { grid-template-columns: 1fr; }
  .manifesto-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 92px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 32px 28px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: flex; }
  .header-inner { height: 92px; }
  .brand-mark { height: 66px; }
  .brand-name { font-size: 19px; }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .hero-tag { position: static; margin-top: 16px; max-width: none; }
  .strip-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-field { flex-direction: column; }
  .newsletter-field .btn-gold { width: 100%; }
}
