:root {
  --primary: #C5A85C; /* Champán Dorado Premium */
  --primary-hover: #D7BE79;
  --dark: #0B0E14; /* Carbón/Gris profundo de lujo */
  --dark-accent: #151A24; /* Slate oscuro para secciones */
  --light-bg: #FAF8F4; /* Crema/Arena texturado */
  --white: #FFFFFF;
  --text-main: #1C2333;
  --text-muted: rgba(28, 35, 51, 0.65);
  --border-light: rgba(28, 35, 51, 0.08);
  --font-family: 'Jost', sans-serif;
  --font-serif: 'Cormorant Garamond', serif;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--light-bg); color: var(--text-main); font-family: var(--font-family); font-weight: 300; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: rgba(197, 168, 92, 0.25); color: var(--text-main); }
a { color: inherit; text-decoration: none; }
input, textarea, button { font-family: var(--font-family); }
section[id] { scroll-margin-top: 80px; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--light-bg);
}
::-webkit-scrollbar-thumb {
  background: #E5DFC9;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Base Animations */
@keyframes heroCopy { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 0.8; transform: scaleY(1); } }
@keyframes pulseGlow { 0% { box-shadow: 0 0 0 0 rgba(197, 168, 92, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(197, 168, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(197, 168, 92, 0); } }

/* Button Styles */
.btn-gold {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid rgba(197, 168, 92, 0.4);
  padding: 16px 36px;
  transition: var(--transition-smooth);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-gold::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: rgba(197, 168, 92, 0.08);
  transform: translate(-50%, -50%) scale(0);
  transition: var(--transition-smooth);
  border-radius: 50%;
}
.btn-gold:hover {
  border-color: var(--primary);
  color: var(--white);
  background: var(--primary);
}
.btn-gold:hover::before {
  transform: translate(-50%, -50%) scale(1);
  border-radius: 0;
  background: transparent;
}

.btn-white {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 16px 36px;
  transition: var(--transition-smooth);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-white:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

/* Header & Nav */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
}
#main-nav.scrolled {
  padding: 12px 48px;
  background: rgba(255, 255, 255, 0.97);
}

.logo-img {
  display: block;
  width: 112px;
  height: 54px;
  object-fit: contain;
  background: var(--white);
  border-radius: 2px;
}

.nav-links-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-main);
  font-weight: 400;
  opacity: 0.7;
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}
.nav-link:hover {
  opacity: 1;
  color: var(--primary);
}
.nav-link:hover::after {
  width: 100%;
}

.nav-wa-btn {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
  border: 1px solid rgba(197, 168, 92, 0.4);
  background: transparent;
  padding: 9px 24px;
  transition: var(--transition-smooth);
}
.nav-wa-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.hamburger-line {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-main);
  transition: var(--transition-smooth);
}

/* Mobile menu */
#mobile-menu {
  position: fixed;
  top: 94px;
  left: 0;
  right: 0;
  z-index: 190;
  background: rgba(250, 248, 244, 0.98);
  backdrop-filter: blur(20px);
  padding: 32px 24px 40px;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  
  /* Deployment Animation */
  opacity: 0;
  transform: translateY(-16px);
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}
#mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
#main-nav.scrolled ~ #mobile-menu {
  top: 78px;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.mobile-nav-link {
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
  font-weight: 400;
  opacity: 0.75;
}
.mobile-wa-divider {
  height: 1px;
  background: var(--border-light);
}
.mobile-wa-link {
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-media-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-video {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center top;
  transform: translateY(-6%);
  display: block;
}
.hero-img-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 14, 20, 0.35) 0%, rgba(11, 14, 20, 0.25) 50%, rgba(11, 14, 20, 0.85) 100%);
  pointer-events: none;
}
.hero-border-line {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: rgba(197,168,92,0.12);
}
.hero-side-badge {
  position: absolute;
  top: 40px;
  right: 56px;
  font-size: 8px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero-pad {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 0 56px 64px;
}
.hero-text-container {
  max-width: 720px;
}
.hero-brand {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  opacity: 0;
  animation: heroCopy 0.9s ease 0.3s forwards;
}
.hero-title {
  font-weight: 300;
  font-size: clamp(34px, 4.8vw, 58px);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: heroCopy 1s ease 0.5s forwards;
}
.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--primary);
  margin: 20px 0;
  transform-origin: left center;
  transform: scaleX(0);
  animation: heroLine 0.7s ease 0.88s forwards;
}
.hero-description {
  font-weight: 300;
  font-size: clamp(14px, 1.2vw, 17px);
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
  max-width: 480px;
  opacity: 0;
  animation: heroCopy 0.9s ease 1.05s forwards;
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 36px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroCopy 0.9s ease 1.2s forwards;
}
.hero-phone {
  margin-top: 32px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  opacity: 0;
  animation: heroCopy 0.9s ease 1.38s forwards;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: heroCopy 0.9s ease 1.6s forwards;
}
.hero-scroll-text {
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  animation: scrollPulse 2.2s ease-in-out infinite;
  transform-origin: top;
}

