:root {
  --ink: #183e43;
  --muted: #53666a;
  --green: #356d52;
  --lime: #dceb98;
  --paper: #f5f4ef;
  --white: #fff;
  --line: #d7dfd9;
  --radius: 10px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial,Helvetica,sans-serif;
  line-height: 1.65;
  font-size: 17px;
}

h1,h2,h3,p,figure {
  margin: 0;
}

h1,h2,h3 {
  line-height: 1.12;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(2.4rem, 4.7vw, 4rem);
  font-weight: 650;
}

h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
  font-weight: 650;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin-top: 1rem;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

button,input,select,textarea {
  font: inherit;
}

button,a,input,select,textarea,summary {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
}

button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible {
  outline: 3px solid #906000;
  outline-offset: 4px;
}

[hidden] {
  display: none!important;
}

.container {
  max-width: var(--max);
  padding: 0 26px;
  margin: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -120px;
  padding: 12px;
  background: #fff;
  z-index: 20;
}

.skip:focus {
  top: 10px;
}

.header {
  background: #f5f4eff5;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

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

.brand {
  font-weight: 800;
  letter-spacing: .16em;
  font-size: 28px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
}

nav {
  display: flex;
  align-items: center;
  gap: 23px;
}

nav>a:not(.button) {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 0;
}

nav a[aria-current] {
  border-bottom: 2px solid var(--green);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  min-height: 48px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 5px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
}

.button:hover {
  background: #2a5759;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  background: #e8ece5;
}

.button:disabled {
  opacity: .55;
  cursor: wait;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: 14px;
  color: var(--green);
  margin: 0 0 20px;
}

.hero {
  padding: 68px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  padding-bottom: 54px;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--green);
}

.hero-copy p {
  color: var(--muted);
  max-width: 520px;
  font-size: 18px;
  margin-top: 25px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 490px;
  background: #e0e3d9;
  border-radius: 150px 8px 8px 8px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.hero-media figcaption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: #123638ee;
  color: #fff;
  padding: 13px 16px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
}

.hero-foot {
  margin-top: 20px;
  font-size: 15px!important;
}

.hero-strip {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-strip .container {
  display: flex;
  gap: 32px;
  justify-content: space-between;
  padding-top: 19px;
  padding-bottom: 19px;
  font-size: 15px;
  font-weight: 600;
}

.hero-strip span:before {
  content: '';
  margin-right: 12px;
  color: var(--green);
}

.section {
  padding: 82px 0;
}

.section.white {
  background: white;
}

.section.soft {
  background: #e9ede4;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 34px;
}

.section-head>div {
  max-width: 700px;
}

.section-head p {
  color: var(--muted);
}

.situations {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
}

.situation {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--green);
  padding: 24px 18px;
  text-decoration: none;
  background: #fff;
  gap: 14px;
  min-height: 168px;
}

.situation small {
  font-size: 14px;
  color: var(--green);
}

.situation strong {
  font-size: 18px;
  line-height: 1.3;
}

.situation span {
  font-size: 15px;
  margin-top: auto;
}

.situation:hover {
  background: #ecf1e4;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.grid.two {
  grid-template-columns: repeat(2,1fr);
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-content {
  padding: 26px;
}

.card-content p {
  color: var(--muted);
  font-size: 17px;
}

.card .card-image {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.card .badge {
  display: inline-block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  background: #edf0e8;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 4px 7px;
  margin-bottom: 16px;
}

.card h3 a {
  text-decoration: none;
}

.card .meta {
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--muted);
}

.card a.more {
  display: inline-block;
  margin-top: 20px;
  font-weight: 700;
  font-size: 16px;
}

.service-number {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 25px;
}

.service-card h3 {
  margin-bottom: 15px;
}

.service-card ul {
  padding-left: 18px;
  font-size: 16px;
  color: var(--muted);
}

.note {
  border-left: 3px solid var(--green);
  background: #e9eee5;
  padding: 18px 24px;
  margin-top: 28px;
  font-size: 14px;
}

.method-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
}

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

.steps li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  column-gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.steps li h3 {
  font-size: 22px;
  line-height: 1.3;
}

.steps li p {
  font-size: 17px;
  color: var(--muted);
  margin-top: 12px;
}

.diagram {
  margin-top: 32px;
  max-width: 370px;
}

.diagram svg {
  width: 100%;
  height: auto;
}

.diagram figcaption {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}

.checklist {
  background: var(--ink);
  color: white;
  border-radius: 8px;
  padding: 28px;
  margin-top: 25px;
}

.checklist h3 {
  font-size: 18px;
}

