/* ════════════════════════════════════════════════════════════════════════
   FG CALIDAD EN ACERO — styles.css
   Design System: Industrial · Premium · Conversion-Focused
   ════════════════════════════════════════════════════════════════════════ */

/* ── TOKENS ───────────────────────────────────────────────────────────── */
:root {
  /* Palette — Azul Industrial + Grises */
  --red:       #1A56DB;   /* Azul principal */
  --red-dark:  #1141A8;
  --red-light: #3B82F6;
  --iron:      #0A0C10;   /* Near-black con tono azulado */
  --forge:     #0F1218;   /* Dark surface */
  --plate:     #161B24;   /* Card surface */
  --rail:      #222836;   /* Borders */
  --smoke:     #5A6480;   /* Muted text */
  --ash:       #8A96B0;   /* Secondary text */
  --steel:     #C2CCDE;   /* Light text */
  --white:     #EDF2FA;
  --wa:        #25D366;
  --wa-dark:   #1aab52;

  /* Type */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --wrap: 1100px;
  --gap:  clamp(16px, 3vw, 32px);

  /* Radius */
  --r2: 2px;
  --r4: 4px;
  --r8: 8px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── RESET ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

body {
  background: var(--iron);
  color: var(--steel);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── FOCUS ────────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--red-light);   /* ya apunta a azul con el nuevo token */
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── SKIP LINK ────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--red);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── UTILITY ──────────────────────────────────────────────────────────── */
.section-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.section-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}

.section-desc {
  margin-top: 16px;
  font-size: 1rem;
  color: var(--smoke);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.text-link {
  color: var(--red-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--white); }

/* ── BUTTONS ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--r2);
  border: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,86,219,0.45);
}

.btn-whatsapp {
  background: var(--wa);
  color: #fff;
}
.btn-whatsapp:hover {
  background: var(--wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--rail);
}
.btn-ghost:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── ANIMATIONS ───────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseRed {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

/* ── HEADER ───────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(13,14,17,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rail);
  transition: background 0.3s;
}
.site-header.scrolled {
  background: rgba(13,14,17,0.98);
}

.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(16px,4vw,40px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 4px;
  background: var(--plate);
  padding: 3px;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.logo-tagline {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  padding: 8px 12px;
  border-radius: var(--r4);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--white); }

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--r2);
  margin-left: 8px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--red-light); transform: translateY(-1px); }

/* Hamburger — oculto, menú móvil eliminado */
.hamburger { display: none !important; }





/* Mobile menu — FIXED: flota sobre el contenido, nunca empuja el hero */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  z-index: 199;
  background: rgba(15,18,24,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--rail);
  border-bottom: 2px solid var(--red);
  padding: 6px clamp(16px,4vw,40px) 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}
.mob-link {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  padding: 8px 8px;
  border-bottom: 1px solid var(--rail);
  transition: color 0.2s;
}
.mob-link:hover { color: var(--white); }
.mob-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  background: var(--wa);
  color: #fff;
  padding: 9px 20px;
  border-radius: var(--r2);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.mob-cta:hover { background: var(--wa-dark); }

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-top: 72px; /* header height */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(13,14,17,0.96) 40%, rgba(13,14,17,0.5) 100%),
    linear-gradient(to top,   rgba(13,14,17,1) 0%,  rgba(13,14,17,0) 40%);
}

/* Signature: steel-mesh grid overlay — azul industrial */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,86,219,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,86,219,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(40px,8vw,100px) clamp(16px,4vw,40px) 0;
  max-width: calc(var(--wrap) + 80px);
  margin: 0 auto;
  width: 100%;
}

.hero-content { max-width: 680px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 20px;
  animation: fadeUp 0.7s var(--ease) both;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulseRed 2s infinite;
  flex-shrink: 0;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.0;
  animation: fadeUp 0.7s 0.08s var(--ease) both;
}
.hero-h1 em {
  font-style: normal;
  color: var(--red-light);
}

.hero-sub {
  margin-top: 24px;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--ash);
  line-height: 1.7;
  max-width: 520px;
  animation: fadeUp 0.7s 0.16s var(--ease) both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.24s var(--ease) both;
}

