/* ATM Pro Services - Premium Mobile-First Styles */

:root {
  --navy: #0b1428;
  --navy-mid: #111d42;
  --navy-light: #1a2a5e;
  --red: #d32f2f;
  --red-hover: #b71c1c;
  --red-glow: rgba(211,47,47,0.3);
  --blue: #1565c0;
  --blue-light: #e3f2fd;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --gray-50: #fafbfc;
  --gray-100: #f1f3f5;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --whatsapp: #25d366;
  --whatsapp-hover: #1da851;
  --gold: #f59e0b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.18);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 64px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: none; background: none; font-family: inherit; -webkit-tap-highlight-color: transparent; }
input, select, textarea { font-family: inherit; font-size: 16px; border: none; outline: none; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-red { color: var(--red); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  padding: 14px 28px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  min-height: 50px;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 15px var(--red-glow);
}
.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--red-glow);
}
.btn-primary:active { transform: translateY(0); }
.btn-glass {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}
.btn-glass-dark {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-glass-dark:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 12px; min-height: 54px; }
.btn-block { width: 100%; }

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: all 0.3s var(--ease);
}
.header:not(.scrolled) {
  background: transparent;
}
.header.scrolled {
  background: rgba(11,20,40,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo { display: flex; align-items: center; gap: 10px; z-index: 1001; }
.logo-img { height: 40px; width: auto; }
.logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  align-items: center;
  gap: 6px;
  letter-spacing: -0.02em;
}
.logo-text span { color: var(--red); }

.header-right { display: flex; align-items: center; gap: 10px; z-index: 1001; }
.header-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  transition: all 0.3s var(--ease);
  box-shadow: 0 2px 10px var(--red-glow);
}
.header-call-btn:hover { transform: scale(1.1); }

/* Hamburger */
.hamburger {
  width: 42px;
  height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.35s var(--ease-out);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

/* Mobile Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out);
  z-index: 999;
}
.nav.open { opacity: 1; visibility: visible; }
.nav-link {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  padding: 14px 40px;
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  letter-spacing: -0.01em;
}
.nav-link:hover { background: rgba(255,255,255,0.08); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 16px 36px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 4px 15px var(--red-glow);
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding: calc(var(--header-h) + 30px) 0 80px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 100%, rgba(211,47,47,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 0%, rgba(21,101,192,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(11,20,40,0.5) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whatsapp);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(37,211,102,0); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 10vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(16px, 3.8vw, 20px);
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 48px;
}
.hero-actions .btn { width: 100%; max-width: 320px; }
.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}
.hero-feature svg { color: var(--whatsapp); }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scroll-anim 2s infinite;
}
@keyframes scroll-anim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* === Stats === */
.stats {
  padding: 0;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.stat-item {
  padding: 32px 20px;
  text-align: center;
  position: relative;
}
.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 1px;
  height: 50%;
  background: var(--gray-200);
}
.stat-item:nth-child(2)::after,
.stat-item:nth-child(4)::after { display: none; }
.stat-item:nth-child(1),
.stat-item:nth-child(2) { border-bottom: 1px solid var(--gray-100); }
.stat-number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--red);
}
.stat-item p {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === Sections === */
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-tag-dark {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section-header-light h2 { color: var(--white); }
.section-header p {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 480px;
  margin: 0 auto;
}
.section-header-light p { color: rgba(255,255,255,0.5); }

/* === Services === */
.services { padding: 100px 0 80px; background: var(--white); }
.services-grid { display: flex; flex-direction: column; gap: 12px; }
.service-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease-out);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover {
  background: var(--white);
  border-color: var(--gray-200);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.service-card.featured {
  background: var(--navy);
  border-color: var(--navy);
}
.service-card.featured::before { background: var(--gold); }
.service-card.featured h3 { color: var(--white); }
.service-card.featured p { color: rgba(255,255,255,0.6); }
.service-card.featured .service-icon { background: rgba(255,255,255,0.1); }
.service-card.featured .service-icon svg { color: var(--white); }
.service-card.featured .service-arrow { color: rgba(255,255,255,0.3); }
.service-card.featured:hover { background: var(--navy-mid); }
.service-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.service-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg { width: 24px; height: 24px; color: var(--blue); }
.service-body { flex: 1; min-width: 0; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.service-card p { font-size: 13px; color: var(--gray-500); line-height: 1.5; }
.service-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gray-300);
  transition: all 0.3s var(--ease);
}
.service-card:hover .service-arrow { color: var(--red); transform: translateX(4px); }

/* === About === */
.about { padding: 80px 0; background: var(--off-white); }
.about-layout { display: flex; flex-direction: column; gap: 48px; }
.about-left h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.about-desc {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 28px;
}
.about-right { display: flex; flex-direction: column; gap: 12px; }
.about-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all 0.3s var(--ease);
}
.about-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--gray-200);
}
.about-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  opacity: 0.3;
  min-width: 36px;
}
.about-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.about-card p { font-size: 14px; color: var(--gray-500); line-height: 1.5; }

