* , *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray: #e2e2e2;
  --gray-dark: #666666;
  --black: #1a1a1a;
  --whatsapp: #25D366;
  --text: #222222;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  padding-top: 64px;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { line-height: 1.25; margin-bottom: 0.6em; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
p { margin-bottom: 0.8em; color: var(--gray-dark); }

a { color: var(--black); text-decoration: none; }

section { padding: 50px 0; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { opacity: 0.85; }
.btn-primary { background: var(--black); color: var(--white); }
.btn-secondary { background: var(--gray-light); color: var(--black); border: 1px solid var(--gray); }
.btn-full { width: 100%; font-size: 1rem; }

.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray);
  z-index: 1000;
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { font-weight: 700; font-size: 1.2rem; color: var(--black); }
.logo span { color: var(--gray-dark); }

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.nav-links.open { max-height: 400px; }
.nav-links a {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-light);
  font-weight: 500;
}
.nav-links a.active { color: var(--gray-dark); font-weight: 700; }
.nav-links .btn-nav {
  background: var(--black); color: var(--white);
  margin: 10px 20px; border-radius: var(--radius); text-align: center;
}

.menu-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--black); display: block; }

@media (min-width: 768px) {
  .nav-links {
    position: static; flex-direction: row; align-items: center; gap: 8px;
    max-height: none; overflow: visible; border-bottom: none;
  }
  .nav-links a { border-bottom: none; padding: 10px 12px; }
  .nav-links .btn-nav { margin: 0; padding: 10px 20px; }
  .menu-toggle { display: none; }
}

.hero { background: var(--gray-light); padding: 70px 0; text-align: center; }
.hero h1 { font-size: 2.2rem; max-width: 700px; margin: 0 auto 0.6em; }
.hero p { max-width: 600px; margin: 0 auto 1.2em; }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 24px; }
.badge {
  background: var(--white); border: 1px solid var(--gray);
  padding: 8px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 500;
}

.calculator h2 { text-align: center; margin-bottom: 30px; }
.calc-box {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 30px;
  max-width: 560px;
  margin: 0 auto;
}
.calc-field { margin-bottom: 24px; }
.calc-field label { display: block; font-weight: 600; margin-bottom: 8px; }
.calc-field select {
  width: 100%; padding: 12px; border-radius: var(--radius); border: 1px solid var(--gray);
  font-size: 1rem; background: var(--white);
}
.calc-field input[type="range"] { width: 100%; }
.calc-label { font-weight: 600; margin-bottom: 8px; }
.calc-extras { display: flex; flex-direction: column; gap: 10px; }
.calc-extras label { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; color: var(--text); }
.calc-result { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--gray); }
.calc-total { font-size: 2.4rem; font-weight: 700; color: var(--black); margin-bottom: 16px; }
.calc-result small { display: block; color: var(--gray-dark); font-size: 0.9rem; margin-bottom: 16px; }
.pricing-note { text-align: center; color: var(--gray-dark); font-size: 0.95rem; margin-top: 24px; }

.cards-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 640px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .cards-grid { grid-template-columns: repeat(4, 1fr); }
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: left;
}
.card-highlight { border: 2px solid var(--black); }
.badge-popular {
  position: absolute; top: -12px; left: 22px;
  background: var(--black); color: var(--white);
  padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
}
.card .price { font-size: 1.6rem; font-weight: 700; color: var(--black); margin: 10px 0; }
.card .price span { font-size: 1rem; color: var(--gray-dark); font-weight: 400; }

.coverage { background: var(--gray-light); text-align: center; }
.coverage-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  list-style: none; margin-top: 20px;
}
.coverage-list li {
  background: var(--white); border: 1px solid var(--gray);
  padding: 10px 18px; border-radius: 20px; font-weight: 500;
}

.why-us { background: var(--white); text-align: center; }
.section-eyebrow {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gray-dark); margin-bottom: 0.5em;
}
.why-us-intro {
  max-width: 640px; margin: 0 auto 36px; font-size: 1.05rem;
}
.why-us-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px; text-align: left;
}
@media (min-width: 640px) {
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .why-us-grid { grid-template-columns: repeat(4, 1fr); }
}
.why-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
}
.why-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 14px;
  background: var(--black); color: var(--white); border-radius: 50%;
}
.why-card h3 { margin-bottom: 0.4em; font-size: 1.1rem; }
.why-card p { margin-bottom: 0; font-size: 0.95rem; }
.why-us-stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
  list-style: none; margin-top: 36px; padding: 0;
}
.why-us-stats li {
  min-width: 140px; background: var(--white); border: 1px solid var(--gray);
  border-radius: var(--radius); padding: 16px 20px;
}
.why-us-stats strong {
  display: block; font-size: 1.5rem; color: var(--black); line-height: 1.2;
}
.why-us-stats span { font-size: 0.85rem; color: var(--gray-dark); }

.cta-final { background: var(--black); color: var(--white); text-align: center; }
.cta-final h2 { color: var(--white); }
.cta-final p { color: var(--gray); }
.cta-final .btn-primary { background: var(--white); color: var(--black); }

