/* ==========================================================================
   Reformas RIG — Design tokens
   ========================================================================== */
:root {
  /* Color */
  --bg: #f2f2f2;
  --bg-alt: #e9e8e4;
  --surface: #ffffff;
  --ink: #1c1b1a;
  --ink-soft: #5b5955;
  --ink-faint: #928f89;
  --red: #c21925;
  --red-dark: #8f1119;
  --red-ink: #33090c;
  --line: #dad8d3;
  --line-strong: #c7c4be;

  /* Type */
  --font-display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  /* Layout */
  --container: 1180px;
  --gutter: 20px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
}

/* ==========================================================================
   Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
ul[class],
ol[class] {
  list-style: none;
  margin: 0;
  padding: 0;
}
img,
picture,
svg {
  display: block;
  max-width: 100%;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
a {
  color: inherit;
  text-decoration: none;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section {
  position: relative;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

.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;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -50px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  z-index: 100;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
}

.option-btn.span-2 {
  grid-column: 1 / -1;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
}
.btn-block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  text-align: left;
  text-justify: left;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(0, 0, 0, 0.25);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 30px;
  width: auto;
}

.nav-links {
  display: none;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-cta .btn {
  padding: 11px 18px;
  font-size: 14px;
}
.icon-btn-call {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 6px 0;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--bg);
  z-index: 55;
  padding: 30px var(--gutter) 40px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .mobile-nav-contact {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
    gap: 34px;
    font-size: 15px;
    font-weight: 500;
  }
  .nav-links a {
    position: relative;
    padding: 6px 0;
  }
  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    background: var(--red);
    transition: right 0.25s var(--ease);
  }
  .nav-links a:hover::after {
    right: 0;
  }
  .icon-btn-call {
    display: flex;
  }
  .menu-toggle,
  .mobile-nav {
    display: none;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 56px 0 40px;
}
.hero-grid {
  display: grid;
  gap: 28px;
}
.hero h1 {
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  margin-top: 18px;
  max-width: 14ch;
}
.hero .lede {
  margin-top: 20px;
  max-width: 46ch;
  font-size: 17px;
  color: var(--ink-soft);
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
}

.stat-strip {
  margin-top: 52px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
}
.stat {
  position: relative;
  padding-left: 14px;
}
.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--red);
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  display: block;
}
.stat .label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-visual {
  display: none;
}

@media (min-width: 900px) {
  .hero {
    padding: 84px 0 60px;
  }
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
  .hero-visual {
    display: block;
  }
  .hero-visual img {
    border-radius: var(--radius-lg);
  }
  .stat-strip {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 70px;
  }
}

/* ==========================================================================
   Section heading pattern
   ========================================================================== */
.section-head {
  margin-bottom: 34px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  margin-top: 14px;
  max-width: 20ch;
}
.section-head .lede {
  margin-top: 14px;
  color: var(--ink-soft);
  max-width: 52ch;
  font-size: 16px;
}
.section-pad {
  padding: 64px 0;
}
@media (min-width: 900px) {
  .section-pad {
    padding: 100px 0;
  }
}
.section-alt {
  background: var(--bg-alt);
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item .corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--red);
  border-style: solid;
  opacity: 0.85;
}
.gallery-item .corner.tl {
  top: 8px;
  left: 8px;
  border-width: 2px 0 0 2px;
}
.gallery-item .corner.br {
  bottom: 8px;
  right: 8px;
  border-width: 0 2px 2px 0;
}
.gallery-item .tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  padding: 5px 9px;
  border-radius: 4px;
}
.gallery-item:nth-child(1) {
  grid-column: span 2;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.gallery-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-faint);
  display: flex;
  gap: 8px;
  align-items: baseline;
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-bottom: 28px;
}
.rating-badge {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.rating-badge .score {
  font-family: var(--font-display);
  font-size: 2.6rem;
}
.rating-badge .stars {
  color: var(--red);
  letter-spacing: 2px;
  font-size: 15px;
}
.rating-badge .of {
  font-size: 13px;
  color: var(--ink-soft);
}

.reviews-track-wrap {
  position: relative;
}
.reviews-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
  cursor: grab;
}
.reviews-track::-webkit-scrollbar {
  display: none;
}
.reviews-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.review-card {
  scroll-snap-align: start;
  flex: 0 0 82%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}
