:root{
  --bg: #fbf4ea;
  --bg2:#f3ece2;
  --text:#123021;
  --muted:#476a57;
  --card:#ffffff;
  --border: rgba(18,48,33,.15);
  --primary:#163525;
  --primary-2:#1f4b35;
  --whatsapp:#e77c22;
  --shadow: 0 10px 30px rgba(0,0,0,.10);
  --radius: 14px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 600px at 30% -10%, #ffffff 0%, var(--bg) 45%, var(--bg2) 100%);
}

.container{
  width:min(1100px, calc(100% - 40px));
  margin-inline:auto;
}

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

/* Topbar */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(22,53,37,.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap:14px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#fff;
  font-weight:700;
  letter-spacing:.3px;
}
.brand__mark{
  display:inline-grid;
  place-items:center;
  width:38px; height:38px;
  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  border-radius:10px;
}
.brand__text{ opacity:.96; }

/* nav */
.nav{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav a{
  color:rgba(255,255,255,.92);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
}
.nav a:hover{ text-decoration:underline; }
.nav__cta{
  padding:10px 14px;
  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  border-radius: 10px;
}

.nav-toggle{
  display:none;
  background:transparent;
  border:1px solid rgba(255,255,255,.18);
  border-radius:10px;
  padding:10px 10px;
}
.nav-toggle__bar{
  display:block;
  width:22px; height:2px;
  background:#fff;
  margin:4px 0;
  border-radius:10px;
}

/* Hero */
.hero{
  position:relative;
  overflow:hidden;
  border-bottom: 1px solid var(--border);
}
.hero__bg{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(90deg, rgba(251,244,234,.90) 0%, rgba(251,244,234,.55) 45%, rgba(251,244,234,.25) 65%),
    url("assets/hero.jpg");
  background-size: cover;
  background-position: center bottom;
  filter: saturate(1.05) contrast(1.02);
}
.hero__content{
  position:relative;
  padding: 48px 0 28px;
}
.hero__kicker{
  margin:0 0 8px;
  color: var(--muted);
  font-weight:600;
  font-size:13px;
}
.hero h1{
  margin:0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height:1.05;
  letter-spacing:-.6px;
}
.hero__sub{
  margin:0 0 18px;
  color: rgba(18,48,33,.88);
  max-width: 60ch;
  font-weight:500;
}

.hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin: 16px 0 16px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 12px;
  border:1px solid transparent;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  box-shadow: none;
}
.btn--primary{
  background: var(--primary);
  color:#fff;
}
.btn--primary:hover{ background: var(--primary-2); }
.btn--whatsapp{
  background: var(--whatsapp);
  color:#fff;
}
.btn--whatsapp:hover{ filter: brightness(.96); }
.btn--ghost{
  background: transparent;
  color: var(--primary);
  border-color: rgba(22,53,37,.25);
}
.btn--ghost:hover{ background: rgba(22,53,37,.06); }
.btn--block{ width:100%; }

.hero__chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 12px 0 22px;
}
.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  border:1px solid rgba(18,48,33,.18);
  text-decoration:none;
  color: var(--text);
  font-weight:700;
  font-size:13px;
}

.stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  background: rgba(255,255,255,.60);
  border: 1px solid rgba(18,48,33,.16);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}
.stat{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
}
.stat__value{
  font-weight:800;
  font-size: 18px;
}
.stat__label{
  color: rgba(18,48,33,.75);
  font-weight:600;
  font-size: 12px;
}

/* Sections */
.section{
  padding: 54px 0;
}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.40), rgba(255,255,255,.10));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section__title{
  margin:0 0 8px;
  font-size: 28px;
  letter-spacing:-.3px;
  text-align:center;
}
.section__lead{
  margin:0 auto 22px;
  text-align:center;
  color: rgba(18,48,33,.78);
  max-width: 75ch;
  font-weight:500;
}

/* Services */
.service-tabs{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin: 18px 0 14px;
}
.tab{
  padding: 10px 14px;
  border-radius: 12px;
  border:1px solid rgba(18,48,33,.18);
  background: rgba(255,255,255,.70);
  font-weight:800;
  cursor:pointer;
}
.tab.is-active{
  background: var(--primary);
  border-color: rgba(255,255,255,.18);
  color:#fff;
}
.service-panels{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
  margin: 18px auto 0;
  max-width: 820px;
}
.panel{
  display:none;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(18,48,33,.14);
  border-radius: var(--radius);
  padding: 18px 18px;
  box-shadow: var(--shadow);
}
.panel.is-active{ display:block; }
.panel h3{ margin:0 0 10px; }
.bullets{
  margin: 0;
  padding-left: 18px;
  color: rgba(18,48,33,.82);
  font-weight:500;
}
.bullets li{ margin: 6px 0; }

