/* ── VARIABLES ── */
:root {
  --orange:       #F26522;
  --orange-dark:  #C44E0E;
  --orange-light: #FF8A4C;
  --black:        #0D0D0D;
  --dark:         #141414;
  --dark2:        #1C1C1C;
  --gray:         #2A2A2A;
  --muted:        #9A9A9A;
  --light:        #F7F5F2;
  --white:        #FFFFFF;
  --card-bg:      #FFFFFF;
  --border:       rgba(0,0,0,0.08);

  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body:    'DM Sans', Arial, sans-serif;

  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  22px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow:     0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.18);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:  1180px;
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: #2a2a2a;
  background: var(--light);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a { text-decoration: none; }

button {
  font-family: var(--font-body);
  cursor: pointer;
}

/* ── UTILIDADES ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--orange); }

/* ══════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(13,13,13,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(242,101,34,0.2);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 44px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.5px;
}

.logo-sub {
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}

/* Links desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-links a:not(.nav-cta):hover {
  color: #fff;
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

/* CTA nav */
.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}

.nav-cta:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(242,101,34,0.4) !important;
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Menú móvil */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  background: rgba(13,13,13,0.98);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition);
}

.mobile-menu a:hover { color: var(--orange); }

.mobile-cta {
  margin-top: 8px;
  text-align: center;
  justify-content: center;
  border-bottom: none !important;
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slider fondo */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slider img.active {
  opacity: 1;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(13,13,13,0.78) 0%,
    rgba(13,13,13,0.55) 50%,
    rgba(13,13,13,0.40) 100%
  );
}

/* Contenido hero */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 24px 100px;
  width: 100%;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242,101,34,0.12);
  border: 1px solid rgba(242,101,34,0.35);
  color: var(--orange-light);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge i {
  color: var(--orange);
}

/* Título */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(54px, 9vw, 100px);
  line-height: 0.92;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

/* Subtítulo */
.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.6;
}

/* Botones hero */
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.stat strong {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--orange);
  letter-spacing: 1px;
}

.stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
}

/* Dots del hero slider */
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.dot.active {
  background: var(--orange);
  width: 24px;
  border-radius: 4px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  right: 40px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  animation: bounce 2s infinite;
  transition: border-color var(--transition), color var(--transition);
}

.scroll-indicator:hover {
  border-color: var(--orange);
  color: var(--orange);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* Animación reveal hero */
.reveal-hero {
  opacity: 0;
  transform: translateY(30px);
  animation: heroIn 0.9s 0.3s ease forwards;
}

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════
   BOTONES
══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 18px rgba(242,101,34,0.35);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(242,101,34,0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════
   SECCIONES — layout común
══════════════════════════════════════════════════════ */
.section {
  padding: 96px 0;
}

.section-light {
  background: var(--light);
}

.section-dark {
  background: var(--dark2);
  color: #fff;
}

/* Encabezado de sección */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header p {
  color: #666;
  max-width: 560px;
  margin: 12px auto 0;
  font-size: 16px;
}

.section-tag {
  display: inline-block;
  background: rgba(242,101,34,0.1);
  color: var(--orange);
  border: 1px solid rgba(242,101,34,0.25);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-tag-light {
  background: rgba(242,101,34,0.15);
  border-color: rgba(242,101,34,0.3);
}

.section-header h2,
.nosotros-text h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: 1px;
  color: var(--dark);
}

.section-dark .section-header h2 {
  color: #fff;
}

/* ══════════════════════════════════════════════════════
   SERVICIOS — GRID + CARDS
══════════════════════════════════════════════════════ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

/* Card */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Slider interno */
.slider {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #eee;
  flex-shrink: 0;
}

.slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.slider img.active {
  opacity: 1;
}

.slider:hover img.active {
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 5s ease;
}

/* Botones slider */
.slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  z-index: 3;
  transition: background var(--transition), transform var(--transition);
}

.slider button:hover {
  background: var(--orange);
  transform: translateY(-50%) scale(1.1);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Dots en sliders de cards */
.slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
}

/* Contenido de la card */
.card-content {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-icon {
  width: 40px;
  height: 40px;
  background: rgba(242,101,34,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 18px;
  margin-bottom: 14px;
}

.card-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.card-content p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  margin-top: 18px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(242,101,34,0.25);
}

.card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(242,101,34,0.35);
  color: #fff;
}

/* ══════════════════════════════════════════════════════
   NOSOTROS
══════════════════════════════════════════════════════ */
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.nosotros-text h2 {
  color: #fff;
  margin-bottom: 20px;
}

.nosotros-text p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.7;
}

