/* ============================================
   MÉXICO - SAMARA (DORADOS + FONDO NEGRO)
   ============================================ */
:root {
  --primary: #eab308;
  --primary-dark: #ca8a04;
  --secondary: #22c55e;
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --border: #262626;
  --text-light: #f4f4f5;
  --text-muted: #a1a1aa;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* ============================================
     ALERTA PARA MENORES DE EDAD - SAMARA
============================================ */
.age-alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  width: auto;
  min-width: 280px;
  max-width: 380px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 16px 20px;
  border-left: 4px solid #eab308;
  border-right: 4px solid #eab308;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: fadeInCenter 0.35s ease-out;
}

.age-alert-content {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.age-alert-content i {
  color: #eab308;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.age-alert-content span {
  color: #f0f0f0;
  font-size: 0.75rem;
  line-height: 1.4;
  flex: 1;
}

.close-alert {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ddd;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 6px 10px;
  transition: 0.2s;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.close-alert:hover {
  color: white;
  background: rgba(255, 80, 80, 0.5);
  transform: scale(1.05);
}

@keyframes fadeInCenter {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ============================================
     NAVBAR CON MENÚ HAMBURGUESA
============================================ */
.navbar {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.flag-icon {
  width: 40px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.logo-text {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.3px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 5px;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  color: var(--text-light);
}

.navbar-right {
  transition: all 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  padding: 8px 20px;
  border-radius: 40px;
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(234, 179, 8, 0.1);
}

/* ============================================
     HERO CON IMAGEN DE FONDO
============================================ */
.hero-split {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  min-height: 80vh;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img_trabajo/imagen_grande1.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.12;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  background: var(--bg-card);
  color: var(--primary);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  border: 1px solid var(--border);
}

.hero-title-serif {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 15px 0 5px;
  line-height: 1.2;
}

.hero-subtitle-lobster {
  font-family: 'Lobster', cursive;
  font-size: 3.8rem;
  color: var(--primary);
  margin: 0 0 20px;
  font-weight: 400;
}

.hero-description {
  max-width: 700px;
  margin: 0 auto 25px auto;
}

.description-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--border);
  white-space: nowrap;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-main {
  background: var(--primary);
  color: black;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(234, 179, 8, 0.2);
  background: var(--primary-dark);
}

.btn-link {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-link:hover {
  gap: 10px;
}

/* ============================================
     ABOUT
============================================ */
.about-section {
  padding: 80px 20px;
  background: var(--bg-dark);
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.maestra-img-directa {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 20px;
  display: block;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.3);
}

.about-content {
  flex: 1.2;
  min-width: 280px;
}

.about-subtitle {
  font-family: 'Lobster', cursive;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 25px;
  font-weight: 400;
}

.about-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 25px 0;
}

.area-tag {
  background: var(--bg-card);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.area-tag:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.about-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.about-whatsapp-btn:hover {
  background: #128C7E;
  transform: translateY(-3px);
}

/* ============================================
     MIS TRABAJOS
============================================ */
.services-clean {
  padding: 60px 20px;
  background-color: var(--bg-dark);
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 32px;
  padding: 20px 40px 40px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.modern-card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  border: 1px solid var(--border);
  text-align: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.modern-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

.card-overlay {
  position: relative;
  z-index: 2;
  padding: 30px;
  width: 100%;
  text-align: center;
}

.modern-card h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.modern-card p {
  color: #cbd5e1;
  line-height: 1.6;
  font-size: 0.9rem;
}

/* ============================================
     CONFIANZA CON IMAGEN DE FONDO
============================================ */
.trust-section {
  position: relative;
  padding: 60px 20px 80px 20px;
  overflow: hidden;
}

.trust-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img_trabajo/imagen_grande1.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.12;
  z-index: 0;
}

.trust-container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.trust-card {
  background: var(--bg-card);
  border-radius: 32px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.5);
}

.trust-card.urgent:hover { border-color: #f59e0b; }
.trust-card.private:hover { border-color: #22c55e; }

.trust-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  font-size: 40px;
}

.trust-card.urgent .trust-icon { color: #f59e0b; }
.trust-card.private .trust-icon { color: #22c55e; }

.pulse-icon {
  animation: softPulse 2s infinite;
}

@keyframes softPulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.trust-card h3 {
  color: var(--text-light);
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.trust-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 25px;
}

.trust-card strong { color: var(--text-light); }

.trust-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
}

.trust-card.urgent .trust-badge {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.trust-card.private .trust-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ============================================
     TESTIMONIOS CON CARRUSEL
============================================ */
.testimonial-section {
  background: var(--bg-dark);
  padding: 80px 20px;
  text-align: center;
}

.testimonial-section h2 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.testimonial-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 40px;
}

.testimonial-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 10px;
  width: 100%;
}

.t-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 15px;
  min-width: calc(50% - 10px);
  font-style: italic;
  color: var(--text-muted);
  border: 1px solid var(--border);
  position: relative;
}

.t-photo {
  position: absolute;
  bottom: 15px;
  left: 15px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary);
  background: var(--bg-dark);
}

.t-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  padding-right: 20px;
}

.t-author {
  margin-top: 15px;
  font-style: normal;
  color: var(--primary);
  text-align: right;
}

.t-location {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 5px;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.t-location i {
  font-size: 0.7rem;
  color: var(--primary);
}

.carousel-btn {
  background: var(--bg-card);
  border: 1px solid var(--primary);
  color: var(--primary);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--primary);
  color: var(--bg-dark);
  transform: scale(1.05);
}

.prev-btn { margin-right: 10px; }
.next-btn { margin-left: 10px; }

.testimonial-disclaimer {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 15px 20px;
  background: rgba(234, 179, 8, 0.08);
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.testimonial-disclaimer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.testimonial-disclaimer strong { color: var(--primary); }

/* ============================================
     FOOTER
============================================ */
.final-cta {
  text-align: center;
  padding: 100px 20px;
  background: #020202;
  border-top: 1px solid var(--border);
}

.final-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

.final-cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-muted);
}

.btn-whatsapp-big {
  background: #22c55e;
  color: white;
  padding: 18px 35px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
}

.btn-whatsapp-big:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

.float-pulse {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: #22c55e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 2s infinite;
  text-decoration: none;
  z-index: 1000;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ============================================
     RESPONSIVE - MÓVIL (MENÚ HAMBURGUESA Y CENTRADO)
=========================================== */
@media (max-width: 768px) {
  /* Menú hamburguesa */
  .menu-toggle {
    display: block;
  }
  
  .navbar-right {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: var(--bg-dark);
    border-right: 1px solid var(--border);
    transition: left 0.3s ease;
    z-index: 999;
    padding: 20px;
  }
  
  .navbar-right.active {
    left: 0;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  
  .nav-links a {
    font-size: 1.1rem;
    padding: 10px 0;
    width: 100%;
  }
  
  .btn-outline {
    width: 100%;
    text-align: center;
    padding: 10px;
  }
  
  /* Hero en móvil */
  .hero-title-serif {
    font-size: 2.2rem;
  }
  
  .hero-subtitle-lobster {
    font-size: 1.6rem;
  }
  
  .description-text {
    font-size: 0.9rem;
  }
  
  .feature-badge {
    padding: 5px 10px;
    font-size: 0.65rem;
    white-space: normal;
    text-align: center;
  }
  
  .hero-features {
    gap: 8px;
  }
  
  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .btn-main, .btn-link {
    width: 100%;
    max-width: 250px;
    text-align: center;
    justify-content: center;
  }
  
  /* About en móvil */
  .about-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .about-subtitle {
    font-size: 2rem;
    text-align: center;
  }
  
  .about-text {
    font-size: 0.9rem;
    text-align: center;
  }
  
  .about-areas {
    justify-content: center;
  }
  
  .maestra-img-directa {
    max-width: 280px;
  }
  
  /* Servicios en móvil */
  .services-inner {
    padding: 20px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .section-header p {
    font-size: 0.9rem;
  }
  
  .modern-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .modern-card {
    min-height: 350px;
  }
  
  .modern-card h3 {
    font-size: 1.3rem;
  }
  
  .modern-card p {
    font-size: 0.85rem;
  }
  
  /* Confianza en móvil */
  .trust-section {
    padding: 40px 20px;
  }
  
  .trust-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .trust-card {
    padding: 30px 20px;
  }
  
  .trust-card h3 {
    font-size: 1.4rem;
  }
  
  .trust-icon {
    width: 65px;
    height: 65px;
    font-size: 32px;
  }
  
  /* Testimonios en móvil */
  .testimonial-section {
    padding: 50px 20px;
  }
  
  .testimonial-section h2 {
    font-size: 1.8rem;
  }
  
  .testimonial-subtitle {
    font-size: 0.9rem;
  }
  
  .t-card {
    min-width: calc(100% - 10px);
  }
  
  .t-photo {
    width: 40px;
    height: 40px;
    bottom: 12px;
    left: 12px;
  }
  
  .t-card p {
    font-size: 0.85rem;
    padding-right: 15px;
  }
  
  .t-author {
    font-size: 0.9rem;
  }
  
  .t-location {
    font-size: 0.7rem;
  }
  
  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
  
  /* Footer en móvil */
  .final-cta {
    padding: 60px 20px;
  }
  
  .final-cta h2 {
    font-size: 1.8rem;
  }
  
  .final-cta p {
    font-size: 0.9rem;
  }
  
  .btn-whatsapp-big {
    padding: 14px 25px;
    font-size: 0.9rem;
  }
  
  /* Botón flotante en móvil */
  .float-pulse {
    width: 55px;
    height: 55px;
    font-size: 28px;
    bottom: 20px;
    right: 20px;
  }
  
  /* Alerta en móvil */
  .age-alert {
    width: 90%;
    min-width: auto;
    padding: 12px 15px;
  }
  
  .age-alert-content span {
    font-size: 0.7rem;
  }
  
  .close-alert {
    padding: 4px 8px;
    font-size: 0.8rem;
  }
}

/* ============================================
     TABLET (600px - 900px)
=========================================== */
@media (min-width: 600px) and (max-width: 900px) {
  .modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title-serif {
    font-size: 3rem;
  }
  
  .hero-subtitle-lobster {
    font-size: 2.2rem;
  }
}

/* ============================================
     ESCRITORIO (>900px)
=========================================== */
@media (min-width: 900px) {
  .modern-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}