.cta-strip{
  margin: 22px auto 0;
  max-width: 820px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 16px 16px;
  background: rgba(22,53,37,.08);
  border: 1px solid rgba(22,53,37,.18);
  border-radius: var(--radius);
}
.cta-strip span{
  display:block;
  color: rgba(18,48,33,.72);
  font-weight:600;
  margin-top:3px;
}

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
  margin-top: 20px;
}
.card{
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(18,48,33,.14);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card__stars{ font-weight:900; letter-spacing: 1px; margin-bottom: 10px; }
.card p{ margin:0 0 10px; color: rgba(18,48,33,.80); font-weight:500; }
.card__meta{ color: rgba(18,48,33,.68); font-weight:700; font-size:13px; }

.headline{
  margin: 26px auto 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  max-width: 900px;
}
.headline__line{
  height:1px;
  background: rgba(18,48,33,.18);
  flex:1;
}
.headline__text{ margin:0; text-align:center; color: rgba(18,48,33,.82); }

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
  margin-top: 20px;
}
.gallery__item{
  display:block;
  overflow:hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(18,48,33,.14);
  background: #fff;
  box-shadow: var(--shadow);
}
.gallery img{
  display:block;
  width:100%;
  height: 200px;
  object-fit: cover;
  transition: transform .2s ease;
}
.gallery__item:hover img{ transform: scale(1.03); }

.center{ display:flex; justify-content:center; margin-top: 18px; }

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  align-items:start;
  margin-top: 18px;
}
.form{
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(18,48,33,.14);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
label span{
  display:block;
  font-weight:800;
  font-size: 12px;
  color: rgba(18,48,33,.75);
  margin-bottom: 6px;
}
input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(18,48,33,.18);
  background: rgba(255,255,255,.85);
  font: inherit;
}
textarea{ resize:vertical; }
.fieldset{
  margin: 12px 0;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(18,48,33,.14);
  background: rgba(22,53,37,.05);
}
.fieldset legend{
  padding: 0 6px;
  font-weight:900;
  color: rgba(18,48,33,.80);
}
.check{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-right: 14px;
  font-weight:700;
  color: rgba(18,48,33,.80);
}
.form__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top: 12px;
}
.form__note{
  margin: 12px 0 0;
  color: rgba(18,48,33,.70);
  font-weight:600;
  font-size: 12px;
}

