/* Homepage: architectural drawing, open layouts and photographs of actual work. */
.home #inicio { display: block; min-height: 0; padding: 88px 5vw 0; background: var(--navy); }
.home .hero-grid {
  left: 40%; opacity: .42;
  background-image: linear-gradient(#d0e5ef0b 1px, transparent 1px), linear-gradient(90deg, #d0e5ef0b 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse at 70% 46%, #000, transparent 73%);
}
.hero-layout { position: relative; max-width: 1500px; margin: auto; display: grid; grid-template-columns: 46% 54%; align-items: center; min-height: 560px; }
.home .hero-content { max-width: none; padding: 16px 0 60px; }
.hero-kicker { color: #cedce3; font-size: .85rem; letter-spacing: .035em; margin-bottom: 28px; }
.hero-kicker::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 12px; }
.home .hero-title { font-size: clamp(4.6rem, 7.5vw, 7.5rem); font-weight: 600; line-height: .91; letter-spacing: -.025em; text-transform: none; animation: none; }
.home .hero-sub { font-size: 1.125rem; line-height: 1.65; font-weight: 400; max-width: 470px; margin-top: 30px; color: #ccdae0; animation: none; }
.home .hero-actions { align-items: flex-start; flex-direction: column; gap: 21px; margin-top: 30px; animation: none; }
.hero-text-link, .hero-baseline a { text-decoration: none; color: #e0e9ed; font-size: .93rem; }
.hero-text-link { display: inline-flex; align-items: center; gap: 28px; padding-block: 5px; border-bottom: 1px solid #9db2be6b; }
.hero-text-link:hover, .hero-baseline a:hover { color: var(--accent); }
.hero-note { max-width: 380px; color: #a8bdc8; font-size: .77rem; line-height: 1.6; margin-top: 26px; }
.house-stage { position: relative; margin: 0 -3vw 0 -2vw; min-width: 0; align-self: center; }
.house-drawing { position: relative; aspect-ratio: 900 / 626; }
.house-drawing canvas, .house-poster { position: absolute; width: 100%; height: 100%; inset: 0; display: block; object-fit: contain; }
.house-drawing canvas { visibility: hidden; }
.house-ready canvas { visibility: visible; }
.house-ready .house-poster { visibility: hidden; }
.house-caption { margin: 0 4vw; padding: 15px 0; border-top: 1px solid #ffffff24; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .75rem; color: #aec4cf; position: relative; }
.house-caption::before { content: ''; position: absolute; width: 32px; height: 1px; background: var(--accent); top: -1px; left: 0; transform: scaleX(var(--house-progress, 1)); transform-origin: left; }
.house-toggle { color: #dce5ea; background: none; border: 0; cursor: pointer; font: inherit; padding: 10px 0 10px 10px; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.house-toggle:hover { color: var(--accent); }
.house-toggle[hidden] { display: none; }
@media (min-width: 1101px) {
  .house-stage { margin-inline: -8vw -5vw; }
}
.hero-baseline { max-width: 1500px; margin: 0 auto; position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #ffffff26; padding: 26px 0; color: #b5c8d2; font-size: .84rem; }
.hero-baseline a { font-size: .84rem; }
.hero-baseline a span { margin-left: 28px; }
.home .stat-band { display: block; background: var(--white); padding: 0 5vw; }
.home .hero-stats { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 0; max-width: 1500px; margin: auto; padding: 34px 0; border-bottom: 1px solid #102c3e30; }
.home .stat-card { background: none; border: none; border-radius: 0; padding: 5px 28px; border-left: 1px solid #102c3e30; }
.home .stat-card:first-child { padding-left: 0; border-left: none; }
.home .stat-num { color: var(--navy); font-size: 3.1rem; font-weight: 600; line-height: 1; }
.home .stat-num span { color: var(--navy); font-size: 1.5rem; }
.home .stat-word { font-size: 2.7rem; }
.home .stat-label { color: var(--gray); text-transform: none; letter-spacing: 0; font-size: .86rem; margin-top: 8px; }
.home section:not(#inicio) { padding-block: 110px; }
.home .section-label { font-family: 'Barlow', sans-serif; font-weight: 400; font-size: .85rem; text-transform: none; letter-spacing: .02em; color: var(--gray); margin-bottom: 20px; }
.home .section-label::before { display: none; }
.home .section-title { font-weight: 600; font-size: clamp(2.9rem, 4.7vw, 4.8rem); line-height: 1.02; text-transform: none; letter-spacing: -.02em; }
.home .section-title span { color: var(--mid); }
.home .section-desc { font-size: 1.05rem; line-height: 1.7; }
.home .reveal { opacity: 1; transform: none; }
.work-intro { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 30px; }
.work-intro .section-label { grid-column: 1 / -1; }
.text-link { font-size: .98rem; color: var(--navy); text-decoration: none; border-bottom: 1px solid #102c3e60; padding-bottom: 10px; display: inline-flex; gap: 36px; }
.text-link:hover { color: var(--mid); }
.work-photos { display: grid; grid-template-columns: 1.7fr 1fr; gap: 6vw; align-items: start; margin-top: 55px; }
.work-photos img { display: block; width: 100%; height: auto; object-fit: cover; }
.work-finished img { aspect-ratio: 1.3; }
.work-building { padding-top: 80px; }
.work-building img { aspect-ratio: .87; }
.work-photos figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 16px; font-size: .82rem; color: var(--gray); }
.work-photos figcaption span { color: var(--navy); font-weight: 500; }
.home #servicios { border-top: 1px solid #102c3e30; background: var(--white); }
.home .services-grid { grid-template-columns: 1fr 1fr; gap: 0 5vw; background: none; border: none; margin-top: 48px; }
.home .service-card { background: none; border-top: 1px solid #102c3e30; padding: 30px 0 30px 48px; }
.home .service-card::before { display: none; }
.home .service-icon-svg { position: absolute; left: 0; top: 34px; width: 26px; height: 26px; stroke-width: 1.25; color: var(--mid); }
.home .service-card h3 { font-size: 1.65rem; font-weight: 500; text-transform: none; letter-spacing: 0; }
.home .service-card p { max-width: 480px; font-size: .98rem; }
.home #proceso { background: var(--light); display: grid; grid-template-columns: 1fr 1fr; column-gap: 8vw; align-content: start; }
.home #proceso > .section-label, .home #proceso > .section-title, .home #proceso > .section-desc, .home #proceso > .steps-cta { grid-column: 1; }
.home #proceso > .section-title { align-self: start; }
.home #proceso > .section-desc { align-self: start; }
.home .steps-track { grid-column: 2; grid-row: 1 / 6; display: block; margin-top: 0; }
.home .steps-track::before { display: none; }
.home .step-item { flex-direction: row; text-align: left; align-items: flex-start; gap: 24px; padding: 22px 0; border-top: 1px solid #102c3e30; }
.home .step-num { width: 28px; height: auto; border: 0; border-radius: 0; box-shadow: none; background: none; color: var(--mid); font-weight: 400; font-size: 1.5rem; margin: 0; justify-content: flex-start; }
.home .step-item h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 500; color: var(--navy); margin-bottom: 7px; }
.home .step-item p { font-size: .96rem; line-height: 1.6; }
.home #requisitos { background: var(--white); }
.home #requisitos .section-title { color: var(--navy); }
.home #requisitos .section-label, .home #requisitos .section-desc { color: var(--gray); }
.home .req-grid { grid-template-columns: 1fr 1fr; gap: 0 5vw; }
.home .req-item { padding: 26px 0; background: none; border: none; border-top: 1px solid #102c3e30; border-radius: 0; }
.home .req-num { color: var(--mid); font-weight: 400; font-size: 1.2rem; padding-top: 4px; }
.home .req-text h3 { color: var(--navy); font-family: 'Barlow Condensed', sans-serif; font-weight: 500; font-size: 1.5rem; margin-bottom: 8px; }
.home .req-text p { color: var(--gray); font-size: .96rem; line-height: 1.6; }
.home .req-note { background: var(--light); color: var(--text); border-color: var(--mid); border-radius: 0; }
.home .req-note strong { color: var(--navy); }
.home .req-note a { color: var(--navy); text-underline-offset: 3px; }
.home #calculadora { border-top: 1px solid #102c3e30; display: grid; grid-template-columns: 1fr 1fr; column-gap: 8vw; align-content: start; }
.home .calc-intro { grid-column: 1; }
.calc-source, .calc-more { font-size: .85rem; color: var(--gray); line-height: 1.65; margin-top: 24px; max-width: 430px; }
.calc-source a, .calc-more a { color: var(--navy); text-underline-offset: 3px; }
.home .calc-teaser { grid-column: 2; grid-row: 1 / 3; align-self: start; }
.home #contacto { background: var(--light); }
.home .contact-wrap { gap: 8vw; grid-template-columns: 1fr 1fr; }
.home .contact-info h3 { text-transform: none; letter-spacing: 0; font-size: 1.6rem; font-weight: 500; }
.home .contact-icon { display: none; }
.home .contact-item { border-top: 1px solid #102c3e25; padding-top: 14px; }
.home .contact-item p strong { font-weight: 500; }
.home .form-group label { text-transform: none; letter-spacing: 0; font-size: .9rem; color: var(--text); }
.home .form-group input, .home .form-group select, .home .form-group textarea { background: var(--white); border-width: 1px; border-color: #102c3e40; border-radius: 0; }
.home .form-consent { margin-block: 18px; line-height: 1.6; }
.home .form-consent label { display: block; }
.home .form-consent input { margin-right: 6px; }
.home .form-trust { align-items: flex-start; line-height: 1.6; }
.home .form-trust svg { margin-top: 4px; }
@media (min-width: 1700px) {
  .home section:not(#inicio), .home .stat-band, .home .footer-main, .home .footer-bottom { padding-inline: max(5vw, calc((100vw - 1500px)/2)); }
}
@media (max-width: 1100px) {
  .home .nav-phone { display: none; }
  .home .hero-title { font-size: clamp(3.6rem, 7.8vw, 5.9rem); }
  .hero-layout { grid-template-columns: 48% 52%; }
  .house-caption { flex-wrap: wrap; gap: 0; }
  .home .hero-sub { font-size: 1.02rem; max-width: 420px; }
}
@media (max-width: 900px) {
  .home #inicio { padding-top: 96px; }
  .hero-layout { grid-template-columns: 1fr; min-height: 0; }
  .home .hero-content { padding-bottom: 10px; }
  .home .hero-title { font-size: clamp(4.7rem, 13vw, 6.9rem); }
  .home .hero-sub { max-width: 470px; }
  .home .hero-actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 20px 28px; }
  .home .hero-note { max-width: 440px; }
  .house-stage { margin: 0; width: 100%; max-width: 700px; justify-self: center; }
  .house-caption { margin: 0; flex-wrap: nowrap; }
  .hero-baseline { margin-top: 20px; }
  .home .hero-stats { grid-template-columns: 1fr 1fr; }
  .home .stat-card:last-child { display: none; }
  .work-intro { grid-template-columns: 1fr; gap: 0; }
  .work-intro .text-link { justify-self: start; margin-top: 24px; }
  .work-photos { gap: 24px; grid-template-columns: 1.35fr 1fr; }
  .home #proceso, .home #calculadora { display: block; }
  .home .steps-track, .home .calc-teaser { margin-top: 40px; }
  .home .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .home #inicio { padding-top: 96px; }
  .hero-kicker { margin-bottom: 22px; font-size: .8rem; }
  .home .hero-title { font-size: clamp(3.3rem, 16.3vw, 5.8rem); }
  .home .hero-sub { margin-top: 24px; max-width: 440px; }
  .home .hero-actions { margin-top: 24px; gap: 15px; }
  .home .hero-actions .btn-primary { width: auto; padding: 16px 18px; font-size: .95rem; }
  .home .hero-note { font-size: .78rem; margin-top: 19px; }
  .house-stage { margin: 10px -4vw 0; width: calc(100% + 8vw); }
  .house-caption { margin: 0 4vw; font-size: .75rem; gap: 6px; }
  .hero-baseline { padding-block: 20px; font-size: .76rem; }
  .hero-baseline > span { max-width: 130px; line-height: 1.6; }
  .hero-baseline a { max-width: 135px; text-align: right; line-height: 1.6; font-size: .76rem; }
  .hero-baseline a span { margin-left: 5px; }
  .home .hero-stats { padding-block: 25px; }
  .home .stat-card { padding: 0 0 0 24px; }
  .home .stat-num { font-size: 2.5rem; }
  .home .stat-label { font-size: .78rem; }
  .home section:not(#inicio) { padding-block: 68px; }
  .home .section-title { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .home .section-desc { font-size: 1rem; }
  .work-photos { margin-top: 35px; grid-template-columns: 1fr; gap: 30px; }
  .work-building { padding-top: 0; width: 74%; justify-self: end; }
  .work-building img { aspect-ratio: 1; }
  .work-photos figcaption { font-size: .78rem; }
  .home .services-grid, .home .req-grid { grid-template-columns: 1fr; }
  .home .services-grid { margin-top: 32px; }
  .home .service-card { padding-block: 24px; }
  .home .service-icon-svg { top: 28px; }
  .home .req-note { padding: 20px; }
  .home .footer-main { gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.home) { scroll-behavior: auto; }
  .home *, .home *::before, .home *::after { animation: none !important; transition: none !important; }
}
