/* ==========================================================================
   Persianas y Cortinas Elegant — hoja de estilos
   Sitio estático (sin WordPress / sin PHP). Réplica del diseño original.
   ========================================================================== */

/* ---------- Fuentes (servidas desde el propio sitio, solo caracteres latinos) ---------- */
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/open-sans-latin.woff2") format("woff2"); }
@font-face { font-family: 'Antic Didone'; font-style: normal; font-weight: 400; font-display: block; src: url("../fonts/antic-didone-latin.woff2") format("woff2"); }
@font-face { font-family: 'Libre Caslon Display'; font-style: normal; font-weight: 400; font-display: block; src: url("../fonts/libre-caslon-display-latin.woff2") format("woff2"); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: 'Libre Caslon Text'; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/libre-caslon-text-italic-latin.woff2") format("woff2"); }
/* Respaldo de Open Sans con las mismas medidas (Arial ajustada): evita que el texto salte al cargar la fuente */
@font-face { font-family: 'Open Sans Respaldo'; src: local('Arial'), local('Helvetica'); size-adjust: 105.1%; ascent-override: 101.65%; descent-override: 27.86%; line-gap-override: 0%; }

:root {
  --negro: #000;
  --negro-header: #0a0a0a;
  --texto: #333;
  --texto-suave: #666;
  --gris-hover: #d6d6d6;
  --gris-fondo: #b3b3b3;
  --gris-footer: #222;
  --acento: #c48662;          /* etiqueta "SERVICIOS" */
  --crema: #faf8f4;           /* portada Pérgola */
  --verde-oscuro: #2f3c2f;    /* título Pérgola */

  --f-display: 'Antic Didone', Georgia, 'Times New Roman', serif;
  --f-cuerpo: 'Open Sans', 'Open Sans Respaldo', Arial, sans-serif;
  --f-caslon: 'Libre Caslon Display', Georgia, 'Times New Roman', serif;
  --f-inter: 'Inter', Helvetica, Arial, sans-serif;
  --f-cursiva: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --linea-suave: #e3ddd2;

  --ancho: 1080px;            /* ancho del contenido */
  --gutter: 5.5%;             /* separación entre columnas */
  --alto-header: 111px;
}
body.pagina-inicio { --alto-header: 134px; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--texto-suave);
  font-family: var(--f-cuerpo);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding-bottom: 10px;
  color: var(--texto);
  font-weight: 500;
  line-height: 1em;
}
p { margin: 0; padding-bottom: 1em; }
p:last-child { padding-bottom: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul { margin: 0; }

.contenedor { width: 80%; max-width: var(--ancho); margin: 0 auto; }
.seccion { padding: 54px 0; }
.visualmente-oculto {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Rejillas tipo Divi */
.fila { display: grid; column-gap: var(--gutter); }
.c-1-2 { grid-template-columns: 1fr 1fr; }
.c-1-3 { grid-template-columns: repeat(3, 1fr); }
.c-1-6 { grid-template-columns: repeat(6, 1fr); }
.c-3-5 { grid-template-columns: 3fr 2fr; }
.c-2-5 { grid-template-columns: 2fr 3fr; }
.c-1-3-2-3 { grid-template-columns: 1fr 2fr; }

/* ---------- Botones ---------- */
.boton {
  display: inline-block;
  font-family: var(--f-cuerpo);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  text-transform: uppercase;
  border-radius: 60px;
  padding: 16px 24px;
  cursor: pointer;
  transition: all 300ms ease;
  border: 0;
}
.boton--negro { background: #000; color: #fff; }
.boton--negro:hover { background: #2b2b2b; }
.boton--chico { padding: 4px 14px; }
.boton--contorno { background: transparent; color: #000; border: 2px solid #000; }
.boton--contorno:hover { background: #000; color: #fff; }
.boton--blanco { background: #fff; color: #000; }
.boton--blanco:hover { background: #e6e6e6; }
.boton--cuadrado {
  border-radius: 0; border: 1px solid #000; background: transparent; color: #000;
  font-family: var(--f-inter); text-transform: none; padding: 12px 24px;
}
.boton--cuadrado:hover { background: #000; color: #fff; }

/* ---------- Fotos y marcadores de fotos faltantes ---------- */
.foto { position: relative; max-width: 100%; min-width: 0; }
.foto img { width: 100%; }
.foto picture { display: contents; }
.foto.falta {
  background: #f3f0ea;        /* foto pendiente: bloque neutro en el sitio publicado */
  min-height: 120px;
}
.foto.falta img { visibility: hidden; position: absolute; inset: 0; height: 100%; }
/* En localhost se ve rayado y con el nombre del archivo que falta (main.js agrega .modo-prueba) */
.modo-prueba .foto.falta {
  background: repeating-linear-gradient(45deg, #ececec 0 12px, #e4e4e4 12px 24px);
  outline: 1px dashed #b5b5b5;
  outline-offset: -1px;
}
.modo-prueba .foto.falta::after {
  content: "FOTO: " attr(data-foto);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 10px;
  font: 600 12px/1.4 var(--f-cuerpo);
  letter-spacing: .5px;
  color: #8a8a8a;
}
.foto.falta.opcional { display: none; }
/* proporciones de los marcadores */
.r-1x1.falta  { aspect-ratio: 1 / 1; }
.r-4x3.falta  { aspect-ratio: 4 / 3; }
.r-3x4.falta  { aspect-ratio: 3 / 4; }
.r-16x9.falta { aspect-ratio: 16 / 9; }
.r-banner.falta { aspect-ratio: 1440 / 713; }
.r-tira.falta { aspect-ratio: 1440 / 420; }
.r-tira.falta, .r-banner.falta { min-height: 0; }

/* ==========================================================================
   ENCABEZADO
   ========================================================================== */
.header {
  position: relative;
  z-index: 50;
  background: var(--negro);
  height: var(--alto-header);
}
.header .contenedor { position: relative; height: 100%; }
.header__logo { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.header__logo .foto { width: auto; }
.header__logo img { max-height: 70px; width: auto; }
.menu { position: absolute; right: 0; top: 0; }
.menu > ul { list-style: none; display: flex; gap: 19px; padding: 9px 0 0; }
.menu li { position: relative; }
.menu a {
  display: block;
  font-size: 12px; font-weight: 600; line-height: 1.75;
  color: #fff;
  padding-bottom: 9px;
  transition: opacity 300ms ease;
}
.menu a:hover { opacity: .7; }
.menu .tiene-sub > a { padding-right: 20px; }
.menu .tiene-sub > a::after {
  content: ""; position: absolute; right: 4px; top: 7px;
  width: 6px; height: 6px;
  border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff;
  transform: rotate(45deg);
}
.submenu {
  list-style: none;
  position: absolute; right: 0; top: 100%;
  width: 220px;
  background: var(--negro);
  padding: 12px 0;
  opacity: 0; visibility: hidden;
  transition: opacity 200ms ease;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
}
.submenu li { padding: 0 24px; }
.submenu a { padding: 12px; }
.tiene-sub:hover .submenu,
.tiene-sub:focus-within .submenu { opacity: 1; visibility: visible; }

.boton-menu {
  display: none;
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  background: transparent; border: 0; padding: 8px; cursor: pointer;
}
.boton-menu span, .boton-menu span::before, .boton-menu span::after {
  display: block; width: 24px; height: 2px; background: #fff; position: relative;
}
.boton-menu span::before, .boton-menu span::after { content: ""; position: absolute; left: 0; }
.boton-menu span::before { top: -7px; }
.boton-menu span::after { top: 7px; }

/* Navegación de puntos (lado derecho) */
.puntos {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 40;
  list-style: none; margin: 0;
  width: 40px; padding: 10px;
  background: rgba(0,0,0,.4);
  border-radius: 5px 0 0 5px;
}
.puntos li { padding: 7px; }
.puntos a {
  display: block; width: 7px; height: 7px; border-radius: 7px;
  background: rgba(255,255,255,.5);
}
.puntos a.activo { background: #fff; }

/* ==========================================================================
   INICIO — Hero
   ========================================================================== */
.hero { background: #fff; overflow: hidden; }
.hero .fila { grid-template-columns: 29.6667% 64.833%; }
.hero__izq {
  /* la foto llega hasta el borde izquierdo de la pantalla */
  margin-left: calc((100vw - min(80vw, var(--ancho))) / -2);
  align-self: stretch;
}
.hero__izq .foto { height: 100%; width: 100%; }
.hero__izq .foto.falta { aspect-ratio: auto; min-height: 640px; }
.hero__izq img { height: 100%; object-fit: cover; }
.hero__der { padding: 8vw 0 60px; }
.hero__botones { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8.483%; margin-bottom: 2.75%; }
.hero h1 {
  font-family: var(--f-display);
  font-size: 72px; line-height: 1.35em; font-weight: 500;
  margin-top: 4.242%;
}
.hero h2 { font-family: var(--f-cuerpo); font-size: 26px; font-weight: 500; line-height: 1em; padding-top: 14px; }
.hero__texto { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8.483%; margin-top: 4.242%; align-items: start; }
.hero__texto p { font-size: 16px; line-height: 1.8em; }
.hero__ovalo { justify-self: end; }
.hero__ovalo .foto { border-radius: 500px; overflow: hidden; }
.hero__ovalo .foto.falta { width: 220px; aspect-ratio: 1 / 2; }
.hero__ovalo img { max-height: none; }
.foto-banner-inicio { width: 100%; }

/* ==========================================================================
   SERVICIOS (marco negro)
   ========================================================================== */
.servicios { padding: 54px 0; background-color: #fff; }
.servicios--fondo {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0) 60%, var(--gris-fondo) 63%),
    url("../img/inicio-fondo-servicios-1200.webp");
  background-size: cover;
  background-position: center;
}
.marco { width: 80%; max-width: var(--ancho); margin: 20px auto; background: #000; padding: 20px; box-sizing: content-box; }
.marco__tarjeta { background: #fff; }
.marco__cabeza { padding: 60px 60px 0; }
.etiqueta { display: flex; align-items: center; gap: 30px; margin-bottom: 2.75%; }
.etiqueta h4 {
  font-family: var(--f-cuerpo); font-size: 14px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--acento);
  line-height: 1.4; padding: 0;
}
.etiqueta::after { content: ""; flex: 1; border-top: 1px solid #000; }
.marco__cabeza h2 { font-family: var(--f-display); font-size: 48px; line-height: 1.2em; }

.cajas { padding: 27px 60px 0; display: grid; grid-template-columns: 1fr 1fr; }
.cajas--3 { grid-template-columns: repeat(3, 1fr); min-height: 134px; }
.caja {
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #000;
  padding: 40px;
  text-align: center;
  transition: background-color 300ms ease;
}
.caja + .caja { border-left: 0; }
.caja:hover { background-color: var(--gris-hover); }
.caja h3 { font-family: var(--f-display); font-size: 25px; line-height: 1.4em; }

.marco__cta {
  background: #fff;
  margin-top: 34px;
  display: flex; align-items: center; justify-content: center;
  min-height: 134px;
  padding: 30px 20px;
}

/* ==========================================================================
   INICIO — galería de productos (3 x 3)
   ========================================================================== */
.galeria .fila { row-gap: 40px; }
.galeria .foto { width: 100%; }
.galeria .foto img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ==========================================================================
   INICIO — Llamado a contacto (fondo rayado)
   ========================================================================== */
.cta {
  position: relative;
  padding: 10vw 0;
  background-image: radial-gradient(ellipse at center, #fff 0%, #d6d6d6 100%);
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64' preserveAspectRatio='none'%3E%3Cpath fill='rgba(255,255,255,0.28)' d='M32 64L64 32V64ZM32 0L0 32V64L64 0Z'/%3E%3C/svg%3E");
  background-size: 104px 104px;
}
.cta__caja { position: relative; background: #fff; padding: 4vw 60px; align-items: center; }
.cta h2 { font-family: var(--f-display); font-size: 48px; line-height: 1.2em; }
.cta p { line-height: 1.6em; margin-bottom: 20px; }

/* ==========================================================================
   PIE DE PÁGINA (contacto)
   ========================================================================== */
.pie { background: #000; color: #fff; padding: 54px 0; scroll-margin-top: 20px; }
.pie h3 { font-family: var(--f-display); font-size: 25px; line-height: 1.4em; color: #fff; }
.pie h4 { font-family: var(--f-display); font-size: 19px; line-height: 1.5em; color: #fff; }
.pie p, .pie a { color: #fff; }
.pie a:hover { opacity: .75; }
.pie__logo { width: 50%; background: #fff; margin-bottom: 30px; }
.pie__bloque { margin-bottom: 30px; }
.redes { list-style: none; padding: 2px 0 0; display: flex; gap: 8px; margin-bottom: 29px; }
.redes a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; }
.redes svg { width: 15px; height: 15px; fill: #fff; }

.formulario { margin-top: 18px; }
.formulario label { display: block; }
.formulario input, .formulario textarea {
  width: 100%;
  font: 400 14px/1.6em var(--f-cuerpo);
  color: #fff;
  background: transparent;
  border: 0; border-bottom: 1px solid #fff; border-radius: 0;
  padding: 16px 24px;
  margin-bottom: 3%;
  outline: none;
}
.formulario input:focus, .formulario textarea:focus { border-bottom-color: var(--acento); }
.formulario textarea { min-height: 150px; resize: vertical; }
.formulario ::placeholder { color: #fff; opacity: 1; }
.formulario__pie { display: flex; justify-content: flex-end; margin-top: 10px; }
.formulario__aviso { font-size: 12px; color: #bbb; margin-top: 10px; text-align: right; min-height: 1em; }

.pie-final { background: var(--gris-footer); padding: 60px 0; text-align: center; font-size: 12px; color: #8a8a8a; }

/* ==========================================================================
   NOSOTROS
   ========================================================================== */
.nos-intro { align-items: center; }
.titulo-cuerpo { font-family: var(--f-cuerpo); font-size: 30px; font-weight: 700; padding-bottom: 30px; }
.nos-blurbs { margin-top: 60px; align-items: start; }
.blurb .foto { margin-bottom: 30px; }
.blurb h4 { font-family: var(--f-cuerpo); font-size: 18px; font-weight: 500; text-transform: uppercase; }
.valores { margin-top: 80px; }
.valores h2 { text-align: center; padding-bottom: 20px; }
.valores .fila p { font-size: 14px; }
.valores strong { color: var(--texto-suave); }
.sustentabilidad { margin-top: 80px; align-items: center; }
.sustentabilidad strong { color: var(--texto-suave); }

/* ==========================================================================
   PÉRGOLA BIOCLIMÁTICA
   ========================================================================== */
body.pagina-pergola { background: #000; }
body.pagina-pergola main > section:not(.perg-portada):not(.perg-galeria) { background: #fff; }
.perg-portada {
  background: var(--crema);
  margin: 4vw;
  padding: 5vw 0;
  position: relative;
  overflow: hidden;
}
.perg-portada .contenedor { width: 85%; max-width: none; position: relative; z-index: 2; padding: 12vw 0 8vw; text-align: center; }
.perg-portada h1 {
  font-family: var(--f-caslon); text-transform: uppercase;
  font-size: 12vw; line-height: .9em; color: var(--verde-oscuro);
}
.perg-portada__foto {
  position: absolute; z-index: 1; top: 5vw; left: 50%; transform: translateX(-50%);
  width: 85%; text-align: center;
}
.perg-portada__foto .foto { display: inline-block; box-shadow: 0 2px 18px rgba(0,0,0,.3); }
.perg-portada__foto img { max-height: 40vw; width: auto; }
.perg-portada__foto .foto.falta { display: none; }

.perg-intro .fila { align-items: start; }
.perg-arco .foto { max-width: 250px; border-radius: 0 0 500px 500px; overflow: hidden; margin-bottom: 30px; }
.perg-arco .foto.falta { aspect-ratio: 1 / 1.4; }
.perg-arco p { max-width: 250px; line-height: 1.6em; }
.perg-por-que .foto { margin-bottom: 30px; }
.perg-por-que h3 { font-family: var(--f-cuerpo); font-size: 22px; font-weight: 500; padding-bottom: 16px; }

.perg-frase { text-align: center; }
.perg-frase p { font-family: var(--f-cuerpo); font-size: 28px; line-height: 1.25; color: #555; padding-bottom: 30px; }
.perg-frase strong { font-weight: 700; }

.perg-lluvia .fila { align-items: center; }
.perg-lluvia__texto { text-align: right; }
.perg-lluvia .foto { border-radius: 10px; overflow: hidden; }

.perg-galeria { background: #000; padding: 0 0 54px; }
.perg-galeria .contenedor { width: 80%; max-width: 1280px; }
.perg-galeria h2 {
  font-family: var(--f-caslon); font-size: 52px; line-height: 1.2em; color: #fff;
  text-align: center; padding: 27px 0 50px;
}
.perg-galeria .fila { row-gap: 54px; }
.perg-galeria .foto {
  transition: box-shadow 300ms ease;
  box-shadow: inset 0 0 0 0 #fff;
}
.perg-galeria .foto img { height: 360px; object-fit: cover; }
.perg-galeria .foto::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 0 0 #fff; transition: box-shadow 300ms ease;
}
.perg-galeria .foto:hover::before { box-shadow: inset 0 0 0 30px #fff; }
.perg-galeria .foto.falta { height: 360px; aspect-ratio: auto; }

.perg-detalles h2 { font-family: var(--f-cuerpo); font-size: 30px; font-weight: 500; padding-bottom: 40px; }
.perg-detalles .fila { align-items: start; }
.perg-detalles ul { padding-left: 1.2em; padding-bottom: 1em; }
.perg-detalles li p { padding-bottom: .3em; }
.perg-detalles__texto { margin: 50px 0; }
.perg-detalles__texto strong { color: var(--texto-suave); }
.perg-iconos .foto { margin-bottom: 14px; }
.perg-iconos .foto.falta { aspect-ratio: 1 / 1; min-height: 0; }
.perg-iconos h4 { font-family: var(--f-cuerpo); font-size: 18px; font-weight: 500; line-height: 1.2; }

/* ==========================================================================
   PÁGINAS DE PRODUCTO (Pasto, Follaje, Piso Laminado, Lambrín, Papel Tapiz)
   Reutilizan la maqueta de Pérgola; aquí solo lo que cambia.
   ========================================================================== */
.prod-modelo p {
  font-family: var(--f-caslon); font-size: 22px; line-height: 1.3;
  color: #fff; text-align: center; padding: 16px 0 0;
}
.pagina-producto .perg-galeria .foto img { height: 320px; }
.pagina-producto .perg-arco .foto img { aspect-ratio: 3 / 4; object-fit: cover; }
.pagina-producto .perg-por-que .foto img,
.pagina-producto .perg-lluvia .foto img { aspect-ratio: 16 / 10; object-fit: cover; }
.pagina-producto .blurb .foto img { aspect-ratio: 4 / 3; object-fit: cover; }
.prod-iconos > div { text-align: center; }
@media (max-width: 767px) {
  .prod-modelo p { font-size: 18px; }
  /* v1.2: sin foto de fondo, la franja gris se veía como un bloque suelto en el celular */
  .servicios--fondo { background-image: none; }
  /* v1.2: teléfonos del pie más fáciles de tocar con el dedo */
  .pie a[href^="tel:"], .pie a[href^="mailto:"], .pie a[href^="https://wa.me"] { display: inline-block; padding: 8px 0; }
}
.prod-iconos .icono {
  display: block; width: 56px; height: 56px; margin: 0 auto 16px;
  fill: none; stroke: var(--verde-oscuro); stroke-width: 1.3;
  stroke-linecap: round; stroke-linejoin: round;
}
.prod-iconos h4 { font-size: 16px; }

/* ==========================================================================
   CLIENTES SATISFECHOS
   ========================================================================== */
.clientes .foto { width: 100%; }

/* 404 */
.no-encontrada { text-align: center; padding: 120px 0; }
.no-encontrada h1 { font-family: var(--f-display); font-size: 56px; padding-bottom: 20px; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 980px) {
  .seccion, .servicios, .pie { padding: 50px 0; }
  .fila, .c-1-2, .c-1-3, .c-3-5, .c-2-5, .c-1-3-2-3 { grid-template-columns: 1fr; row-gap: 30px; }
  .c-1-6 { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }

  /* menú móvil */
  .header { height: 80px; }
  .boton-menu { display: block; }
  .menu { display: none; top: 100%; right: -12.5vw; left: -12.5vw; background: var(--negro); border-top: 3px solid #333; }
  .menu.abierto { display: block; }
  .menu > ul { flex-direction: column; gap: 0; padding: 10px 6%; }
  .menu a { font-size: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .menu .tiene-sub > a::after { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; width: auto; padding: 0 0 0 20px; box-shadow: none; }
  .submenu li { padding: 0; }
  .puntos { display: none; }

  .hero .fila { grid-template-columns: 1fr; }
  .hero__izq { margin-left: -12.5vw; margin-right: -12.5vw; }
  .hero__izq .foto, .hero__izq img { height: 400px; }
  .hero__der { padding-top: 30px; }
  .hero h1 { font-size: 40px; }
  .hero__texto p { font-size: 15px; }

  .marco__cabeza { padding: 30px 30px 0; }
  .marco__cabeza h2 { font-size: 32px; }
  .cajas { padding: 27px 30px 0; }
  .caja { padding: 30px; }
  .caja h3 { font-size: 20px; }

  .cta__caja { padding: 30px; }
  .cta h2 { font-size: 32px; }
  .pie h3 { font-size: 20px; }
  .pie h4 { font-size: 18px; }

  .perg-galeria h2 { font-size: 32px; }
  .perg-lluvia__texto { text-align: left; }
  .perg-frase p { font-size: 20px; }
}

@media (max-width: 767px) {
  .hero__izq { display: none; }
  .hero h1 { font-size: 32px; }
  .hero h2 { font-size: 20px; }
  .hero__botones { column-gap: 12px; grid-template-columns: auto auto; justify-content: start; }
  .hero__texto { grid-template-columns: 1fr; row-gap: 30px; }
  .hero__texto p { font-size: 14px; }
  .hero__ovalo { justify-self: center; }

  .marco { width: calc(100% - 40px); }
  .marco__cabeza { padding: 20px 20px 0; }
  .etiqueta { gap: 20px; }
  .marco__cabeza h2 { font-size: 20px; }
  .cajas, .cajas--3 { grid-template-columns: 1fr; padding: 27px 20px 0; }
  .caja { padding: 20px; min-height: 76px; }
  .caja + .caja { border-left: 1px solid #000; border-top: 0; }
  .caja h3 { font-size: 18px; padding-bottom: 0; }

  .cta__caja { padding: 20px; }
  .cta h2 { font-size: 20px; }
  .pie h3 { font-size: 18px; }
  .pie h4 { font-size: 16px; }
  .c-1-6 { grid-template-columns: 1fr 1fr; }
  .titulo-cuerpo { font-size: 24px; }

  .perg-galeria h2 { font-size: 20px; }
  .perg-portada { margin: 4vw 4vw 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* ==========================================================================
   VERSIÓN 1.2 — CATÁLOGO
   Logotipo tipográfico, barra de servicio, cajas con foto, proyectos con pie de
   foto, fichas de tipos, lista de características y barra de WhatsApp en celular.
   ========================================================================== */

/* P1 · Logotipo tipográfico */
.marca { display: inline-flex; flex-direction: column; align-items: flex-start; color: #fff; text-decoration: none; line-height: 1; }
.marca__nombre { font-family: var(--f-display); font-size: 30px; letter-spacing: .34em; text-transform: uppercase; margin-right: -.34em; }
.marca__linea { font: 600 9px/1 var(--f-cuerpo); letter-spacing: .36em; text-transform: uppercase; opacity: .72; margin-top: 9px; }
.header__logo.marca:hover { opacity: .8; }
.marca--pie { margin-bottom: 34px; }
.marca--pie .marca__nombre { font-size: 26px; }

/* P2 · Barra de servicio */
.barra-servicio { background: #fff; border-bottom: 1px solid var(--linea-suave); }
.barra-servicio ul { list-style: none; margin: 0 auto; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 8px; }
.barra-servicio li { font: 600 11px/1.4 var(--f-cuerpo); letter-spacing: .2em; text-transform: uppercase; color: var(--texto); padding: 0 24px; }
.barra-servicio li + li { border-left: 1px solid #cfc8bc; }

/* P3 · Cajas de servicios con foto */
.caja { flex-direction: column; justify-content: flex-start; gap: 18px; padding: 22px 22px 26px; }
.caja .foto { width: 100%; overflow: hidden; }
.caja .foto img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform 600ms ease; }
.caja:hover .foto img { transform: scale(1.04); }
.caja .foto.falta { min-height: 0; aspect-ratio: 4 / 3; }
.caja h3 { padding: 0; }

/* P6 · Proyectos con pie de foto */
.galeria__cabeza { margin-bottom: 40px; }
.etiqueta-seccion { font: 600 11px/1.3 var(--f-cuerpo); letter-spacing: .22em; text-transform: uppercase; color: var(--acento); padding-bottom: 12px; }
.galeria__cabeza h2 { font-family: var(--f-display); font-size: 44px; line-height: 1.15; color: var(--texto); }
.galeria figcaption, .clientes figcaption { font: 600 11px/1.4 var(--f-cuerpo); letter-spacing: .16em; text-transform: uppercase; color: var(--texto-suave); padding-top: 12px; }

/* P9 · Bajada en cursiva en las portadas */
.perg-portada h1.titulo-largo { font-size: 9vw; }
.portada-bajada { font-family: var(--f-cursiva); font-style: italic; font-size: clamp(18px, 2.2vw, 28px); line-height: 1.35; color: var(--verde-oscuro); padding-top: 18px; }

/* P5 · Fichas de tipos (3 con foto) + lista completa */
.tipos-destacados { row-gap: 40px; }
.tipo h3 { font-family: var(--f-caslon); font-size: 26px; line-height: 1.25; color: #fff; padding: 18px 0 6px; }
.tipo p { font-size: 14px; line-height: 1.6; color: #bdb8b0; }
.r-4x5.falta { aspect-ratio: 4 / 5; }
.pagina-producto .perg-galeria .tipo .foto img { height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.pagina-producto .perg-galeria .tipo .foto.falta { height: auto; }
.tipos-mas { font: 600 11px/1.3 var(--f-cuerpo); letter-spacing: .22em; text-transform: uppercase; color: #8f8a82; margin-top: 64px; padding-bottom: 14px; }
.tipos-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; border-top: 1px solid #3a3a3a; }
.tipos-lista li { color: #bdb8b0; font-size: 14px; line-height: 1.55; padding: 16px 0; border-bottom: 1px solid #2a2a2a; }
.tipos-lista span { display: block; font-family: var(--f-caslon); font-size: 19px; color: #fff; padding-bottom: 2px; }

/* P7 · Características en lista tipográfica (en lugar de iconos) */
.perg-detalles .caracteristicas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; border-top: 1px solid var(--texto); }
.caracteristicas li { font-family: var(--f-display); font-size: 21px; line-height: 1.3; color: var(--texto); padding: 16px 0; border-bottom: 1px solid var(--linea-suave); }

/* P4 · Barra de WhatsApp en celular */
.barra-whatsapp { display: none; }

@media (max-width: 980px) {
  .tipos-lista, .perg-detalles .caracteristicas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galeria__cabeza h2 { font-size: 34px; }
}
@media (max-width: 767px) {
  .marca__nombre { font-size: 22px; }
  .marca__linea { font-size: 8px; margin-top: 7px; }
  .barra-servicio ul { display: grid; grid-template-columns: 1fr 1fr; padding: 14px 0; row-gap: 10px; }
  .barra-servicio li { font-size: 10px; letter-spacing: .14em; padding: 0 8px; text-align: center; }
  .barra-servicio li + li { border-left: 0; }
  .cajas, .cajas--3 { grid-template-columns: 1fr 1fr; }
  .cajas--3 .caja:last-child { grid-column: 1 / -1; }
  .caja { padding: 12px 12px 16px; gap: 12px; }
  .caja h3 { font-size: 17px; line-height: 1.25; }
  .caja + .caja { border-top: 1px solid #000; border-left: 0; }
  .galeria__cabeza h2 { font-size: 28px; }
  .tipo h3 { font-size: 22px; }
  .tipos-lista, .perg-detalles .caracteristicas { grid-template-columns: 1fr; }
  .caracteristicas li { font-size: 19px; }
  .barra-whatsapp {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--negro); color: #fff; text-align: center;
    font: 600 12px/1 var(--f-cuerpo); letter-spacing: .22em; text-transform: uppercase;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #2a2a2a;
  }
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px)); }
  .puntos { display: none; }
}
