:root {
  color-scheme: light;
  --bg: #f6f0e6;
  --bg-alt: #efe6d9;
  --surface: #fbf7f0;
  --surface-strong: #15243a;
  --surface-dark: #0e1a2b;
  --surface-soft: #e9e1d5;
  --card-soft: #f2ebe0;
  --text: #1d2940;
  --text-muted: #6d6a63;
  --text-inverse: #f8f3ea;
  --line: rgba(29, 41, 64, 0.12);
  --line-strong: rgba(255, 248, 236, 0.14);
  --primary: #1b2c46;
  --primary-strong: #122137;
  --accent: #b4a083;
  --accent-strong: #8c7350;
  --success: #25d366;
  --radius: 30px;
  --radius-sm: 20px;
  --shadow: 0 24px 60px rgba(16, 25, 40, 0.12);
  --container: 1180px;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #09101a;
  --bg-alt: #0e1722;
  --surface: #101b2a;
  --surface-strong: #050c15;
  --surface-dark: #0a1321;
  --surface-soft: #162233;
  --card-soft: #132032;
  --text: #f6efe5;
  --text-muted: #b6b0a9;
  --text-inverse: #f8f3ea;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.12);
  --primary: #d8c0a0;
  --primary-strong: #c8ab84;
  --accent: #d3b289;
  --accent-strong: #f2dec3;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }

.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;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}
.section { padding: 4.8rem 0; }
.section-dark {
  background: linear-gradient(180deg, var(--surface-strong), var(--surface-dark));
  color: var(--text-inverse);
}
.desktop-only { display: none; }

.topline {
  background: var(--primary);
  color: var(--text-inverse);
  font-size: 0.92rem;
}
.topline-content {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topline-content a { font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-shell {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.brand span {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.brand strong {
  display: block;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.site-nav { display: none; gap: 1.3rem; color: var(--text-muted); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.theme-toggle,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 180ms ease;
}
.theme-toggle {
  cursor: pointer;
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}
.btn-primary {
  background: var(--primary);
  color: var(--text-inverse);
}
.btn-primary:hover { background: var(--primary-strong); }
.btn-dark {
  background: #101010;
  color: #ffffff;
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-secondary.inverse {
  color: var(--text-inverse);
  border-color: rgba(255, 255, 255, 0.2);
}
.btn-cream {
  background: var(--bg-alt);
  color: var(--primary);
}
.btn-full { width: 100%; }

.hero {
  padding-top: 2.5rem;
  background:
    radial-gradient(circle at top left, rgba(180, 160, 131, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(27, 44, 70, 0.08), transparent 20%),
    linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}
.hero-layout,
.company-grid,
.contact-grid,
.reputation-grid,
.why-grid,
.showcase-grid {
  display: grid;
  gap: 1.2rem;
}
.hero-layout { align-items: start; }
.hero-copy-block { padding-top: 0.4rem; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero h1,
.section-heading h2,
.contact-copy h2,
.company-copy h2 {
  margin: 0.9rem 0 1rem;
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-size: clamp(2.5rem, 7vw, 5rem);
}
.accent-script {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  color: #36598e;
}
.accent-script.light { color: #dbc19f; }
.hero-copy,
.hero-subcopy,
.section-heading p,
.contact-copy p,
.company-copy p,
.why-card p,
.review-card p,
.rating-card p,
.budget-panel-intro p,
.budget-disclaimer,
label span,
.showcase-copy p,
.info-panel p {
  color: var(--text-muted);
}
.hero-copy {
  max-width: 62ch;
  margin: 0;
  font-size: 1.08rem;
}
.hero-subcopy { margin: 1rem 0 0; }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.35rem;
}
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}
.hero-highlights span {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  font-size: 0.92rem;
  font-weight: 600;
}
.hero-stats {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hero-stats article {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.55);
}
.hero-stats small {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--text-muted);
}
.hero-stats strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.42rem;
}
.hero-stats span {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.budget-panel {
  position: relative;
}
.budget-panel-shell,
.showcase-card,
.why-card,
.rating-card,
.review-card,
.info-panel,
.stats-panel,
.contact-card,
.budget-result-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.budget-panel-shell {
  background: var(--surface);
  padding: 1.35rem;
}
.budget-panel-intro {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.mini-label {
  display: inline-flex;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--card-soft);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.budget-panel-intro strong {
  display: block;
  margin-top: 0.75rem;
  font-size: 1.25rem;
}
.budget-panel-intro p { margin: 0.45rem 0 0; }
.budget-steps {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 1.1rem;
}
.budget-steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
}
.budget-steps span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--primary);
}
.budget-steps strong,
.showcase-copy h3,
.why-card h3,
.review-card footer strong,
.contact-list strong,
.info-panel .statement-title,
.stats-panel strong {
  color: var(--text);
}
.budget-steps p { margin: 0.18rem 0 0; color: var(--text-muted); }
.budget-form { display: grid; gap: 1rem; }
.field-grid { display: grid; gap: 0.9rem; }
.compact-grid { grid-template-columns: 1fr; }
label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}
input,
select {
  width: 100%;
  padding: 0.92rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}
.budget-submit { width: 100%; }
.budget-result-card {
  margin-top: 1rem;
  padding: 1rem;
  background: linear-gradient(180deg, var(--card-soft), color-mix(in srgb, var(--surface) 85%, var(--bg-alt)));
}
.budget-result-card strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.08rem;
}
.budget-disclaimer { margin: 0 0 1rem; }

.section-heading {
  margin-bottom: 1.7rem;
  max-width: 72ch;
}
.section-heading h2,
.contact-copy h2,
.company-copy h2 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
}
.split-heading {
  display: grid;
  gap: 1rem;
  align-items: end;
}
.services-showcase { background: var(--surface); }
.showcase-grid { grid-template-columns: 1fr; }
.showcase-card {
  overflow: hidden;
  background: var(--surface);
}
.showcase-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.showcase-copy {
  padding: 1.15rem;
}
.showcase-copy span {
  display: inline-flex;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}
.showcase-copy h3 { margin: 0.55rem 0 0.45rem; font-size: 1.45rem; }
.showcase-copy p { margin: 0; }
.showcase-card.tone-soft,
.cream-panel {
  background: var(--card-soft);
}
.plain-copy { display: grid; align-content: center; min-height: 100%; }
.plain-copy .btn { margin-top: 1rem; width: fit-content; }

.why-section {
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(219, 193, 159, 0.16), transparent 22%);
  pointer-events: none;
}
.on-dark p,
.why-card p,
.contact-copy p,
.contact-list span { color: rgba(248, 243, 234, 0.74); }
.why-shell,
.reputation-shell {
  display: grid;
  gap: 1.4rem;
}
.why-grid { grid-template-columns: 1fr; }
.why-card {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
}
.why-card h3 {
  margin: 0 0 0.45rem;
  color: var(--text-inverse);
}