.checklist ul {
  padding-left: 18px;
  font-size: 16px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

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

.cost-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.cost-list strong {
  font-size: 16px;
}

.cost-list span {
  font-size: 16px;
  color: var(--muted);
  max-width: 270px;
}

.faq {
  max-width: 860px;
}

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

.faq summary {
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  padding: 9px 30px 9px 0;
  font-size: 17px;
}

.faq details p {
  color: var(--muted);
  padding-bottom: 15px;
  margin-top: 5px;
}

.cta {
  background: var(--ink);
  color: white;
  padding: 60px 0;
}

.cta .eyebrow {
  color: var(--lime);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-inner>div {
  max-width: 720px;
}

.cta .button {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
  flex-shrink: 0;
}

.cta p {
  color: #d2ddd9;
}

.footer {
  background: #102d32;
  color: #d2ddd9;
  padding: 64px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1.2fr 1fr;
  gap: 42px;
}

.footer .brand {
  color: white;
}

.footer h2 {
  font-size: 17px;
  letter-spacing: 0;
  margin-bottom: 20px;
  color: #fff;
}

.footer p,.footer a:not(.brand) {
  font-size: 15px;
}

.footer-grid>div>a:not(.brand) {
  display: block;
  margin: 10px 0;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #416068;
  margin-top: 46px;
  padding-top: 22px;
  display: flex;
  gap: 22px;
  font-size: 14px;
  flex-wrap: wrap;
}

.text-button {
  background: transparent;
  color: inherit;
  border: 0;
  text-decoration: underline;
  min-height: 48px;
  padding: 4px 8px;
  font-size: inherit;
}

.float-wa {
  position: fixed;
  bottom: 20px;
  right: 22px;
  z-index: 12;
  border-radius: 24px;
  background: var(--green);
  color: white;
  text-decoration: none;
  padding: 12px 18px;
  font-size: 15px;
  box-shadow: 0 3px 18px #0002;
}

.float-wa span {
  margin-right: 7px;
}

.breadcrumb {
  padding-top: 24px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  gap: 12px;
}

.page-hero {
  padding: 52px 0 55px;
  max-width: 890px;
}

.page-hero h1 {
  font-size: clamp(2.3rem,4.5vw,3.6rem);
}

.page-hero .lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 760px;
}

.prose {
  max-width: 820px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 26px;
  margin: 42px 0 14px;
}

.prose h3 {
  font-size: 21px;
  margin: 30px 0 10px;
}

.prose h4 {
  font-size: 18px;
  margin: 22px 0 10px;
}

.prose p,.prose li {
  color: var(--muted);
}

.prose img {
  border-radius: 8px;
  max-height: 480px;
  object-fit: cover;
  width: 100%;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.prose th,.prose td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 40px;
}

.gallery img {
  aspect-ratio: 1.35;
  object-fit: cover;
  border-radius: 6px;
  width: 100%;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 45px;
  align-items: start;
  margin-bottom: 75px;
}

.quote-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px;
}

.quote-form h2 {
  font-size: 22px;
}

.form-progress {
  display: flex;
  gap: 18px;
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 25px;
}

.form-progress b {
  color: var(--ink);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1/-1;
}

.field label {
  font-size: 16px;
  font-weight: 600;
}

