:root {
  /* 4Clean Palette: Deep marine navy + luminous sky blue + cool architectural stone + WhatsApp green */
  --bg-page: #F5F8FC;
  --bg-surface: #E9EFF7;
  --bg-dark: #0C172B;
  --bg-dark-elevated: #132340;

  --text-primary: #0F1A2E;
  --text-muted: #4A5870;
  --text-on-dark: #F5F8FC;
  --text-on-dark-muted: #B6C3D9;

  --accent-primary: #38A8F5;
  --accent-primary-hover: #2193E3;
  --accent-brand-deep: #1565C0;
  --accent-whatsapp: #167940;
  --accent-whatsapp-hover: #116132;

  --border-subtle: rgba(15, 26, 46, 0.12);
  --border-dark: rgba(245, 248, 252, 0.14);

  /* Typography: 2 families max + strict 3-size body scale below hero */
  --font-display: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --text-heading: clamp(1.85rem, 3.1vw, 2.625rem);
  --text-body: 1.0625rem;
  --text-sm: 0.875rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container-max: 1160px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--accent-primary);
  color: var(--bg-dark);
  font-weight: 700;
  z-index: 200;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--container-max));
  margin-inline: auto;
}

/* Header: Single compact line on desktop, seamless over navy hero, high-contrast over light sections */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 1rem;
  color: var(--text-on-dark);
  background-color: rgba(12, 23, 43, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), padding 180ms var(--ease-out), transform 220ms var(--ease-out);
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  padding-block: 0.75rem;
  background-color: rgba(12, 23, 43, 0.98);
  border-bottom-color: var(--border-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(245, 248, 252, 0.14);
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #FFFFFF;
}

.brand-city {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-on-dark-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.main-nav a {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-on-dark-muted);
  padding-block: 0.25rem;
  transition: color 180ms var(--ease-out);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  color: #FFFFFF;
}

.main-nav a.is-active {
  font-weight: 700;
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--accent-primary);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  background-color: rgba(245, 248, 252, 0.06);
  color: var(--text-on-dark);
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background-color: rgba(245, 248, 252, 0.14);
}

/* HERO: Bleeds to y = 0 behind borderless header, centered monumental headline + real-photo Before/After stage */
.hero {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  padding-top: clamp(6.5rem, 10vw, 8.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.25rem);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(62% 52% at 50% 0%, rgba(56, 168, 245, 0.2) 0%, rgba(56, 168, 245, 0) 72%),
    radial-gradient(45% 42% at 85% 95%, rgba(21, 101, 192, 0.22) 0%, rgba(21, 101, 192, 0) 74%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2.25rem, 4vw, 3.25rem);
}

.hero-copy {
  text-align: center;
  max-width: 56rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.2vw, 5.4rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--text-on-dark);
  text-wrap: balance;
}

.hero-lead {
  margin: 0;
  max-width: 46ch;
  font-size: var(--text-body);
  color: var(--text-on-dark-muted);
}

.hero-action {
  margin-top: -0.5rem;
}

.btn-primary,
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 0;
  font-size: var(--text-body);
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--accent-primary-hover);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--accent-whatsapp);
  color: #FFFFFF;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background-color: var(--accent-whatsapp-hover);
  transform: translateY(-2px);
}

.btn-whatsapp-large {
  padding: 1.05rem 2rem;
}

/* Interactive Real-Photo Before/After Stage */
.hero-stage {
  width: 100%;
  max-width: 820px;
  user-select: none;
  -webkit-user-select: none;
}

.compare-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background-color: #132340;
  box-shadow: 0 24px 60px rgba(4, 10, 22, 0.5);
  user-select: none;
  touch-action: pan-y;
}

.compare-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  pointer-events: none;
}

.compare-after-layer {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 50%);
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--accent-primary);
  transform: translateX(-50%);
  pointer-events: none;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-primary);
  color: var(--bg-dark);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.48);
}

