@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* Landing Pages */
.landing-content {
  max-width: 640px; margin: 0 auto; padding: 32px 20px 0;
  position: relative; z-index: 1;
}
.landing-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-bg); border: 1px solid var(--brand-border);
  border-radius: 100px; padding: 6px 16px; margin-bottom: 24px;
  font-size: 0.78rem; font-weight: 600; color: var(--brand);
}
.landing-h1 {
  font-size: 2.2rem; font-weight: 900; letter-spacing: -0.04em;
  line-height: 1.12; margin-bottom: 16px;
}
.landing-h1 .accent { color: var(--brand); }
.landing-intro {
  color: var(--slate-400); font-size: 1rem; line-height: 1.6;
  margin-bottom: 32px; max-width: 520px;
}

/* CTA */
.landing-cta-wrap {
  display: flex; justify-content: center; margin: 32px 0;
}
.landing-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 40px; border-radius: 100px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dim) 100%);
  color: #fff; font-family: inherit; font-size: 1.05rem;
  font-weight: 800; letter-spacing: 0.03em; border: none; cursor: pointer;
  box-shadow: 0 10px 25px rgba(15, 89, 62, 0.25), 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s; text-decoration: none;
}
.landing-cta:active { transform: scale(0.95); }
.landing-cta svg { width: 22px; height: 22px; }

/* SEO Text */
.seo-section {
  margin: 40px 0; padding: 28px 24px;
  background: var(--dark-800); border: 1px solid var(--white-5);
  border-radius: var(--radius);
}
.seo-section h2 {
  font-size: 1.2rem; font-weight: 700; margin-bottom: 16px;
  color: var(--slate-300);
}
.seo-section p {
  color: var(--slate-400); font-size: 0.9rem; line-height: 1.7;
  margin-bottom: 12px;
}
.seo-section p:last-child { margin-bottom: 0; }

/* Features */
.landing-features {
  list-style: none; display: flex; flex-direction: column; gap: 14px;
  margin: 32px 0;
}
.landing-features li {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; background: var(--dark-800);
  border: 1px solid var(--white-5); border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500; color: var(--slate-300);
}
.landing-features .feat-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--brand-bg); border: 1px solid var(--brand-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}

/* Footer */
.site-footer {
  position: relative; z-index: 1;
  padding: 40px 20px 32px; margin-top: 56px;
  border-top: 1px solid var(--white-8);
  background: var(--white-5);
}
.footer-inner {
  max-width: 640px; margin: 0 auto;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 480px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 640px) {
  .footer-cols {
    grid-template-columns: 1.2fr 1fr 1.5fr;
  }
}
@media (min-width: 768px) {
  .footer-inner {
    max-width: 900px;
  }
  .footer-cols {
    grid-template-columns: 1.2fr 1.2fr 1.2fr 1.5fr;
  }
}
.footer-col {
  display: flex;
  flex-direction: column;
}
.footer-label {
  font-size: 0.72rem; font-weight: 800; color: var(--slate-400);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 0.78rem; color: var(--slate-500); text-decoration: none;
  font-weight: 500; transition: color 0.2s;
  width: fit-content;
}
.footer-links a:hover { color: var(--brand); }
.footer-info-text {
  font-size: 0.78rem; color: var(--slate-500); line-height: 1.5; margin-bottom: 6px;
}
.footer-info-text strong {
  color: var(--slate-300);
}
.footer-bottom {
  border-top: 1px solid var(--white-5);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
@media (min-width: 480px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-copy {
  font-size: 0.7rem; color: var(--slate-600);
}
.footer-home-link a {
  font-size: 0.7rem; color: var(--slate-500); text-decoration: none; font-weight: 600;
}
.footer-home-link a:hover { color: var(--brand); }

/* SEO Fixes */
.steps-wrapper.rel {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  height: 100%;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--brand);
  animation: bounce-soft 2s infinite ease-in-out;
  opacity: 0.7;
}

@keyframes bounce-soft {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Subpage SEO Articles re-styling to override inline styles */
.steps-wrapper.rel article {
  background: var(--dark-800) !important;
  border: 1px solid var(--white-8) !important;
  color: var(--slate-400) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 8px rgba(0, 0, 0, 0.02) !important;
  margin: 0 auto 40px !important;
}

@media (max-width: 840px) {
  .steps-wrapper.rel article {
    margin: 0 20px 40px !important;
  }
}

.steps-wrapper.rel article h1 {
  color: var(--slate-300) !important;
}

.steps-wrapper.rel article h2 {
  color: var(--brand) !important;
}

.steps-wrapper.rel article h3 {
  color: var(--slate-300) !important;
}

.steps-wrapper.rel article p {
  color: var(--slate-400) !important;
}

.steps-wrapper.rel article p[style*="font-weight: 600"] {
  color: var(--slate-300) !important;
}

.steps-wrapper.rel article table {
  color: var(--slate-400) !important;
  border-collapse: collapse !important;
}

.steps-wrapper.rel article tr {
  border-bottom-color: var(--white-10) !important;
}

.steps-wrapper.rel article tr[style*="border-bottom: 2px solid"] {
  border-bottom: 2px solid var(--brand-border) !important;
}

.steps-wrapper.rel article th {
  color: var(--slate-300) !important;
}

.steps-wrapper.rel article th[style*="color: #a3e635"],
.steps-wrapper.rel article th[style*="color:#a3e635"] {
  color: var(--brand) !important;
}

.steps-wrapper.rel article th[style*="color: rgba(255,255,255,0.5)"],
.steps-wrapper.rel article th[style*="color:rgba(255,255,255,0.5)"] {
  color: var(--slate-500) !important;
}

.steps-wrapper.rel article td[style*="color: rgba(255,255,255,0.5)"],
.steps-wrapper.rel article td[style*="color:rgba(255,255,255,0.5)"] {
  color: var(--slate-500) !important;
}

.steps-wrapper.rel article td[style*="color: #a3e635"],
.steps-wrapper.rel article td[style*="color:#a3e635"] {
  color: var(--brand) !important;
}

/* Background overlay fade on read-more script */
.steps-wrapper.rel article div[style*="linear-gradient"],
.steps-wrapper.rel article div[style*="rgba(11, 14, 23"] {
  background: linear-gradient(to top, var(--dark-800) 0%, rgba(255, 255, 255, 0) 100%) !important;
}

/* Force dark logo for headers on subpages */
.app-header .logo {
  color: var(--slate-300) !important;
}

/* Homepage Scrollable SEO Styles */
.homepage-seo-wrap {
  width: 100%;
  max-width: 520px;
  margin: 40px auto 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: left;
}

.seo-card-section {
  background: var(--dark-800);
  border: 1px solid var(--white-8);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.seo-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-300);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--brand-bg);
  padding-bottom: 8px;
}