.field input,.field select,.field textarea {
  width: 100%;
  padding: 12px 13px;
  min-height: 48px;
  border: 1px solid #84989b;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}

.field small {
  font-size: 15px;
  color: var(--muted);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 18px 0;
  font-size: 16px;
}

.check input {
  width: 20px;
  height: 20px;
  margin: 2px 0;
  flex-shrink: 0;
}

.form-note {
  font-size: 16px;
  color: var(--muted);
}

.quote-aside {
  padding: 28px;
  background: #e9ede4;
  border-radius: 8px;
}

.quote-aside h2 {
  font-size: 23px;
}

.quote-aside ul {
  padding-left: 20px;
  font-size: 16px;
  color: var(--muted);
}

.quote-aside .button {
  margin-top: 18px;
}

.status {
  padding: 16px;
  margin-top: 22px;
  background: #e5efdd;
  border-left: 3px solid var(--green);
  font-size: 16px;
}

.status.error {
  background: #fff0eb;
  border-color: #aa4426;
  color: #843b29;
}

.hp {
  position: absolute;
  left: -9999px;
}

.cookie-panel {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: white;
  padding: 24px;
  box-shadow: 0 6px 35px #0003;
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 450px;
  z-index: 25;
  max-height: 90vh;
  overflow: auto;
}

.cookie-panel h2 {
  font-size: 23px;
}

.cookie-panel p {
  font-size: 15px;
}

.cookie-panel .actions {
  margin-top: 15px;
}

.cookie-panel .button {
  font-size: 15px;
  padding: 10px 14px;
}

.cookie-panel a {
  font-size: 14px;
}

.empty-image {
  background: #e8ece5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  padding: 20px;
}

.article-top {
  margin-bottom: 35px;
}

.article-top .meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

.pill {
  display: inline-block;
  background: #e9ede4;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 14px;
  margin: 5px;
}

.not-found {
  text-align: center;
  padding: 110px 25px;
}

.not-found .actions {
  justify-content: center;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

legend {
  font-weight: 700;
  font-size: 22px;
}

noscript p {
  padding: 15px;
  background: #e9ede4;
}

@media(max-width:1000px) {
  nav {
    gap: 13px;
  }

  nav .button {
    padding: 12px;
    font-size: 16px;
  }

  .brand {
    font-size: 28px;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-media {
    min-height: 440px;
  }

  .footer-grid {
    gap: 25px;
  }

  .method-layout {
    gap: 35px;
  }

}

@media(max-width:820px) {
  .header-inner {
    min-height: 80px;
    flex-wrap: wrap;
    gap: 0;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    width: 100%;
    display: none;
    padding: 18px 0 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
  }

  nav.open {
    display: flex;
  }

  nav>a:not(.button) {
    padding: 12px;
    font-size: 16px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-copy p {
    max-width: 660px;
  }

  .hero-media {
    height: 400px;
    min-height: 0;
    border-radius: 80px 8px 8px 8px;
  }

  .hero-strip .container {
    gap: 14px;
    flex-wrap: wrap;
    font-size: 15px;
  }

  .situations {
    grid-template-columns: 1fr 1fr;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .method-layout,.split {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .method-intro {
    max-width: 620px;
  }

  .diagram {
    display: none;
  }

  .section {
    padding: 58px 0;
  }

  .cta-inner {
    align-items: start;
    flex-direction: column;
    gap: 28px;
  }

  .quote-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    gap: 20px;
    align-items: start;
    flex-direction: column;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

}

@media(max-width:520px) {
  .container {
    padding: 0 20px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-media {
    height: 340px;
  }

  .hero-strip .container {
    font-size: 15px;
    gap: 12px;
  }

  .hero-strip span {
    width: 100%;
  }

  .actions {
    flex-direction: column;
  }

  .actions .button {
    width: 100%;
  }

  .situations {
    gap: 10px;
  }

  .situation {
    padding: 19px 14px;
    min-height: 163px;
  }

  .situation strong {
    font-size: 16px;
  }

  .grid,.grid.two {
    grid-template-columns: 1fr;
  }

  .card-content {
    padding: 24px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .cost-list li {
    gap: 20px;
  }

  .cost-list strong {
    font-size: 16px;
    max-width: 120px;
  }

  .cost-list span {
    font-size: 16px;
    max-width: 200px;
  }

  .quote-form {
    padding: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .field.full {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid>div {
    max-width: 340px;
  }

  .float-wa {
    bottom: 12px;
    right: 12px;
    font-size: 15px;
    padding: 11px 14px;
  }

  .page-hero {
    padding: 40px 0;
  }

  .page-hero .lead {
    font-size: 16px;
  }

  .prose h2 {
    font-size: 23px;
  }

  .footer {
    padding-bottom: 65px;
  }

  .gallery {
    gap: 10px;
  }

  .cookie-panel {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
  }

  .hero-foot {
    margin-bottom: 10px;
    font-size: 15px!important;
  }

}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto!important;
    animation: none!important;
    transition: none!important;
  }

}

.note+.grid {
  margin-top: 32px;
}

/* V2.1: precotización progresiva con controles amplios, sin cambiar el diseño base. */
.wizard-section {
  padding-bottom: 72px;
}

.wizard-layout {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(250px,1fr);
  gap: 40px;
  align-items: start;
}

.wizard-card,.wizard-result {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px;
}

.wizard-progress {
  margin-bottom: 30px;
}

.wizard-progress p {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}

.wizard-progress progress {
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 8px;
  accent-color: var(--green);
}

.wizard-step legend {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.wizard-hint {
  font-size: 16px;
  color: var(--muted);
  margin: 12px 0 24px;
}

.quote-options {
  display: grid;
  gap: 12px;
}

.quote-option {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #84989b;
  padding: 18px;
  min-height: 64px;
  border-radius: 7px;
  cursor: pointer;
}

.quote-option:has(input:checked) {
  background: #edf3df;
  border: 2px solid var(--green);
  padding: 17px;
}

.quote-option input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--green);
}

.quote-option strong {
  display: block;
  font-size: 16px;
}

.quote-option small {
  font-size: 15px;
  color: var(--muted);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
}

.wizard-aside {
  padding: 28px;
  border-radius: 10px;
  background: #e9ede4;
}

.wizard-aside h2 {
  font-size: 28px;
}

.wizard-aside ol {
  padding-left: 22px;
  font-size: 16px;
}

.wizard-aside li {
  padding: 10px 0;
}

.wizard-aside p {
  font-size: 16px;
}

.wizard-result h2 {
  font-size: 30px;
}

.quote-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0;
}

.quote-summary div {
  background: var(--paper);
  padding: 12px;
  border-radius: 5px;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.quote-summary dt {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

.quote-summary dd {
  margin: 5px 0 0;
  font-weight: 600;
}

.result-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.result-columns h3 {
  font-size: 18px;
}

.result-columns ul {
  padding-left: 18px;
  font-size: 16px;
  color: var(--muted);
}

.result-columns li {
  margin: 8px 0;
}

.quote-economic {
  background: #edf3df;
  border-left: 3px solid var(--green);
  padding: 20px;
  margin: 24px 0;
}

.quote-economic h3 {
  font-size: 20px;
}

.quote-economic p {
  font-size: 16px;
}

.quote-price {
  font-size: 24px!important;
  font-weight: 700;
  color: var(--ink);
}

.selected-model {
  padding: 16px 20px;
  margin: 0 0 20px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: #edf3df;
  font-size: 16px;
}

.selected-model a {
  display: inline-block;
  margin-top: 8px;
  font-size: 15px;
}

.contact-extras {
  padding: 18px 0;
}

.contact-extras summary {
  cursor: pointer;
  padding: 10px 0;
  font-weight: 600;
}

.wizard-result #quote-contact {
  margin-top: 30px;
}

.wizard-result .quote-form {
  border: 0;
  padding: 25px 0 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.tracking-demo-panel {
  border: 1px solid var(--line);
  padding: 20px;
  margin-top: 28px;
  background: var(--paper);
  font-size: 14px;
}

.tracking-demo-panel pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 200px;
  overflow: auto;
  font-size: 14px;
}

@media(max-width:1040px) {
  .header-inner {
    min-height: 80px;
    flex-wrap: wrap;
    gap: 0;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    width: 100%;
    display: none;
    padding: 18px 0 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
  }

  nav.open {
    display: flex;
  }

  nav>a:not(.button) {
    padding: 12px;
    font-size: 16px;
  }

}

@media(max-width:820px) {
  .wizard-layout {
    grid-template-columns: 1fr;
  }

  .wizard-aside {
    order: 2;
  }

  .wizard-card,.wizard-result {
    padding: 27px;
  }

}

@media(max-width:520px) {
  .wizard-card,.wizard-result {
    padding: 22px 18px;
  }

  .wizard-step legend {
    font-size: 23px;
  }

  .wizard-actions {
    flex-direction: column-reverse;
  }

  .wizard-actions .button {
    width: 100%;
  }

  .quote-summary,.result-columns {
    grid-template-columns: 1fr;
  }

  .wizard-result h2 {
    font-size: 26px;
  }

  .quote-price {
    font-size: 20px!important;
  }

  .wizard-section {
    padding-bottom: 50px;
  }

}

/* V2.2: conserva la identidad visual, añade desglose adaptable sin barras superpuestas. */
.catalog-price {
  font-size: 1.7rem;
  font-weight: 750;
  color: var(--green,#164b3c);
  margin: .8rem 0;
}

.catalog-price small {
  display: block;
  font-size: 16px;
  font-weight: 500;
}

.model-config-grid {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(300px,1fr);
  gap: 2rem;
  align-items: start;
}

.model-options {
  border: 0;
  padding: 0;
  margin: 0 0 2rem;
}

.model-options legend {
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: .4rem;
}

.model-option {
  display: grid;
  grid-template-columns: 24px minmax(0,1fr) auto;
  gap: .8rem;
  align-items: start;
  padding: 1rem;
  background: white;
  border: 1px solid #d4ddd7;
  border-radius: 10px;
  margin: .6rem 0;
  cursor: pointer;
  min-height: 48px;
}

.model-option:has(input:checked) {
  border-color: #245c48;
  background: #edf5ef;
}

.model-option:focus-within {
  outline: 3px solid #bb6c36;
  outline-offset: 2px;
}

.model-option input {
  width: 20px;
  height: 20px;
  margin-top: .3rem;
  accent-color: #245c48;
}

.model-option small {
  display: block;
  line-height: 1.5;
  margin-top: .3rem;
  font-size: 16px;
}

.model-option b {
  white-space: nowrap;
}

.model-total {
  position: sticky;
  top: 24px;
  border: 1px solid #b7c8bd;
  border-radius: 16px;
  padding: 1.4rem;
  background: white;
  max-height: calc(100dvh - 48px);
  overflow: auto;
}

.model-total h3 {
  margin-top: 0;
}

#model-breakdown p {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  border-bottom: 1px solid #e5eae7;
  padding: .6rem 0;
  margin: 0;
}

#model-breakdown strong {
  white-space: nowrap;
}

.model-subtotal {
  font-weight: 700;
}

.model-subtotal output {
  display: block;
  font-size: 2rem;
  color: #245c48;
  overflow-wrap: anywhere;
}

.model-subtotal small {
  display: block;
  font-weight: 400;
}

.model-conversion {
  display: grid;
  gap: .6rem;
  margin: 1rem 0;
}

.model-conversion .button {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.model-gallery {
  margin-top: 2rem;
}

.model-gallery summary {
  cursor: pointer;
  padding: 1rem;
  font-weight: 650;
  min-height: 48px;
}

.model-gallery .gallery {
  margin-top: 1rem;
}

#model-contact {
  margin-top: 3rem;
}

#condiciones table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

#condiciones th,#condiciones td {
  padding: .8rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #d4ddd7;
}

#condiciones th:first-child {
  width: 25%;
}

.wizard-direct {
  margin-top: 1.5rem;
}

.wizard-direct a {
  display: inline-block;
  padding: .5rem 0;
}

select {
  min-height: 48px;
}

.model-options input:disabled+span {
  opacity: .75;
}

@media(max-width:820px) {
  .model-config-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .model-total {
    position: static;
    max-height: calc(100dvh - 48px);
    overflow: visible;
    width: 100%;
    order: -1;
    top: 24px;
  }

  .model-option {
    grid-template-columns: 24px minmax(0,1fr);
  }

  .model-option b {
    grid-column: 2;
  }

  .model-subtotal output {
    font-size: 1.8rem;
  }

  body:has(#model-configurator) .float-wa {
    position: static;
    display: flex;
    width: fit-content;
    margin: 1rem auto;
  }

  #condiciones th:first-child {
    width: auto;
  }

  .model-total small {
    overflow-wrap: anywhere;
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

}

.model-mobile-bar {
  display: none;
}

#model-contact {
  scroll-margin-top: 100px;
}

#model-total-title {
  scroll-margin-top: 110px;
}

@media(max-width:820px) {
  .model-config-grid>div:first-child {
    order: 1;
    width: 100%;
  }

  .model-total {
    order: -2;
    top: 24px;
    max-height: calc(100dvh - 48px);
  }

  .model-mobile-bar {
    display: flex;
    position: sticky;
    top: 76px;
    order: 0;
    z-index: 8;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    width: 100%;
    background: #edf5ef;
    border: 1px solid #b7c8bd;
    border-radius: 8px;
    padding: .6rem;
    box-shadow: 0 3px 12px #193f2d12;
    min-height: 64px;
  }

  .model-mobile-bar span {
    font-size: 16px;
    line-height: 1.3;
  }

  .model-mobile-bar output {
    display: block;
    font-size: 21px;
    font-weight: 700;
  }

  .model-mobile-bar a {
    font-size: 15px;
    padding: .5rem 0;
  }

  .model-mobile-bar .button {
    padding: .6rem .8rem;
    min-height: 48px;
    font-size: 16px;
    flex-shrink: 0;
  }

  .model-config-grid>div:first-child .model-options {
    scroll-margin-top: 150px;
  }

}

.card-content .catalog-price {
  font-size: 1.7rem;
  font-weight: 750;
  color: var(--green);
}

@media(max-width:820px) {
  .model-mobile-bar {
    top: 12px;
  }

}

/* V2.3 — jerarquía comercial, cuatro fases y lectura accesible. */
:root {
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 72px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.hero-copy h1 {
  max-width: 19ch;
  line-height: 1.12;
}

.hero-copy p {
  max-width: 49ch;
}

.hero-media {
  min-height: 520px;
}

.section {
  padding: var(--space-6) 0;
}

.section-head {
  margin-bottom: var(--space-4);
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.card-content p {
  margin-top: 0;
}

.card-content .button,.card-content .more {
  align-self: flex-start;
  margin-top: auto;
}

.card .badge {
  align-self: flex-start;
  margin-bottom: 0;
}

.model-card .catalog-price {
  line-height: 1.4;
}

.catalog-price small {
  margin-top: 4px;
}

.commercial-paths h3 {
  font-size: 24px;
}

.commercial-paths p {
  max-width: 48ch;
}

.phase-number {
  display: block;
  font-size: 64px;
  font-weight: 650;
  line-height: 1;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.055em;
}

.steps li:first-child {
  padding-top: 0;
}

.technical-detail {
  margin-top: var(--space-3);
}

.technical-steps {
  padding-left: 24px;
}

.technical-steps li {
  padding: 16px 0;
}

.technical-steps h4 {
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
}

.technical-steps p {
  font-size: 16px;
  margin-top: 8px;
  color: var(--muted);
}

.scope-details,.technical-detail {
  border-block: 1px solid var(--line);
  padding: 12px 0;
}

.scope-details summary,.technical-detail summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 48px;
  padding: 10px 2px;
  font-size: 16px;
  line-height: 1.5;
}

.scope-details p,.scope-details li {
  font-size: 16px;
}

.scope-details p {
  margin: 12px 0;
}

.card-content .scope-details {
  margin-top: 0;
}

.scope-details[open] {
  margin-bottom: 16px;
}

.roof-notice {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  margin-top: 16px;
}

.card-content .roof-notice {
  margin: 0;
}

.roof-notice strong {
  font-weight: 700;
}

.journey {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 24px;
  counter-reset: journey;
  margin: 24px 0;
  font-size: 16px;
  flex-wrap: wrap;
}

.journey li {
  counter-increment: journey;
  display: flex;
  align-items: center;
  gap: 10px;
}

.journey li::before {
  content: counter(journey);
  font-weight: 700;
  border: 1px solid var(--green);
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
}

.model-total .model-subtotal {
  font-size: 17px;
  line-height: 1.5;
  margin-top: 24px;
}

.model-subtotal output {
  font-size: clamp(1.9rem,3vw,2.5rem);
  line-height: 1.25;
  margin: 8px 0;
}

.model-subtotal small {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.model-option b small {
  font-size: 16px;
  font-weight: 400;
}

.inspection-notice {
  font-size: 16px;
  line-height: 1.6;
  border-left: 3px solid var(--green);
  padding-left: 16px;
  margin-top: 24px;
}

.model-total .tariff-version {
  font-size: 14px;
  display: block;
  overflow-wrap: anywhere;
  color: var(--muted);
}

.model-total .scope-details {
  margin-top: 24px;
}

.model-options legend {
  font-size: 24px;
}

.model-option span {
  min-width: 0;
}

.model-option b {
  font-size: 17px;
}

.model-mobile-bar small {
  display: block;
  font-size: 16px;
}

#model-breakdown p {
  align-items: flex-start;
  font-size: 16px;
}

#model-breakdown span {
  min-width: 0;
}

.model-config-grid {
  margin-top: 32px;
}

.model-options:focus-within {
  scroll-margin-top: 150px;
}

.menu-toggle {
  min-height: 48px;
}

.faq summary {
  font-size: 18px;
}

.prose {
  line-height: 1.8;
}

.prose h2 {
  line-height: 1.25;
}

button:disabled {
  cursor: default;
}

a,button {
  overflow-wrap: anywhere;
}

@media(max-width:820px) {
  .phase-number {
    font-size: 48px;
  }

  .steps li {
    grid-template-columns: 60px minmax(0,1fr);
    gap: 16px;
    padding: 24px 0;
  }

  .steps li p {
    font-size: 16px;
  }

  .steps li h3 {
    font-size: 21px;
  }

  .hero-media {
    min-height: 0;
  }

  .model-mobile-bar {
    top: 12px;
    padding: 12px;
    gap: 12px;
    min-height: 96px;
    align-items: center;
    flex-wrap: wrap;
  }

  .model-mobile-bar span {
    flex: 1 1 auto;
    min-width: 145px;
  }

  .model-mobile-bar a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .model-mobile-bar .button {
    min-width: 80px;
  }

  .model-total {
    max-height: none;
    top: auto;
  }

  .model-total .model-subtotal {
    font-size: 16px;
  }

  .model-config-grid>div:first-child .model-options {
    scroll-margin-top: 140px;
  }

  .model-mobile-bar .button {
    margin-left: auto;
  }

  .model-mobile-bar output {
    line-height: 1.25;
  }

  .model-mobile-bar small {
    line-height: 1.3;
  }

  body:has(#model-configurator) .float-wa {
    position: static;
  }

  .journey {
    gap: 12px;
    font-size: 15px;
  }

  .journey li::before {
    width: 28px;
    height: 28px;
  }

  .model-choices {
    width: 100%;
  }

}

@media(max-width:520px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 20px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem,8.3vw,2.7rem);
    max-width: 18ch;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .section {
    padding: 48px 0;
  }

  .steps li {
    grid-template-columns: 52px minmax(0,1fr);
  }

  .phase-number {
    font-size: 44px;
  }

  .card-content {
    padding: 24px;
  }

  .hero-strip .container {
    font-size: 15px;
  }

  .model-option {
    padding: 16px;
    gap: 12px;
  }

  .model-option b {
    grid-column: 2;
    font-size: 18px;
  }

  .model-option b small {
    display: inline;
    margin-left: 8px;
  }

  .model-subtotal output {
    font-size: 32px;
  }

  .model-mobile-bar {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 4px 12px;
  }

  .model-mobile-bar span {
    grid-row: 1 / 3;
    min-width: 0;
  }

  .model-mobile-bar a {
    min-height: 40px;
    padding: 0;
    justify-content: center;
  }

  .model-mobile-bar .button {
    min-height: 48px;
    padding: 10px 14px;
  }

  .model-total {
    padding: 24px 18px;
  }

  .journey {
    display: grid;
    gap: 10px;
  }

  .model-conversion .button {
    font-size: 16px;
  }

  #condiciones th,#condiciones td {
    padding: 12px 6px;
    overflow-wrap: anywhere;
  }

  .cookie-panel .button {
    min-height: 48px;
  }

  .hero-media {
    height: 300px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .field small {
    font-size: 15px;
  }

  .quote-option {
    padding: 16px;
  }

  .quote-option:has(input:checked) {
    padding: 15px;
  }

}

/* V2.3: blancos táctiles de enlaces y edición sin perder los campos completados. */
.footer-grid > div > a:not(.brand) {
  min-height: 44px;
  padding: 8px 0;
  margin: 0;
}
.card a.more {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}
.model-choices {
  scroll-margin-top: 140px;
}

.hero-strip span:before {
  display: none;
}

/* =========================================
   FOOTER VIVANTO — Diseño comercial
   ========================================= */

.footer.footer-vivanto {
  background: #102d32;
  color: #d2ddd9;
  padding: 52px 0 24px;
}

.footer-vivanto .container {
  max-width: 1440px;
}

.footer-vivanto .footer-grid {
  grid-template-columns: 1.35fr 1fr 1.05fr 1.15fr;
  align-items: start;
  gap: clamp(24px, 3vw, 56px);
}

.footer-vivanto .footer-grid > div {
  min-width: 0;
  max-width: none;
}

/* Identidad corporativa */

.footer-vivanto .brand {
  font-size: 28px;
  margin-bottom: 14px;
  display: inline-flex;
}

.footer-vivanto h2 {
  font-size: 18px;
  margin: 4px 0 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.footer-vivanto p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 12px;
}

.footer-vivanto .footer-tagline {
  color: #fff;
  font-weight: 700;
}

/* Enlaces y contacto */

.footer-vivanto .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-vivanto .footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 0;
  text-decoration: none;
  overflow-wrap: anywhere;
  font-size: 15px;
}