.contact__aside{
  display:grid;
  gap:14px;
}
.aside-card{
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(18,48,33,.14);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.aside-card h3{ margin:0 0 8px; }
.aside-card p{ margin:0 0 10px; color: rgba(18,48,33,.78); font-weight:500; }
.aside-card--img{
  padding: 0;
  overflow:hidden;
}
.aside-card--img img{
  width:100%;
  height: 240px;
  object-fit: cover;
  display:block;
}

/* Footer */
.footer{
  padding: 20px 0;
  background: rgba(22,53,37,.94);
  color: rgba(255,255,255,.92);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.footer__left{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.footer__right a{
  color:#fff;
  text-decoration:none;
  font-weight:700;
}
.footer__right a:hover{ text-decoration:underline; }
.footer__sep{ opacity:.6; margin: 0 8px; }

/* Responsive */
@media (max-width: 900px){
  .cards{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: 1fr 1fr; }
  .contact{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .nav-toggle{ display:block; }
  .nav{
    position:absolute;
    right: 20px;
    top: 62px;
    background: rgba(22,53,37,.98);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 10px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,.20);
  }
  .nav.is-open{ display:flex; }
  .nav a{ padding: 10px 12px; border-radius: 12px; }
  .nav a:hover{ background: rgba(255,255,255,.10); text-decoration:none; }
  .stats{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: 1fr; }
  .cta-strip{ flex-direction:column; align-items:stretch; }
}

/* Floating WhatsApp */
.float-wa{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
.float-wa:hover{ filter: brightness(.96); }
.float-wa__dot{
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(255,255,255,.9);
}
@media (max-width: 520px){
  .float-wa{ right: 12px; bottom: 12px; }
}


/* Servicios */
.cards--services .card{ padding:22px; }
.list{ margin:12px 0 0 18px; }
.list li{ margin:8px 0; }

/* Reseñas */
.reviews__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
.reviews__item{
  display:block;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
}
.reviews__item img{
  width:100%;
  height:auto;
  display:block;
}
.reviews__note{
  margin:14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Banner de cookies */
.cookie{
  position:fixed;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:9999;
}
.cookie__inner{
  max-width:1100px;
  margin:0 auto;
  background:#0b1220;
  color:#fff;
  border-radius:16px;
  padding:14px 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
}
.cookie__text{
  margin:0;
  font-size:14px;
  line-height:1.5;
}
.cookie__text a{ color:#fff; text-decoration:underline; }
.cookie__actions{ display:flex; gap:10px; flex:0 0 auto; }

.btn--sm{ padding:10px 14px; font-size:14px; }

/* Responsive */
@media (max-width: 900px){
  .reviews__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cookie__inner{ flex-direction:column; align-items:stretch; }
  .cookie__actions{ justify-content:flex-end; }
}
@media (max-width: 560px){
  .reviews__grid{ grid-template-columns: 1fr; }
}


/* Reseñas (texto + estrellas amarillas) */
:root{ --star: #F59E0B; }

.reviews-slider{
  display:flex;
  gap:14px;
  overflow-x:auto;
  padding: 6px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.reviews-slider::-webkit-scrollbar{ height: 10px; }
.reviews-slider::-webkit-scrollbar-thumb{ background: rgba(11,18,32,.18); border-radius:999px; }

.review-card{ flex: 0 0 88%; scroll-snap-align: start; }
@media (min-width: 760px){ .review-card{ flex-basis: 46%; } }
@media (min-width: 1100px){ .review-card{ flex-basis: 32%; } }

.review-stars{
  color: var(--star);
  letter-spacing: 1px;
  font-size: 1.05rem;
  margin: 0 0 10px;
}
.review-text{
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.review-meta{
  margin-top: 12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  color: var(--muted);
  font-size: .92rem;
}
.badge{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(18,74,123,.18);
  background: rgba(18,74,123,.06);
  color: var(--blue);
  font-weight: 750;
  font-size: .86rem;
}
.badge--soft{
  border-color: rgba(0,0,0,.10);
  background: rgba(0,0,0,.04);
  color: var(--text);
}
.reviews__note{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}


/* Servicios (nuevo diseño: tarjetas) */
.svc-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
.svc-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:16px;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}
.svc-ico{
  width:44px; height:44px;
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(11,18,32,.06);
  border: 1px solid rgba(11,18,32,.08);
  margin-bottom:10px;
  font-size:20px;
}
.svc-card h3{
  margin:0 0 6px;
  font-size: 1.05rem;
}
.svc-card p{
  margin:0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.svc-details{
  margin-top:14px;
  padding:14px 16px;
  background: rgba(255,255,255,.55);
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
}
.svc-details summary{
  cursor:pointer;
  font-weight:800;
}
.svc-list{
  margin:12px 0 0 18px;
}
.svc-list li{ margin: 6px 0; }

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


/* Ajuste visual Servicios - más compacto y natural */
.cards--services {
  gap: 16px;
}

.cards--services .card {
  background: rgba(255,255,255,0.75);
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.cards--services .card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.cards--services .card p,
.cards--services .card li {
  font-size: 14px;
  line-height: 1.4;
}

.cards--services .icon {
  transform: scale(0.85);
  opacity: 0.85;
}

@media (max-width: 900px){
  .cards--services .card {
    padding: 14px 16px;
  }
}


/* Servicios - estilo integrado (sin tarjetas) */
.svc-text{ margin-top: 10px; }
.svc-cols{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px 40px;
}
.svc-group{
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.svc-group:first-child,
.svc-group:nth-child(2){
  border-top: 0;
  padding-top: 0;
}
.svc-group h3{
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -.2px;
  color: var(--text);
}
.svc-group h3::before{
  content:"";
  display:inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary-2);
  margin-right: 10px;
  transform: translateY(-1px);
}
.svc-group ul{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.svc-group li{ margin: 7px 0; }

.svc-cta{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.svc-cta p{
  margin: 0;
  color: var(--muted);
}
@media (max-width: 900px){
  .svc-cols{ grid-template-columns: 1fr; gap: 14px; }
  .svc-group:nth-child(2){ border-top: 1px solid var(--border); padding-top: 12px; }
}



/* Logo header (YC REFORMAS) */
.brand__logo{
  height: 44px;
  width: auto;
  display:block;
  object-fit: contain;
}
@media (max-width: 640px){
  .brand__logo{ height: 38px; }
}


/* Ajuste logo header - más grande y alargado */
.brand img,
.header-logo {
  height: 54px;
  width: auto;
  max-width: 220px;
}

@media (max-width: 768px) {
  .brand img,
  .header-logo {
    height: 42px;
    max-width: 180px;
  }
}


/* Logo en texto - integrado con el diseño */
.text-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.text-logo__yc {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 18px;
}

.text-logo__name {
  color: #ffffff;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

@media (max-width: 768px) {
  .text-logo__name {
    font-size: 20px;
  }
  .text-logo__yc {
    font-size: 15px;
    padding: 5px 10px;
  }
}


/* Logo header - icono casa + texto */
.brand-house{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand-house__icon{
  height:48px;
  width:auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}

.brand-house__text{
  display:flex;
  flex-direction:column;
  line-height:1;
}

.brand-house__yc{
  font-size:16px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:rgba(255,255,255,.85);
}

.brand-house__name{
  font-size:26px;
  font-weight:800;
  letter-spacing:1.2px;
  text-transform:uppercase;
  color:#ffffff;
}

@media (max-width:768px){
  .brand-house__icon{ height:38px; }
  .brand-house__name{ font-size:20px; }
  .brand-house__yc{ font-size:13px; }
}


/* === Headline mejorado (Servicios) === */
#servicios .headline{
  display:grid;
  grid-template-columns: 170px 1.1fr 1fr;
  gap: 22px;
  align-items:end;
  margin-bottom: 28px;
}

#servicios .headline__tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
  background: rgba(20, 83, 45, 0.10);
  border: 1px solid rgba(20, 83, 45, 0.18);
  color: #0f3b23;
}

#servicios .headline h2{
  margin: 0;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

#servicios .headline__sub{
  margin: 0 0 2px 0;
  color: var(--muted);
  max-width: 56ch;
}

#servicios .headline__line{
  grid-column: 2 / -1;
  height: 1px;
  background: linear-gradient(90deg, rgba(15,59,35,0.35), rgba(15,59,35,0.08), rgba(15,59,35,0));
  margin-top: 14px;
}

@media (max-width: 980px){
  #servicios .headline{
    grid-template-columns: 1fr;
    align-items:start;
  }
  #servicios .headline__line{
    grid-column: 1 / -1;
  }
}


/* === Lightbox (ampliar imágenes) === */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 10000;
}
.lightbox[hidden]{ display:none; }
.lightbox__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.78);
  z-index: 10001;
}
.lightbox__img{
  position:absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  background: #111;
  z-index: 10002;
}
.lightbox__close{
  position: fixed;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.55);
  color:#fff;
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor:pointer;
  z-index: 10003;
}
.lightbox__close:hover{ background: rgba(0,0,0,.75); }
.lightbox__close:hover{ background: rgba(0,0,0,.55); }

/* Consentimiento contacto */
.consent{
  margin: 12px 0 6px;
}
.consent__label{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:14px;
  color: var(--text);
  background: rgba(20, 83, 45, 0.06);
  border: 1px solid rgba(20, 83, 45, 0.14);
  border-radius: 12px;
  padding: 12px 12px;
}
.consent__label input{
  margin-top: 3px;
}
.consent__label strong{
  color: #0f3b23;
}


/* Fix alineación consentimiento en formulario */
.consent{
  grid-column: 1 / -1;
  margin-top: 10px;
}
.consent__label{
  width: 100%;
  align-items: center;
}
.consent__label input{
  flex: 0 0 auto;
  margin-top: 0;
}
.consent__label span{
  flex: 1 1 auto;
}


/* Ajuste final checkbox consentimiento: alineado dentro del bloque */
.consent__label{
  display:flex !important;
  justify-content:flex-start !important;
  align-items:center !important;
  gap:12px !important;
  width:100% !important;
}

.consent__label span{
  display:block !important;
  color: var(--text) !important;
  text-align:left !important;
  line-height:1.35 !important;
}

.consent__label input[type="checkbox"]{
  width:16px;
  height:16px;
  margin:0 !important;
}
/* Footer brand line */
.footer__brandline{
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
}


/* Mapa en el bloque de Contacto directo (sustituye imagen) */
.aside-card--map{
  overflow: hidden;
}
.aside-card--map iframe{
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}
@media (max-width: 720px){
  .aside-card--map iframe{ height: 220px; }
}


/* Lightbox sin JavaScript (funciona también en local file://) */
.lb-target{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.lb-target:target{ display: block; }

.lb-target__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.86);
}

.lb-target__img{
  position: relative;
  max-width: min(1000px, 92vw);
  max-height: 82vh;
  margin: 6vh auto 0;
  display: block;
  border-radius: 14px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.45);
  background: #111;
}

.lb-target__close{
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 30px;
  line-height: 1;
  color: #fff;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.25);
  z-index: 10000;
}
.lb-target__close:hover{ background: rgba(0,0,0,0.85); }


/* Mensajes de error del formulario */
.form-inline-error{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(180, 50, 50, 0.35);
  background: rgba(255, 235, 235, 0.9);
  color: #7a1f1f;
  font-size: 0.92rem;
  display: none;
}


/* Badge cliente verificado */
.verified-badge{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
  font-weight: 600;
  line-height: 1;
  vertical-align: middle;
}

.verified-badge .check{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #16a34a;
  color: #ffffff;
  font-size: 10px;
  line-height: 1;
}
