*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #0e0f0e;
  --green:   #c8f000;
  --white:   #f0f0ec;
  --gray:    #828879;
  --gray2:   #9a9f8e;
  --line:    rgba(255,255,255,0.08);
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 100px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 84px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(14,15,14,0.9);
  backdrop-filter: blur(12px);
}
.nav-logo {
  display: flex; align-items: center; gap: 16px;
  text-decoration: none;
  height: 100%;
}
.nav-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
}
.nav-tagline {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--green);
  text-transform: uppercase;
  border-left: 1px solid var(--line);
  padding-left: 16px;
  margin-right: 24px;
  white-space: nowrap;
}
.nav-right { display: flex; align-items: center; gap: 2.5rem; }
.nav-right a {
  font-size: 13px; color: var(--gray2); text-decoration: none;
  font-weight: 400; transition: color .2s;
}
.nav-right a:hover { color: var(--white); }
.nav-cta {
  color: var(--bg) !important;
  background: var(--green);
  padding: 7px 18px; border-radius: 6px;
  font-size: 13px !important; font-weight: 600 !important;
  transition: opacity .2s !important;
}
.nav-cta:hover { opacity: .85 !important; }

/* ── HERO ── */
.hero-badge {
  margin-bottom: 2.2rem;
}
.hero-badge-img {
  height: 230px;
  width: auto;
  display: block;
}
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr min(640px, 42vw);
  align-items: stretch;
}
.hero-photo { position: relative; overflow: hidden; background: var(--bg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.hero-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, rgba(14,15,14,0) 32%);
  z-index: 1;
}
.hero-inner {
  max-width: 1100px; width: 100%; margin-left: auto;
  padding: 100px clamp(1.5rem, 5vw, 4rem) 0 clamp(1.5rem, 5vw, 4rem);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 2.5rem;
}
.hero-label-line {
  width: 32px; height: 1px; background: var(--green); flex-shrink: 0;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 10vw, 9.5rem);
  font-weight: 700; line-height: .96;
  letter-spacing: .04em; font-weight: 400;
  color: var(--white);
  margin-bottom: 2.5rem;
}
.hero-title .green { color: var(--green); }
.hero-title .gray { color: var(--gray); }

.hero-bottom {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: end;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.hero-desc {
  font-size: 15px; color: rgba(230,232,216,0.9); line-height: 1.8;
  font-weight: 300; text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.hero-right-col {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 2rem;
}
.hero-stats {
  display: flex; gap: 3rem;
}
.stat { text-align: right; }
.stat-n {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem; font-weight: 700; color: var(--white);
  line-height: 1;
}
.stat-n .g { color: var(--green); }
.stat-l { font-size: 11px; color: var(--gray); margin-top: 4px; letter-spacing: .04em; text-transform: uppercase; }
.hero-cta { display: flex; gap: 12px; align-items: center; }
.btn-main {
  background: var(--green); color: var(--bg);
  padding: 12px 26px; border-radius: 6px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: opacity .2s;
  white-space: nowrap;
}
.btn-main:hover { opacity: .85; }
.btn-ghost {
  color: var(--gray2); font-size: 14px; text-decoration: none;
  font-weight: 400; transition: color .2s;
  display: flex; align-items: center; gap: 6px;
}
.btn-ghost:hover { color: var(--white); }
.arrow { display: inline-block; transition: transform .2s; }
.btn-ghost:hover .arrow { transform: translateX(3px); }

/* ── SEPARADOR ── */
.sep {
  height: 1px; background: var(--line);
  margin: 0 clamp(1.5rem, 5vw, 4rem);
}

/* ── SECCIÓN GENÉRICA ── */
.sec {
  padding: 100px clamp(1.5rem, 5vw, 4rem);
}
.sec-inner { max-width: 1100px; margin: 0 auto; }

.sec-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 1.5rem;
}
.sec-label-line { width: 24px; height: 1px; background: var(--green); flex-shrink: 0; }

.sec-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700; line-height: 1.06;
  letter-spacing: .05em; color: var(--white);
}

/* ── MISIÓN / VISIÓN ── */
.mv-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
  margin-top: 4rem;
}
.mv-tag {
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 1rem;
}
.mv-head {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem; font-weight: 600; color: var(--white);
  margin-bottom: 1rem; line-height: 1.2;
}
.mv-text { font-size: 14px; color: var(--gray2); line-height: 1.85; font-weight: 300; }