/* Sobre Mí Section */
#sobre-mi {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 600px;
  background: radial-gradient(circle at 15% 50%, #FFFFFF 0%, #F4EFE6 85%);
  border-bottom: 1px solid var(--border-light);
  align-items: center;
  position: relative;
  overflow: hidden;
}
#sobre-mi::after {
  content: 'PG HOMES';
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-family: var(--font-serif);
  font-size: 15vw;
  font-weight: 600;
  color: rgba(197, 168, 92, 0.08); /* Increased opacity to make it visible */
  pointer-events: none;
  letter-spacing: 0.12em;
  z-index: 0;
  user-select: none;
}
#about-img-wrap {
  padding: 60px 40px 60px 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  position: relative;
  z-index: 1;
}
.about-img-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
}
.about-img-frame::before {
  content: '';
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  z-index: 1;
  pointer-events: none;
  transition: var(--transition-smooth);
}
.about-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
  display: block;
}
.about-img-frame:hover .about-img {
  transform: translate(-8px, -8px);
  box-shadow: -8px 28px 48px rgba(197, 168, 92, 0.15);
}
.about-img-frame:hover::before {
  transform: translate(8px, 8px);
  border-color: var(--primary-hover);
}
#about-content {
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.about-badge {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  position: relative;
  display: inline-block;
}
.about-title-line {
  width: 32px;
  height: 1px;
  background: var(--primary);
  opacity: 0.5;
  margin: 12px 0 24px 0;
}
.about-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(42px, 4.8vw, 62px); /* Larger size */
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-style: italic; /* Elegant signature style */
}
.about-text {
  font-weight: 300;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 2;
  margin-top: 28px;
  max-width: 480px;
  text-wrap: pretty;
}
.about-stats-row {
  display: flex;
  gap: 20px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--border-light);
}
.about-stat-col {
  flex: 1;
  background: rgba(255, 255, 255, 0.85); /* More solid background */
  border: 1px solid rgba(197, 168, 92, 0.15); /* Stronger gold border */
  padding: 18px 24px;
  border-radius: 8px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-stat-col:hover {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(197, 168, 92, 0.12); /* Richer gold hover glow */
  transform: translateY(-5px);
}
.about-stat-val {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition-smooth);
}
.about-stat-col:hover .about-stat-val {
  color: var(--primary);
}
.about-stat-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-main);
  opacity: 0.45;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.about-stat-label::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}
.about-stat-divider {
  display: none;
}
.about-contact-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 44px;
}
.about-wa-link {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  border-bottom: 1px solid rgba(197, 168, 92, 0.3);
  padding-bottom: 6px;
  transition: var(--transition-smooth);
}
.about-wa-link:hover {
  border-color: var(--primary);
  color: var(--primary-hover);
  padding-left: 8px;
}
.about-phone {
  font-size: 14px;
  color: var(--text-main);
  opacity: 0.4;
  letter-spacing: 0.05em;
}

/* Servicios Section */
#servicios {
  background: #EDE8DF;
  border-bottom: 1px solid var(--border-light);
}
#servicios-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 112px 52px;
}
.section-header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 60px;
}
.section-badge {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
  white-space: nowrap;
}
.section-header-line {
  flex: 1;
  height: 1px;
  background: rgba(197, 168, 92, 0.2);
}
.section-title {
  font-weight: 300;
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 60px;
  letter-spacing: -0.01em;
  max-width: 480px;
}
.section-title em {
  font-style: normal;
  font-weight: 400;
  color: var(--primary);
}

.srvc-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr;
  gap: 20px 48px;
  align-items: start;
  padding: 44px 0;
  border-top: 1px solid rgba(28,35,51,0.1);
  transition: var(--transition-smooth);
}
.srvc-row:hover {
  background: rgba(250, 248, 244, 0.4);
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 4px;
}
.srvc-row.last {
  border-bottom: 1px solid rgba(28,35,51,0.1);
}
.srvc-num {
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--primary);
  padding-top: 4px;
  font-weight: 400;
}
.srvc-title {
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  color: var(--text-main);
  line-height: 1.2;
}
.srvc-desc-text {
  font-weight: 300;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  text-wrap: pretty;
}
.srvc-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 1px solid rgba(197, 168, 92, 0.25);
  padding-bottom: 3px;
  transition: var(--transition-smooth);
}
.srvc-link:hover {
  border-color: var(--primary);
  color: var(--primary-hover);
}