.footer { background: var(--gray-light); padding: 50px 0 20px; margin-top: 40px; }
.footer-inner {
  display: grid; grid-template-columns: 1fr; gap: 30px;
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: repeat(4, 1fr); }
}
.footer h3, .footer h4 { margin-bottom: 14px; }
.footer a { display: block; color: var(--gray-dark); margin-bottom: 8px; }
.footer-bottom { text-align: center; margin-top: 30px; font-size: 0.85rem; color: var(--gray-dark); }

.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 999;
}

.page-header { background: var(--gray-light); text-align: center; padding: 60px 0 40px; }

.service-detail { padding: 60px 0; }
.service-detail.alt { background: var(--gray-light); }
.service-grid { max-width: 700px; margin: 0 auto; }
.check-list { list-style: none; margin: 16px 0; }
.check-list li { padding: 6px 0; padding-left: 28px; position: relative; color: var(--text); }
.check-list li::before { content: "\2714"; position: absolute; left: 0; color: var(--black); font-weight: 700; }
.service-grid .price { font-size: 1.8rem; font-weight: 700; margin: 14px 0; }

.pricing .price { display: block; }

.extras-section { background: var(--gray-light); }
.extras-list { list-style: none; max-width: 500px; margin: 20px auto 0; }
.extras-list li {
  display: flex; justify-content: space-between; padding: 14px 0;
  border-bottom: 1px solid var(--gray); font-weight: 500;
}

.faq { max-width: 700px; margin: 0 auto; }
.faq details {
  background: var(--gray-light); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 12px;
}
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin-top: 10px; margin-bottom: 0; }

.process-timeline { background: var(--gray-light); }
.timeline-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px; text-align: center;
}
@media (min-width: 768px) {
  .timeline-grid { grid-template-columns: repeat(4, 1fr); }
}
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--black); color: var(--white); font-weight: 700; margin-bottom: 12px;
}
.guarantee { text-align: center; margin-top: 30px; font-weight: 600; }

.booking-form { max-width: 640px; margin: 0 auto; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 8px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px; border-radius: var(--radius); border: 1px solid var(--gray);
  font-size: 1rem; font-family: inherit; background: var(--white);
}
.form-row .calc-extras { background: var(--gray-light); padding: 14px; border-radius: var(--radius); }

.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 30px;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-card {
  background: var(--gray-light); border-radius: var(--radius);
  padding: 22px; margin-bottom: 16px;
}
.contact-map iframe { border-radius: var(--radius); }

.thank-you { text-align: center; padding: 80px 0; }
.thank-you-box { max-width: 500px; margin: 0 auto; }
.check-icon {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 20px;
}
.thank-you-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
@media (min-width: 480px) {
  .thank-you-actions { flex-direction: row; justify-content: center; }
}

.seo-content { background: var(--gray-light); }
.seo-content h2 { font-size: 1.25rem; margin-top: 1em; }
.breadcrumb { font-size: 0.875rem; color: var(--gray-dark); margin-bottom: 1em; }
.breadcrumb a { text-decoration: underline; }
.coverage-list a { color: var(--black); text-decoration: underline; font-weight: 600; }
.footer a { color: var(--gray-dark); }
.footer a:hover { color: var(--black); }


.testimonials { padding: 60px 0; background: var(--gray-light); }
.testimonials-grid { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 900px) { .testimonials-grid { grid-template-columns: 1fr 1fr 1fr; } }
.testimonial-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.testimonial-card p { font-style: italic; color: var(--text); margin-bottom: 12px; }
.testimonial-card span { font-size: 0.875rem; color: var(--gray-dark); font-weight: 600; }

.btn-ghost { display: inline-block; margin-left: 12px; padding: 12px 24px; border: 2px solid var(--whatsapp); color: var(--whatsapp); border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.btn-ghost:hover { background: var(--whatsapp); color: var(--white); }
.cta-trust { margin-top: 16px; font-size: 0.875rem; color: var(--gray-dark); }

.badge-popular { display: inline-block; background: var(--black); color: var(--white); font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; margin-bottom: 8px; }
.card-highlight { border: 2px solid var(--black); position: relative; }

@media (max-width: 480px) {
  .btn-ghost { margin-left: 0; margin-top: 10px; display: block; text-align: center; }
}

.cta-final .btn-ghost { display: inline-block; margin-left: 12px; margin-top: 12px; }
.cta-final .cta-trust { display: block; margin-bottom: 4px; }

/* Fotos en tarjetas de servicios */
.card-photo {
  display: block;
  width: calc(100% + 44px);
  height: 170px;
  object-fit: cover;
  margin: -28px -22px 16px -22px;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* Fotos en páginas de detalle de servicio */
.service-photo {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

/* Sección de resultados / antes y después */
.showcase { padding: 60px 0; }
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}
@media (min-width: 768px) {
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
}
.showcase-grid figure { margin: 0; }
.showcase-grid img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.showcase-grid figcaption {
  text-align: center;
  margin-top: 10px;
  color: var(--gray-dark);
  font-size: 0.9rem;
}

.section-badge {
  display: inline-block;
  background: var(--black); color: var(--white);
  padding: 6px 16px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-subtitle { max-width: 640px; margin-bottom: 24px; font-size: 1.05rem; }
.link-more { display: inline-block; margin: 6px 0 16px; font-weight: 600; text-decoration: underline; }