.reputation-section {
  background: linear-gradient(180deg, var(--bg) 0%, #f1e8db 100%);
}
.reputation-grid {
  grid-template-columns: 1fr;
}
.rating-card,
.review-card {
  padding: 1.35rem;
  background: var(--surface);
}
.rating-card {
  background: linear-gradient(180deg, #244a85, #1a2f56);
  color: white;
}
.rating-score {
  font-size: clamp(3.4rem, 8vw, 5rem);
  line-height: 1;
  font-weight: 800;
}
.rating-stars {
  margin-top: 0.5rem;
  color: #f4c869;
  letter-spacing: 0.18em;
  font-size: 1.35rem;
}
.rating-stars.small { font-size: 1.05rem; letter-spacing: 0.16em; }
.rating-card p,
.rating-card span { color: rgba(255, 255, 255, 0.88); }
.review-card footer {
  margin-top: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.company-grid { align-items: start; }
.company-copy p { margin: 0 0 1rem; }
.company-asides { display: grid; gap: 1rem; }
.info-panel,
.stats-panel {
  padding: 1.3rem;
  background: var(--surface);
}
.info-panel .statement-title {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.1;
}
.info-panel em,
.contact-copy .accent-script,
.company-copy .accent-script,
.section-heading .accent-script {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
}
.info-panel p:last-child { margin: 0.75rem 0 0; }
.stats-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  text-align: center;
}
.stats-panel div {
  padding: 0.4rem 0.7rem;
  border-right: 1px solid var(--line);
}
.stats-panel div:last-child { border-right: 0; }
.stats-panel strong {
  display: block;
  font-size: 2rem;
  color: #36598e;
}
.stats-panel span {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.contact-grid { align-items: start; }
.contact-card-strong {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
}
.contact-list {
  display: grid;
  gap: 0;
}
.contact-list article {
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-list article:last-child { border-bottom: 0; }
.contact-list span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.contact-list strong {
  display: block;
  color: var(--text-inverse);
  font-size: 1.1rem;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  background: var(--success);
  color: #092610;
  font-weight: 800;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.24);
}

@media (min-width: 760px) {
  .split-heading {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase-card-large { grid-column: span 2; }
  .reputation-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-grid,
  .contact-grid { grid-template-columns: 1.05fr 0.95fr; }
}

@media (min-width: 1024px) {
  .desktop-only { display: inline-flex; }
  .site-nav { display: flex; }
  .hero-layout { grid-template-columns: 1.02fr 0.98fr; }
  .budget-panel { position: sticky; top: 110px; }
  .showcase-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .showcase-card-large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .showcase-card-large img { height: 100%; min-height: 100%; }
  .showcase-card-large { min-height: 520px; }
  .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .floating-whatsapp {
    left: 1rem;
    right: auto;
  }
}

@media (max-width: 819px) {
  .theme-toggle { display: none; }
  .topline-content,
  .nav-shell { gap: 0.75rem; }
  .topline-content {
    min-height: 50px;
    flex-direction: column;
    justify-content: center;
    padding: 0.4rem 0;
    text-align: center;
  }
  .hero-stats,
  .stats-panel { grid-template-columns: 1fr; }
  .stats-panel div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .stats-panel div:last-child { border-bottom: 0; }
  .contact-actions .btn,
  .header-actions .btn-dark { width: 100%; }
  .floating-whatsapp {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
