* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-teal: #1bb8c9;
  --color-teal-dark: #159aaa;
  --color-pink: #e5006e;
  --color-pink-dark: #c0005c;
  --color-white: #ffffff;
  --color-dark: #222222;
  --color-gray: #666666;
  --color-light: #f5f5f5;
  --color-border: #e0e0e0;
  --font: 'Nunito', system-ui, sans-serif;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--color-dark);
  background: var(--color-white);
  overflow-x: hidden;
}

/* =========================================
   HEADER
========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 2px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 58px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  text-decoration: none;
  color: var(--color-pink);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-pink-dark);
}

.nav-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-icon-btn svg {
  width: 20px;
  height: 20px;
}

.nav-icon-btn:hover {
  color: var(--color-teal);
}

/* =========================================
   HERO SLIDER
========================================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #222;
}

.slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(1.5px);
}

.slide-content {
  position: relative;
  z-index: 3;
  padding: 0 140px;
  max-width: 580px;
}

.slide-title-accent {
  font-size: 4rem;
  font-weight: 900;
  color: var(--color-pink);
  line-height: 1;
  margin-bottom: 14px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 14px;
}

.click-icon {
  font-size: 2.6rem;
  display: inline-block;
  animation: wiggle 2s infinite;
  transform-origin: bottom center;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(14deg); }
  40% { transform: rotate(-10deg); }
  60% { transform: rotate(7deg); }
  80% { transform: rotate(-4deg); }
}

.slide-subtitle {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 28px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.35);
}

.btn-ingresar {
  display: inline-block;
  background: var(--color-teal);
  color: var(--color-white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 52px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(27,184,201,0.4);
}

.btn-ingresar:hover {
  background: var(--color-teal-dark);
  transform: translateY(-2px);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.22);
  border: none;
  color: white;
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}

.slider-btn:hover {
  background: rgba(255,255,255,0.4);
}

.slider-btn--prev { left: 14px; }
.slider-btn--next { right: 14px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.dot.active {
  background: var(--color-teal);
  transform: scale(1.2);
}

/* =========================================
   TURNOS SECTION
========================================= */
.turnos-section {
  background: var(--color-white);
  padding: 48px 32px;
  border-bottom: 1px solid var(--color-border);
}

.turnos-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.turnos-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.turnos-svg {
  width: 120px;
  height: 120px;
}

.turnos-icon svg {
  width: 120px;
  height: 120px;
}

