:root {
  --ink: #151515;
  --muted: #666666;
  --line: #e7e7e7;
  --soft: #f7f7f5;
  --white: #ffffff;
  --accent: #b51f25;
  --accent-dark: #91171c;
  --whatsapp: #128c45;
  --whatsapp-soft: #e8f6ee;
  --coal: #101010;
  --card: #2d2d2b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  font-family:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;
  background: var(--white);
  line-height: 1.55;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  background: rgba(45, 45, 43, 0.96);
  backdrop-filter: blur(12px);
  min-width: 0;
}

.brand {
  display: grid;
  gap: 1px;
  text-decoration: none;
}

.brand-title {
  color: var(--white);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-subtitle {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.nav a,
.mobile-nav a,
.phone-link,
.social-link {
  text-decoration: none;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.nav a:hover,
.nav a:focus-visible,
.mobile-nav a:hover,
.mobile-nav a:focus-visible,
.social-link:hover,
.social-link:focus-visible {
  color: var(--white);
}

.phone-link {
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 800;
  white-space: nowrap;
}

.phone-link:hover,
.phone-link:focus-visible,
.phone-action:hover,
.phone-action:focus-visible {
  color: var(--accent);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
  border-radius: 2px;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.mobile-nav {
  display: none;
}

.social-link {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.hero {
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: clamp(74px, 11vw, 136px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.hero-inner {
  width: min(840px, 100%);
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  font-size: 0.78rem;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  border-color: var(--accent);
  background: var(--accent);
}

.button.primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
}

.button.secondary:hover {
  border-color: #cfcfcf;
  background: var(--soft);
}

.whatsapp-link:hover,
.whatsapp-link:focus-visible {
  color: var(--whatsapp);
  border-color: rgba(18, 140, 69, 0.35);
  background: var(--whatsapp-soft);
}

.email-link:hover,
.email-link:focus-visible {
  color: var(--accent);
  border-color: rgba(181, 31, 37, 0.32);
  background: #fff0f1;
}

.instagram-link:hover,
.instagram-link:focus-visible {
  color: #c13584;
  border-color: rgba(193, 53, 132, 0.3);
  background: #fbedf5;
}

.section {
  padding: clamp(56px, 8vw, 92px) clamp(18px, 5vw, 72px);
}

.intro {
  padding-top: 42px;
  padding-bottom: 42px;
  background: var(--soft);
}

.intro p {
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  line-height: 1.35;
}

.section-head {
  display: block;
  margin-bottom: 28px;
  text-align: center;
}

.section h2,
.lead-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.service-list,
.pricing-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  min-width: 0;
}

.service-list article,
.pricing-list article {
  min-height: 160px;
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid var(--line);
}

.service-list article:nth-child(odd),
.pricing-list article:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid var(--line);
}

.service-list article:nth-child(even),
.pricing-list article:nth-child(even) {
  padding-left: 32px;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
}

.pricing-section {
  background: var(--soft);
}

.pricing-list article {
  background: transparent;
}

.pricing-list span,
.pricing-list strong {
  display: block;
}

.pricing-list span {
  color: var(--muted);
  font-weight: 800;
}

.pricing-list strong {
  margin-top: 8px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
}

.testimonial-section {
  background: var(--white);
}

.testimonial-head {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.testimonial-controls {
  display: flex;
  gap: 8px;
}

.carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  color: var(--accent);
  border-color: rgba(181, 31, 37, 0.32);
  background: #fff0f1;
}

.testimonial-carousel {
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  min-width: 0;
}

.testimonial-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 0;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  min-width: 0;
}

.testimonial-list::-webkit-scrollbar {
  display: none;
}

.testimonial {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 32px) / 3);
  min-height: 260px;
  margin: 0;
  padding: clamp(24px, 4vw, 36px) 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-snap-align: start;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.testimonial.is-featured {
  border-color: rgba(181, 31, 37, 0.28);
  background: #fff8f8;
  box-shadow: 0 14px 32px rgba(21, 21, 21, 0.08);
  transform: translateY(-4px);
}

.testimonial blockquote {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.55vw, 1.45rem);
  font-weight: 600;
  line-height: 1.28;
}

.testimonial figcaption {
  margin-top: auto;
  padding-top: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.lead-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
  min-width: 0;
}

.lead-copy p {
  max-width: 560px;
  font-size: 1.08rem;
}

.contact-label {
  margin: 24px 0 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
}

.contact-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.contact-box a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-width: 124px;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: currentColor;
}

.contact-icon span {
  font-size: 0.94rem;
}

.lead-form {
  display: grid;
  gap: 15px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  min-width: 0;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(181, 31, 37, 0.14);
  border-color: var(--accent);
}

.form-button {
  width: 100%;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 800;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.consent a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.consent a:hover,
.consent a:focus-visible {
  color: var(--accent-dark);
  text-decoration: underline;
}

.footer {
  display: flex;
  justify-content: center;
  padding: 28px clamp(18px, 5vw, 72px);
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  background: var(--coal);
}

.simple-topbar {
  position: static;
}

.policy-page {
  padding: clamp(48px, 8vw, 88px) clamp(18px, 5vw, 72px);
}

.policy-content {
  max-width: 820px;
  margin: 0 auto;
}

.policy-content h1 {
  margin: 0 0 28px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.policy-content p {
  font-size: 1.05rem;
}

.policy-content .button {
  margin-top: 20px;
}

@media (max-width: 900px) {
  .lead-section {
    grid-template-columns: 1fr;
  }

  .testimonial {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: start;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 12px;
    min-height: 68px;
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .brand {
    width: auto;
    padding-top: 1px;
  }

  .brand-title {
    font-size: 1.00rem;
    line-height: 1;
  }

  .brand-subtitle {
    line-height: 1.15;
  }

  .nav {
    display: none;
  }

  .top-actions {
    align-items: start;
    justify-content: end;
    gap: 8px;
    padding-top: 0;
  }

  .phone-link {
    font-size: 1.05rem;
    line-height: 1;
    padding-top: 2px;
  }

  .menu-toggle {
    display: block;
    margin-top: -4px;
  }

  .mobile-nav {
    display: none;
    grid-column: 1 / -1;
    padding: 10px 0 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.78);
  }

  .mobile-nav.is-open {
    display: grid;
    gap: 8px;
  }

  .mobile-nav a {
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 700;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .button {
    width: 100%;
  }

  .service-list,
  .pricing-list {
    grid-template-columns: 1fr;
  }

  .service-list article,
  .pricing-list article,
  .service-list article:nth-child(odd),
  .pricing-list article:nth-child(odd),
  .service-list article:nth-child(even),
  .pricing-list article:nth-child(even) {
    min-height: auto;
    padding: 22px 0;
    border-right: 0;
  }

  .testimonial {
    min-height: auto;
    padding: 24px 0;
  }

  .testimonial blockquote {
    font-size: clamp(1.05rem, 5vw, 1.35rem);
  }

  .testimonial-list {
    gap: 0;
    padding-bottom: 0;
  }

  .testimonial {
    flex-basis: calc(100% - 2px);
  }

  .testimonial.is-featured {
    transform: none;
  }

  .testimonial-head {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .testimonial-controls {
    width: 100%;
    justify-content: center;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    align-items: center;
  }

  .contact-box {
    flex-direction: row;
    align-items: center;
  }

  .contact-box a {
    min-width: calc(50% - 5px);
  }
}
