/* ==========================================================================
   DESIGN SYSTEM & CSS VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
  /* Harmonious, tailored wellness palette */
  --bg-primary: #FAF8F5;          /* Warm sandy off-white */
  --bg-secondary: #FFFFFF;        /* Pristine clean white */
  --bg-dark: #272E24;             /* Deep, grounding forest green */
  
  --accent-primary: #D87A60;      /* Terracotta/Peach brand focus */
  --accent-primary-hover: #C56A51;
  --accent-secondary: #5E6858;    /* Muted olive green */
  --accent-secondary-hover: #4B5346;
  
  --text-dark: #2D2D2D;           /* Deep charcoal for excellent readability */
  --text-muted: #666666;          /* Muted gray for secondary descriptions */
  --text-light: #F5F5F5;          /* Off-white for dark footers */
  --border-color: #EBE8E3;        /* Soft sand-colored borders */
  
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Jost', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-subtle: 0 4px 20px rgba(94, 104, 88, 0.05);
  --shadow-medium: 0 10px 30px rgba(94, 104, 88, 0.08);
  --shadow-premium: 0 20px 40px rgba(94, 104, 88, 0.12);
  --border-radius-lg: 16px;
  --border-radius-md: 8px;
  --border-radius-sm: 4px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.2;
}

.heading-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent-primary);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-secondary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

p {
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--text-dark);
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.section-padding {
  padding: 6.5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--accent-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(216, 122, 96, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 122, 96, 0.35);
}

.btn-secondary {
  background-color: var(--accent-secondary);
  color: white;
  box-shadow: 0 4px 15px rgba(94, 104, 88, 0.15);
}

.btn-secondary:hover {
  background-color: var(--accent-secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(94, 104, 88, 0.25);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--accent-secondary);
  color: var(--accent-secondary);
}

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

.btn-text-link {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.btn-text-link:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  gap: 0.75rem;
}

/* ==========================================================================
   NAVIGATION HEADER (Sticky Glassmorphism)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(250, 248, 245, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(94, 104, 88, 0.05);
  transition: var(--transition-smooth);
}

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

.logo-wrap {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.8rem;
  letter-spacing: 1px;
  color: var(--bg-dark); /* #272E24 - deep green */
  transition: var(--transition-smooth);
}

.logo-subtitle {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-secondary); /* #5E6858 - olive green */
  font-weight: 500;
  margin-top: -2px;
  transition: var(--transition-smooth);
}

.logo-wrap:hover .logo-title,
.logo-wrap:hover .logo-subtitle {
  color: var(--accent-primary); /* #D87A60 - terracotta color */
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-primary);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--accent-primary);
}

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

.nav-link.active {
  color: var(--accent-primary);
  font-weight: 500;
}

.nav-link.active::after {
  width: 100%;
  height: 2px;
}

/* Mobile Nav Toggle */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-dark);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Open states for hamburger */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   SPA ROUTER VIEW MANAGEMENT
   ========================================================================== */
.view {
  display: none;
  width: 100%;
}

.view.active {
  display: block;
  animation: fadeIn 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

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

/* ==========================================================================
   VIEW: HOME PAGE
   ========================================================================== */

/* Hero Section */
.hero-sec {
  padding: 4.5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4.5rem;
}

.hero-title {
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--accent-secondary);
  margin-bottom: 2.2rem;
  font-weight: 300;
  max-width: 500px;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.hero-img-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hero-img-wrap:hover img {
  transform: scale(1.03);
}

/* Intro Section ("Mereces Sentirte Bien") */
.intro-sec {
  background-color: var(--bg-secondary);
  text-align: center;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
}

.intro-title {
  font-size: 2.5rem;
  margin-bottom: 1.8rem;
}

.intro-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.signature {
  font-family: 'Brush Script MT', cursive, var(--font-serif);
  font-size: 2.6rem;
  color: var(--accent-primary);
  margin-bottom: 2.5rem;
  display: block;
}

/* Method Pillars (Autoconocimiento, Re-conexión, Transformación) */
.pillars-sec {
  background-color: var(--bg-primary);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.pillar-card {
  background-color: var(--bg-secondary);
  padding: 3rem 2.2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
  text-align: center;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-primary);
}

.pillar-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(216, 122, 96, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--accent-primary);
  font-size: 1.5rem;
}