.compare-label {
  position: absolute;
  bottom: 1rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #FFFFFF;
  background-color: rgba(12, 23, 43, 0.78);
  padding: 0.38rem 0.78rem;
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.compare-label-left {
  left: 1rem;
}

.compare-label-right {
  right: 1rem;
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}

/* Shared Section Spacing & Typography (strict 3-size body discipline) */
.section {
  padding-block: clamp(4.25rem, 7.5vw, 6.75rem);
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-heading);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.section-header {
  max-width: 44rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.section-header p {
  margin: 0.9rem 0 0;
  color: var(--text-muted);
  max-width: 58ch;
}

/* QUOTE SECTION */
.quote-section {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  grid-template-rows: auto 1fr;
  gap: 2.25rem clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.quote-header {
  grid-column: 1;
  grid-row: 1;
}

.quote-header p {
  margin: 1rem 0 0;
  color: var(--text-muted);
  max-width: 46ch;
}

.quote-facts {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  gap: 1.15rem;
}

.quote-facts dt {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.quote-facts dd {
  margin: 0.15rem 0 0;
  font-size: var(--text-body);
  color: var(--text-muted);
}

.quote-facts dd a {
  color: var(--accent-brand-deep);
  font-weight: 600;
}

.quote-form {
  grid-column: 2;
  grid-row: 1 / span 2;
  background-color: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.form-group {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.form-group legend,
.form-group > label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

/* Connected segmented selector (6 services: 3x2 on desktop, 2x3 on mobile) */
.segmented-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--bg-surface);
}

.segment-option {
  position: relative;
  display: flex;
  cursor: pointer;
}

.segment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segment-option span {
  width: 100%;
  padding: 0.72rem 0.55rem;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}

.segment-option:nth-child(3n) span {
  border-right: 0;
}

.segment-option:nth-child(n + 4) span {
  border-bottom: 0;
}

.segment-option input:checked + span {
  background-color: var(--bg-dark);
  color: var(--accent-primary);
}

.segment-option input:focus-visible + span {
  outline: 2px solid var(--text-primary);
  outline-offset: -2px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.quote-form select,
.quote-form input[type="text"] {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(15, 26, 46, 0.22);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  font-size: var(--text-sm);
  color: var(--text-primary);
  transition: border-color 160ms var(--ease-out);
}

.quote-form select:focus,
.quote-form input[type="text"]:focus {
  outline: none;
  border-color: var(--accent-brand-deep);
}

.form-preview {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  border-left: 3px solid var(--accent-brand-deep);
}

.preview-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.form-preview p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.quote-form .btn-whatsapp {
  width: 100%;
}

.form-note {
  margin: -0.4rem 0 0;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* SERVICES SECTION: Hairline editorial grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border-subtle);
}

.service-item {
  padding: 2rem 1.75rem 2rem 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-item:nth-child(3n + 2),
.service-item:nth-child(3n) {
  padding-left: 1.75rem;
  border-left: 1px solid var(--border-subtle);
}

.service-item:nth-child(3n) {
  padding-right: 0;
}

.service-icon {
  width: 34px;
  height: 34px;
  color: var(--bg-dark);
}

.service-item h3 a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: rgba(21, 101, 192, 0.32);
  text-underline-offset: 4px;
  transition: color 160ms var(--ease-out), text-decoration-color 160ms var(--ease-out);
}

.service-item h3 a:hover,
.service-item h3 a:focus-visible {
  color: var(--accent-brand-deep);
  text-decoration-color: var(--accent-brand-deep);
}

.service-item p {
  margin: 0;
  color: var(--text-muted);
  max-width: 34ch;
}

/* METHOD SECTION: Crisp light architectural band with centered desktop steps */
.method-section {
  background-color: var(--bg-page);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.method-section .section-header {
  margin-inline: auto;
  text-align: center;
}

.method-section .section-header p {
  margin-inline: auto;
}

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 2.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
}

.step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.step-illustration {
  width: 120px;
  height: 72px;
  margin-bottom: 0.35rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
  padding: 0.35rem;
}

.step-illustration svg {
  width: 100%;
  height: 100%;
}

.step-index {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent-brand-deep);
}

.step-item h3 {
  color: var(--text-primary);
}

.step-item p {
  margin: 0;
  color: var(--text-muted);
  max-width: 24ch;
}

/* CARE & TRUST SECTION */
.care-layout {
  max-width: 48rem;
}

.care-copy > p {
  margin: 1rem 0 0;
  color: var(--text-muted);
  max-width: 56ch;
}

.care-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--border-subtle);
}

.care-list li {
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.care-list strong {
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--text-primary);
}

.care-list span {
  font-size: var(--text-body);
  color: var(--text-muted);
  max-width: 56ch;
}

.care-cta {
  margin-top: 2rem;
}

/* FAQ SECTION */
.faq-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.faq-header p {
  margin: 0.9rem 0 0;
  color: var(--text-muted);
  max-width: 34ch;
}

.faq-list {
  border-top: 1px solid var(--border-subtle);
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item summary {
  list-style: none;
  padding-block: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-muted);
  transition: transform 180ms var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent-brand-deep);
}

.faq-item p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  max-width: 60ch;
}

