/* Criana Web Design System Stylesheet */

:root {
  /* Colors */
  --color-primary-green: #2F4F4F;
  --color-accent-coral: #C96D68;
  --color-accent-mustard: #C08A33;
  --color-text-main: #2F4F4F;
  --color-text-light: #5A7E7E;
  --color-bg-base: #FCFBF8;
  --color-white: #ffffff;
  
  /* Fonts */
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Josefin Sans', sans-serif;
  --font-body: 'Raleway', sans-serif;
  
  /* Layout */
  --max-width: 1140px;
  --header-height: 90px;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background: linear-gradient(
    180deg,
    #FCFBF8 0%,
    #EEF4F3 50%,
    #F6F0E3 100%
  );
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.8s ease-in-out;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary-green);
  font-weight: 600;
}

/* Helper layout classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px auto;
}

.section-tag {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent-coral);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  font-weight: 400;
}

/* Buttons (Height & Optical Vertical Centering Fix) */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 28px 12px 28px; /* Optical baseline fix for Josefin Sans */
  line-height: 1;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

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

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

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary-green);
  border: 1px solid rgba(47, 79, 79, 0.25);
  margin-left: 15px;
}

.btn-secondary:hover {
  border-color: var(--color-primary-green);
  background-color: var(--color-primary-green);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Premium Sticky Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(252, 251, 248, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(47, 79, 79, 0.08);
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  height: 34px;
  width: auto;
  display: block;
}

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

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

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(47, 79, 79, 0.85);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

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

.nav-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px 7px 18px;
  line-height: 1;
  font-size: 0.7rem;
  border: 1px solid rgba(47, 79, 79, 0.25);
  border-radius: 30px;
  white-space: nowrap;
}

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

.nav-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 10px 20px 8px 20px;
  line-height: 1;
  background-color: var(--color-primary-green);
  color: var(--color-white);
  border-radius: 30px;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.nav-btn-primary:hover {
  background-color: var(--color-accent-coral);
  transform: translateY(-1px);
}

/* Centered Hero Section */
.hero-section {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  display: flex;
  align-items: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 820px;
  width: 100%;
}

.hero-logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.hero-brand-logo {
  max-width: 480px;
  width: 100%;
  height: auto;
  display: block;
}

.hero-slogan {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent-coral);
  margin-bottom: 25px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 400;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--color-accent-coral);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: rgba(47, 79, 79, 0.75);
  margin-bottom: 28px;
  font-weight: 500;
}

.hero-text-block {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--color-text-main);
  opacity: 0.9;
  margin-bottom: 35px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Coverage Strip Bar */
.coverage-strip {
  padding: 20px 0;
  background: transparent;
}

.strip-box {
  background-color: var(--color-primary-green);
  color: var(--color-white);
  border-radius: 24px;
  padding: 22px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(47, 79, 79, 0.08);
}

.strip-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.strip-icon {
  color: var(--color-accent-mustard);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.text-mustard {
  color: var(--color-accent-mustard);
  font-weight: 600;
}

.btn-strip-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--color-accent-mustard);
  color: var(--color-primary-green);
  padding: 11px 22px 9px 22px;
  line-height: 1;
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-strip-wa:hover {
  transform: scale(1.03);
  background-color: #d69838;
}

/* Process Section */
.process-steps-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 60px;
}

.process-step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.process-step-row:nth-child(even) {
  flex-direction: row-reverse;
}

.process-step-text {
  flex: 1;
}

.process-step-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-style: italic;
  font-weight: 400;
  color: rgba(192, 138, 51, 0.7);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.process-step-text h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-top: 4px;
  margin-bottom: 14px;
}

.process-step-text p {
  font-size: 1.05rem;
  color: var(--color-text-main);
  opacity: 0.9;
  line-height: 1.6;
}

.process-step-image-wrapper {
  flex: 1;
  max-width: 500px;
  overflow: hidden;
  border-radius: 24px;
}

.process-step-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.process-step-row:hover .process-step-image {
  transform: scale(1.04);
}

/* Profiles Section - Unified Narrative Layout */
.profiles-narrative-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.profile-narrative-card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 36px 30px;
  border: 1px solid rgba(47, 79, 79, 0.06);
  box-shadow: 0 10px 30px rgba(47, 79, 79, 0.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-narrative-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(47, 79, 79, 0.06);
}

.profile-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background-color: #F6F0E3;
  color: var(--color-accent-mustard);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.profile-narrative-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: var(--color-primary-green);
}

