/*
  ============================================================
  MARALTA CABO LIVING — Landing Page Styles
  ============================================================
  VALORES PERSONALIZABLES:
  - Colores: editar variables CSS en :root
  - Tipografía: cambiar font-family en :root
  - Imágenes de fondo: buscar "background-image" y reemplazar URL
  ============================================================
*/

/* ===================== VARIABLES ===================== */
:root {
  --color-primary: #1B3A5C;
  --color-primary-light: #2A5580;
  --color-primary-dark: #122840;
  --color-secondary: #C5A55A;
  --color-secondary-light: #D4B86A;
  --color-accent: #E8722A;
  --color-accent-dark: #D0621E;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F5F5;
  --color-bg-dark: #1A1A1A;
  --color-text: #333333;
  --color-text-light: #6B6B6B;
  --color-text-muted: #999999;
  --color-white: #FFFFFF;
  --color-border: #E0E0E0;
  --color-success: #2E7D32;
  --color-error: #C62828;
  --color-whatsapp: #25D366;

  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container-max: 1200px;
  --header-height: 70px;
  --section-padding: 80px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ===================== UTILIDADES ===================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section__badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.3;
}

.section__title--left {
  text-align: left;
}

.section__description {
  text-align: center;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ===================== BOTONES ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all var(--transition);
  position: relative;
}

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

.btn--primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(232, 114, 42, 0.4);
}

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

.btn__loader {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* ===================== HEADER / NAV ===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header--scrolled .nav__logo-text,
.header--scrolled .nav__logo-sub {
  color: var(--color-text);
}

.header--scrolled .nav__link {
  color: var(--color-text);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

/* On scroll, logo is white SVG — hide img and show text fallback */
.nav__logo-text--fallback,
.nav__logo-sub--fallback {
  display: none;
}

.header--scrolled .nav__logo-img {
  filter: brightness(0); /* turns white SVG to black */
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 3px;
  transition: color var(--transition);
}

.nav__logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--color-secondary);
  transition: color var(--transition);
}

.nav__menu {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-white);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
}

.header--scrolled .nav__toggle span {
  background: var(--color-text);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* Reemplazar con imagen real */
  background: url('./images/foto1.jpg') center/cover no-repeat;
  background-color: #2C2C2C;
  padding-top: var(--header-height);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 40px 20px;
}

.hero__badge {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero__urgency {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 12px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero__title span {
  color: var(--color-secondary);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
  line-height: 1.7;
  max-width: 520px;
}

.hero__price {
  font-size: 1.15rem;
  color: var(--color-white);
}

.hero__price strong {
  font-size: 1.3rem;
  color: var(--color-secondary);
}

/* ===================== FORM CARD ===================== */
.form-card {
  background: var(--color-white);
  padding: 32px 28px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.form-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 4px;
  color: var(--color-text);
}

.form-card__subtitle {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.15);
}

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

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.15);
}

.form-group select.error {
  border-color: var(--color-error);
}

.form-error {
  display: block;
  font-size: 0.8rem;
  color: var(--color-error);
  margin-top: 4px;
  min-height: 0;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-success);
  color: var(--color-white);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  animation: scaleIn 0.4s ease;
}

@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-success p {
  color: var(--color-text-light);
}

/* ===================== FEATURES ===================== */
.features {
  padding: var(--section-padding) 0;
  text-align: center;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: var(--color-white);
  padding: 32px 24px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--color-primary);
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--color-text);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ===================== AMENIDADES ===================== */
.amenities {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
}

.amenities__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.amenities__placeholder {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-border);
}

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

.amenities__list {
  margin: 24px 0 32px;
}

.amenities__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
}

.amenities__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ===================== GALERÍA / CARRUSEL ===================== */
.gallery {
  padding: var(--section-padding) 0;
  text-align: center;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  margin-top: 40px;
}

.carousel__track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--color-border);
  overflow: hidden;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}

.carousel__btn:hover {
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.carousel__btn svg {
  width: 20px;
  height: 20px;
}

.carousel__btn--prev {
  left: 12px;
}

.carousel__btn--next {
  right: 12px;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.3));
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.carousel__dot--active {
  background: var(--color-white);
  transform: scale(1.2);
}

/* ===================== TESTIMONIOS ===================== */
.testimonials {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
  text-align: center;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--color-white);
  padding: 32px 24px;
  border-radius: var(--border-radius-lg);
  text-align: left;
  border: 1px solid var(--color-border);
}

.testimonial-card__stars {
  color: var(--color-secondary);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card__text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial-card__author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-card__author span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ===================== UBICACIÓN ===================== */
.location {
  padding: var(--section-padding) 0;
  text-align: center;
}

.location__map {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--color-border);
  margin-bottom: 40px;
}

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