.footer-vivanto .footer-links a:hover,
.footer-vivanto .footer-legal a:hover {
  color: #dceb98;
  text-decoration: underline;
}

.footer-vivanto .footer-contact {
  margin-bottom: 12px;
}

.footer-vivanto .footer-areas li::before {
  content: '•';
  color: #a9d5b6;
  margin-right: 8px;
}

/* Redes sociales */

.footer-vivanto .footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-vivanto .footer-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #547477;
  border-radius: 50%;
  text-decoration: none;
}

.footer-vivanto .footer-social a:hover {
  color: #102d32;
  background: #dceb98;
  border-color: #dceb98;
}

.footer-vivanto .footer-social svg {
  width: 20px;
  height: 20px;
}

/* Franja legal inferior */

.footer-vivanto .footer-bottom {
  margin-top: 32px;
  padding-top: 14px;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 14px;
}

.footer-vivanto .footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 18px;
}

.footer-vivanto .footer-legal a,
.footer-vivanto .footer-legal button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  padding: 0;
}

.footer-vivanto a:focus-visible,
.footer-vivanto button:focus-visible {
  outline-color: #dceb98;
}

/* Adaptación para tablets */

@media (max-width: 900px) {
  .footer-vivanto .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

/* Adaptación para celulares */

@media (max-width: 520px) {
  .footer.footer-vivanto {
    padding: 36px 0 80px;
  }

  .footer-vivanto .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-vivanto .footer-links a {
    min-height: 44px;
  }

  .footer-vivanto .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* VIVANTO — Carrusel de portada y beneficios */

.hero-carousel .hero-slide {
  position: absolute;
  inset: 0;
  display: none;
}

#hero-photo-1:checked ~ .hero-slides .hero-slide:nth-child(1),
#hero-photo-2:checked ~ .hero-slides .hero-slide:nth-child(2),
#hero-photo-3:checked ~ .hero-slides .hero-slide:nth-child(3) {
  display: block;
}

.hero-carousel .hero-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.hero-controls label {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #102d32e8;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

#hero-photo-1:checked ~ .hero-controls label:nth-child(1),
#hero-photo-2:checked ~ .hero-controls label:nth-child(2),
#hero-photo-3:checked ~ .hero-controls label:nth-child(3) {
  background: #fff;
  color: #102d32;
}

#hero-photo-1:focus-visible ~ .hero-controls label:nth-child(1),
#hero-photo-2:focus-visible ~ .hero-controls label:nth-child(2),
#hero-photo-3:focus-visible ~ .hero-controls label:nth-child(3) {
  outline: 3px solid #dceb98;
  outline-offset: 3px;
}

