/*
Theme Name: Alumiglass
Theme URI: https://alumiglassdp.cl
Description: Tema a medida para Alumiglass Dp — Estructuras de aluminio, carpintería y diseño gráfico publicitario. Antofagasta, Chile.
Author: FlowCode AI
Version: 1.0.0
Text Domain: alumiglass
*/

/* =========================================================
   DESIGN SYSTEM — Alumiglass Dp
   Paleta: verde industrial + celeste aluminio + gris acero
   ========================================================= */

:root {
  /* Colores principales — paleta real del logo Alumiglass Dp */
  --ag-verde:        #3CB549;  /* verde logo (tagline + acento) */
  --ag-verde-dark:   #2B9B3C;
  --ag-verde-light:  #52CC5E;
  --ag-celeste:      #28ABE3;  /* celeste logo ("glass" + ícono) */
  --ag-celeste-dark: #1A8FC4;
  --ag-celeste-light:#52C4F0;
  --ag-gray-alumi:   #6A6D72;  /* gris acero logo ("alumi") */

  /* Neutros */
  --ag-dark:         #0d1b2a;
  --ag-mid:          #2c3e50;
  --ag-gray:         #607d8b;
  --ag-gray-light:   #b0bec5;
  --ag-bg:           #f4f7fa;
  --ag-bg-card:      #ffffff;
  --ag-border:       #dde4eb;

  /* Acento CTA — verde del logo para mayor coherencia */
  --ag-cta:          #3CB549;
  --ag-cta-dark:     #2B9B3C;

  /* Tipografías */
  --font-head:       'Exo 2', 'Segoe UI', Arial, sans-serif;
  --font-body:       'Inter', 'Segoe UI', Arial, sans-serif;

  /* Espaciados */
  --s-xs: 0.5rem;
  --s-sm: 1rem;
  --s-md: 1.5rem;
  --s-lg: 2.5rem;
  --s-xl: 4rem;

  /* Radios */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
}

/* =========================================================
   RESET Y BASE
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ag-dark);
  background: var(--ag-bg);
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ag-celeste); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--ag-celeste-dark); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ag-dark);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* =========================================================
   UTILIDADES
   ========================================================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-md);
}

.container--wide { max-width: 1400px; }
.container--narrow { max-width: 800px; }

.section {
  padding: var(--s-xl) 0;
}

.section--gray { background: var(--ag-bg); }
.section--white { background: #ffffff; }
.section--dark {
  background: var(--ag-dark);
  color: #fff;
}
.section--dark h2, .section--dark h3, .section--dark p { color: #fff; }
.section--verde {
  background: var(--ag-verde);
  color: #fff;
}
.section--celeste {
  background: var(--ag-celeste);
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: var(--s-lg);
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--ag-gray);
  max-width: 600px;
  margin: 0 auto;
}
.section--dark .section-header p,
.section--verde .section-header p { color: rgba(255,255,255,0.8); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ag-celeste);
  margin-bottom: 0.5rem;
}
.section--dark .eyebrow { color: var(--ag-celeste-light); }
.section--verde .eyebrow { color: rgba(255,255,255,0.85); }

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--ag-verde), var(--ag-celeste));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}
.divider--left { margin-left: 0; }

/* =========================================================
   BOTONES
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--ag-verde);
  color: #fff;
  border-color: var(--ag-verde);
}
.btn--primary:hover {
  background: var(--ag-verde-dark);
  border-color: var(--ag-verde-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--cta {
  background: var(--ag-cta);
  color: #fff;
  border-color: var(--ag-cta);
}
.btn--cta:hover {
  background: var(--ag-cta-dark);
  border-color: var(--ag-cta-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(243,156,18,0.4);
}

.btn--celeste {
  background: var(--ag-celeste);
  color: #fff;
  border-color: var(--ag-celeste);
}
.btn--celeste:hover {
  background: var(--ag-celeste-dark);
  border-color: var(--ag-celeste-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--ag-verde);
  border-color: var(--ag-verde);
}
.btn--outline:hover {
  background: var(--ag-verde);
  color: #fff;
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: #fff;
}

.btn--lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* =========================================================
   CARDS
   ========================================================= */

