/* =========================================================
   CleanWorks · styles.css
   Paleta: Azul marino oscuro (#1E3A5F) + Dorado (#B8960C / #D4AF37)
   ========================================================= */

/* ─── CSS Variables ───────────────────────────────────── */
:root {
  --navy:        #1a2f4a;
  --navy-deep:   #0f1e30;
  --navy-mid:    #243c57;
  --gold:        #c9a227;
  --gold-light:  #e0bb4a;
  --gold-dark:   #a07e15;
  --white:       #ffffff;
  --off-white:   #f5f6f8;
  --gray-100:    #eef0f3;
  --gray-200:    #d8dce3;
  --gray-400:    #8e97a6;
  --gray-600:    #556270;
  --text:        #1a2a3a;
  --text-light:  #4a5568;

  --font-display: 'Bebas Neue', sans-serif;
  --font-cond:    'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --radius:       10px;
  --radius-lg:    18px;
  --shadow:       0 4px 24px rgba(15, 30, 48, 0.10);
  --shadow-lg:    0 12px 48px rgba(15, 30, 48, 0.18);
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ────────────────────────────────────── */
*, *::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);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ─── Utility ─────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 96px 0; }
.section-dark { background: var(--navy-deep); color: var(--white); }

.section-header.center { text-align: center; margin-bottom: 3.5rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 0.75rem;
  margin-bottom: 1rem;
}
.section-label.light { color: var(--gold-light); border-color: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.section-title em { color: var(--gold); font-style: normal; }
.section-title.light { color: var(--white); }

/* ─── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.35);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ─── NAVBAR ──────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: var(--navy-deep);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
  padding: 0.65rem 0;
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
}
.nav-link:hover { color: var(--gold-light); }

.nav-cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 0.5rem 1.2rem;
  margin-left: 0.5rem;
}
.nav-cta:hover {
  background: var(--gold-light);
  color: var(--navy-deep) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 55%, #1a3a5c 100%);
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Decorative shapes */
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: var(--gold);
}
.shape-1 { width: 600px; height: 600px; top: -200px; right: -150px; }
.shape-2 { width: 350px; height: 350px; bottom: -100px; left: -100px; }
.shape-3 {
  width: 120px; height: 120px;
  top: 30%; left: 60%;
  opacity: 0.12;
  background: var(--gold-light);
}

/* Gold border accent bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(201,162,39,0.12);
  border: 1px solid rgba(201,162,39,0.35);
  color: var(--gold-light);
  font-family: var(--font-cond);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
  animation: fadeDown 0.7s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5.2rem);
  line-height: 1.0;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero-title-accent {
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  margin-bottom: 2.25rem;
  font-weight: 300;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeUp 0.7s 0.4s ease both;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 1.5s ease infinite;
}

/* ─── ABOUT ───────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content { padding: 1rem 0; }

.about-content p {
  color: var(--text-light);
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
}

.about-checklist {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-lg);
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
}

.about-list li i {
  color: var(--gold);
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* ─── SERVICES ────────────────────────────────────────── */
.service-block { margin-bottom: 4rem; }
.service-block:last-child { margin-bottom: 0; }

.service-block-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.service-icon-wrap.security  { background: rgba(201,162,39,0.15); color: var(--gold); }
.service-icon-wrap.cleaning  { background: rgba(201,162,39,0.15); color: var(--gold); }

.service-block-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.service-block-desc { color: rgba(255,255,255,0.55); font-size: 0.95rem; }

.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}

