:root {
  --lp-radius: 8px;
  --lp-max: 1120px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: rgb(var(--color-canvas));
  color: rgb(var(--color-ink));
}

img { max-width: 100%; height: auto; }

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.main-content { flex: 1; }
.lp-container { width: min(var(--lp-max), calc(100% - 32px)); margin: 0 auto; }
.lp-section { padding: 72px 0; }
.lp-section-tight { padding: 44px 0; }
.lp-section,
.lp-section-tight,
.hero {
  position: relative;
}

.section-surface {
  background: rgb(var(--color-surface));
}

.section-elevated {
  background: rgb(var(--color-elevated));
}

.section-separator {
  border-top: 1px solid rgb(var(--color-border));
  border-bottom: 1px solid rgb(var(--color-border));
}

.section-separator::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgb(var(--color-accent) / .65), transparent);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(var(--color-border));
  background: rgb(var(--color-surface) / .94);
  backdrop-filter: blur(10px);
}

.site-nav-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgb(var(--color-ink));
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-title {
  color: rgb(var(--color-ink));
  font-size: .96rem;
  line-height: 1.05;
  font-weight: 800;
}

.brand-subtitle {
  color: rgb(var(--color-muted));
  font-size: .76rem;
  line-height: 1.1;
  font-weight: 700;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border: 2px solid rgb(var(--color-border));
  border-radius: 999px;
  background: rgb(var(--color-surface));
  object-fit: cover;
  box-shadow: 0 8px 18px rgb(var(--shadow-color) / .12);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: .92rem;
}

.nav-links a {
  color: rgb(var(--color-muted));
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover { color: rgb(var(--color-brand)); text-decoration: none; }
.nav-links a.btn-whatsapp,
.nav-links a.btn-whatsapp:hover { color: #fff; }

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--lp-radius);
  padding: 11px 18px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: rgb(var(--color-brand)); color: #fff; box-shadow: 0 10px 24px rgb(var(--shadow-color) / .14); }
.btn-secondary { background: rgb(var(--color-surface)); color: rgb(var(--color-brand)); border-color: rgb(var(--color-border)); }
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #00a884 100%);
  color: #fff;
  border-color: #1daa55;
  box-shadow: 0 12px 24px rgb(0 168 132 / .24);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #20bd5a 0%, #008f72 100%);
  color: #fff;
}

.btn-quote-whatsapp {
  padding-left: 14px;
}

.btn-whatsapp-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.btn-whatsapp-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.section-transition {
  opacity: 0;
  transform: translateY(18px);
}

.section-transition.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  padding: 76px 0 40px;
  background:
    linear-gradient(120deg, rgb(var(--color-elevated)) 0%, rgb(var(--color-canvas)) 52%, rgb(var(--color-subtle)) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .76fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgb(var(--color-brand));
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(2.35rem, 5vw, 4.7rem); line-height: .98; letter-spacing: 0; }
h2 { margin-bottom: 14px; font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.08; letter-spacing: 0; }
h3 { margin-bottom: 10px; font-size: 1.1rem; line-height: 1.2; letter-spacing: 0; }
p { color: rgb(var(--color-muted)); line-height: 1.7; }