.review-card .stars {
  color: var(--red);
  font-size: 14px;
  letter-spacing: 2px;
}
.review-card p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink);
}
.review-card .who {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media (min-width: 640px) {
  .review-card {
    flex-basis: 46%;
  }
}
@media (min-width: 980px) {
  .review-card {
    flex-basis: 31.5%;
  }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}
.service-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}
.service-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
}
.service-card svg {
  width: 40px;
  height: 40px;
  margin: 14px 0 16px;
  color: var(--red);
}
.service-card h3 {
  font-size: 1.2rem;
}
.service-card p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

@media (min-width: 720px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* FAQ */
.faq-list {
  margin-top: 54px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17px;
}
.faq-q .plus {
  flex-shrink: 0;
  position: relative;
  width: 18px;
  height: 18px;
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--red);
  transition: transform 0.25s var(--ease);
}
.faq-q .plus::before {
  left: 0;
  top: 8px;
  width: 18px;
  height: 2px;
}
.faq-q .plus::after {
  left: 8px;
  top: 0;
  width: 2px;
  height: 18px;
}
.faq-item[data-open="true"] .plus::after {
  transform: rotate(90deg);
  opacity: 0;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-a p {
  padding-bottom: 20px;
  color: var(--ink-soft);
  max-width: 62ch;
  font-size: 15px;
}

/* ==========================================================================
   Contact CTA
   ========================================================================== */
.contact-section {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  margin-inline: var(--gutter);
  padding: 52px 26px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) {
  .contact-section {
    padding: 80px 70px;
  }
}
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 60%, rgba(194, 25, 37, 0.35)),
    radial-gradient(circle at 85% 15%, rgba(194, 25, 37, 0.4), transparent 55%);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  z-index: 1;
}
.contact-section .eyebrow {
  color: #ff8a90;
}
.contact-section .eyebrow::before {
  background: #ff8a90;
}
.contact-section h2 {
  color: #fff;
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  margin-top: 16px;
  max-width: 18ch;
}
.contact-section .lede {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 50ch;
  font-size: 16px;
}
.contact-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.contact-section .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.contact-section .btn-ghost:hover {
  border-color: #fff;
}

.contact-meta {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  font-size: 14px;
}
@media (min-width: 640px) {
  .contact-meta {
    grid-template-columns: repeat(3, 1fr);
  }
}
.contact-meta .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 6px;
}
.contact-meta a:hover {
  color: var(--red);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}
.footer-brand img {
  height: 26px;
  margin-bottom: 14px;
}
.footer-brand p {
  color: var(--ink-soft);
  font-size: 14px;
  max-width: 32ch;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a,
.footer-col p {
  font-size: 14.5px;
  color: var(--ink-soft);
}
.footer-col a:hover {
  color: var(--red);
}
.footer-bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-faint);
}
.footer-bottom .legal-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-bottom a:hover {
  color: var(--red);
}

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 30px -8px rgba(0, 0, 0, 0.4),
    0 0 0 4px rgba(194, 25, 37, 0.12);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.wa-float:hover {
  transform: scale(1.06);
}
.wa-float svg {
  width: 30px;
  height: 30px;
}
.wa-float .ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: wa-ping 2.6s var(--ease) infinite;
}
@keyframes wa-ping {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  80%,
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}
@media (min-width: 720px) {
  .wa-float {
    right: 30px;
    bottom: 30px;
    width: 64px;
    height: 64px;
  }
}

