/* =============================================
   AYUDITA.CL — Main Stylesheet
   Servicios Profesionales para el Hogar en Chile
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --primary:        #1A6DB5;
  --primary-dark:   #0F5799;
  --primary-light:  #E6F1FB;
  --secondary:      #4BAF44;
  --secondary-light:#EBF7EA;
  --accent:         #F5941C;
  --sky:            #3BAEE8;
  --dark:           #1A3A5C;
  --text:           #2B4770;
  --muted:          #617A96;
  --border:         #D9E6F2;
  --bg:             #F3F7FB;
  --white:          #FFFFFF;
  --gradient:       linear-gradient(135deg, #1A6DB5 0%, #2483CF 50%, #2E97E6 100%);
  --gradient-dark:  linear-gradient(135deg, #0F5799 0%, #1A6DB5 100%);
  --shadow-sm:      0 2px 8px rgba(26,58,92,0.08);
  --shadow-md:      0 4px 20px rgba(26,58,92,0.12);
  --shadow-lg:      0 10px 40px rgba(26,58,92,0.18);
  --shadow-xl:      0 20px 60px rgba(26,58,92,0.22);
  --radius-sm:      8px;
  --radius:         14px;
  --radius-lg:      22px;
  --radius-xl:      32px;
  --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h:          72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  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; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { color: var(--dark); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--muted); }

.text-primary { color: var(--primary); }
.text-white   { color: var(--white) !important; }
.text-center  { text-align: center; }
.fw-600       { font-weight: 600; }
.fw-700       { font-weight: 700; }

/* ---------- Layout Utilities ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }

.section-header { margin-bottom: 3.5rem; }
.section-header .badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { font-size: 1.1rem; max-width: 560px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(26,109,181,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26,109,181,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(0,135,90,0.3);
}
.btn-secondary:hover {
  background: #006644;
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Navigation ---------- */
#mobile-menu { display: none; }

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
#navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  flex-shrink: 0;
  overflow: hidden;
  max-height: var(--nav-h);
}
.nav-logo .logo-icon {
  width: 107px; height: 107px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.15rem;
}
.nav-logo span { color: var(--primary); }
.logo-img {
  height: 56px;
  max-height: 56px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-brand .logo-img {
  height: 64px;
  max-height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  padding: 6px 12px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.nav-links a:hover { background: var(--bg); color: var(--primary); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-menu-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Hero Section ---------- */
#hero {
  min-height: 100vh;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg-shapes::before,
.hero-bg-shapes::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  background: var(--white);
}
.hero-bg-shapes::before {
  width: 600px; height: 600px;
  right: -150px; top: -150px;
}
.hero-bg-shapes::after {
  width: 400px; height: 400px;
  left: -100px; bottom: -100px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
.hero-content { color: var(--white); }
.hero-content .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-content h1 span { color: #F5941C; }
.hero-content p    { color: rgba(255,255,255,0.82); font-size: 1.1rem; margin-bottom: 2rem; max-width: 500px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-stat {}
.hero-stat .number {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 3px;
}
.hero-stat .label { font-size: 0.8rem; color: rgba(255,255,255,0.65); }

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: var(--white);
}
.hero-card-main {
  padding: 2rem;
}
.hero-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 1rem; }
.hero-card .services-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-card .pill {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
}
.hero-card-row { display: flex; gap: 1rem; }
.hero-card-mini {
  flex: 1;
  text-align: center;
  padding: 1.25rem;
}
.hero-card-mini .icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 10px;
}
.hero-card-mini p { color: rgba(255,255,255,0.75); font-size: 0.8rem; margin-top: 3px; }
.hero-card-mini h4 { color: var(--white); font-size: 0.95rem; }

/* ---------- Services Section ---------- */
#servicios { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--gradient);
  color: var(--white);
}
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p  { font-size: 0.9rem; margin-bottom: 1.25rem; }
.service-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 1.25rem;
}
.service-price .desde { font-size: 0.8rem; color: var(--muted); }
.service-price .amount { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.service-price .unit   { font-size: 0.8rem; color: var(--muted); }
.service-features { display: flex; flex-direction: column; gap: 6px; }
.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}
.service-features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}
.service-card.featured {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
}
.service-card.featured::before { display: none; }
.service-card.featured h3,
.service-card.featured p,
.service-card.featured .service-features li,
.service-card.featured .service-price .desde,
.service-card.featured .service-price .unit { color: rgba(255,255,255,0.8); }
.service-card.featured .service-price .amount { color: var(--white); }
.service-card.featured .service-features li::before { background: var(--white); }
.service-card.featured .service-icon { background: rgba(255,255,255,0.2); color: var(--white); }
.service-card.featured:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.service-tag {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Quote Calculator Preview ---------- */
#cotizar {
  background: var(--primary);
  background: var(--gradient);
  overflow: hidden;
  position: relative;
}
#cotizar::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  right: -100px; top: -200px;
}
.quote-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.quote-preview-content { color: var(--white); }
.quote-preview-content .badge {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.quote-preview-content h2 { color: var(--white); margin-bottom: 1rem; }
.quote-preview-content p  { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 2rem; }
.quote-benefits { display: flex; flex-direction: column; gap: 14px; margin-bottom: 2.5rem; }
.quote-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
}
.quote-benefit .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.quote-benefit p { color: rgba(255,255,255,0.85); font-size: 0.95rem; margin: 0; }

