/* ===== PYRTEC S.A.S — Industrial Dark Theme ===== */
/* Brand: Rojo #CC1F1F · Negro #111111 · Blanco #FFFFFF */
/* Version: 20260603b */

/* ===== RESET & TOKENS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #111111;
  --bg-2:     #1E1E1E;
  --bg-3:     #2A2A2A;
  --bg-card:  #181818;
  --ink:      #FFFFFF;
  --ink-soft: rgba(255,255,255,0.78);
  --ink-mute: rgba(255,255,255,0.42);
  --accent:   #CC1F1F;   /* rojo PYRTEC */
  --accent-2: #E02020;   /* rojo acento hover */
  --steel:    #4A4A4A;
  --line:     rgba(255,255,255,0.08);
  --line-2:   rgba(204,31,31,0.35);
  --gradient-1: #CC1F1F;
  --gradient-2: #8B0000;
  --gradient-3: #3d0000;
  --font-display: 'Oswald', 'Barlow Condensed', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, .t-display, .t-hero, .t-h2, .t-h3 {
  font-family: var(--font-display);
}

.t-display {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.t-hero {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0em;
  text-transform: uppercase;
  text-wrap: balance;
}
.t-h2 {
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.t-h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.t-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-body);
}
.t-body { font-size: 1rem; line-height: 1.7; color: var(--ink-soft); font-family: var(--font-body); }
.t-mono {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

em { font-style: normal; color: var(--accent); }

/* ===== LAYOUT ===== */
.container {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 4rem);
}
.section { padding-block: clamp(4rem, 8vw, 8rem); }
.section-sm { padding-block: clamp(2rem, 4vw, 4rem); }

/* ===== CURSOR ===== */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; opacity: 0; transition: opacity .25s; }
.cursor.is-ready { opacity: 1; }
.cursor-dot {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%,-50%);
}
.cursor-ring {
  position: absolute;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(204,31,31,0.5);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width .15s var(--ease-out), height .15s var(--ease-out), border-color .15s;
}
.cursor-ring.is-hover { width: 56px; height: 56px; border-color: var(--accent); }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 0;
  transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(17,17,17,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.7rem 0;
  border-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 2rem;
  width: min(100%, 1280px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 4rem);
}
.nav-logo {
  display: flex; align-items: center;
  flex-shrink: 0;
}
/* Logo image — red original, shown as-is */
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav-logo-text em { color: var(--accent); font-style: normal; }
.nav-links {
  display: flex; align-items: center; gap: 0.2rem;
  margin-left: auto;
}
.nav-links a {
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s;
  border-radius: 4px;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  margin-left: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-2); transform: translateY(-1px); }