.nosotros-text .btn-primary {
  margin-top: 12px;
}

.nosotros-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 20px;
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition);
}

.feature-item:hover {
  background: rgba(242,101,34,0.07);
  border-color: rgba(242,101,34,0.2);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(242,101,34,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 18px;
  flex-shrink: 0;
}

.feature-item h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-item p {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════
   CONTACTO
══════════════════════════════════════════════════════ */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.contacto-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contacto-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  color: var(--dark);
}

.contacto-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.whatsapp-card:hover { border-color: #25D366; }
.email-card:hover    { border-color: var(--orange); }

.contacto-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.whatsapp-card .contacto-card-icon { background: #e8f8ee; color: #25D366; }
.email-card    .contacto-card-icon { background: rgba(242,101,34,0.1); color: var(--orange); }
.info-card     .contacto-card-icon { background: #eef2ff; color: #4f46e5; }

.contacto-card div strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 2px;
}

.contacto-card div span {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}

.contacto-arrow {
  margin-left: auto;
  color: #bbb;
  font-size: 13px;
}

/* Formulario */
.contacto-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contacto-form h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
  background: #fafafa;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(242,101,34,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: #aaa;
  margin-top: 10px;
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer {
  background: #0D0D0D;
  color: rgba(255,255,255,0.6);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
  width: 50px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1) opacity(0.85);
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 260px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.socials a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

.footer-links-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links-col nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col nav a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links-col nav a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-info a,
.footer-contact-info span {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color var(--transition);
}

.footer-contact-info a:hover { color: var(--orange); }

.footer-contact-info i {
  color: var(--orange);
  width: 16px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ══════════════════════════════════════════════════════
   BOTÓN FLOTANTE WHATSAPP
══════════════════════════════════════════════════════ */
.wsp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.wsp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}

.wsp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.35);
  animation: ring 2.5s infinite;
}

@keyframes ring {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.wsp-tooltip {
  position: absolute;
  right: 68px;
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

.wsp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--dark);
  border-right: none;
}

.wsp-float:hover .wsp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ══════════════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

.modal.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-content {
  position: relative;
  max-width: 480px;
  width: 100%;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.35s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.modal-content img {
  width: 100%;
  height: auto;
  display: block;
}

.modal-footer {
  padding: 16px 20px;
  text-align: center;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 2;
  transition: background var(--transition), transform var(--transition);
}

.modal-close:hover {
  background: var(--orange);
  transform: rotate(90deg);
}

/* ══════════════════════════════════════════════════════
   ANIMACIONES DE SCROLL
══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Retrasos escalonados en el grid */
.grid .card:nth-child(1) { transition-delay: 0s;    }
.grid .card:nth-child(2) { transition-delay: 0.08s; }
.grid .card:nth-child(3) { transition-delay: 0.16s; }
.grid .card:nth-child(4) { transition-delay: 0.24s; }
.grid .card:nth-child(5) { transition-delay: 0.32s; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  /* Navbar */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-content {
    padding: 110px 20px 80px;
  }

  .hero-stats {
    gap: 14px;
  }

  .scroll-indicator { display: none; }

  /* Secciones */
  .section { padding: 72px 0; }

  /* Servicios */
  .grid {
    grid-template-columns: 1fr;
  }

  /* Nosotros */
  .nosotros-grid { gap: 32px; }

  /* Contacto */
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contacto-form {
    padding: 28px 22px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 48px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 10px;
  }

  .stat strong { font-size: 22px; }
}