/* ── VALORES ── */
.valores-list {
  margin-top: 4rem;
  display: flex; flex-direction: column;
}
.valor-row {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 3rem; align-items: baseline;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.valor-row:first-child { border-top: 1px solid var(--line); }
.valor-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px; font-weight: 500; color: var(--gray);
  letter-spacing: .08em;
}
.valor-right { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: baseline; }
.valor-name { font-size: 15px; font-weight: 500; color: var(--white); }
.valor-desc { font-size: 14px; color: var(--gray2); line-height: 1.7; font-weight: 300; }

/* ── SERVICIOS ── */
.servicios-list { margin-top: 4rem; }
.servicio-row {
  display: grid; grid-template-columns: 60px 1fr 1fr auto;
  gap: 2rem; align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  transition: opacity .2s;
}
.servicio-row:first-child { border-top: 1px solid var(--line); }
.servicio-row:hover .serv-num-big { color: var(--green); }
.serv-num-big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px; font-weight: 600; color: var(--gray);
  letter-spacing: .06em; transition: color .2s;
}
.serv-name-big { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; font-weight: 600; color: var(--white); }
.serv-desc-inline { font-size: 13px; color: var(--gray2); line-height: 1.65; font-weight: 300; }
.serv-tags-inline { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.stag {
  font-size: 11px; color: var(--gray);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3px 10px; border-radius: 20px;
}

/* ── CTA ── */
.cta-sec {
  padding: 100px clamp(1.5rem, 5vw, 4rem);
  display: flex; align-items: center; justify-content: center;
}
.cta-inner { max-width: 680px; width: 100%; text-align: center; }
.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -.025em;
  color: var(--white); margin-bottom: 1.2rem;
}
.cta-title .g { color: var(--green); }
.cta-sub { font-size: 15px; color: var(--gray2); line-height: 1.7; margin-bottom: 2.5rem; font-weight: 300; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-info { font-size: 12px; color: var(--gray); margin-top: 1.2rem; letter-spacing: .02em; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--line);
  padding: 32px clamp(1.5rem, 5vw, 4rem);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-name { font-family: 'Bebas Neue', sans-serif; font-size: 14px; font-weight: 600; color: var(--white); }
.footer-name span { color: var(--green); }
.footer-sub { font-size: 12px; color: var(--gray); margin-top: 2px; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 13px; color: var(--gray); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--white); }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 2rem; }
  .hero-right-col { align-items: flex-start; }
  .hero-stats { justify-content: flex-start; }
  .stat { text-align: left; }
  .nav-right a:not(.nav-cta) { display: none; }
  .mv-layout { grid-template-columns: 1fr; gap: 3rem; }
  .valor-row { grid-template-columns: 1fr; gap: .5rem; }
  .valor-right { grid-template-columns: 1fr; gap: .3rem; }
  .servicio-row { grid-template-columns: 1fr; gap: .8rem; }
  .serv-tags-inline { justify-content: flex-start; }
  nav { height: 64px; }
  .nav-logo-img { height: 46px; }
  .nav-tagline { display: none; }
  .hero-inner { padding-top: 90px; }
  .hero-badge-img { height: 140px; }
  .hero { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
}

/* ── GALLERY ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 3rem;
}
.gal-item {
  position: relative; overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  background: #111;
}
.gal-item.gal-portrait { grid-row: span 2; }
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s ease, filter .4s ease;
  filter: grayscale(20%) brightness(.92);
}
.gal-item:hover img {
  transform: scale(1.04);
  filter: grayscale(0%) brightness(1);
}
.gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, transparent 50%);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: flex-end; padding: 20px;
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-title { font-family: 'Bebas Neue', sans-serif; font-size: 14px; font-weight: 600; color: #f0f0ec; margin-bottom: 3px; }
.gal-desc  { font-size: 12px; color: var(--gray2); line-height: 1.5; }
.gal-link  { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--green); text-decoration: none; }
.gal-link:hover { text-decoration: underline; }

/* En celulares/tablets no hay hover real: mostramos la info siempre visible
   para que tocar el link sea siempre intencional, no un efecto lateral del hover simulado */
@media (hover: none) {
  .gal-overlay { opacity: 1; }
  .gal-item img { filter: grayscale(0%) brightness(1); }
}

