@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --navy: #1A2F4A;
  --navy-light: #243d5e;
  --sage: #8B9E6E;
  --sage-light: #a8bd8a;
  --sage-pale: #f0f4eb;
  --cream: #fafaf7;
  --white: #ffffff;
  --gray-100: #f5f5f0;
  --gray-200: #e8e8e0;
  --gray-400: #9999aa;
  --gray-700: #444455;
  --text: #1a1a2e;
  --shadow-sm: 0 2px 8px rgba(26,47,74,0.08);
  --shadow-md: 0 8px 30px rgba(26,47,74,0.12);
  --shadow-lg: 0 20px 60px rgba(26,47,74,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 75px;
  background: rgba(26,47,74,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139,158,110,0.2);
  transition: var(--transition);
}
.navbar.scrolled {
  height: 65px;
  background: rgba(26,47,74,0.99);
  box-shadow: var(--shadow-md);
}
.navbar-logo img { height: 60px; filter: brightness(0) invert(1); }
.navbar-menu { display: flex; align-items: center; gap: 2rem; }
.navbar-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.03em;
  transition: var(--transition);
  position: relative;
}
.navbar-menu a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--sage);
  transform: scaleX(0); transition: var(--transition);
}
.navbar-menu a:hover { color: var(--white); }
.navbar-menu a:hover::after { transform: scaleX(1); }
.navbar-cta {
  background: var(--sage) !important; color: var(--white) !important;
  padding: 0.55rem 1.4rem; border-radius: 50px;
  font-weight: 600 !important; font-size: 0.85rem !important;
  transition: var(--transition) !important;
}
.navbar-cta::after { display: none !important; }
.navbar-cta:hover { background: var(--sage-light) !important; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('img/hero.png') center/cover no-repeat;
  opacity: 0.3;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,47,74,0.92) 0%, rgba(26,47,74,0.7) 60%, rgba(139,158,110,0.3) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 5%;
  padding-top: 75px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(139,158,110,0.2); border: 1px solid rgba(139,158,110,0.4);
  color: var(--sage-light); padding: 0.4rem 1rem;
  border-radius: 50px; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease forwards;
}
.hero-tag::before { content: ''; width: 6px; height: 6px; background: var(--sage); border-radius: 50%; }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700; color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s 0.15s ease both;
}
.hero h1 span { color: var(--sage-light); }
.hero-subtitle {
  font-size: 1.15rem; color: rgba(255,255,255,0.78);
  max-width: 560px; margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.6s 0.3s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.45s ease both;
}
.btn-primary {
  background: var(--sage); color: white;
  padding: 0.9rem 2.2rem; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem;
  transition: var(--transition); border: 2px solid var(--sage);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover { background: var(--sage-light); border-color: var(--sage-light); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(139,158,110,0.4); }
.btn-outline {
  background: transparent; color: white;
  padding: 0.9rem 2.2rem; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.hero-stats {
  display: flex; gap: 3rem; margin-top: 4rem;
  animation: fadeInUp 0.6s 0.6s ease both;
}
.hero-stat { text-align: left; }
.hero-stat .num { font-size: 2.2rem; font-weight: 800; color: var(--sage-light); line-height: 1; }
.hero-stat .label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 0.2rem; }

/* ===== SECTIONS ===== */
section { padding: 6rem 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--navy);
  line-height: 1.2; margin-bottom: 1rem;
}
.section-title.light { color: white; }
.section-sub { font-size: 1.05rem; color: var(--gray-700); max-width: 600px; line-height: 1.8; margin-bottom: 3rem; }

/* ===== ABOUT STRIP ===== */
.about-strip {
  background: white; padding: 5rem 5%;
}
.about-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-image {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  background: #ffffff;
}
.about-image img {
  width: 100%; height: 520px;
  object-fit: contain; object-position: bottom center;
}
.about-badge {
  position: absolute; bottom: 2rem; left: 2rem;
  background: var(--navy); color: white;
  padding: 1rem 1.5rem; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.about-badge .big { font-size: 2rem; font-weight: 800; color: var(--sage-light); }
.about-badge .small { font-size: 0.78rem; opacity: 0.8; }
.about-text .section-title { margin-bottom: 1.2rem; }
.about-text p { color: var(--gray-700); line-height: 1.9; margin-bottom: 1.2rem; }
.about-bullets { margin: 1.5rem 0; }
.about-bullets li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  color: var(--gray-700); padding: 0.4rem 0; font-size: 0.95rem;
}
.about-bullets li::before {
  content: ''; flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--sage-pale); border: 2px solid var(--sage);
  margin-top: 2px;
}

/* ===== RENTABILIDAD ===== */
.rentabilidad { background: var(--cream); }
.rent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.rent-text .section-title { margin-bottom: 1rem; }
.rent-text p { color: var(--gray-700); line-height: 1.9; margin-bottom: 2rem; }
.rent-card {
  background: white; border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.rent-card h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--navy); margin-bottom: 1rem; }
