:root {
  --brand: #A41C3F;
  --gray: #464F50;
  --cream: #F7F3EA;
  --white: #FFFFFF;
  --line: #E6DED3;
  --shadow: 0 14px 34px rgba(70, 79, 80, 0.10);
  --max: 1180px;
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--gray);
  background: var(--white);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
p, h1, h2, h3 { margin-top: 0; }

h1,
h2,
h3 {
  color: var(--gray);
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 3.15rem;
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.15rem;
  font-weight: 650;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  font-weight: 650;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 120;
  padding: 10px 14px;
  color: var(--white);
  background: var(--brand);
  border-radius: 4px;
}

.skip-link:focus { top: 12px; }

.topbar {
  color: var(--gray);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar a:hover { color: var(--brand); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-block {
  flex: 0 0 auto;
  line-height: 1.05;
}

.brand-name {
  display: block;
  color: var(--gray);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-name span { color: var(--brand); }

.brand-subtitle {
  display: block;
  margin-top: 7px;
  color: var(--gray);
  font-size: 0.69rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}

.ga-mark {
  width: 45px;
  height: 54px;
  flex: 0 0 45px;
  object-fit: contain;
}

.professional-lockup {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  line-height: 1.2;
}

.mary-name {
  display: block;
  color: var(--brand);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
}

.professional-role {
  display: block;
  margin-top: 4px;
  color: var(--gray);
  font-size: 0.69rem;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 600;
}

.main-nav > a,
.nav-services > summary { white-space: nowrap; }

.main-nav a:hover,
.nav-services summary:hover { color: var(--brand); }

.nav-services { position: relative; }
.nav-services summary { cursor: pointer; list-style: none; }
.nav-services summary::-webkit-details-marker { display: none; }
.nav-services summary::after { content: " +"; color: var(--brand); }
.nav-services[open] summary::after { content: " -"; }

.service-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: -20px;
  width: 295px;
  display: grid;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-menu a {
  padding: 9px 10px;
  border-radius: 4px;
}

.service-menu a:hover { background: var(--cream); }

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  color: var(--white);
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 5px;
}

.nav-cta:hover { color: var(--white) !important; opacity: 0.9; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--gray);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  width: 20px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: center;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(55, 62, 63, 0.96) 0%, rgba(55, 62, 63, 0.88) 48%, rgba(55, 62, 63, 0.26) 100%),
    url("hero-asesoria-online.png");
  background-position: center;
  background-size: cover;
}

.hero-content {
  max-width: 760px;
  padding: 86px 0 104px;
}

.hero h1 { max-width: 760px; color: var(--white); }