/* ==========================================================================
   Multi-step form modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 27, 26, 0.55);
  backdrop-filter: blur(2px);
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 720px) {
  .modal-overlay {
    align-items: center;
    padding: 24px;
  }
}

.modal {
  background: var(--surface);
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  transform: translateY(24px);
  transition: transform 0.35s var(--ease);
  overflow: hidden;
}
.modal-overlay.is-open .modal {
  transform: translateY(0);
}
@media (min-width: 720px) {
  .modal {
    border-radius: var(--radius-lg);
    max-height: 84vh;
  }
}

.modal-progress {
  display: flex;
  gap: 4px;
  padding: 18px 24px 0;
}
.modal-progress .bar {
  flex: 1;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.modal-progress .bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--red);
  transition: width 0.4s var(--ease);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 0;
}
.modal-brand {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.modal-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.modal-close:hover {
  background: var(--bg-alt);
}

.modal-body {
  padding: 22px 24px 26px;
  overflow-y: auto;
}

.modal-step {
  display: none;
}
.modal-step.is-active {
  display: block;
  animation: step-in 0.35s var(--ease);
}
@keyframes step-in {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.modal-back {
  font-size: 13.5px;
  color: var(--ink-faint);
  margin-bottom: 6px;
  padding: 4px 0;
}
.modal-back:hover {
  color: var(--ink);
}

.modal-step h3 {
  font-size: clamp(1.35rem, 4.5vw, 1.7rem);
  margin-top: 6px;
  max-width: 22ch;
}
.modal-step .hint {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.option-grid {
  margin-top: 26px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
.option-grid.single-col {
  grid-template-columns: 1fr;
}
.option-btn {
  border: 1.5px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.option-btn:hover {
  border-color: var(--red);
}
.option-btn.is-selected {
  border-color: var(--red);
  background: #fcebec;
  color: var(--red-dark);
}
@media (min-width: 480px) {
  .option-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  margin-top: 24px;
}
.field + .field {
  margin-top: 22px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.field-row {
  display: flex;
  gap: 10px;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--line);
  background: transparent;
  padding: 10px 2px;
  font-size: 17px;
  transition: border-color 0.2s ease;
}
.field input:focus {
  border-color: var(--red);
  outline: none;
}
.tel-wrap {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex: 1;
}
.country-code {
  font-family: var(--font-mono);
  font-size: 14px;
  padding-bottom: 10px;
  color: var(--ink-soft);
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}

.field textarea {
  width: 100%;
  resize: vertical;
  min-height: 120px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  line-height: 1.5;
  transition: border-color 0.2s ease;
}
.field textarea:focus {
  border-color: var(--red);
  outline: none;
}
.char-counter {
  margin-top: 8px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
}
.char-counter.is-warning {
  color: #b5720a;
}
.char-counter.is-limit {
  color: var(--red);
  font-weight: 600;
}

.modal-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.modal-actions .kbd-hint {
  font-size: 12.5px;
  color: var(--ink-faint);
}
.modal-actions .kbd-hint kbd {
  font-family: var(--font-mono);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11.5px;
}

.summary-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.summary-list .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.summary-list .row span:first-child {
  color: var(--ink-soft);
  flex-shrink: 0;
}
.summary-list .row span:last-child {
  text-align: right;
  overflow-wrap: anywhere;
}

.final-actions {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}
.final-actions .btn {
  padding: 17px 20px;
  font-size: 15.5px;
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
}
.btn-whatsapp:hover {
  background: #1eb058;
}

.modal-error {
  margin-top: 10px;
  color: var(--red-dark);
  font-size: 13.5px;
  display: none;
}
.modal-error.is-visible {
  display: block;
}

.form-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  display: none;
}
.form-status.is-visible {
  display: block;
}
.form-status.is-loading {
  background: var(--bg-alt);
  color: var(--ink-soft);
}
.form-status.is-success {
  background: #e9f7ee;
  color: #1a7a3c;
}
.form-status.is-error {
  background: #fcebec;
  color: var(--red-dark);
}
.form-status a {
  text-decoration: underline;
}

/* ==========================================================================
   Páginas legales
   ========================================================================== */
.legal-header {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.legal-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.legal-header .brand img {
  height: 26px;
}
.legal-back {
  font-size: 14px;
  color: var(--ink-soft);
}
.legal-back:hover {
  color: var(--red);
}

.legal-page {
  padding: 50px 0 90px;
  max-width: 780px;
  margin-inline: auto;
}
.legal-page .eyebrow {
  margin-bottom: 14px;
}
.legal-page h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
}
.legal-page .updated {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ink-faint);
}
.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 46px;
  margin-bottom: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.legal-page h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 40px;
}
.legal-page p,
.legal-page li {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 12px;
}
.legal-page ul {
  padding-left: 20px;
  list-style: disc;
}
.legal-page strong {
  color: var(--ink);
}
.legal-page .placeholder {
  background: #fcebec;
  color: var(--red-dark);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.92em;
}
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}
.legal-page th,
.legal-page td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  color: var(--ink-soft);
}
.legal-page th {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 95;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.35);
  padding: 20px;
  transform: translateY(140%);
  transition: transform 0.4s var(--ease);
}
.cookie-banner.is-visible {
  transform: translateY(0);
}
.cookie-banner p {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 70ch;
}
.cookie-banner a {
  color: var(--ink);
  text-decoration: underline;
}
.cookie-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-actions .btn {
  padding: 11px 16px;
  font-size: 13.5px;
}
@media (min-width: 720px) {
  .cookie-banner {
    left: auto;
    right: 24px;
    bottom: 24px;
    max-width: 420px;
  }

  .hero-grid {
    gap: 48px;
  }
  .hero h1 {
    text-align: left;
  }
  .lede {
    text-align: justify;
  }
}
