:root {
  --primary: #c5332c;
  --primary-dark: #8a211b;
  --text: #141313;
  --bg: #ffffff;
  --muted: #f6f7f9;
  --surface: #fbfbfc;
  --border: #e8eaf0;
  --heading: #0f0e0e;
  --shadow-sm: 0 8px 24px rgba(15, 14, 14, 0.08);
  --shadow-md: 0 16px 30px rgba(15, 14, 14, 0.12);
  --radius-lg: 1.15rem;
  --radius-md: 0.85rem;
  --radius-sm: 0.65rem;
  --container: 1140px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

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

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

p,
h1,
h2,
h3 {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

input,
button,
summary {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(197, 51, 44, 0.45);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 1rem;
  z-index: 1000;
  background: var(--heading);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

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

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

.section {
  padding: clamp(3.8rem, 7vw, 6.4rem) 0;
}

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

.section-heading {
  margin-bottom: 1.8rem;
}

.section-heading h2 {
  color: var(--heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.section-support {
  margin-top: 0.8rem;
  max-width: 56ch;
  color: rgba(20, 19, 19, 0.85);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 19, 19, 0.08);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.logo {
  width: 152px;
  height: auto;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(20, 19, 19, 0.14);
  background: #fff;
  border-radius: 0.75rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--heading);
}

.site-nav {
  display: none;
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  top: calc(100% + 0.6rem);
  background: #fff;
  border: 1px solid rgba(20, 19, 19, 0.09);
  border-radius: 0.9rem;
  padding: 0.8rem;
  box-shadow: var(--shadow-sm);
  flex-direction: column;
  gap: 0.1rem;
}

.site-nav.open {
  display: flex;
}

.nav-link {
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  color: rgba(20, 19, 19, 0.88);
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--primary);
  background: rgba(197, 51, 44, 0.08);
}

.header-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.88rem 1.35rem;
  font-weight: 700;
  min-height: 48px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(160deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(197, 51, 44, 0.34);
}

.btn-primary:hover {
  box-shadow: 0 13px 26px rgba(197, 51, 44, 0.42);
}

.btn-outline {
  border-color: rgba(20, 19, 19, 0.3);
  color: var(--heading);
}

.btn-outline:hover {
  background: rgba(20, 19, 19, 0.05);
}

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

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

.btn-sm {
  min-height: 40px;
  font-size: 0.93rem;
  padding: 0.62rem 1.1rem;
}

.hero {
  min-height: max(80vh, 35rem);
  position: relative;
  display: flex;
  align-items: center;
  background-image: url("/assets/img/hero.jpg");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(12, 12, 12, 0.78) 12%, rgba(12, 12, 12, 0.56) 56%, rgba(12, 12, 12, 0.7) 100%);
  z-index: -1;
}

.hero-content {
  color: #fff;
  padding-block: clamp(5.8rem, 10vw, 8rem) clamp(2.8rem, 6vw, 4.4rem);
  max-width: 73ch;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 17ch;
}

.hero-subtitle {
  margin-top: 1.2rem;
  font-size: clamp(1.01rem, 2.2vw, 1.35rem);
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.93);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-microcopy {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
}

.trust-bar {
  padding: clamp(1.6rem, 4vw, 2.5rem) 0;
}

.trust-title {
  font-weight: 700;
  color: rgba(20, 19, 19, 0.92);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.chip-row {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  background: #fff;
  border: 1px solid rgba(20, 19, 19, 0.09);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(20, 19, 19, 0.8);
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards-3,
.pricing-grid,
.cards-4,
.process-grid {
  grid-template-columns: 1fr;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1rem, 2.8vw, 1.45rem);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 51, 44, 0.24);
}

.card-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.82rem;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: rgba(197, 51, 44, 0.09);
  margin-bottom: 0.9rem;
}

.card-icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.service-card h3,
.price-card h3 {
  font-size: 1.28rem;
  line-height: 1.24;
  letter-spacing: -0.01em;
}

.service-card p,
.price-card p,
.mini-card p,
.process-card p {
  color: rgba(20, 19, 19, 0.82);
}

.service-card p {
  margin-top: 0.42rem;
}

.service-card ul,
.price-card ul {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.55rem;
}

.service-card li,
.price-card li {
  position: relative;
  padding-left: 1.05rem;
  color: rgba(20, 19, 19, 0.85);
}

.service-card li::before,
.price-card li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  left: 0;
  top: 0.54rem;
}