.hero-lead {
  max-width: 690px;
  margin-bottom: 30px;
  color: var(--white);
  font-size: 1.13rem;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow,
.service-hero .eyebrow { color: var(--white); }

.button-row,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { color: var(--white); background: var(--brand); }
.btn-primary:hover { opacity: 0.9; }
.btn-light { color: var(--gray); background: var(--white); }
.btn-outline { color: var(--brand); background: transparent; border-color: var(--brand); }
.hero .btn-outline,
.service-hero .btn-outline { color: var(--white); border-color: var(--white); }

.proof-strip {
  position: relative;
  z-index: 2;
  margin-top: -38px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.proof-item {
  min-height: 110px;
  padding: 23px 26px;
}

.proof-item + .proof-item { border-left: 1px solid var(--line); }
.proof-item strong { display: block; margin-bottom: 5px; color: var(--gray); }
.proof-item span { display: block; color: var(--gray); font-size: 0.9rem; }

section { padding: 82px 0; }
.proof-strip { padding: 0; }
.section-cream { background: var(--cream); }
.section-bordered { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p:last-child { margin-bottom: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.content-card,
.faq-item {
  padding: 25px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card { display: flex; flex-direction: column; }
.card p { margin-bottom: 18px; }
.card-link { margin-top: auto; color: var(--brand); font-weight: 650; }
.card-link:hover { text-decoration: underline; }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 64px;
  align-items: start;
}

.credential-panel {
  padding: 30px;
  background: var(--cream);
  border-left: 4px solid var(--brand);
}

.credential-panel .ga-mark {
  width: 64px;
  height: 78px;
  margin-bottom: 18px;
}

.credential-list,
.check-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.credential-list li,
.check-list li {
  position: relative;
  padding: 11px 0 11px 24px;
  border-top: 1px solid var(--line);
}

.credential-list li::before,
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.service-hero {
  padding: 74px 0;
  color: var(--white);
  background: var(--gray);
}

.service-hero h1 { max-width: 850px; color: var(--white); }
.service-hero .lead { max-width: 760px; margin-bottom: 28px; font-size: 1.08rem; }

.breadcrumbs {
  padding: 15px 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.breadcrumbs a { color: var(--brand); }

.prose {
  max-width: 790px;
}

.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 28px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 8px; }

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 60px;
  align-items: start;
}

.side-panel {
  position: sticky;
  top: 122px;
  padding: 25px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.side-panel .btn { width: 100%; }
.side-panel ul { margin: 18px 0 24px; padding-left: 20px; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: steps;
}

.process-step {
  position: relative;
  padding: 54px 24px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: steps;
}

.process-step::before {
  content: counter(steps);
  position: absolute;
  top: 20px;
  left: 24px;
  color: var(--brand);
  font-size: 1.15rem;
  font-weight: 700;
}

.faq-list { border-top: 1px solid var(--line); }

.faq-list details {
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding-right: 34px;
  color: var(--gray);
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; color: var(--brand); }
.faq-list details[open] summary::after { content: "-"; }
.faq-list details p { max-width: 850px; margin: 13px 0 0; }

.notice {
  margin-top: 30px;
  padding: 16px 18px;
  background: var(--cream);
  border-left: 3px solid var(--brand);
  font-size: 0.9rem;
}

.offer-band {
  padding: 48px 0;
  color: var(--white);
  background: var(--gray);
}

.offer-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.offer-band h2,
.offer-band p { color: var(--white); }
.offer-band h2 { margin-bottom: 8px; }
.offer-band p { margin-bottom: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list a { color: var(--brand); font-weight: 600; }

.booking-box {
  margin-top: 26px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
}

.booking-box h3 { margin-bottom: 7px; }
.booking-box p { margin-bottom: 16px; font-size: 0.92rem; }

.contact-form {
  display: grid;
  gap: 15px;
}

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form label { display: grid; gap: 6px; font-size: 0.86rem; font-weight: 600; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--gray);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 2px solid rgba(164, 28, 63, 0.2); border-color: var(--brand); }
.privacy-check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 9px !important; font-weight: 400 !important; }
.privacy-check input { width: auto; margin-top: 5px; }

.site-footer {
  padding: 52px 0 24px;
  color: var(--white);
  background: var(--gray);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr;
  gap: 42px;
}

.footer-title { margin-bottom: 12px; color: var(--white); font-size: 1.12rem; }
.footer-brand .mary-name { margin: 16px 0 5px; color: var(--white); }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: grid; gap: 8px; }
.footer-small { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.22); font-size: 0.78rem; }

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  min-width: 52px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--white);
  background: var(--brand);
  border-radius: 26px;
  box-shadow: var(--shadow);
  font-size: 0.84rem;
  font-weight: 650;
}

.whatsapp-float:hover { opacity: 0.9; }

.legal-main { padding: 58px 0 80px; }
.legal-main .prose { max-width: 850px; }
.legal-main h1 { font-size: 2.5rem; }

@media (max-width: 1040px) {
  .professional-lockup { display: none; }
  .main-nav { gap: 16px; }
}

@media (max-width: 860px) {
  h1 { font-size: 2.45rem; }
  h2 { font-size: 1.8rem; }
  section { padding: 64px 0; }
  .topbar-inner { justify-content: center; }
  .topbar-inner > span:first-child { display: none; }
  .header-inner { min-height: 78px; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .main-nav {
    position: fixed;
    inset: 112px 0 auto;
    max-height: calc(100vh - 112px);
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 24px;
    overflow-y: auto;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: grid; }
  .main-nav > a,
  .nav-services > summary { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 12px; justify-content: center; }
  .service-menu {
    position: static;
    width: 100%;
    padding: 5px 0 8px 14px;
    border: 0;
    box-shadow: none;
  }
  .hero { min-height: 560px; background-position: 62% center; }
  .hero-content { padding: 72px 0 94px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item + .proof-item { border-left: 0; border-top: 1px solid var(--line); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col,
  .service-layout,
  .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .side-panel { position: static; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, var(--max)); }
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.58rem; }
  .brand-name { font-size: 1.08rem; }
  .brand-subtitle { font-size: 0.6rem; }
  .ga-mark { width: 36px; height: 45px; flex-basis: 36px; }
  .header-inner { gap: 8px; }
  .identity { gap: 6px; }
  .professional-lockup { display: block; padding-left: 7px; }
  .professional-lockup .mary-name { font-size: 0.58rem; }
  .professional-role { display: none; }
  .main-nav { inset: 112px 0 auto; }
  .hero { min-height: 540px; background-position: 70% center; }
  .hero-content { padding: 64px 0 84px; }
  .hero-lead { font-size: 1rem; }
  .button-row .btn,
  .cta-row .btn { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .proof-item { min-height: auto; }
  .field-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .offer-band-inner { align-items: stretch; flex-direction: column; }
  .offer-band .btn { width: 100%; }
  .whatsapp-float { right: 12px; bottom: 12px; padding: 0 14px; }
}

