/* =============================================
   LUJO.CSS - Refactorizado
   Paleta Andrade Inmuebles Internacional
   ============================================= */

/* =============================================
   1. VARIABLES (:root)
   ============================================= */
:root {
  --black: #050505;
  --white: #ffffff;
  --gold: #C9A14A;
  --gold-light: #DFBD70;
  --dark-gray: #2c2c2c;
  --medium-gray: #666666;
  --light-gray: #999999;
  --very-light-gray: #f5f5f5;
  --gray-deep: #2c2c2c;
  --gray-medium: #777777;
  --gray-light: #f5f5f5;
  --accent: #007bff;
  --whatsapp: #25D366;
}

/* =============================================
   2. RESET & BASE
   ============================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background: var(--white);
  overflow-x: hidden;
}

/* =============================================
   3. LAYOUT
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  scroll-margin-top: 80px;
}

/* =============================================
   4. TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--black);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  font-weight: 200;
  letter-spacing: -0.05em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 300;
}

h3 {
  font-size: 1.8rem;
  font-weight: 400;
}

h4 {
  font-size: 1.2rem;
  font-weight: 500;
}

p {
  margin-bottom: 1.5rem;
  color: var(--medium-gray);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
}

/* =============================================
   5. HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--very-light-gray);
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  animation: floatLogo 4s ease-in-out infinite;
}

.nav__logo h2 {
  color: var(--black);
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.logo-img {
  height: 73px;
  width: auto;
  object-fit: contain;
  margin: 0;
  display: block;
  flex-shrink: 0;
}

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

.logo__main {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #b7950b, #ffd700, #c9a14a, #b7950b);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShine 4s linear infinite;
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo__sub {
  margin: 0;
  font-size: 0.7rem;    /* Más pequeño para elegancia */
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 5px;  /* Mucho espacio entre letras (estilo lujo) */
  text-transform: uppercase;
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav__link {
  position: relative;
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 300;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1px;
  width: 0;
  background: var(--black);
  transition: width 0.25s ease;
}

.nav__link:hover {
  color: var(--black);
}

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

.nav__toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav__toggle span {
  width: 25px;
  height: 1px;
  background: var(--black);
  margin: 4px 0;
  transition: 0.3s;
}

/* =============================================
   6. HERO
   ============================================= */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: var(--white);
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.6)),
  /*  url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920') center/cover no-repeat;*/
  url('img_pw/portada/portada.jpg') center/cover no-repeat;

}

.hero__overlay {
  display: none;
}

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
  padding: 20px;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

.hero__title {
  font-size: 3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.hero__subtitle {
  font-size: 1.2rem;
  color: #f0f0f0;
  font-weight: 300;
  margin-bottom: 2rem;
  font-style: italic;
}

.hero__description {
  font-size: 1rem;
  color: #ddd;
  margin-bottom: 3rem;
  line-height: 1.8;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero__buttons {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* =============================================
   7. BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border: 1px solid var(--black);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: transparent;
  color: var(--black);
}

.btn:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

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

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

.btn--small {
  padding: 12px 24px;
  font-size: 0.8rem;
}

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

.btn--full:hover {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
}

.btn--contact {
  background: var(--black);
  color: var(--white) !important;
  border: 1px solid var(--gold);
  padding: 18px 45px !important;
  font-weight: 600;
  letter-spacing: 3px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.btn--contact {
  background: var(--gold) !important; /* Dorado desde el inicio */
  color: var(--black) !important;    /* Texto negro para contraste */
  border: none;
  padding: 18px 45px !important;
  font-weight: 700;
  letter-spacing: 2px;
  box-shadow: 0 10px 20px rgba(201, 161, 74, 0.3); /* Sombra dorada */
  transition: all 0.3s ease;
}

.btn--contact:hover {
  background: var(--black) !important; /* Cambia a negro al pasar el mouse */
  color: var(--gold) !important;       /* Texto dorado al pasar el mouse */
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn--outline {
  border: 2px solid var(--gold);
  color: var(--black);
}

.btn--whatsapp {
  background: var(--whatsapp);
  border: none;
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.btn--whatsapp:hover {
  background: #1fb15a;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
  transform: translateY(-2px);
}

.btn--learn-more {
  position: relative;
  overflow: hidden;
  border: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: subtleFloat 3s ease-in-out infinite;
  color: var(--black) !important;
  font-weight: 500;
}

.btn--learn-more::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: var(--black);
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--learn-more:hover::after {
  left: 0;
}

.btn--learn-more:hover {
  animation: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  color: var(--black) !important;
}

/* =============================================
   8. SECTION STYLES
   ============================================= */
.section__header {
  text-align: center;
  margin-bottom: 6rem;
}

.section__title {
  color: var(--black);
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
  position: relative;
}

.section__title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--gold);
  display: block;
  margin: 1rem auto 0;
}

.section__subtitle {
  font-size: 1rem;
  color: var(--medium-gray);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  text-align: center;
}

/* =============================================
   9. SERVICES
   ============================================= */
.services {
  padding: 120px 0;
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
}

.service__card {
  text-align: left;
  padding: 0;
  background: transparent;
  border: none;
}

.service__card h3 {
  color: var(--black);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 400;
}

.service__card:hover h3 {
  transform: translateY(-2px);
  transition: transform 0.25s ease;
}

.service__card p {
  color: var(--medium-gray);
  line-height: 1.7;
  font-size: 0.95rem;
  font-weight: 300;
}

/* =============================================
   10. ABOUT
   ============================================= */
.about {
  padding: 120px 0;
  background: var(--very-light-gray);
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about__text {
  margin-bottom: 3rem;
}

.about__text p,
.about__content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-weight: 300;
}

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

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 0;
  background: transparent;
  border: none;
}

.feature__content h4 {
  color: var(--black);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
}

.feature__content p {
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin: 0;
  font-weight: 300;
}

.about__image {
  position: relative;
}

.about__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: grayscale(100%);
  border-radius: 12px;
  transition: all 0.6s ease;
}

.about__image img:hover {
  filter: grayscale(0%);
}

/* =============================================
   11. PROPERTIES
   ============================================= */
.properties {
  padding: 120px 0;
  background: var(--white);
}

.properties__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 4rem;
}

