@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

:root {
  --background: #fcfcfc;
  --foreground: #2b302b;
  --primary: #4a5849;
  --primary-dark: #3d493c;
  --accent: #e5d3b3;
  --muted: #687268;
  --line: #e9e9e9;
  --card: #ffffff;
  --error: #b42318;
  --success: #246b45;
  --whatsapp: #16a34a;
  --whatsapp-dark: #15803d;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.05);
  --shadow-md: 0 12px 26px rgb(15 23 42 / 0.12);
  --shadow-xl: 0 24px 58px rgb(15 23 42 / 0.22);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg {
  display: block;
}

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

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

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.site {
  min-height: 100dvh;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2rem);
  padding-inline: 1rem;
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.section-media,
.section-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.section-media {
  z-index: 0;
}

.section-media img {
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.overlay-green {
  background: var(--primary);
  opacity: 0.65;
  mix-blend-mode: multiply;
}

.overlay-vertical {
  background: linear-gradient(to top, rgb(74 88 73 / 0.8), transparent 58%);
}

.overlay-black {
  background: rgb(0 0 0 / 0.4);
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  color: #ffffff;
  animation: intro-left 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.brand-logo {
  width: auto;
  height: 4rem;
  object-fit: contain;
  margin-bottom: 2.5rem;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0 0 1.5rem;
  font-size: 2.25rem;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 640px;
  margin: 0;
  color: rgb(255 255 255 / 0.9);
  font-size: 1.125rem;
  line-height: 1.72;
  font-weight: 300;
}

.form-card {
  position: relative;
  width: 100%;
  max-width: 448px;
  margin-inline: auto;
  padding: 2rem;
  background: var(--card);
  color: var(--foreground);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.hero-form {
  border-radius: 1rem;
  animation: intro-up 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.accent-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.5rem;
  background: var(--accent);
}

.form-card h2 {
  margin: 0 0 1.5rem;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 600;
}

.lead-form {
  display: grid;
  gap: 1rem;
}

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

.field label {
  color: #374151;
  font-size: 0.95rem;
  font-weight: 500;
}

.field input {
  width: 100%;
  min-height: 3rem;
  padding: 0 0.9rem;
  color: #111827;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.55rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field input::placeholder {
  color: #9ca3af;
}

.field input:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(74 88 73 / 0.16);
}

.field.has-error input {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgb(180 35 24 / 0.12);
}

.field-error {
  min-height: 1rem;
  color: var(--error);
  font-size: 0.78rem;
  line-height: 1.35;
}

.field-error:empty {
  display: none;
}

.honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-button {
  position: relative;
  display: inline-flex;
  min-height: 3.5rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.25rem;
  padding: 0.75rem 1.2rem;
  color: #ffffff;
  background: var(--primary);
  border-radius: 0.8rem;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  box-shadow: 0 10px 22px rgb(74 88 73 / 0.18);
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.submit-button:hover {
  background: var(--primary-dark);
  box-shadow: 0 14px 28px rgb(74 88 73 / 0.24);
  transform: translateY(-2px);
}

.submit-button:focus-visible {
  outline: 3px solid rgb(229 211 179 / 0.85);
  outline-offset: 3px;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.8;
  transform: none;
}

.loader {
  display: none;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgb(255 255 255 / 0.35);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
}

.submit-button.is-loading .loader {
  display: block;
}

.form-status {
  margin: 0.25rem 0 0;
  padding: 0.8rem 0.9rem;
  border-radius: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.form-status:empty {
  display: none;
}

.form-status.success {
  color: var(--success);
  background: rgb(36 107 69 / 0.1);
}

.form-status.error {
  color: var(--error);
  background: rgb(180 35 24 / 0.1);
}

body.modal-open {
  overflow: hidden;
}

.whatsapp-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.whatsapp-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.whatsapp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(17 24 39 / 0.62);
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.whatsapp-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 448px);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  padding: 2rem;
  color: var(--foreground);
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  transform: translateY(16px) scale(0.98);
  transition: transform 180ms ease;
}

.whatsapp-modal[aria-hidden="false"] .whatsapp-modal-card {
  transform: translateY(0) scale(1);
}

.whatsapp-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: #4b5563;
  background: #f3f4f6;
  border-radius: 999px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.whatsapp-modal-close:hover {
  color: #111827;
  background: #e5e7eb;
}

.whatsapp-modal-close .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.whatsapp-modal h2 {
  margin: 0 3rem 0.75rem 0;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1.25;
}

.whatsapp-modal p {
  margin: 0 0 1.5rem;
  color: #5f6860;
}

.whatsapp-form {
  display: grid;
  gap: 1rem;
}

.split {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.section-location {
  background: var(--background);
}

.media-frame {
  position: relative;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 4px solid rgb(255 255 255 / 0.2);
  border-radius: inherit;
  pointer-events: none;
}

.location-image {
  aspect-ratio: 4 / 5;
}

.media-frame img,
.location-image picture {
  width: 100%;
  height: 100%;
}

.media-frame img {
  object-fit: cover;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.section-kicker .icon {
  width: 2rem;
  height: 2rem;
}

.section-kicker span {
  color: rgb(74 88 73 / 0.82);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.large-copy {
  margin: 0 0 2rem;
  font-size: 1.5rem;
  line-height: 1.36;
  font-weight: 500;
}

.thumb-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.thumb-row img {
  width: 8rem;
  height: 8rem;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
}

.section-differentials {
  background: rgb(249 250 251 / 0.5);
}

.section-header {
  max-width: 760px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-header h2 {
  margin: 0 0 1.5rem;
  color: var(--primary);
  font-size: 1.875rem;
  line-height: 1.18;
  font-weight: 700;
}

.section-header p {
  margin: 0;
  color: #5f6860;
  font-size: 1.125rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgb(15 23 42 / 0.13);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-media picture,
.card-media img {
  width: 100%;
  height: 100%;
}

.card-media img {
  object-fit: cover;
  transition: transform 700ms ease;
}

.feature-card:hover .card-media img {
  transform: scale(1.05);
}

.media-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.6), transparent 62%);
  opacity: 0.6;
}

.card-icon {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: var(--primary);
  background: rgb(255 255 255 / 0.9);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgb(15 23 42 / 0.18);
  backdrop-filter: blur(8px);
}

.card-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 2rem;
}

.card-body h3 {
  margin: 0 0 0.75rem;
  color: #111827;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
}

.card-body p {
  flex: 1;
  margin: 0;
  color: #5f6860;
  font-size: 0.875rem;
  line-height: 1.7;
}

.section-faq {
  background: #ffffff;
}

.faq-container {
  max-width: 896px;
}

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

.faq-item {
  background: rgb(249 250 251 / 0.5);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0 1.5rem;
  transition: background 220ms ease, box-shadow 220ms ease;
}

.faq-item.is-open {
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.faq-item h3 {
  margin: 0;
}

.faq-trigger {
  display: flex;
  min-height: 4.5rem;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem 0;
  color: #111827;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 1.125rem;
  line-height: 1.45;
  font-weight: 600;
  transition: color 200ms ease;
}

.faq-trigger:hover,
.faq-trigger:focus-visible {
  color: var(--primary);
}

.faq-trigger:focus-visible {
  outline: 3px solid rgb(74 88 73 / 0.16);
  outline-offset: 4px;
}

.faq-marker {
  position: relative;
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
}

.faq-marker::before,
.faq-marker::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform 200ms ease;
}

.faq-marker::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item.is-open .faq-marker::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.faq-panel p {
  margin: 0;
  padding: 0 0 1.5rem;
  color: #5f6860;
  font-size: 1rem;
  line-height: 1.72;
}

.final-cta {
  padding: 6rem 0;
  color: #ffffff;
}

.final-cta .container {
  position: relative;
  z-index: 2;
}

.cta-overlay {
  opacity: 0.8;
}

.cta-copy h2 {
  margin: 0 0 1.5rem;
  font-size: 2.25rem;
  line-height: 1.12;
  font-weight: 700;
}

.cta-copy > p {
  margin: 0 0 2.5rem;
  color: rgb(255 255 255 / 0.82);
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 300;
}

.contact-stack {
  display: grid;
  gap: 1.5rem;
}

.whatsapp-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2rem;
  color: #ffffff;
  background: var(--whatsapp);
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  box-shadow: 0 16px 36px rgb(20 83 45 / 0.22);
  transition: background 220ms ease, transform 220ms ease;
}

.whatsapp-link:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
}

.whatsapp-link .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.address-box {
  display: flex;
  max-width: 448px;
  align-items: flex-start;
  gap: 1rem;
  margin: 0;
  padding: 1.5rem;
  color: rgb(255 255 255 / 0.9);
  background: rgb(0 0 0 / 0.2);
  border-radius: 1rem;
  font-style: normal;
  line-height: 1.65;
  backdrop-filter: blur(8px);
}

.address-box .icon {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.15rem;
}

.footer {
  padding: 3rem 0;
  color: #ffffff;
  background: var(--foreground);
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-logo {
  width: auto;
  height: 2.5rem;
  object-fit: contain;
  opacity: 0.72;
  transition: opacity 180ms ease;
}

.footer-logo:hover {
  opacity: 1;
}

.footer p {
  margin: 0;
  color: #9ca3af;
  font-size: 0.875rem;
  text-align: center;
}

.footer a {
  color: #9ca3af;
  transition: color 180ms ease;
}

.footer a:hover {
  color: #ffffff;
}

.footer a.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #25d366;
  font-weight: 500;
}

.footer a.footer-whatsapp:hover {
  color: #ffffff;
}

.footer-whatsapp .icon {
  width: 1.125rem;
  height: 1.125rem;
}

.icon,
.icon * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-icon,
.whatsapp-icon * {
  fill: currentColor;
  stroke: none;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cards-grid .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.cards-grid .reveal:nth-child(3) {
  transition-delay: 160ms;
}

.cards-grid .reveal:nth-child(4) {
  transition-delay: 240ms;
}

.cards-grid .reveal:nth-child(5) {
  transition-delay: 320ms;
}

.cards-grid .reveal:nth-child(6) {
  transition-delay: 400ms;
}

@keyframes intro-left {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes intro-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 768px) {
  .container {
    max-width: calc(var(--container) + 3rem);
    padding-inline: 1.5rem;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-copy p {
    font-size: 1.25rem;
  }

  .brand-logo {
    height: 5rem;
  }

  .form-card {
    padding: 2.5rem;
  }

  .large-copy {
    font-size: 1.875rem;
  }

  .thumb-row img {
    width: 10rem;
    height: 10rem;
  }

  .section-header h2 {
    font-size: 2.25rem;
  }

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

  .cta-copy h2 {
    font-size: 3rem;
  }

  .footer-content {
    flex-direction: row;
  }

  .footer p {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 8rem 0;
  }

  .hero {
    padding: 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr);
    gap: 5rem;
  }

  .hero-form {
    margin-inline: 0;
  }

  .brand-logo {
    margin-bottom: 4rem;
  }

  .hero-copy h1 {
    font-size: 4.5rem;
  }

  .hero-copy p {
    font-size: 1.5rem;
  }

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

  .large-copy {
    font-size: 2.25rem;
  }

  .section-header {
    margin-bottom: 6rem;
  }

  .section-header h2 {
    font-size: 3rem;
  }

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

  .cta-grid {
    gap: 5rem;
  }

  .cta-copy h2 {
    font-size: 3.75rem;
  }

  .cta-form {
    margin-inline: auto 0;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 5rem;
  }

  .form-card {
    padding: 1.5rem;
  }

  .hero-copy h1,
  .cta-copy h2 {
    font-size: 2rem;
  }

  .large-copy {
    font-size: 1.35rem;
  }

  .whatsapp-link {
    width: 100%;
    justify-content: center;
    padding-inline: 1.25rem;
  }

  .faq-item {
    padding: 0 1.1rem;
  }

  .faq-trigger {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

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