:root {
  --red: #f51f2b;
  --red-dark: #c9151d;
  --white: #ffffff;
  --black: #111111;
  --gray: #666666;
  --gray-soft: #f4f4f5;
  --border: #e8e8ea;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.08);
  --radius: 16px;
  --header-h: 72px;
  --font: "Manrope", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--black);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.narrow {
  width: min(760px, calc(100% - 2rem));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand img {
  width: 168px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--red);
}

.header-cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  padding: 0;
  margin-left: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-dark);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--black);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--black);
}

.btn-outline {
  background: var(--white);
  border-color: var(--border);
  color: var(--black);
  width: 100%;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--red);
  color: var(--red);
}

.btn-block {
  width: 100%;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.85);
}

.hero {
  padding: 3.5rem 0 4.5rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 31, 43, 0.08), transparent 40%),
    linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.hero-simple {
  padding: 4.5rem 0 5rem;
}

.hero-simple-inner {
  max-width: 640px;
}

.hero-simple-inner h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.lead {
  margin: 1.25rem 0 0;
  color: var(--gray);
  font-size: 1.08rem;
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  animation: rise 0.7s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(245, 31, 43, 0.08);
  color: var(--red-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-card-stack {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.stack-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--gray-soft);
  border: 1px solid transparent;
}

.stack-card.accent {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
}

.stack-label {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.7;
}

.stack-card strong {
  font-size: 1.05rem;
}

.hero-caption {
  margin: 1.1rem 0 0;
  color: var(--gray);
  font-size: 0.92rem;
}

.section-head {
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-head p {
  margin: 0.85rem 0 0;
  color: var(--gray);
}

.services {
  padding: 4.5rem 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-grid-simple .service-card {
  min-height: 100%;
}

.contact-focus {
  background: #fafafa;
  border-top: 1px solid var(--border);
}

.service-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: rgba(245, 31, 43, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(245, 31, 43, 0.08);
  color: var(--red);
}

.service-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.service-card p {
  margin: 0;
  color: var(--gray);
  flex: 1;
}

.leads {
  padding: 4.5rem 0;
  background:
    linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
}

.leads-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.leads-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 14ch;
}

.leads-copy > p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34ch;
}

.leads-points {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.leads-points li {
  position: relative;
  padding-left: 1.4rem;
  font-weight: 600;
}

.leads-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--white);
}

.lead-form {
  background: var(--white);
  color: var(--black);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.18);
  display: grid;
  gap: 0.95rem;
}

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

.field label {
  font-size: 0.88rem;
  font-weight: 700;
}

.field label span {
  color: var(--red);
}

.field label .optional {
  color: var(--gray);
  font-weight: 500;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  background: var(--white);
  color: var(--black);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(245, 31, 43, 0.12);
}

.field-error {
  margin: 0;
  min-height: 1.1em;
  font-size: 0.8rem;
  color: var(--red-dark);
}

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--gray);
  line-height: 1.45;
}

.consent input {
  margin-top: 0.2rem;
  accent-color: var(--red);
}

.consent a {
  color: var(--red-dark);
  text-decoration: underline;
}

.form-success {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(245, 31, 43, 0.08);
  color: var(--red-dark);
  font-weight: 600;
  font-size: 0.92rem;
}

.form-hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--gray);
}

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.contact {
  padding: 4.5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 0.9rem;
}

.contact-icon {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(245, 31, 43, 0.08);
  color: var(--red);
}

.contact-item h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
}

.contact-item p,
.contact-item a {
  margin: 0;
  color: var(--gray);
}

.contact-item a:hover {
  color: var(--red);
}

.muted {
  margin-top: 0.25rem !important;
  font-size: 0.9rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 360px;
  background: var(--gray-soft);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.privacy {
  padding: 0 0 4rem;
}

.privacy h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.privacy p {
  margin: 0;
  color: var(--gray);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  background: #fafafa;
}

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

.footer-brand p {
  margin: 0.75rem 0 0;
  font-weight: 700;
}

.footer-meta p {
  margin: 0.25rem 0;
  color: var(--gray);
  font-size: 0.92rem;
}

.footer-meta a:hover {
  color: var(--red);
}

.copyright {
  margin: 0.75rem 0 0;
  color: var(--gray);
  font-size: 0.85rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  z-index: 60;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .leads-grid,
  .contact-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .header-cta {
    display: none;
  }

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

  .nav {
    position: absolute;
    top: calc(var(--header-h) + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 0.9rem 1rem;
    border-radius: 10px;
  }

  .nav a:hover {
    background: var(--gray-soft);
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 280px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