/* Hero stats row */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  background: rgba(22,24,32,0.9);
  border-top: 1px solid var(--rail);
  border-bottom: none;
  backdrop-filter: blur(8px);
  margin-top: clamp(48px,10vw,100px);
}
.hstat {
  flex: 1;
  padding: clamp(20px,3vw,32px) 20px;
  text-align: center;
  border-right: 1px solid var(--rail);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hstat:last-child { border-right: none; }
.hstat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--red-light);
  line-height: 1;
}
.hstat-plus { font-family: var(--font-display); font-size: 1.5rem; color: var(--red-light); }
.hstat-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--smoke);
}
.hstat-divider { display: none; }

/* ── TRUST BAR ────────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--red-dark);
  border-bottom: 1px solid rgba(0,0,0,0.3);
  padding: 14px clamp(16px,4vw,40px);
  overflow: hidden;
}
.trust-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px,4vw,48px);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}
.trust-item svg { opacity: 0.9; flex-shrink: 0; }

/* ── SERVICES ─────────────────────────────────────────────────────────── */
.services-section {
  padding: clamp(60px,8vw,100px) 0;
  background: var(--forge);
  border-top: 1px solid var(--rail);
  border-bottom: 1px solid var(--rail);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rail);
  border: 1px solid var(--rail);
  border-radius: var(--r4);
  overflow: hidden;
}

.service-card {
  background: var(--forge);
  padding: clamp(28px,3vw,40px);
  transition: background 0.25s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card:hover { background: var(--plate); }

.sc-icon {
  width: 52px; height: 52px;
  background: rgba(26,86,219,0.12);
  border: 1px solid rgba(26,86,219,0.25);
  border-radius: var(--r4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
  transition: background 0.25s, border-color 0.25s;
}
.service-card:hover .sc-icon {
  background: rgba(26,86,219,0.2);
  border-color: var(--red-light);
}

.sc-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}
.sc-desc {
  font-size: 0.88rem;
  color: var(--smoke);
  line-height: 1.65;
  flex: 1;
}
.sc-link {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-top: 8px;
  transition: color 0.2s;
}
.sc-link:hover { color: var(--white); }

.services-cta {
  text-align: center;
  margin-top: clamp(36px,5vw,52px);
}

/* ── GALLERY ──────────────────────────────────────────────────────────── */
.gallery-section {
  padding: clamp(60px,8vw,100px) 0;
  background: var(--iron);
}

.gallery-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  background: var(--forge);
  padding: 4px;
  border-radius: var(--r4);
  width: fit-content;
  border: 1px solid var(--rail);
}
.gtab {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: none;
  color: var(--smoke);
  padding: 10px 20px;
  border-radius: var(--r2);
  transition: background 0.2s, color 0.2s;
}
.gtab.active, .gtab:hover {
  background: var(--red);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--gap);
}

.gcard {
  position: relative;
  overflow: hidden;
  border-radius: var(--r4);
  border: 1px solid var(--rail);
  cursor: pointer;
  background: var(--plate);
  transition: border-color 0.3s, transform 0.35s var(--ease);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
}
.gcard:hover {
  border-color: var(--red);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.gcard-featured {
  grid-column: 1 / -1;
  aspect-ratio: 16/7;
}

.gcard-placeholder {
  position: relative;
  width: 100%; height: 100%;
  background: var(--plate);
  overflow: hidden;
}
.gcard-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gcard:hover .gcard-img { transform: scale(1.04); }

.gcard-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(13,14,17,0.95) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gcard-cat {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-light);
}
.gcard-title {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
}
.gcard-meta {
  font-size: 0.75rem;
  color: var(--ash);
}
.gcard-hover {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,86,219,0.7);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s;
}
.gcard:hover .gcard-hover { opacity: 1; }

.gallery-note {
  text-align: center;
  margin-top: 36px;
  font-size: 0.9rem;
  color: var(--smoke);
}