.card {
  background: var(--ag-bg-card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #f8f9fa;
  padding: 0.25rem;
}

.card__body { padding: 1.5rem; }
.card__title {
  font-size: 1.15rem;
  font-family: var(--font-head);
  margin-bottom: 0.5rem;
  color: var(--ag-dark);
}
.card__text { color: var(--ag-gray); font-size: 0.95rem; }
.card__tag {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: var(--ag-bg);
  border: 1px solid var(--ag-border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ag-celeste);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =========================================================
   GRIDS
   ========================================================= */

.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* =========================================================
   HEADER / NAV
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--s-md);
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo__img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  display: block;
}

/* SVG logo — inline, sin dependencia de uploads */
.site-logo__svg {
  height: 48px;
  width: auto;
  max-width: 210px;
  flex-shrink: 0;
  display: block;
  overflow: visible;
}
.site-logo__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
}
.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-logo__name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ag-verde);
  letter-spacing: -0.02em;
}
.site-logo__tagline {
  font-size: 0.62rem;
  color: var(--ag-gray);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 0.5rem;
  align-self: flex-end;
  padding-bottom: 6px;
}

/* Nav desktop */
.nav-toggle { display: none; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.main-nav ul li a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ag-mid);
  border-radius: var(--r-sm);
  transition: all 0.2s;
}
.main-nav ul li a:hover,
.main-nav ul li.current-menu-item > a {
  color: var(--ag-verde);
  background: rgba(0,104,69,0.07);
}

.header-cta { display: flex; align-items: center; gap: 0.75rem; }

/* Hamburger */
.nav-check { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 1100;
}
.nav-toggle-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ag-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 1040px) {
  .nav-toggle-label { display: flex; }
  .header-cta { display: none; }
  .header-inner { padding: 0 1rem; }

  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,27,42,0.96);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1050;
  }
  .nav-check:checked ~ .main-nav { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0.5rem; }
  .main-nav ul li a {
    font-size: 1.4rem;
    color: #fff;
    padding: 0.75rem 2rem;
  }
  .main-nav ul li a:hover {
    color: var(--ag-celeste-light);
    background: rgba(255,255,255,0.08);
  }

  /* Hamburger → X */
  .nav-check:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: #fff;
  }
  .nav-check:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  .nav-check:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: #fff;
  }
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ag-dark) 0%, #1a3a4a 50%, #0a2a1f 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(40,171,227,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(60,181,73,0.15) 0%, transparent 50%);
  pointer-events: none;
}

/* Geometric aluminum pattern */
.hero::after {
  content: '';
  position: absolute;
  right: -5%;
  top: -10%;
  width: 55%;
  height: 120%;
  background: linear-gradient(135deg, var(--ag-celeste) 0%, var(--ag-verde) 100%);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0.12;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: var(--s-xl) var(--s-md);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero__content { color: #fff; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ag-celeste-light);
  margin-bottom: 1.25rem;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--ag-celeste-light);
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: normal;
  color: var(--ag-celeste-light);
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.7;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.hero__img-main {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.1);
}
.hero__img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
}
.hero__img-small {
  border-radius: var(--r-md);
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

/* Hero brand panel */
.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero__brand-panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem 1.5rem;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/* Logo real del cliente en tarjeta blanca */
.hero__logo-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__logo-real {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
}
.hero__logo-svg {
  width: 100%;
  max-width: 280px;
  height: auto;
}
.hero__service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hero__pill {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(40,171,227,0.15);
  border: 1px solid rgba(40,171,227,0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero { min-height: 80vh; }
}

/* =========================================================
   SERVICIOS
   ========================================================= */

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.servicio-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--ag-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.servicio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ag-verde), var(--ag-celeste));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--ag-celeste);
}
.servicio-card:hover::before { transform: scaleX(1); }