.contact-hero-title {
  margin-bottom: 14px;
  font-size: clamp(1.44rem, 2.4vw, 2.04rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy { max-width: 690px; }
.hero-title {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.hero-lead { margin-bottom: 24px; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.proof-pill { border: 1px solid rgb(var(--color-border)); border-radius: 999px; background: rgb(var(--color-surface)); padding: 8px 12px; color: rgb(var(--color-muted)); font-weight: 700; font-size: .84rem; }

.hero-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 360px;
}

.hero-mockup img {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 22px 34px rgb(var(--shadow-color) / .16));
}

.section-heading { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.section-heading-title {
  margin: 0;
  color: rgb(var(--color-brand));
  font-size: clamp(1.175rem, 2.5vw, 2.35rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: .08em;
}
.section-heading-lead {
  margin: 14px auto 0;
  max-width: 640px;
  color: rgb(var(--color-muted));
  font-size: 1.15rem;
  line-height: 1.7;
}
.section-heading p { margin-bottom: 0; }

.values-rate-section {
  padding: 34px 0 8px;
  border-bottom: 0;
}

.values-rate-section::before {
  content: none;
}

.values-rate-section .section-heading {
  margin-bottom: 0;
}

.values-rate-section + .hero {
  padding-top: 18px;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.feature-card,
.sample-card,
.legal-card,
.assistant-panel {
  border: 1px solid rgb(var(--color-border));
  border-radius: var(--lp-radius);
  background: rgb(var(--color-surface));
  box-shadow: 0 10px 24px rgb(var(--shadow-color) / .08);
}

.feature-card { padding: 24px; }
.feature-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.feature-card-header h3 { margin-bottom: 0; }
.feature-icon { display: inline-flex; width: 42px; height: 42px; flex: 0 0 42px; align-items: center; justify-content: center; border-radius: var(--lp-radius); background: rgb(var(--color-brand) / .1); color: rgb(var(--color-brand)); }
.feature-card ul, .legal-card ul { margin: 14px 0 0; padding-left: 18px; color: rgb(var(--color-muted)); line-height: 1.7; }
.feature-card .check-list { list-style: none; padding-left: 0; }

.band {
  background: rgb(var(--color-brand));
  color: #fff;
}

.band p, .band .eyebrow { color: rgb(255 255 255 / .82); }
.tag-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tag { border: 1px solid rgb(255 255 255 / .22); border-radius: 999px; padding: 9px 14px; color: #fff; font-weight: 700; }

.portfolio-stage {
  overflow: hidden;
}

.portfolio-track { position: relative; min-height: 430px; margin: 0 18px; padding: 0 72px; }
.portfolio-slide { position: absolute; inset: 0 72px; display: grid; place-items: center; margin: 0; padding: 0; opacity: 0; transition: opacity .45s ease; }
.portfolio-slide.is-active { opacity: 1; }
.portfolio-slide img { max-height: 390px; object-fit: contain; filter: drop-shadow(0 14px 22px rgb(var(--shadow-color) / .12)); }

.portfolio-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  width: 46px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(var(--color-border) / .62);
  border-radius: var(--lp-radius);
  background: rgb(var(--color-surface) / .62);
  color: rgb(var(--color-ink));
  box-shadow: 0 12px 26px rgb(var(--shadow-color) / .12);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .16s ease, transform .16s ease, opacity .16s ease;
  backdrop-filter: blur(10px);
}

.portfolio-nav:hover {
  background: rgb(var(--color-surface) / .86);
  transform: translateY(-50%) scale(1.03);
}

.portfolio-nav span { font-size: 2.1rem; line-height: 1; transform: translateY(-2px); }
.portfolio-nav-prev { left: 14px; }
.portfolio-nav-next { right: 14px; }

.portfolio-bullets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 34px auto 0;
  padding: 0 10px 12px;
}

.portfolio-bullet {
  position: relative;
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgb(var(--color-muted) / .34);
  padding: 0;
  cursor: pointer;
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease, width .16s ease;
}

.portfolio-bullet:hover,
.portfolio-bullet.is-active {
  background: rgb(var(--color-brand));
  transform: translateY(-2px);
}

.portfolio-bullet.is-active {
  width: 24px;
  box-shadow: 0 0 0 7px rgb(var(--color-brand) / .12), 0 6px 14px rgb(var(--shadow-color) / .16);
}

.sample-card { overflow: hidden; }
.sample-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgb(var(--color-border)); }
.sample-gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: rgb(var(--color-elevated)); }
.sample-body { padding: 18px; }
.sample-body .btn { width: 100%; margin-top: 8px; }

.cta-strip {
  background: rgb(var(--color-elevated));
  border-top: 1px solid rgb(var(--color-border));
  border-bottom: 1px solid rgb(var(--color-border));
}

.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.cta-inner p { margin-bottom: 0; }

.cta-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.cta-copy .eyebrow {
  margin: 0 0 8px;
  text-align: left;
}

.cta-avatar {
  width: 72px;
  height: 72px;
  border: 3px solid rgb(var(--color-surface));
  border-radius: 999px;
  background: rgb(var(--color-surface));
  object-fit: cover;
  box-shadow: 0 12px 28px rgb(var(--shadow-color) / .16);
}

.assistant-panel { padding: 24px; }
.contact-phone-section {
  padding: 28px 0;
  background: rgb(var(--color-canvas));
}

.contact-phone-inner {
  display: flex;
  justify-content: center;
  width: fit-content;
  max-width: calc(100% - 32px);
  border: 1px solid #1daa55;
  border-radius: var(--lp-radius);
  padding: 8px;
  background: linear-gradient(135deg, #25d366 0%, #00a884 100%);
  box-shadow: 0 12px 24px rgb(0 168 132 / .24);
}

.contact-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
  padding: 9px 12px;
}

.contact-phone-link:hover {
  color: #fff;
  text-decoration: none;
}

.contact-phone-link svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: #fff;
}

.assistant-progress { display: flex; gap: 8px; margin-bottom: 20px; }
.assistant-dot { height: 8px; flex: 1; border-radius: 999px; background: rgb(var(--color-subtle)); }
.assistant-dot.is-active { background: rgb(var(--color-brand)); }
.assistant-step-kicker { margin-bottom: 8px; color: rgb(var(--color-brand)); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.form-field { display: grid; gap: 8px; margin-bottom: 18px; }
.form-field label,
.form-legend { font-weight: 800; }
.form-control, .form-select, .form-textarea {
  width: 100%;
  border: 1px solid rgb(var(--color-border));
  border-radius: var(--lp-radius);
  background: rgb(var(--color-surface));
  color: rgb(var(--color-ink));
  padding: 12px 13px;
}
.form-textarea { min-height: 110px; resize: vertical; }
.choice-list { display: grid; gap: 10px; margin-top: 8px; }
.choice-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgb(var(--color-border));
  border-radius: var(--lp-radius);
  padding: 12px;
  background: rgb(var(--color-elevated));
  color: rgb(var(--color-ink));
  font-weight: 700;
  line-height: 1.4;
}
.choice-option input { margin-top: 2px; accent-color: rgb(var(--color-brand)); }
.date-inline { margin-top: 10px; }
.assistant-status { min-height: 24px; margin: 12px 0 0; color: rgb(var(--color-muted)); font-weight: 700; }
.assistant-status.is-error { color: #b42318; }
.assistant-status .btn { margin-top: 10px; }
.assistant-actions { display: flex; justify-content: space-between; gap: 12px; }

.legal-card { padding: 28px; }
.legal-card h2, .legal-card h3 { color: rgb(var(--color-ink)); }

.site-footer {
  border-top: 1px solid rgb(var(--color-border));
  background: rgb(var(--color-brand));
  color: #fff;
  padding: 30px 0;
}

.site-footer a, .site-footer span { color: rgb(255 255 255 / .9); }
.footer-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: center; font-size: .9rem; }
.site-footer .footer-facebook-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: rgb(var(--color-brand));
  text-decoration: none;
}

.site-footer .footer-facebook-icon:hover {
  color: rgb(var(--color-brand));
  text-decoration: none;
  transform: translateY(-1px);
}

.site-footer .footer-facebook-icon svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-mockup { justify-content: flex-start; min-height: 0; }
  .hero-mockup img { max-width: 520px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding-top: 54px; }
  .lp-section { padding: 54px 0; }
  .hero-mockup img { max-width: min(100%, 430px); }
  .portfolio-track { min-height: 340px; margin: 0 10px; padding: 0 48px; }
  .portfolio-slide { inset: 0 48px; }
  .portfolio-slide img { max-height: 318px; }
  .portfolio-nav { width: 34px; height: 48px; }
  .portfolio-nav-prev { left: 8px; }
  .portfolio-nav-next { right: 8px; }
  .portfolio-nav span { font-size: 1.75rem; }
  .portfolio-bullets { gap: 8px; margin-top: 28px; padding: 0 4px 12px; }
  .portfolio-bullet { width: 8px; height: 8px; }
  .portfolio-bullet.is-active { width: 21px; }
  .assistant-actions { flex-direction: column-reverse; }
  .assistant-actions .btn { width: 100%; }
  .cta-copy { grid-template-columns: 1fr; }
}