.properties__carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2rem;
  scrollbar-width: none;
  position: relative;
  animation: fadeInCarousel 1.2s ease-out forwards;
}

.properties__carousel::-webkit-scrollbar {
  display: none;
}

.property__card {
  flex: 0 0 350px;
  background: transparent;
  border: none;
  overflow: visible;
  box-shadow: none;
  scroll-snap-align: start;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.6s ease, filter 0.5s ease;
  transform-origin: center;
  position: relative;
}

.property__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  background-color: #f9f9f9;
}

.property__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) brightness(0.8);
  transition: all 0.5s ease;
}

.property__card:hover .property__image img {
  filter: grayscale(0%) brightness(1.1);
  transform: scale(1.05);
}

.property__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.25) 70%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-100%);
  transition: transform 1.2s ease;
}

.property__image:hover::after {
  transform: translateX(100%);
}

.property__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--black);
  color: var(--white);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.property__content {
  padding: 0;
  margin-top: 1.2rem;
  text-align: left;
}

.property__content h3 {
  color: var(--black);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.property__card:hover .property__content h3 {
  color: var(--accent);
}

.property__location {
  color: var(--medium-gray);
  font-weight: 300;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.property__description {
  color: var(--medium-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.9rem;
  font-weight: 300;
}

.property__features {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.property__features span {
  background: transparent;
  color: var(--medium-gray);
  padding: 4px 0;
  font-size: 0.8rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--very-light-gray);
}

.property__price {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--black);
  border-top: 1px solid var(--gray-light);
  padding-top: 1rem;
}

.property__btn-whatsapp {
  width: 100%;
  margin-top: 15px;
  font-size: 0.8rem;
  text-align: center;
  text-decoration: none;
}

/* =============================================
   12. TESTIMONIALS
   ============================================= */
.testimonials {
  padding: 120px 0;
  background: var(--very-light-gray);
}

.testimonials .section__title,
.testimonials .section__subtitle {
  color: var(--black);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
}

.testimonial__card {
  background: transparent;
  padding: 0;
  border: none;
  position: relative;
}

.testimonial__content p {
  font-style: italic;
  color: var(--dark-gray);
  margin-bottom: 2rem;
  line-height: 1.7;
  font-size: 1rem;
  font-weight: 300;
}

.testimonial__author h4 {
  color: var(--black);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
}

.testimonial__author span {
  color: var(--medium-gray);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

/* =============================================
   13. SOLD (Propiedades vendidas)
   ============================================= */
.sold {
  padding: 120px 0;
  background: var(--very-light-gray);
}

.sold__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3.5rem;
}

.sold__card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--very-light-gray);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.sold__card:hover {
  transform: translateY(-4px);
}

.sold__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #f9f9f9;
}

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

.sold__badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--black);
  color: var(--white);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 4px;
  letter-spacing: 1px;
}

.sold__content {
  padding: 1.5rem;
}

.sold__location {
  font-size: 0.9rem;
  color: var(--medium-gray);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sold__date {
  font-size: 0.85rem;
  color: var(--light-gray);
  font-style: italic;
}

/* =============================================
   14. TRUST
   ============================================= */
.trust {
  background: #fafafa;
  padding: 100px 20px;
  text-align: center;
}

.trust__text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--dark-gray);
  font-weight: 300;
}

