/* ============================================
   ÁGUILAS EN SEGURIDAD PRIVADA DEL SURESTE
   Design System & Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---- Variables ---- */
:root {
  --bg-primary:    #0a0a0f;
  --bg-secondary:  #0f0f1a;
  --bg-surface:    #141420;
  --bg-card:       #111118;

  --text-primary:   #ffffff;
  --text-secondary: #a0a0b8;
  --text-muted:     #55556a;

  --accent-gold:      #CC8C2A;
  --accent-gold-dim:  #a8711e;
  --accent-gold-glow: rgba(204, 140, 42, 0.15);
  --accent-green:     #00e676;
  --accent-green-dim: #00c85e;
  --accent-green-glow: rgba(0, 230, 118, 0.18);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-gold:   rgba(204, 140, 42, 0.25);
  --border-green:  rgba(0, 230, 118, 0.2);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   24px;
  --radius-pill: 9999px;

  --nav-h: 72px;
}

/* ---- 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-primary);
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(ellipse 90% 60% at 50% -5%, rgba(204,140,42,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 95%, rgba(0,230,118,0.04) 0%, transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1; letter-spacing: 0.02em; }
h1 { font-size: clamp(52px, 9vw, 110px); }
h2 { font-size: clamp(36px, 5vw, 68px); }
h3 { font-size: clamp(22px, 3vw, 34px); }
h4 { font-size: clamp(18px, 2vw, 24px); }

p { line-height: 1.65; color: var(--text-secondary); }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.22s ease;
}

.btn-primary {
  background: var(--accent-green);
  color: #000;
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--accent-green-dim);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--accent-green-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn-outline:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 10px 22px;
  font-size: 14px;
}
.btn-ghost:hover { border-color: var(--accent-gold); color: var(--accent-gold); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  font-weight: 600;
}
.btn-whatsapp:hover {
  background: #1fb554;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37,211,102,0.25);
}

.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-md); }

/* ---- Layout Utility ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-divider {
  height: 1px;
  background: var(--border-subtle);
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- Reveal Animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-subtle);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-isotipo {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--text-primary);
}
.nav-logo-text span { color: var(--accent-gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

.btn-nav {
  background: var(--accent-green);
  color: #000;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-nav:hover {
  background: var(--accent-green-dim);
  box-shadow: 0 6px 20px var(--accent-green-glow);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-top: var(--nav-h);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--text-primary); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  gap: 60px;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 60px;
  padding-left: 40px;
  padding-right: 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  max-width: 620px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 20px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent-gold);
}

.hero-headline {
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.93;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.hero-accent { color: var(--accent-gold); }

.hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid var(--border-subtle);
}
.stat:last-child { border-right: none; }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero animation placeholder */
.hero-animation-placeholder {
  flex: 1;
  min-width: 380px;
  min-height: 480px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(204, 140, 42, 0.2);
  background: radial-gradient(ellipse at center, rgba(204,140,42,0.05) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  animation: placeholder-pulse 3.5s ease-in-out infinite;
}

.hero-animation-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(204,140,42,0.03) 0%, transparent 50%),
    linear-gradient(315deg, rgba(0,230,118,0.02) 0%, transparent 50%);
}

@keyframes placeholder-pulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 0.9; }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-wrapper {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  padding: 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee 25s linear infinite;
  padding: 22px 0;
}

.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }

.marquee-word {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.5vw, 42px);
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-dot {
  color: var(--accent-gold);
  font-size: 20px;
  line-height: 1;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   SEGURIDAD ELECTRÓNICA
   ============================================ */
.electronica-header {
  text-align: center;
  margin-bottom: 64px;
}
.electronica-header h2 { margin-bottom: 16px; }
.electronica-header p { max-width: 520px; margin: 0 auto; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.card:hover { transform: translateY(-5px); border-color: var(--border-gold); }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(204,140,42,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-gold);
}

.card h3 { margin-bottom: 12px; color: var(--text-primary); }
.card p { font-size: 14px; line-height: 1.65; }

/* ============================================
   SERVICIOS
   ============================================ */
.servicios-header {
  text-align: center;
  margin-bottom: 72px;
}
.servicios-header h2 { margin-bottom: 16px; }
.servicios-header p { max-width: 480px; margin: 0 auto; }

.service-list { display: flex; flex-direction: column; gap: 2px; }

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.service-item:last-child { border-bottom: none; }
.service-item.reverse { direction: rtl; }
.service-item.reverse > * { direction: ltr; }

.service-visual {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  position: relative;
  overflow: hidden;
}
.service-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(204,140,42,0.06) 0%, transparent 65%);
}

.service-visual svg { width: 80px; height: 80px; opacity: 0.7; }

.service-content { max-width: 480px; }
.service-content h3 { margin-bottom: 16px; }
.service-content p { margin-bottom: 24px; font-size: 15px; }

