/* Piscinas para Todos .es — interfaz editorial, 2026
   Hoja de estilo legible y organizada. Sin dependencias externas. */

:root {
  --ink: #102b35;
  --ink-2: #294650;
  --sea: #146c67;
  --sea-soft: #daebe5;
  --warm: #c58762;
  --paper: #f6f6f0;
  --white: #ffffff;
  --line: #d9ded7;
  --muted: #5e7074;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Avenir Next', Avenir, 'Segoe UI', Helvetica, Arial, sans-serif;
  --radius: 22px;
  --container: 1260px;
  --shadow: 0 22px 70px rgb(16 43 53 / 10%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.64; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; opacity: .25; pointer-events: none; background-image: radial-gradient(#6a796a .43px, transparent .43px); background-size: 16px 16px; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--sea); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
::selection { background: #bddfd4; color: var(--ink); }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 4px; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.035em; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { font-size: 1.4rem; }
p { margin-bottom: 1.25em; }
em { font-style: italic; color: var(--sea); }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.narrow { max-width: 870px; }
.section-space { padding: 112px 0; }
.alt { background: #eef2ee; }
.skip-link { position: fixed; top: -70px; left: 12px; padding: 10px 16px; z-index: 200; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.kicker { color: var(--sea); font-size: .74rem; text-transform: uppercase; letter-spacing: .2em; font-weight: 760; margin: 0 0 23px; }
.kicker.light { color: #a8cfc7; }
.kicker-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--warm); margin-right: 9px; vertical-align: 1px; }
.muted { color: var(--muted); }
.small-muted { font-size: .78rem; line-height: 1.55; color: var(--muted); }
.small-label { font-size: .71rem; letter-spacing: .17em; font-weight: 800; text-transform: uppercase; color: var(--sea); }

/* Cabecera */
.topline { padding: 8px 0; color: #d1e0de; background: #102b35; font-size: .66rem; text-transform: uppercase; letter-spacing: .15em; }
.topline .container { display: flex; justify-content: space-between; gap: 24px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(246 246 240 / 97%); border-bottom: 1px solid rgb(16 43 53 / 11%); backdrop-filter: blur(16px); }
.nav-shell { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.brand { display: inline-flex; gap: 12px; align-items: center; flex: 0 0 auto; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 48px; height: 48px; color: var(--sea); }
.brand-type { display: block; font-weight: 800; font-size: 1.27rem; letter-spacing: -.07em; line-height: .88; }
.brand-type > span { font-weight: 450; color: var(--sea); }
.brand-type small { display: block; font-size: .54rem; color: var(--muted); font-weight: 720; letter-spacing: .11em; text-transform: uppercase; margin-top: 8px; }
.primary-nav ul { display: flex; padding: 0; margin: 0; gap: clamp(12px, 1.55vw, 26px); list-style: none; align-items: center; }
.primary-nav a { font-size: .79rem; font-weight: 680; letter-spacing: -.01em; white-space: nowrap; }
.primary-nav a[aria-current] { color: var(--sea); }
.primary-nav .nav-contact a { background: var(--ink); color: white; padding: 13px 19px; border-radius: 40px; transition: background .2s, transform .2s; }
.primary-nav .nav-contact a:hover { background: var(--sea); }
.nav-contact span { margin-left: 8px; }
.menu-toggle { display: none; border: none; background: none; padding: 12px; }
.menu-toggle span { display: block; width: 23px; height: 2px; background: var(--ink); margin-block: 5px; transition: transform .2s; }

/* Botones y enlaces */
.button { display: inline-flex; gap: 22px; align-items: center; justify-content: center; border: 1px solid transparent; padding: 16px 22px; font-size: .85rem; font-weight: 750; min-height: 52px; border-radius: 50px; transition: transform .2s, background .2s, border-color .2s; line-height: 1.2; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--sea); color: white; }
.button-outline { border-color: #90a4a1; color: var(--ink); }
.button-outline:hover { border-color: var(--ink); color: var(--ink); }
.button-white { background: #f5f8f4; color: var(--ink); }
.button-white:hover { background: #dbefe7; color: var(--ink); }
.button-subtle { background: transparent; border-color: #b7cac6; }
.button-subtle:hover { border-color: var(--ink); }
.text-link { display: inline-flex; gap: 17px; align-items: center; font-size: .9rem; font-weight: 800; padding-bottom: 9px; border-bottom: 1px solid var(--sea); }
.text-link.light { color: white; border-bottom-color: #d0e7df; }
.text-link:hover { gap: 24px; }

/* Inicio: presentación */
.hero-home { padding: 79px 0 105px; overflow: hidden; }
.hero-home-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(28px, 5vw, 70px); align-items: center; position: relative; }
.hero-copy { position: relative; z-index: 3; }
.hero-copy h1 { font-size: clamp(3.6rem, 5.25vw, 6rem); line-height: 1.04; margin-bottom: 27px; letter-spacing: -.065em; max-width: 690px; }
.hero-lead { max-width: 540px; font-size: 1.1rem; line-height: 1.73; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 35px 0 50px; }
.hero-proof { display: flex; gap: 15px; align-items: center; font-size: .73rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.hero-proof p { margin: 0; }
.proof-line { width: 27px; height: 1px; background: var(--warm); }
.hero-photo { border-radius: 260px 260px 16px 16px; position: relative; min-height: 590px; height: 590px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 0; }
.hero-photo::after { content: ''; position: absolute; inset: 40% 0 0; pointer-events: none; background: linear-gradient(0deg, rgb(0 0 0 / 51%), transparent); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-photo figcaption { position: absolute; z-index: 1; color: white; left: 28px; right: 28px; bottom: 23px; display: flex; justify-content: space-between; gap: 15px; text-transform: uppercase; letter-spacing: .12em; font-size: .67rem; }
.hero-note { position: absolute; bottom: -46px; left: 42%; z-index: 4; max-width: 310px; padding: 23px 57px 23px 25px; background: white; box-shadow: 0 12px 40px #102b3522; border-left: 3px solid var(--warm); border-radius: 12px; line-height: 1.45; }
.hero-note strong { display: block; text-transform: uppercase; font-size: .67rem; letter-spacing: .16em; margin-bottom: 7px; color: var(--sea); }
.hero-note > span:nth-child(2) { display: block; font-family: var(--serif); font-size: 1.3rem; }
.hero-note-arrow { position: absolute; right: 18px; bottom: 17px; font-size: 1.25rem; color: var(--sea); }
.decision-band { background: var(--ink); color: #f5f8f4; }
.decision-band-inner { display: flex; align-items: center; gap: 36px; padding: 29px 0; }
.decision-band-inner > span { color: #95bbb6; letter-spacing: .16em; text-transform: uppercase; font-size: .68rem; margin-right: auto; }
.decision-band p { font-size: .86rem; margin: 0; }
.decision-band b { font-size: .73rem; color: #c7956d; margin-right: 8px; }

/* Secciones */
.section-heading { margin-bottom: 45px; }
.section-heading h2 { max-width: 750px; margin-bottom: 15px; }
.section-heading.split { display: grid; grid-template-columns: 1fr .55fr; gap: 50px; align-items: end; }
.section-heading.split > p { color: var(--muted); margin: 0 0 10px; }
.heading-desc { color: var(--muted); max-width: 660px; }
.path-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.path-card { display: flex; min-height: 410px; flex-direction: column; position: relative; overflow: hidden; background: white; padding: 34px 31px 28px; border: 1px solid #e2e4dd; border-radius: var(--radius); transition: transform .23s, box-shadow .23s; }
.path-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); color: var(--ink); }
.path-card.featured { background: #dce9e1; }
.path-num { font-size: .64rem; color: var(--sea); letter-spacing: .18em; font-weight: 780; }
.path-icon { color: #88a9a6; font-size: 4.1rem; line-height: 1.2; font-weight: 300; margin: 20px 0; }
.path-card h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; font-size: clamp(1.75rem, 2.5vw, 2.2rem); margin-bottom: 15px; }
.path-card p { color: #52696c; font-size: .9rem; }
.path-cta { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-weight: 790; font-size: .81rem; border-top: 1px solid #cbd8d2; padding-top: 18px; margin-top: auto; }
.story-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(44px, 7vw, 110px); align-items: center; }
.story-img { overflow: hidden; margin: 0; }
.story-img img { width: 100%; object-fit: cover; border-radius: 20px 175px 20px 20px; min-height: 420px; max-height: 570px; }
.story-img figcaption { padding: 14px 2px 0; font-size: .69rem; color: var(--muted); letter-spacing: .06em; }
.story-copy h2 { max-width: 530px; }
.story-copy > p:not(.kicker) { color: var(--muted); font-size: 1.05rem; }
.tick-list { list-style: none; padding: 0; margin: 25px 0 34px; }
.tick-list li { position: relative; padding: 12px 0 12px 35px; border-bottom: 1px solid #ced9d3; font-size: .9rem; }
.tick-list li::before { content: '✓'; position: absolute; left: 0; color: var(--sea); font-weight: 900; }
.materials-mini { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.materials-mini a { display: grid; grid-template-columns: 30px 1fr auto; grid-template-rows: 1fr auto; gap: 9px 8px; padding: 30px 25px; min-height: 130px; background: #fdfdfa; transition: background .2s; }
.materials-mini a:hover { background: var(--sea-soft); color: var(--ink); }
.materials-mini span { font-family: var(--serif); font-size: .9rem; color: var(--sea); }
.materials-mini strong { font-family: var(--serif); font-weight: 400; font-size: 1.65rem; line-height: 1.1; }
.materials-mini small { grid-column: 2; color: var(--muted); }
.materials-mini i { grid-column: 3; grid-row: 1 / span 2; font-style: normal; }
.tool-promo { background: var(--ink); color: white; padding: 110px 0; overflow: hidden; }
.tool-promo-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 55px; align-items: center; }
.tool-promo h2 { max-width: 700px; font-size: clamp(2.7rem,5vw,5.5rem); }
.tool-promo p:not(.kicker) { color: #cedddb; max-width: 590px; }
.tool-promo .button { margin-top: 14px; }
.tool-art { position: relative; min-height: 340px; padding: 47px 43px 27px; border: 1px solid #52666a; border-radius: 170px 170px 20px 20px; background: radial-gradient(circle at 70% 20%,#2b6663,#173740 58%); }
.art-chart { height: 230px; display: flex; align-items: end; gap: 20px; border-bottom: 1px solid #a8c4c2; }
.art-chart span { flex: 1; background: linear-gradient(#b7d5c4,#5c9990); border-radius: 7px 7px 0 0; opacity: .9; }
.art-chart span:nth-child(1) { height: 32%; }
.art-chart span:nth-child(2) { height: 48%; }
.art-chart span:nth-child(3) { height: 64%; }
.art-chart span:nth-child(4) { height: 83%; }
.art-chart span:nth-child(5) { height: 100%; }
.art-legend { margin-top: 20px; text-align: center; color: #d7e7df; font-size: .63rem; letter-spacing: .13em; }
.art-legend b { color: #deac86; margin-inline: 4px; }
.final-guides { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 90px; }
.final-guide-copy { padding-left: 10%; }
.final-guides figure { margin: 0; }
.final-guides img { width: 100%; aspect-ratio: 1.64; object-fit: cover; border-radius: 175px 18px 18px 18px; }
.faq-section h2 { margin-bottom: 40px; }
.accordion { border-top: 1px solid #b9cbc5; }
.accordion details { border-bottom: 1px solid #b9cbc5; }
.accordion summary { padding: 27px 6px; display: flex; gap: 22px; cursor: pointer; list-style: none; align-items: center; justify-content: space-between; font-size: 1.11rem; font-weight: 690; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { font-size: 1.45rem; color: var(--sea); font-weight: 400; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { margin: 0 48px 26px 6px; max-width: 720px; color: var(--muted); }

/* Páginas interiores */
.page-hero { padding: 103px 0 95px; position: relative; overflow: hidden; background: linear-gradient(120deg, var(--paper) 0%,#f1f4ed 65%,#e8efea 100%); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ''; position: absolute; width: 540px; height: 540px; border-radius: 50%; border: 80px solid rgb(31 108 103 / 5%); right: -150px; top: -150px; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(3.4rem,6vw,6.5rem); line-height: 1.03; margin-bottom: 26px; max-width: 980px; letter-spacing: -.055em; }
.page-lead { max-width: 810px; color: var(--ink-2); font-size: clamp(1.07rem,1.7vw,1.25rem); line-height: 1.7; margin: 0; }
.page-hero.compact { padding: 75px 0; }
.page-hero.compact h1 { font-size: clamp(2.9rem,5vw,5rem); }
.intro-panel { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start; padding: 27px 35px; margin-bottom: 90px; background: #e3ede6; border-left: 3px solid var(--sea); border-radius: 10px; }
.intro-panel strong { font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; color: var(--sea); }
.intro-panel p { margin: 0; }
.filter-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.filter-head h2 { font-size: clamp(2.2rem,3.7vw,3.8rem); margin-bottom: 0; }
.filter-list { display: flex; flex-wrap: wrap; gap: 7px; max-width: 520px; justify-content: end; }
.filter-button { background: transparent; border: 1px solid #a6bbb3; border-radius: 99px; padding: 10px 13px; font-size: .74rem; color: var(--ink-2); }
.filter-button:hover, .filter-button.active { background: var(--ink); color: white; border-color: var(--ink); }
.material-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.material-card { display: flex; flex-direction: column; padding: 36px; border: 1px solid #dde4dd; background: #fcfdf9; border-radius: var(--radius); scroll-margin-top: 115px; }
.material-card[hidden] { display: none !important; }
.material-card-top { display: flex; justify-content: space-between; font-size: .69rem; letter-spacing: .18em; color: var(--sea); font-weight: 770; }
.material-card h2 { margin: 25px 0 14px; font-size: clamp(2rem,3vw,3rem); }
.material-summary { color: var(--muted); max-width: 540px; }
.material-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 19px 0; }
.material-facts > div { padding-top: 13px; border-top: 1px solid #d9e2dc; }
.fact-label { color: var(--sea); font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.material-facts p { font-size: .85rem; line-height: 1.6; margin: 7px 0 0; }
.material-question { margin-top: auto; padding: 18px 22px; background: #eaf2eb; border-radius: 10px; }
.material-question span { display: block; font-size: .65rem; color: var(--sea); letter-spacing: .12em; text-transform: uppercase; font-weight: 790; margin-bottom: 7px; }
.material-question strong { display: block; font-size: .85rem; line-height: 1.55; }
.filter-count { color: var(--muted); text-align: right; font-size: .77rem; margin: 19px 0 0; }
.table-scroll { overflow-x: auto; border: 1px solid #c9d6cd; border-radius: 14px; }
.compare-table { width: 100%; border-collapse: collapse; background: white; min-width: 920px; }
.compare-table th, .compare-table td { padding: 19px 22px; border-bottom: 1px solid #dce6df; font-size: .83rem; text-align: left; vertical-align: top; }
.compare-table thead { background: var(--ink); color: white; }
.compare-table thead th { font-size: .73rem; text-transform: uppercase; letter-spacing: .07em; }
.compare-table tbody th { width: 170px; font-weight: 800; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border: 0; }
.table-note { color: var(--muted); font-size: .8rem; margin: 18px 0 0; }
.simple-cta { padding: 67px 0; background: var(--sea); color: #fff; }
.simple-cta > .container { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.simple-cta .kicker { margin-bottom: 14px; }
.simple-cta h2 { max-width: 740px; font-size: clamp(2.1rem,3.5vw,3.65rem); margin: 0; }

/* Calculadora */
.calc-intro { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 50px; margin-bottom: 36px; }
.calc-intro h2 { margin-bottom: 0; }
.calc-intro > p { color: var(--muted); margin: 0 0 10px; }
.cost-calculator { background: white; border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(20px,4vw,40px); }
.calc-shared { display: grid; grid-template-columns: auto minmax(100px,210px) auto minmax(130px,210px); gap: 20px; align-items: center; border-bottom: 1px solid var(--line); padding: 0 0 32px; margin-bottom: 30px; }
.calc-shared label { font-size: .91rem; font-weight: 750; }
.calc-shared label span { color: var(--muted); font-weight: 400; }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; border: 1px solid #bdcfc7; border-radius: 9px; padding: 11px 13px; color: var(--ink); background: white; min-height: 46px; }
input:focus, select:focus, textarea:focus { border-color: var(--sea); }
.quotes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote-fieldset { margin: 0; min-width: 0; padding: 28px; border: 1px solid #d6e2da; border-radius: 14px; background: #f8faf7; }
.quote-b { background: #f3f7f7; }
.quote-fieldset legend { padding: 0 9px; font-family: var(--serif); font-size: 1.65rem; line-height: 1.2; }
.quote-letter { display: inline-flex; justify-content: center; align-items: center; width: 35px; height: 35px; color: white; background: var(--sea); border-radius: 50%; font-family: var(--sans); font-size: .86rem; margin-right: 8px; vertical-align: 3px; }
.quote-b .quote-letter { background: var(--warm); }
.input-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 19px; }
.input-stack label { grid-column: span 2; font-size: .79rem; font-weight: 740; margin-top: 8px; }
.input-stack input { grid-column: span 2; }
.calc-actions { display: flex; gap: 13px; flex-wrap: wrap; align-items: center; margin-top: 31px; }
.form-error { color: #a53020; font-weight: 700; margin: 18px 0 0; }
.calc-results { padding: 32px; margin-top: 25px; background: #e6f0e9; border: 1px solid #bfd4c7; border-radius: var(--radius); }
.calc-results[hidden] { display: none; }
.results-top { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.results-top h2 { font-size: clamp(2rem,3vw,3rem); margin-bottom: 20px; }
.results-top > p { max-width: 440px; font-size: .78rem; color: var(--muted); }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.result-card { padding: 30px; border-radius: 13px; background: white; }
.result-card span { display: block; font-size: .8rem; font-weight: 800; }
.result-card strong { display: block; font-family: var(--serif); font-size: clamp(2.1rem,4vw,3.8rem); font-weight: 400; margin: 4px 0; }
.result-card small { color: var(--muted); font-size: .75rem; }
.comparison-bars { margin: 29px 0; }
.comparison-bars > div { display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 20px; margin-bottom: 14px; font-size: .77rem; font-weight: 750; }
.bar-track { height: 15px; border-radius: 30px; background: #c8d4cf; overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: inherit; transition: width .7s ease-out; }
.bar-fill.a { background: var(--sea); }
.bar-fill.b { background: var(--warm); }
.result-difference { font-family: var(--serif); font-size: 1.4rem; }
.print-trigger { border: none; border-bottom: 1px solid var(--sea); color: var(--ink); background: transparent; padding: 0 0 8px; }
.numbered-guide > div { display: grid; grid-template-columns: 60px 1fr; gap: 25px; padding: 26px 0; border-top: 1px solid #bfcfc8; }
.numbered-guide > div > span { font-family: var(--serif); font-size: 2rem; color: var(--sea); }
.numbered-guide h3 { margin-bottom: 10px; }
.numbered-guide p { color: var(--muted); margin: 0; }

/* Rehabilitación */
.decision-tool { margin-top: 35px; padding: 29px; border: 1px solid #c8d8d0; border-radius: var(--radius); background: white; }
.decision-tool fieldset { border: 0; margin: 0; padding: 0; }
.decision-tool legend { margin-bottom: 18px; font-weight: 820; }
.decision-choice { display: flex; gap: 20px; align-items: center; padding: 18px 15px; margin-bottom: 9px; cursor: pointer; border: 1px solid #d5e2da; border-radius: 10px; }
.decision-choice:hover, .decision-choice:has(input:checked) { background: var(--sea-soft); border-color: #69a49a; }
.decision-choice input { accent-color: var(--sea); flex: 0 0 auto; width: 19px; height: 19px; }
.decision-choice strong, .decision-choice small { display: block; }
.decision-choice strong { font-size: .94rem; }
.decision-choice small { color: var(--muted); font-size: .76rem; line-height: 1.5; margin-top: 4px; }
.decision-answer { border-radius: 10px; background: #eaf2ed; padding: 26px; margin-top: 20px; border-left: 3px solid var(--sea); }
.decision-answer p { margin: 10px 0 0; }
.process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.process-grid > div { border: 1px solid var(--line); background: white; padding: 27px; border-radius: 12px; }
.process-grid span { display: block; color: var(--sea); font: 2.5rem var(--serif); margin-bottom: 35px; }
.process-grid p { font-size: .87rem; color: var(--muted); margin: 0; }

/* Mantenimiento */
.season-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.season-grid article { padding: 30px 26px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.season-grid article:nth-child(2) { background: #e2eee8; }
.season-grid article > span { display: block; color: var(--sea); font-weight: 800; font-size: .68rem; letter-spacing: .15em; margin-bottom: 33px; }
.season-grid h3 { font-family: var(--serif); font-size: 2.2rem; font-weight: 400; }
.season-grid ul { padding-left: 18px; margin: 22px 0 0; color: var(--ink-2); font-size: .88rem; }
.season-grid li { margin-bottom: 14px; }

/* Criterios, contacto y legal */
.method-grid { display: grid; grid-template-columns: 90px 1fr; gap: 0 35px; max-width: 1030px; }
.method-number { color: var(--sea); font: 2.9rem var(--serif); padding: 25px 0; border-top: 1px solid var(--line); }
.method-grid > div:nth-child(even) { padding: 25px 0 40px; border-top: 1px solid var(--line); }
.method-grid h2 { font-size: clamp(1.85rem,3.2vw,3.1rem); margin-bottom: 15px; }
.method-grid p { max-width: 650px; color: var(--muted); }
.editorial-questions { counter-reset: questions; list-style: none; padding: 0; margin-bottom: 36px; }
.editorial-questions li { counter-increment: questions; position: relative; border-bottom: 1px solid #c9d9cf; padding: 17px 10px 17px 54px; }
.editorial-questions li::before { content: counter(questions,decimal-leading-zero); position: absolute; left: 0; top: 17px; color: var(--sea); font-size: .75rem; font-weight: 850; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 12%; align-items: start; }
.contact-grid h2 { margin-bottom: 18px; }
.contact-grid > div > p:not(.kicker) { color: var(--muted); }
.large-email { display: inline-block; font-family: var(--serif); font-size: clamp(1.2rem,2vw,1.75rem); color: var(--sea); overflow-wrap: anywhere; border-bottom: 1px solid var(--sea); padding-bottom: 7px; }
.contact-form { padding: 35px; border-radius: var(--radius); border: 1px solid var(--line); background: white; }
.contact-form-head h2 { font: 2.4rem var(--serif); }
.contact-form-head p { color: var(--muted); font-size: .85rem; }
.contact-fields { display: grid; gap: 8px; }
.contact-fields > label:not(.check-label) { font-size: .83rem; font-weight: 780; margin-top: 13px; }
.contact-fields label > span:first-of-type { color: var(--sea); }
.contact-fields textarea { resize: vertical; }
.check-label { display: flex; gap: 12px; align-items: start; line-height: 1.55; font-size: .79rem; margin: 15px 0 20px; }
.check-label input { accent-color: var(--sea); margin-top: 4px; }
.check-label a { text-decoration: underline; }
.bot-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-form .small-muted { margin: 15px 0 0; }
.prose { font-size: 1rem; }
.prose h2 { margin: 38px 0 14px; font-size: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose a { color: var(--sea); text-decoration: underline; }

/* Pie */
.site-footer { background: var(--ink); color: #e4e9e6; padding: 85px 0 25px; }
.footer-top { display: grid; grid-template-columns: 1.4fr .75fr 1fr; gap: clamp(35px,6vw,95px); margin-bottom: 77px; }
.footer-intro h2 { color: white; font-size: clamp(2.8rem,4vw,4.9rem); }
.footer-intro > p:not(.kicker) { color: #b8ceca; max-width: 480px; }
.footer-nav { display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.footer-nav h3 { font-size: .71rem; color: #8facaa; text-transform: uppercase; letter-spacing: .14em; margin: 8px 0 11px; }
.footer-nav a { color: #e1eae5; font-size: .84rem; overflow-wrap: anywhere; }
.footer-nav a:hover { color: #abded2; }
.footer-bottom { border-top: 1px solid #34545c; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 25px; padding-top: 22px; color: #95b4b3; font-size: .72rem; }
.footer-bottom > div { margin-left: auto; display: flex; gap: 19px; flex-wrap: wrap; }
.footer-bottom a:hover { color: white; }
.back-top { border: 1px solid #688487; border-radius: 50%; display: flex; justify-content: center; align-items: center; width: 37px; height: 37px; color: white; font-size: 1.3rem; }

/* Movimiento discreto; siempre respetar la preferencia del sistema */
.js-enabled [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.js-enabled [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .container { width: min(var(--container),calc(100% - 44px)); }
  .nav-shell { min-height: 78px; }
  .brand { gap: 8px; }
  .brand-type { font-size: 1.14rem; }
  .brand-mark { width: 40px; height: 40px; }
  .primary-nav ul { gap: 12px; }
  .primary-nav a { font-size: .72rem; }
  .hero-photo { height: 520px; min-height: 520px; }
  .hero-copy h1 { font-size: clamp(3.4rem,5.4vw,5rem); }
  .hero-note { left: 40%; }
  .season-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; margin-left: auto; }
  .site-header { position: sticky; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #f6f6f0; border-top: 1px solid #d9e3dc; box-shadow: 0 15px 30px rgb(16 43 53 / 12%); max-height: calc(100dvh - 80px); overflow-y: auto; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: flex; flex-direction: column; gap: 0; align-items: stretch; width: min(var(--container), calc(100% - 44px)); margin: 0 auto; padding: 15px 0 26px; }
  .primary-nav a { display: block; font-size: .95rem; padding: 13px 7px; border-bottom: 1px solid #d9e3dc; }
  .primary-nav .nav-contact { padding-top: 13px; }
  .primary-nav .nav-contact a { display: inline-block; padding: 13px 21px; border: none; }
  .menu-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-home-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .hero-copy h1 { font-size: clamp(3rem,5.9vw,4.2rem); }
  .hero-photo { height: 460px; min-height: 460px; }
  .hero-note { display: none; }
  .hero-actions { margin-bottom: 25px; }
  .hero-photo figcaption { display: block; }
  .hero-photo figcaption span:last-child { display: none; }
  .decision-band-inner { gap: 20px; }
  .decision-band-inner > span { display: none; }
  .section-heading.split { grid-template-columns: 1fr; gap: 10px; }
  .path-grid { grid-template-columns: 1fr 1fr; }
  .path-card { min-height: 350px; }
  .path-grid .featured { grid-column: span 2; min-height: 275px; }
  .story-grid { gap: 33px; }
  .materials-mini { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .final-guides { gap: 30px; }
  .final-guide-copy { padding-left: 0; }
  .filter-head { display: block; }
  .filter-list { margin-top: 21px; max-width: none; justify-content: start; }
  .calc-shared { grid-template-columns: 1fr 1fr; }
  .contact-grid { gap: 6%; }
}

@media (max-width: 650px) {
  .container { width: calc(100% - 36px); }
  .topline .container { justify-content: center; }
  .topline .container span:nth-child(2) { display: none; }
  .nav-shell { min-height: 72px; }
  .hero-home { padding: 51px 0 60px; }
  .hero-home-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(3.1rem, 13vw, 4.7rem); line-height: 1.06; }
  .hero-lead { font-size: 1rem; }
  .hero-photo { height: 390px; min-height: 390px; border-radius: 150px 150px 14px 14px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { flex: 1 1 180px; font-size: .79rem; }
  .decision-band-inner { justify-content: space-between; flex-wrap: wrap; gap: 11px 22px; padding: 20px 0; }
  .decision-band p { font-size: .72rem; }
  .decision-band b { display: block; }
  .section-space { padding: 75px 0; }
  h2 { font-size: clamp(2.2rem,10vw,3.5rem); }
  .section-heading { margin-bottom: 31px; }
  .section-heading.split { gap: 0; }
  .path-grid, .story-grid, .material-grid, .tool-promo-grid, .final-guides, .result-grid, .contact-grid, .calc-intro, .footer-top { grid-template-columns: 1fr; }
  .path-grid .featured { grid-column: auto; }
  .path-card { min-height: 300px; }
  .path-icon { margin: 6px 0; }
  .story-img img { min-height: 300px; border-radius: 15px 120px 15px 15px; }
  .materials-mini { grid-template-columns: 1fr; }
  .materials-mini a { min-height: 105px; padding: 21px 25px; }
  .tool-promo { padding: 75px 0; }
  .tool-promo-grid { gap: 40px; }
  .tool-art { min-height: 270px; padding: 34px 26px; border-radius: 100px 100px 15px 15px; }
  .art-chart { height: 170px; }
  .final-guides img { border-radius: 100px 15px 15px 15px; }
  .page-hero { padding: 65px 0; }
  .page-hero h1 { font-size: clamp(3rem,12vw,4.7rem); }
  .page-lead { font-size: 1rem; }
  .intro-panel { display: block; padding: 24px; margin-bottom: 60px; }
  .intro-panel strong { display: block; margin-bottom: 14px; }
  .material-card { padding: 28px 23px; }
  .material-card h2 { margin: 16px 0; }
  .material-facts { gap: 15px; }
  .simple-cta { padding: 60px 0; }
  .simple-cta > .container { flex-direction: column; align-items: start; }
  .calc-intro { gap: 10px; }
  .cost-calculator { padding: 19px; }
  .calc-shared { grid-template-columns: 1fr; gap: 8px; }
  .calc-shared label:nth-of-type(2) { margin-top: 12px; }
  .quotes-grid { grid-template-columns: 1fr; }
  .quote-fieldset { padding: 18px; }
  .calc-results { padding: 22px; }
  .results-top { display: block; }
  .comparison-bars > div { grid-template-columns: 90px 1fr; }
  .result-card { padding: 22px; }
  .decision-tool { padding: 18px; }
  .process-grid, .season-grid { grid-template-columns: 1fr; }
  .process-grid span { margin-bottom: 12px; }
  .method-grid { grid-template-columns: 52px 1fr; gap: 0 19px; }
  .method-number { font-size: 1.9rem; }
  .contact-form { padding: 24px; }
  .footer-top { gap: 40px; margin-bottom: 56px; }
  .site-footer { padding: 72px 0 24px; }
  .footer-bottom { display: grid; grid-template-columns: 1fr auto; }
  .footer-bottom > div { grid-column: 1/-1; margin: 5px 0; }
  .footer-bottom .back-top { grid-column: 2; grid-row: 1 / 3; }
}

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

@media print {
  .topline, .site-header, .site-footer, .calc-actions, .tool-promo, .simple-cta, .print-trigger { display: none !important; }
  .section-space { padding: 20px 0; }
  .page-hero { padding: 25px 0; }
  .calc-results, .result-card { break-inside: avoid; }
  body { background: white; }
}

.message-title { font: 400 clamp(2.6rem,6vw,5rem)/1.1 var(--serif); }


/* Distintivo flotante Arelite */
.arelite-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  gap: 3px;
  max-width: 260px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(16, 43, 53, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: #102b35;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(8, 28, 34, 0.16);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.arelite-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(32, 129, 178, 0.35), rgba(191, 164, 103, 0.45));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.arelite-float:hover,
.arelite-float:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 42px rgba(8, 28, 34, 0.2);
  border-color: rgba(32, 129, 178, 0.24);
}

.arelite-float-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2081b2;
}

.arelite-float-copy {
  font-size: 0.9rem;
  line-height: 1.35;
  color: #24444d;
}

@media (max-width: 720px) {
  .arelite-float {
    right: 12px;
    left: 12px;
    bottom: 12px;
    max-width: none;
    padding: 11px 13px;
  }

  .arelite-float-copy {
    font-size: 0.84rem;
  }
}