/* === Gallery === */
.gallery { padding: 80px 0; background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
}
.gallery-item::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover { transform: scale(1.03); }
.gallery-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.gallery-placeholder svg { width: 36px; height: 36px; color: var(--gray-300); }
.gallery-placeholder span { font-size: 12px; font-weight: 600; color: var(--gray-400); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(12px);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-content { max-width: 90vw; max-height: 80vh; text-align: center; }
.lightbox-content img { max-width: 100%; max-height: 70vh; border-radius: var(--radius); margin: 0 auto; }
.lightbox-caption { color: var(--white); font-size: 16px; font-weight: 500; margin-top: 16px; }
.lightbox-close { position: absolute; top: 16px; right: 20px; color: var(--white); font-size: 36px; line-height: 1; padding: 8px; z-index: 1; opacity: 0.6; transition: opacity 0.2s; }
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 48px;
  padding: 16px;
  z-index: 1;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }

/* === Reviews === */
.reviews { padding: 80px 0; background: var(--navy); }
.reviews-grid { display: flex; flex-direction: column; gap: 16px; }
.review-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s var(--ease);
}
.review-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.review-stars svg { width: 18px; height: 18px; color: var(--gold); }
.review-text {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.review-author strong { display: block; font-size: 15px; color: var(--white); font-weight: 600; }
.review-author span { font-size: 13px; color: rgba(255,255,255,0.4); }

/* === CTA Banner === */
.cta-banner { padding: 0; background: var(--white); }
.cta-inner {
  background: linear-gradient(135deg, var(--red), var(--red-hover));
  border-radius: var(--radius-xl);
  padding: 48px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: -40px 0 0;
}
.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(0,0,0,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.cta-text { position: relative; z-index: 1; margin-bottom: 28px; }
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.cta-text p { font-size: 16px; color: rgba(255,255,255,0.8); }
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* === Contact === */
.contact { padding: 80px 0 120px; background: var(--off-white); }
.contact-layout { display: flex; flex-direction: column; gap: 40px; }
.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.contact-desc { font-size: 16px; color: var(--gray-600); line-height: 1.7; margin-bottom: 32px; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.contact-method:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); border-color: var(--gray-200); }
.contact-method-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-method-icon svg { width: 20px; height: 20px; color: var(--blue); }
.whatsapp-icon { background: rgba(37,211,102,0.1) !important; }
.whatsapp-icon svg { color: var(--whatsapp) !important; }
.contact-method strong { display: block; font-size: 15px; font-weight: 700; color: var(--navy); }
.contact-method span { font-size: 13px; color: var(--gray-500); }

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--gray-50);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  color: var(--gray-800);
  transition: all 0.25s var(--ease);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(21,101,192,0.08);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--gray-400); }
