/* =========================================================================
 * Torres Marketing Web — Sitio multipágina · estética editorial premium
 * ====================================================================== */

.tmw {
	--ink: #0e1512;          /* texto principal (verde-negro) */
	--ink-2: #39443f;        /* texto secundario, AA en claro */
	--paper: #fbfbf9;        /* base casi blanca, neutra */
	--sand: #f1f4f1;         /* superficie alterna fría con leve verde */
	--sand-2: #e7ebe7;
	--line: #e2e7e2;
	--muted: #51605a;        /* texto atenuado, AA (≈6.5:1 en claro) */
	--green: #00c853;        /* verde marca (rellenos, dot, acento) */
	--green-strong: #0a7d3a; /* verde oscuro para TEXTO/enlaces, AA */
	--green-ink: #04271a;    /* texto oscuro sobre verde claro */
	--dark: #07291b;         /* secciones oscuras = verde bosque profundo */
	--radius: 16px;
	--radius-lg: 24px;
	--maxw: 1240px;
	--pad: clamp(20px, 5vw, 80px);
	--font: 'Inter', 'Work Sans', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	/* Curvas de easing fuertes (más intencionales que las nativas) */
	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

.tmw *, .tmw *::before, .tmw *::after { box-sizing: border-box; }
.tmw {
	font-family: var(--font);
	color: var(--ink);
	background: var(--paper);
	line-height: 1.62;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-feature-settings: "kern", "liga", "calt";
	/* clip (no hidden): evita scroll horizontal SIN romper position:sticky del header */
	overflow-x: clip;
}
.tmw img { max-width: 100%; height: auto; display: block; }
.tmw a { color: inherit; text-decoration: none; }
.tmw ul, .tmw ol { margin: 0; padding: 0; list-style: none; }
.tmw h1, .tmw h2, .tmw h3, .tmw p, .tmw blockquote, .tmw figure { margin: 0; }
html, body { overflow-x: clip; }

.tmw-container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ----- Tipografía de secciones ----- */
.tmw-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.tmw-eyebrow--light { color: #bfd1c8; }
.tmw-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.tmw-stag { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-strong); margin-bottom: 16px; }
.tmw-stag--light { color: var(--green); }
.tmw-stitle { font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.08; font-weight: 800; letter-spacing: -.025em; max-width: 20ch; text-wrap: balance; }
.tmw-stitle--light { color: #fff; }
.tmw-stitle--sm { font-size: clamp(1.35rem, 2.4vw, 1.85rem); letter-spacing: -.02em; max-width: 24ch; }
.tmw-slead { margin-top: 18px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.tmw-slead--light { color: #c2d3ca; }
.tmw-text { margin-top: 16px; color: var(--ink-2); }
.tmw-shead { max-width: 820px; margin-bottom: clamp(34px, 5vw, 60px); }
.tmw-shead--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }

.tmw-section { padding-block: clamp(76px, 9vw, 132px); }
.tmw-section--sand { background: var(--sand); }

/* ----- Botones ----- */
.tmw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 15px 28px; border-radius: 999px;
	font-weight: 600; font-size: 15px; line-height: 1.2; text-align: center;
	cursor: pointer; border: 1.5px solid transparent;
	transition: transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out), background 200ms var(--ease-out), color 200ms var(--ease-out), border-color 200ms var(--ease-out);
	max-width: 100%;
}
.tmw-btn--sm { padding: 11px 20px; font-size: 14px; }
.tmw-btn--block { width: 100%; justify-content: space-between; padding: 18px 24px; background: var(--paper); border-color: var(--line); color: var(--ink); font-weight: 700; }
.tmw-btn--block::after { content: "→"; color: var(--green-strong); }
.tmw-btn--block:hover { border-color: var(--green); transform: translateX(2px); }
.tmw-btn--primary { background: var(--green); color: var(--green-ink); font-weight: 700; }
.tmw-btn--primary:hover { background: #00b84c; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,150,70,.32); }
.tmw-btn--dark { background: var(--ink); color: #fff; }
.tmw-btn--dark:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(8,20,15,.22); }
.tmw-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.tmw-btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.tmw-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.tmw-btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
/* Feedback de presión: confirma que la interfaz "escuchó" el clic */
.tmw-btn:active { transform: scale(0.97); transition-duration: 100ms; }
.tmw-btn--block:active { transform: scale(0.985); }
/* Blindaje de color de texto (evita que a:visited del tema atenúe los botones) */
.tmw-btn--primary, .tmw-btn--primary:visited { color: var(--green-ink); }
.tmw-btn--dark, .tmw-btn--dark:visited { color: #fff; }
.tmw-btn--ghost, .tmw-btn--ghost:visited { color: var(--ink); }
.tmw-btn--ghost-light, .tmw-btn--ghost-light:visited { color: #fff; }
.tmw-btn--block, .tmw-btn--block:visited { color: var(--ink); }
.tmw-link:visited { color: var(--green-strong); }
.tmw-nav__link:visited { color: var(--ink-2); }

.tmw-link { display: inline-flex; align-items: center; gap: 6px; color: var(--green-strong); font-weight: 700; font-size: 15px; margin-top: auto; }
.tmw-link:hover { color: var(--green-ink); }
.tmw-linkarrow { font-weight: 700; color: var(--ink); white-space: nowrap; }
.tmw-linkarrow:hover { color: var(--green-strong); }

/* ----- Header ----- */
.tmw-header { position: sticky; top: 0; z-index: 50; background: rgba(251,251,249,.92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .25s var(--ease-out); }
.tmw-header.is-stuck { box-shadow: 0 8px 30px rgba(8,20,15,.08); }
.tmw-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; }
.tmw-brand__logo { max-height: 42px; width: auto; }
.tmw-brand__text { font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.tmw-nav__list { display: flex; align-items: center; gap: 2px; }
.tmw-nav__link { padding: 9px 14px; font-size: 15px; font-weight: 500; color: var(--ink-2); border-radius: 10px; transition: background .15s ease, color .15s ease; }
.tmw-nav__link:hover { background: var(--sand); color: var(--ink); }
.tmw-nav__link.is-active { color: var(--ink); font-weight: 700; }
.tmw-nav__cta { margin-left: 10px; }
.tmw-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.tmw-burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin-inline: auto; transition: transform .25s ease, opacity .2s ease; }
.tmw-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tmw-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tmw-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Figuras ----- */
.tmw-figure { border-radius: var(--radius-lg); overflow: hidden; background: var(--sand-2); }
.tmw-figure img { width: 100%; height: 100%; object-fit: cover; }
.tmw-figure--empty { display: grid; place-items: center; aspect-ratio: 4/3; border: 1px solid var(--line); background: radial-gradient(120% 120% at 15% 0%, rgba(0,200,83,.10), transparent 46%), linear-gradient(150deg, var(--sand), var(--sand-2)); }
.tmw-figure__ph { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .02em; padding: 16px; text-align: center; max-width: 30ch; }
.tmw-figure--hero { aspect-ratio: 4/4.4; }
.tmw-figure--tall { aspect-ratio: 4/4.2; }
.tmw-figure--portrait { aspect-ratio: 4/4.7; }

/* ----- Hero home ----- */
.tmw-hero { padding-block: clamp(48px, 7vw, 96px); }
.tmw-hero__grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.tmw-hero__title { font-size: clamp(2.1rem, 5.4vw, 3.9rem); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; max-width: 16ch; }
.tmw-hero__lead { margin-top: 24px; font-size: clamp(1.05rem, 1.5vw, 1.26rem); color: var(--muted); max-width: 52ch; }
.tmw-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ----- Hero principal con imagen + formulario (estilo lead-gen) ----- */
.tmw-hero2 { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(560px, 78vh, 760px); padding-block: clamp(36px, 5vw, 64px); overflow: hidden; }
.tmw-hero2__bg { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.tmw-hero2__bg.tmw-figure--empty { border: 0; }
.tmw-hero2__bg img { width: 100%; height: 100%; object-fit: cover; }
.tmw-hero2__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(4,20,13,.94) 0%, rgba(4,20,13,.82) 38%, rgba(4,20,13,.5) 70%, rgba(4,20,13,.36) 100%); }
.tmw-hero2__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; width: 100%; }
.tmw-hero2__content { color: #fff; }
.tmw-hero2__stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); margin-bottom: 30px; }
.tmw-hero2__stat { display: flex; flex-direction: column; }
.tmw-hero2__statnum { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tmw-hero2__statlabel { margin-top: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #aebfb6; max-width: 18ch; }
.tmw-hero2__title { font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; max-width: 17ch; text-wrap: balance; }
.tmw-hero2__title strong { color: var(--green); font-weight: 800; }
.tmw-hero2__lead { margin-top: 20px; font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: #d2ddd6; max-width: 46ch; }
.tmw-hero2__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Tarjeta de formulario */
.tmw-leadform { background: var(--paper); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: clamp(20px, 2.4vw, 30px); box-shadow: 0 30px 80px rgba(4,20,13,.4); }
.tmw-leadform__title { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 800; letter-spacing: -.01em; }
.tmw-leadform__q { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 16px 0 10px; }
.tmw-leadform__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.tmw-chip { cursor: pointer; }
.tmw-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.tmw-chip span { display: inline-flex; align-items: center; padding: 9px 15px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: border-color .15s var(--ease-out), background .15s var(--ease-out), color .15s var(--ease-out); }
.tmw-chip input:checked + span { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.tmw-chip input:focus-visible + span { outline: 3px solid var(--green-strong); outline-offset: 2px; }
.tmw-leadform__fields { display: grid; gap: 10px; margin-top: 16px; }
.tmw-leadform input[type="text"], .tmw-leadform input[type="email"], .tmw-leadform input[type="tel"] { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .15s var(--ease-out); }
.tmw-leadform input::placeholder { color: #7e8a83; }
.tmw-leadform input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,200,83,.16); }
.tmw-leadform__submit { width: 100%; margin-top: 18px; }
.tmw-leadform__note { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ----- Barra lateral de redes sociales (hero) ----- */
.tmw-social-rail { position: absolute; left: clamp(14px, 1.8vw, 30px); top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; gap: 12px; }
.tmw-social-rail a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; transition: background .18s var(--ease-out), border-color .18s var(--ease-out), transform .18s var(--ease-out); }
.tmw-social-rail a:hover { background: var(--green); border-color: var(--green); color: var(--green-ink); transform: translateY(-3px); }
.tmw-social-rail a:active { transform: scale(0.94); }
.tmw-social-rail svg { width: 19px; height: 19px; fill: currentColor; }
@media (max-width: 1180px) { .tmw-social-rail { display: none; } }

/* ----- Prensa (tarjetas con logo opcional) ----- */
.tmw-press__logo { display: block; height: 30px; margin-bottom: 4px; }
.tmw-press__logo img { height: 100%; width: auto; object-fit: contain; }
.tmw-press__date { font-size: 13px; color: var(--muted); }

/* ----- Stat band ----- */
.tmw-statband { border-block: 1px solid var(--line); }
.tmw-statband__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.tmw-statband__item { padding: clamp(28px, 4vw, 48px) 28px; border-right: 1px solid var(--line); }
.tmw-statband__item:last-child { border-right: 0; }
.tmw-statband__num { display: block; font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tmw-statband__label { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }

/* ----- Lead 2 col ----- */
.tmw-lead2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.tmw-lead2__p { color: var(--muted); font-size: 1.05rem; }

/* ----- Area list ----- */
.tmw-arealist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tmw-area { background: var(--paper); padding: 34px 30px; transition: background .2s ease; }
.tmw-area:hover { background: var(--sand); }
.tmw-area__idx { font-size: 13px; font-weight: 800; color: var(--green-strong); letter-spacing: .05em; }
.tmw-area__title { margin-top: 14px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.tmw-area__text { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ----- Banda full-bleed con imagen ----- */
.tmw-band { position: relative; min-height: clamp(340px, 46vw, 520px); display: flex; align-items: center; overflow: hidden; }
.tmw-band__bg { position: absolute; inset: 0; border-radius: 0; }
.tmw-band__bg.tmw-figure--empty { border: 0; }
.tmw-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.tmw-band__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,22,14,.9) 0%, rgba(4,22,14,.66) 50%, rgba(4,22,14,.42) 100%); }
.tmw-band__inner { position: relative; max-width: 800px; padding-block: 64px; }
.tmw-band__quote { color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.22; letter-spacing: -.025em; text-wrap: balance; }
.tmw-band__inner .tmw-btn { margin-top: 28px; }

/* ----- Cards ----- */
.tmw-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tmw-cards2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tmw-card, .tmw-service { display: flex; flex-direction: column; gap: 12px; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tmw-section--sand .tmw-card, .tmw-section--sand .tmw-service, .tmw-section--sand .tmw-resource { background: #fff; }
.tmw-card:hover, .tmw-service:hover { box-shadow: 0 18px 40px rgba(8,20,15,.08); border-color: #c2ddca; }
.tmw-card:active, .tmw-service:active { transform: scale(0.995); }
.tmw-card__title, .tmw-service__title { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.tmw-card__text, .tmw-service__desc { color: var(--muted); font-size: 15px; }

/* ----- Proceso ----- */
.tmw-process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.tmw-process__item { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 2px solid var(--ink); }
.tmw-process__num { font-size: 14px; font-weight: 800; letter-spacing: .05em; color: var(--green-strong); }
.tmw-process__title { font-size: 19px; font-weight: 700; }
.tmw-process__text { color: var(--muted); font-size: 14px; }

/* ----- Feature (split imagen + texto) ----- */
.tmw-feature { padding-block: clamp(56px, 8vw, 110px); }
.tmw-feature--dark { background: var(--dark); color: #fff; }
.tmw-feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.tmw-feature__grid--rev .tmw-feature__media { order: 2; }
.tmw-feature__media .tmw-figure { aspect-ratio: 4/3.1; }
.tmw-feature__media .tmw-figure--portrait { aspect-ratio: 4/4.7; }

/* ----- Checklist ----- */
.tmw-check { margin-top: 24px; display: grid; gap: 13px; }
.tmw-check--grid { grid-template-columns: 1fr 1fr; gap: 13px 32px; margin-top: 8px; }
.tmw-check li { position: relative; padding-left: 32px; color: var(--ink-2); font-size: 15.5px; }
.tmw-feature--dark .tmw-check li { color: #cddbd4; }
.tmw-check li::before { content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304271a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; }

.tmw-pullquote { margin-top: 40px; padding: 28px 32px; border-left: 4px solid var(--green); background: var(--paper); border-radius: 0 16px 16px 0; font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.tmw-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ----- Mini horizontal stats (impacto) ----- */
.tmw-minihstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(40px, 5vw, 64px); }
.tmw-minihstat { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); }
.tmw-minihstat__num { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--green); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tmw-minihstat__label { display: block; margin-top: 6px; color: #b6c7be; font-size: 14px; }

/* ----- Tags / rubros ----- */
.tmw-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tmw-tag { font-size: 15px; font-weight: 600; background: var(--paper); border: 1px solid var(--line); padding: 12px 20px; border-radius: 999px; transition: border-color .15s ease, transform .15s ease; }
.tmw-tag:hover { border-color: var(--green); }

/* ----- Logos clientes ----- */
.tmw-logogrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tmw-logocard { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; min-height: 116px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .18s ease, box-shadow .18s ease; }
.tmw-logocard:hover { box-shadow: 0 14px 32px rgba(8,20,15,.07); }
.tmw-logocard__logo img { max-height: 48px; width: auto; object-fit: contain; }
.tmw-logocard__name { font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.tmw-logocard__cat { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-strong); }

/* ----- Prensa ----- */
.tmw-press { display: flex; flex-direction: column; gap: 12px; padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tmw-press:hover { box-shadow: 0 18px 40px rgba(8,20,15,.08); border-color: #c2ddca; }
.tmw-press__src { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-strong); }
.tmw-press__title { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.tmw-press__link { color: var(--muted); font-weight: 600; font-size: 14px; }

/* ----- Recursos ----- */
.tmw-resource { display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }
.tmw-resource:hover { box-shadow: 0 18px 40px rgba(8,20,15,.08); }
.tmw-resource__img { border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; background: var(--sand-2); }
.tmw-resource__img img { width: 100%; height: 100%; object-fit: cover; }
.tmw-resource__title { font-size: 18px; font-weight: 700; }
.tmw-resource__text { font-size: 14px; color: var(--muted); flex: 1; }

/* ----- Page hero (interiores) ----- */
.tmw-phero { padding-block: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.tmw-phero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.tmw-phero__title { font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.07; font-weight: 800; letter-spacing: -.03em; max-width: 18ch; }
.tmw-phero__lead { margin-top: 18px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 56ch; }

/* ----- CTA band ----- */
.tmw-ctaband { background: var(--dark); color: #fff; }
.tmw-ctaband__inner { max-width: 820px; margin-inline: auto; text-align: center; padding-block: clamp(76px, 9vw, 132px); }
.tmw-ctaband__title { font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; text-wrap: balance; }
.tmw-ctaband__lead { margin-top: 18px; color: #c2d3ca; font-size: 1.12rem; max-width: 56ch; margin-inline: auto; }
.tmw-ctaband__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* ----- Contacto ----- */
.tmw-contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.tmw-contact__ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; max-width: 460px; }
.tmw-contact__card { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; }
.tmw-contact__h { font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.tmw-contact__list { display: grid; gap: 16px; }
.tmw-contact__list li { display: flex; flex-direction: column; gap: 2px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.tmw-contact__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.tmw-contact__list span:first-child { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tmw-contact__list a { font-weight: 700; }
.tmw-contact__list a:hover { color: var(--green-strong); }

/* ----- Footer ----- */
.tmw-footer { background: #061b12; color: #a9bab2; padding-top: clamp(64px, 7vw, 96px); padding-bottom: 32px; }
.tmw-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.tmw-footer__brand { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.tmw-footer__tag { margin-top: 14px; font-size: 14px; max-width: 38ch; }
.tmw-footer__brandcol .tmw-btn { margin-top: 22px; }
.tmw-footer__h { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8aa399; margin-bottom: 18px; }
.tmw-footer__col ul { display: grid; gap: 12px; }
.tmw-footer__col a, .tmw-footer__loc { font-size: 15px; color: #cddcd4; }
.tmw-footer__col a:hover { color: var(--green); }
.tmw-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: clamp(44px, 5vw, 68px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #7f968d; }

/* ----- FAB ----- */
.tmw-fab { position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 60; display: inline-flex; align-items: center; gap: 9px; padding: 14px 18px; background: var(--green); color: var(--green-ink); font-weight: 700; font-size: 14px; border-radius: 999px; box-shadow: 0 12px 32px rgba(0,166,75,.35); transition: transform .2s ease, box-shadow .2s ease; }
.tmw-fab:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,166,75,.45); }
.tmw-fab:active { transform: scale(0.96); transition-duration: 100ms; }

/* ----- Reveal (entrada al hacer scroll) ----- */
.tmw-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.tmw-reveal.is-visible { opacity: 1; transform: none; }

/* Zoom sutil de imágenes en bandas/feature (solo con mouse real) */
.tmw-band__bg img, .tmw-feature__media .tmw-figure img { transition: transform .7s var(--ease-out); will-change: transform; }

@media (hover: hover) and (pointer: fine) {
	.tmw-card:hover, .tmw-service:hover, .tmw-press:hover, .tmw-resource:hover { transform: translateY(-4px); }
	.tmw-logocard:hover { transform: translateY(-3px); }
	.tmw-tag:hover { transform: translateY(-2px); }
	.tmw-band:hover .tmw-band__bg img,
	.tmw-feature__media:hover .tmw-figure img { transform: scale(1.04); }
}

/* =========================================================================
 * RESPONSIVE
 * ====================================================================== */
@media (max-width: 1024px) {
	.tmw-arealist { grid-template-columns: repeat(2, 1fr); }
	.tmw-process { grid-template-columns: repeat(2, 1fr); }
	.tmw-cards3 { grid-template-columns: repeat(2, 1fr); }
	.tmw-logogrid { grid-template-columns: repeat(3, 1fr); }
	.tmw-statband__grid { grid-template-columns: repeat(2, 1fr); }
	.tmw-statband__item:nth-child(2) { border-right: 0; }
	.tmw-statband__item:nth-child(1), .tmw-statband__item:nth-child(2) { border-bottom: 1px solid var(--line); }
	.tmw-minihstats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
	.tmw-burger { display: flex; }
	.tmw-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 40px rgba(8,20,15,.1); max-height: 0; overflow: hidden; transition: max-height .32s var(--ease-out); }
	.tmw-nav.is-open { max-height: 560px; }
	.tmw-nav__list { flex-direction: column; align-items: stretch; gap: 2px; padding: 16px var(--pad); }
	.tmw-nav__link { padding: 14px 12px; font-size: 16px; }
	.tmw-nav__cta { margin: 8px 0 4px; }
	.tmw-nav__cta .tmw-btn { width: 100%; }

	.tmw-hero__grid { grid-template-columns: 1fr; }
	.tmw-hero__media { order: -1; }
	.tmw-hero2 { min-height: 0; }
	.tmw-hero2__grid { grid-template-columns: 1fr; gap: 36px; }
	.tmw-hero2__scrim { background: linear-gradient(180deg, rgba(4,20,13,.9), rgba(4,20,13,.86)); }
	.tmw-lead2 { grid-template-columns: 1fr; gap: 18px; }
	.tmw-feature__grid { grid-template-columns: 1fr; }
	.tmw-feature__grid--rev .tmw-feature__media { order: -1; }
	.tmw-phero__grid { grid-template-columns: 1fr; }
	.tmw-contact { grid-template-columns: 1fr; }
	.tmw-cards2 { grid-template-columns: 1fr; }
	.tmw-footer__grid { grid-template-columns: 1fr 1fr; }
	.tmw-footer__brandcol { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
	.tmw { font-size: 16px; }
	.tmw-arealist { grid-template-columns: 1fr; }
	.tmw-process { grid-template-columns: 1fr; }
	.tmw-cards3 { grid-template-columns: 1fr; }
	.tmw-logogrid { grid-template-columns: 1fr 1fr; }
	.tmw-statband__grid { grid-template-columns: 1fr 1fr; }
	.tmw-minihstats { grid-template-columns: 1fr 1fr; }
	.tmw-hero__actions .tmw-btn, .tmw-ctaband__actions .tmw-btn { width: 100%; }
	.tmw-footer__grid { grid-template-columns: 1fr; }
	.tmw-fab span { display: none; }
	.tmw-fab { padding: 15px; }
}

@media (prefers-reduced-motion: reduce) {
	/* Conserva fundidos de opacidad/color, elimina movimiento */
	.tmw *, .tmw *::before, .tmw *::after { transition-property: opacity, color, background-color, border-color, box-shadow !important; animation: none !important; }
	.tmw-reveal { opacity: 1 !important; transform: none !important; }
}

.tmw a:focus-visible, .tmw button:focus-visible { outline: 3px solid var(--green-strong); outline-offset: 2px; border-radius: 6px; }