/* FINAL CTA BAND: Deep cobalt-to-navy architectural band */
.final-cta-section {
  background: linear-gradient(135deg, #123363 0%, #0C1B36 100%);
  color: var(--text-on-dark);
}

.final-cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.final-cta-inner p {
  margin: 0;
  max-width: 48ch;
  color: var(--text-on-dark-muted);
}

.final-cta-inner .btn-whatsapp {
  margin-top: 0.5rem;
}

/* FOOTER: Normal full-width footer using the summary card's light surface & ink palette */
.site-footer {
  background-color: var(--bg-surface);
  color: var(--text-muted);
  padding-block: 3.25rem;
  border-top: 1px solid rgba(15, 26, 46, 0.16);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.75rem 3rem;
  align-items: start;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.65rem;
}

.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.footer-brand p,
.footer-info p,
.footer-legal p {
  margin: 0;
  font-size: var(--text-sm);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-info a {
  color: var(--accent-brand-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem 1.5rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-legal-links a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 160ms var(--ease-out);
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: var(--accent-brand-deep);
}

.footer-legal strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* LEGAL & 404 PAGES */
.legal-hero {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  padding-top: clamp(6.75rem, 10vw, 8.5rem);
  padding-bottom: clamp(2.75rem, 5vw, 3.75rem);
}

.legal-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.legal-hero p {
  margin: 0.9rem 0 0;
  color: var(--text-on-dark-muted);
  max-width: 56ch;
}

.legal-content {
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.legal-block {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-block h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  margin-bottom: 0.75rem;
}

.legal-block p {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  max-width: 65ch;
}

.legal-block ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.legal-block a {
  color: var(--accent-brand-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.error-stage {
  min-height: 62dvh;
  display: flex;
  align-items: center;
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.error-inner {
  max-width: 38rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
}

.error-inner h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.error-inner p {
  margin: 0;
  color: var(--text-on-dark-muted);
  max-width: 48ch;
}

/* Mobile sticky conversion bar */
.mobile-sticky-bar {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .quote-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1.75rem;
  }

  .quote-header,
  .quote-facts,
  .quote-form {
    grid-column: 1;
    grid-row: auto;
  }

  .quote-header {
    order: 1;
  }

  .quote-form {
    order: 2;
  }

  .quote-facts {
    order: 3;
    padding-top: 1.35rem;
  }

  .care-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-item,
  .service-item:nth-child(3n + 2),
  .service-item:nth-child(3n) {
    padding: 1.5rem 0;
    border-left: 0;
  }

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

@media (max-width: 820px) {
  .site-header.is-hidden-mobile {
    transform: translateY(-100%);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: 0.75rem 1.25rem 1.15rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    display: none;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 0.55rem 0.25rem;
    font-size: var(--text-body);
  }

  .main-nav a.is-active::after {
    display: none;
  }

  .main-nav a.is-active {
    color: var(--accent-primary);
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 1.25rem;
  }

  .section {
    padding-block: 3.25rem;
  }

  .container {
    width: min(100% - 2rem, var(--container-max));
  }

  .brand-city {
    display: none;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .compare-stage {
    aspect-ratio: 10 / 10.5;
  }

  .compare-label {
    bottom: 0.65rem;
    padding: 0.25rem 0.55rem;
  }

  .compare-label-left {
    left: 0.65rem;
  }

  .compare-label-right {
    right: 0.65rem;
  }

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

  .segment-option span {
    padding: 0.72rem 0.35rem;
    font-size: 0.8125rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .btn-primary,
  .btn-whatsapp,
  .btn-whatsapp-large {
    padding: 0.9rem 1.25rem;
    font-size: 0.9375rem;
    gap: 0.5rem;
  }

  .btn-whatsapp svg {
    flex-shrink: 0;
  }

  .segment-option:nth-child(3n) span {
    border-right: 1px solid var(--border-subtle);
  }

  .segment-option:nth-child(2n) span {
    border-right: 0;
  }

  .segment-option:nth-child(n + 4) span {
    border-bottom: 1px solid var(--border-subtle);
  }

  .segment-option:nth-child(n + 5) span {
    border-bottom: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .step-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px;
    align-items: center;
    text-align: left;
    gap: 1rem;
  }

  .step-content {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-start;
    text-align: left;
  }

  .step-item p {
    max-width: none;
  }

  .step-illustration {
    grid-column: 2;
    grid-row: 1;
    width: 96px;
    height: 60px;
    margin-bottom: 0;
  }

  .service-item,
  .service-item:nth-child(2n) {
    padding: 1.5rem 0;
    border-left: 0;
  }

  .site-footer {
    padding-bottom: 5.5rem;
  }

  .mobile-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    padding: 0.75rem 1rem;
    background-color: rgba(12, 23, 43, 0.96);
    border-top: 1px solid var(--border-dark);
    display: block;
    transform: translateY(100%);
    transition: transform 220ms var(--ease-out);
  }

  .mobile-sticky-bar.is-visible {
    transform: translateY(0);
  }

  .mobile-sticky-cta {
    width: 100%;
    padding: 0.85rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header,
  .main-nav a,
  .menu-toggle,
  .btn-primary,
  .btn-whatsapp,
  .segment-option span,
  .service-item h3 a,
  .footer-legal-links a,
  .faq-item summary::after,
  .mobile-sticky-bar {
    transition: none;
  }
}