.profile-narrative-card p {
  font-size: 0.95rem;
  color: var(--color-text-main);
  opacity: 0.88;
  line-height: 1.6;
}

.profiles-match-banner {
  margin-top: 50px;
  background: var(--color-white);
  border: 1px solid rgba(201, 109, 104, 0.25);
  border-radius: 24px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 10px 30px rgba(201, 109, 104, 0.04);
}

.banner-badge {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: rgba(201, 109, 104, 0.12);
  color: var(--color-accent-coral);
  padding: 10px 20px;
  border-radius: 30px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.banner-text {
  font-size: 0.98rem;
  color: var(--color-primary-green);
  line-height: 1.6;
}

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

/* Team Section */
.team-layout {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 50px;
  align-items: center;
}

.team-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  width: 100%;
}

.team-row-single {
  max-width: 380px;
}

.team-row-double {
  max-width: 800px;
  flex-wrap: wrap;
}

.team-card {
  flex: 1 1 320px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-image-wrapper {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  border: 4px solid var(--color-bg-base);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s ease;
}

.team-card:hover .team-image-wrapper {
  transform: scale(1.05);
  box-shadow: 0 14px 30px rgba(47, 79, 79, 0.12);
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.team-card-info h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary-green);
  margin-bottom: 4px;
}

.team-role {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-mustard);
  display: block;
  margin-bottom: 14px;
  font-weight: 600;
}

.team-bio {
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 1.55;
  opacity: 0.9;
}

/* Team Stats Section & Hover Animations */
.team-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 80px;
  padding-top: 50px;
  border-top: 1px solid rgba(47, 79, 79, 0.12);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
  padding: 16px 20px;
  border-radius: 20px;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.4s ease, box-shadow 0.4s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background-color: var(--color-white);
  box-shadow: 0 10px 25px rgba(47, 79, 79, 0.04);
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--color-accent-mustard);
  line-height: 1;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.stat-item:hover .stat-number {
  color: var(--color-accent-coral);
}

.stat-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.stat-divider {
  width: 1px;
  height: 60px;
  background-color: rgba(47, 79, 79, 0.15);
}

/* Options / Plans Section */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.option-card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(47, 79, 79, 0.05);
  box-shadow: 0 10px 30px rgba(47, 79, 79, 0.02);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.option-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(47, 79, 79, 0.06);
}

.option-card-header {
  margin-bottom: 24px;
}

.option-card-header h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.option-duration {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-mustard);
  font-weight: 600;
}

.option-intro {
  font-size: 1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.option-bullets {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.option-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.4;
}

.option-bullets li span {
  color: var(--color-accent-coral);
  font-size: 0.9rem;
}

.btn-option-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 13px 24px 11px 24px;
  line-height: 1;
  border-radius: 30px;
  text-decoration: none;
  background-color: transparent;
  color: var(--color-primary-green);
  border: 2px solid var(--color-primary-green);
  transition: var(--transition-smooth);
}

.btn-option-wa:hover {
  background-color: var(--color-primary-green);
  color: var(--color-white);
}

/* Highlighted Plan */
.option-highlighted {
  border-color: var(--color-accent-coral);
  box-shadow: 0 15px 40px rgba(201, 109, 104, 0.08);
  position: relative;
}

.option-highlighted::after {
  content: 'Recomendado';
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--color-accent-coral);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.btn-option-wa-highlight {
  background-color: var(--color-accent-coral);
  color: var(--color-white);
  border-color: var(--color-accent-coral);
}

.btn-option-wa-highlight:hover {
  background-color: var(--color-primary-green);
  border-color: var(--color-primary-green);
  color: var(--color-white);
}

/* Testimonials Section & Carousel */
.testimonials-slider-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonials-slider-container {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
}

/* Google Maps Review Tile ("Versión Maps") */
a.maps-review-card {
  display: block;
  text-decoration: none;
  background: var(--color-white);
  border-radius: 24px;
  padding: 36px 40px;
  border: 1px solid rgba(47, 79, 79, 0.06);
  box-shadow: 0 10px 30px rgba(47, 79, 79, 0.03);
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
  font-family: 'Roboto', sans-serif;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  color: inherit;
  cursor: pointer;
}

a.maps-review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(47, 79, 79, 0.08);
}

