/* ==========================================================================
   ReparamosLavadorasYRefris.site — Styles
   Mantenimiento Profesional Cali
   Mobile-First · CSS Custom Properties · Premium Aesthetics
   ========================================================================== */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* ── Brand Colors ── */
  --primary:            #1e3a8a;
  --primary-dark:       #15296b;
  --primary-light:      #3b82f6;
  --primary-foreground: #ffffff;

  /* ── CTA Colors ── */
  --cta-whatsapp:       #25D366;
  --cta-whatsapp-hover: #1fb855;
  --cta-call:           #3b82f6;
  --cta-call-hover:     #2563eb;

  /* ── Neutrals ── */
  --background:         #ffffff;
  --background-alt:     #f8fafc;
  --text-primary:       #0f172a;
  --text-secondary:     #64748b;
  --text-muted:         #94a3b8;
  --border:             #e2e8f0;
  --border-hover:       #cbd5e1;

  /* ── Accent ── */
  --accent:             #f59e0b;
  --accent-light:       #fbbf24;

  /* ── Shadows ── */
  --shadow-sm:    0 1px 2px rgba(0,0,0,.05);
  --shadow-card:  0 4px 16px rgba(0,0,0,.06);
  --shadow-glow:  0 8px 32px rgba(30,58,138,.15);
  --shadow-cta:   0 4px 20px rgba(37,211,102,.30);

  /* ── Spacing ── */
  --section-py:  5rem;
  --container:   1200px;
  --radius:      1rem;
  --radius-lg:   1.25rem;

  /* ── Transitions ── */
  --ease:  cubic-bezier(.4,0,.2,1);
  --dur:   300ms;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2.5rem; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  line-height: 1.2;
  color: var(--text-primary);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.text-center { text-align: center; }
.text-balance { text-wrap: balance; }

/* ==========================================================================
   NAVIGATION (Sticky)
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.nav.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-card);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  min-height: 64px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
}

.nav__brand-text {
  line-height: 1.3;
}

.nav__brand-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.nav__brand-sub {
  font-size: 0.6875rem;
  color: var(--text-secondary);
}

/* Desktop nav links */
.nav__links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 0.5rem;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav__link:hover {
  color: var(--primary);
  background: var(--background-alt);
}

/* Desktop nav CTA */
.nav__cta {
  display: none;
}

.nav__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-foreground);
  background: var(--primary);
  border-radius: 0.625rem;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.nav__cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  background: transparent;
  cursor: pointer;
  color: var(--text-primary);
  transition: background var(--dur) var(--ease);
}

.nav__toggle:hover {
  background: var(--background-alt);
}

.nav__toggle i {
  font-size: 1.25rem;
}

/* Mobile menu panel */
.nav__mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 1rem 1.25rem 1.5rem;
  animation: slideDown .3s var(--ease);
}

.nav__mobile.open {
  display: block;
}

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

.nav__mobile-link {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 0.5rem;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav__mobile-link:hover {
  color: var(--primary);
  background: var(--background-alt);
}

.nav__mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.875rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-foreground);
  background: var(--cta-whatsapp);
  border-radius: 0.625rem;
  transition: background var(--dur) var(--ease);
}

.nav__mobile-cta:hover {
  background: var(--cta-whatsapp-hover);
}

@media (min-width: 1024px) {
  .nav__links  { display: flex; }
  .nav__cta    { display: block; }
  .nav__toggle { display: none; }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--primary-foreground);
}

.hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--primary-dark) 30%, rgba(21,41,107,.75) 60%, transparent 100%);
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding: 4rem 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}

.hero__badge i {
  color: var(--accent-light);
}

.hero h1 {
  color: var(--primary-foreground);
  margin-bottom: 1.25rem;
}

.hero h1 .highlight {
  color: var(--accent-light);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,.85);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,.8);
}

.hero__trust-item i {
  color: var(--accent-light);
}

.hero__image {
  display: none;
}

.hero__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  border: 1px solid rgba(255,255,255,.1);
}

@media (min-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 6rem 0;
  }

  .hero__image {
    display: block;
  }

  .hero__subtitle {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   CTA BUTTONS (Shared)
   ========================================================================== */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 480px) {
  .cta-group {
    flex-direction: row;
    width: auto;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  min-width: 200px;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--whatsapp {
  background: var(--cta-whatsapp);
  color: #fff;
  box-shadow: var(--shadow-cta);
}

.btn--whatsapp:hover {
  background: var(--cta-whatsapp-hover);
  box-shadow: 0 6px 28px rgba(37,211,102,.40);
}

.btn--call {
  background: var(--cta-call);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59,130,246,.30);
}

.btn--call:hover {
  background: var(--cta-call-hover);
  box-shadow: 0 6px 28px rgba(59,130,246,.40);
}

.btn--lg {
  padding: 1.125rem 2rem;
  font-size: 1rem;
  min-width: 220px;
}

.btn i {
  font-size: 1.125rem;
}

/* ==========================================================================
   DISCLAIMER BANNER
   ========================================================================== */
.disclaimer-bar {
  background: var(--background-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.disclaimer-bar p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.7;
}

.disclaimer-bar strong {
  color: var(--text-primary);
}

/* ==========================================================================
   SECTION — Generic
   ========================================================================== */
.section {
  padding: var(--section-py) 0;
  scroll-margin-top: 80px;
}

.section--alt {
  background: var(--background-alt);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section__header h2 {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section { padding: 6rem 0; }
}

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease);
}

.service-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform var(--dur) var(--ease);
}