/* ── ABOUT ────────────────────────────────────────────────────────────── */
.about-section {
  padding: clamp(60px,8vw,100px) 0;
  background: var(--forge);
  border-top: 1px solid var(--rail);
}
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,80px);
  align-items: center;
}
.about-body {
  font-size: 0.95rem;
  color: var(--ash);
  line-height: 1.75;
  margin-top: 16px;
}
.about-list {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--steel);
}
.about-list li svg { color: var(--red-light); flex-shrink: 0; margin-top: 3px; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rail);
  border: 1px solid var(--rail);
  border-radius: var(--r8);
  overflow: hidden;
}
.astat {
  background: var(--plate);
  padding: clamp(24px,3vw,36px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.25s;
}
.astat:hover { background: var(--iron); }
.astat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem,4vw,3rem);
  font-weight: 700;
  color: var(--red-light);
  line-height: 1;
}
.astat-num sup, .astat-num .pct {
  font-size: 0.5em;
  vertical-align: super;
}
.astat-label {
  font-size: 0.8rem;
  color: var(--smoke);
  line-height: 1.4;
}

/* ── TESTIMONIALS ─────────────────────────────────────────────────────── */
.testimonials-section {
  padding: clamp(60px,8vw,100px) 0;
  background: var(--iron);
  border-top: 1px solid var(--rail);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--gap);
}
.tcard {
  background: var(--forge);
  border: 1px solid var(--rail);
  border-radius: var(--r8);
  padding: clamp(24px,3vw,36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.tcard:hover {
  border-color: var(--red);
  box-shadow: 0 8px 32px rgba(26,86,219,0.15);
}
.tcard-stars { color: #F5C842; font-size: 1rem; letter-spacing: 2px; }
.tcard-text {
  font-size: 0.9rem;
  color: var(--ash);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.tcard-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--rail);
  padding-top: 14px;
}
.tcard-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tcard-role { font-size: 0.75rem; color: var(--smoke); }

/* ── SERVICE AREA ─────────────────────────────────────────────────────── */
.service-area {
  background: var(--plate);
  border-top: 1px solid var(--rail);
  border-bottom: 1px solid var(--rail);
  padding: 24px clamp(16px,4vw,40px);
}
.sa-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke);
  text-align: center;
  margin-bottom: 12px;
}
.sa-cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  align-items: center;
}
.sa-cities span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
}
.sa-cities span:nth-child(even) { color: var(--rail); font-size: 0.6rem; }

/* ── CONTACT ──────────────────────────────────────────────────────────── */
.contact-section {
  padding: clamp(60px,8vw,100px) 0;
  background: var(--forge);
  border-top: 1px solid var(--rail);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,80px);
  align-items: start;
}
.contact-sub {
  font-size: 0.95rem;
  color: var(--ash);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 32px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cinfo-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--plate);
  border: 1px solid var(--rail);
  border-radius: var(--r4);
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
}
.cinfo-item:hover { border-color: var(--red); background: var(--iron); }
.cinfo-wa:hover { border-color: var(--wa); }
.cinfo-icon {
  width: 40px; height: 40px;
  background: rgba(26,86,219,0.1);
  border: 1px solid rgba(26,86,219,0.2);
  border-radius: var(--r4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
  flex-shrink: 0;
}
.cinfo-wa .cinfo-icon { background: rgba(37,211,102,0.1); border-color: rgba(37,211,102,0.2); color: var(--wa); }
.cinfo-text { display: flex; flex-direction: column; gap: 2px; }
.cinfo-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
}
.cinfo-val { font-size: 0.9rem; color: var(--steel); }

.map-embed {
  margin-top: 24px;
  border-radius: var(--r4);
  overflow: hidden;
  border: 1px solid var(--rail);
}

/* Form */
.contact-form-wrap {
  background: var(--plate);
  border: 1px solid var(--rail);
  border-radius: var(--r8);
  padding: clamp(24px,3vw,40px);
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field-row .field-group { margin-bottom: 0; }
.field-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ash);
}
.field-label span { color: var(--red-light); }
.field-input {
  background: var(--iron);
  border: 1px solid var(--rail);
  border-radius: var(--r2);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field-input::placeholder { color: var(--smoke); }
.field-input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.15);
}
.field-input:invalid:not(:placeholder-shown) { border-color: #E74C3C; }
.field-select { appearance: none; cursor: pointer; }
.field-textarea { resize: vertical; min-height: 110px; }
.form-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--smoke);
  margin-top: 14px;
}
.form-note svg { flex-shrink: 0; opacity: 0.7; }
.form-success {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: var(--r4);
  font-size: 0.9rem;
  color: var(--wa);
  text-align: center;
}

