/* Villa Verde Residencial — Landing Page */

:root {
  --color-bg: #f8f9fa;
  --color-bg-gray: #f3f4f5;
  --color-bg-contact: #edeeef;
  --color-green: #356b02;
  --color-green-dark: #366c03;
  --color-green-light: #76b148;
  --color-green-accent: #436826;
  --color-green-highlight: #b5f482;
  --color-green-nav: #15803d;
  --color-text: #191c1d;
  --color-text-muted: #42493a;
  --color-text-nav: #475569;
  --color-badge-bg: #d4e1f3;
  --color-badge-text: #576473;
  --color-white: #ffffff;
  --color-input-bg: #f3f4f5;
  --color-placeholder: #6b7280;
  --font: 'Montserrat', system-ui, sans-serif;
  --container: 1280px;
  --header-h: 100px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --shadow-card: 0 32px 64px -12px rgba(25, 28, 29, 0.08);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --gradient-btn: linear-gradient(165.6deg, #356b02 0%, #76b148 100%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text-muted);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-green {
  color: var(--color-green);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

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

.btn--gradient {
  background: var(--gradient-btn);
  color: var(--color-white);
  padding: 16px 40px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.btn--solid {
  background: var(--color-green);
  color: var(--color-white);
  padding: 20px 24px;
  width: 100%;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-green);
  padding: 16px 40px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.btn--lg {
  font-size: 18px;
}

.btn--full {
  width: 100%;
}

.badge {
  display: inline-block;
  background: var(--color-badge-bg);
  color: var(--color-badge-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 12px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  height: var(--header-h);
}

.header__nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
}

.header__nav.container {
  max-width: var(--container);
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo img {
  height: 72px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  object-position: left center;
}

.header__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.header__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 105px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-nav);
  padding: 0 16px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.header__link:hover {
  color: var(--color-green-nav);
}

.header__link--active {
  font-weight: 600;
  color: var(--color-green-nav);
  border-bottom-color: var(--color-green-nav);
}

.header__cta {
  font-size: 16px;
  font-weight: 600;
  padding: 10px 24px;
  white-space: nowrap;
  justify-self: end;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header__menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.header__menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(921px, calc(100vh - var(--header-h)));
  min-height: min(921px, calc(100dvh - var(--header-h)));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.92) 28%,
    rgba(255, 255, 255, 0.55) 48%,
    rgba(255, 255, 255, 0.15) 62%,
    transparent 78%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: inherit;
  padding: 64px 24px;
}

.hero__content {
  grid-column: 2;
  justify-self: end;
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero__title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.8px;
  color: var(--color-text);
}

.hero__subtitle {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text-muted);
  max-width: 512px;
}

.hero .btn--lg {
  margin-top: 8px;
}

/* Sections */
.section {
  padding: 96px 0;
}

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

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

.section__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--color-green-accent);
  margin-bottom: 8px;
}

.section__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 0;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  min-height: 180px;
}

.feature-card__icon {
  margin-bottom: 24px;
}

.feature-card__value {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 36px;
  margin-bottom: 4px;
}

.feature-card__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Differentials */
.differentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 64px;
  align-items: start;
}

.differentials__visual {
  position: relative;
  grid-row: span 2;
}

.differentials__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}

.differentials__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.differentials__highlight {
  position: absolute;
  bottom: -40px;
  right: -40px;
  max-width: 320px;
  background: var(--color-green-light);
  color: #f6f9f4;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.differentials__highlight h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
  color: #f6f9f4;
}

.differentials__highlight p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
  color: #fdfffb;
}

.differentials__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.differentials__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.differentials__list li img {
  flex-shrink: 0;
}

.differentials__list strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.differentials__list p {
  font-size: 16px;
  color: var(--color-text-muted);
}

.differentials__planta {
  grid-column: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.differentials__planta img {
  width: 100%;
  height: auto;
}

/* Pricing */
.section--pricing {
  padding: 48px 0 96px;
}

.pricing__card {
  background: var(--color-green);
  border-radius: var(--radius-xl);
  padding: 80px;
  position: relative;
  overflow: hidden;
  max-width: 672px;
}

.pricing__card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 256px;
  height: 256px;
  background: rgba(118, 177, 72, 0.2);
  border-radius: 12px;
  filter: blur(32px);
}

