/* ===========================
   ANDINO DETAILING — STYLES
   Apple-Minimalist / Dark
   =========================== */

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

:root {
  --bg: #0D1117;
  --bg-light: #131920;
  --bg-card: #161b22;
  --text: #FFFFFF;
  --text-secondary: #8b949e;
  --accent: #FF8C00;
  --accent-2: #00CCFF;
  --border: rgba(255,255,255,0.1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* ── NAV ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 52px;
  background: rgba(0,0,0,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 26px;
  width: auto;
  display: block;
}

#navbar ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

#navbar ul a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

#navbar ul a:hover { color: var(--text); }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: #0D1117;
  background: var(--accent);
  padding: 9px 20px;
  border-radius: 20px;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 0 rgba(255,140,0,0.4);
  transition: opacity 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  opacity: 0.9;
  box-shadow: 0 0 16px rgba(255,140,0,0.35);
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(96px, 14vw, 200px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--text);
  margin-bottom: 32px;
}

.hero-sub {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  margin-bottom: 44px;
}

.hero-cta {
  display: inline-block;
  padding: 18px 52px;
  border-radius: 50px;
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  background: var(--accent);
  color: #0D1117;
  letter-spacing: -0.01em;
  box-shadow: 0 0 0 0 rgba(255,140,0,0.5);
  animation: ctaPulse 2.8s ease-in-out infinite;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
  transform: scale(1.04);
  animation: none;
  box-shadow: 0 0 36px rgba(255,140,0,0.45);
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,140,0,0.45); }
  50%       { box-shadow: 0 0 0 14px rgba(255,140,0,0); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-secondary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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


/* ── SHARED SECTION STYLES ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-eyebrow {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.section-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
}

.section-dark {
  background: var(--bg-light);
  padding: 120px 0;
}

.section-light {
  background: var(--bg-light);
  color: var(--text);
  padding: 120px 0;
}

.section-light .section-eyebrow { color: var(--accent-2); }
.section-light .section-title { color: var(--text); }
.section-light p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }

/* ── SERVICES / PACKAGES ── */
.services-grid {
  display: grid;
  gap: 2px;
  margin-top: 64px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.packages-grid { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: var(--bg-card);
  padding: 48px 36px;
  position: relative;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
}

.service-card:hover { background: #191919; }

.service-card.featured {
  background: #161b22;
  border: 1px solid rgba(255,140,0,0.3);
}

.service-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0D1117;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.tier-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.service-icon {
  font-size: 28px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  color: var(--text);
}

.pkg-list {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pkg-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.pkg-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.25);
  font-weight: 300;
}

.price {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.price span {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}

.price-cotizar {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.pkg-cta {
  display: inline-block;
  align-self: flex-start;
  padding: 10px 24px;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.01em;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, background 0.2s;
}

.pkg-cta:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.06); }

.pkg-cta-dark {
  background: var(--accent);
  color: #0D1117;
  border-color: transparent;
}

.pkg-cta-dark:hover { opacity: 0.88; background: var(--accent); border-color: transparent; }

/* ── ADDITIONAL SERVICES ── */
.additional-services {
  margin-top: 2px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0 0 18px 18px;
  padding: 36px 36px;
  text-align: center;
}

.add-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.add-items {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.add-note {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ── REVIEWS CAROUSEL ── */
.reviews-section { text-align: center; }

.carousel-wrap {
  margin-top: 52px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card {
  min-width: 100%;
  padding: 64px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.review-stars {
  color: var(--accent);
  font-size: 22px;
  letter-spacing: 6px;
  margin-bottom: 28px;
}

.review-text {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.65;
  letter-spacing: -0.01em;
  font-style: italic;
  max-width: 780px;
  margin-bottom: 36px;
}

.review-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.author-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.author-location {
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.carousel-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  line-height: 1;
  padding-bottom: 1px;
}

.carousel-btn:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  border: none;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ── RESERVAR / CALENDLY ── */
.reservar-section { text-align: center; }

.calendly-wrap {
  margin-top: 48px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111;
}

/* ── QUOTE STRIP ── */
.quote-strip {
  background: var(--bg);
  padding: 100px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quote-strip blockquote {
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  font-style: italic;
}

/* ── NOSOTROS TWO-COL ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.feature-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  font-size: 15px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 300;
}

.col-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  align-self: center;
}

.stat {
  background: var(--bg-card);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ── PROCESO ── */
.process-section .section-title { margin-bottom: 64px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.step {
  background: var(--bg-card);
  padding: 48px 32px;
}

.step-num {
  font-size: 48px;
  font-weight: 700;
  color: rgba(255,255,255,0.1);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}

.step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── CONTACTO ── */
.contact-section { text-align: center; }
.contact-inner { max-width: 700px; }

.contact-section .section-sub {
  margin: 0 auto 48px;
  max-width: 500px;
}

.contact-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  letter-spacing: -0.01em;
  background: var(--accent);
  color: #0D1117;
}

.contact-btn:hover { opacity: 0.85; transform: scale(1.02); }

.contact-btn.outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.3);
}

.contact-btn.outline:hover { border-color: rgba(255,255,255,0.7); }

.contact-details {
  display: flex;
  gap: 32px;
  justify-content: center;
  font-size: 14px;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

/* ── FLOATING BUTTONS ── */
.float-buttons {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.call-float,
.wa-float {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.call-float {
  background: var(--accent);
  box-shadow: 0 4px 20px rgba(255, 140, 0, 0.45);
}

.call-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(255, 140, 0, 0.6);
}

.wa-float {
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

/* ── FOOTER ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ── HERO VIDEO ── */
#hero-video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  /* Nav */
  #navbar { padding: 0 20px; height: 56px; }
  #navbar ul { display: none; }
  .nav-cta { font-size: 13px; padding: 8px 16px; }

  /* Layout */
  .container { padding: 0 20px; }
  .section-dark, .section-light { padding: 56px 0; }

  /* Hero */
  .hero-content { padding: 0 20px; }
  .hero-cta {
    display: block;
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 17px 32px;
    font-size: 17px;
  }


  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 0; border-radius: 14px; margin-top: 40px; }
  .packages-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 20px; }
  .service-card + .service-card { border-top: 1px solid var(--border); }
  .pkg-cta { width: 100%; text-align: center; }
  .additional-services { padding: 24px 20px; border-radius: 0 0 14px 14px; }
  .add-items { font-size: 14px; }

  /* Section text */
  .section-sub { max-width: 100%; font-size: 16px; }

  /* Reviews */
  .carousel-wrap { border-radius: 14px; }
  .review-card { padding: 40px 24px; }
  .review-text { font-size: 17px; }

  /* Calendly */
  .calendly-wrap { margin-top: 28px; border-radius: 14px; }
  .calendly-inline-widget { height: 600px !important; }

  /* Quote */
  .quote-strip { padding: 56px 0; }

  /* Nosotros */
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .col-stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px; }
  .stat-number { font-size: 32px; }

  /* Steps */
  .steps { grid-template-columns: 1fr 1fr; border-radius: 14px; }
  .step { padding: 28px 20px; }
  .step-num { font-size: 36px; }

  /* Contact */
  .contact-inner { max-width: 100%; }
  .contact-links { flex-direction: column; align-items: center; }
  .contact-btn { width: 100%; max-width: 300px; text-align: center; }

  /* Floating buttons */
  .float-buttons { bottom: 20px; right: 20px; gap: 10px; }
  .call-float, .wa-float { width: 52px; height: 52px; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(72px, 18vw, 96px); }
  .section-title { font-size: clamp(26px, 7vw, 40px); }
  .steps { grid-template-columns: 1fr; }
  .col-stats { grid-template-columns: 1fr 1fr; }
  .pkg-cta { font-size: 15px; padding: 12px 20px; }
  .price span { font-size: 28px; }
  .calendly-inline-widget { height: 650px !important; }
}

/* Safe area for iPhone notch/home bar */
@supports (padding: max(0px)) {
  #navbar { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .float-buttons { bottom: max(20px, env(safe-area-inset-bottom)); right: max(20px, env(safe-area-inset-right)); }
  .container { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
}