/* Beneficios comerciales */

.hero-benefits {
  background: #e7ece2;
}

.hero-benefits .container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.hero-benefits strong {
  display: block;
  font-size: 19px;
  line-height: 1.3;
  color: #153b40;
}

.hero-benefits small {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  color: #405b55;
}

/* Adaptación móvil */

@media (max-width: 640px) {
  .hero-benefits .container {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* VIVANTO — Beneficios comerciales */

.hero-benefits {
  background: #e7ece2;
  font-family: inherit;
}

.hero-benefits .container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-weight: 400;
}

.hero-benefit {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-benefit svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: var(--green);
}

.hero-benefits strong {
  display: block;
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.hero-benefits small {
  display: block;
  margin-top: 6px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
}

.hero-carousel figcaption {
  font-family: inherit;
  font-size: 16px;
}

@media (max-width: 820px) {
  .hero-benefits .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* =========================================
   VIVANTO — Tu punto de partida
   ========================================= */

.home-paths .eyebrow {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--green);
  margin-bottom: 14px;
}

.home-paths .section-head h2 {
  font-size: clamp(32px, 3.5vw, 46px);
}

.home-paths .section-head p:not(.eyebrow) {
  font-size: 19px;
  line-height: 1.6;
}

.home-paths .commercial-paths {
  gap: 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

/* Tarjetas comerciales */

.home-paths .path-card {
  border-top: 4px solid var(--green);
}

.home-paths .path-card .card-content {
  height: 100%;
  padding: clamp(24px, 3vw, 36px);
  gap: 18px;
}

/* Iconos */

.home-paths .path-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  background: #e7ece2;
  color: var(--green);
  border-radius: 16px;
}

.home-paths .path-icon svg {
  width: 46px;
  height: 46px;
}

/* Tipografía */

.home-paths .path-card h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
}

.home-paths .path-card p {
  font-size: 18px;
  line-height: 1.65;
  max-width: none;
}

/* Botones */

.home-paths .path-action {
  margin-top: auto;
  padding-top: 10px;
}

.home-paths .path-action .button {
  font-size: 17px;
  min-height: 48px;
}

/* Adaptación móvil */

@media (max-width: 760px) {
  .home-paths .commercial-paths {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-paths .path-action .button {
    width: 100%;
    text-align: center;
  }
}

/* =========================================
   VIVANTO — Modelos y precios
   ========================================= */

.home-models .eyebrow {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--green);
  margin-bottom: 14px;
}

.home-models .section-head {
  align-items: center;
  gap: 24px;
}

.home-models .section-head h2 {
  font-size: clamp(32px, 3.5vw, 46px);
}

.home-models .section-head p:not(.eyebrow) {
  font-size: 19px;
  line-height: 1.6;
}

/* Icono de la sección */

.home-models .models-icon {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #e7ece2;
  color: var(--green);
}

.home-models .models-icon svg {
  width: 46px;
  height: 46px;
}

/* Distribución de modelos */

.home-models .models-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.home-models .model-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(24, 62, 67, .07);
}