.nav-mobile-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 4px; margin-left: auto;
}
.nav-mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 1px;
  transition: transform .3s, opacity .3s;
}
.nav-mobile-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-drawer {
  display: none;
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  padding: 5rem 2rem 2rem;
  flex-direction: column; gap: 0.5rem;
  overflow-y: auto;
}
.nav-drawer.is-open { display: flex; }
.nav-drawer a {
  font-size: 1.6rem; font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.nav-drawer a:hover { color: var(--accent); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero-gradient {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle 700px at var(--mx, 25%) var(--my, 65%),
      rgba(204,31,31,0.16) 0%, transparent 60%),
    radial-gradient(circle 500px at calc(100% - var(--mx, 25%)) calc(100% - var(--my, 65%)),
      rgba(139,0,0,0.08) 0%, transparent 50%),
    var(--bg);
  transition: background 0.1s linear;
}
/* Diagonal angular accent — industrial geometry */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 40%; height: 100%;
  background: linear-gradient(
    -15deg,
    rgba(204,31,31,0.06) 0%,
    transparent 60%
  );
  z-index: 2;
  pointer-events: none;
}
/* Red diagonal accent bar */
.hero-diagonal {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 70%);
  z-index: 4;
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; opacity: 0.025;
  background-image:
    linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-img-wrap {
  position: absolute; inset: 0; z-index: 1;
}
.hero-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.22) saturate(0.4);
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse at 60% 50%, transparent 20%, rgba(17,17,17,0.72) 80%);
}
/* Hero title accent line on em */
.hero-title em {
  position: relative;
  display: inline-block;
}
.hero-title em::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 4px;
  background: var(--accent);
  transform: skewX(-8deg);
}
.hero-inner {
  position: relative; z-index: 3;
  width: min(100%, 1280px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 4rem);
  padding-block: 4rem;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-title {
  max-width: 14ch;
  margin-bottom: 1.5rem;
  color: var(--ink);
}
.hero-title em { display: block; }
.hero-sub {
  max-width: 52ch;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 720px;
  border-radius: 8px;
  overflow: hidden;
}
.hero-stat {
  background: rgba(20,20,20,0.8);
  backdrop-filter: blur(8px);
  padding: 1.2rem 1.4rem;
}
.hero-stat-value {
  font-size: 1.8rem; font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero-stat-label {
  font-size: 0.72rem;
  color: var(--ink-mute);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.hero-scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0.5;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.75rem;
  font-size: 0.82rem; font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform .15s var(--ease-out), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-primary:hover { background: var(--accent-2); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost {
  border: 1.5px solid var(--line-2);
  color: var(--ink-soft);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--ink); }
.btn-icon { font-size: 1.1rem; line-height: 1; }

/* ===== TICKER MARQUEE ===== */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 0.75rem;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.ticker-track {
  display: inline-flex; gap: 3rem;
  animation: tickerScroll 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-sep { color: var(--accent); }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.product-card {
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  transition: background .2s;
}
.product-card:hover { background: var(--bg-3); }
.product-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease-out), filter .3s;
  filter: brightness(0.8) saturate(0.7);
}
.product-card:hover .product-card-img img {
  transform: scale(1.06);
  filter: brightness(0.9) saturate(0.85);
}
.product-card-body { padding: 1.5rem; }
.product-card-num {
  font-size: 0.7rem; font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.product-card-title {
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.product-card-desc {
  font-size: 0.85rem;
  color: var(--ink-mute);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.product-card-types {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-bottom: 1rem;
}
.product-card-type {
  font-size: 0.7rem; font-weight: 500;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-mute);
}
.product-card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--accent);
  transition: gap .2s;
}
.product-card-link:hover { gap: 0.7rem; }

/* ===== SECTION HEADER ===== */
.section-header {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header .t-kicker { margin-bottom: 0.75rem; }
.section-header .t-h2 { margin-bottom: 0.75rem; }

/* ===== ABOUT / MANIFESTO ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.7);
}
.about-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,93,4,0.15), transparent);
}
.about-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 0.75rem 1rem;
}
.about-badge-val { font-size: 1.5rem; font-weight: 900; color: var(--accent); }
.about-badge-label { font-size: 0.7rem; color: var(--ink-mute); }
.about-text { display: flex; flex-direction: column; gap: 1.5rem; }
.about-text p { color: var(--ink-soft); line-height: 1.8; }
.about-highlights {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.highlight-item { }
.highlight-num {
  font-size: 1.6rem; font-weight: 900;
  color: var(--accent); line-height: 1;
  margin-bottom: 0.25rem;
}
.highlight-label { font-size: 0.78rem; color: var(--ink-mute); font-weight: 500; }

/* ===== SERVICES ROW ===== */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-item {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-card);
  transition: border-color .2s, transform .2s var(--ease-out);
}
.service-item:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}
.service-icon {
  width: 40px; height: 40px;
  background: rgba(232,93,4,0.12);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.service-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-desc { font-size: 0.85rem; color: var(--ink-mute); line-height: 1.6; }

/* ===== CONTACT BAND ===== */
.contact-band {
  background: var(--accent);
  padding-block: clamp(3rem, 5vw, 5rem);
}
.contact-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  width: min(100%, 1280px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 4rem);
}
.contact-band h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 800; }
.contact-band p { color: rgba(255,255,255,0.8); margin-top: 0.4rem; }
.contact-band .btn-ghost {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.contact-band .btn-ghost:hover { border-color: #fff; }
.btn-white { background: #fff; color: var(--accent); }
.btn-white:hover { background: rgba(255,255,255,0.9); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-block: 3rem 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand { }
.footer-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-logo em { color: var(--accent); font-style: normal; }
.footer-tagline { font-size: 0.85rem; color: var(--ink-mute); max-width: 28ch; line-height: 1.6; }
.footer-col h4 {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
  font-size: 0.85rem; color: var(--ink-soft);
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  gap: 1rem; flex-wrap: wrap;
}
.footer-copy { font-size: 0.78rem; color: var(--ink-mute); }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a {
  font-size: 0.78rem; color: var(--ink-mute);
  transition: color .2s;
}
.footer-socials a:hover { color: var(--accent); }

/* ===== INNER PAGE HERO ===== */
.page-hero {
  position: relative;
  padding-top: 120px;
  padding-bottom: 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle 600px at 80% 50%, rgba(232,93,4,0.08), transparent 60%);
}
.page-hero-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-inner { position: relative; }
.page-hero-title { margin: 0.5rem 0 1rem; }
.page-hero-desc {
  max-width: 56ch;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; color: var(--ink-mute);
  margin-bottom: 1rem;
}
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: 0.4; }

/* ===== PRODUCT DETAIL GRID ===== */
.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.product-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color .2s, transform .2s var(--ease-out);
}
.product-item:hover { border-color: var(--line-2); transform: translateY(-3px); }
.product-item-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-3);
}
.product-item-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.85) saturate(0.7);
  transition: transform .4s var(--ease-out);
}
.product-item:hover .product-item-img img { transform: scale(1.05); }
.product-item-body { padding: 1.25rem; }
.product-item-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.product-item-desc { font-size: 0.82rem; color: var(--ink-mute); line-height: 1.6; }

