:root {
  --wine: #681648;
  --wine-dark: #481030;
  --wine-deep: #310a21;
  --wine-soft: #f3e8ef;
  --rose: #b56a92;
  --ink: #251d23;
  --muted: #6f626b;
  --paper: #fffdfc;
  --surface: #ffffff;
  --line: rgba(104, 22, 72, 0.14);
  --shadow: 0 24px 70px rgba(64, 18, 45, 0.13);
  --shadow-soft: 0 14px 40px rgba(64, 18, 45, 0.09);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(104, 22, 72, 0.06), transparent 26rem),
    linear-gradient(180deg, #fffdfc 0%, #fff 44%, #fbf7f9 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section-shell { position: relative; padding: 96px 0; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: var(--wine);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(255, 253, 252, 0.86);
  border-bottom: 1px solid rgba(104, 22, 72, .08);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 184px; max-height: 64px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { padding: 11px 14px; border-radius: 999px; color: #5d5058; font-weight: 700; font-size: .95rem; transition: .25s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--wine); background: var(--wine-soft); }
.main-nav .nav-cta { color: #fff; background: var(--wine); padding-inline: 20px; }
.main-nav .nav-cta:hover { color: #fff; background: var(--wine-dark); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--wine-soft); cursor: pointer; padding: 12px; }
.menu-toggle span { display: block; height: 2px; background: var(--wine); margin: 5px 0; border-radius: 999px; transition: .25s ease; }

.hero { min-height: calc(100vh - 82px); display: grid; align-items: center; overflow: hidden; padding-top: 72px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(3px); pointer-events: none; }
.hero-orb-one { width: 360px; height: 360px; background: rgba(104, 22, 72, .055); right: -130px; top: 5%; }
.hero-orb-two { width: 220px; height: 220px; border: 1px solid rgba(104,22,72,.12); left: -90px; bottom: 8%; }
.eyebrow, .section-kicker { margin: 0 0 14px; color: var(--wine); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.hero h1 { margin: 0; font-size: clamp(3.15rem, 7vw, 6.25rem); line-height: .94; letter-spacing: -.055em; max-width: 8.5ch; }
.hero h1 span { display: block; color: var(--wine); }
.hero-name { margin: 28px 0 2px; font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 800; }
.hero-role { margin: 0; color: var(--muted); font-size: 1.04rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.hero-badges span { padding: 9px 14px; border: 1px solid var(--line); background: rgba(255,255,255,.7); border-radius: 999px; color: var(--wine-dark); font-weight: 750; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { min-height: 50px; padding: 13px 22px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--wine); color: #fff; box-shadow: 0 12px 26px rgba(104,22,72,.24); }
.btn-primary:hover { background: var(--wine-dark); box-shadow: 0 18px 34px rgba(104,22,72,.28); }
.btn-secondary { background: #fff; color: var(--wine); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.hero-card { position: relative; overflow: hidden; border: 1px solid rgba(104,22,72,.12); background: rgba(255,255,255,.84); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: 30px; }
.hero-card-glow { position: absolute; inset: auto -70px -100px auto; width: 260px; height: 260px; border-radius: 50%; background: rgba(104,22,72,.08); filter: blur(10px); }
.hero-logo { width: 100%; aspect-ratio: 16/9.2; object-fit: contain; border-radius: 22px; background: #f8f7f7; border: 1px solid rgba(104,22,72,.08); }
.quick-info { position: relative; display: grid; gap: 12px; margin-top: 18px; }
.quick-info > div { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 14px 4px; border-bottom: 1px solid rgba(104,22,72,.09); }
.quick-info > div:last-child { border-bottom: 0; }
.quick-label { color: var(--muted); font-size: .9rem; }
.quick-info strong { text-align: right; color: var(--wine-dark); }

.profile { background: #fff; }
.profile-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px; }
.profile-panel h2, .section-heading h2, .approach-card h2, .schedule-title h2, .contact-copy h2, .final-card h2 { margin: 0; font-size: clamp(2.15rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.04em; }
.profile-intro { color: var(--muted); font-size: 1.12rem; margin: 18px 0 30px; }
.credential-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.credential-card { padding: 20px; border-radius: var(--radius-md); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-soft); }
.credential-card span { display: block; color: var(--muted); font-size: .85rem; margin-bottom: 7px; }
.credential-card strong { color: var(--wine-dark); }
.profile-visual { min-height: 470px; position: relative; display: grid; place-items: center; }
.professional-photo-frame {
  width: min(100%, 390px);
  margin: 0;
  padding: 7px;
  border-radius: 38px;
  border: 1px solid rgba(104, 22, 72, .24);
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(243,232,239,.76));
  box-shadow: 0 30px 70px rgba(78, 16, 53, .17);
  position: relative;
}
.professional-photo-frame::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 48px;
  background: rgba(104,22,72,.09);
  filter: blur(24px);
  z-index: -1;
}
.professional-photo-soft-edge {
  position: relative;
  overflow: hidden;
  border-radius: 31px;
  background: #f8f2f5;
}
.professional-photo-soft-edge::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 32px 12px rgba(255,255,255,.34);
}
.professional-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 38%;
  display: block;
  border-radius: inherit;
}
.floating-note { position: absolute; padding: 12px 17px; border-radius: 999px; background: rgba(255,255,255,.94); border: 1px solid var(--line); box-shadow: var(--shadow-soft); font-weight: 800; color: var(--wine); backdrop-filter: blur(10px); }
.note-a { top: 13%; right: 0; }
.note-b { bottom: 13%; left: 0; }

.services { background: linear-gradient(180deg, #fbf7f9, #fff); }
.section-heading { margin-bottom: 42px; max-width: 760px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.service-card { grid-column: span 2; min-height: 210px; padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); display: flex; flex-direction: column; justify-content: space-between; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 3; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(104,22,72,.28); }
.service-number { color: var(--rose); font-weight: 900; letter-spacing: .08em; }
.service-card h3 { margin: 34px 0 0; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.15; }

.approach { padding-top: 44px; }
.approach-card { min-height: 320px; display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 40px; padding: 46px 54px; border-radius: var(--radius-xl); color: #fff; background: linear-gradient(135deg, var(--wine-deep), var(--wine) 62%, #89275f); box-shadow: 0 34px 80px rgba(65, 14, 44, .25); overflow: hidden; }
.approach-card::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); right: -110px; top: -140px; }
.approach-symbol { width: 180px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; font-family: Georgia, serif; font-size: 7.6rem; background: rgba(255,255,255,.08); }
.section-kicker.light { color: #f0cfe1; }
.approach-card p:last-child { margin: 18px 0 0; color: rgba(255,255,255,.78); font-size: 1.08rem; }

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audience-card { min-height: 250px; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); display: grid; place-items: center; align-content: center; text-align: center; box-shadow: var(--shadow-soft); transition: .25s ease; }
.audience-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.audience-icon { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--wine-soft); color: var(--wine); font-weight: 900; font-size: 1.4rem; border: 1px solid var(--line); }
.audience-card h3 { margin: 22px 0 0; font-size: 1.55rem; }

.modalities { background: #fff; }
.modality-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.modality-card { min-height: 280px; padding: 34px; border-radius: var(--radius-lg); position: relative; overflow: hidden; background: linear-gradient(145deg, #fff, #faf4f7); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.modality-card::after { content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%; background: rgba(104,22,72,.06); right: -50px; bottom: -60px; }
.modality-tag { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: var(--wine-soft); color: var(--wine); font-weight: 800; }
.modality-card h3 { margin: 70px 0 5px; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.03em; }
.modality-card p { margin: 0; color: var(--muted); }

.schedule { padding-top: 44px; }
.schedule-wrap { padding: 46px; border-radius: var(--radius-xl); background: linear-gradient(135deg, #3d0b29, #6b184b); color: #fff; box-shadow: var(--shadow); }
.schedule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.day-card { padding: 22px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); }
.day-card span { display: block; color: #efd4e3; margin-bottom: 6px; }
.day-card strong { font-size: 1.15rem; }

.contact { background: linear-gradient(180deg, #fff, #fbf7f9); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact-copy > p:not(.section-kicker) { color: var(--muted); font-size: 1.05rem; }
.contact-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.contact-meta span { padding: 9px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--wine-dark); font-weight: 700; }
.contact-cards { display: grid; gap: 13px; }
.contact-card { padding: 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center; transition: .22s ease; }
.contact-card:hover { transform: translateX(5px); border-color: rgba(104,22,72,.3); box-shadow: var(--shadow); }
.contact-label { grid-column: 1; color: var(--muted); font-size: .84rem; }
.contact-card strong { grid-column: 1; color: var(--wine-dark); font-size: clamp(1rem, 2vw, 1.22rem); word-break: break-word; }
.contact-action { grid-column: 2; grid-row: 1 / span 2; color: var(--wine); font-weight: 900; }

.final-cta { padding-top: 32px; }
.final-card { display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 30px; padding: 30px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.final-logo { width: 170px; border-radius: 18px; border: 1px solid rgba(104,22,72,.08); }
.final-card h2 { font-size: clamp(1.8rem, 3.6vw, 3.2rem); }
.final-card p { margin: 6px 0 0; }
.final-sub { color: var(--muted); }

.site-footer { margin-top: 72px; background: #2d091f; color: #fff; padding: 42px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; align-items: center; }
.footer-logo { width: 190px; border-radius: 14px; background: #fff; }
.footer-info { display: grid; gap: 5px; color: rgba(255,255,255,.75); }
.footer-info strong { color: #fff; }
.footer-info a:hover { color: #f3cade; }

.back-to-top { position: fixed; right: 18px; bottom: 18px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--wine); color: #fff; box-shadow: 0 14px 30px rgba(104,22,72,.28); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s ease; z-index: 80; }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* El contenido permanece visible incluso si JavaScript no carga. */
.reveal { opacity: 1; transform: none; }
.reveal.reveal-ready { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.reveal-ready.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal.reveal-ready { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .section-shell { padding: 78px 0; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: calc(100% + 8px); left: 20px; right: 20px; padding: 12px; border-radius: 20px; background: rgba(255,255,255,.98); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 4px; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: .22s ease; }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { width: 100%; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: auto; }
  .hero-grid, .profile-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; }
  .hero h1 { max-width: none; }
  .hero-card { max-width: 720px; }
  .profile-visual { min-height: 320px; }
  .credential-grid { grid-template-columns: repeat(3, 1fr); }
  .approach-card { grid-template-columns: 160px 1fr; padding: 40px; }
  .approach-symbol { width: 140px; font-size: 6rem; }
  .final-card { grid-template-columns: 140px 1fr; }
  .final-card .btn { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section-shell { padding: 64px 0; }
  .nav-wrap { min-height: 72px; }
  .brand-logo { width: 148px; max-height: 54px; }
  .hero { padding-top: 46px; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.6rem); }
  .hero-card { padding: 18px; border-radius: 26px; }
  .quick-info > div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .quick-info strong { text-align: left; }
  .credential-grid, .audience-grid, .modality-grid, .schedule-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: auto; min-height: 170px; }
  .approach-card { grid-template-columns: 1fr; padding: 30px 24px; }
  .approach-symbol { width: 116px; font-size: 5rem; }
  .profile-visual { min-height: 410px; }
  .professional-photo-frame { width: min(88vw, 360px); border-radius: 30px; }
  .professional-photo-soft-edge { border-radius: 24px; }
  .note-a { right: 0; top: 12%; }
  .note-b { left: 0; bottom: 13%; }
  .schedule-wrap { padding: 30px 22px; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-action { grid-column: 1; grid-row: auto; }
  .final-card { grid-template-columns: 1fr; text-align: center; }
  .final-logo { width: min(100%, 260px); margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
  .hero-badges span { flex: 1 1 calc(50% - 10px); text-align: center; }
  .profile-panel h2, .section-heading h2, .approach-card h2, .schedule-title h2, .contact-copy h2 { font-size: 2.15rem; }
  .floating-note { font-size: .82rem; padding: 9px 12px; }
}
