/* ============================================
   CP GROUP INTERNATIONAL - PROFESSIONAL CSS
   ============================================ */

/* CSS Variables */
:root {
  --primary: #0a1f3f;
  --primary-light: #1a3a5c;
  --accent: #c8a45e;
  --accent-light: #d4b76e;
  --accent-dark: #b8924a;
  --dark: #0a0a0a;
  --gray-900: #1a1a1a;
  --gray-800: #2d2d2d;
  --gray-700: #404040;
  --gray-600: #555555;
  --gray-500: #6b6b6b;
  --gray-400: #8a8a8a;
  --gray-300: #b0b0b0;
  --gray-200: #d4d4d4;
  --gray-100: #ececec;
  --gray-50: #f7f7f7;
  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section */
.section {
  padding: 100px 0;
}

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

/* Section Header */
.section-header {
  margin-bottom: 60px;
}

.section-header-center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-tag i {
  font-size: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 20px;
}

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

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: none;
  letter-spacing: 0.3px;
}

.btn i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(4px);
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 164, 94, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

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

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

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

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

.loader-bar {
  width: 120px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar-inner {
  width: 0;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  animation: loading 1.5s ease-in-out forwards;
}

@keyframes loading {
  0% { width: 0; }
  100% { width: 100%; }
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  padding: 20px 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 31, 63, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-cp {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.logo-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.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);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* 🔥 Desplaza todo el contenido hacia abajo para no pegarlo al navbar */
  padding-top: 100px;
  padding-bottom: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 31, 63, 0.92) 0%,
    rgba(10, 31, 63, 0.85) 50%,
    rgba(10, 31, 63, 0.94) 100%
  );
}

.hero-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-content {
  text-align: center;
  width: 100%;
  margin-bottom: 36px;
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 28px;
  background: linear-gradient(135deg, #c8a45e 0%, #d4b76e 100%);
  border-radius: 50px;
  margin-bottom: 24px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35), 0 0 50px rgba(200, 164, 94, 0.2);
  position: relative;
  z-index: 4;
}

.badge-line {
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.hero-badge span {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 18px;
}

.title-line {
  display: block;
  color: var(--white);
}

.title-line.accent {
  color: var(--accent);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 22px 44px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  width: fit-content;
  max-width: 90vw;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;          /* 🔥 Bajada el doble (antes 20px) */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 60px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  color: var(--white);
  font-size: 0.8rem;
}

.hero-scroll a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 250px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--white);
}

.about-img-secondary img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--accent);
  color: var(--white);
  padding: 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.exp-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.exp-text {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}

.about-content {
  padding-left: 20px;
}

.about-content .section-header {
  margin-bottom: 30px;
}

.about-text {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--gray-600);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-item i {
  font-size: 1.3rem;
  color: var(--accent);
  margin-top: 2px;
}

.feature-item h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.service-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.service-card:hover .service-icon {
  transform: rotateY(180deg);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link:hover {
  gap: 12px;
}

.service-link i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

/* ============================================
   PROPERTIES SECTION
   ============================================ */
.properties-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.property-card.hidden {
  display: none;
}

.property-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.1);
}

.property-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.property-badge.featured {
  background: var(--accent);
  color: var(--white);
}

.property-badge.new {
  background: var(--success);
  color: var(--white);
}

.property-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 31, 63, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.property-card:hover .property-overlay {
  opacity: 1;
}

