:root {
  --bg-dark: #111827;
  --bg-steel: #1f2937;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --border-dark: #334155;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #f1f5f9;
  --text-light-muted: #cbd5e1;
  --accent: #f0a500;
  --accent-hover: #d18f00;
  --accent-text: #111827;
  --wa: #166534;
  --wa-hover: #14532d;
  --danger: #dc2626;
  --radius: 10px;
  --shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 4px 10px -4px rgba(15, 23, 42, 0.06);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hover);
  margin-bottom: 8px;
}

.section-dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-whatsapp {
  background: var(--wa);
  color: #fff;
}

.btn-whatsapp:hover {
  background: var(--wa-hover);
}

.btn-outline {
  border-color: var(--border-dark);
  color: var(--text-main);
  background: transparent;
}

.btn-outline:hover {
  background: var(--bg-light);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-ghost {
  background: var(--bg-light);
  color: var(--text-main);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: #e2e8f0;
}

/* Header & Topbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.topbar {
  background: var(--bg-dark);
  color: var(--text-light-muted);
  font-size: 0.8rem;
  padding: 6px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.lang-switcher {
  display: inline-flex;
  gap: 6px;
}

.lang-link {
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-light-muted);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.lang-link.is-active,
.lang-link:hover {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-dark);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1rem;
  color: var(--text-main);
}

.brand-text small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 14px;
}

.nav-list a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--text-main);
  border-bottom-color: var(--accent);
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-ctas .btn {
  white-space: nowrap;
  padding: 8px 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-main);
  display: block;
}

/* Hero & Page Hero */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--text-light);
  padding: 56px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.12;
  margin: 0 0 16px;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: #e2e8f0;
  margin: 0 0 12px;
  font-weight: 600;
}

.hero-value {
  color: var(--text-light-muted);
  margin: 0 0 26px;
  max-width: 58ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.hero-badge-card {
  position: absolute;
  bottom: -16px;
  left: 16px;
  background: var(--accent);
  color: var(--accent-text);
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.hero-badge-card strong {
  font-size: 1rem;
}

.hero-badge-card span {
  font-size: 0.85rem;
  font-weight: 600;
}

.page-hero {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 48px 0;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.page-hero .lead {
  color: var(--text-light-muted);
  margin: 0;
  max-width: 66ch;
}

/* Trust Strip */
.trust-strip {
  background: var(--accent);
  color: var(--accent-text);
  padding: 14px 0;
  font-weight: 700;
}

.trust-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 64px 0;
}

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

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 62ch;
}

/* Grids & Cards */
.cards-grid {
  display: grid;
  gap: 24px;
}

.cards-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.service-num {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-hover);
  margin-bottom: 8px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.3;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Case Cards (Before / During / After) */
.case-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

.case-media {
  position: relative;
  background: #0f172a;
}

.case-stage-tabs {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: inline-flex;
  background: rgba(15, 23, 42, 0.82);
  padding: 4px;
  border-radius: 6px;
  gap: 4px;
}

.stage-tab {
  border: none;
  background: transparent;
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.stage-tab.is-active {
  background: var(--accent);
  color: var(--accent-text);
}

.case-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
}

.case-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.case-image-wrap img.is-active {
  opacity: 1;
}

.case-body {
  padding: 20px;
  flex: 1;
}

.case-title {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.case-caption {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.case-meta {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
}

.case-meta div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px;
}

.case-meta dt {
  font-weight: 700;
  color: var(--text-main);
}

.case-meta dd {
  margin: 0;
  color: var(--text-muted);
}

/* Split Info Cards */
.split-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--bg-steel);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 28px;
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.info-card p {
  margin: 0;
  color: var(--text-light-muted);
}

/* How Banner */
.how-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.how-banner h2 {
  margin: 0 0 8px;
}

.how-banner .lead {
  margin: 0;
  font-size: 1.08rem;
  color: var(--text-muted);
}

.quick-steps {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  font-weight: 600;
}

/* Quote Wizard */
.wizard-section {
  padding: 64px 0;
  background: var(--bg-light);
}

.wizard-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  max-width: 860px;
  margin: 0 auto;
}

.wizard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.wizard-header h2 {
  margin: 0 0 6px;
}

.wizard-header p {
  margin: 0;
  color: var(--text-muted);
}

.wizard-progress-text {
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  background: var(--bg-light);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.wizard-progress-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 28px;
}

.wizard-progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.25s ease;
}

.wizard-step {
  display: none;
}

.wizard-step.is-active {
  display: block;
}

.wizard-step h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.step-hint {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.option-card:has(input:checked) {
  border-color: var(--accent);
  background: #fefce8;
}

.option-card input {
  accent-color: var(--accent-hover);
  width: 18px;
  height: 18px;
}

.slider-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.slider-value-display {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.slider-box input[type="range"] {
  width: 100%;
  accent-color: var(--accent-hover);
  cursor: pointer;
}

.slider-limits {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 600;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 700;
  font-size: 0.9rem;
}

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field textarea {
  padding: 11px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}

.field-hint {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.photo-preview-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.photo-preview-list img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.form-error {
  color: var(--danger);
  font-weight: 700;
  font-size: 0.9rem;
  margin: 12px 0 0;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.submit-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wizard-success {
  text-align: center;
  padding: 24px 12px;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Services Detail */
.service-detail-list {
  display: grid;
  gap: 20px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
}

.service-detail-num {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--bg-dark);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
}

.service-detail-body h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.service-short {
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 6px;
}

.service-detail-body p {
  margin: 0;
  color: var(--text-muted);
}

.service-detail-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Timeline */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.timeline-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg-white);
}

.timeline-num {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.timeline-card h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.timeline-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* FAQ */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-white);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-muted);
}

.faq-answer p {
  margin: 0;
}

/* Contact Cards */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-channel-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-white);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-channel-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.contact-channel-wa {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.channel-icon {
  font-size: 1.5rem;
}

.contact-channel-card h3 {
  margin: 4px 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-channel-card strong {
  font-size: 1.08rem;
}

.channel-action {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent-hover);
}

.contact-channel-wa .channel-action {
  color: var(--wa-hover);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  margin: 0 0 6px;
}

.cta-band p {
  margin: 0;
  color: var(--text-light-muted);
}

/* Footer */
.site-footer {
  background: #0b1120;
  color: var(--text-light-muted);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.footer-desc,
.footer-note {
  margin: 0 0 10px;
  font-size: 0.9rem;
}

.site-footer h4 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.footer-links,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  font-size: 0.82rem;
  flex-wrap: wrap;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 8px 10px;
  gap: 8px;
}

.sticky-btn {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}

.sticky-call {
  background: var(--bg-steel);
  border: 1px solid var(--border-dark);
}

.sticky-wa {
  background: var(--wa);
}

.sticky-quote {
  background: var(--accent);
  color: var(--accent-text);
}

/* Responsive */
@media (max-width: 1024px) {
  .cards-grid-4,
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .header-ctas {
    display: none;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav.is-open {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    width: 100%;
  }
  .hero-grid,
  .split-cards,
  .how-banner,
  .footer-grid,
  .service-detail-card {
    grid-template-columns: 1fr;
  }
  .service-detail-cta {
    flex-direction: row;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 64px;
  }
  .mobile-sticky-bar {
    display: flex;
  }
  .cards-grid-4,
  .cards-grid-3,
  .cards-grid-2,
  .contact-cards-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .wizard-card {
    padding: 20px;
  }
  .case-meta div {
    grid-template-columns: 1fr;
  }
}