.quote-card-preview {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}
.quote-card-preview h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}
.quick-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group select {
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--primary); }

.quick-result {
  background: var(--primary-light);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.quick-result.show { display: flex; }
.quick-result .label { font-size: 0.9rem; color: var(--primary); font-weight: 600; }
.quick-result .price { font-size: 1.6rem; font-weight: 800; color: var(--primary); }

/* ---------- How It Works ---------- */
#como-funciona { background: var(--white); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
  z-index: 0;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 1.5rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.step-card:hover .step-number {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(26,109,181,0.35);
}
.step-card h3 { margin-bottom: 0.5rem; }
.step-card p  { font-size: 0.9rem; }

/* ---------- About / Why Us ---------- */
#nosotros { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gradient);
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-image-inner {
  text-align: center;
  color: var(--white);
  padding: 2rem;
}
.about-image-inner i { font-size: 5rem; opacity: 0.8; margin-bottom: 1rem; }
.about-image-inner h3 { color: var(--white); font-size: 1.4rem; }
.about-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.about-stat-card {
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.about-stat-card .num { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.about-stat-card .lbl { font-size: 0.8rem; color: rgba(255,255,255,0.75); margin-top: 4px; }

.about-features { display: flex; flex-direction: column; gap: 1.25rem; margin: 1.5rem 0 2rem; }
.about-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.about-feature .icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}
.about-feature h4 { margin-bottom: 3px; font-size: 1rem; }
.about-feature p  { font-size: 0.875rem; }

/* ---------- Areas ---------- */
#zonas { background: var(--white); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.area-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.area-card i { font-size: 1.3rem; color: var(--primary); }
.area-card:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-3px);
  color: var(--primary);
}

/* ---------- Testimonials ---------- */
#testimonios { background: var(--bg); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}
.stars { color: #F59E0B; font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.author-name  { font-weight: 700; font-size: 0.95rem; color: var(--dark); }
.author-place { font-size: 0.8rem; color: var(--muted); }

/* ---------- FAQ ---------- */
#faq { background: var(--white); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  text-align: left;
  transition: var(--transition);
  gap: 1rem;
}
.faq-question:hover { background: var(--bg); }
.faq-question i { color: var(--primary); transition: var(--transition); flex-shrink: 0; }
.faq-item.open .faq-question { background: var(--primary-light); color: var(--primary); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}
.faq-answer-inner { padding: 0 1.5rem 1.25rem; font-size: 0.9rem; color: var(--muted); line-height: 1.75; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--gradient);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-banner::before { width: 400px; height: 400px; left: -100px; top: -200px; }
.cta-banner::after  { width: 300px; height: 300px; right: -80px; bottom: -150px; }
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p  { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact Section ---------- */
#contacto { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item .icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.85rem; color: var(--muted); font-weight: 500; margin-bottom: 3px; }
.contact-item p  { color: var(--dark); font-weight: 600; margin: 0; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 1rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ---------- Forms (Shared) ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group .helper { font-size: 0.78rem; color: var(--muted); margin-top: 3px; }
.form-group .error-msg { font-size: 0.78rem; color: var(--accent); margin-top: 3px; display: none; }
.form-group.has-error input,
.form-group.has-error select { border-color: var(--accent); }
.form-group.has-error .error-msg { display: block; }

.form-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}
.checkbox-group input[type="checkbox"] {
  width: 18px; height: 18px;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--primary);
}
.checkbox-group a { color: var(--primary); font-weight: 600; }

