/**
 * Landing pages — Contacto y Nosotros (fabricante-plv-y-expositores-carton).
 *
 * Estilos portados de las maquetas _preview_home/contacto.html y nosotros.html.
 * Se apoya en las variables de marca de gsj-global.css (--g, --gd, --ink, --mut,
 * --line); NO se redefine :root. El reset está acotado a los contenedores de
 * landing (.ct, .nh, .st, .hw, .vl, .lc, .map) para no chocar con Astra.
 *
 * @package Gráficas San Jose
 */

/* Paleta auxiliar local (papel). El resto viene de gsj-global. */
.lp-main { --paper: #f4f6f3; --ink2: #0c0d0a; }

/* Enlaces en verde de marca (Astra recolorea a:hover en azul) */
.lp-main a { color: var(--g); text-decoration: none; }
.lp-main a:hover,
.lp-main a:focus { color: var(--gd) !important; }
/* Enlaces sobre fondos oscuros (verde/negro): blanco para contraste */
.vl a, .vl a:hover, .vl a:focus,
.sost a, .sost a:hover, .sost a:focus,
.hw--dark a, .hw--dark a:hover, .hw--dark a:focus { color: #fff !important; }

/* Contenedor común y reset acotado a los bloques de landing */
.ct, .ct *, .nh, .nh *, .st, .st *, .hw, .hw *, .vl, .vl *, .lc, .lc *, .map, .map *, .sost, .sost * {
	box-sizing: border-box;
}
.ct .wrap, .nh .wrap, .st .wrap, .hw .wrap, .vl .wrap {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 28px;
}
/* Tipografía display dentro de las landing (la global usa line-height .8) */
.ct .display, .nh .display, .st .display, .hw .display, .vl .display, .lc .display, .map .display {
	font-weight: 300;
	letter-spacing: -.028em;
	line-height: 1.04;
}
.ct em, .nh em, .st em, .hw em, .vl em, .lc em, .map em { font-style: normal; }
.nh em, .st em, .hw em, .vl em, .lc em, .map em { color: var(--g); }

/* =========================================================================
   Contacto — fondo verde completo + tarjeta de formulario blanca
   ========================================================================= */
.ct { background: var(--gd); color: #fff; padding: clamp(56px, 7vw, 100px) 0; }
.ct__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.ct__ey { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.ct__h { font-size: clamp(40px, 5.4vw, 68px); margin: 14px 0 0; color: #fff; }
.ct__sub { font-size: clamp(16px, 1.5vw, 19px); color: rgba(255, 255, 255, .85); font-weight: 500; line-height: 1.6; max-width: 480px; margin: 22px 0 30px; }
.ct__wa { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-weight: 600; padding: 13px 22px; border-radius: 999px; transition: .16s; }
.ct__wa:hover { background: rgba(255, 255, 255, .2); }
.ct__wa svg { width: 20px; height: 20px; flex: 0 0 auto; }
.ct__data { margin-top: 38px; display: grid; gap: 16px; max-width: 460px; }
.ct__row { display: flex; align-items: center; gap: 13px; color: rgba(255, 255, 255, .92); font-weight: 500; }
.ct__row svg { width: 20px; height: 20px; flex: 0 0 auto; color: #8fe3ad; }
.ct__row a, .ct__row a:visited { color: #fff !important; }
.ct__row a:hover { color: #8fe3ad !important; }
.ct__badges { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.ct__badge { font-size: 12.5px; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 8px 15px; }

/* Tarjeta blanca que envuelve el formulario CF7 */
.ct__form { background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(28px, 3vw, 42px); box-shadow: 0 30px 70px rgba(0, 0, 0, .22); }

/* Estilado del formulario Contact Form 7 dentro de la tarjeta */
.ct__form .wpcf7 { font-family: inherit; }
.ct__form p { margin: 0 0 20px; }
.ct__form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.ct__form input[type="text"],
.ct__form input[type="email"],
.ct__form input[type="tel"],
.ct__form input[type="url"],
.ct__form textarea,
.ct__form select {
	width: 100%;
	border: 1px solid var(--line);
	background: #f7f6f2;
	border-radius: 14px;
	padding: 15px 16px;
	font-family: inherit;
	font-size: 15px;
	color: var(--ink);
	transition: .15s;
}
.ct__form input:focus,
.ct__form textarea:focus,
.ct__form select:focus {
	outline: none;
	border-color: var(--g);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(0, 135, 58, .12);
}
.ct__form textarea { min-height: 128px; resize: vertical; }
.ct__form input[type="checkbox"],
.ct__form input[type="radio"] { width: auto; margin-right: 8px; }
.ct__form .wpcf7-acceptance label,
.ct__form .wpcf7-checkbox label,
.ct__form .wpcf7-radio label {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--mut);
	margin-bottom: 0;
}
.ct__form .wpcf7-submit {
	width: 100%;
	background: var(--g);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	border: 0;
	border-radius: 999px;
	padding: 17px;
	cursor: pointer;
	transition: .16s;
}
.ct__form .wpcf7-submit:hover { background: var(--gd); }
.ct__form .wpcf7-spinner { margin: 12px auto 0; display: block; }
.ct__form .wpcf7-response-output {
	border-radius: 12px;
	margin: 16px 0 0;
	padding: 12px 14px;
	font-size: 14px;
	font-weight: 500;
}

/* Fallback si no hay shortcode CF7 configurado */
.ct__fallback { text-align: center; }
.ct__fallback p { font-weight: 600; margin-bottom: 16px; }

/* Franja inferior: mapa + datos (compartida con Nosotros vía .map/.lc) */
.map { display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; }
.map__frame { min-height: 380px; background: #e9efe9; }
.map__frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.map__info { padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px); background: #f4f6f3; }
.map__info h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 300; letter-spacing: -.02em; color: var(--ink); }
.map__info p { color: var(--mut); font-weight: 500; margin-top: 10px; max-width: 420px; }
.map__list { margin-top: 24px; display: grid; gap: 14px; }
.map__row { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.map__row svg { width: 20px; height: 20px; color: var(--g); flex: 0 0 auto; }

/* =========================================================================
   Nosotros (fabricante-plv-y-expositores-carton)
   ========================================================================= */
/* Hero (texto + collage de fotos ambientadas) */
.nh { padding: clamp(60px, 8vw, 110px) 0 clamp(48px, 6vw, 84px); }
.nh__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.nh__ey { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--g); }
/* H1 alineado con el hero del resto de la web (.hero__h): mismo tamaño, interletraje e interlínea. */
.nh .nh__h { font-size: clamp(36px, 4.4vw, 58px); letter-spacing: -.03em; line-height: 1.02; margin: 10px 0 0; color: var(--ink); }
.nh__sub { font-size: clamp(16px, 1.4vw, 19px); color: var(--mut); font-weight: 500; max-width: 520px; margin: 22px 0 0; line-height: 1.65; }
.nh__stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 48px); margin: 34px 0 0; }
.nh__stat { display: flex; flex-direction: column; }
.nh__num { font-family: 'Manrope', sans-serif; font-weight: 300; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.03em; line-height: 1; color: var(--g); }
.nh__lab { font-size: 13.5px; font-weight: 600; color: var(--mut); margin-top: 8px; max-width: 130px; }
.nh__cta { display: inline-flex; align-items: center; gap: 9px; margin-top: 34px; background: var(--g); color: #fff !important; font-weight: 700; padding: 15px 28px; border-radius: 999px; transition: .16s; }
.nh__cta:hover { background: var(--gd); color: #fff !important; }
/* Collage del hero */
.nh__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.nh__fig { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .14); }
.nh__fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nh__fig--main { grid-column: 1 / 3; aspect-ratio: 16/10; }
.nh__fig--a, .nh__fig--b { aspect-ratio: 1/1; }

/* Historia (2 columnas) */
.st { background: var(--paper, #f4f6f3); padding: clamp(56px, 7vw, 96px) 0; }
.st__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.st__k { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--g); }
.st__h { font-size: clamp(28px, 3.4vw, 44px); font-weight: 300; letter-spacing: -.02em; margin: 10px 0 18px; color: var(--ink); }
.st p { color: #3a3a34; font-weight: 500; margin-bottom: 14px; max-width: 520px; }
.st__media { position: relative; }
.st__vis { aspect-ratio: 4/3; border-radius: 26px; background: #dfe6df center/cover; box-shadow: 0 24px 60px rgba(0, 0, 0, .14); }
.st__inset { position: absolute; right: -14px; bottom: -28px; width: 46%; margin: 0; border-radius: 20px; overflow: hidden; border: 6px solid var(--paper, #f4f6f3); box-shadow: 0 20px 44px rgba(0, 0, 0, .18); }
.st__inset img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }

/* Cómo trabajamos (3 pasos) — sección oscura con esquinas superiores redondeadas */
.hw {
	background: var(--ink2, #0c0d0a);
	color: #fff;
	padding: clamp(60px, 8vw, 104px) 0 clamp(64px, 8vw, 108px);
	border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
	margin-top: clamp(24px, 4vw, 56px);
}
.hw__head { max-width: 720px; }
.hw__ey { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #7fd29c; }
.hw__h { font-size: clamp(30px, 3.8vw, 50px); font-weight: 300; letter-spacing: -.02em; max-width: 680px; color: #fff; margin-top: 14px; }
.hw__sub { color: rgba(255, 255, 255, .72); font-weight: 500; margin-top: 14px; max-width: 580px; line-height: 1.6; }
.hw__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.hw__c { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 32px; transition: .16s; }
.hw__c:hover { border-color: rgba(127, 210, 156, .5); background: rgba(255, 255, 255, .06); }
.hw__n { width: 46px; height: 46px; border-radius: 13px; background: rgba(127, 210, 156, .14); color: #7fd29c; display: flex; align-items: center; justify-content: center; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 20px; }
.hw__c h3 { font-size: 19px; font-weight: 700; margin: 20px 0 9px; color: #fff; }
.hw__c p { color: rgba(255, 255, 255, .74); font-weight: 500; font-size: 15px; line-height: 1.6; }
.hw__c strong { color: #fff; font-weight: 700; }

/* Valores (banda verde) */
.vl { background: var(--gd); color: #fff; padding: clamp(56px, 7vw, 90px) 0; }
.vl__head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.vl__ey { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8fe3ad; }
.vl__h { font-size: clamp(28px, 3.4vw, 46px); color: #fff; margin-top: 12px; }
.vl__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.vl__c { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .22); }
.vl__c h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.vl__c p { color: rgba(255, 255, 255, .82); font-weight: 500; font-size: 14.5px; line-height: 1.6; }

/* Dónde estamos (mapa + datos + CTA) — Nosotros */
.lc { display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; }
.lc__map { min-height: 420px; background: #e9efe9; }
.lc__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.lc__info { padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 56px); background: var(--paper, #f4f6f3); }
.lc__ey { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--g); display: block; margin-bottom: 12px; }
.lc__h { font-size: clamp(28px, 3.2vw, 42px); font-weight: 300; letter-spacing: -.02em; color: var(--ink); }
.lc__list { margin-top: 24px; display: grid; gap: 14px; }
.lc__row { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.lc__row svg { width: 20px; height: 20px; color: var(--g); flex: 0 0 auto; }
.lc__cta { display: inline-flex; align-items: center; gap: 9px; margin-top: 28px; background: var(--g); color: #fff; font-weight: 700; padding: 15px 26px; border-radius: 999px; transition: .16s; }
.lc__cta:hover { background: var(--gd); color: #fff; }

/* =========================================================================
   Sostenibilidad (stats) — portado de home.css para esta página
   ========================================================================= */
.sost { background: #0c3b24; color: #fff; padding: clamp(60px, 8vw, 96px) 28px; }
.sost__head { max-width: 820px; margin: 0 auto 56px; text-align: center; }
.sost__eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #7fd29c; margin-bottom: 14px; }
.sost__t { font-size: clamp(34px, 4.6vw, 60px); line-height: 1; margin-bottom: 16px; color: #fff; }
.sost__s { color: rgba(255, 255, 255, .78); font-size: 18px; line-height: 1.5; }
.sost__grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.sost__n { display: block; font-family: 'Manrope', sans-serif; font-weight: 300; font-size: clamp(60px, 7vw, 100px); line-height: 1; letter-spacing: -.03em; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .18); margin-bottom: 18px; }
.sost__it { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; margin-bottom: 8px; color: #fff; }
.sost__ic { width: 22px; height: 22px; color: #7fd29c; flex: 0 0 auto; }
.sost__d { color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 1.6; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
	.nh__grid { grid-template-columns: 1fr; gap: clamp(32px, 6vw, 48px); }
	.nh__media { max-width: 560px; }
}
@media (max-width: 780px) {
	.sost__grid { grid-template-columns: 1fr; gap: 40px; }
	.st__inset { width: 44%; right: 0; bottom: -20px; }
}
@media (max-width: 920px) {
	.ct__grid, .map { grid-template-columns: 1fr; }
	.ct__form { order: -1; }
	.map__frame { min-height: 280px; }
}
@media (max-width: 900px) {
	.st__grid, .lc { grid-template-columns: 1fr; }
	.hw__grid, .vl__grid { grid-template-columns: 1fr 1fr; }
	.lc__map { min-height: 300px; }
}
@media (max-width: 560px) {
	.hw__grid, .vl__grid { grid-template-columns: 1fr; }
}

/* Aceptación CF7: checkbox + texto en flujo inline (fiable en móvil). */
.gsj-cf7__legal{display:block;line-height:1.5}
.gsj-cf7__legal .wpcf7-form-control-wrap,.gsj-cf7__legal .wpcf7-acceptance,.gsj-cf7__legal .wpcf7-list-item{display:inline;margin:0;width:auto;padding:0}
.gsj-cf7__legal label{display:inline;font-size:inherit;font-weight:500;color:inherit;cursor:pointer}
.gsj-cf7__legal input[type=checkbox]{width:16px;height:16px;vertical-align:-3px;margin:0 7px 0 0;accent-color:var(--g);cursor:pointer}
.gsj-cf7__legal a{color:var(--g);text-decoration:underline;text-underline-offset:2px}