/* =============================================
   15. CONTACT
   ============================================= */
.contact {
  padding: 120px 0;
  background: var(--very-light-gray);
  text-align: center;
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.contact__details {
  margin-top: 0;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.contact__content h4 {
  color: var(--black);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
}

.contact__content p {
  color: var(--medium-gray);
  margin: 0;
  font-size: 0.9rem;
  font-weight: 300;
}

.contact__subtitle {
  color: var(--light-gray);
  font-size: 0.8rem;
  font-style: italic;
  margin-top: 0.25rem;
  font-weight: 300;
}

.contact__title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--black);
}

.contact__disclaimer {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--medium-gray);
  font-style: italic;
}

/* Form Styles */
.form__header {
  text-align: left;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--very-light-gray);
}

.form__header h3 {
  color: var(--black);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 400;
}

.form__header p {
  color: var(--medium-gray);
  margin: 0;
  font-size: 0.9rem;
  font-weight: 300;
}

.form {
  
  background: var(--white);
  padding: 3rem;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  position: relative;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form__group {
  margin-bottom: 2rem;
}

.form__group label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--black);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  border-bottom: 2px solid #d0d0d0;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  background: #fafafa;
  color: var(--black);
}

.form__group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-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='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 36px;
  cursor: pointer;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--gold);
  border-bottom-color: var(--black);
  background: #fff;
}

.form__group textarea {
  resize: vertical;
  min-height: 100px;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.form__checkbox input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.form__checkbox label {
  font-size: 0.8rem;
  color: var(--medium-gray);
  line-height: 1.5;
  margin: 0;
  font-weight: 300;
}

.privacy__link {
  color: var(--black);
  text-decoration: none;
  font-weight: 400;
}

.privacy__link:hover {
  text-decoration: underline;
}

/* =============================================
   16. FOOTER
   ============================================= */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 4rem 0 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__section h3,
.footer__section h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 400;
}

.footer__section p,
.footer p {
  color: var(--light-gray);
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  font-weight: 300;
}

.footer__section ul {
  list-style: none;
}

.footer__section ul li {
  margin-bottom: 0.8rem;
}

.footer__section ul li a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
  font-weight: 300;
}

.footer__section ul li a:hover {
  color: var(--white);
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--medium-gray);
  color: var(--light-gray);
  font-size: 0.8rem;
  font-weight: 300;
}

/* =============================================
   17. WHATSAPP FLOAT
   ============================================= */
   .whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: transform 0.3s ease;
  }
  
  .whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
  }
  
  .whatsapp-icon {
    width: 35px;
  }

/* =============================================
   18. ANIMATIONS & KEYFRAMES
   ============================================= */
@keyframes goldShine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6), 0 10px 40px rgba(16, 185, 129, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.9), 0 15px 60px rgba(16, 185, 129, 0.7), inset 0 0 30px rgba(255, 255, 255, 0.3);
  }
}

@keyframes bounce-soft {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}

@keyframes shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; filter: blur(10px); }
  50% { opacity: 1; filter: blur(15px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

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

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

@keyframes cardEntrance {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@keyframes subtleGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.1); }
  50% { box-shadow: 0 0 40px rgba(255, 255, 255, 0.3); }
}

@keyframes subtleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* =============================================
   19. DATA-ANIMATE (scroll animations)
   ============================================= */
[data-animate] {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate~="fade"] { animation: fadeIn 0.8s ease-out both; }
[data-animate~="fade-up"] { animation: fadeUp 0.8s ease-out both; }
[data-animate~="slide-left"] { animation: slideLeft 0.8s ease-out both; }
[data-animate~="slide-right"] { animation: slideRight 0.8s ease-out both; }
[data-animate~="zoom-in"] { animation: zoomIn 0.7s ease-out both; }

[data-animate]:not([data-animate*="-"]) {
  animation: fadeUp 0.8s ease-out both;
}

.services.visible .services__grid > *,
.about.visible .about__container > *,
.properties.visible .properties__grid > *,
.testimonials.visible .testimonials__grid > *,
.contact.visible .contact__container > * {
  opacity: 0;
  transform: translateY(18px);
}

.services.visible .services__grid > * { transition: opacity 0.6s ease, transform 0.6s ease; }
.services.visible .services__grid > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.services.visible .services__grid > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: none; }
.services.visible .services__grid > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: none; }

.properties.visible .properties__grid > * { transition: opacity 0.6s ease, transform 0.6s ease; }
.properties.visible .properties__grid > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.properties.visible .properties__grid > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: none; }
.properties.visible .properties__grid > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: none; }
.properties.visible .properties__grid > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: none; }