/* ---------- Quote Calculator Page ---------- */
.calc-page { background: var(--bg); min-height: 100vh; padding-top: var(--nav-h); }
.calc-header {
  background: var(--gradient);
  padding: 60px 0 80px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.calc-header h1 { color: var(--white); margin-bottom: 0.75rem; }
.calc-header p  { color: rgba(255,255,255,0.8); font-size: 1.1rem; }
.calc-body { margin-top: -40px; position: relative; z-index: 1; padding-bottom: 80px; }
.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.calc-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.calc-card h2 { margin-bottom: 1.5rem; font-size: 1.3rem; }

.step-tabs { display: flex; background: var(--bg); border-radius: var(--radius); padding: 4px; gap: 4px; margin-bottom: 2rem; }
.step-tab {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  transition: var(--transition);
  cursor: default;
}
.step-tab.active { background: var(--white); color: var(--primary); box-shadow: var(--shadow-sm); }
.step-tab.done   { color: var(--secondary); }

.range-input-group { position: relative; }
.range-input-group input[type="range"] {
  -webkit-appearance: none;
  width: 100%; height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary) var(--val, 50%), var(--border) var(--val, 50%));
  outline: none;
  padding: 0;
  border: none;
  margin: 10px 0 6px;
}
.range-input-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(0,82,204,0.35);
  cursor: pointer;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
}
.range-value-display {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.5rem 0;
}
.range-value-display span { font-size: 1rem; font-weight: 500; color: var(--muted); }

.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.options-grid-wide { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.option-card input[type="checkbox"] { display: none; }
.option-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.option-card:hover { border-color: var(--primary); background: var(--primary-light); }
.option-card.selected { border-color: var(--primary); background: var(--primary-light); }
.option-card input[type="radio"] { display: none; }
.option-card .opt-icon { font-size: 1.5rem; margin-bottom: 5px; }
.option-card .opt-name { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.option-card .opt-price { font-size: 0.75rem; color: var(--muted); }
.option-card.selected .opt-name { color: var(--primary); }

.counter-group { display: flex; align-items: center; gap: 10px; }
.counter-group span { font-size: 1.4rem; font-weight: 700; min-width: 40px; text-align: center; color: var(--dark); }
.counter-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.counter-btn:hover { background: var(--primary); color: var(--white); }

.freq-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.freq-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.freq-card:hover { border-color: var(--primary); }
.freq-card.selected { border-color: var(--primary); background: var(--primary-light); }
.freq-card input[type="radio"] { display: none; }
.freq-card .freq-label { font-size: 0.88rem; font-weight: 600; color: var(--dark); }
.freq-card .freq-discount { font-size: 0.75rem; color: var(--secondary); font-weight: 600; }
.freq-card.selected .freq-label { color: var(--primary); }

/* Supplies toggle */
.supplies-toggle { display: block; cursor: pointer; }
.supplies-toggle input[type="checkbox"] { display: none; }
.supplies-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: var(--transition);
  background: var(--white);
}
.supplies-toggle:hover .supplies-card { border-color: var(--primary); }
.supplies-toggle.active .supplies-card { border-color: var(--primary); background: var(--primary-light); }
.supplies-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.supplies-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.1rem; flex-shrink: 0;
}
.supplies-toggle.active .supplies-icon { background: var(--primary); color: var(--white); }
.supplies-info { flex: 1; }
.supplies-title { font-size: 0.95rem; font-weight: 700; color: var(--dark); }
.supplies-price { font-size: 0.88rem; font-weight: 700; color: var(--secondary); margin-top: 2px; }
.supplies-check { font-size: 1.4rem; color: var(--border); }
.supplies-toggle.active .supplies-check { color: var(--primary); }
.supplies-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.75rem;
  padding: 0; margin: 0; list-style: none;
}
.supplies-list li { font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 0.4rem; }
.supplies-list li i { color: var(--secondary); font-size: 0.7rem; flex-shrink: 0; }

/* Result Panel */
.result-panel {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.result-panel h3 { margin-bottom: 1.5rem; font-size: 1.1rem; }
.result-summary { background: var(--bg); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.5rem; }
.result-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  padding: 5px 0;
}
.result-line .label { color: var(--muted); }
.result-line .value { font-weight: 600; color: var(--dark); }
.result-divider { height: 1px; background: var(--border); margin: 10px 0; }
.result-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 5px;
}
.result-total .label { font-weight: 700; color: var(--dark); font-size: 0.95rem; }
.result-total .value { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.result-discount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--secondary-light);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.result-discount .label { color: var(--secondary); font-weight: 600; }
.result-discount .value { color: var(--secondary); font-weight: 700; }
.result-note { font-size: 0.78rem; color: var(--muted); text-align: center; padding: 0.75rem 0 0; }

