:root {
  --nh-text: #151922;
  --nh-muted: #5d6573;
  --nh-soft: #f4f0e8;
  --nh-line: #ded8cc;
  --nh-dark: #11151d;
  --nh-accent: #d96b2b;
  --nh-accent-dark: #b95219;
  --nh-green: #1f7a4c;
  --nh-radius: 8px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Public Sans", Arial, sans-serif;
  color: var(--nh-text);
  background: #fff;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: "Exo", Arial, sans-serif; letter-spacing: 0; line-height: 1.05; }
h1 { font-size: clamp(2.45rem, 5vw, 5.65rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.2vw, 3.35rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { color: var(--nh-muted); margin-bottom: 0; }

.container { max-width: 1180px; }
.topbar { background: var(--nh-dark); color: #fff; font-size: .92rem; }
.topbar__inner { min-height: 42px; display: flex; align-items: center; gap: 24px; justify-content: flex-end; }
.topbar a, .topbar span { color: rgba(255,255,255,.86); }
.topbar i { color: var(--nh-accent); margin-right: 7px; }
.nav-main { min-height: 84px; background: #fff; border-bottom: 1px solid rgba(21,25,34,.08); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--nh-text); }
.brand__mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 6px; background: var(--nh-accent); color: #fff; font-family: "Exo"; font-weight: 800; }
.brand strong { display: block; font-family: "Exo"; font-size: 1.22rem; line-height: 1; }
.brand small { display: block; color: var(--nh-muted); font-size: .78rem; margin-top: 4px; }
.nav-link { font-weight: 700; color: var(--nh-text); }
.nav-link:hover, .nav-link.active { color: var(--nh-accent); }
.navbar-toggler {
  width: 46px;
  height: 42px;
  border: 1px solid var(--nh-line);
  border-radius: 6px;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(217,107,43,.18); }
.navbar-toggler-icon {
  width: 22px;
  height: 2px;
  background: var(--nh-text);
  position: relative;
  display: block;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--nh-text);
}
.navbar-toggler-icon::before { top: -7px; }
.navbar-toggler-icon::after { top: 7px; }
.btn { border-radius: 6px; font-weight: 800; padding: .78rem 1.05rem; border: 0; }
.btn-lg { padding: 1rem 1.35rem; }
.btn-primary { background: var(--nh-accent); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--nh-accent-dark); color: #fff; }
.btn-dark { background: var(--nh-dark); color: #fff; }
.btn-outline-light { border: 1px solid rgba(255,255,255,.65); color: #fff; background: rgba(255,255,255,.08); }
.btn-outline-light:hover { background: #fff; color: var(--nh-dark); }

.hero { position: relative; min-height: 720px; display: flex; align-items: center; overflow: hidden; background: var(--nh-dark); }
.hero__image { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,16,.88), rgba(10,12,16,.48) 46%, rgba(10,12,16,.08)), url("../images/novahogar/hero.jpg") center/cover; transform: scale(1.02); }
.hero__content { position: relative; z-index: 1; }
.hero__copy { max-width: 790px; color: #fff; padding: 92px 0; }
.hero__copy .lead { max-width: 720px; color: rgba(255,255,255,.82); font-size: 1.18rem; margin: 24px 0 32px; }
.eyebrow { color: var(--nh-accent); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: .82rem; margin-bottom: 12px; }
.hero .eyebrow { color: #ffb17f; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__proof span { min-width: 170px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: rgba(255,255,255,.78); border-radius: 8px; }
.hero__proof strong { display: block; color: #fff; font-size: 1.25rem; }

.section { padding: 96px 0; }
.section--tight { padding: 0 0 56px; margin-top: -58px; position: relative; z-index: 2; }
.section--muted { background: var(--nh-soft); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.grid-2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 58px; }
.service-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border-radius: 8px; box-shadow: 0 22px 60px rgba(17,21,29,.14); overflow: hidden; }
.service-strip article { padding: 34px; border-right: 1px solid var(--nh-line); }
.service-strip article:last-child { border-right: 0; }
.service-strip i, .cards-4 i, .contact-card i { color: var(--nh-accent); font-size: 2rem; margin-bottom: 16px; }
.service-strip h2 { font-size: 1.35rem; margin-bottom: 10px; }
.check-list { margin: 24px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--nh-text); }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 5 Pro"; font-weight: 900; position: absolute; left: 0; color: var(--nh-green); }
.check-list.compact { margin: 16px 0 0; }
.text-link { color: var(--nh-accent); font-weight: 800; }
.image-stack { position: relative; }
.image-stack img, .rounded-img { border-radius: 8px; min-height: 360px; width: 100%; object-fit: cover; }
.image-stack__card { position: absolute; left: 28px; bottom: 28px; max-width: 290px; padding: 22px; border-radius: 8px; background: #fff; box-shadow: 0 18px 48px rgba(0,0,0,.2); }
.image-stack__card strong, .image-stack__card span { display: block; }
.image-stack__card span { color: var(--nh-muted); margin-top: 5px; }
.cards-3, .cards-4, .project-grid, .contact-grid { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.service-card, .cards-4 article, .project-card, .contact-card, .testimonials article, .lead-form { background: #fff; border: 1px solid rgba(21,25,34,.08); border-radius: 8px; overflow: hidden; box-shadow: 0 14px 36px rgba(17,21,29,.06); }
.service-card img { width: 100%; height: 235px; object-fit: cover; }
.service-card div, .cards-4 article, .project-card div, .contact-card, .testimonials article { padding: 26px; }
.quote-panel { display: flex; gap: 28px; align-items: center; justify-content: space-between; padding: 42px; border-radius: 8px; background: var(--nh-accent); color: #fff; }
.quote-panel h2, .quote-panel p, .quote-panel .eyebrow { color: #fff; }
.quote-panel p { color: rgba(255,255,255,.84); max-width: 760px; }

.page-hero { padding: 120px 0; background: linear-gradient(90deg, rgba(17,21,29,.9), rgba(17,21,29,.62)), url("../images/novahogar/obra.jpg") center/cover; color: #fff; }
.page-hero h1 { max-width: 850px; }
.page-hero p:not(.eyebrow) { max-width: 720px; color: rgba(255,255,255,.82); font-size: 1.12rem; }
.page-hero--projects { background-image: linear-gradient(90deg, rgba(17,21,29,.9), rgba(17,21,29,.58)), url("../images/novahogar/salon.jpg"); }
.page-hero--quote { background-image: linear-gradient(90deg, rgba(17,21,29,.9), rgba(17,21,29,.58)), url("../images/novahogar/planos.jpg"); }
.page-hero--contact, .page-hero--plain { background-image: linear-gradient(90deg, rgba(17,21,29,.9), rgba(17,21,29,.6)), url("../images/novahogar/hero.jpg"); }
.service-list { display: grid; gap: 54px; }
.service-row { display: grid; grid-template-columns: .92fr 1fr; align-items: center; gap: 44px; }
.service-row--reverse { grid-template-columns: 1fr .92fr; }
.service-row--reverse img { order: 2; }
.service-row img { width: 100%; min-height: 360px; object-fit: cover; border-radius: 8px; }
.service-row span, .project-card span { color: var(--nh-accent); font-weight: 800; display: block; margin-bottom: 9px; }
.project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.project-card img { width: 100%; height: 300px; object-fit: cover; }
.testimonials article p { color: var(--nh-text); font-size: 1.04rem; margin-bottom: 18px; }
.estimator-section { background: #fff; }
.estimator { border: 1px solid rgba(21,25,34,.1); border-radius: 8px; background: #fff; box-shadow: 0 20px 60px rgba(17,21,29,.08); overflow: hidden; }
.estimator__top { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 28px 30px 20px; border-bottom: 1px solid rgba(21,25,34,.08); }
.estimator__step-label { display: block; color: var(--nh-accent); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; margin-bottom: 8px; }
.estimator__top h3 { margin: 0; font-size: 1.55rem; }
.estimator__range { min-width: 210px; padding: 15px 18px; border-radius: 8px; background: var(--nh-dark); color: #fff; text-align: right; }
.estimator__range small, .estimate-result small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.7); font-weight: 800; margin-bottom: 4px; }
.estimator__range strong { font-family: "Exo"; font-size: 1.55rem; line-height: 1; }
.estimator__progress { height: 6px; background: #eee8de; }
.estimator__progress span { display: block; width: 16.66%; height: 100%; background: var(--nh-accent); transition: width .22s ease; }
.estimator__slides { position: relative; min-height: 410px; }
.estimator__slide { display: none; padding: 30px; }
.estimator__slide.is-active { display: block; }
.estimator__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.estimator__grid--three { grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 18px; }
.estimator label { position: relative; display: grid; gap: 7px; margin: 0; font-weight: 800; color: var(--nh-text); }
.estimator input[type="number"], .estimator select { width: 100%; border: 1px solid var(--nh-line); border-radius: 6px; padding: 13px 14px; font: inherit; color: var(--nh-text); background: #fff; }
.estimator input:focus, .estimator select:focus { outline: 3px solid rgba(217,107,43,.18); border-color: var(--nh-accent); }
.estimator__grid label > span:not(:first-child), .catalog-card__side label > span { position: absolute; right: 14px; bottom: 12px; color: var(--nh-muted); font-weight: 700; pointer-events: none; }
.estimator__hint { margin-top: 18px; padding: 16px 18px; border-left: 4px solid var(--nh-accent); background: var(--nh-soft); color: var(--nh-text); }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }
.choice-grid--four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.choice-grid--compact { margin-top: 18px; margin-bottom: 0; }
.choice-grid label { cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span { min-height: 142px; display: block; padding: 18px; border: 1px solid var(--nh-line); border-radius: 8px; background: #fff; transition: .18s ease; }
.choice-grid strong { display: block; font-family: "Exo"; font-size: 1.08rem; margin-bottom: 7px; }
.choice-grid small { display: block; color: var(--nh-muted); font-weight: 500; line-height: 1.5; }
.choice-grid input:checked + span { border-color: var(--nh-accent); box-shadow: 0 0 0 3px rgba(217,107,43,.16); background: #fffaf6; }
.estimator__mini-action { margin-top: 18px; border: 0; background: transparent; color: var(--nh-accent); font-weight: 800; padding: 0; }
.estimator__controls, .estimator__actions-final { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 30px 30px; }
.estimator__actions-final { justify-content: flex-start; padding: 24px 0 0; }
.catalog-intro { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; margin-bottom: 18px; background: var(--nh-soft); border-radius: 8px; }
.catalog-intro strong { display: block; font-family: "Exo"; font-size: 1.2rem; margin-bottom: 4px; }
.catalog-intro .estimator__mini-action { margin-top: 0; white-space: nowrap; }
.service-catalog { display: grid; gap: 14px; }
.catalog-card { display: grid; grid-template-columns: 1fr 230px; gap: 18px; padding: 18px; border: 1px solid var(--nh-line); border-radius: 8px; background: #fff; transition: .18s ease; }
.catalog-card.is-selected { border-color: rgba(217,107,43,.62); box-shadow: 0 0 0 3px rgba(217,107,43,.12); background: #fffaf6; }
.catalog-card__main { display: grid; grid-template-columns: 94px 1fr; gap: 16px; align-items: start; }
.catalog-card__check { display: inline-flex !important; align-items: center; gap: 8px !important; margin: 0 !important; font-weight: 800 !important; color: var(--nh-text); cursor: pointer; }
.catalog-card__check input { width: 18px; height: 18px; accent-color: var(--nh-accent); }
.catalog-card__check span { position: static !important; color: var(--nh-text) !important; pointer-events: auto !important; }
.catalog-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.catalog-card__meta span, .catalog-card__meta em { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; border-radius: 999px; font-size: .74rem; font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.catalog-card__meta span { background: var(--nh-dark); color: #fff; }
.catalog-card__meta em { background: #e8f4ed; color: var(--nh-green); }
.catalog-card h4 { margin: 0 0 6px; font-family: "Exo"; font-size: 1.14rem; line-height: 1.15; }
.catalog-card p { font-size: .94rem; }
.catalog-card__side { display: grid; gap: 10px; align-content: start; }
.catalog-card__side label { font-size: .86rem; }
.catalog-card__side strong { display: block; padding: 11px 13px; border-radius: 8px; background: var(--nh-dark); color: #fff; font-family: "Exo"; font-size: 1.28rem; text-align: right; }
.estimate-result { display: grid; grid-template-columns: .82fr 1.18fr; gap: 24px; align-items: start; }
.estimate-result > div { padding: 26px; border-radius: 8px; background: var(--nh-dark); color: #fff; }
.estimate-result strong { display: block; font-family: "Exo"; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.05; margin-bottom: 12px; }
.estimate-result p { color: rgba(255,255,255,.72); }
.estimate-result ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.estimate-result li { display: flex; justify-content: space-between; gap: 14px; padding: 13px 15px; border: 1px solid var(--nh-line); border-radius: 8px; background: #fff; color: var(--nh-text); font-weight: 800; }
.estimate-result li span { color: var(--nh-muted); font-weight: 700; text-align: right; }
.quote-layout { align-items: start; }
.steps { display: grid; gap: 16px; margin-top: 28px; }
.steps div { padding: 18px; background: var(--nh-soft); border-radius: 8px; }
.steps span { width: 34px; height: 34px; display: inline-grid; place-items: center; background: var(--nh-accent); color: #fff; border-radius: 50%; margin-bottom: 10px; font-weight: 800; }
.steps strong { display: block; font-family: "Exo"; font-size: 1.1rem; }
.lead-form { padding: 30px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.lead-form label { display: grid; gap: 7px; margin-bottom: 16px; font-weight: 800; color: var(--nh-text); }
.lead-form input, .lead-form textarea, .lead-form select { width: 100%; border: 1px solid var(--nh-line); border-radius: 6px; padding: 13px 14px; font: inherit; color: var(--nh-text); background: #fff; }
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus { outline: 3px solid rgba(217,107,43,.18); border-color: var(--nh-accent); }
.consent { display: flex !important; grid-template-columns: none !important; gap: 10px !important; align-items: flex-start; font-weight: 500 !important; color: var(--nh-muted) !important; }
.consent input { width: 18px; margin-top: 5px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.result { margin-top: 16px; font-weight: 800; }
.result.success { color: var(--nh-green); }
.result.error { color: #b42318; }
.contact-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.contact-card a, .contact-card span { display: block; color: var(--nh-text); font-weight: 800; margin-bottom: 10px; }
.narrow { max-width: 820px; }
.legal h2 { font-size: 1.45rem; margin: 28px 0 10px; }

.site-footer { background: var(--nh-dark); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 48px; padding: 62px 15px; }
.brand--footer { color: #fff; margin-bottom: 18px; }
.brand--footer small, .site-footer p, .site-footer span { color: rgba(255,255,255,.68); }
.site-footer h2 { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.site-footer a { display: block; color: rgba(255,255,255,.78); margin-bottom: 9px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; color: rgba(255,255,255,.68); }
.footer-bottom a { display: inline; color: #fff; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 30; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; font-size: 1.8rem; box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.lead-toast { position: fixed; right: 22px; bottom: 92px; max-width: 330px; padding: 14px 16px; background: var(--nh-dark); color: #fff; border-radius: 8px; box-shadow: 0 16px 44px rgba(0,0,0,.25); opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s ease; z-index: 31; }
.lead-toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 991px) {
  .topbar__inner { justify-content: center; flex-wrap: wrap; gap: 10px 18px; padding: 8px 0; }
  .navbar-toggler { display: inline-flex; }
  .navbar-collapse { padding: 18px 0; }
  .hero { min-height: 650px; }
  .section { padding: 72px 0; }
  .section--tight { padding-bottom: 42px; }
  .grid-2, .service-row, .service-row--reverse, .project-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-row--reverse img { order: 0; }
  .service-strip, .cards-3, .cards-4, .contact-grid, .estimator__grid, .estimator__grid--three, .choice-grid, .choice-grid--four, .estimate-result, .catalog-card, .catalog-card__main { grid-template-columns: 1fr; }
  .service-strip article { border-right: 0; border-bottom: 1px solid var(--nh-line); }
  .quote-panel { align-items: flex-start; flex-direction: column; }
  .estimator__top { align-items: flex-start; flex-direction: column; }
  .estimator__range { width: 100%; text-align: left; }
  .estimator__slides { min-height: 0; }
}

@media (max-width: 575px) {
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.9rem; }
  .hero__copy { padding: 70px 0; }
  .hero__proof span { width: 100%; }
  .page-hero { padding: 86px 0; }
  .form-row { grid-template-columns: 1fr; }
  .quote-panel { padding: 28px; }
  .estimator__top, .estimator__slide, .estimator__controls { padding-left: 20px; padding-right: 20px; }
  .choice-grid span { min-height: auto; }
  .catalog-intro { align-items: flex-start; flex-direction: column; }
  .catalog-card__side strong { text-align: left; }
  .estimate-result li { display: block; }
  .estimate-result li span { display: block; text-align: left; margin-top: 2px; }
  .image-stack__card { position: static; margin-top: 14px; max-width: none; }
  .whatsapp-float { right: 16px; bottom: 16px; }
  .lead-toast { right: 16px; left: 16px; bottom: 84px; max-width: none; }
}
