:root {
  /* Colors */
  --color-white: #ffffff;
  --color-navy: #0f172a;
  --color-petrol: #1c4966;
  --color-gray-light: #f8fafc;
  --color-gray-dark: #334155;
  --color-text-dark: #1e293b;
  --color-text-light: #64748b;
  --color-accent-gold: #c5a059;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout & Spacing */
  --container-max-width: 1200px;
  --section-padding: 100px 20px;
  --border-radius: 12px;
  
  /* Shadows & Transitions */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  line-height: 1.6;
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding);
}

.section-bg-light {
  background-color: var(--color-gray-light);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  gap: 8px;
}

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

.btn-primary:hover {
  background-color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-petrol);
  border-color: var(--color-petrol);
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px; /* Space for nav if any */
  background: linear-gradient(135deg, rgba(28, 73, 102, 0.05) 0%, rgba(248, 250, 252, 1) 100%);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent-gold);
  margin-bottom: 1rem;
  display: block;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  position: relative;
  z-index: 1;
}

/* Fondo decorativo original */
.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  bottom: 20px;
  left: 20px;
  background-color: var(--color-petrol);
  border-radius: var(--border-radius);
  z-index: -1;
  opacity: 0.1;
}

/* Animación elegante de corazón latiendo */
.beating-heart {
  color: #e74c3c;
  display: inline-block;
  margin-right: 8px;
  animation: heart-beat 1.5s ease-in-out infinite;
}

@keyframes heart-beat {
  0% { transform: scale(1); }
  15% { transform: scale(1.2); }
  30% { transform: scale(1); }
  45% { transform: scale(1.2); }
  60% { transform: scale(1); }
  100% { transform: scale(1); }
}

.hero-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
  width: 100%;
}

/* Header / Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
}

.logo span {
  color: var(--color-petrol);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--color-gray-dark);
}

.nav-links a:hover {
  color: var(--color-petrol);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-navy);
  cursor: pointer;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 2rem;
}

.stat-item h4 {
  font-size: 2rem;
  color: var(--color-accent-gold);
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--color-white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0,0,0,0.03);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(28, 73, 102, 0.1);
}

.service-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(28, 73, 102, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-petrol);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Educational Section */
.educational-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.edu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.edu-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.edu-list li i {
  color: var(--color-accent-gold);
}

/* Process Timeline */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(28, 73, 102, 0.1);
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 200px;
}

.step-number {
  width: 80px;
  height: 80px;
  background-color: var(--color-white);
  border: 2px solid var(--color-petrol);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-petrol);
  margin: 0 auto 1.5rem;
  transition: var(--transition-smooth);
}

.timeline-step:hover .step-number {
  background-color: var(--color-petrol);
  color: var(--color-white);
  box-shadow: 0 0 0 10px rgba(28, 73, 102, 0.1);
}

/* Features / Why Choose Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 40px 20px;
}

.feature-icon {
  font-size: 3rem;
  color: var(--color-accent-gold);
  margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 6rem;
  color: rgba(212, 175, 55, 0.1);
  position: absolute;
  top: 20px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

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

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-gray-light);
}

.author-info h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.author-info p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 25px 0;
  font-size: 1.25rem;
  font-family: var(--font-heading);
  color: var(--color-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  transition: var(--transition-smooth);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--color-petrol);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  padding-bottom: 25px;
}

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--color-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.location-info {
  padding: 60px;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.info-item i {
  color: var(--color-petrol);
  font-size: 1.25rem;
  margin-top: 5px;
}

.map-container {
  height: 100%;
  min-height: 400px;
  background-color: var(--color-gray-light);
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 120px 20px;
  background-color: var(--color-navy);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(28, 73, 102, 0.4) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: var(--color-white);
  font-size: 3rem;
  margin-bottom: 2rem;
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background-color: var(--color-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

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

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

.footer h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.abigailsoft-credit {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.abigailsoft-credit a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.abigailsoft-credit a:hover {
  color: var(--color-white);
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background-color: #1EBE5D;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 { font-size: 3rem; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-description { margin: 0 auto 2.5rem; }
  .hero-buttons { justify-content: center; }
  .hero-image { display: none; } /* Or adjust size, keeping it minimal */
  
  .about-grid, .educational-grid { grid-template-columns: 1fr; }
  
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  
  .timeline { flex-direction: column; align-items: center; gap: 40px; }
  .timeline::before { left: 50%; top: 0; width: 2px; height: 100%; margin-left: -1px; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--color-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
  }
  
  .nav-links.active { left: 0; }
  .nav-toggle { display: block; }
  
  .features-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
  
  .hero h1 { font-size: 2.5rem; }
  .section { padding: 60px 20px; }
}