/* ===== TABLE ===== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin-top: 1.5rem;
}
.spec-table th {
  text-align: left; padding: 0.6rem 0.8rem;
  background: var(--bg-3);
  font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--line);
}
.spec-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { background: var(--bg-3); }

/* ===== CONTACT FORM ===== */
.contact-form { display: flex; flex-direction: column; gap: 1rem; max-width: 560px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.78rem; font-weight: 600; color: var(--ink-mute); letter-spacing: 0.04em; text-transform: uppercase; }
.form-input, .form-select, .form-textarea {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color .2s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-mute); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select option { background: var(--bg-3); }
.form-submit {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 2rem;
  font-size: 0.9rem; font-weight: 600;
  border-radius: 4px;
  transition: background .2s, transform .15s var(--ease-out);
  align-self: flex-start;
}
.form-submit:hover { background: var(--accent-2); transform: translateY(-2px); }
.form-submit.is-sending { opacity: 0.7; cursor: wait; }
.form-success {
  display: none;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 4px;
  padding: 1rem;
  color: #10b981;
  font-size: 0.9rem;
}
.form-success.is-visible { display: block; }

/* ===== CONTACT INFO ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(232,93,4,0.12);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-item-label { font-size: 0.72rem; font-weight: 700; color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.25rem; }
.contact-item-val { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }
.contact-item-val a { color: var(--accent); transition: opacity .2s; }
.contact-item-val a:hover { opacity: 0.8; }

/* ===== MAP ===== */
.map-embed {
  width: 100%; aspect-ratio: 16/10;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
}
.map-embed iframe { width: 100%; height: 100%; border: none; filter: invert(0.9) hue-rotate(180deg) brightness(0.85); }

/* ===== REVEALS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.split-word { display: inline-block; overflow: hidden; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  width: 52px; height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.4); }

/* ===== NOSOTROS PAGE ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.value-card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-card);
  transition: border-color .2s, transform .2s;
}
.value-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.value-card-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.value-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.value-card-text { font-size: 0.85rem; color: var(--ink-mute); line-height: 1.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-band-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
