/* ============================================================
   FERREIRA GROUP — C206 · Sitio Web Institucional
   Desarrollado por AranduCAD · aranducad.com
   ============================================================ */

/* ── Variables de marca ────────────────────────────────────── */
:root {
  --primary:      #003D82;
  --primary-dark: #002a5c;
  --secondary:    #0066B3;
  --accent:       #E67E22;
  --accent-dark:  #c96a10;
  --gray:         #4A5568;
  --gray-light:   #E8EDF2;
  --white:        #FFFFFF;
  --text:         #2D3748;
  --text-light:   #718096;
  --border:       #CBD5E0;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 15px rgba(0,0,0,.10), 0 4px 6px rgba(0,0,0,.05);
  --shadow-xl:  0 20px 25px rgba(0,0,0,.10), 0 10px 10px rgba(0,0,0,.04);

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --transition: .25s ease;
  --container:  1200px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Tipografía ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p  { margin-bottom: 1rem; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}
.section--gray {
  background: var(--gray-light);
}
.section--dark {
  background: var(--primary);
  color: var(--white);
}
.section--dark h2, .section--dark h3, .section--dark p { color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header p {
  color: var(--text-light);
  max-width: 620px;
  margin: 0.75rem auto 0;
  font-size: 1.05rem;
}
.section--dark .section-header p { color: rgba(255,255,255,.8); }

.tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}
.tag--outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

/* ── Botones ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9375rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-md);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--primary);
}
.btn--outline-dark {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn--outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}
.btn--whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn--whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--sm { padding: .5rem 1.25rem; font-size: .875rem; }
.btn--lg { padding: .875rem 2.25rem; font-size: 1rem; }

/* ── HEADER / NAV ──────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--primary);
  transition: box-shadow var(--transition), padding var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-lg);
  padding: 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.nav__logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 4px;
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav__logo-text strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .03em;
}
.nav__logo-text span {
  font-size: .7rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav__link {
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  padding: .5rem .875rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover, .nav__link.active {
  color: var(--white);
  background: rgba(255,255,255,.12);
}
.nav__cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: .5rem 1.25rem !important;
  border-radius: var(--radius-md) !important;
}
.nav__cta:hover {
  background: var(--accent-dark) !important;
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
  overflow: hidden;
  padding-top: 72px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: .18;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,29,66,.85) 0%, rgba(0,61,130,.6) 60%, rgba(0,102,179,.4) 100%);
}
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(230,126,34,.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.05) 0%, transparent 40%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(230,126,34,.2);
  border: 1px solid rgba(230,126,34,.4);
  color: #f5a35c;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero__title span { color: var(--accent); }
.hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2.25rem;
  line-height: 1.7;
  max-width: 560px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero__brands {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}
.hero__brand-pill {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  text-align: center;
  color: var(--white);
  min-width: 180px;
}
.hero__brand-pill strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.hero__brand-pill small {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.hero__stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero__stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero__stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .04em;
}

/* ── Hero de página interior ───────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--secondary) 100%);
  padding: 7rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(230,126,34,.1) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero p  { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.8); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ── Imagen placeholder ────────────────────────────────────── */
.img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.img-wrap:hover img { transform: scale(1.04); }
.img-placeholder-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  font-family: var(--font-heading);
  text-align: center;
  padding: 1rem;
  gap: .5rem;
}
.img-placeholder-box svg { opacity: .4; }

/* ── Cards generales ───────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.card__body { padding: 1.75rem; }
.card__img { width: 100%; height: 220px; object-fit: cover; }

/* ── Grid de 3 columnas ────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ── Feature / Beneficio cards ─────────────────────────────── */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.feature-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--white);
  font-size: 1.5rem;
}
.feature-card h3 { color: var(--primary); margin-bottom: .5rem; font-size: 1.1rem; }
.feature-card p  { color: var(--text-light); font-size: .9375rem; margin-bottom: 0; }

/* ── Producto card ─────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}
.product-card__img {
  height: 220px;
}
.product-card__img .img-placeholder-box { height: 100%; }
.product-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-card__formula {
  font-family: 'Roboto Mono', monospace;
  font-size: .8rem;
  color: var(--text-light);
  background: var(--gray-light);
  padding: .2rem .6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: .75rem;
}
.product-card h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: .5rem; }
.product-card p  { color: var(--text-light); font-size: .9rem; flex: 1; margin-bottom: 1rem; }
.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.25rem;
}
.product-card__tag {
  background: var(--gray-light);
  color: var(--gray);
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .65rem;
  border-radius: 50px;
  font-family: var(--font-heading);
}
.product-card__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ── Filtros de catálogo ───────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 600;
  padding: .5rem 1.25rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  color: var(--gray);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ── Galería ───────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item .img-placeholder-box { width: 100%; height: 100%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,29,66,.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: var(--white);
  font-size: .875rem;
  font-family: var(--font-heading);
  font-weight: 600;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__zoom {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.8);
  background: rgba(255,255,255,.9);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}
.gallery-item:hover .gallery-item__zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ── Lightbox ──────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox__inner {
  position: relative;
  max-width: 900px;
  width: 100%;
}
.lightbox__img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.lightbox__placeholder {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-family: var(--font-heading);
  font-size: 1rem;
}
.lightbox__caption {
  text-align: center;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  margin-top: .75rem;
}
.lightbox__close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox__nav {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: -3rem;
  right: -3rem;
  transform: translateY(-50%);
  pointer-events: none;
}
.lightbox__nav button {
  pointer-events: all;
  background: rgba(255,255,255,.15);
  border: none;
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox__nav button:hover { background: rgba(255,255,255,.3); }

/* ── Blog cards ────────────────────────────────────────────── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.blog-card__img { height: 200px; overflow: hidden; }
.blog-card__img img, .blog-card__img .img-placeholder-box { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta {
  display: flex;
  gap: .75rem;
  align-items: center;
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: .75rem;
}
.blog-card__cat {
  background: var(--gray-light);
  padding: .2rem .65rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-heading);
}
.blog-card h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: .5rem; }
.blog-card p  { color: var(--text-light); font-size: .9rem; flex: 1; margin-bottom: 1rem; }
.blog-card__link {
  color: var(--secondary);
  font-weight: 600;
  font-size: .875rem;
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--transition);
}
.blog-card__link:hover { gap: .6rem; }

/* ── Servicios ─────────────────────────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--primary);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.service-card__icon {
  width: 60px; height: 60px;
  background: var(--gray-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  color: var(--primary);
}
.service-card h3 { color: var(--primary); margin-bottom: .65rem; }
.service-card p  { color: var(--text-light); font-size: .9375rem; margin-bottom: 0; }

/* ── Sectores ──────────────────────────────────────────────── */
.sector-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent);
}
.sector-badge__icon { font-size: 2rem; flex-shrink: 0; }
.sector-badge h4 { color: var(--primary); margin-bottom: .2rem; font-size: 1rem; }
.sector-badge p  { color: var(--text-light); font-size: .85rem; margin-bottom: 0; }