.rent-percent {
  display: flex; align-items: baseline; gap: 0.3rem;
  margin-bottom: 1rem;
}
.rent-percent .big { font-size: 3.5rem; font-weight: 800; color: var(--sage); }
.rent-percent .small { font-size: 1.1rem; color: var(--gray-400); }
.rent-bar { height: 6px; background: var(--gray-200); border-radius: 3px; overflow: hidden; margin-bottom: 0.5rem; }
.rent-bar-fill { height: 100%; background: linear-gradient(90deg, var(--sage), var(--sage-light)); border-radius: 3px; }
.rent-label { font-size: 0.8rem; color: var(--gray-400); }

/* ===== SERVICES ===== */
.services { background: var(--navy); }
.services .section-title { color: white; }
.services .section-sub { color: rgba(255,255,255,0.65); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: var(--transition);
  position: relative; overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--sage), var(--sage-light));
  transform: scaleX(0); transition: var(--transition);
}
.service-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-4px); border-color: rgba(139,158,110,0.3); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(139,158,110,0.2); border: 1px solid rgba(139,158,110,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.2rem;
}
.service-card h3 { color: white; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.service-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.service-link { color: var(--sage-light); font-size: 0.85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; transition: var(--transition); }
.service-link:hover { gap: 0.7rem; }

/* ===== CAPTACION FEATURE ===== */
.captacion { background: white; }
.captacion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.captacion-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.captacion-img img { width: 100%; height: 500px; object-fit: cover; }
.feature-points { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.feature-point {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--sage-pale); border-radius: var(--radius);
  padding: 1.2rem; border-left: 3px solid var(--sage);
}
.feature-point-icon { font-size: 1.4rem; flex-shrink: 0; }
.feature-point h4 { font-weight: 700; color: var(--navy); font-size: 0.9rem; margin-bottom: 0.2rem; }
.feature-point p { color: var(--gray-700); font-size: 0.85rem; line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--cream); }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.testi-card {
  background: white; border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-stars { color: var(--sage); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testi-text { color: var(--gray-700); font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.8rem; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sage-pale); border: 2px solid var(--sage);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--navy); font-size: 0.9rem; flex-shrink: 0;
}
.testi-name { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.testi-loc { font-size: 0.78rem; color: var(--gray-400); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 6rem 5%; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; left: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,158,110,0.15) 0%, transparent 70%);
}
.cta-section .section-title { color: white; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 2.5rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact { background: white; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contact-info h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--navy); margin-bottom: 2rem; }
.contact-item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-item-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--sage-pale); border: 1px solid var(--sage);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-item strong { display: block; color: var(--navy); font-size: 0.85rem; font-weight: 700; margin-bottom: 0.2rem; }
.contact-item span { color: var(--gray-700); font-size: 0.95rem; }
.contact-item a { color: var(--sage); font-weight: 600; }
.social-links { display: flex; gap: 0.8rem; margin-top: 2rem; }
.social-link {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: var(--transition);
}
.social-link:hover { background: var(--sage); transform: translateY(-2px); }
.contact-form { background: var(--cream); border-radius: var(--radius-lg); padding: 2.5rem; }
.contact-form h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--navy); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select {
  padding: 0.8rem 1rem; border-radius: var(--radius);
  border: 1.5px solid var(--gray-200); background: white;
  font-family: 'Inter', sans-serif; font-size: 0.9rem; color: var(--text);
  transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(139,158,110,0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy); color: rgba(255,255,255,0.7);
  padding: 4rem 5% 2rem;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand img { height: 55px; filter: brightness(0) invert(1); margin-bottom: 1.5rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; color: rgba(255,255,255,0.55); }
.footer-col h4 { color: white; font-weight: 700; font-size: 0.9rem; margin-bottom: 1.2rem; letter-spacing: 0.05em; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--sage-light); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-bottom a:hover { color: var(--sage-light); }

/* ===== PAGE HERO (interior pages) ===== */
.page-hero {
  background: var(--navy);
  padding: 10rem 5% 5rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(139,158,110,0.1) 0%, transparent 60%);
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: white; margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.breadcrumb a { color: var(--sage-light); }

/* ===== CONTENT SECTIONS ===== */
.content-section { padding: 5rem 5%; max-width: 1200px; margin: 0 auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.content-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.content-img img { width: 100%; height: 420px; object-fit: cover; }
.icon-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.icon-list-item { display: flex; gap: 1rem; align-items: flex-start; }
.icon-list-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--sage-pale); display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.icon-list-item h4 { color: var(--navy); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.2rem; }
.icon-list-item p { color: var(--gray-700); font-size: 0.88rem; line-height: 1.6; }

/* ===== QUIENES SOMOS ===== */
.qs-values { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3rem; }
.value-card {
  background: white; border-radius: var(--radius-lg);
  padding: 2rem; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h3 { color: var(--navy); font-weight: 700; margin-bottom: 0.5rem; }
.value-card p { color: var(--gray-700); font-size: 0.9rem; line-height: 1.7; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  section { padding: 4rem 5%; }
  .navbar-menu { display: none; }
  .navbar-menu.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 75px; left: 0; right: 0;
    background: var(--navy); padding: 1.5rem 5%; gap: 1rem;
    border-top: 1px solid rgba(139,158,110,0.2);
  }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2.5rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .about-grid, .rent-grid, .captacion-grid, .contact-grid, .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .testi-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .qs-values { grid-template-columns: 1fr; }
}