.pillar-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Programs/Services Grid (Re-conectando, Respiración, Alimentación) */
.programs-sec {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4.5rem;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.program-card {
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.program-img {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.program-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.program-body {
  padding: 2.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.program-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.program-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  line-height: 1.7;
}

/* Interactive Testimonials Tabs */
.testimonials-sec {
  background-color: var(--bg-primary);
}

.tabs-wrapper {
  max-width: 850px;
  margin: 0 auto;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  list-style: none;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.tab-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem 1rem;
  position: relative;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  color: var(--accent-secondary);
}

.tab-btn.active {
  color: var(--accent-primary);
  font-weight: 500;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1.1rem;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-primary);
}

.testimonial-card-container {
  min-height: 250px;
  position: relative;
}

.testimonial-card {
  display: none;
  background-color: var(--bg-secondary);
  padding: 3.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-color);
  animation: tabFadeIn 0.5s ease forwards;
}

.testimonial-card.active {
  display: block;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.testi-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: white;
  background-color: var(--accent-primary);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.testi-author {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.testi-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.8rem;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.testi-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Call to Action Banner */
.cta-banner {
  background-color: var(--bg-secondary);
  text-align: center;
}

.cta-box {
  max-width: 750px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 1.2rem;
}

.cta-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
}

/* ==========================================================================
   VIEW: ABOUT PAGE ("SOBRE MÍ")
   ========================================================================== */
.about-hero {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4.5rem;
  align-items: center;
}

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

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

.about-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.about-story-highlight {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent-primary);
  line-height: 1.4;
  margin-bottom: 2rem;
}

.about-bio-text p {
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Method Pillars in About */
.about-pillars-sec {
  background-color: var(--bg-secondary);
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.about-pillar-box {
  padding: 2rem 0;
}

.about-pillar-box h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-pillar-box p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ==========================================================================
   VIEW: SERVICES & FAQ ("SERVICIOS & TALLERES")
   ========================================================================== */
.services-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.service-row-card {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.service-row-card:nth-child(even) {
  grid-template-columns: 1.2fr 1fr;
}

.service-row-card:nth-child(even) .service-row-img {
  order: 2;
}

.service-row-img {
  height: 100%;
  min-height: 380px;
  overflow: hidden;
}

.service-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-row-card:hover .service-row-img img {
  transform: scale(1.03);
}

.service-row-body {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-row-title {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.service-row-text {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* FAQ Accordion */
.faq-sec {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.faq-question-btn:hover {
  color: var(--accent-primary);
}

.faq-icon-arrow {
  font-size: 1rem;
  color: var(--accent-secondary);
  transition: var(--transition-smooth);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(250, 248, 245, 0.5);
}

.faq-answer-inner {
  padding: 0 2rem 1.8rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Accordion open state classes */
.faq-item.open {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-subtle);
}

.faq-item.open .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--accent-primary);
}

/* ==========================================================================
   VIEW: CONTACT PAGE ("CONTACTO")
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-card-box {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: 4rem 3.5rem;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-color);
}

.contact-title-main {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.contact-intro-text {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-secondary);
}

.form-input {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 0.9rem 1.2rem;
  border-radius: var(--border-radius-md);
  color: var(--text-dark);
  font-size: 1rem;
  transition: var(--transition-smooth);
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background-color: var(--bg-secondary);
  box-shadow: 0 0 0 3px rgba(216, 122, 96, 0.08);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-checkbox-label input {
  margin-top: 3px;
  cursor: pointer;
}

/* Contact Sidebar Details */
.contact-details-box {
  background-color: var(--bg-dark);
  color: white;
  border-radius: var(--border-radius-lg);
  padding: 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-premium);
}

.contact-sidebar-header h3 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.contact-sidebar-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  list-style: none;
  margin-bottom: 4rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.contact-info-icon {
  font-size: 1.3rem;
  color: var(--accent-primary);
  margin-top: 3px;
}

.contact-info-text h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.contact-info-text p, .contact-info-text a {
  color: white;
  font-size: 1.1rem;
  font-weight: 300;
}

.contact-info-text a:hover {
  color: var(--accent-primary);
}

.contact-sidebar-footer h5 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  color: var(--accent-primary);
  font-style: italic;
}

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

/* Modal feedback */
.form-feedback-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(39, 46, 36, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.form-feedback-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.form-feedback-modal {
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-color);
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.form-feedback-overlay.show .form-feedback-modal {
  transform: translateY(0);
}

.modal-icon-success {
  width: 70px;
  height: 70px;
  background-color: rgba(94, 104, 88, 0.1);
  color: var(--accent-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.modal-title {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.modal-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ==========================================================================
   GLOBAL FOOTER
   ========================================================================== */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 6.5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 1.1fr;
  gap: 3.5rem;
  margin-bottom: 4.5rem;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-primary);
  margin-bottom: 1.8rem;
}

.footer-about h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
}

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

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

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

.footer-links a:hover {
  color: var(--accent-primary);
  padding-left: 5px;
}

.footer-newsletter-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-input {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1.2rem;
  border-radius: var(--border-radius-md);
  color: white;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background-color: rgba(255, 255, 255, 0.08);
}

.newsletter-submit-btn {
  background-color: var(--accent-primary);
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: var(--border-radius-md);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.newsletter-submit-btn:hover {
  background-color: var(--accent-primary-hover);
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal-links a:hover {
  color: var(--accent-primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN ADAPTATIONS (MEDIA QUERIES)
   ========================================================================== */

/* Tablet view styling */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    margin: 0 auto 2.2rem;
  }
  
  .hero-img-wrap img {
    height: 420px;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .about-img-wrap img {
    height: 450px;
  }
  
  .service-row-card, .service-row-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
  
  .service-row-card:nth-child(even) .service-row-img {
    order: 0;
  }
  
  .service-row-img {
    height: 300px;
    min-height: auto;
  }
  
  .service-row-body {
    padding: 2.2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Smartphone view navigation burger */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 85px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 85px);
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 3.5rem 0;
    gap: 2.5rem;
    transition: 0.4s ease-in-out;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.2rem;
  }
  
  .header-container {
    height: 75px;
  }
  
  .nav-menu {
    top: 75px;
    height: calc(100vh - 75px);
  }
  
  .section-title {
    font-size: 2.4rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .testimonial-card {
    padding: 2rem;
  }
  
  .testi-quote {
    font-size: 1.4rem;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  
  .contact-card-box {
    padding: 2.5rem 1.5rem;
  }
  
  .contact-details-box {
    padding: 2.5rem 2rem;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUBBLE
   ========================================================================== */
.whatsapp-float {
  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: 32px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  z-index: 1500;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  background-color: #20BA5A;
}

.whatsapp-icon {
  margin-top: 1px;
}

/* Tooltip on hover */
.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background-color: var(--bg-dark); /* #272E24 */
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-medium);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background-color: var(--bg-dark);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Pulse animation */
@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive adjustment for mobile screen width */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
  
  .whatsapp-tooltip {
    display: none; /* Hide tooltip on small mobile screens */
  }
}

/* ==========================================================================
   VIEW: EL HOMBRE PRESENTE
   ========================================================================== */
.hombre-presente-hero {
  padding: 4.5rem 0;
  background-color: var(--bg-secondary);
}

.hombre-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: center;
}

.hombre-img-wrap {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  position: relative;
}

.hombre-img-wrap img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hombre-img-wrap:hover img {
  transform: scale(1.02);
}

.hombre-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
}

.hombre-quote-sec {
  background-color: var(--bg-primary);
  text-align: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.hombre-quote-box {
  max-width: 850px;
  margin: 0 auto;
}

.hombre-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--accent-primary);
  line-height: 1.5;
  margin-bottom: 1.8rem;
}

.hombre-quote-subtext {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

.hombre-gallery-sec {
  background-color: var(--bg-secondary);
}

.hombre-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.hombre-gallery-item {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.hombre-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-primary);
}

.hombre-gallery-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

@media (max-width: 992px) {
  .hombre-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hombre-img-wrap img {
    height: 400px;
  }
  
  .hombre-highlights-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .hombre-gallery-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 3rem auto 0;
    gap: 2rem;
  }
  
  .hombre-gallery-item img {
    height: 350px;
  }
}

