@font-face {
  font-family: "Heebo";
  src: url("/assets/fonts/Heebo-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jaapokki";
  src: url("/assets/fonts/Jaapokki-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fffffc;
  --surface: rgba(255, 255, 252, 0.82);
  --surface-strong: #f4f1ea;
  --ink: #1d1c19;
  --muted: #5f665e;
  --line: rgba(24, 59, 78, 0.14);
  --brand: #183b4e;
  --brand-soft: #30504f;
  --accent: #cdc7b7;
  --success: #30504f;
  --shadow: 0 22px 60px rgba(24, 59, 78, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Heebo", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(205, 199, 183, 0.55), transparent 28%),
    linear-gradient(180deg, #f8f5ee 0%, #fffffc 42%, #f6f4ed 100%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: auto;
  width: 34rem;
  height: 34rem;
  opacity: 0.16;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.site-shell::before {
  top: -4rem;
  right: -10rem;
  background-image: url("/assets/brand/grafismo-azul-45-gradiente.svg");
}

.site-shell::after {
  bottom: -8rem;
  left: -14rem;
  background-image: url("/assets/brand/grafismo-bege-0-gradiente.svg");
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.section-header {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0.85rem 0 0.85rem;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 252, 0.7);
  border-bottom: 1px solid rgba(24, 59, 78, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-link img {
  width: min(11rem, 42vw);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.45rem;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--brand);
  margin: 0.28rem 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  color: #fffffc;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  box-shadow: 0 16px 34px rgba(24, 59, 78, 0.22);
}

.btn-secondary {
  color: var(--brand);
  border-color: rgba(24, 59, 78, 0.14);
  background: rgba(255, 255, 252, 0.72);
}

.hero {
  padding: 5.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.surface-card,
.contact-panel {
  border: 1px solid rgba(24, 59, 78, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 252, 0.88), rgba(246, 244, 237, 0.74));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(2rem, 5vw, 4rem);
}

.hero-copy h1 {
  margin: 1rem 0 1.15rem;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.hero-copy p {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.72;
}

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

.hero-panel {
  position: relative;
  padding: 2rem;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 16rem;
  height: 16rem;
  opacity: 0.26;
  background: url("/assets/brand/grafismo-verde-90-gradiente.svg") no-repeat center / contain;
}

.quote {
  margin: 0 0 2rem;
  font-family: "Heebo", sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.12;
  color: var(--brand);
}

.stats {
  display: grid;
  gap: 0.9rem;
}

.stat {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(24, 59, 78, 0.1);
  background: rgba(255, 255, 252, 0.64);
}

.stat strong {
  display: block;
  color: var(--brand);
  font-size: 1.4rem;
}

.stat span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  line-height: 1.45;
}

.grid-3,
.grid-2,
.card-grid {
  display: grid;
  gap: 1rem;
}

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

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

.surface-card {
  padding: 1.5rem;
}

.surface-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.surface-card p,
.surface-card li {
  color: var(--muted);
  line-height: 1.65;
}

.surface-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

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

.value-chip {
  padding: 1.2rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(24, 59, 78, 0.1);
  background: rgba(255, 255, 252, 0.7);
  text-align: center;
  color: var(--brand);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

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

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

.split-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand), #234a59 58%, var(--brand-soft));
  color: #fffffc;
  box-shadow: var(--shadow);
}

.split-banner p {
  margin: 0.45rem 0 0;
  max-width: 42rem;
  color: rgba(255, 255, 252, 0.82);
}

.page-hero {
  padding: 4.5rem 0 2.2rem;
}

.page-hero h1 {
  margin: 1rem 0 1rem;
  font-size: clamp(2.7rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 46rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.08rem;
}

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

.timeline-step {
  padding: 1.4rem 1.5rem;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 255, 252, 0.82);
  box-shadow: 0 10px 28px rgba(24, 59, 78, 0.08);
}

.timeline-step strong {
  display: block;
  color: var(--brand);
  margin-bottom: 0.35rem;
}

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

.contact-centered {
  max-width: 46rem;
  margin: 0 auto;
}

.contact-panel {
  padding: 1.6rem;
}

.contact-list {
  display: grid;
  gap: 0.9rem;
}

.contact-item {
  padding: 1rem 1rem 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 252, 0.7);
  border: 1px solid rgba(24, 59, 78, 0.08);
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

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

.contact-panel > p:not([hidden]) {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.6;
}

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

.field label {
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(24, 59, 78, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 252, 0.76);
  color: var(--ink);
}

.field textarea {
  resize: vertical;
  min-height: 9rem;
}

.form-status {
  min-height: 1.5rem;
  color: var(--success);
  font-size: 0.96rem;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1d7d57, #2f9a6a);
  color: #fffffc;
  box-shadow: 0 18px 30px rgba(20, 103, 69, 0.3);
}

.whatsapp-float svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: currentColor;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(24, 59, 78, 0.08);
}

.footer-inner p,
.footer-inner a {
  margin: 0;
  color: var(--muted);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-meta a {
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp 0.65s ease forwards;
}

.reveal-delay-1 {
  animation-delay: 0.08s;
}

.reveal-delay-2 {
  animation-delay: 0.16s;
}

.reveal-delay-3 {
  animation-delay: 0.24s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .contact-grid,
  .grid-3,
  .grid-2,
  .card-grid,
  .value-grid,
  .split-banner {
    grid-template-columns: 1fr;
  }

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

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.75rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(24, 59, 78, 0.08);
    background: rgba(255, 255, 252, 0.96);
    box-shadow: var(--shadow);
  }

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

  .header-inner {
    position: relative;
  }

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

  .footer-meta {
    gap: 0.55rem 1rem;
  }
}

@media (max-width: 640px) {
  .hero-copy,
  .hero-panel,
  .surface-card,
  .contact-panel {
    padding: 1.2rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .section {
    padding: 4rem 0;
  }

  .whatsapp-float {
    width: 3.5rem;
    height: 3.5rem;
  }
}