.turnos-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.turnos-title {
  font-size: 3.4rem;
  font-weight: 900;
  font-family: 'Black Han Sans', var(--font);
  color: var(--color-pink);
  line-height: 1;
  margin: 0 0 -8px 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.turnos-subtitle {
  font-size: 3.8rem;
  font-weight: 800;
  font-family: 'Barlow Condensed', var(--font);
  color: var(--color-teal);
  line-height: 1;
  margin: 0;
  letter-spacing: -1px;
  text-transform: lowercase;
}

.turnos-subtitle-online {
  font-size: 3.8rem;
  font-weight: 800;
  font-family: 'Barlow Condensed', var(--font);
  color: var(--color-teal);
  line-height: 1;
  margin: 0;
  letter-spacing: -1px;
  text-transform: lowercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.turnos-manito {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.click-icon-sm {
  font-size: 1.1rem;
  display: inline-block;
  animation: wiggle 2s infinite;
  transform-origin: bottom center;
}

.turnos-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.btn-turno {
  display: block;
  background: var(--color-teal);
  color: var(--color-white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 0;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  width: 170px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 10px rgba(27,184,201,0.28);
}

.btn-turno:hover {
  background: var(--color-teal-dark);
  transform: translateY(-2px);
}

.btn-turno--pink {
  background: var(--color-pink);
  box-shadow: 0 2px 10px rgba(229,0,110,0.28);
}

.btn-turno--pink:hover {
  background: var(--color-pink-dark);
}

/* =========================================
   INFO SECTION
========================================= */
.info-section {
  background: linear-gradient(135deg, #1bb8c9 0%, #e5006e 100%);
  padding: 64px 32px;
}

.info-inner {
  max-width: 1060px;
  margin: 0 auto;
}

.info-heading {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.info-subheading {
  text-align: center;
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.info-tile {
  background: rgba(27, 184, 201, 0.52);
  border-radius: 12px;
  padding: 28px 14px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  text-decoration: none;
  color: var(--color-white);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.4;
  transition: background 0.2s, transform 0.2s;
  min-height: 140px;
}

.info-tile:hover {
  background: rgba(27, 184, 201, 0.8);
  transform: translateY(-4px);
}

.info-tile svg {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

/* =========================================
   USUARIOS / ATENCION AL USUARIO SECTION
========================================= */
.usuarios-section {
  background: var(--color-white);
  padding: 64px 32px;
  border-top: 1px solid var(--color-border);
}

.usuarios-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.usuarios-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.usuarios-icon svg {
  width: 160px;
  height: 130px;
}

.usuarios-svg {
  width: 160px;
  height: 130px;
}

.usuarios-text {
  flex: 1;
  min-width: 0;
}

.usuarios-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--color-pink);
  line-height: 1.05;
  margin-bottom: 10px;
}

.usuarios-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-teal);
  line-height: 1.5;
  margin-bottom: 22px;
}

.usuarios-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 400px;
}

.btn-usuario {
  display: block;
  background: var(--color-teal);
  color: var(--color-white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 20px;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 10px rgba(27,184,201,0.28);
}

.btn-usuario:hover {
  background: var(--color-teal-dark);
  transform: translateY(-2px);
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 48px 32px 0;
}

.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

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

.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-social a {
  color: rgba(255,255,255,0.68);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

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

.footer-social svg {
  width: 22px;
  height: 22px;
}

.footer-bottom {
  max-width: 1060px;
  margin: 0 auto;
  padding: 16px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* =========================================
   HAMBURGER + MOBILE NAV
========================================= */
.nav-hamburger { display: none; }

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 2px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  z-index: 99;
  flex-direction: column;
  padding: 4px 0 10px;
}

.site-header.nav-open .mobile-nav { display: flex; }

.mobile-nav a {
  text-decoration: none;
  color: var(--color-pink);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  padding: 14px 24px;
  border-bottom: 1px solid #f3f3f5;
  transition: background 0.18s, color 0.18s;
  display: flex;
  align-items: center;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { background: #f7f8fa; color: var(--color-pink-dark); }

.mobile-nav-cta {
  background: var(--color-teal) !important;
  color: #fff !important;
  margin: 8px 16px 0;
  border-radius: 8px;
  border-bottom: none !important;
  padding: 13px 20px !important;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(27,184,201,0.28);
}

.mobile-nav-cta:hover {
  background: var(--color-teal-dark) !important;
  color: #fff !important;
}

/* =========================================
   COOKIE BANNER
========================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #18181f;
  color: var(--color-white);
  padding: 12px 20px;
  box-shadow: 0 -4px 28px rgba(0,0,0,0.22);
  transform: translateY(110%);
  transition: transform 0.38s cubic-bezier(0.22,1,0.36,1);
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-banner-text span {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-link {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-teal);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s;
}

.cookie-link:hover { color: var(--color-white); }

.cookie-btn {
  font-family: var(--font);
  font-size: 0.77rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, transform 0.14s;
}

.cookie-btn--reject {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.80);
  border: 1.5px solid rgba(255,255,255,0.18);
}

.cookie-btn--reject:hover {
  background: rgba(255,255,255,0.18);
  color: var(--color-white);
}

.cookie-btn--accept {
  background: var(--color-teal);
  color: var(--color-white);
  box-shadow: 0 2px 10px rgba(27,184,201,0.35);
}

.cookie-btn--accept:hover {
  background: var(--color-teal-dark);
  transform: translateY(-1px);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.footer-contact a {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-teal);
  text-decoration: none;
  transition: color 0.18s;
}

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

.footer-contact-sep {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 600px) {
  .cookie-banner { padding: 10px 14px; }
  .cookie-banner-inner { gap: 10px; }
  .cookie-banner-actions { gap: 8px; }
  .cookie-btn { padding: 7px 13px; font-size: 0.72rem; }
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 900px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 768px) {
  .hero-slider { height: 380px; }
  .slide-content { padding: 0 64px; }
  .slide-title-accent { font-size: 2.6rem; }
  .slide-subtitle { font-size: 1.3rem; }

  .nav-link { display: none; }
  .nav-hamburger { display: flex; }

  .turnos-section { padding: 36px 20px; }
  .turnos-inner { flex-direction: column; text-align: center; gap: 24px; }
  .turnos-subtitle { justify-content: center; }
  .turnos-buttons { flex-direction: row; justify-content: center; }

  .info-section { padding: 48px 20px; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }

  .usuarios-section { padding: 48px 20px; }
  .usuarios-inner { flex-direction: column; text-align: center; gap: 28px; }
  .usuarios-btns { margin: 0 auto; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 480px) {
  .header-inner { height: 60px; padding: 0 16px; }
  .logo-img { height: 42px; }

  .hero-slider { height: 300px; }
  .slide-content { padding: 0 40px; }
  .slide-title-accent { font-size: 2rem; }
  .slide-subtitle { font-size: 1rem; margin-bottom: 18px; }
  .btn-ingresar { padding: 12px 32px; font-size: 0.9rem; }

  .turnos-section { padding: 28px 16px; }
  .turnos-title { font-size: 2.4rem; }
  .turnos-buttons { flex-direction: column; align-items: center; }
  .btn-turno { width: 180px; }

  .info-section { padding: 36px 16px; }
  .info-heading { font-size: 2rem; }
  .info-grid { gap: 10px; }

  .usuarios-section { padding: 36px 16px; }
  .usuarios-title { font-size: 2rem; }
  .usuarios-btns { grid-template-columns: 1fr; max-width: 280px; }

  .site-footer { padding: 36px 16px 0; }
}

@media (max-width: 360px) {
  .slide-content { padding: 0 28px; }
  .slide-title-accent { font-size: 1.7rem; }
  .slide-subtitle { font-size: 0.88rem; }
  .btn-ingresar { padding: 10px 22px; font-size: 0.84rem; }
}