/* Fotografías */

.home-models .model-card .card-image {
  display: block;
  aspect-ratio: 1.6;
  object-fit: cover;
}

/* Contenido de las tarjetas */

.home-models .model-card .card-content {
  flex: 1;
  padding: clamp(22px, 3vw, 32px);
  gap: 16px;
}

.home-models .model-card h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
}

/* Precio destacado */

.home-models .model-card .catalog-price {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  padding: 18px;
  border-radius: 10px;
  background: #edf2e9;
  color: var(--green);
}

.home-models .catalog-price small {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}

/* Botón comercial */

.home-models .model-card .button {
  width: 100%;
  min-height: 52px;
  justify-content: center;
  text-align: center;
  font-size: 17px;
}

/* Adaptación móvil */

@media (max-width: 760px) {

  .home-models .models-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-models .section-head {
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .home-models .models-icon {
    width: 64px;
    height: 64px;
    flex: none;
  }

  .home-models .models-icon svg {
    width: 38px;
    height: 38px;
  }

}

/* =========================================
   VIVANTO — Método de montaje
   ========================================= */

.home-method .eyebrow {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--green);
  margin-bottom: 14px;
}

.home-method h2 {
  font-size: clamp(32px, 3.5vw, 46px);
}

.home-method .method-lead {
  font-size: 19px;
  line-height: 1.6;
}