.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}
.service-feature::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   NOSOTROS
   ============================================ */
.nosotros-bg { background: var(--bg-secondary); border-radius: 0; }

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.nosotros-text h2 { margin-bottom: 24px; }
.nosotros-text p { margin-bottom: 16px; font-size: 15px; }

.nosotros-strengths {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.strength-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}
.strength-dot {
  width: 8px; height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.value-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color 0.25s;
}
.value-card:hover { border-color: var(--border-gold); }
.value-card h4 {
  color: var(--accent-gold);
  margin-bottom: 10px;
  font-size: 20px;
}
.value-card p { font-size: 13px; line-height: 1.6; }

/* ============================================
   APP
   ============================================ */
.app-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.phone-frame {
  width: 260px;
  height: 520px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 36px;
  border: 1.5px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(204,140,42,0.08), 0 40px 80px rgba(0,0,0,0.5);
}

.phone-notch {
  width: 80px; height: 22px;
  background: var(--bg-primary);
  border-radius: 0 0 14px 14px;
  margin: 0 auto 16px;
}

.phone-screen {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-screen-bar {
  height: 10px;
  border-radius: 5px;
  background: var(--bg-surface);
}
.phone-screen-bar.gold { background: rgba(204,140,42,0.3); width: 60%; }
.phone-screen-bar.short { width: 40%; }

.phone-screen-card {
  background: var(--bg-surface);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-screen-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(204,140,42,0.2);
  flex-shrink: 0;
}
.phone-screen-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.phone-screen-line {
  height: 7px;
  border-radius: 4px;
  background: var(--bg-primary);
}
.phone-screen-line.short { width: 55%; }

.app-features-content { max-width: 480px; }
.app-features-content h2 { margin-bottom: 20px; }
.app-features-content > p { margin-bottom: 36px; font-size: 15px; }

.feature-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s;
}
.feature-item:hover { border-color: var(--border-gold); }
.feature-icon {
  width: 36px; height: 36px;
  background: rgba(204,140,42,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}
.feature-text strong { display: block; font-size: 14px; color: var(--text-primary); margin-bottom: 2px; }
.feature-text span { font-size: 13px; color: var(--text-muted); }

/* ============================================
   CONTACTO
   ============================================ */
.contacto-header { text-align: center; margin-bottom: 64px; }
.contacto-header h2 { margin-bottom: 16px; }
.contacto-header p { max-width: 480px; margin: 0 auto; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--accent-gold); }
.contact-form select { -webkit-appearance: none; cursor: pointer; }
.contact-form select option { background: var(--bg-surface); }
.contact-form textarea { resize: vertical; min-height: 110px; }

.form-note { font-size: 13px; text-align: center; color: var(--text-muted); }
.form-note a { color: var(--accent-gold); }

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 36px;
  margin-bottom: 12px;
  color: var(--accent-green);
}
.form-success p { font-size: 15px; }
.form-success a { color: var(--accent-gold); }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info > h3 { margin-bottom: 8px; }
.contact-info > p { margin-bottom: 24px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
}
.contact-item:hover { border-color: var(--border-gold); }

.contact-icon {
  width: 44px; height: 44px;
  background: rgba(204,140,42,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-item-text a,
.contact-item-text span {
  font-size: 15px;
  color: var(--text-primary);
}
.contact-item-text a:hover { color: var(--accent-gold); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 40px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand { max-width: 320px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-isotipo { width: 40px; height: 40px; }
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  line-height: 1.2;
}
.footer-brand-name span { color: var(--accent-gold); }
.footer-brand p { font-size: 13px; line-height: 1.65; }

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent-gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .nosotros-grid { gap: 48px; }
  .app-layout { gap: 48px; }
}

@media (max-width: 900px) {
  .nav-links, .btn-nav { display: none; }
  .nav-hamburger { display: flex; }

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: calc(var(--nav-h) + 32px);
    gap: 40px;
  }
  .hero-content { max-width: 100%; }
  .hero-label { justify-content: center; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-ctas { justify-content: center; }
  .hero-animation-placeholder {
    min-width: 100%;
    min-height: 300px;
    order: -1;
  }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }

  .service-item { grid-template-columns: 1fr; gap: 32px; }
  .service-item.reverse { direction: ltr; }

  .nosotros-grid { grid-template-columns: 1fr; gap: 48px; }
  .app-layout { grid-template-columns: 1fr; }
  .phone-frame { display: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  section { padding: 72px 20px; }
  .nav { padding: 0 20px; }
  .footer { padding: 48px 20px 28px; }

  .hero { padding-left: 20px; padding-right: 20px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--border-subtle); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border-subtle); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }

  .cards-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .service-features { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 24px 20px; }
}