.service-card:hover .service-card__icon {
  transform: scale(1.1);
}

.service-card__icon i {
  font-size: 1.375rem;
  color: #fff;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
}

.service-card__faults {
  margin-bottom: 1.5rem;
}

.service-card__faults li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
}

.service-card__faults li i {
  color: var(--primary-light);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.service-card__cta {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.service-card__cta .btn {
  width: 100%;
}

/* ==========================================================================
   GUARANTEE SECTION (Why Trust Us)
   ========================================================================== */
.guarantee-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .guarantee-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .guarantee-grid { grid-template-columns: repeat(4, 1fr); }
}

.guarantee-card {
  padding: 2rem 1.5rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease);
}

.guarantee-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.guarantee-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(30,58,138,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.guarantee-card__icon i {
  font-size: 1.375rem;
  color: var(--primary);
}

.guarantee-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.625rem;
}

.guarantee-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */
.process-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}

.process-card {
  position: relative;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--primary-foreground);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.process-card__number {
  position: absolute;
  top: -8px;
  right: -4px;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(255,255,255,.08);
  line-height: 1;
  user-select: none;
}

.process-card h3 {
  position: relative;
  font-size: 1.25rem;
  color: var(--primary-foreground);
  margin-bottom: 0.75rem;
}

.process-card p {
  position: relative;
  font-size: 0.9375rem;
  color: rgba(255,255,255,.85);
  line-height: 1.65;
}

/* ==========================================================================
   COVERAGE SECTION
   ========================================================================== */
.coverage-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .coverage-grid { grid-template-columns: 1fr 1fr; }
}

.coverage-card {
  padding: 2.5rem 1.5rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease);
}

.coverage-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.coverage-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(30,58,138,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.coverage-card__icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

.coverage-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.coverage-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.coverage-card__zones {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   CONTACT / FINAL CTA SECTION
   ========================================================================== */
.contact-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--primary-foreground);
  text-align: center;
}

.contact-section h2 {
  color: var(--primary-foreground);
  margin-bottom: 1.25rem;
}

.contact-section p {
  font-size: 1.125rem;
  color: rgba(255,255,255,.85);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,.8);
}

.contact-info__item i {
  color: var(--accent-light);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.75);
  padding: 3rem 0;
}

.footer__inner {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.footer__brand-name {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.footer__brand-sub {
  font-size: 0.8125rem;
}

.footer__right {
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .footer__right { text-align: right; }
}

.footer__right p {
  line-height: 1.7;
}

.footer__links {
  margin-top: 0.5rem;
}

.footer__links a {
  color: rgba(255,255,255,.7);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--dur) var(--ease);
}

.footer__links a:hover {
  color: #fff;
}

.footer__links span {
  margin: 0 0.5rem;
  color: rgba(255,255,255,.4);
}

.footer__copyright {
  margin-top: 0.75rem;
  color: rgba(255,255,255,.45);
}

/* Footer disclaimer */
.footer__disclaimer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 0.75rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  text-align: center;
}

/* ==========================================================================
   MOBILE STICKY CTA BAR
   ========================================================================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.625rem;
}

.sticky-cta .btn {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0.5rem;
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .sticky-cta { display: none; }
}

/* Add bottom padding on mobile to prevent content being hidden behind sticky bar */
@media (max-width: 767px) {
  body { padding-bottom: 70px; }
}

/* ==========================================================================
   AOS OVERRIDES (smoother, more subtle)
   ========================================================================== */
[data-aos] {
  transition-timing-function: var(--ease) !important;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Pulse animation for WhatsApp icon */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

.pulse-hover:hover {
  animation: pulse .6s var(--ease) infinite;
}

/* Shimmer effect for CTA section heading */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ==========================================================================
   LEGAL PAGES STYLES
   ========================================================================== */
.legal-page {
  background: var(--background-alt);
}

.legal-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--primary-foreground);
  padding: 4rem 0 3rem;
  text-align: center;
}

.legal-header h1 {
  color: var(--primary-foreground);
  margin-bottom: 0.75rem;
}

.legal-header .btn--back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: rgba(255,255,255,.8);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--dur) var(--ease);
}

.legal-header .btn--back:hover {
  color: #fff;
}

.legal-content {
  padding: 4rem 0;
}

.legal-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.legal-card h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p, .legal-card ul {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.legal-card ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.legal-card li {
  margin-bottom: 0.5rem;
}

.legal-card strong {
  color: var(--text-primary);
}