/* Detalle técnico desplegable */

.method-sequence .technical-detail {
  margin-top: 26px;
  padding: 0;
  border: 1px solid var(--green);
  border-radius: 12px;
  background: #e7ece2;
}

.method-sequence .technical-detail summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  list-style: none;
  font: inherit;
  cursor: pointer;
}

.method-sequence .technical-detail summary::-webkit-details-marker {
  display: none;
}

/* Icono del bloque */

.technical-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 10px;
}

.technical-icon svg {
  width: 30px;
  height: 30px;
}

/* Texto comercial */

.technical-copy {
  flex: 1;
  min-width: 0;
}

.technical-copy strong {
  display: block;
  font-size: 21px;
  line-height: 1.3;
  color: var(--ink);
}

.technical-copy small {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  margin-top: 4px;
  color: var(--green);
  font-weight: 700;
}

/* Indicador de apertura */

.technical-toggle::before {
  content: '+';
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
}

.technical-detail[open] .technical-toggle::before {
  content: '−';
}

/* Contenido técnico */

.method-sequence .technical-steps {
  margin: 0 20px 20px;
  padding: 8px 0 0 24px;
  border-top: 1px solid var(--line);
}

.method-sequence .technical-steps li {
  padding: 14px 0;
}

/* Adaptación móvil */