.maps-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.maps-user-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.maps-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar-purple { background-color: #7E57C2; }
.avatar-teal { background-color: #009688; }
.avatar-coral { background-color: #E91E63; }
.avatar-blue { background-color: #1E88E5; }
.avatar-amber { background-color: #F57C00; }

.maps-user-name {
  font-family: 'Roboto', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #202124;
  margin: 0 0 2px 0;
  line-height: 1.2;
}

.maps-user-sub {
  font-family: 'Roboto', sans-serif;
  font-size: 0.8rem;
  color: #70757A;
  display: block;
}

.maps-google-badge {
  color: #4285F4;
  font-size: 1.3rem;
}

.maps-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.maps-stars {
  color: #FBBC04; /* Official Google Maps Star Yellow */
  font-size: 0.95rem;
  display: flex;
  gap: 3px;
}

.maps-date {
  font-family: 'Roboto', sans-serif;
  font-size: 0.82rem;
  color: #70757A;
}

.maps-review-text {
  font-family: 'Roboto', sans-serif;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #3C4043;
  margin: 0 0 16px 0;
}

.maps-card-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 12px;
  text-align: right;
}

.maps-click-hint {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: #1A73E8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

a.maps-review-card:hover .maps-click-hint {
  color: var(--color-accent-coral);
}

.maps-external-cta {
  text-align: center;
  margin-top: 35px;
}

.btn-maps-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-green);
  background: var(--color-white);
  padding: 14px 28px 12px 28px;
  line-height: 1;
  border-radius: 50px;
  border: 1px solid rgba(47, 79, 79, 0.12);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-maps-link:hover {
  background-color: var(--color-primary-green);
  color: var(--color-white);
  border-color: var(--color-primary-green);
  transform: translateY(-2px);
}

.slider-btn {
  background: var(--color-white);
  border: 1px solid rgba(47, 79, 79, 0.1);
  color: var(--color-primary-green);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 10;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.slider-btn:hover {
  background-color: var(--color-primary-green);
  color: var(--color-white);
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 25px auto 0;
  max-width: 380px;
  flex-wrap: wrap;
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: rgba(47, 79, 79, 0.2);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dot.active {
  width: 18px;
  border-radius: 10px;
  background-color: var(--color-accent-coral);
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.blog-card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(47, 79, 79, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: 1px solid rgba(47, 79, 79, 0.05);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(47, 79, 79, 0.08);
}

.blog-card-image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

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

.blog-card-meta {
  padding: 24px 24px 0 24px;
}

.blog-category {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-coral);
  font-weight: 600;
}

.blog-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-primary-green);
  line-height: 1.35;
  margin: 12px 24px;
  flex-grow: 0;
}

.blog-card p {
  font-size: 0.95rem;
  color: var(--color-text-main);
  opacity: 0.85;
  margin: 0 24px 24px 24px;
  flex-grow: 1;
  line-height: 1.5;
}

.btn-read-more {
  margin: 0 24px 24px 24px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent-mustard);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.blog-card:hover .btn-read-more {
  color: var(--color-accent-coral);
}

/* FAQ Section Accordions */
.faq-container {
  max-width: 800px;
}

.accordion {
  margin-top: 40px;
}

.accordion-item {
  border-bottom: 1px solid rgba(47, 79, 79, 0.1);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  background: none;
  border: none;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-primary-green);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.accordion-header:hover {
  color: var(--color-accent-coral);
}

.accordion-icon {
  font-size: 1rem;
  color: var(--color-accent-mustard);
  transition: transform 0.3s ease;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.accordion-content {
  padding-bottom: 22px;
  font-size: 0.98rem;
  color: var(--color-text-main);
  opacity: 0.9;
  line-height: 1.65;
}

.accordion-item.open .accordion-body {
  max-height: 500px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  color: var(--color-accent-coral);
}

/* Contact Section & Forms */
.contact-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: start;
}

.contact-box {
  background: var(--color-white);
  border-radius: 28px;
  padding: 50px;
  border: 1px solid rgba(47, 79, 79, 0.05);
  box-shadow: 0 15px 40px rgba(47, 79, 79, 0.03);
}

.box-tag {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-mustard);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

.contact-box h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}

.contact-box p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.form-group label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-green);
  font-weight: 600;
}

.form-group input, .form-group select {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(47, 79, 79, 0.2);
  background-color: #FAF9F6;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-primary-green);
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--color-accent-coral);
  background-color: var(--color-white);
  box-shadow: 0 0 0 4px rgba(201, 109, 104, 0.08);
}

/* Phone Input Custom Styling */
.phone-input-wrapper {
  display: flex;
  align-items: center;
  border-radius: 12px;
  border: 1px solid rgba(47, 79, 79, 0.2);
  background-color: #FAF9F6;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.phone-input-wrapper:focus-within {
  border-color: var(--color-accent-coral);
  background-color: var(--color-white);
  box-shadow: 0 0 0 4px rgba(201, 109, 104, 0.08);
}