.mini-cta {
  margin-top: 1rem;
  display: inline-flex;
  font-weight: 700;
  color: var(--primary-dark);
}

.mini-cta::after {
  content: "→";
  margin-left: 0.38rem;
  transition: transform 0.2s ease;
}

.mini-cta:hover::after {
  transform: translateX(4px);
}

.process-grid {
  counter-reset: step;
}

.process-card {
  position: relative;
  overflow: hidden;
}

.step-number {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: var(--primary);
  font-size: 0.86rem;
}

.price-card.featured {
  border: 2px solid rgba(197, 51, 44, 0.4);
  background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
  position: relative;
}

.featured-badge {
  display: inline-flex;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  background: rgba(197, 51, 44, 0.13);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.centered-cta {
  margin-top: 1.35rem;
  display: flex;
  justify-content: center;
}

.cards-4 .mini-card {
  display: grid;
  align-content: start;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border: 1px solid rgba(20, 19, 19, 0.14);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0.8rem 1rem;
  box-shadow: 0 4px 14px rgba(15, 14, 14, 0.06);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--heading);
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: var(--primary);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin-top: 0.7rem;
  color: rgba(20, 19, 19, 0.85);
}

.section-highlight {
  color: #fff;
  background: radial-gradient(circle at 20% 10%, rgba(197, 51, 44, 0.88), rgba(138, 33, 27, 0.96));
}

.cta-block {
  text-align: center;
}

.cta-block h2 {
  font-size: clamp(1.7rem, 3.7vw, 3rem);
  line-height: 1.15;
  max-width: 22ch;
  margin-inline: auto;
}

.cta-block p {
  margin-top: 0.9rem;
  margin-inline: auto;
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.92);
}

.cta-block .hero-actions {
  justify-content: center;
}

.contact-grid {
  display: grid;
  gap: 1.1rem;
}

.contact-copy p {
  color: rgba(20, 19, 19, 0.8);
  margin-top: 0.5rem;
  max-width: 54ch;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 650;
  color: rgba(20, 19, 19, 0.95);
}

.field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(20, 19, 19, 0.2);
  border-radius: 0.7rem;
  padding: 0.7rem 0.8rem;
  background: #fff;
  color: var(--heading);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus {
  border-color: rgba(197, 51, 44, 0.7);
  box-shadow: 0 0 0 4px rgba(197, 51, 44, 0.12);
  outline: none;
}

.field input[aria-invalid="true"] {
  border-color: #a90f0f;
  box-shadow: 0 0 0 4px rgba(169, 15, 15, 0.12);
}

.site-footer {
  background: #0f1114;
  color: rgba(255, 255, 255, 0.8);
  padding: 1.4rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1fa855;
  box-shadow: 0 14px 22px rgba(31, 168, 85, 0.35);
  color: #fff;
  z-index: 29;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.02);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  padding: 0.85rem 1.1rem;
  border-radius: 0.65rem;
  background: #1f2937;
  color: #fff;
  font-size: 0.93rem;
  font-weight: 600;
  z-index: 40;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 359px) {
  .container {
    width: min(100% - 1.3rem, var(--container));
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (min-width: 720px) {
  .cards-3,
  .pricing-grid,
  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-grid {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: start;
  }

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

  .contact-form .field:nth-child(7),
  .contact-form button {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 1.2rem;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    justify-content: center;
    border: 0;
    padding: 0;
    box-shadow: none;
    background: transparent;
  }

  .header-cta {
    display: inline-flex;
  }

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

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

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

  .price-card.featured {
    transform: translateY(-8px);
  }

  .price-card.featured:hover {
    transform: translateY(-12px);
  }

  .whatsapp-float {
    right: 1.4rem;
    bottom: 1.4rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