/* FAQ */
.faq-list { max-width: 760px; margin-top: 20px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: 'Bebas Neue', sans-serif; font-size: 19px; letter-spacing: .3px; color: var(--white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-plus { flex-shrink: 0; color: var(--green); font-size: 22px; font-weight: 300; transition: transform .25s ease; }
.faq-item[open] summary .faq-plus { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 0 24px; color: var(--gray2); font-size: 15px; font-weight: 300; line-height: 1.75; max-width: 640px; }
.gal-item.gal-portrait { min-height: 500px; }
.gal-item.gal-landscape { min-height: 240px; }

@media (max-width: 768px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gal-item.gal-portrait { grid-row: span 1; min-height: 260px; }
  .gal-item.gal-landscape { min-height: 200px; }
}
@media (max-width: 500px) {
  .gallery { grid-template-columns: 1fr; }
}


@media (max-width: 900px) {
  section[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  section[style*="grid-template-columns:1fr 1fr"] > div:last-child {
    min-height: 50vh !important;
  }
}

/* ── PROBLEMAS QUE RESOLVEMOS ── */
.problemas-list {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 3rem;
}
.problema-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--white); font-weight: 400;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.problema-icon {
  color: var(--green); flex-shrink: 0; margin-top: 2px;
  font-size: 14px;
}
@media (max-width: 768px) {
  .problemas-list { grid-template-columns: 1fr; }
}

/* ── POR QUÉ NOS ELIGEN ── */
.elige-list {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 3rem;
}
.elige-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--white); font-weight: 400;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.elige-icon {
  color: var(--green); flex-shrink: 0; margin-top: 2px;
  font-size: 14px;
}
@media (max-width: 768px) {
  .elige-list { grid-template-columns: 1fr; }
}

/* ── CÓMO TRABAJAMOS (PROCESO) ── */
.proceso-list {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.proceso-item {
  border-top: 2px solid var(--green);
  padding-top: 1.2rem;
}
.proceso-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px; color: var(--gray); letter-spacing: .06em;
  margin-bottom: .6rem;
}
.proceso-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem; font-weight: 600; color: var(--white);
}
@media (max-width: 768px) {
  .proceso-list { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (max-width: 500px) {
  .proceso-list { grid-template-columns: 1fr; }
}

/* ── RESEÑAS (carrusel de Google) ── */
.reviews-carousel { margin-top: 3rem; position: relative; max-width: 720px; }
.reviews-track { overflow: hidden; }
.reviews-slides { display: flex; transition: transform .5s ease; }
.review-slide { flex: 0 0 100%; box-sizing: border-box; padding: 0 4px; }
.review-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2rem;
  background: rgba(255,255,255,0.02);
  min-height: 180px;
}
.review-stars { color: var(--green); font-size: 14px; letter-spacing: 2px; margin-bottom: 1rem; }
.review-quote {
  font-size: 14px; color: var(--white); line-height: 1.7;
  font-weight: 300; margin-bottom: 1.2rem;
}
.review-quote::before { content: "“"; color: var(--green); }
.review-quote::after { content: "”"; color: var(--green); }
.review-author { font-size: 13px; font-weight: 600; color: var(--white); }
.review-source { font-size: 11px; color: var(--gray); margin-top: 2px; }
.reviews-nav { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.5rem; }
.reviews-arrow {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--white);
  cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: border-color .2s;
}
.reviews-arrow:hover { border-color: var(--green); color: var(--green); }
.reviews-dots { display: flex; gap: 6px; }
.reviews-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line); border: none; cursor: pointer; padding: 0; position: relative; }
.reviews-dot::before { content: ''; position: absolute; top: 50%; left: 50%; width: 24px; height: 24px; transform: translate(-50%, -50%); }
.reviews-dot.active { background: var(--green); width: 18px; border-radius: 3px; transition: width .2s; }
@media (max-width: 600px) {
  .review-card { padding: 1.5rem; }
}