.location__map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.location__highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.location__item {
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
}

.location__item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.location__item span {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ===================== CONTACTO ===================== */
.contact {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact__info p {
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.contact__detail svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-primary);
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand .nav__logo-text {
  color: var(--color-white);
}

.footer__brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer__links h4,
.footer__contact h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer__links a {
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-secondary);
}

.footer__contact p {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
  font-size: 0.8rem;
  text-align: center;
}

.footer__bottom a {
  color: var(--color-secondary);
}

/* ===================== WHATSAPP FLOTANTE ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* ===================== DOLOR / CONTRASTE ===================== */
.pain-contrast {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
  text-align: center;
}

.pain-contrast__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pain-contrast__item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-white);
  padding: 24px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  text-align: left;
}

.pain-contrast__old {
  flex: 1;
  color: var(--color-text-light);
  text-decoration: line-through;
  font-size: 0.95rem;
}

.pain-contrast__arrow {
  font-size: 1.5rem;
  color: var(--color-accent);
  flex-shrink: 0;
  font-weight: 700;
}

.pain-contrast__new {
  flex: 1;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===================== POR QUE MARALTA ===================== */
.why-maralta {
  padding: var(--section-padding) 0;
  text-align: center;
}

.why-maralta__table {
  width: 100%;
  max-width: 800px;
  margin: 40px auto 0;
  border-collapse: collapse;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.why-maralta__table thead th {
  padding: 16px 24px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}

.why-maralta__table thead th:first-child {
  background: var(--color-bg-alt);
  color: var(--color-text-light);
}

.why-maralta__table thead th:last-child {
  background: var(--color-primary);
  color: var(--color-white);
}

.why-maralta__table tbody td {
  padding: 16px 24px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.why-maralta__table tbody td:first-child {
  color: var(--color-text-light);
  background: var(--color-white);
}

.why-maralta__table tbody td:last-child {
  color: var(--color-primary);
  font-weight: 600;
  background: rgba(27, 58, 92, 0.04);
}

/* ===================== PROMOCION / URGENCIA ===================== */
.promotion {
  padding: var(--section-padding) 0;
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
}

.promotion .section__badge {
  color: var(--color-secondary);
}

.promotion .section__title {
  color: var(--color-white);
}

.promotion__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 40px auto;
  max-width: 700px;
}

.promotion__card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 32px 24px;
  backdrop-filter: blur(4px);
}

.promotion__card-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.promotion__card-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.promotion__validity {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.promotion__countdown {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.promotion__countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.promotion__countdown-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-secondary);
}

.promotion__countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.promotion .btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 1.1rem;
  padding: 16px 40px;
}

.promotion .btn--primary:hover {
  background: var(--color-accent-dark);
}

/* ===================== FINANCIAMIENTO ===================== */
.financing {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
  text-align: center;
}

.financing__highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin: 40px 0;
}

.financing__highlight {
  text-align: center;
}

.financing__highlight-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
}

.financing__highlight-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.financing__no-bank {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 24px 0;
  letter-spacing: 1px;
}

.financing__copy {
  font-size: 1rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ===================== FOOTER SOCIAL ===================== */
.footer__social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.footer__social a:hover {
  background: var(--color-secondary);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 1.5;
}

/* ===================== ANIMACIONES ON SCROLL ===================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== RESPONSIVE — TABLET (768px+) ===================== */
@media (min-width: 768px) {
  .section__title {
    font-size: 2.5rem;
  }

  .hero__title {
    font-size: 3rem;
  }

  .hero__content {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    padding: 60px 20px;
  }

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

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

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

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

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

  .financing__highlights {
    gap: 48px;
  }

  .contact__layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer__layout {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ===================== RESPONSIVE — DESKTOP (1024px+) ===================== */
@media (min-width: 1024px) {
  :root {
    --section-padding: 100px;
  }

  .section__title {
    font-size: 2.8rem;
  }

  .hero__title {
    font-size: 3.5rem;
  }

  .hero__content {
    gap: 60px;
    padding: 80px 20px;
  }

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

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

  .carousel__slide {
    flex: 0 0 100%;
  }
}

/* ===================== MOBILE NAV ===================== */
@media (max-width: 767px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
    z-index: 1000;
  }

  .nav__menu.active {
    right: 0;
  }

  .nav__menu .nav__link {
    display: block;
    padding: 16px 0;
    color: var(--color-text);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* When menu is open, force dark toggle lines */
  .nav__toggle.active span {
    background: var(--color-text);
  }

  .hero__content {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .form-card {
    padding: 24px 20px;
  }
}