.servicio-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--ag-verde), var(--ag-celeste));
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.servicio-card__icon svg { width: 28px; height: 28px; fill: #fff; }

.servicio-card__title {
  font-size: 1.05rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ag-dark);
  margin-bottom: 0.6rem;
}
.servicio-card__text {
  font-size: 0.9rem;
  color: var(--ag-gray);
  line-height: 1.65;
}

@media (max-width: 900px) { .servicios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .servicios-grid { grid-template-columns: 1fr; } }

/* =========================================================
   DIFERENCIADORES
   ========================================================= */

.diferenciadores {
  background: var(--ag-dark);
  padding: var(--s-xl) 0;
}

.diferenciadores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.dif-item { color: #fff; }
.dif-item__number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--ag-celeste-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.dif-item__label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}

@media (max-width: 800px) { .diferenciadores-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (max-width: 480px) { .diferenciadores-grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   PRODUCTOS (CPT)
   ========================================================= */

.productos-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid var(--ag-border);
  background: #fff;
  color: var(--ag-gray);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active,
.filter-btn:hover {
  border-color: var(--ag-verde);
  color: var(--ag-verde);
  background: rgba(0,104,69,0.05);
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .productos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .productos-grid { grid-template-columns: 1fr; } }

/* =========================================================
   GALERÍA
   ========================================================= */

.galeria-masonry {
  columns: 3;
  column-gap: 1rem;
}
.galeria-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.galeria-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s;
}
.galeria-item:hover img { transform: scale(1.04); }
.galeria-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,104,69,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}
.galeria-item:hover .galeria-item__overlay { opacity: 1; }

@media (max-width: 768px) { .galeria-masonry { columns: 2; } }
@media (max-width: 480px) { .galeria-masonry { columns: 1; } }

/* =========================================================
   PROCESO / PASOS
   ========================================================= */

.proceso-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
}

.paso {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.25rem;
  position: relative;
}
.paso:not(:last-child) { padding-bottom: 2rem; }
.paso:not(:last-child) .paso__line {
  position: absolute;
  left: 29px;
  top: 60px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--ag-verde), var(--ag-celeste));
  opacity: 0.35;
}

.paso__number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ag-verde), var(--ag-celeste));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,104,69,0.35);
}

.paso__content { padding-top: 0.75rem; }
.paso__title {
  font-size: 1.1rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ag-dark);
  margin-bottom: 0.4rem;
}
.paso__desc { font-size: 0.9rem; color: var(--ag-gray); }

/* =========================================================
   BANNER CTA
   ========================================================= */

.banner-cta {
  background: linear-gradient(135deg, var(--ag-verde-dark) 0%, var(--ag-verde) 40%, var(--ag-celeste-dark) 100%);
  padding: var(--s-xl) 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.banner-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.banner-cta__inner { position: relative; z-index: 1; }
.banner-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
  margin-bottom: 1rem;
}
.banner-cta p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   FORMULARIO DE CONTACTO / COTIZACIÓN
   ========================================================= */

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info { }
.contact-info h3 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  color: var(--ag-dark);
}
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(0,104,69,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ag-gray);
  margin-bottom: 0.2rem;
}
.contact-item__value {
  font-size: 0.95rem;
  color: var(--ag-dark);
}
.contact-item__value a {
  color: var(--ag-verde);
  font-weight: 600;
}

.wpcf7-form .form-row {
  margin-bottom: 1.25rem;
}
.wpcf7-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ag-mid);
  margin-bottom: 0.4rem;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--ag-border);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ag-dark);
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: var(--ag-verde);
}
.wpcf7-form textarea { min-height: 120px; resize: vertical; }
.wpcf7-form .wpcf7-submit {
  width: 100%;
  padding: 0.85rem;
  background: var(--ag-verde);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.04em;
}
.wpcf7-form .wpcf7-submit:hover {
  background: var(--ag-verde-dark);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .contact-section { grid-template-columns: 1fr; }
}