/* ── FOOTER ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--iron);
  border-top: 1px solid var(--rail);
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px clamp(16px,4vw,40px) 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img { border-radius: 4px; background: var(--plate); padding: 3px; }
.footer-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
}
.footer-rfc { font-size: 0.7rem; color: var(--smoke); letter-spacing: 0.1em; }

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}
.footer-contact a, .footer-contact span {
  font-size: 0.8rem;
  color: var(--smoke);
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--rail);
  padding: 20px clamp(16px,4vw,40px);
  max-width: var(--wrap);
  margin: 0 auto;
}
.aviso-privacidad {
  font-size: 0.7rem;
  color: var(--smoke);
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 12px;
}
.footer-copy {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rail);
  text-align: center;
}
.footer-copy a { color: var(--smoke); }
.footer-copy a:hover { color: var(--red-light); }

/* ── WHATSAPP FLOAT ───────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  background: var(--wa);
  color: #fff;
  border-radius: 50px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4), 0 0 0 4px rgba(37,211,102,0.15);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  animation: fadeUp 1s 0.6s var(--ease) both;
}
.wa-float:hover {
  background: var(--wa-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.5), 0 0 0 6px rgba(37,211,102,0.2);
}
.wa-float-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── MODAL ────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(8,9,12,0.97);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeUp 0.25s var(--ease) both;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  position: relative;
  width: 100%;
  max-width: 960px;
  animation: fadeUp 0.3s var(--ease) both;
}
.modal-close {
  position: absolute;
  top: -44px; right: 0;
  background: var(--plate);
  border: 1px solid var(--rail);
  color: var(--ash);
  width: 36px; height: 36px;
  border-radius: var(--r4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s;
}
.modal-close:hover { color: var(--white); border-color: var(--white); }
.modal-photo {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border: 1px solid var(--rail);
  border-radius: var(--r4);
  display: block;
  background: var(--plate);
}
.modal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.modal-nav-btn {
  background: var(--plate);
  color: var(--ash);
  border: 1px solid var(--rail);
  padding: 10px 24px;
  border-radius: var(--r2);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.modal-nav-btn:hover { border-color: var(--red); color: var(--white); }
.modal-counter {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--smoke);
  min-width: 70px;
  text-align: center;
}

/* ════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .about-wrap { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-contact { text-align: center; }
}

/* Mobile */
@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .hero-stats {
    flex-wrap: wrap;
  }
  .hstat {
    min-width: 50%;
    border-right: none;
    border-bottom: 1px solid var(--rail);
  }
  .hstat:nth-child(odd) { border-right: 1px solid var(--rail); }
  .hstat:last-child, .hstat:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  .trust-inner { gap: 14px; }
  .trust-item { font-size: 0.7rem; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gcard-featured { aspect-ratio: 4/3; }

  .field-row { grid-template-columns: 1fr; }

  .about-stats { grid-template-columns: 1fr 1fr; }

  .footer-nav { justify-content: center; }
  .footer-inner { flex-direction: column; align-items: center; }

  .wa-float-label { display: none; }
  .wa-float { padding: 16px; border-radius: 50%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-up { opacity: 1; transform: none; }
}

/* ── REDES SOCIALES — FOOTER ──────────────────────────────────────────── */
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.social-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--smoke);
}
.social-btns {
  display: flex;
  gap: 10px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r4);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--rail);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
/* Facebook */
.social-fb {
  background: #1877F2;
  color: #fff;
  border-color: #1877F2;
}
.social-fb:hover {
  background: #1560CC;
  border-color: #1560CC;
}
/* TikTok */
.social-tt {
  background: #010101;
  color: #fff;
  border-color: #333;
}
.social-tt:hover {
  background: #1a1a1a;
  border-color: #69C9D0;
  box-shadow: 0 4px 20px rgba(105,201,208,0.25);
}

@media (max-width: 600px) {
  .social-btns { flex-direction: column; width: 100%; }
  .social-btn { justify-content: center; }
}

.mobile-menu { display: none !important; }