.pricing__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--color-green-highlight);
  margin-bottom: 24px;
  position: relative;
}

.pricing__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 24px;
  position: relative;
}

.pricing__title span {
  display: block;
  font-size: 45px;
  color: var(--color-green-highlight);
  margin-top: 8px;
}

.pricing__text {
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-white);
  opacity: 0.9;
  margin-bottom: 24px;
  position: relative;
}

.pricing .btn {
  position: relative;
}

/* Location */
.location__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 48px;
}

.location__address {
  font-size: 16px;
  margin-top: 8px;
  max-width: 576px;
}

.location__address strong {
  color: var(--color-text);
}

.location__nearby-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.location__nearby ul {
  font-size: 10px;
  line-height: 20px;
  color: var(--color-green);
  max-width: 400px;
}

.location__nearby li span {
  font-weight: 700;
}

.location__nearby li {
  font-weight: 500;
  color: var(--color-text-muted);
}

.location__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 500px;
  background: var(--color-white);
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.location__map-link {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--color-green);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.location__map-link:hover {
  background: var(--color-green-light);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__intro {
  font-size: 18px;
  margin-top: 16px;
  line-height: 1.55;
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.contact__channel {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: opacity 0.2s;
}

.contact__channel:hover {
  opacity: 0.85;
}

.contact__channel-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-green-accent);
  letter-spacing: 0.5px;
}

.contact__channel-value {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
}

.contact__form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-green-accent);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-input-bg);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-placeholder);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-green-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-feedback {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
}

.form-feedback--success {
  color: var(--color-green);
}

.form-feedback--error {
  color: #b91c1c;
}

/* Footer */
.footer {
  background: var(--color-green-dark);
  color: var(--color-white);
  padding: 56px 0 0;
  border-top: 1px solid #e2e8f0;
}

.footer__inner {
  padding-bottom: 55px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 48px;
}

.footer h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fbfeff;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer a {
  font-size: 14px;
  color: var(--color-white);
  transition: opacity 0.2s;
}

.footer a:hover {
  opacity: 0.85;
}

.footer__address {
  font-size: 14px;
  line-height: 1.6;
  color: #fafafa;
  max-width: 320px;
  text-align: right;
}

.footer__endeal {
  display: inline-block;
  margin-bottom: 40px;
}

.footer__endeal img {
  height: 49px;
  width: auto;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 33px;
  text-align: center;
}

.footer__bottom p {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-white);
}

/* Responsive */
@media (max-width: 1100px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }

  .differentials {
    grid-template-columns: 1fr;
  }

  .differentials__visual {
    grid-row: auto;
  }

  .differentials__planta {
    grid-column: 1;
  }

  .pricing__card {
    padding: 48px;
  }

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

  .location__nearby ul {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 80px;
  }

  .header__nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header__logo img {
    height: 56px;
  }

  .header__menu-btn {
    display: flex;
    justify-self: end;
  }

  .header__links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
    justify-content: flex-start;
  }

  .header__link {
    min-width: auto;
    width: 100%;
    justify-content: flex-start;
    padding: 12px 0;
  }

  .header__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header__cta {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding: 48px 24px;
  }

  .hero__content {
    grid-column: 1;
    justify-self: stretch;
    max-width: 100%;
  }

  .hero__overlay {
    background: linear-gradient(
      to top,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.85) 35%,
      rgba(255, 255, 255, 0.4) 55%,
      transparent 75%
    );
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__top {
    flex-direction: column;
  }

  .footer__address {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 64px 0;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .differentials__highlight {
    right: 16px;
    bottom: -24px;
    left: 16px;
    max-width: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row .form-group {
    margin-bottom: 24px;
  }

  .pricing__card {
    padding: 32px 24px;
  }

  .pricing__title span {
    font-size: 32px;
  }

  .location__map {
    height: 320px;
  }
}