.testimonials.visible .testimonials__grid > * { transition: opacity 0.6s ease, transform 0.6s ease; }
.testimonials.visible .testimonials__grid > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.testimonials.visible .testimonials__grid > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: none; }
.testimonials.visible .testimonials__grid > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: none; }

.contact.visible .contact__container > * { transition: opacity 0.6s ease, transform 0.6s ease; }
.contact.visible .contact__container > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.contact.visible .contact__container > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: none; }

/* =============================================
   20. UTILITIES
   ============================================= */
::-webkit-scrollbar {
  width: 1px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--black);
}

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

/* =============================================
   21. MEDIA QUERIES (Responsive)
   ============================================= */
@media (max-width: 768px) {
  .container,
  .nav__container {
    padding: 0 20px;
  }

  .nav__menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding-top: 3rem;
    transition: left 0.3s ease;
  }

  .nav__menu--active {
    left: 0;
  }

  .nav__toggle {
    display: flex;
  }

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

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

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

  .hero__container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero__content {
    text-align: center;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .hero__title {
    font-size: 2.5rem;
    text-align: center;
  }

  .hero__subtitle {
    font-size: 1rem;
    text-align: center;
  }

  .hero__description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero__buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero__buttons .btn--contact {
    width: 90%;
    max-width: 350px;
    padding: 18px 40px !important;
    font-size: 1.1rem !important;
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .contact__container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

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

  .services__grid,
  .properties__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .section__title {
    font-size: 2rem;
  }

  .logo-img {
    height: 73px;
  }
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-icon {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 480px) {
  .hero__container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero__content {
    text-align: center;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
  }

  .hero__title {
    font-size: 2rem;
    text-align: center;
  }

  .hero__subtitle {
    text-align: center;
  }

  .hero__description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__buttons {
    align-items: center;
    justify-content: center;
  }

  .hero__buttons .btn--contact {
    width: 90%;
    max-width: 100%;
    padding: 16px 30px !important;
    font-size: 1rem !important;
  }

  .section__title {
    font-size: 1.8rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.8rem;
  }
}
/* Layout del formulario en dos columnas */
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Divide en 2 */
  gap: 20px;
  margin-bottom: 15px;
}

/* En móvil, que se ponga una debajo de la otra automáticamente */
@media (max-width: 768px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

/* Estilo para los textos encima de los cuadros */
.form__group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form__group input, 
.form__group select, 
.form__group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--gray-light);
  background-color: #fcfcfc;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s ease;
}

.form__group input:focus, 
.form__group select:focus {
  border-color: var(--gold);
  outline: none;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Dos columnas */
  gap: 20px;
}

@media (max-width: 600px) {
  .form__row {
    grid-template-columns: 1fr; /* En móvil vuelve a una columna */
  }
}

.form__group select {
  cursor: pointer;
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  height: 55px; /* Altura uniforme */
}

/* =============================================
   FORMULARIO: SECCIONES, ICONOS Y USABILIDAD
   ============================================= */

/* Iconos sutiles en labels (sin dependencias externas) */
.form__group label i[class^="icon-"] {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 8px;
  opacity: 0.85;
  font-style: normal;
  vertical-align: -0.15em;
}
.icon-user::before   { content: "👤"; }
.icon-mail::before  { content: "✉"; }
.icon-home::before  { content: "🏠"; }
.icon-wallet::before { content: "💰"; }
.icon-message::before { content: "💬"; }

/* Títulos de sección dentro del formulario */
.form__section-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 25px 0 15px 0;
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 5px;
  grid-column: 1 / -1;
}

.form__section-title:first-child {
  margin-top: 0;
}

/* Etiquetas más pequeñas y elegantes */
.form__group label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--dark-gray);
  text-transform: none;
}

/* Campos de entrada más limpios */
.form__group input,
.form__group select,
.form__group textarea {
  border: 1px solid #e0e0e0;
  border-bottom: 2px solid #e0e0e0;
  background: #fafafa;
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

/* Efecto de enfoque: borde inferior dorado */
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  background: #ffffff;
  border-color: var(--gold);
  border-bottom-color: var(--gold);
  box-shadow: 0 4px 12px rgba(201, 161, 74, 0.1);
  outline: none;
}

/* Botón principal del formulario */
.form .btn--full {
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.form .btn--full::after {
  content: ' →';
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form .btn--full:hover::after {
  opacity: 1;
  padding-left: 10px;
}

.hero__top-img {
  display: block;
  margin: 0 auto 2rem auto; /* Centra horizontalmente y da espacio abajo */
  max-width: 150px;           /* Controla el ancho de la imagen */
  height: auto;               /* Mantiene la proporción */
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1)); /* Sombra suave para que resalte */
  animation: fadeIn 1.5s ease; /* Aparece suavemente */
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}