.service-card:hover {
  background: rgba(201,162,39,0.08);
  border-color: rgba(201,162,39,0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.service-card i {
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.service-card h4 {
  font-family: var(--font-cond);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.service-card p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.6; }

/* ─── BENEFITS ────────────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.benefit-item {
  padding: 2.25rem 2rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.benefit-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.benefit-item:hover::before { transform: scaleX(1); }

.benefit-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.benefit-item h4 {
  font-family: var(--font-cond);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.benefit-item p { color: var(--text-light); font-size: 0.92rem; }

/* ─── TESTIMONIALS ────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: var(--transition);
}

.testimonial-card.featured {
  background: rgba(201,162,39,0.08);
  border-color: rgba(201,162,39,0.25);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 2px;
}

.testimonial-card > p {
  color: rgba(255,255,255,0.75);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-author span {
  display: block;
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
}

/* ─── CONTACT ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

.contact-info p {
  color: var(--text-light);
  margin: 1.25rem 0 2rem;
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-details strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 2px;
}

.contact-details span {
  font-size: 0.97rem;
  color: var(--text);
  font-weight: 500;
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.form-group label .optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gray-400, #9ca3af);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
  background: var(--white);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.1);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-error {
  font-size: 0.78rem;
  color: #e53e3e;
  margin-top: 0.3rem;
  min-height: 1.1em;
}

.form-success,
.form-error-global {
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-success {
  background: rgba(56,161,105,0.1);
  border: 1px solid rgba(56,161,105,0.3);
  color: #276749;
}

.form-success i { color: #38a169; font-size: 1.3rem; margin-top: 2px; }
.form-success strong { display: block; font-size: 0.95rem; }
.form-success p { font-size: 0.88rem; margin-top: 2px; opacity: 0.8; }

.form-error-global {
  background: rgba(229,62,62,0.08);
  border: 1px solid rgba(229,62,62,0.2);
  color: #c53030;
}

.form-error-global i { color: #e53e3e; font-size: 1.3rem; margin-top: 2px; }
.form-error-global strong { display: block; font-size: 0.95rem; }
.form-error-global p { font-size: 0.88rem; margin-top: 2px; opacity: 0.8; }

/* ─── FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding-top: 5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 90px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}
.footer-col a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.7rem;
}

.footer-contact li i {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact li a {
  color: inherit;
  transition: color 0.2s ease;
}

.footer-contact li a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

.footer-credit {
  text-align: right;
  line-height: 1.7;
  color: rgba(255,255,255,0.28);
}

.footer-credit strong {
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}

.footer-credit-contact {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.footer-credit-contact a {
  color: rgba(255,255,255,0.35);
  transition: color 0.2s ease;
}

.footer-credit-contact a:hover {
  color: var(--gold, #d4af37);
}

.footer-credit-contact a + a::before {
  content: '·';
  margin: 0 0.5rem;
  color: rgba(255,255,255,0.2);
}

@media (max-width: 767px) {
  .footer-credit { text-align: center; }
}

/* ─── BACK TO TOP ─────────────────────────────────────── */
/* ─── WHATSAPP FLOAT ──────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  z-index: 950;
  animation: whatsappPulse 2.4s ease-in-out infinite;
}

.whatsapp-float:hover {
  background: #1ebe5b;
  transform: translateY(-3px) scale(1.05);
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: var(--navy-deep, #0f1b2d);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--navy-deep, #0f1b2d);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 600px) {
  .whatsapp-tooltip { display: none; }
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45); }
  50%      { box-shadow: 0 6px 26px rgba(37, 211, 102, 0.75); }
}

/* ─── ANIMATIONS ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.4; transform: scaleY(0.6); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Direccionales: fade in desde la izquierda / derecha */
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: opacity, transform;
}
.reveal-left  { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Despliegue secuencial de los hijos directos de un contenedor */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
/* Conserva la elevación al pasar el mouse solo en las tarjetas (no en el footer) */
.reveal-stagger.visible > .service-card:hover,
.reveal-stagger.visible > .benefit-item:hover,
.reveal-stagger.visible > .testimonial-card:hover {
  transform: translateY(-4px);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.18s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.28s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.38s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.48s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.58s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.68s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.78s; }

/* En móvil se reduce el desplazamiento horizontal para un efecto más sutil */
@media (max-width: 600px) {
  .reveal-left  { transform: translateX(-26px); }
  .reveal-right { transform: translateX(26px); }
}

/* Respeta la preferencia de movimiento reducido del sistema */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid     { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand   { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  /* Navbar mobile */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0.5rem;
    align-items: flex-start;
    box-shadow: -8px 0 40px rgba(0,0,0,0.35);
  }

  .nav-links.open { transform: translateX(0); }

  .nav-link { font-size: 1.1rem; padding: 0.75rem 0; width: 100%; }
  .nav-cta { margin-left: 0; width: 100%; justify-content: center; }

  /* Hero */
  .hero { padding: 100px 0 60px; }
  .hero-stats { flex-wrap: wrap; gap: 1.25rem; }
  .hero-scroll-indicator { display: none; }

  /* Sections */
  .section { padding: 64px 0; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.75rem 1.25rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .about-checklist { padding: 2.5rem 1.75rem; }
  .about-list li { font-size: 1.05rem; }
}
