/* ===== VARIABLES ===== */
:root {
  --verde-suave: #7a9e7e;
  --verde-claro: #a8c5a0;
  --verde-palido: #e8f0e9;
  --tierra: #b5835a;
  --tierra-claro: #d4a574;
  --beige: #f5ede0;
  --beige-oscuro: #ede0cc;
  --terracota: #c17a5b;
  --blanco: #fdfcfa;
  --gris-texto: #4a4a4a;
  --gris-claro: #7a7a7a;
  --gris-borde: #e0d8d0;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --shadow-soft: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-medium: 0 8px 40px rgba(0,0,0,0.10);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.35s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--gris-texto);
  background: var(--blanco);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ===== UTILIDADES ===== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tierra);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gris-texto);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gris-claro);
  max-width: 580px;
  line-height: 1.7;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--verde-suave);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--verde-suave);
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  background: transparent;
  color: var(--verde-suave);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--verde-suave);
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--verde-suave);
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--verde-suave);
  color: #fff;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(253, 252, 250, 0.96);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--verde-suave);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gris-texto);
  line-height: 1.1;
}
.nav-logo-text span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gris-claro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links {
  display: none;
  list-style: none;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gris-texto);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--verde-suave);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--verde-suave); }
.nav-cta {
  font-size: 0.85rem !important;
  background: var(--verde-suave);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 50px;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--tierra) !important; }
.nav-cta::after { display: none !important; }
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gris-texto);
  border-radius: 2px;
  transition: all var(--transition);
}
.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); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--blanco);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; animation: fadeIn 0.3s ease; }
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gris-texto);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--verde-suave); }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--verde-palido) 0%, var(--beige) 60%, #f0e8de 100%);
  z-index: 0;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: var(--verde-claro);
  top: -200px; right: -100px;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: var(--tierra-claro);
  bottom: -100px; left: -100px;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding: 120px 0 80px;
  width: 100%;
}
.hero-content { max-width: 600px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--gris-borde);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gris-claro);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  animation: fadeUp 0.8s ease both;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--verde-suave);
  animation: float 2s ease-in-out infinite;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gris-texto);
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease 0.15s both;
}
.hero-title em {
  font-style: normal;
  color: var(--verde-suave);
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--gris-claro);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 500px;
  animation: fadeUp 0.8s ease 0.3s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeUp 0.8s ease 0.45s both;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.6s both;
}
.hero-stat-item { border-left: 3px solid var(--verde-suave); padding-left: 16px; }
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gris-texto);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--gris-claro);
  margin-top: 4px;
}
.hero-image-wrap {
  position: relative;
  display: none;
  animation: fadeIn 1s ease 0.3s both;
}
.hero-img-main {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-medium);
}
.hero-img-card {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-img-card-1 {
  bottom: 40px;
  left: -30px;
  animation: float 3s ease-in-out infinite;
}
.hero-img-card-2 {
  top: 40px;
  right: -20px;
  animation: float 3s ease-in-out 1.5s infinite;
}
.hero-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--verde-palido);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card-text { font-size: 0.85rem; }
.hero-card-text strong { display: block; color: var(--gris-texto); }
.hero-card-text span { color: var(--gris-claro); font-size: 0.75rem; }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-image-wrap { display: block; }
}

/* ===== SOBRE NOSOTROS ===== */
#nosotros {
  padding: 100px 0;
  background: var(--blanco);
}
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}
.nosotros-imgs {
  position: relative;
  height: 480px;
}
.nosotros-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 68%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-medium);
}
.nosotros-img-sec {
  position: absolute;
  bottom: 0; right: 0;
  width: 52%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-medium);
  border: 6px solid var(--blanco);
}
.nosotros-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--verde-suave);
  color: white;
  border-radius: 50%;
  width: 90px; height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(122,158,126,0.4);
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1.3;
  z-index: 2;
}
.nosotros-badge strong {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  display: block;
}
.nosotros-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.value-card {
  background: var(--verde-palido);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: transform var(--transition);
}
.value-card:hover { transform: translateY(-4px); }
.value-icon {
  width: 40px; height: 40px;
  background: var(--verde-suave);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.value-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gris-texto);
  margin-bottom: 6px;
}
.value-desc {
  font-size: 0.82rem;
  color: var(--gris-claro);
  line-height: 1.5;
}
@media (min-width: 900px) {
  .nosotros-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== SERVICIOS ===== */
#servicios {
  padding: 100px 0;
  background: var(--beige);
}
.servicios-header {
  text-align: center;
  margin-bottom: 60px;
}
.servicios-header .section-subtitle {
  margin: 0 auto;
}
.servicios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.servicio-card {
  background: var(--blanco);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.servicio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--verde-suave);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.servicio-card:hover::before { transform: scaleX(1); }
.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}
.servicio-card:nth-child(2)::before { background: var(--tierra); }
.servicio-card:nth-child(3)::before { background: var(--terracota); }
.servicio-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--verde-palido);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.servicio-card:nth-child(2) .servicio-icon { background: #f5ece3; }
.servicio-card:nth-child(3) .servicio-icon { background: #faeee8; }
.servicio-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gris-texto);
}
.servicio-desc {
  font-size: 0.93rem;
  color: var(--gris-claro);
  line-height: 1.7;
  margin-bottom: 20px;
}
.servicio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.servicio-tag {
  background: var(--verde-palido);
  color: var(--verde-suave);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}