/* Timeline */
.seo-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.seo-timeline-item {
  display: flex;
  gap: 16px;
}

.seo-timeline-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(15, 89, 62, 0.2);
}

.seo-timeline-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-300);
  margin-bottom: 4px;
}

.seo-timeline-content p {
  font-size: 0.85rem;
  color: var(--slate-500);
  line-height: 1.5;
}

/* Benefits */
.seo-benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.seo-benefit-card {
  display: flex;
  gap: 16px;
  background: var(--white-5);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--white-5);
}

.benefit-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.seo-benefit-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-300);
  margin-bottom: 4px;
}

.seo-benefit-card p {
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.45;
}

/* Reviews */
.reviews-summary-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  background: var(--brand-bg);
  border: 1px solid var(--brand-border);
  padding: 10px 16px;
  border-radius: 100px;
  width: fit-content;
}

.reviews-summary-badge .stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.reviews-summary-badge .rating-text {
  font-size: 0.8rem;
  color: var(--brand-dim);
}

.reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-item {
  border-bottom: 1px solid var(--white-5);
  padding-bottom: 14px;
}

.review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.review-author {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-400);
}

.review-stars {
  color: #f59e0b;
  font-size: 0.75rem;
}

.review-text {
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.5;
  font-style: italic;
}

/* FAQs */
.seo-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.seo-faq-item {
  border: 1px solid var(--white-8);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.3s;
}

.seo-faq-item[open] {
  border-color: var(--brand-border);
  box-shadow: 0 4px 12px rgba(15, 89, 62, 0.04);
}

.seo-faq-item summary {
  padding: 16px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--slate-300);
  cursor: pointer;
  outline: none;
  user-select: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.seo-faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.3s;
}

.seo-faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 16px 16px;
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.5;
  border-top: 1px solid var(--white-5);
  background: var(--brand-bg);
}

.scroll-indicator {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Dynamic Pricing Component for Hemstädning */
.pricing-section-wrapper {
  margin: 40px 0;
  padding: 32px 24px;
  background: var(--dark-800);
  border: 1px solid var(--white-8);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.pricing-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--slate-300);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.pricing-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .pricing-tabs {
    grid-template-columns: repeat(5, 1fr);
  }
}

.price-tab {
  padding: 12px 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-400);
  background: var(--dark-850);
  border: 1px solid var(--white-8);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.price-tab:hover {
  border-color: var(--brand-border);
  color: var(--brand);
}

.price-tab.active {
  background: var(--brand-bg);
  border-color: var(--brand-border);
  color: var(--brand);
  box-shadow: 0 0 10px var(--brand-glow);
}

.price-card-display {
  background: var(--white-5);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
  border: 1px solid var(--white-5);
}

.price-desc-text {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-bottom: 12px;
  font-weight: 500;
}

.price-display-wrapper {
  margin-bottom: 8px;
}

.price-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.04em;
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate-400);
}

.price-period {
  font-size: 0.9rem;
  color: var(--slate-500);
  font-weight: 600;
}

.price-rut-tag {
  font-size: 0.78rem;
  color: var(--brand-dim);
  font-weight: 700;
  background: var(--brand-bg);
  border: 1px solid var(--brand-border);
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 12px;
}

.price-original-cost {
  font-size: 0.8rem;
  color: var(--slate-600);
  text-decoration: line-through;
  margin-left: 6px;
}

/* Floating WhatsApp Button */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: wa-pulse 2s infinite;
  text-decoration: none;
}

.whatsapp-floating-btn:hover {
  transform: scale(1.1);
  background-color: #128C7E;
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-floating-btn svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Trust Signals layout in pricing page */
.trust-bullets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .trust-bullets-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.trust-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-bullet-icon {
  width: 24px;
  height: 24px;
  background: var(--brand-bg);
  border: 1px solid var(--brand-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-weight: bold;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-bullet-icon svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.trust-bullet-text h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate-300);
  margin-bottom: 2px;
}

.trust-bullet-text p {
  font-size: 0.78rem;
  color: var(--slate-500);
  line-height: 1.4;
}