.phone-prefix {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-green);
  padding: 14px 14px 14px 18px;
  background-color: rgba(47, 79, 79, 0.05);
  border-right: 1px solid rgba(47, 79, 79, 0.15);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  user-select: none;
}

.phone-input-wrapper input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 100%;
  padding: 14px 18px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--color-primary-green);
  color: var(--color-white);
  padding: 15px 24px 13px 24px;
  line-height: 1;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-top: 10px;
}

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

/* Nanny CTA Box Specific */
.nanny-box {
  background-color: var(--color-primary-green);
  color: var(--color-white);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nanny-box h2 {
  color: var(--color-white);
}

.nanny-subtext {
  font-size: 0.95rem !important;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: auto !important;
}

.nanny-action-footer {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-nanny-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--color-accent-coral);
  color: var(--color-white);
  padding: 15px 24px 13px 24px;
  line-height: 1;
  border-radius: 14px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-nanny-apply:hover {
  background-color: var(--color-white);
  color: var(--color-primary-green);
}

.nanny-action-footer span {
  font-size: 0.75rem;
  opacity: 0.6;
  text-align: center;
}

/* Footer Section */
.footer {
  background-color: var(--color-primary-green);
  color: var(--color-white);
  padding: 70px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  align-self: flex-start;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 300px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-mustard);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--color-accent-mustard);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* Floating WhatsApp Button widget (Logo puro, más grande, sin círculo) */
.wa-floating-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.wa-widget-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulseWAPure 2.6s infinite ease-in-out;
}

.wa-pure-icon {
  font-size: 64px;
  color: #25D366;
  filter: drop-shadow(0 8px 22px rgba(37, 211, 102, 0.45));
  transition: transform 0.3s ease, filter 0.3s ease, color 0.3s ease;
}

.wa-widget-toggle:hover .wa-pure-icon {
  transform: scale(1.12);
  color: #20ba59;
  filter: drop-shadow(0 12px 28px rgba(37, 211, 102, 0.65));
}