@media (max-width: 520px) {

  .method-sequence .technical-detail summary {
    padding: 14px;
    gap: 12px;
  }

  .technical-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .technical-copy strong {
    font-size: 19px;
  }

}

/* =========================================
   VIVANTO — Experiencia en terreno
   ========================================= */

.home-experience .eyebrow {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--green);
  margin-bottom: 14px;
}

.home-experience h2 {
  font-size: clamp(32px, 3.5vw, 46px);
}

.home-experience .section-head p:not(.eyebrow) {
  font-size: 19px;
  line-height: 1.6;
}

.home-experience .experience-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.experience-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.experience-card .card-content {
  flex: 1;
}

.experience-card h3 {
  font-size: 25px;
}

/* Carrusel de fotografías */

.experience-carousel {
  position: relative;
  background: var(--ink);
}

.experience-slide {
  display: none;
}

.experience-slide .card-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.experience-carousel input:nth-of-type(1):checked ~ .experience-slides .experience-slide:nth-child(1),
.experience-carousel input:nth-of-type(2):checked ~ .experience-slides .experience-slide:nth-child(2),
.experience-carousel input:nth-of-type(3):checked ~ .experience-slides .experience-slide:nth-child(3) {
  display: block;
}

/* Controles del carrusel */

.experience-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

.experience-controls label {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #a9bcb8;
  border-radius: 50%;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.experience-carousel input:nth-of-type(1):checked ~ .experience-controls label:nth-child(1),
.experience-carousel input:nth-of-type(2):checked ~ .experience-controls label:nth-child(2),
.experience-carousel input:nth-of-type(3):checked ~ .experience-controls label:nth-child(3) {
  background: #fff;
  color: #153b40;
}

.experience-carousel input:nth-of-type(1):focus-visible ~ .experience-controls label:nth-child(1),
.experience-carousel input:nth-of-type(2):focus-visible ~ .experience-controls label:nth-child(2),
.experience-carousel input:nth-of-type(3):focus-visible ~ .experience-controls label:nth-child(3) {
  outline: 3px solid #dceb98;
  outline-offset: 2px;
}

/* Nota del archivo técnico */

.home-experience .experience-note {
  margin-top: 22px;
  font-size: 15px;
  color: var(--muted);
}

/* Adaptación tablet y móvil */

@media (max-width: 900px) {
  .home-experience .experience-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 620px) {
  .home-experience .experience-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   VIVANTO — Carruseles con flechas
   ========================================= */

.photo-arrows {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.photo-arrow-pair {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
}

/* Mostrar controles según fotografía activa */

.hero-carousel > input:nth-of-type(1):checked
~ .photo-arrows > .photo-arrow-pair:nth-child(1),

.hero-carousel > input:nth-of-type(2):checked
~ .photo-arrows > .photo-arrow-pair:nth-child(2),

.hero-carousel > input:nth-of-type(3):checked
~ .photo-arrows > .photo-arrow-pair:nth-child(3),

.experience-carousel > input:nth-of-type(1):checked
~ .photo-arrows > .photo-arrow-pair:nth-child(1),

.experience-carousel > input:nth-of-type(2):checked
~ .photo-arrows > .photo-arrow-pair:nth-child(2),

.experience-carousel > input:nth-of-type(3):checked
~ .photo-arrows > .photo-arrow-pair:nth-child(3) {
  display: flex;
}

/* Diseño de las flechas */

.photo-arrow-pair label {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(16,45,50,.65);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  transition: background .2s ease, transform .2s ease;
}

.photo-arrow-pair label svg {
  width: 24px;
  height: 24px;
}

.photo-arrow-pair label:hover {
  background: #102d32;
  transform: scale(1.08);
}

/* Accesibilidad mediante teclado */

.hero-carousel > input:focus-visible ~ .photo-arrows label,
.experience-carousel > input:focus-visible ~ .photo-arrows label {
  outline: 3px solid #dceb98;
  outline-offset: 3px;
}

/* Texto sobre la fotografía de portada */

.hero-carousel figcaption {
  font-size: clamp(16px, 1.4vw, 21px);
  font-family: inherit;
  text-align: center;
  padding: 16px;
  z-index: 2;
  background: rgba(16,45,50,.85);
}

/* Respetar preferencias de movimiento */

@media (prefers-reduced-motion: reduce) {
  .photo-arrow-pair label {
    transition: none;
  }
}