.contact-form select {
  color: var(--gray-400);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.contact-form select:valid { color: var(--gray-800); }
.contact-form textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 13px; color: var(--gray-400); text-align: center; margin-top: 14px; }
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === Footer === */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
.footer-brand { max-width: 320px; }
.footer-logo { height: 36px; width: auto; margin-bottom: 16px; }
.footer-brand .logo-text { font-size: 20px; margin-bottom: 16px; color: var(--white); }
.footer-brand p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.45); margin-bottom: 16px; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.footer-badge svg { color: var(--whatsapp); }
.footer-nav h4, .footer-services h4, .footer-cta h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-nav a, .footer-services a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-services a:hover { color: var(--white); }
.footer-phone {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--whatsapp);
  margin-bottom: 12px;
}
.footer-wa:hover { color: var(--whatsapp-hover); }
.footer-hours { font-size: 14px; color: rgba(255,255,255,0.4); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }

/* === Sticky Bottom === */
.sticky-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}
.sticky-bottom.visible { transform: translateY(0); }
.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  min-height: 56px;
}
.sticky-call { background: var(--red); color: var(--white); }
.sticky-call:active { background: var(--red-hover); }
.sticky-whatsapp { background: var(--whatsapp); color: var(--white); }
.sticky-whatsapp:active { background: var(--whatsapp-hover); }

/* === Hero Entrance Animation === */
.hero-anim {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s var(--ease-out) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Floating shapes */
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: floatShape 20s infinite ease-in-out;
}
.shape-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(211,47,47,0.08), transparent 70%);
  top: 10%; left: -5%;
  animation-delay: 0s;
  animation-duration: 18s;
}
.shape-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(21,101,192,0.1), transparent 70%);
  top: 60%; right: -3%;
  animation-delay: -4s;
  animation-duration: 22s;
}
.shape-3 {
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(255,255,255,0.04), transparent 70%);
  top: 30%; left: 60%;
  animation-delay: -8s;
  animation-duration: 16s;
}
.shape-4 {
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(211,47,47,0.06), transparent 70%);
  bottom: 20%; left: 30%;
  animation-delay: -12s;
  animation-duration: 24s;
}
.shape-5 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(21,101,192,0.06), transparent 70%);
  top: -5%; right: 20%;
  animation-delay: -6s;
  animation-duration: 20s;
}
@keyframes floatShape {
  0%, 100% { opacity: 0; transform: translate(0, 0) scale(1); }
  10% { opacity: 1; }
  50% { opacity: 1; transform: translate(40px, -30px) scale(1.15); }
  90% { opacity: 1; }
}

/* Animated gradient on hero overlay */
.hero-overlay {
  animation: gradientShift 12s ease infinite alternate;
}
@keyframes gradientShift {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

/* Button hover lift + glow */
.btn-hover-lift { transition: all 0.35s var(--ease-out); }
.btn-hover-lift:hover { transform: translateY(-3px); }
.btn-primary.btn-hover-lift:hover { box-shadow: 0 12px 35px var(--red-glow); }

/* === Scroll Animations (multi-direction) === */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-animate].animated { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }

[data-animate="left"] { transform: translateX(-50px); }
[data-animate="right"] { transform: translateX(50px); }
[data-animate="scale"] { transform: scale(0.9); }
[data-animate="fade"] { transform: none; }

/* Stagger delays */
.services-grid [data-animate]:nth-child(2) { transition-delay: 0.06s; }
.services-grid [data-animate]:nth-child(3) { transition-delay: 0.12s; }
.services-grid [data-animate]:nth-child(4) { transition-delay: 0.18s; }
.services-grid [data-animate]:nth-child(5) { transition-delay: 0.24s; }
.services-grid [data-animate]:nth-child(6) { transition-delay: 0.3s; }
.services-grid [data-animate]:nth-child(7) { transition-delay: 0.36s; }
.services-grid [data-animate]:nth-child(8) { transition-delay: 0.42s; }

