:root {
  --navy: #3b596e;
  --navy-dark: #263e50;
  --blue: #587d9f;
  --orange: #f39d0f;
  --orange-soft: #fff1d5;
  --cream: #f8f5ef;
  --white: #fff;
  --ink: #21313c;
  --muted: #62717a;
  --line: rgba(59, 89, 110, .18);
  --shadow: 0 22px 60px rgba(34, 57, 72, .12);
  --radius: 24px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Jost", "Trebuchet MS", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 108px 0; }
.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; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 10px 16px; color: white; background: var(--navy-dark); }
.skip-link:focus { top: 16px; }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; border-bottom: 1px solid rgba(255,255,255,.14); }
.nav-wrap { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 2px; color: white; text-decoration: none; }
.brand img { width: 86px; height: 86px; flex: 0 0 86px; }
.brand-name { margin-left: -5px; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-name strong { font-family: var(--serif); font-size: 1.55rem; letter-spacing: .045em; text-transform: uppercase; }
.brand-name small { margin-top: 7px; font-family: var(--serif); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: white; text-decoration: none; font-size: .92rem; font-weight: 700; letter-spacing: .015em; }
.nav-links a:not(.nav-cta):hover { color: #ffd587; }
.nav-cta { padding: 10px 18px; border: 1px solid rgba(255,255,255,.7); border-radius: 100px; }
.nav-cta:hover { color: var(--navy-dark); background: white; }
.nav-toggle { display: none; border: 0; background: none; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px 0; background: white; }

.hero { color: white; background: var(--navy); overflow: hidden; }
.hero-grid { min-height: 720px; padding-top: 112px; padding-bottom: 36px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 50px; }
.eyebrow { margin: 0 0 18px; color: var(--orange); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero h1, .section-heading h2, .story h2, .contact h2 { margin: 0; font-family: var(--serif); font-weight: 700; letter-spacing: -.035em; line-height: 1.06; }
.hero h1 { max-width: 680px; font-size: clamp(3rem, 5.2vw, 4.5rem); }
.hero h1 span { color: #ffd38a; }
.hero-lead { max-width: 670px; margin: 30px 0 0; color: rgba(255,255,255,.86); font-size: 1.2rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; min-height: 50px; padding: 12px 23px; align-items: center; justify-content: center; border-radius: 100px; text-decoration: none; font-weight: 800; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy-dark); background: var(--orange); }
.button-primary:hover { background: #ffb636; }
.button-secondary { color: white; border: 1px solid rgba(255,255,255,.62); }
.button-secondary:hover { color: var(--navy-dark); background: white; }

.hero-visual { position: relative; top: -50px; min-height: 380px; display: grid; place-items: center; }
.hero-mark { position: relative; z-index: 2; width: min(300px, 82%); aspect-ratio: 1; overflow: hidden; border-radius: 50%; filter: drop-shadow(0 24px 42px rgba(0,0,0,.2)); }
.hero-mark img { position: absolute; left: 50%; top: 50%; width: 172%; max-width: none; transform: translate(-50%, -50%); }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.orbit-one { width: 330px; height: 330px; }
.orbit-two { width: 410px; height: 410px; border-color: rgba(243,157,15,.25); }
.hero-note { position: absolute; z-index: 3; right: 5px; top: 22px; width: 190px; margin: 0; padding: 15px 18px; color: var(--navy-dark); background: white; border-left: 5px solid var(--orange); box-shadow: var(--shadow); font-size: .88rem; font-weight: 800; line-height: 1.35; }
.hero-ribbon { border-top: 1px solid rgba(255,255,255,.14); background: var(--navy-dark); }
.ribbon-items { min-height: 64px; display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.84); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ribbon-items i { width: 5px; height: 5px; background: var(--orange); border-radius: 50%; }

.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; align-items: start; }
.section-heading h2, .story h2, .contact h2 { color: var(--navy-dark); font-size: clamp(2.35rem, 4vw, 4rem); }
.intro-copy { max-width: 700px; }
.intro-copy p { margin: 0 0 22px; }
.lead { color: var(--navy-dark); font-size: 1.24rem; line-height: 1.6; }
.accent-quote { padding: 22px 25px; background: var(--orange-soft); border-left: 5px solid var(--orange); font-weight: 800; }

.services { background: var(--cream); }
.section-heading.centered { max-width: 800px; margin: 0 auto 56px; text-align: center; }
.section-heading.centered > p:last-child { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 320px; padding: 34px; display: grid; grid-template-columns: 52px 1fr; gap: 20px; color: white; background: var(--navy); border: 1px solid var(--navy); border-radius: var(--radius); transition: transform .25s, box-shadow .25s, background .25s; }
.service-card:hover { transform: translateY(-5px); background: var(--navy-dark); box-shadow: var(--shadow); }
.service-number { color: var(--orange); font-family: var(--serif); font-size: 1.25rem; font-weight: 700; }
.service-kicker { margin: 0 0 8px; color: #ffd38a; font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.service-card h3 { margin: 0 0 15px; color: white; font-family: var(--serif); font-size: 1.65rem; line-height: 1.2; }
.service-card h3 a { text-decoration: none; }
.service-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.service-card p:not(.service-kicker) { margin: 0; color: rgba(255,255,255,.8); }
.service-link { margin-top: 20px; display: inline-flex; color: #ffd38a; font-size: .9rem; font-weight: 800; text-decoration: none; }
.service-link span { margin-left: 7px; transition: transform .2s; }
.service-link:hover span { transform: translateX(4px); }
.services-all { margin: 34px 0 0; text-align: center; }
details { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); }
summary { color: #ffd38a; cursor: pointer; font-size: .9rem; font-weight: 800; }
details ul { margin: 14px 0 0; padding-left: 20px; font-size: .9rem; }
.status-pill { display: inline-block; margin-top: 24px; padding: 7px 12px; color: var(--navy); background: var(--orange-soft); border-radius: 100px; font-size: .76rem; font-weight: 800; }

.choice { background: white; }
.choice .section-heading { max-width: 620px; margin-bottom: 44px; }
.comparison { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: stretch; }
.comparison article { padding: 42px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.comparison h3 { margin: 15px 0; color: var(--navy-dark); font-family: var(--serif); font-size: 1.8rem; }
.comparison p { margin: 0; color: var(--muted); }
.comparison-label { color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.comparison-divider { align-self: center; justify-self: center; width: 48px; height: 48px; display: grid; place-items: center; color: white; background: var(--orange); border-radius: 50%; font-family: var(--serif); font-style: italic; font-weight: 700; }

.story { color: white; background: var(--navy); }
.story-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; align-items: center; }
.story-photo { position: relative; margin: 0; }
.story-photo img { width: 100%; max-height: 610px; object-fit: cover; object-position: center 28%; border-radius: 48% 48% 24px 24px; box-shadow: 0 28px 70px rgba(13,31,43,.32); }
.story-photo figcaption { position: absolute; right: -18px; bottom: 28px; min-width: 185px; padding: 15px 18px; display: flex; flex-direction: column; color: var(--navy-dark); background: var(--orange); box-shadow: var(--shadow); }
.story-photo figcaption strong { font-family: var(--serif); font-size: 1.3rem; line-height: 1.1; }
.story-photo figcaption span { margin-top: 3px; font-size: .78rem; font-weight: 800; }
.story h2 { color: white; }
.story-copy > p:not(.eyebrow) { color: rgba(255,255,255,.8); }
.story blockquote { margin: 32px 0 0; padding: 24px 0 0 24px; color: white; border-left: 4px solid var(--orange); font-family: var(--serif); font-size: 1.22rem; line-height: 1.55; }
.story-link { display: inline-flex; margin-top: 14px; color: #ffd38a; font-weight: 800; text-decoration: none; }
.story-link span { margin-left: 7px; transition: transform .2s; }
.story-link:hover span { transform: translateX(4px); }

.method { background: var(--cream); }
.method-steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.method-steps li { position: relative; padding: 0 30px; border-left: 1px solid var(--line); }
.method-steps li:last-child { border-right: 1px solid var(--line); }
.method-steps span { width: 40px; height: 40px; display: grid; place-items: center; color: var(--navy-dark); background: var(--orange); border-radius: 50%; font-weight: 800; }
.method-steps h3 { margin: 20px 0 8px; color: var(--navy-dark); font-family: var(--serif); font-size: 1.45rem; }
.method-steps p { margin: 0; color: var(--muted); font-size: .95rem; }

.space { background: white; }
.space-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; }
.space-photo { position: relative; }
.space-photo::before { content: ""; position: absolute; inset: -14px 18px 18px -14px; z-index: 0; border: 2px solid var(--orange); border-radius: var(--radius); }
.space-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.space-copy h2 { margin: 0; color: var(--navy-dark); font-family: var(--serif); font-size: clamp(2.2rem, 3.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.03em; }
.space-copy > p:not(.eyebrow) { margin: 24px 0; color: var(--muted); }
.text-link { color: var(--navy); font-weight: 800; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 5px; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.contact { padding: 90px 0; color: white; background: var(--blue); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: center; }
.eyebrow.light { color: #ffe0a5; }
.contact h2 { color: white; }
.contact-grid > div:first-child > p:last-child { max-width: 620px; color: rgba(255,255,255,.85); font-size: 1.1rem; }
.contact-panel { padding: 34px; color: var(--ink); background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-title { margin: 0; color: var(--navy); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.modality-list { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.modality-list span { padding: 8px 16px; color: white; border: 1px solid rgba(255,255,255,.55); border-radius: 100px; font-size: .86rem; font-weight: 800; }
.contact-list { margin: 22px 0 0; padding: 0; list-style: none; }
.contact-list li { padding: 16px 0; display: grid; grid-template-columns: 92px 1fr; gap: 18px; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.contact-list a { color: var(--navy-dark); font-weight: 800; text-decoration-color: rgba(59,89,110,.35); text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--blue); }
.whatsapp-button { width: 100%; margin-top: 22px; color: white; background: #217b52; }
.whatsapp-button:hover { background: #176540; }
.whatsapp-button span { margin-left: 8px; }

.whatsapp-floating { position: fixed; z-index: 30; right: 24px; bottom: 24px; width: 58px; height: 58px; display: grid; place-items: center; color: white; background: #217b52; border: 3px solid white; border-radius: 50%; box-shadow: 0 12px 28px rgba(25,74,51,.3); transition: transform .2s, background .2s; }
.whatsapp-floating:hover { background: #176540; transform: translateY(-3px); }
.whatsapp-floating svg { width: 31px; height: 31px; fill: currentColor; }

.site-footer { padding: 42px 0; color: rgba(255,255,255,.7); background: var(--navy-dark); }
.footer-grid { display: grid; grid-template-columns: 190px 1fr auto; gap: 42px; align-items: center; }
.footer-grid img { width: 180px; }
.footer-grid p { margin: 0; font-size: .88rem; }
.footer-meta { text-align: right; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Páginas internas */
.inner-page .site-header { position: relative; background: var(--navy); }
.inner-hero { padding: 92px 0 84px; color: white; background: var(--navy); }
.inner-hero .shell { max-width: 920px; }
.breadcrumbs { margin: 0 0 24px; color: rgba(255,255,255,.72); font-size: .86rem; }
.breadcrumbs a { text-underline-offset: 3px; }
.inner-hero h1 { max-width: 880px; margin: 0; font-family: var(--serif); font-size: clamp(2.7rem, 5vw, 4.7rem); line-height: 1.05; letter-spacing: -.035em; }
.inner-hero .lead { max-width: 780px; margin: 28px 0 0; color: rgba(255,255,255,.86); }
.inner-content { padding: 84px 0 104px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 84px; align-items: start; }
.prose { max-width: 760px; }
.prose h2 { margin: 0 0 20px; color: var(--navy-dark); font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.12; }
.prose h2:not(:first-child) { margin-top: 56px; }
.prose h3 { margin: 34px 0 10px; color: var(--navy-dark); font-family: var(--serif); font-size: 1.45rem; }
.prose p { margin: 0 0 20px; }
.prose ul { margin: 0 0 24px; padding-left: 22px; }
.prose li { margin: 8px 0; }
.info-card { position: sticky; top: 24px; padding: 30px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.info-card h2 { margin: 0 0 12px; color: var(--navy-dark); font-family: var(--serif); font-size: 1.65rem; line-height: 1.2; }
.info-card p { margin: 0 0 22px; color: var(--muted); }
.info-card .button { width: 100%; color: var(--navy-dark); background: var(--orange); text-align: center; }
.link-list { margin: 0; padding: 0; list-style: none; }
.link-list li { border-top: 1px solid var(--line); }
.link-list a { padding: 14px 0; display: block; color: var(--navy); font-weight: 800; text-decoration: none; }
.link-list a:hover { color: var(--orange); }
.service-index { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-index article { padding: 30px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.service-index h2 { margin: 0 0 12px; color: var(--navy-dark); font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; }
.service-index p { margin: 0 0 18px; color: var(--muted); }
.service-index a { color: var(--navy); font-weight: 800; text-underline-offset: 4px; }
.inline-cta { margin-top: 52px; padding: 34px; color: white; background: var(--blue); border-radius: var(--radius); }
.inline-cta h2 { color: white; }
.inline-cta .button { color: var(--navy-dark); background: var(--orange); }
.home-page .section { padding-block: 88px; }
.home-page .service-card { min-height: 0; }

@media (max-width: 960px) {
  .section { padding: 82px 0; }
  .nav-links { position: absolute; left: 20px; right: 20px; top: 96px; padding: 22px; display: none; flex-direction: column; align-items: stretch; gap: 10px; background: var(--navy-dark); border-radius: 18px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 8px 4px; }
  .nav-cta { text-align: center; }
  .nav-toggle { display: block; }
  .hero-grid { height: auto; min-height: auto; padding-top: 126px; padding-bottom: 70px; grid-template-columns: 1fr; gap: 10px; }
  .hero-visual { min-height: 440px; }
  .intro-grid, .story-grid, .space-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .intro-copy { max-width: none; }
  .story-photo { width: min(500px, 90%); margin-inline: auto; }
  .method-steps { grid-template-columns: repeat(2, 1fr); gap: 42px 0; }
  .method-steps li:nth-child(2) { border-right: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 180px 1fr; }
  .footer-meta { grid-column: 1 / -1; text-align: left; }
  .content-grid { grid-template-columns: 1fr; gap: 52px; }
  .info-card { position: static; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .shell { width: min(100% - 28px, 1180px); }
  .section { padding: 68px 0; }
  .home-page .section { padding-block: 54px; }
  .nav-wrap { min-height: 92px; }
  .brand img { width: 76px; height: 76px; flex-basis: 76px; }
  .brand-name strong { font-size: 1.24rem; }
  .brand-name small { font-size: .57rem; }
  .hero { min-height: auto; }
  .hero-grid { padding-top: 120px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-lead { font-size: 1.05rem; }
  .hero-visual { top: -24px; min-height: 310px; }
  .hero-mark { width: 260px; }
  .orbit-one { width: 285px; height: 285px; }
  .orbit-two { width: 340px; height: 340px; }
  .hero-note { right: 0; top: 4px; }
  .ribbon-items { min-height: 82px; flex-wrap: wrap; justify-content: center; gap: 7px 14px; text-align: center; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 26px 22px; grid-template-columns: 38px 1fr; gap: 10px; }
  .service-link { margin-top: 16px; }
  .comparison { grid-template-columns: 1fr; gap: 0; }
  .comparison article { padding: 28px; }
  .comparison-divider { margin: -10px auto; z-index: 2; }
  .story-photo figcaption { right: -10px; bottom: 18px; }
  .home-page .story-photo img { max-height: 430px; }
  .space-photo::before { inset: -9px 10px 12px -9px; }
  .method-steps { grid-template-columns: 1fr; gap: 34px; }
  .method-steps li, .method-steps li:nth-child(2), .method-steps li:last-child { padding: 0 0 0 58px; border: 0; }
  .method-steps span { position: absolute; left: 0; top: 0; }
  .method-steps h3 { margin-top: 0; }
  .contact { padding: 68px 0; }
  .contact-list li { grid-template-columns: 1fr; gap: 3px; }
  .whatsapp-floating { right: 15px; bottom: 15px; width: 54px; height: 54px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .inner-hero { padding: 64px 0; }
  .inner-content { padding: 62px 0 76px; }
  .service-index { grid-template-columns: 1fr; }
}

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