@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/lora-latin.woff2") format("woff2");
}

:root {
  --navy: #16263f;
  --navy-dark: #091123;
  --orange: #ff6a00;
  --gray-light: #b3b9b7;
  --gray-blue: #546469;
  --ice: #eff7f9;
  --white: #ffffff;
  --text: #24323a;
  --border: #dce5e8;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(9, 17, 35, 0.09);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 9999;
  background: var(--orange);
  color: var(--white);
  padding: .75rem 1rem;
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.section { padding: 5rem 0; }
.section-soft { background: var(--ice); }

h1, h2, h3 {
  font-family: "Lora", serif;
  color: var(--navy-dark);
  line-height: 1.15;
  margin-top: 0;
}
h1 { font-size: clamp(2.35rem, 7vw, 4.6rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.03em; }
h3 { font-size: 1.35rem; }
p { margin-top: 0; }

.eyebrow {
  margin-bottom: .85rem;
  color: var(--orange);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow.light { color: #ff9a55; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(22,38,63,.08);
}
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-decoration: none;
  min-width: 0;
}
.brand-paratus {
  font-family: "Lora", serif;
  color: var(--navy-dark);
  font-size: 1.72rem;
  letter-spacing: .22em;
  font-weight: 600;
}
.brand-partners {
  margin-top: .28rem;
  color: var(--orange);
  font-family: "Lora", serif;
  font-size: .93rem;
  letter-spacing: .42em;
  font-weight: 600;
}
.brand-tagline {
  margin-top: .4rem;
  color: var(--gray-blue);
  font-size: .48rem;
  letter-spacing: .13em;
  font-weight: 700;
  white-space: nowrap;
}
.brand-tagline-long { white-space: normal; max-width: 220px; }
.main-nav { display: none; align-items: center; gap: 1.1rem; }
.main-nav a { text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--orange); }
.menu-toggle { border: 0; background: transparent; padding: .5rem; cursor: pointer; flex: 0 0 auto; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 5px 0; }
.main-nav.open {
  display: flex;
  position: absolute;
  top: 84px;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 1rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .8rem 1.2rem;
  border: 2px solid var(--orange);
  border-radius: 999px;
  background: var(--orange);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); background: #e95f00; border-color: #e95f00; }
.btn-small { min-height: 42px; padding: .65rem 1rem; }
.btn-outline { background: transparent; color: var(--navy) !important; }
.btn-outline:hover { background: var(--orange); color: var(--white) !important; }

.hero { position: relative; overflow: hidden; padding: 5.5rem 0 4rem; background: linear-gradient(180deg, #fff 0%, #f8fbfc 100%); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-lead { font-size: 1.15rem; color: var(--gray-blue); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.8rem; }
.text-link { font-weight: 700; color: var(--navy); text-decoration: none; }
.text-link:hover { color: var(--orange); }
.hero-card { position: relative; z-index: 2; padding: 2rem; border: 1px solid rgba(22,38,63,.08); border-radius: var(--radius); background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.card-kicker { display: block; margin-bottom: 1rem; color: var(--orange); font-weight: 700; }
.hero-shape { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .11; }
.hero-shape-one { width: 420px; height: 160px; right: -130px; top: 60px; border: 44px solid var(--orange); transform: rotate(-12deg); }
.hero-shape-two { width: 430px; height: 170px; right: 40px; top: 170px; border: 44px solid var(--navy); transform: rotate(12deg); }

.section-heading { max-width: 760px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.symptom-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.symptom-card { display: flex; align-items: flex-start; gap: .85rem; padding: 1.3rem; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.symptom-card span.num { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border: 1px solid var(--orange); border-radius: 50%; color: var(--orange); font-weight: 800; font-size: .72rem; letter-spacing: .04em; line-height: 1; }
.symptom-card p { margin: .18rem 0 0; font-weight: 600; color: var(--navy); }
.insight-box { margin-top: 2rem; padding: 1.35rem 1.5rem; border-left: 4px solid var(--orange); background: var(--ice); }
.insight-box p { margin: 0; font-weight: 600; color: var(--navy); }
.insight-box.dark { background: rgba(255,255,255,.05); border-left-color: var(--orange); }
.insight-box.dark p { color: rgba(255,255,255,.85); }

.value-grid { display: grid; gap: 2rem; }
.value-content { display: grid; gap: 1.4rem; }
.benefits-grid { display: grid; gap: 1rem; }
.benefit { padding: 1.35rem; background: var(--white); border-radius: 14px; border: 1px solid var(--border); }
.benefit h3 { margin-bottom: .45rem; }
.benefit p { margin-bottom: 0; }

.module-grid { display: grid; gap: 1.2rem; margin-top: 2.5rem; }
.module-card { position: relative; padding: 1.7rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); display: flex; flex-direction: column; }
.module-card.featured { border: 2px solid var(--orange); box-shadow: var(--shadow); }
.module-tag { display: inline-block; margin-bottom: 1rem; color: var(--orange); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.module-card h3 { margin-bottom: .6rem; }
.module-card .module-text { margin-bottom: 1.1rem; }
.module-meta { margin-top: auto; display: grid; gap: .6rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .88rem; }
.module-meta p { margin: 0; }
.module-meta strong { color: var(--navy); }
.module-card .btn { margin-top: 1.2rem; align-self: flex-start; }

.realty-grid { display: grid; gap: 1.2rem; margin-top: 2.5rem; }
.realty-card { padding: 1.7rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.realty-card h3 { margin-bottom: .6rem; }
.realty-card .module-meta { border-top: 1px solid var(--border); margin-top: 1.1rem; padding-top: 1rem; }
.realty-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }

.methodology { background: var(--navy-dark); color: rgba(255,255,255,.78); }
.methodology h2 { color: var(--white); }
.methodology .section-heading p:last-child { max-width: 850px; }
.principle-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
.principle-card { padding: 1.3rem 1.4rem; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.04); }
.principle-card strong { display: block; margin-bottom: .4rem; color: var(--white); font-size: 1.02rem; }
.principle-card p { margin: 0; color: rgba(255,255,255,.72); }

.steps-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.steps-note { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.steps-note p { margin: 0; color: var(--gray-blue); font-style: italic; }

.experience-grid { display: grid; gap: 2rem; align-items: center; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.8rem; }
.stat { padding: 1rem .5rem; border: 1px solid var(--border); border-radius: 14px; background: var(--ice); text-align: center; }
.stat strong { display: block; font-family: "Lora", serif; font-size: 1.9rem; color: var(--orange); line-height: 1; }
.stat span { display: block; margin-top: .4rem; font-size: .76rem; color: var(--gray-blue); line-height: 1.25; }
.track-record { padding: 1.7rem; border-radius: var(--radius); background: var(--ice); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.6rem; margin-bottom: .8rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.check-list.dark li { color: var(--navy); font-weight: 600; }

.faq-list { margin-top: 2rem; display: grid; gap: .8rem; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--white); overflow: hidden; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.4rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-answer { padding: 0 1.4rem 1.3rem; color: var(--gray-blue); }
.faq-cta { margin-top: 2rem; }
.faq-cta a { font-weight: 700; color: var(--navy); text-decoration: none; }
.faq-cta a:hover { color: var(--orange); }

.contact-section { background: var(--navy); color: rgba(255,255,255,.82); }
.contact-section h2 { color: var(--white); }
.contact-grid { display: grid; gap: 2rem; }
.contact-details { display: grid; gap: .3rem; margin-top: 1.5rem; }
.contact-details a { color: var(--white); text-decoration: none; }
.contact-form { padding: 1.5rem; border-radius: var(--radius); background: var(--white); color: var(--text); }
.form-grid { display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: .4rem; color: var(--navy); font-size: .9rem; font-weight: 700; }
.contact-form label > span.req { color: var(--orange); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: .8rem .9rem; color: var(--text); background: #fff; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: 3px solid rgba(255,106,0,.2); border-color: var(--orange); }
.consent { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; font-weight: 500 !important; }
.consent input { width: auto; margin-top: .28rem; }
.consent span { color: var(--text) !important; }
.consent a { color: var(--navy); font-weight: 700; text-decoration: underline; }
.contact-form .btn { margin-top: 1rem; width: 100%; }
.form-status { min-height: 1.5rem; margin: .8rem 0 0; font-weight: 600; }
.form-status.success { color: #24703f; }
.form-status.error { color: #a92f2f; }
.form-note { margin-top: .8rem; font-size: .82rem; color: var(--gray-blue); }
.form-note a { color: var(--navy); font-weight: 700; text-decoration: underline; }

.site-footer { padding: 3rem 0 1rem; background: var(--navy-dark); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-brand img { width: 150px; height: 70px; object-fit: contain; background: #fff; border-radius: 8px; }
.footer-brand p { margin-top: .8rem; text-transform: uppercase; font-size: .72rem; letter-spacing: .12em; }
.site-footer strong { color: var(--white); }
.footer-bottom { display: flex; flex-direction: column; gap: .5rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.footer-bottom a { color: inherit; text-decoration: underline; }
.footer-disclaimer { font-size: .76rem; color: rgba(255,255,255,.5); margin-top: .5rem; }

/* Páginas legales */
.legal-header { padding: 2.5rem 0 1rem; }
.legal-back { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.legal-back:hover { color: var(--orange); }
.legal-content { padding: 1rem 0 5rem; max-width: 760px; }
.legal-content h1 { margin-bottom: .3rem; }
.legal-updated { color: var(--gray-blue); margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.4rem; margin-top: 2.2rem; margin-bottom: .8rem; }
.legal-content p, .legal-content li { color: var(--text); }
.legal-content ul { padding-left: 1.3rem; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.legal-content th, .legal-content td { border: 1px solid var(--border); padding: .6rem .7rem; text-align: left; font-size: .92rem; vertical-align: top; }
.legal-content th { background: var(--ice); }
.legal-placeholder { background: #fff2cc; color: #6b4e00; padding: .05rem .35rem; border-radius: 4px; font-weight: 700; }
.legal-notes { margin-top: 2.5rem; padding: 1.3rem 1.5rem; border-radius: var(--radius); background: var(--ice); }
.legal-notes h2 { margin-top: 0; }

:focus-visible { outline: 3px solid rgba(255,106,0,.45); outline-offset: 3px; }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 420px) {
  .brand-paratus { font-size: 1.45rem; }
  .brand-partners { font-size: .8rem; }
  .brand-tagline { font-size: .4rem; white-space: normal; max-width: 170px; }
}

@media (min-width: 680px) {
  .symptom-grid, .benefits-grid, .module-grid, .realty-grid, .form-grid, .principle-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .full-width { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .main-nav { display: flex; }
  .hero { padding: 7rem 0 5.5rem; }
  .hero-grid { grid-template-columns: 1.55fr .75fr; gap: 4rem; }
  .value-grid, .experience-grid, .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .module-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .module-card.featured { grid-column: span 3; }
  .realty-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .principle-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1080px) {
  .symptom-grid { grid-template-columns: repeat(3, 1fr); }
  .module-card.featured { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