/* ── WHATSAPP FLOTANTE ── */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 200;
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 12px;
  transition: opacity .25s, transform .25s;
}
.wa-float.hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.wa-float-btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  border: none;
  transition: transform .2s, box-shadow .2s;
}
.wa-float-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
.wa-float-btn svg { width: 28px; height: 28px; fill: #ffffff; }

.wa-menu {
  display: flex; flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
  opacity: 0; transform: translateY(8px) scale(.98);
  pointer-events: none;
  transition: opacity .18s, transform .18s;
  max-width: 280px;
}
.wa-menu.open {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto;
}
.wa-menu-title {
  font-size: 12px; color: var(--gray2);
  text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: 2px;
  text-align: right;
}
.wa-menu-item {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 13px; font-weight: 400;
  text-align: right;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
  white-space: normal;
  line-height: 1.4;
  display: block;
}
.wa-menu-item:hover {
  border-color: var(--green);
  background: rgba(200,240,0,0.06);
}
@media (max-width: 600px) {
  .wa-float { right: 16px; bottom: 16px; }
  .wa-menu { max-width: calc(100vw - 32px); }
}

/* ══════════════════════════════════════════════════════════════
   AGREGADOS SEO / PÁGINAS INTERNAS (mismo lenguaje visual)
   ══════════════════════════════════════════════════════════════ */

/* Fix: en celulares los botones del hero desbordaban el ancho de pantalla */
.hero-cta { flex-wrap: wrap; row-gap: 14px; }

.stats-note { font-size: 10.5px; color: var(--gray); letter-spacing: .02em; margin-top: -1.2rem; text-align: right; }
@media (max-width: 768px) { .stats-note { text-align: left; } .hero-stats { gap: 1.8rem; flex-wrap: wrap; } }

/* Links dentro de filas de servicios / problemas (Home) */
a.serv-name-big, a.problema-item { text-decoration: none; color: var(--white); transition: color .2s; }
a.serv-name-big:hover, a.problema-item:hover { color: var(--green); }
.serv-more { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 500; color: var(--green); text-decoration: none; }
.serv-more:hover { text-decoration: underline; }
.proceso-desc { font-size: 13px; color: var(--gray2); line-height: 1.65; font-weight: 300; margin-top: .6rem; }
.sec-more { display: inline-flex; margin-top: 2rem; }
a.gal-item { display: block; color: inherit; text-decoration: none; }

/* Footer: línea de enlaces internos */
.footer-nav {
  max-width: 1100px; margin: 20px auto 0; padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 18px;
}
.footer-nav a { font-size: 12px; color: var(--gray); text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: var(--white); }
.footer-nap { max-width: 1100px; margin: 12px auto 0; font-size: 12px; color: var(--gray); }
.footer-nap a { color: var(--gray); text-decoration: none; }
.footer-nap a:hover { color: var(--white); }

/* ── HERO DE PÁGINAS INTERNAS ── */
.page-hero {
  display: grid;
  grid-template-columns: 1fr min(520px, 40vw);
  min-height: 78vh;
  align-items: stretch;
}
.page-hero-inner {
  max-width: 1100px; width: 100%; margin-left: auto; min-width: 0;
  padding: 130px clamp(1.5rem, 5vw, 4rem) 70px;
  display: flex; flex-direction: column; justify-content: center;
}
.page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 5.4vw, 5rem);
  line-height: 1; letter-spacing: .03em; font-weight: 400;
  color: var(--white); margin-bottom: 1.8rem;
}
.page-title .green { color: var(--green); }
.page-title .gray { color: var(--gray); }
.page-lead {
  font-size: 16px; color: rgba(230,232,216,0.9); line-height: 1.8;
  font-weight: 300; max-width: 620px; margin-bottom: 2.2rem;
}
.page-hero .hero-cta { gap: 12px 22px; }
.page-hero-photo { position: relative; overflow: hidden; background: #111; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero-photo::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, rgba(14,15,14,0) 32%);
  z-index: 1;
}
.page-hero-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 40px 20px 16px; font-size: 12px; color: var(--gray2);
  background: linear-gradient(0deg, rgba(0,0,0,.7), transparent);
}
@media (max-width: 768px) {
  .page-hero { grid-template-columns: 1fr; min-height: 0; }
  .page-hero-inner { padding: 96px clamp(1.5rem, 5vw, 4rem) 40px; }
  .page-hero-photo { height: 320px; }
  .page-hero-photo::before { background: linear-gradient(to bottom, var(--bg) 0%, rgba(14,15,14,0) 30%); }
}

