/* ==========================================================================
   Grupo Finestrat Natura — Hoja de estilos principal
   Mobile-first. Variables CSS para marca de grupo + acento por división.
   ========================================================================== */

:root {
  /* Marca de grupo */
  --dark: #102b27;
  --dark-2: #163b35;
  --dark-3: #0b201d;
  --orange: #e8632a;
  --orange-dark: #c14f1e;
  --cream: #f7f5f0;
  --white: #ffffff;
  --text: #1c2a27;
  --muted: #5c6b67;
  --border: #e3e0d8;

  /* Acento por división (por defecto = grupo) */
  --accent: var(--orange);
  --accent-dark: var(--orange-dark);

  /* Tipografía */
  --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(16, 43, 39, 0.12);
  --shadow-sm: 0 4px 14px rgba(16, 43, 39, 0.08);
  --header-h: 76px;
}

/* Divisiones: color de acento propio manteniendo la identidad del grupo */
body.div-natura   { --accent: #3f8f4d; --accent-dark: #2f6b3a; }
body.div-vial     { --accent: #e8632a; --accent-dark: #c14f1e; }
body.div-obras    { --accent: #4a6572; --accent-dark: #34474f; }
body.div-forat    { --accent: #b5651d; --accent-dark: #8f4f16; }
body.div-forestal { --accent: #2f6b3a; --accent-dark: #1f4a27; }

/* ---- Reset básico ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--dark);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1em; color: var(--text); }
.lead { font-size: 1.15rem; color: var(--muted); }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.bg-cream { background: var(--cream); }
.bg-dark { background: var(--dark); color: #eef3f1; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.text-center { text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head.align-left { margin-left: 0; text-align: left; }

/* ---- Botones ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 26px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-3); }
.btn-outline { border-color: currentColor; color: var(--dark); background: transparent; }
.btn-outline:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--dark); }
.btn-block { width: 100%; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 42px; width: auto; flex: none; }
.brand-has-logo { height: 100%; }
.brand-logo-full { height: 46px; width: auto; max-width: 220px; object-fit: contain; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--dark); }
.brand-name span { color: var(--accent); }
.brand-tag { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--dark);
  padding: 8px 0;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--accent); }

.main-nav li.has-dropdown { position: relative; }
.main-nav .dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; background: none; border: none; cursor: pointer; font: inherit; }
.main-nav .dropdown-toggle svg { width: 14px; height: 14px; transition: transform .15s ease; }
.main-nav li.has-dropdown:hover .dropdown-toggle svg,
.main-nav li.has-dropdown:focus-within .dropdown-toggle svg { transform: rotate(180deg); }
.main-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 340px;
  padding: 14px;
  display: grid;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  translate: 0 6px;
  transition: opacity .15s ease, translate .15s ease, visibility .15s;
  z-index: 50;
}
.main-nav li.has-dropdown:hover .dropdown,
.main-nav li.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; translate: 0 0; }
.main-nav .dropdown li { width: 100%; }
.main-nav .dropdown a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
}
.main-nav .dropdown li:not(:last-child) a { border-bottom: 1px solid var(--border); border-radius: 10px 10px 0 0; }
.main-nav .dropdown a:hover { background: var(--cream); }
.main-nav .dropdown a::after { display: none; }
.main-nav .dropdown a img { width: 40px; height: 40px; border-radius: 10px; flex: none; object-fit: cover; }
.main-nav .dropdown a span { display: flex; flex-direction: column; gap: 3px; }
.main-nav .dropdown a strong { font-size: .94rem; color: var(--dark); line-height: 1.2; }
.main-nav .dropdown a small { font-size: .78rem; color: var(--muted); font-weight: 500; line-height: 1.3; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; gap: 4px; font-family: var(--font-head); font-weight: 700; font-size: .78rem; }
.lang-switch a { padding: 6px 8px; border-radius: 6px; color: var(--muted); }
.lang-switch a.active { color: var(--white); background: var(--dark); }
.header-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 499;
  overflow-y: auto;
  padding: 24px 20px 40px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 14px 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a.active { color: var(--accent); }
.mobile-nav .btn { margin-top: 20px; }
.mobile-lang { display: flex; gap: 10px; margin-top: 24px; }
.mobile-lang a { flex: 1; text-align: center; padding: 10px; border: 1px solid var(--border); border-radius: 8px; font-weight: 700; }
.mobile-lang a.active { background: var(--dark); color: #fff; border-color: var(--dark); }

body.nav-open { overflow: hidden; }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 64px 0 72px;
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 55%, var(--dark) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  width: 70%;
  height: 160%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  opacity: .3;
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  left: -15%;
  bottom: -40%;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  opacity: .14;
  pointer-events: none;
}
.hero.media-left .hero-media { order: -1; }
.hero-watermark {
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  color: #fff;
  opacity: .07;
  pointer-events: none;
  z-index: 0;
}
.hero.media-left .hero-watermark { right: auto; left: 2%; }
.hero-watermark svg { width: 100%; height: 100%; }
@media (max-width: 859px) { .hero-watermark { width: 200px; height: 200px; opacity: .06; } }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
  align-items: center;
}
.hero-copy .eyebrow { color: #ffb488; color: color-mix(in srgb, var(--accent) 65%, white 35%); }
.hero-copy .eyebrow::before { background: var(--accent); }
.hero h1 { color: #fff; }
.hero .lead { color: #d7e2de; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.hero-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  background: rgba(255,255,255,.08);
  color: #eaf2ef;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
}
.hero-assurance svg { width: 16px; height: 16px; color: color-mix(in srgb, var(--accent) 65%, white 35%); flex: none; }
.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: #1a3a34 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"><rect width="4" height="4" fill="%231a3a34"/></svg>');
  display: flex;
  align-items: center;
  justify-content: center;
}
.group-hero-media { aspect-ratio: 3/4; background: var(--dark-3); max-width: 420px; margin: 0 auto; }
.group-hero-img { object-fit: cover; }
.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: #fff; }
.stat-num span { color: var(--accent); }
.stat-label { font-size: .85rem; color: #b9c8c3; }

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Image placeholder ---- */
.img-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  padding: 20px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.06) 10px, transparent 10px, transparent 20px), #1a3a34;
  color: #cfe0da;
  border-radius: inherit;
}
.img-placeholder svg { width: 34px; height: 34px; opacity: .8; }
.img-placeholder small { font-size: .72rem; color: #9db3ac; max-width: 26ch; }
.img-placeholder.light { background: repeating-linear-gradient(135deg, rgba(16,43,39,.05), rgba(16,43,39,.05) 10px, transparent 10px, transparent 20px), #eef2f0; color: var(--muted); }
.img-placeholder.light small { color: var(--muted); }

/* ---- Barra de salto rápido a cada empresa (home) ---- */
.jump-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 4px 10px;
  margin: -4px -4px 8px;
  scrollbar-width: thin;
}
.jump-nav a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 16px 8px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .86rem;
  color: var(--dark);
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.jump-nav a img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  flex: none;
}
.jump-nav a:hover { border-color: var(--jn-accent, var(--accent)); color: var(--jn-accent, var(--accent)); background: var(--cream); }
.jump-nav a.jn-natura   { --jn-accent: #3f8f4d; }
.jump-nav a.jn-vial     { --jn-accent: #e8632a; }
.jump-nav a.jn-obras    { --jn-accent: #4a6572; }
.jump-nav a.jn-forat    { --jn-accent: #b5651d; }
.jump-nav a.jn-forestal { --jn-accent: #2f6b3a; }

/* ---- Rutas de servicio para elegir por necesidad antes que por empresa ---- */
.service-route-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.service-route-card {
  --sr-accent: var(--accent);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.service-route-card:hover {
  transform: translateY(-3px);
  border-color: var(--sr-accent);
  box-shadow: var(--shadow);
}
.service-route-card .ic {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--sr-accent) 14%, white 86%);
  color: var(--sr-accent);
  margin-bottom: 16px;
}
.service-route-card .ic svg { width: 23px; height: 23px; }
.service-route-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.service-route-card p { margin-bottom: 18px; color: var(--muted); font-size: .92rem; }
.service-route-card span {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sr-accent);
}
.service-route-card.sr-natura { --sr-accent: #3f8f4d; }
.service-route-card.sr-vial { --sr-accent: #e8632a; }
.service-route-card.sr-obras { --sr-accent: #4a6572; }
.service-route-card.sr-forat { --sr-accent: #b5651d; }
.service-route-card.sr-forestal { --sr-accent: #2f6b3a; }
@media (min-width: 700px) { .service-route-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .service-route-grid { grid-template-columns: repeat(5, 1fr); } }

/* ---- Escaparate de empresas a pantalla completa (home) ---- */
.division-feature {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.division-feature:last-child { border-bottom: none; }
.division-feature .feature-grid {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: 1fr;
}
.division-feature .feature-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.division-feature .feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fe-accent, var(--accent));
  margin-bottom: 14px;
}
.division-feature .feature-badge .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--fe-accent, var(--accent));
  color: #fff;
  font-size: .82rem;
}
.division-feature h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; }
.division-feature .feature-desc { color: var(--muted); font-size: 1.02rem; max-width: 56ch; }
.division-feature .feature-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  margin: 20px 0 26px;
}
.division-feature .feature-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark);
}
.division-feature .feature-highlights svg { width: 18px; height: 18px; color: var(--fe-accent, var(--accent)); flex: none; margin-top: 1px; }
.division-feature .feature-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.division-feature .feature-actions .btn-primary { background: var(--fe-accent, var(--accent)); }
.division-feature .feature-actions .btn-primary:hover { filter: brightness(.92); }
.division-feature .feature-actions .btn-outline { border-color: var(--fe-accent, var(--accent)); color: var(--fe-accent, var(--accent)); }
.division-feature .feature-actions .btn-outline:hover { background: var(--fe-accent, var(--accent)); color: #fff; }
.feature-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.feature-title img {
  width: 86px;
  height: 62px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px;
  box-shadow: var(--shadow-sm);
  flex: none;
}
.feature-title h3 { margin-bottom: 0; }

.division-feature.fe-natura   { --fe-accent: #3f8f4d; }
.division-feature.fe-vial     { --fe-accent: #e8632a; }
.division-feature.fe-obras    { --fe-accent: #4a6572; }
.division-feature.fe-forat    { --fe-accent: #b5651d; }
.division-feature.fe-forestal { --fe-accent: #2f6b3a; }

@media (min-width: 900px) {
  .division-feature .feature-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .division-feature.reverse .feature-media { order: 2; }
}

/* ---- Sección "Quiénes somos" con cifras/puntos clave ---- */
.about-grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
.about-copy p { color: var(--muted); font-size: 1.02rem; }
.about-stats { display: grid; grid-template-columns: 1fr; gap: 14px; }
.about-stat {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.about-stat .ic { flex: none; width: 34px; height: 34px; border-radius: 8px; background: rgba(0,0,0,.04); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.about-stat .ic svg { width: 18px; height: 18px; }
.about-stat strong { display: block; font-family: var(--font-head); font-size: .88rem; color: var(--dark); }
.about-stat span { font-size: .8rem; color: var(--muted); }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.2fr .8fr; } }
@media (min-width: 560px) { .about-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---- Panel de salida rápida / hoja de ruta pública ---- */
.launch-panel {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(63,143,77,.08), rgba(232,99,42,.06)),
    #fff;
  box-shadow: var(--shadow-sm);
}
.launch-panel p { color: var(--muted); margin-bottom: 0; }
.launch-grid {
  display: grid;
  gap: 12px;
}
.launch-grid div {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(227,224,216,.85);
}
.launch-grid strong {
  display: block;
  font-family: var(--font-head);
  color: var(--dark);
  margin-bottom: 4px;
}
.launch-grid span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
}
@media (min-width: 900px) {
  .launch-panel { grid-template-columns: 1.05fr .95fr; }
}

/* Variantes de la sección "Quiénes somos" para diferenciar cada división */
@media (min-width: 900px) {
  .about-grid.reverse { grid-template-columns: .8fr 1.2fr; }
  .about-grid.reverse .about-copy { order: 2; }
  .about-grid.reverse .about-stats { order: 1; }
}
.about-grid.stacked { grid-template-columns: 1fr; }
.about-grid.stacked .about-copy { max-width: 68ch; }
.about-grid.stacked .about-stats { grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 560px) { .about-grid.stacked .about-stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .about-grid.stacked { grid-template-columns: 1fr; }
  .about-grid.stacked .about-stats { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Ramas de servicio con subservicios (páginas de división) ---- */
.category-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.category-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.category-card .category-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.category-card .category-icon svg { width: 26px; height: 26px; }
.category-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.category-card .category-intro { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.category-card .check-list { gap: 10px; }
.category-card .check-list li { font-size: .92rem; }
@media (min-width: 900px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Cómo trabajamos (pasos verticales) ---- */
.process-steps { display: grid; gap: 0; counter-reset: step; }
.process-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding-bottom: 30px;
  position: relative;
}
.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.process-step .step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
  flex: none;
  z-index: 1;
}
.process-step h4 { font-family: var(--font-head); margin: 4px 0 4px; font-size: 1.05rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (min-width: 860px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .process-step { grid-template-columns: 1fr; padding-bottom: 0; text-align: center; }
  .process-step .step-num { margin: 0 auto; }
  .process-step:not(:last-child)::before { left: 50%; top: 22px; width: 100%; height: 2px; }
}

/* ---- Venta cruzada entre empresas del grupo ---- */
.crosssell-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.crosssell-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  transition: border-color .15s ease, transform .15s ease;
}
.crosssell-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.crosssell-card .ic { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--cream); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.crosssell-card .ic svg { width: 20px; height: 20px; }
.crosssell-card strong { display: block; font-family: var(--font-head); font-size: .94rem; }
.crosssell-card span { font-size: .82rem; color: var(--muted); }
.crosssell-card .go { margin-left: auto; color: var(--accent); flex: none; }
.crosssell-card .go svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .crosssell-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Lista simple con check ---- */
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
@media (min-width: 700px) { .check-list.cols-2 { grid-template-columns: 1fr 1fr; } }

/* ---- Proceso / flujo de trabajo integral ---- */
.flow { display: grid; gap: 14px; }
.flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
}
.flow-step .flow-num {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
}
.flow-logo {
  width: 62px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 5px;
  flex: none;
}
.flow-step strong { display: block; font-family: var(--font-head); }
.flow-step span { color: var(--muted); font-size: .9rem; }
.flow-arrow { text-align: center; color: var(--border); font-size: 1.4rem; }
@media (min-width: 860px) {
  .flow { grid-template-columns: repeat(9, auto); align-items: center; }
  .flow-step { flex-direction: column; text-align: center; gap: 8px; }
}

/* ---- Por qué elegirnos ---- */
.why-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.why-item { display: flex; gap: 14px; }
.why-item .ic { flex: none; width: 44px; height: 44px; border-radius: 10px; background: rgba(232,99,42,.12); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.why-item .ic svg { width: 22px; height: 22px; }
.why-item h4 { font-family: var(--font-head); font-weight: 700; margin: 0 0 4px; font-size: 1rem; }
.why-item p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---- CTA banda ---- */
.cta-band {
  background: linear-gradient(120deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { opacity: .92; margin: 0; }
.cta-band .btn-outline-light { flex: none; }

/* ---- Testimonios / logos clientes (opcional simple) ---- */
.clients-strip { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.clients-strip span {
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  color: var(--muted); border: 1px solid var(--border); padding: 10px 16px; border-radius: 100px;
}

/* ---- Formulario contacto ---- */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 700px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--dark); }
input, textarea, select {
  width: 100%;
  font-family: var(--font-body);
  font-size: .96rem;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-success, .form-error {
  padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 20px;
}
.form-success { background: #e6f6ea; color: #1f6b34; border: 1px solid #bfe6c9; }
.form-error { background: #fdecec; color: #a72424; border: 1px solid #f3c4c4; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* ---- Info de contacto (tarjetas) ---- */
.contact-info-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.contact-info-card {
  display: flex; gap: 14px; padding: 20px; border-radius: var(--radius-sm);
  background: var(--cream); border: 1px solid var(--border);
}
.contact-info-card .ic { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: center; }
.contact-info-card .ic svg { width: 20px; height: 20px; }
.contact-info-card strong { display: block; font-family: var(--font-head); }
.contact-info-card a, .contact-info-card span { color: var(--muted); font-size: .92rem; }
@media (min-width: 700px) { .contact-info-grid { grid-template-columns: repeat(2, 1fr); } }

.map-load-panel {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  padding: 28px;
  background: linear-gradient(135deg, rgba(63,143,77,.09), rgba(232,99,42,.06)), #fff;
  color: var(--text);
}
.map-load-panel svg { width: 34px; height: 34px; color: var(--accent); }
.map-load-panel strong { font-family: var(--font-head); color: var(--dark); }
.map-load-panel small { max-width: 30ch; color: var(--muted); }

/* ---- Migas de pan ---- */
.breadcrumbs { padding: 16px 0; font-size: .82rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 6px; }

/* ---- Footer ---- */
.site-footer { background: var(--dark-3); color: #cfe0da; padding: 60px 0 0; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #9db3ac; max-width: 34ch; }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: .95rem; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #b9c8c3; font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--orange); border-color: var(--orange); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .8rem; color: #83968f;
}
.footer-bottom a { color: #83968f; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr repeat(3, 1fr); } }

/* ---- Botón flotante WhatsApp ---- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 14px 18px;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
}
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float .wa-text { display: none; }
@media (min-width: 560px) { .wa-float .wa-text { display: inline; } }
.wa-float:hover { transform: translateY(-2px); }

/* ---- Banner de cookies ---- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 700;
  max-width: 640px; margin: 0 auto;
  background: var(--dark); color: #dfe9e5;
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { font-size: .86rem; color: #c7d6d1; margin-bottom: 14px; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 18px; font-size: .84rem; }

/* ---- Página legal ---- */
.legal-content h2 { margin-top: 1.6em; }
.legal-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.legal-content li { margin-bottom: .4em; }

/* ---- Página 404 ---- */
.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-code { font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 12vw, 7rem); color: var(--accent); line-height: 1; }

/* ---- Galería simple (Finestrat Natura: 6 fotos, rejilla 3x2 sin huecos) ---- */
.gallery-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.gallery-grid .img-placeholder { aspect-ratio: 4/3; border-radius: var(--radius-sm); }
@media (min-width: 600px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- Antes / Después (Finestrat Natura) ---- */
.before-after-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ba-item { position: relative; aspect-ratio: 4/3; }
.ba-item .ba-label {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--dark);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  z-index: 2;
}
.ba-item.after .ba-label { background: var(--accent); }
@media (min-width: 800px) { .before-after-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Flota / maquinaria (El Forat) ---- */
.fleet-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.fleet-card { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.fleet-card .fleet-media { aspect-ratio: 4/3; }
.fleet-card .fleet-body { padding: 18px; }
.fleet-card h4 { font-family: var(--font-head); margin: 0 0 4px; font-size: 1rem; }
.fleet-card p { margin: 0; color: var(--muted); font-size: .88rem; }
@media (min-width: 700px) { .fleet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .fleet-grid { grid-template-columns: repeat(5, 1fr); } }

/* ---- Calendario de temporada (Finestrat Forestal) ---- */
.season-band { display: grid; gap: 14px; grid-template-columns: 1fr; }
.season-card {
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
}
.season-card .season-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .07em; color: var(--accent);
  margin-bottom: 10px;
}
.season-card h4 { margin: 0 0 6px; font-size: 1rem; }
.season-card p { margin: 0; color: var(--muted); font-size: .88rem; }
@media (min-width: 900px) { .season-band { grid-template-columns: repeat(4, 1fr); } }

/* ---- Proyecto destacado / spotlight (Finestrat Vial) ---- */
.spotlight {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.spotlight .spotlight-media { aspect-ratio: 4/3; }
.spotlight .spotlight-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.spotlight .spotlight-body .eyebrow { margin-bottom: 10px; }
@media (min-width: 900px) { .spotlight { grid-template-columns: 1fr 1fr; } }

/* ---- Carrusel de fotos (proyecto destacado) ---- */
.carousel { position: relative; width: 100%; height: 100%; overflow: hidden; background: #0b201d; }
.carousel-track { display: flex; height: 100%; transition: transform .45s ease; }
.carousel-track .fill-img { flex: 0 0 100%; width: 100%; height: 100%; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(16, 43, 39, .55); color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; z-index: 2; padding: 0;
}
.carousel-btn:hover { background: rgba(16, 43, 39, .8); }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; z-index: 2; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); border: none; padding: 0; cursor: pointer; }
.carousel-dots button.active { background: #fff; }

/* ---- Franja de confianza / certificaciones (Finestrat Vial) ---- */
.trust-band { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 100px;
  background: #fff; border: 1px solid var(--border);
  font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--dark);
}
.trust-item svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* ---- Timeline vertical (Finestrat Obras y Servicios) ---- */
.timeline-v { position: relative; display: grid; gap: 34px; }
.timeline-v::before { content: ""; position: absolute; left: 23px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-v .tl-item { position: relative; padding-left: 64px; }
.timeline-v .tl-num {
  position: absolute; left: 0; top: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
  z-index: 1;
}
.timeline-v h4 { margin: 0 0 6px; font-family: var(--font-head); }
.timeline-v p { margin: 0; color: var(--muted); }

/* ---- Tipos de proyecto / espacio (tarjetas compactas) ---- */
.types-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.type-card { padding: 22px 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--border); text-align: center; }
.type-card .ic {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cream); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.type-card .ic svg { width: 24px; height: 24px; }
.type-card h4 { margin: 0 0 4px; font-size: .92rem; font-family: var(--font-head); }
.type-card p { margin: 0; font-size: .8rem; color: var(--muted); }
@media (min-width: 900px) { .types-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---- Galería en mosaico (Finestrat Obras y Servicios) ---- */
.gallery-masonry { display: grid; gap: 14px; grid-template-columns: 1fr; }
.gallery-masonry > :first-child { grid-column: span 1; }
.gallery-masonry > :first-child .img-placeholder { aspect-ratio: 16/8; }
.gallery-masonry .img-placeholder { aspect-ratio: 4/3; border-radius: var(--radius-sm); }
@media (min-width: 560px) {
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry > :first-child { grid-column: span 2; }
}
@media (min-width: 800px) {
  .gallery-masonry { grid-template-columns: repeat(4, 1fr); }
  .gallery-masonry > :first-child { grid-column: span 2; grid-row: span 2; }
  .gallery-masonry > :first-child .img-placeholder { aspect-ratio: auto; height: 100%; }
}

/* ---- Galería en dos bloques comparativos (El Forat) ---- */
.gallery-compare { display: grid; gap: 20px; grid-template-columns: 1fr; }
.gallery-compare .gc-block h4 { font-family: var(--font-head); margin: 0 0 10px; font-size: .95rem; color: var(--dark); }
.gallery-compare .gc-images { display: grid; gap: 10px; grid-template-columns: 1fr; }
.gallery-compare .img-placeholder { aspect-ratio: 4/3; border-radius: var(--radius-sm); }
@media (min-width: 560px) { .gallery-compare .gc-images { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 800px) { .gallery-compare { grid-template-columns: repeat(2, 1fr); } }

/* ---- Galería circular (Finestrat Forestal) ---- */
.gallery-circles { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.gallery-circles .img-placeholder { width: 170px; height: 170px; border-radius: 50%; padding: 14px; }
.gallery-circles .img-placeholder small { display: none; }

/* ---- Imagen real dentro de un contenedor con relación de aspecto fija ---- */
.fill-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Utilidades ---- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--dark); color: #fff;
  padding: 12px 18px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