.property-info {
  padding: 24px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.property-location i {
  font-size: 0.75rem;
}

.property-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.property-features {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.property-features span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.property-features i {
  color: var(--accent);
  font-size: 0.8rem;
}

.property-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.property-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.property-status {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.property-status.available {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.property-status.pre-sale {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.properties-cta {
  text-align: center;
  margin-top: 50px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 164, 94, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars i {
  color: var(--accent);
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

.author-info span {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.team-image {
  height: 300px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-info {
  padding: 24px;
  text-align: center;
}

.team-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  display: block;
  margin-bottom: 14px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: 50%;
  color: var(--gray-500);
  font-size: 0.85rem;
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--accent);
  color: var(--white);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

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

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-700);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.15);
}

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

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary);
  padding: 80px 0 0;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

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

.footer-social a:hover {
  background: var(--accent);
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--white);
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact li i {
  color: var(--accent);
  margin-top: 4px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p + p {
  margin-top: 8px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* --------------- ALTURA REDUCIDA (Laptops) --------------- */
@media (max-height: 800px) {
  .hero {
    padding-bottom: 30px;  /* Se mantiene el padding‑top heredado de la base */
  }
  .hero-wrapper {
    padding: 20px 24px 0;
  }
  .hero-content {
    margin-bottom: 20px;
  }
  .hero-badge {
    padding: 8px 20px;
    margin-bottom: 18px;
  }
  .hero-title {
    margin-bottom: 12px;
  }
  .hero-subtitle {
    margin-bottom: 20px;
  }
  .hero-buttons {
    gap: 12px;
  }
  .hero-stats {
    gap: 24px;
    padding: 16px 30px;
  }
  .stat-number {
    font-size: 2rem;
  }
  .stat-suffix {
    font-size: 1.6rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }
  .hero-scroll {
    bottom: 30px;   /* un poco menos que la base para que no se salga */
  }
}

/* -------------------------------------------- */
@media (max-width: 1440px) {
  .hero {
    padding-bottom: 30px;
  }
  .hero-wrapper {
    padding: 60px 24px 20px;
  }
  .hero-content {
    margin-bottom: 28px;
  }
  .hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 14px;
  }
  .hero-subtitle {
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    margin-bottom: 24px;
  }
  .hero-buttons {
    gap: 14px;
  }
  .hero-buttons .btn {
    padding: 12px 26px;
    font-size: 0.9rem;
  }
  .hero-stats {
    gap: 28px;
    padding: 18px 36px;
  }
  .stat-number {
    font-size: 2rem;
  }
  .stat-suffix {
    font-size: 1.5rem;
  }
  .stat-label {
    font-size: 0.78rem;
  }
  .services-grid,
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 1280px) {
  .hero {
    padding-bottom: 20px;
  }
  .hero-wrapper {
    padding: 40px 24px 16px;
  }
  .hero-content {
    margin-bottom: 22px;
  }
  .hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 12px;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 22px;
    line-height: 1.6;
  }
  .hero-buttons .btn {
    padding: 11px 22px;
    font-size: 0.85rem;
  }
  .hero-stats {
    gap: 24px;
    padding: 16px 30px;
  }
  .stat-number {
    font-size: 1.7rem;
  }
  .stat-suffix {
    font-size: 1.3rem;
  }
  .stat-label {
    font-size: 0.72rem;
  }
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-content {
    padding-left: 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-slider {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    padding-bottom: 16px;
  }
  .hero-wrapper {
    padding: 30px 20px 12px;
  }
  .hero-content {
    margin-bottom: 18px;
  }
  .hero-title {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    margin-bottom: 10px;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }
  .hero-buttons {
    gap: 12px;
  }
  .hero-buttons .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  .hero-stats {
    gap: 20px;
    padding: 14px 24px;
  }
  .stat-number {
    font-size: 1.5rem;
  }
  .stat-suffix {
    font-size: 1.2rem;
  }
  .stat-label {
    font-size: 0.68rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    z-index: 2001;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-toggle {
    display: flex;
    z-index: 2002;
  }
  .nav-link {
    font-size: 1.1rem;
  }
  .section {
    padding: 70px 0;
  }
  .hero {
    padding-bottom: 12px;
  }
  .hero-wrapper {
    padding: 20px 16px 10px;
  }
  .hero-content {
    margin-bottom: 16px;
  }
  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    margin-bottom: 10px;
  }
  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 16px;
    line-height: 1.5;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
    padding: 11px 20px;
    font-size: 0.85rem;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 14px 18px;
    margin: 0 auto;
    max-width: 100%;
    justify-content: space-around;
  }
  .stat-divider {
    display: none;
  }
  .stat-item {
    flex: 1 1 calc(33% - 20px);
    min-width: 85px;
    text-align: center;
  }
  .stat-number {
    font-size: 1.4rem;
  }
  .stat-suffix {
    font-size: 1.1rem;
  }
  .stat-label {
    font-size: 0.65rem;
    line-height: 1.3;
  }
  .services-grid,
  .properties-grid,
  .testimonials-slider {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-img-secondary {
    display: none;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px;
  }
  .properties-filter {
    gap: 8px;
  }
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  .hero {
    padding-bottom: 10px;
  }
  .hero-wrapper {
    padding: 14px 14px 8px;
  }
  .hero-content {
    margin-bottom: 14px;
  }
  .hero-badge {
    padding: 8px 18px;
    margin-bottom: 14px;
  }
  .hero-badge span {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }
  .hero-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
    margin-bottom: 8px;
  }
  .hero-subtitle {
    font-size: 0.82rem;
    margin-bottom: 14px;
  }
  .hero-stats {
    gap: 8px 14px;
    padding: 12px 14px;
  }
  .stat-item {
    flex: 1 1 calc(33% - 14px);
    min-width: 75px;
  }
  .stat-number {
    font-size: 1.3rem;
  }
  .stat-suffix {
    font-size: 1rem;
  }
  .stat-label {
    font-size: 0.6rem;
  }
}