@keyframes pulseWAPure {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

/* Article Reading Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(47, 79, 79, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background-color: var(--color-white);
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  border-radius: 28px;
  padding: 50px;
  position: relative;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(47, 79, 79, 0.05);
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: #FAF9F6;
  border: 1px solid rgba(47, 79, 79, 0.1);
  color: var(--color-primary-green);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background-color: var(--color-accent-coral);
  color: var(--color-white);
  border-color: var(--color-accent-coral);
}

.modal-meta {
  margin-bottom: 12px;
}

.modal-meta span {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-coral);
  font-weight: 600;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-text-light);
  margin-bottom: 30px;
  line-height: 1.4;
}

.modal-body-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-main);
  opacity: 0.95;
}

.modal-body-content p {
  margin-bottom: 20px;
}

.modal-body-content ul {
  margin: 0 0 25px 20px;
}

.modal-body-content li {
  margin-bottom: 8px;
}

.modal-highlight-quote {
  margin: 35px 0;
  padding: 24px 30px;
  background-color: #FAF9F6;
  border-left: 4px solid var(--color-accent-coral);
  border-radius: 0 12px 12px 0;
}

.modal-highlight-quote p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 8px;
}

.modal-highlight-quote span {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  font-weight: 600;
}

.modal-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(47, 79, 79, 0.08);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    padding: 8px;
    font-size: 1.6rem;
    color: var(--color-primary-green);
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 35px 40px 35px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1001;
    gap: 22px;
    overflow-y: auto;
  }
  
  .nav-menu.open,
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 0.95rem;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(47, 79, 79, 0.08);
  }
  
  .nav-btn-secondary {
    border: none;
    padding: 10px 0;
    border-radius: 0;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(47, 79, 79, 0.08);
  }
  
  .nav-btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }

  .process-step-row, .process-step-row:nth-child(even) {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }

  .process-step-image-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .strip-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 24px;
  }

  .strip-text {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .profiles-match-banner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
  
  .hero-brand-logo {
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-text-block {
    font-size: 1.05rem;
    text-align: center;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    margin-left: 0;
  }

  /* Coverage Strip Mobile Centering */
  .strip-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    gap: 16px;
  }

  .strip-text {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .btn-strip-wa {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Profiles Mobile Centering */
  .profile-narrative-card {
    align-items: center;
    text-align: center;
    padding: 30px 20px;
  }

  .profile-card-icon {
    margin: 0 auto 20px auto;
  }

  .profiles-match-banner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 24px 20px;
  }

  .banner-badge {
    align-self: center;
    margin: 0 auto;
  }

  /* Process Mobile */
  .process-step-num {
    font-size: 3rem;
  }

  .process-step-text h3 {
    font-size: 1.65rem;
  }

  /* Team Mobile Centering */
  .team-row-double {
    flex-direction: column;
    align-items: center;
  }

  .team-card {
    width: 100%;
    max-width: 320px;
    align-items: center;
    text-align: center;
  }

  .team-stats {
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
    align-items: center;
  }
  
  .stat-divider {
    width: 60px;
    height: 1px;
    margin: 0 auto;
  }

  /* Options Mobile Centering */
  .option-card {
    text-align: center;
    align-items: center;
    padding: 35px 20px;
  }

  .option-bullets {
    align-items: center;
    padding: 0;
  }

  .option-bullets li {
    justify-content: center;
    text-align: center;
  }

  .btn-option-wa {
    width: 100%;
    max-width: 280px;
  }

  /* Contact & Nanny Box Mobile Centering */
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-box {
    padding: 35px 24px;
    text-align: center;
    align-items: center;
  }

  .nanny-box {
    text-align: center;
    align-items: center;
  }

  .nanny-action-footer {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .btn-nanny-apply {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    margin: 0 auto;
  }

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

  /* Footer Mobile Centering */
  .footer {
    padding: 50px 0 30px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
    justify-items: center;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-logo-img {
    align-self: center;
    margin: 0 auto;
  }

  .footer-brand p {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col ul {
    align-items: center;
    text-align: center;
    padding: 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .modal-box {
    padding: 30px 20px;
  }
  
  .modal-title {
    font-size: 1.7rem;
  }

  .t-card {
    padding: 10px 5px;
  }

  .testimonials-slider-wrapper {
    gap: 5px;
  }

  .wa-floating-widget {
    bottom: 20px;
    right: 20px;
  }

  .wa-widget-toggle {
    width: 52px;
    height: 52px;
  }

  .wa-toggle-img {
    width: 28px;
    height: 28px;
  }
}

/* Header Back Button */
.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-green);
  background-color: rgba(47, 79, 79, 0.06);
  padding: 12px 22px 10px 22px;
  line-height: 1;
  border-radius: 50px;
  border: 1px solid rgba(47, 79, 79, 0.15);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-back-home:hover {
  background-color: var(--color-primary-green);
  color: var(--color-white);
  border-color: var(--color-primary-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(47, 79, 79, 0.15);
}

/* ==========================================================================
   LEGAL / PRIVACY POLICY SUBPAGE STYLING
   ========================================================================== */
.legal-page-section {
  padding: 130px 0 80px 0;
}

.legal-box {
  background: var(--color-white);
  border-radius: 24px;
  padding: 60px 70px;
  border: 1px solid rgba(47, 79, 79, 0.06);
  box-shadow: 0 10px 40px rgba(47, 79, 79, 0.04);
  max-width: 860px;
  margin: 0 auto;
}

.legal-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--color-primary-green);
  margin-bottom: 8px;
  line-height: 1.15;
}

.legal-last-updated {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(47, 79, 79, 0.1);
  margin: 25px 0 35px 0;
}

.legal-content {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-main);
}

.legal-intro {
  font-size: 1.08rem;
  margin-bottom: 20px;
  color: var(--color-primary-green);
}

.legal-block {
  margin-bottom: 35px;
}

.legal-block h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-primary-green);
  margin-bottom: 14px;
  line-height: 1.3;
}

.legal-block p {
  margin-bottom: 14px;
}

.legal-block ul {
  margin: 14px 0 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-block ul li {
  line-height: 1.6;
}

.legal-email-link {
  color: var(--color-accent-coral);
  font-weight: 600;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.legal-email-link:hover {
  opacity: 0.8;
}

.legal-footer-nav {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(47, 79, 79, 0.1);
  text-align: center;
}

@media (max-width: 768px) {
  .legal-page-section {
    padding: 100px 0 60px 0;
  }
  .legal-box {
    padding: 35px 25px;
    border-radius: 18px;
  }
  .legal-title {
    font-size: 2rem;
  }
}

/* ==========================================================================
   FREEZER: BLOG SECTION & LINKS HIDING
   To restore the blog, simply comment out or delete this CSS block.
   ========================================================================== */
#blog,
.modal-overlay[id^="modal-"],
.nav-link[href="#blog"],
.footer-col li:has(a[href="#blog"]) {
  display: none !important;
}
