:root{
  --bg: #07080b;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.88);
  --muted: rgba(255,255,255,.62);
  --accent: #b79b63; /* dorado sobrio */
  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
html.no-scroll, html.no-scroll body{ overflow:hidden; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", sans-serif;
  color: var(--text);
  overflow-x:hidden;

  background:
    radial-gradient(900px 520px at 18% 12%, rgba(183,155,99,.10), transparent 60%),
    radial-gradient(900px 620px at 80% 30%, rgba(183,155,99,.08), transparent 55%),
    linear-gradient(180deg, #07080b 0%, #07080b 100%);
  background-attachment: fixed;
}

body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1200px 700px at 50% 20%, rgba(255,255,255,.035), transparent 60%),
    radial-gradient(1200px 700px at 50% 80%, rgba(255,255,255,.02), transparent 55%);
  opacity: .55;
}

a{ text-decoration:none; color: inherit; }
a:focus-visible, .btn:focus-visible{
  outline: 2px solid rgba(183,155,99,.55);
  outline-offset: 3px;
  border-radius: 999px;
}

.container{
  width: min(var(--max), 100% - 56px);
  margin: 0 auto;
}

.topbar, main, footer{ position: relative; z-index: 1; }

/* Topbar */
.topbar{
  position: sticky;
  top:0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(7,8,11,.68);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 200px;
}
.brand__mark{
  width:40px;
  height:40px;
  border-radius: 14px;
  background:
    radial-gradient(18px 18px at 35% 30%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg, rgba(183,155,99,.90), rgba(183,155,99,.22));
  box-shadow: 0 10px 35px rgba(183,155,99,.16);
}
.brand__text strong{
  letter-spacing:.14em;
  font-size: 14px;
}
.brand__text small{
  display:block;
  letter-spacing:.28em;
  color: var(--muted);
  margin-top:2px;
  font-size: 11px;
}

.nav{
  display:flex;
  gap:18px;
  align-items:center;
}
.nav a{
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.nav a:hover{ color: var(--text); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}
.btn--primary{
  background: linear-gradient(135deg, rgba(183,155,99,.95), rgba(183,155,99,.28));
  border-color: rgba(183,155,99,.35);
  color: #0b0c10;
}
.btn--primary:hover{ filter: brightness(1.03); }
.btn--ghost{ background: rgba(255,255,255,.05); }
.btn--ghost:hover{ background: rgba(255,255,255,.075); }

@media (max-width: 860px){
  .nav{ display:none; }
  .container{ width: min(var(--max), 100% - 32px); }
}

/* Hero */
.hero{ padding: 62px 0 30px; }
.hero__grid{
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 28px;
  align-items: center;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.72);
  font-weight: 800;
  letter-spacing: .02em;
}
.hero h1{
  margin: 16px 0 10px;
  font-size: clamp(36px, 4.3vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.accent{ color: var(--accent); }

.hero__subtitle{
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,.72);
}

.hero__bullets{
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
  max-width: 520px;
}
.hero__bullets li{
  position: relative;
  padding-left: 26px;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
}
.hero__bullets li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color: var(--accent);
  font-weight: 900;
}

.hero__actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__media .media-card{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.media-card img{
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: contrast(1.05) saturate(.95);
  display:block;
  background: rgba(255,255,255,.03);
}
.media-card__badge{
  position:absolute;
  left: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(10,12,16,.62);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}
.media-card__badge strong{ display:block; font-size: 14px; }
.media-card__badge span{ color: rgba(255,255,255,.70); font-size: 12px; }

@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .media-card img{ height: 420px; }
}

/* Sections */
.section{ padding: 54px 0; }
.section--alt{
  background: transparent;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.section__head{ margin-bottom: 18px; }
.section__head h2{
  margin: 0 0 8px;
  font-size: 30px;
  letter-spacing: -0.01em;
}
.section__head p{
  margin: 0;
  color: rgba(255,255,255,.66);
  line-height: 1.6;
}

/* Cards (diferenciales) */
.cards3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding: 18px;
}
.card h3{ margin: 0 0 8px; font-size: 16px; }
.card p{ margin: 0; color: rgba(255,255,255,.62); line-height: 1.55; }
@media (max-width: 980px){
  .cards3{ grid-template-columns: 1fr; }
}

/* Services */
.service-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.service-card{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding: 16px;
}
.service-card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.service-card h3{ margin:0; font-size: 16px; }
.tag{
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(183,155,99,.28);
  background: rgba(183,155,99,.10);
  color: rgba(255,255,255,.86);
}
.service-card p{
  margin: 0 0 12px;
  color: rgba(255,255,255,.66);
  line-height: 1.55;
  font-size: 14px;
}
.subtags{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.subtag{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.72);
  font-weight: 800;
}
.mini-gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mini-gallery--2{
  grid-template-columns: repeat(2, 1fr);
}
.mini-gallery img{
  width: 100%;
  height: 86px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.10);
  display:block;
  background: rgba(255,255,255,.03);
}
@media (max-width: 980px){
  .service-grid{ grid-template-columns: 1fr; }
  .mini-gallery img{ height: 110px; }
}