/* ---------- Auth Pages ---------- */
.auth-page {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 1.5rem 60px;
}
.auth-container {
  width: 100%;
  max-width: 480px;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
}
.auth-logo .logo-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.75rem;
  margin: 0 auto 1rem;
}
.auth-logo h1 { font-size: 1.5rem; margin-bottom: 5px; }
.auth-logo p  { font-size: 0.9rem; }
.auth-alt-link {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.auth-alt-link a { color: var(--primary); font-weight: 600; }
.password-input { position: relative; }
.password-input input { padding-right: 46px; }
.password-toggle {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 4px;
}
.password-toggle:hover { color: var(--dark); }
.strength-bar { height: 4px; border-radius: 2px; background: var(--border); margin-top: 6px; overflow: hidden; }
.strength-fill { height: 100%; border-radius: 2px; transition: var(--transition); width: 0; }
.strength-label { font-size: 0.75rem; margin-top: 3px; }

/* ---------- Job Application Page ---------- */
.jobs-page { background: var(--bg); min-height: 100vh; padding-top: var(--nav-h); }
.jobs-header {
  background: var(--gradient-dark);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.jobs-header::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  right: -100px; top: -200px;
}
.jobs-header-content { position: relative; z-index: 1; text-align: center; color: var(--white); }
.jobs-header h1 { color: var(--white); margin-bottom: 0.75rem; }
.jobs-header p  { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 580px; margin: 0 auto; }

.jobs-body { margin-top: -40px; position: relative; z-index: 1; padding-bottom: 80px; }
.jobs-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: start;
}
.benefits-panel {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
}
.benefits-panel h3 { margin-bottom: 1.5rem; }
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.benefit-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.benefit-item .icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.benefit-item h4 { margin-bottom: 3px; font-size: 0.95rem; }
.benefit-item p  { font-size: 0.85rem; }

.file-upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.file-upload-zone:hover { border-color: var(--primary); background: var(--primary-light); }
.file-upload-zone i  { font-size: 2rem; color: var(--muted); margin-bottom: 0.5rem; }
.file-upload-zone p  { font-size: 0.85rem; }
.file-upload-zone .formats { font-size: 0.75rem; color: var(--muted); margin-top: 5px; }

/* ---------- Page Header (generic) ---------- */
.page-header {
  background: var(--gradient);
  padding: 50px 0 70px;
  text-align: center;
  color: var(--white);
}
.page-header h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-header p  { color: rgba(255,255,255,0.8); }

/* ---------- Footer ---------- */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { color: var(--white); font-size: 1.2rem; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; }
.footer-brand .social-links { margin-top: 1.25rem; }
.footer-brand .social-link { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.6); }
.footer-brand .social-link:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.footer-contact-item i { color: var(--primary); font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-badge {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Alert / Toast ---------- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.alert-success { background: var(--secondary-light); color: var(--secondary); border: 1px solid #ABF5D1; }
.alert-error   { background: #FFF0EB; color: var(--accent); border: 1px solid #FFBDAD; }
.alert-info    { background: var(--primary-light); color: var(--primary); border: 1px solid #C0D9FF; }
.alert i { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

/* ---------- Badges / Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.tag-primary { background: var(--primary-light); color: var(--primary); }
.tag-success { background: var(--secondary-light); color: var(--secondary); }
.tag-accent  { background: #FFF0EB; color: var(--accent); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--border); margin: 2rem 0; }

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}
.animate-in { animation: fadeInUp 0.55s ease both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.35s; }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: var(--transition);
  animation: pulse 2.5s ease infinite;
}
.whatsapp-float:hover { transform: scale(1.12); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid        { grid-template-columns: 1fr; padding: 60px 0; }
  .hero-visual      { display: none; }
  .quote-preview-grid { grid-template-columns: 1fr; }
  .about-grid       { grid-template-columns: 1fr; }
  .about-image      { height: 300px; }
  .calc-grid        { grid-template-columns: 1fr; }
  .jobs-grid        { grid-template-columns: 1fr; }
  .benefits-panel   { position: static; }
  .contact-grid     { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-menu-toggle { display: flex; }
  #mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--white);
    padding: 1rem 1.5rem 2rem;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    gap: 0.25rem;
    z-index: 999;
  }
  #mobile-menu.open { display: flex; }
  #mobile-menu a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
  }
  #mobile-menu a:hover { background: var(--bg); color: var(--primary); }
  #mobile-menu .divider { height: 1px; background: var(--border); margin: 0.5rem 0; width: 100%; }
  #mobile-menu .btn { width: 100%; justify-content: center; margin-top: 0.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .options-grid { grid-template-columns: 1fr 1fr; }
  .options-grid-wide { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .freq-cards   { grid-template-columns: 1fr 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .steps-grid::before { display: none; }
  .hero-stats { gap: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .auth-card  { padding: 1.75rem; }
  .form-card  { padding: 1.75rem; }
  .calc-card  { padding: 1.75rem; }
  .options-grid { grid-template-columns: 1fr; }
  .options-grid-wide { grid-template-columns: 1fr 1fr; }
  .freq-cards   { grid-template-columns: 1fr; }
  .areas-grid   { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Landing Page Extras ---------- */
.service-badge {
  position: absolute;
  top: -1px; right: 1.25rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.service-card { position: relative; }
.service-features li i {
  color: var(--secondary);
  font-size: 0.75rem;
  flex-shrink: 0;
}
.service-features li:has(i) { gap: 8px; }
.service-features li:has(i)::before { display: none; }
.btn-block { display: block; width: 100%; text-align: center; }