/* Propiedades / Portafolio Section */
#propiedades {
  background: var(--light-bg);
  border-bottom: 1px solid var(--border-light);
}
#propiedades-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 112px 52px;
}
.prop-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 40px;
  flex-wrap: wrap;
}
.prop-header-title {
  font-weight: 300;
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.prop-header-desc {
  font-weight: 300;
  font-size: 14px;
  color: var(--text-main);
  opacity: 0.5;
  line-height: 1.85;
  max-width: 280px;
  text-align: right;
  text-wrap: pretty;
}
/* ── Properties Carousel ──────────────────────────────────────────────── */
#props-carousel {
  position: relative;
  margin-top: 40px;
}
#carousel-viewport {
  overflow: hidden;
  border-radius: 6px;
}
#carousel-track {
  display: flex;
  align-items: stretch;
  will-change: transform;
}
.carousel-card {
  flex-shrink: 0;
  box-sizing: border-box;
  padding-right: 28px;
}
.carousel-card:last-child {
  padding-right: 0;
}
#carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.carousel-arrow {
  background: transparent;
  border: 1px solid rgba(28, 35, 51, 0.18);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 18px;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  flex-shrink: 0;
}
.carousel-arrow:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(197, 168, 92, 0.06);
}
.carousel-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}
#carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(28, 35, 51, 0.18);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.carousel-dot--active {
  background: var(--primary);
  transform: scale(1.35);
}

.prop-card {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}
.prop-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  border-color: rgba(197, 168, 92, 0.2);
}
.prop-img-wrap {
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #EDE8DF;
  position: relative;
}
.prop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.prop-card:hover .prop-img {
  transform: scale(1.06);
}
.prop-card-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.prop-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.prop-location {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-main);
  opacity: 0.45;
}
.prop-badge {
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid rgba(197, 168, 92, 0.35);
  padding: 3px 8px;
  border-radius: 2px;
  font-weight: 500;
}
.prop-title {
  font-weight: 400;
  font-size: 21px;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 16px;
  min-height: 52px;
}
.prop-specs {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--text-main);
  opacity: 0.5;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  margin-top: auto;
}
.prop-specs-divider {
  opacity: 0.35;
}
.prop-link {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-main);
  border-bottom: 1px solid var(--text-main);
  padding-bottom: 3px;
  transition: var(--transition-smooth);
  align-self: flex-start;
}
.prop-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* Contacto Section */
#contacto {
  background: var(--dark);
}
#contacto-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 112px 52px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 96px;
  align-items: start;
}
.contact-badge {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 24px;
}
.contact-title {
  font-weight: 300;
  font-size: clamp(32px, 3.8vw, 52px);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.contact-subtitle {
  font-weight: 300;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.85;
  margin-bottom: 56px;
  font-style: italic;
}
.contact-info-block {
  margin-bottom: 36px;
}
.contact-info-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 10px;
}
.contact-info-val {
  font-size: 32px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  display: block;
  letter-spacing: 0.03em;
  transition: var(--transition-smooth);
}
.contact-info-val:hover {
  color: var(--white);
}

.contact-form {
  display: flex;
  flex-direction: column;
}
.form-field-floating {
  position: relative;
  margin-bottom: 40px;
}
.floating-input {
  width: 100%;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: var(--white) !important;
  font-size: 16px;
  font-weight: 300;
  padding: 12px 0;
  outline: none;
  border-radius: 0 !important;
  transition: border-color 0.4s ease;
  caret-color: var(--primary);
}
.floating-label {
  position: absolute;
  top: 12px;
  left: 0;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  font-size: 15px;
  font-weight: 300;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  letter-spacing: 0.05em;
}
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
  top: -12px;
  font-size: 10px;
  color: var(--primary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.input-highlight {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateX(-50%);
}
.floating-input:focus ~ .input-highlight {
  width: 100%;
}
.floating-input:invalid:user-invalid {
  border-bottom-color: #ff4d4d !important;
}
.floating-input:invalid:user-invalid ~ .floating-label {
  color: #ff4d4d;
}
.floating-input:invalid:user-invalid ~ .input-highlight {
  background: #ff4d4d;
}
.form-submit-btn {
  background: var(--primary);
  color: var(--dark);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 16px 44px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  align-self: flex-start;
  border-radius: 2px;
}
.form-submit-btn:hover {
  background: #BEA64E;
}
.form-success-wrapper {
  display: none;
  padding: 48px 0;
}
.form-success-title {
  font-size: 38px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}
.form-success-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.9;
}