/* ── Nosotros ──────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-item {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--gray-light);
  border-left: 3px solid var(--accent);
}
.value-item h4 { color: var(--primary); margin-bottom: .35rem; }
.value-item p  { color: var(--text-light); font-size: .9rem; margin-bottom: 0; }

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.mv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--primary);
}
.mv-card--accent { border-top-color: var(--accent); }
.mv-card__label {
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}
.mv-card h3 { color: var(--primary); margin-bottom: .75rem; }
.mv-card p  { color: var(--text-light); margin-bottom: 0; line-height: 1.75; }

.brands-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.brand-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  color: var(--white);
  text-align: center;
}
.brand-card h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: .5rem;
  letter-spacing: .05em;
}
.brand-card p { color: rgba(255,255,255,.8); margin-bottom: 0; }

/* ── Contacto ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 { color: var(--primary); margin-bottom: 1.5rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item__icon {
  width: 44px; height: 44px;
  background: var(--gray-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--primary);
}
.contact-item h4 { color: var(--primary); font-size: .875rem; margin-bottom: .2rem; }
.contact-item p, .contact-item a { color: var(--text-light); font-size: .9375rem; margin-bottom: 0; }
.contact-item a:hover { color: var(--secondary); }

.form-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--gray-light);
}
.form-frame iframe {
  width: 100%;
  border: none;
  display: block;
}
.form-frame__label {
  padding: 1.25rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .03em;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 3rem;
}
.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

/* ── Nosotros two-col ──────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-img .img-placeholder-box { height: 420px; }

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(230,126,34,.15) 0%, transparent 70%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,.8); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-banner__actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer__brand { max-width: 300px; }
.footer__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.footer__logo-img {
  width: 44px; height: 44px;
  object-fit: contain;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.footer__logo strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}
.footer__slogan {
  font-style: italic;
  color: var(--accent);
  font-size: .9rem;
  margin-bottom: 1rem;
}
.footer__brands {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.footer__brand-tag {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 50px;
  letter-spacing: .04em;
}
.footer__col h4 {
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer__links { display: flex; flex-direction: column; gap: .6rem; }
.footer__link {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer__link:hover { color: var(--accent); }
.footer__contact { display: flex; flex-direction: column; gap: .75rem; }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .875rem;
}
.footer__contact-item span:first-child { font-size: 1rem; flex-shrink: 0; margin-top: .1rem; }
.footer__contact-item a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer__contact-item a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: .5rem;
}
.footer__bottom a { color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer__bottom a:hover { color: var(--accent); }

/* ── WhatsApp flotante ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: .65rem;
  background: #25D366;
  color: var(--white);
  padding: .75rem 1.25rem .75rem .9rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulse-wa 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.55);
  animation: none;
}
.whatsapp-float svg { width: 24px; height: 24px; flex-shrink: 0; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,.7); }
}

/* ── Nosotros page timeline ────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: .5rem; bottom: .5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary) 0%, var(--accent) 100%);
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: .35rem;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--accent);
}
.timeline-item h4 { color: var(--primary); margin-bottom: .25rem; }
.timeline-item p  { color: var(--text-light); font-size: .9375rem; margin-bottom: 0; }

/* ── Número destacado ──────────────────────────────────────── */
.stat-block {
  text-align: center;
}
.stat-block__num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.stat-block__label {
  font-size: .875rem;
  color: var(--text-light);
}

/* ── Utilidades ────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-accent  { color: var(--accent); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__brands { flex-direction: row; align-items: center; justify-content: flex-start; margin-top: 2rem; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  .nav__links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--primary-dark); padding: 1rem 1.25rem 1.5rem; gap: .25rem; box-shadow: var(--shadow-lg); }
  .nav__links.open { display: flex; }
  .nav__burger { display: flex; }

  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .hero__stats { flex-direction: column; gap: 1.25rem; }
  .hero__brands { flex-direction: column; align-items: flex-start; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .mission-vision { grid-template-columns: 1fr; }
  .brands-section { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .lightbox__nav { left: 0; right: 0; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: .875rem; border-radius: 50%; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .cta-banner__actions { flex-direction: column; align-items: center; }
}