/* Breadcrumb */
.breadcrumb { margin-bottom: 1.6rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--gray); }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: var(--gray); }
.breadcrumb a { color: var(--gray2); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb [aria-current] { color: var(--gray); }

/* Texto largo */
.prose { max-width: 720px; margin-top: 1.6rem; }
.prose p, .prose li { font-size: 15px; color: var(--gray2); line-height: 1.85; font-weight: 300; }
.prose p + p { margin-top: 1rem; }
.prose ul, .prose ol { margin: 1rem 0 0 1.1rem; }
.prose li { margin-top: .45rem; }
.prose li::marker { color: var(--green); }
.prose strong { color: var(--white); font-weight: 500; }
.prose a { color: var(--green); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose h3 {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.15rem; font-weight: 600;
  color: var(--white); margin: 2.2rem 0 .6rem; letter-spacing: .02em;
}
.prose table { width: 100%; border-collapse: collapse; margin-top: 1.2rem; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--gray2); font-weight: 300; }
.prose th { color: var(--white); font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.note {
  margin-top: 1.6rem; padding: 14px 18px;
  border-left: 2px solid var(--green); background: rgba(255,255,255,0.02);
  font-size: 13px !important; color: var(--gray2); line-height: 1.7;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 3rem; margin-top: 2.4rem; }
.two-col h3 { margin-top: 0; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* Tarjetas de enlaces (servicios / proyectos relacionados) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 2.4rem; }
.card {
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 1.5rem; background: rgba(255,255,255,0.02);
  text-decoration: none; color: inherit;
  transition: border-color .2s, background .2s;
}
a.card:hover { border-color: var(--green); background: rgba(200,240,0,0.04); }
.card-kicker { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.card-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--white); }
.card-desc { font-size: 13px; color: var(--gray2); line-height: 1.65; font-weight: 300; }
.card-link { margin-top: auto; padding-top: 6px; font-size: 12px; font-weight: 600; color: var(--green); }
.card-img { margin: -1.5rem -1.5rem .6rem; border-radius: 10px 10px 0 0; overflow: hidden; aspect-ratio: 4 / 3; background: #111; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Galería estática en páginas internas (mismo estilo que la Home) */
figure.gal-item { margin: 0; }
.gallery.gallery-sm { grid-auto-rows: 240px; }
.gallery.gallery-sm .gal-item { min-height: 0; grid-row: span 1; }
.gallery.gallery-sm .gal-item.gal-portrait { grid-row: span 2; }
@media (max-width: 768px) {
  .gallery.gallery-sm { grid-auto-rows: 200px; }
}
@media (max-width: 500px) {
  .gallery.gallery-sm .gal-item.gal-portrait { grid-row: span 2; }
}

/* Fichas de proyecto */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2rem; margin-top: 2.2rem; border-top: 1px solid var(--line); }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
.facts dd { font-size: 14px; color: var(--white); line-height: 1.6; }
.facts dd a { color: var(--white); }
@media (max-width: 768px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .facts { grid-template-columns: 1fr; } }

.project { padding-top: 3.5rem; margin-top: 3.5rem; border-top: 1px solid var(--line); }
.project:first-of-type { border-top: 0; margin-top: 1rem; padding-top: 1rem; }
.project-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--white); letter-spacing: .03em; line-height: 1.1; }
.project-title a { color: inherit; text-decoration: none; }
.project-title a:hover { color: var(--green); }

/* Formulario */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 2.4rem; max-width: 760px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray2); margin-bottom: 6px; }
.form label .opt { text-transform: none; letter-spacing: 0; color: var(--gray); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--white);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 6px;
  padding: 12px 14px; transition: border-color .2s;
}
.form select option { background: var(--bg); }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); }
.form input[type=file] { padding: 10px; font-size: 13px; color: var(--gray2); }
.form .hint { font-size: 12px; color: var(--gray); margin-top: 6px; line-height: 1.5; }
.form button { border: 0; cursor: pointer; font-family: inherit; }
.form .hidden-field { position: absolute; left: -9999px; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: start; }
.contact-aside { border: 1px solid var(--line); border-radius: 10px; padding: 1.8rem; margin-top: 2.4rem; }
.contact-aside p { font-size: 14px; color: var(--gray2); line-height: 1.75; font-weight: 300; }
.contact-aside p + p { margin-top: .8rem; }
.contact-aside a { color: var(--white); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 1rem; } }

/* Accesibilidad: foco visible */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--green); color: var(--bg); padding: 8px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.skip-link:focus { left: 8px; }