/* =========================================================
   HORARIO / INFO RÁPIDA
   ========================================================= */

.horario-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,104,69,0.08);
  border: 1px solid rgba(0,104,69,0.2);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ag-verde);
}
.horario-badge svg { width: 16px; height: 16px; }

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--ag-dark);
  color: rgba(255,255,255,0.75);
  padding: var(--s-xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: var(--s-lg);
}

.footer-brand .site-logo__name { color: #fff; }
.footer-brand .site-logo__tagline { color: rgba(255,255,255,0.5); }
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--ag-celeste-light); }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  fill: var(--ag-celeste-light);
}
.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: var(--ag-celeste-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem var(--s-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* =========================================================
   WA FLOTANTE
   ========================================================= */

.wa-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}
.wa-float__btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waPulse 2.5s ease-in-out infinite;
}
.wa-float__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
.wa-float__btn svg { width: 30px; height: 30px; fill: #fff; }
.wa-float__label {
  background: var(--ag-dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.7); }
}

/* =========================================================
   TESTIMONIOS
   ========================================================= */

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonio-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ag-border);
  position: relative;
}
.testimonio-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 1.5rem;
  font-size: 5rem;
  color: var(--ag-celeste);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonio-card__stars {
  color: #f5a623;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.testimonio-card__text {
  font-size: 0.95rem;
  color: var(--ag-mid);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonio-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonio-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ag-verde), var(--ag-celeste));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonio-card__name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ag-dark);
}
.testimonio-card__role { font-size: 0.8rem; color: var(--ag-gray); }

@media (max-width: 900px) { .testimonios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .testimonios-grid { grid-template-columns: 1fr; } }

/* =========================================================
   PÁGINA SINGLE PRODUCTO/PROYECTO
   ========================================================= */

.single-header {
  background: var(--ag-dark);
  padding: 3rem 0;
  color: #fff;
}
.single-header h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}
.breadcrumb a { color: var(--ag-celeste-light); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* =========================================================
   MAP / UBICACIÓN
   ========================================================= */

.mapa-wrapper {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/6;
}
.mapa-wrapper iframe { width: 100%; height: 100%; border: 0; }

/* =========================================================
   SCROLL MARGIN (anclas bajo header sticky)
   ========================================================= */

[id] { scroll-margin-top: 80px; }

/* =========================================================
   RESPONSIVE MISC
   ========================================================= */

@media (max-width: 480px) {
  .hero__title { font-size: 1.85rem; }
  .hero { min-height: 70vh; }
  .section { padding: var(--s-lg) 0; }
  .btn--lg { padding: 0.85rem 1.5rem; font-size: 0.95rem; }
  /* Logo cliente en mobile: reducir a 40px para que no cause overflow */
  .site-logo__img { height: 40px; max-width: 165px; }
  .site-logo__svg { height: 38px; max-width: 160px; }
  .site-logo__tagline { display: none; }
  .site-logo__name { font-size: 1.05rem; }
  /* Fijar container padding en mobile */
  .container { padding: 0 1rem; }
}

/* =========================================================
   GALERÍA DE MINIATURAS — single producto/proyecto
   ========================================================= */

.producto-thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.producto-thumb {
  padding: 0;
  background: none;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.producto-thumb img {
  display: block;
  width: 80px;
  height: 60px;
  object-fit: contain;
  background: #f0f0f0;
}
.producto-thumb:hover { border-color: var(--ag-celeste); }
.producto-thumb.active { border-color: var(--ag-verde); }

@media (max-width: 480px) {
  .producto-thumb img { width: 64px; height: 48px; }
}

/* =========================================================
   PRINT
   ========================================================= */

@media print {
  .wa-float, .site-header, .site-footer { display: none; }
  body { background: #fff; color: #000; }
}