.servicio-card:nth-child(2) .servicio-tag { background: #f5ece3; color: var(--tierra); }
.servicio-card:nth-child(3) .servicio-tag { background: #faeee8; color: var(--terracota); }
@media (min-width: 768px) { .servicios-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .servicios-grid { grid-template-columns: 1fr 1fr 1fr; } }

/* ===== EQUIPO CARRUSEL ===== */
#equipo {
  padding: 100px 0;
  background: var(--blanco);
}
.equipo-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.carousel-controls {
  display: flex;
  gap: 12px;
}
.carousel-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gris-borde);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--gris-texto);
}
.carousel-btn:hover {
  border-color: var(--verde-suave);
  background: var(--verde-suave);
  color: white;
}
.carousel-track-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  touch-action: pan-y;
}
.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.team-card {
  flex: 0 0 calc(100% - 24px);
  background: var(--blanco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}
.team-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
}
.team-info {
  padding: 24px;
}
.team-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gris-texto);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--verde-suave);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.team-bio {
  font-size: 0.88rem;
  color: var(--gris-claro);
  line-height: 1.6;
}
@media (min-width: 640px) {
  .team-card { flex: 0 0 calc(50% - 12px); }
}
@media (min-width: 1024px) {
  .team-card { flex: 0 0 calc(33.333% - 16px); }
}
.equipo-outer {
  position: relative;
}
.team-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--gris-borde);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gris-texto);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  z-index: 10;
  box-shadow: var(--shadow-soft);
}
.equipo-outer:hover .team-nav        { opacity: 1; }
.equipo-outer:hover .team-nav:disabled { opacity: 0.35; }
.team-nav:hover {
  background: var(--verde-suave);
  border-color: var(--verde-suave);
  color: white;
  box-shadow: var(--shadow-medium);
}
.team-nav:disabled { cursor: default; }
.team-nav:disabled:hover {
  background: white;
  border-color: var(--gris-borde);
  color: var(--gris-texto);
  box-shadow: var(--shadow-soft);
}
.team-nav-prev { left: -22px; }
.team-nav-next { right: -22px; }
@media (max-width: 639px) {
  .team-nav { display: none; }
}
.carousel-dots-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gris-borde);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
  flex-shrink: 0;
}
.carousel-dot.active {
  background: var(--verde-suave);
  width: 24px;
  border-radius: 4px;
}

/* ===== TESTIMONIOS ===== */
#testimonios {
  padding: 100px 0;
  background: var(--beige);
}
.testimonios-header {
  text-align: center;
  margin-bottom: 60px;
}
.testimonios-header .section-subtitle { margin: 0 auto; }
.test-carousel-wrap {
  overflow: hidden;
}
.test-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.test-card {
  flex: 0 0 100%;
  background: var(--blanco);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.test-quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--verde-claro);
  font-family: var(--font-serif);
  margin-bottom: 16px;
}
.test-text {
  font-size: 1rem;
  color: var(--gris-texto);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 28px;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.test-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--verde-palido);
}
.test-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gris-texto);
}
.test-service {
  font-size: 0.8rem;
  color: var(--verde-suave);
  font-weight: 600;
}
.test-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.star { color: var(--tierra-claro); font-size: 1rem; }
.test-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.test-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gris-borde);
  border: none;
  transition: all var(--transition);
  cursor: pointer;
}
.test-dot.active {
  background: var(--verde-suave);
  width: 28px;
  border-radius: 5px;
}
@media (min-width: 768px) {
  .test-card { flex: 0 0 calc(50% - 12px); }
}