/* Floating Contact Widget */
.floating-contact {
  position: fixed;
  bottom: 36px;
  right: 36px; /* Moved to the right */
  z-index: 180;
  width: 52px;
  height: 52px;
  background: var(--primary); /* Gold background */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(197, 168, 92, 0.3); /* Gold shadow */
  cursor: pointer;
  transition: var(--transition-smooth);
  animation: pulseGlow 2s infinite;
}
.floating-contact:hover {
  transform: scale(1.1) translateY(-4px);
  background: var(--primary-hover);
  box-shadow: 0 12px 30px rgba(197, 168, 92, 0.45);
}
.floating-contact svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
}

/* Footer */
.main-footer {
  background: #06080C;
  padding: 44px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}
.footer-logo-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-logo-img {
  width: 112px;
  height: 54px;
  object-fit: contain;
  filter: invert(1) grayscale(1) brightness(1.2);
  mix-blend-mode: screen;
}
.footer-logo-subtitle {
  font-size: 8px;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 500;
}
.footer-copyright {
  font-size: 11px;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.25);
}
.footer-phone {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  transition: var(--transition-smooth);
}
.footer-phone:hover {
  color: rgba(197, 168, 92, 0.8);
}

/* Responsive adjustments */
@media (max-width: 960px) {
  #main-nav {
    padding: 14px 24px !important;
  }
  .nav-links-container {
    display: none !important;
  }
  .hamburger-btn {
    display: flex !important;
  }
  #mobile-menu {
    top: 82px !important;
  }
  #sobre-mi {
    display: block !important;
    min-height: auto !important;
  }
  #about-img-wrap {
    min-height: 60vw !important;
    max-height: 480px !important;
    padding: 48px 24px !important;
  }
  #about-content {
    padding: 48px 24px !important;
  }
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 56px !important;
  }
}

@media (max-width: 640px) {
  .hero-pad {
    padding: 0 24px 72px !important;
  }
  .hero-title br {
    display: none;
  }
  .about-stats-row {
    flex-direction: column !important;
    gap: 16px !important;
  }
  #servicios-inner, #propiedades-inner, #contacto-inner {
    padding: 80px 24px !important;
  }
  .srvc-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .srvc-row > div {
    width: 100% !important;
  }
  .floating-contact {
    bottom: 24px;
    right: 24px; /* Repositioned on mobile */
  }
}

@media (max-width: 360px) {
  .about-img-frame {
    max-width: 260px !important;
  }
}

/* ═══ HOVER MICRO-ANIMATIONS ═══ */
.srvc-row {
  padding: 44px 20px;
  margin: 0 -20px;
  border-radius: 6px;
  transition: var(--transition-smooth);
}
.srvc-row:hover {
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.02);
  transform: translateY(-2px);
}
.srvc-row:hover .srvc-num {
  color: var(--primary-hover);
  font-weight: 500;
}

.prop-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(197, 168, 92, 0.06), 0 1px 3px rgba(0,0,0,0.01);
  border-color: rgba(197, 168, 92, 0.3);
}
.prop-card:hover .prop-title {
  color: var(--primary);
}

/* ═══ SCROLL-DRIVEN ANIMATIONS ═══ */

/* 1. Header Transition on Scroll */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @keyframes shrink-nav {
    to {
      padding: 12px 48px;
    }
  }

  #main-nav {
    animation: shrink-nav auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0px 100px;
  }
}

/* 2. Scroll-Reveal View Timeline Animations */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-up {
      from {
        opacity: 0;
        transform: translateY(32px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    @keyframes reveal-left {
      from {
        opacity: 0;
        transform: translateX(-32px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }
    @keyframes reveal-right {
      from {
        opacity: 0;
        transform: translateX(32px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }
    @keyframes reveal-scale {
      from {
        opacity: 0;
        transform: scale(0.95);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    [data-anim] {
      animation: reveal-up auto linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 45%;
    }

    #about-img-wrap {
      animation: reveal-left auto linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 40%;
    }
    #about-content {
      animation: reveal-right auto linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 40%;
    }
    
    .srvc-row {
      animation: reveal-up auto linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 35%;
    }
    
    .prop-card {
      animation: reveal-scale auto linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 35%;
    }
  }
}

/* 3. Hero Parallax and Text Fade on Scroll */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @keyframes hero-parallax {
    to {
      transform: translateY(200px);
      opacity: 0;
    }
  }
  .hero-text-container {
    animation: hero-parallax auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0vh 70vh;
  }
}