/* Split (proceso) */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.split__text p{ color: rgba(255,255,255,.66); line-height: 1.65; margin: 0 0 12px; }
.split__actions{ display:flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.checklist{
  list-style:none;
  padding:0;
  margin: 14px 0 0;
  display:grid;
  gap: 10px;
}
.checklist li{
  padding-left: 26px;
  position: relative;
  color: rgba(255,255,255,.70);
}
.checklist li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color: var(--accent);
  font-weight: 900;
}
.rounded{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.03);
  overflow:hidden;
}
.compare{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.compare figure{ margin:0; }
.compare img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display:block;
  background: rgba(255,255,255,.03);
}
.compare__item figcaption{
  padding: 10px 12px;
  color: rgba(255,255,255,.64);
  font-size: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 980px){
  .split{ grid-template-columns: 1fr; }
  .compare img{ height: 260px; }
}

/* Render */
.render-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.render-card{
  margin:0;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.render-card img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  display:block;
  background: rgba(255,255,255,.03);
}
.render-card figcaption{
  padding: 10px 12px;
  color: rgba(255,255,255,.64);
  font-size: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.center-actions{
  margin-top: 16px;
  display:flex;
  justify-content:center;
}
@media (max-width: 980px){
  .render-grid{ grid-template-columns: 1fr; }
  .render-card img{ height: 240px; }
}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  display:block;
  background: rgba(255,255,255,.03);
}
@media (max-width: 980px){
  .gallery{ grid-template-columns: 1fr; }
  .gallery img{ height: 240px; }
}

/* Reviews */
.reviews{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.review{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding: 18px;
}
.stars{
  font-size: 14px;
  letter-spacing: .12em;
  color: rgba(183,155,99,.95);
  margin-bottom: 10px;
  font-weight: 900;
}
.review__text{
  margin: 0 0 12px;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  font-size: 14px;
}
.review__meta{
  margin: 0;
  color: rgba(255,255,255,.55);
  font-weight: 800;
  font-size: 12px;
}
@media (max-width: 980px){
  .reviews{ grid-template-columns: 1fr; }
}

/* Contact */
.contact__card{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius2);
  padding: 22px;
}
.contact__card h2{ margin: 0 0 8px; }
.contact__card p{ margin: 0 0 14px; color: rgba(255,255,255,.66); line-height: 1.65; }
.contact__actions{ display:flex; gap: 12px; flex-wrap: wrap; }
.contact__chips{ margin-top: 14px; display:flex; gap: 8px; flex-wrap: wrap; }
.chip{
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.74);
}

/* Footer */
.footer{
  padding: 24px 0 90px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  color: rgba(255,255,255,.62);
}
.muted{ color: rgba(255,255,255,.55); }
@media (max-width: 720px){
  .footer__inner{ flex-direction: column; }
}

/* WhatsApp floating button */
.wa-fab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(183,155,99,.95), rgba(183,155,99,.28));
  border: 1px solid rgba(183,155,99,.35);
  color: #0b0c10;
  font-weight: 900;
  box-shadow: 0 20px 55px rgba(0,0,0,.55);
}

/* ===== Lightbox (mobile perfecto) ===== */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
  padding: 18px;
}
.lightbox.is-open{ display: grid; }
.lightbox{
  grid-template-columns: 44px 1fr 44px;
  grid-template-rows: 44px 1fr;
  align-items: center;
  gap: 12px;
}

.lb__btn{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,12,16,.55);
  color: rgba(255,255,255,.9);
  border-radius: 14px;
  width: 44px;
  height: 44px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor: pointer;
  user-select:none;
}
.lb__btn:hover{ background: rgba(255,255,255,.10); }

.lb__close{
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  justify-self: end;
}
.lb__prev{
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  justify-self: start;
}
.lb__next{
  grid-column: 3 / 4;
  grid-row: 2 / 3;
  justify-self: end;
}

.lb__frame{
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  margin: 0;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(7,8,11,.55);
  overflow:hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,.60);
  display:flex;
  flex-direction: column;
  max-height: calc(100dvh - 36px);
}

.lb__img{
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 120px);
  object-fit: contain; /* CLAVE: en móvil no recorta */
  display:block;
  background: rgba(255,255,255,.02);
}
.lb__cap{
  padding: 10px 12px;
  font-size: 12px;
  color: rgba(255,255,255,.70);
  border-top: 1px solid rgba(255,255,255,.08);
}

@media (max-width: 520px){
  .lightbox{ padding: 12px; gap: 10px; }
  .lb__btn{ width: 42px; height: 42px; border-radius: 14px; }
  .lb__frame{ border-radius: 18px; }
}