/* ===== AGENDA ===== */
#agenda {
  padding: 100px 0;
  background: var(--blanco);
}
.agenda-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.agenda-intro .section-subtitle { max-width: 440px; }
.agenda-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.agenda-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--gris-claro);
}
.agenda-benefit-icon {
  width: 36px; height: 36px;
  background: var(--verde-palido);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.agenda-form-wrap {
  background: var(--beige);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.agenda-steps {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--beige-oscuro);
  padding: 4px;
}
.step-btn {
  flex: 1;
  padding: 10px 8px;
  border: none;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gris-claro);
  border-radius: 6px;
  transition: all var(--transition);
  text-align: center;
}
.step-btn.active {
  background: var(--verde-suave);
  color: white;
  box-shadow: 0 2px 8px rgba(122,158,126,0.4);
}
.step-panel { display: none; }
.step-panel.active { display: block; }
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gris-texto);
  margin-bottom: 8px;
}
.form-group select,
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gris-borde);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--gris-texto);
  background: white;
  transition: border-color var(--transition);
  outline: none;
}
.form-group select:focus,
.form-group input:focus {
  border-color: var(--verde-suave);
}
.dia-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 2px solid var(--gris-borde);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gris-texto);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  user-select: none;
}
.dia-tag input[type="checkbox"] { display: none; }
.dia-tag:has(input:checked) {
  border-color: var(--verde-suave);
  background: var(--verde-suave);
  color: white;
}
.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.time-slot {
  padding: 10px 6px;
  border: 2px solid var(--gris-borde);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gris-texto);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.time-slot:hover {
  border-color: var(--verde-suave);
  color: var(--verde-suave);
}
.time-slot.selected {
  border-color: var(--verde-suave);
  background: var(--verde-suave);
  color: white;
}
.time-slot.occupied {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}
.agenda-confirm {
  background: var(--verde-palido);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 20px;
}
.confirm-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--gris-borde);
}
.confirm-row:last-child { border: none; }
.confirm-label { color: var(--gris-claro); }
.confirm-value { font-weight: 600; color: var(--gris-texto); }
.agenda-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}
.success-icon {
  width: 72px; height: 72px;
  background: var(--verde-suave);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.agenda-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gris-texto);
  margin-bottom: 10px;
}
.agenda-success p {
  color: var(--gris-claro);
  font-size: 0.93rem;
}
@media (min-width: 900px) {
  .agenda-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== CONTACTO ===== */
#contacto {
  padding: 100px 0;
  background: var(--beige);
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.contacto-info-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}
.contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contacto-item-icon {
  width: 48px; height: 48px;
  background: var(--verde-palido);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contacto-item-text strong {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gris-texto);
  margin-bottom: 4px;
}
.contacto-item-text span {
  font-size: 0.9rem;
  color: var(--gris-claro);
}
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 36px;
}
.social-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--gris-claro);
}
.social-link:hover {
  background: var(--verde-suave);
  border-color: var(--verde-suave);
  color: white;
}
.mapa-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 300px;
}
.mapa-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.horarios {
  background: var(--blanco);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 24px;
  box-shadow: var(--shadow-soft);
}
.horarios-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--gris-texto);
}
.horario-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--verde-palido);
}
.horario-row:last-child { border: none; }
.horario-dia { color: var(--gris-claro); }
.horario-hora { font-weight: 600; color: var(--gris-texto); }
@media (min-width: 900px) {
  .contacto-grid { grid-template-columns: 1fr 1fr; }
  .mapa-wrap { height: 360px; }
}

/* ===== FOOTER ===== */
footer {
  background: #2c3e32;
  color: rgba(255,255,255,0.8);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo-text { color: rgba(255,255,255,0.9); }
.footer-brand .nav-logo-text span { color: rgba(255,255,255,0.5); }
.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
  opacity: 0.7;
  max-width: 280px;
}
.footer-col-title {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--verde-claro);
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 0.88rem;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.footer-links a:hover { opacity: 1; color: var(--verde-claro); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  opacity: 0.6;
}
.made-by-lukami {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
  color: inherit;
  opacity: 1;
  font-size: 0.78rem;
  font-weight: 500;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}
.made-by-lukami img { border-radius: 4px; display: block; }
.made-by-lukami:hover { opacity: 1; border-color: rgba(255,255,255,0.4); }
.footer-intranet-link {
  color: var(--verde-claro);
  opacity: 1;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-intranet-link:hover { opacity: 0.8; }
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ===== SMALL SCREENS (≤ 480px) ===== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero-title { font-size: 2.1rem; }
  .hero-inner { padding: 100px 0 60px; }
  .hero-desc { font-size: 1rem; }
  .hero-stats { gap: 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .section-title { font-size: 1.8rem; }

  #nosotros,
  #servicios,
  #equipo,
  #testimonios,
  #agenda,
  #contacto { padding: 72px 0; }

  .nosotros-values { grid-template-columns: 1fr; }

  .servicio-card { padding: 28px 24px; }

  .agenda-form-wrap { padding: 24px 16px; }
  .agenda-steps { gap: 0; }
  .step-btn { font-size: 0.72rem; padding: 10px 4px; }

  .test-card { padding: 28px 20px; }

  .mapa-wrap { height: 240px; }

  .nosotros-imgs {
    height: 320px;
  }
  .nosotros-img-main { height: 260px; }
  .nosotros-img-sec  { height: 180px; }
  .nosotros-badge    { width: 72px; height: 72px; font-size: 0.6rem; }
  .nosotros-badge strong { font-size: 1.2rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== MEDIUM-SMALL (≤ 640px) ===== */
@media (max-width: 640px) {
  .container { padding: 0 20px; }

  #nosotros, #servicios, #equipo,
  #testimonios, #agenda, #contacto { padding: 80px 0; }

  .nosotros-imgs { height: 360px; }
  .nosotros-img-main { height: 270px; }
  .nosotros-img-sec  { height: 200px; }

  .time-slots { grid-template-columns: repeat(2, 1fr); }
  .agenda-form-wrap { padding: 32px 20px; }

  .hero-desc { font-size: 1rem; }
  .hero-stats { gap: 24px; }
}

/* ===== SCROLL TO TOP ===== */
#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  background: var(--verde-suave);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(122,158,126,0.4);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 900;
}
#scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}
#scroll-top:hover { background: var(--tierra); transform: translateY(-3px); }