.about-right [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.about-right [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.about-right [data-animate]:nth-child(4) { transition-delay: 0.3s; }
.about-right [data-animate]:nth-child(5) { transition-delay: 0.4s; }

.reviews-grid [data-animate]:nth-child(2) { transition-delay: 0.12s; }
.reviews-grid [data-animate]:nth-child(3) { transition-delay: 0.24s; }

.gallery-grid [data-animate]:nth-child(2) { transition-delay: 0.07s; }
.gallery-grid [data-animate]:nth-child(3) { transition-delay: 0.14s; }
.gallery-grid [data-animate]:nth-child(4) { transition-delay: 0.21s; }
.gallery-grid [data-animate]:nth-child(5) { transition-delay: 0.28s; }
.gallery-grid [data-animate]:nth-child(6) { transition-delay: 0.35s; }

/* Card tilt (set by JS) */
.tilt-card { transition: transform 0.15s ease-out, box-shadow 0.3s ease; }

/* Section headers animate in */
.section-header { opacity: 0; transform: translateY(30px); transition: all 0.7s var(--ease-out); }
.section-header.animated { opacity: 1; transform: translateY(0); }

/* Stats bar glow */
.stats-grid { transition: box-shadow 0.5s ease; }
.stats-grid.glow {
  box-shadow: 0 24px 60px rgba(0,0,0,0.18), 0 0 40px rgba(211,47,47,0.08);
}

/* Animated counter pop */
.stat-item.pop .stat-number {
  animation: counterPop 0.4s var(--ease-out);
}
@keyframes counterPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* CTA shimmer */
.cta-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0% { left: -100%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

/* Service icon pulse on hover */
.service-card:hover .service-icon {
  animation: iconPulse 0.5s var(--ease-out);
}
@keyframes iconPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Review card subtle float */
.review-card:nth-child(1) { animation: subtleFloat 6s ease-in-out infinite; }
.review-card:nth-child(2) { animation: subtleFloat 6s ease-in-out infinite; animation-delay: -2s; }
.review-card:nth-child(3) { animation: subtleFloat 6s ease-in-out infinite; animation-delay: -4s; }
@keyframes subtleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Parallax layer (set by JS) */
.parallax-layer { transition: transform 0.1s linear; will-change: transform; }

/* === Tablet (600px+) === */
@media (min-width: 600px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-item::after { height: 60%; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: none; }
  .stat-item:nth-child(2)::after { display: block; }
  .stat-number { font-size: 48px; }
  .services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: row; justify-content: center; }
  .hero-actions .btn { width: auto; }
  .cta-actions { flex-direction: row; justify-content: center; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* === Desktop (900px+) === */
@media (min-width: 900px) {
  :root { --header-h: 72px; }
  .container { padding: 0 40px; }

  .hamburger { display: none; }
  .header-call-btn { display: none; }
  .header-right { display: none; }
  .nav {
    position: static;
    flex-direction: row;
    background: none;
    opacity: 1;
    visibility: visible;
    gap: 2px;
  }
  .nav-link { font-size: 14px; padding: 8px 16px; color: rgba(255,255,255,0.7); }
  .nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }
  .nav-cta { margin-top: 0; font-size: 14px; padding: 10px 22px; }

  .hero { min-height: 90vh; padding: calc(var(--header-h) + 60px) 0 100px; }
  .hero h1 { font-size: 72px; }

  .stats { margin-top: -50px; }
  .stat-item { padding: 40px 24px; }
  .stat-number { font-size: 56px; }
  .stat-suffix { font-size: 28px; }

  .services { padding: 120px 0 100px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-card { padding: 24px; }

  .about { padding: 100px 0; }
  .about-layout { flex-direction: row; gap: 64px; align-items: flex-start; }
  .about-left { flex: 1; position: sticky; top: 100px; }
  .about-right { flex: 1; }

  .gallery { padding: 100px 0; }

  .reviews { padding: 100px 0; }

  .cta-inner { padding: 64px 48px; display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .cta-text { margin-bottom: 0; }

  .contact { padding: 100px 0 120px; }
  .contact-layout { flex-direction: row; gap: 64px; align-items: flex-start; }
  .contact-left { flex: 1; position: sticky; top: 100px; }
  .contact-form { flex: 1; padding: 40px; }

  .sticky-bottom { display: none; }
}

/* === Large (1200px+) === */
@media (min-width: 1200px) {
  .hero h1 { font-size: 80px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Safe area */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .sticky-bottom { padding-bottom: env(safe-area-inset-bottom); }
  .contact { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-animate], .hero-anim, .section-header { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
