/* ═══════════════════════════════════════════════════════════
   SUPERMERCADO MENDOZA — Stylesheet
   Design: Fresh Green + Amber | Rubik + Nunito Sans
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --green-900: #1B4332;
  --green-800: #2D6A4F;
  --green-600: #40916C;
  --green-400: #52B788;
  --green-100: #D8F3DC;
  --green-50:  #F0FAF3;
  --amber:     #F4A261;
  --amber-dark:#E07D3C;
  --teal:      #457B9D;
  --red:       #E63946;
  --purple:    #8338EC;
  --brown:     #6B3E26;

  --bg:        #FAFFFE;
  --surface:   #FFFFFF;
  --surface-2: #F0FAF3;
  --text:      #0D1B14;
  --text-2:    #374151;
  --text-3:    #6B7280;
  --border:    #D1FAE5;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --transition: 200ms cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-800); text-decoration: none; }
a:focus-visible { outline: 3px solid var(--green-400); outline-offset: 3px; border-radius: 4px; }
button:focus-visible { outline: 3px solid var(--green-400); outline-offset: 3px; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: 'Rubik', sans-serif;
  line-height: 1.2;
  color: var(--text);
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }

/* ═══════════════════ NAVBAR ═══════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
.logo-img-footer {
  height: 60px;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}
.nav-link:hover { background: var(--green-100); color: var(--green-800); }
.nav-link-cta {
  background: var(--green-800);
  color: white !important;
  margin-left: 8px;
}
.nav-link-cta:hover { background: var(--green-600) !important; }
.navbar:not(.scrolled) .nav-link { color: rgba(255,255,255,.9); }
.navbar:not(.scrolled) .nav-link:hover { background: rgba(255,255,255,.15); color: white; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.navbar:not(.scrolled) .hamburger span { background: white; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════ BUTTONS ═══════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--green-800);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--green-600); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(45,106,79,.3); }
.btn-primary:active { transform: scale(.97); }
.btn-primary.btn-full { width: 100%; justify-content: center; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,.15);
  color: white;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: var(--radius);
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,.25); border-color: white; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  color: var(--green-800);
  border: 2px solid var(--green-800);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--green-800); color: white; }

.btn-directions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--green-50);
  color: var(--green-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-directions:hover { background: var(--green-800); color: white; }

/* ═══════════════════ SECTION HEADERS ═══════════════════ */
.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green-600);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 60px; }

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,20,.82) 0%, rgba(45,106,79,.55) 60%, rgba(13,27,20,.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  color: white;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  color: white;
  text-align: center;
  max-width: 720px;
}
.hero-accent { color: var(--amber); display: block; text-align: center; }
.hero-speciality {
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  color: var(--amber);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
  list-style: none;
}
.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: rgba(255,255,255,.9);
  font-weight: 600;
  line-height: 1.5;
}
.hero-bullets li svg { flex-shrink: 0; margin-top: 3px; color: var(--green-400); }
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
  display: none;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat { padding: 0 32px 0 0; }
.stat:first-child { padding-left: 0; }
.stat-num {
  display: block;
  font-family: 'Rubik', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.25);
  margin-right: 32px;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════ ABOUT ═══════════════════ */
.about { background: var(--surface); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.media-stack {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.media-main {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.media-thumb {
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 180px;
  height: 180px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 4px solid white;
  box-shadow: var(--shadow-lg);
}
.media-badge-float {
  position: absolute;
  top: 24px;
  left: -20px;
  background: white;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .85rem;
  color: var(--green-800);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
}
.about-text .section-eyebrow { margin-bottom: 12px; }
.about-lead {
  font-size: 1.15rem;
  color: var(--text-2);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.7;
}
.about-body { color: var(--text-2); margin-bottom: 36px; }
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.value-card {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--surface-2);
  border-radius: var(--radius);
  align-items: flex-start;
}
.value-card strong { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 2px; }
.value-card p { font-size: .82rem; color: var(--text-3); margin: 0; }
.value-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-icon.green { background: var(--green-100); color: var(--green-800); }
.value-icon.amber { background: #FEF3C7; color: #92400E; }
.value-icon.teal { background: #DBEAFE; color: #1E40AF; }
.value-icon.orange { background: #FFEDD5; color: #9A3412; }

/* ═══════════════════ VIDEO SECTION ═══════════════════ */
.video-section { padding: 0; background: var(--green-900); }
.video-wrapper {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  max-height: 520px;
}
.promo-video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  max-height: 520px;
}
.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(13,27,20,.5);
  cursor: pointer;
  transition: background var(--transition);
  color: white;
  gap: 16px;
}
.video-play-overlay:hover { background: rgba(13,27,20,.35); }
.video-play-overlay p { font-weight: 700; font-size: 1.1rem; }
.video-play-overlay.hidden { display: none; }
.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}
.play-btn:hover { transform: scale(1.1); background: rgba(255,255,255,.3); }

/* ═══════════════════ SECCIONES ═══════════════════ */
.sections-area { background: var(--surface-2); }
.sections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dept-card-wide { grid-column: span 3; }
@media (min-width: 768px) {
  .dept-card-wide { display: grid; grid-template-columns: 1fr 1fr; }
  .dept-card-wide .dept-img-wrap { height: 100%; }
  .dept-card-wide .dept-img-wrap img { height: 100%; object-fit: cover; }
}
.dept-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.dept-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dept-img-wrap { position: relative; }
.dept-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.dept-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 100px;
  color: white;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.dept-body { padding: 20px 22px 24px; }
.dept-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.dept-body p { font-size: .9rem; color: var(--text-2); margin-bottom: 14px; }
.dept-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dept-features li {
  font-size: .82rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dept-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, var(--green-400));
  flex-shrink: 0;
}

/* ═══════════════════ HORARIOS ═══════════════════ */
.horarios-section {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  position: relative;
  overflow: hidden;
}
.horarios-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(82,183,136,.15) 0%, transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(244,162,97,.1) 0%, transparent 50%);
}
.horarios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}
.horario-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.horario-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.store-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.horario-header h3 { font-size: 1.4rem; font-weight: 700; color: white; margin-bottom: 4px; }
.store-address { font-size: .85rem; color: rgba(255,255,255,.65); }
.schedule-table { display: flex; flex-direction: column; gap: 0; }
.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.schedule-row:last-child { border-bottom: none; }
.day-range { font-size: .9rem; color: rgba(255,255,255,.75); }
.hours { font-weight: 700; color: white; font-size: .95rem; font-family: 'Rubik', sans-serif; }
.schedule-row.festivos .hours { color: var(--amber); }
.open-now {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}
.open-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ADE80;
  animation: pulse 2s ease-in-out infinite;
}
.open-dot.closed { background: #F87171; animation: none; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
  50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
.horarios-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 32px;
  padding: 16px 20px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  color: rgba(255,255,255,.7);
  font-size: .875rem;
  border: 1px solid rgba(255,255,255,.1);
}

/* ═══════════════════ LISTA DE LA COMPRA ═══════════════════ */
.lista-section { background: var(--surface); }
.lista-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.lista-info .section-title { text-align: left; font-size: 2.2rem; }
.lista-info p { color: var(--text-2); margin-bottom: 28px; }
.lista-features { display: flex; flex-direction: column; gap: 10px; }
.lista-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  color: var(--text-2);
  font-weight: 600;
}

/* ═══════════════════ FORMS ═══════════════════ */
.lista-form, .empleo-form, .contacto-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.lista-form h3, .empleo-form h3, .contacto-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group:last-of-type { margin-bottom: 0; }

label {
  font-size: .875rem;
  font-weight: 700;
  color: var(--text);
}
label span[aria-hidden="true"] { color: var(--red); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Nunito Sans', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(64,145,108,.15);
}
input::placeholder, textarea::placeholder { color: var(--text-3); }
textarea { resize: vertical; min-height: 90px; }
select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

.field-error { font-size: .8rem; color: var(--red); min-height: 18px; }

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

.radio-group { display: flex; gap: 20px; }
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
}
.radio-label input[type="radio"] { display: none; }
.radio-custom {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 50%;
  position: relative;
  transition: border-color var(--transition);
  flex-shrink: 0;
}
.radio-label input:checked + .radio-custom {
  border-color: var(--green-800);
}
.radio-label input:checked + .radio-custom::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--green-800);
  border-radius: 50%;
}

.checkbox-group { flex-direction: row !important; align-items: flex-start; gap: 10px !important; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 5px;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: all var(--transition);
}
.checkbox-label input:checked + .checkbox-custom {
  background: var(--green-800);
  border-color: var(--green-800);
}
.checkbox-label input:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: 2px solid white;
  border-left: none;
  border-top: none;
  transform: rotate(45deg);
}

.lista-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.lista-item-row { display: grid; grid-template-columns: 1fr 100px; gap: 8px; }
.lista-item-input, .lista-qty-input { margin: 0 !important; }
.btn-add-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--green-50);
  color: var(--green-800);
  border: 1.5px dashed var(--green-400);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-add-item:hover { background: var(--green-100); }

/* File Upload */
.file-upload { position: relative; cursor: pointer; }
.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
  border: none;
  padding: 0;
  box-shadow: none;
}
.file-upload-ui {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: border-color var(--transition), background var(--transition);
  text-align: center;
}
.file-upload:hover .file-upload-ui { border-color: var(--green-400); background: var(--green-50); }
#fileLabel { font-size: .9rem; color: var(--text-2); }
.file-types { font-size: .78rem; color: var(--text-3); }

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--green-800);
}
.hidden { display: none !important; }

/* ═══════════════════ EMPLEO ═══════════════════ */
.empleo-section { background: var(--surface-2); }
.empleo-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.empleo-img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
}
.empleo-perks h3 { font-size: 1.2rem; margin-bottom: 16px; }
.perks-list { display: flex; flex-direction: column; gap: 12px; }
.perks-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  color: var(--text-2);
  font-weight: 600;
}

/* ═══════════════════ CONTACTO ═══════════════════ */
.contacto-section { background: var(--surface); }
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--surface-2);
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--green-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-800);
  flex-shrink: 0;
}
.contact-card h4 { font-size: .85rem; color: var(--text-3); font-weight: 700; margin-bottom: 4px; }
.contact-link { font-weight: 700; color: var(--green-800); font-size: .95rem; display: block; margin-bottom: 2px; }
.contact-link:hover { color: var(--green-600); text-decoration: underline; }
.contact-sub { font-size: .8rem; color: var(--text-3); }
.contact-addr { font-size: .875rem; color: var(--text-2); font-weight: 600; margin-bottom: 2px; }
.social-links { display: flex; gap: 12px; margin-top: 4px; }
.social-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green-800);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.social-link:hover { background: var(--green-800); color: white; }

/* ═══════════════════ UBICACIÓN ═══════════════════ */
.ubicacion-section { background: var(--surface-2); }
.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.map-card { background: white; }
.map-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--green-800);
  background: var(--green-50);
  border-bottom: 1px solid var(--border);
}
.map-embed iframe { display: block; }
.map-footer {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
}
.map-footer p { font-size: .85rem; color: var(--text-2); font-weight: 600; }

/* ═══════════════════ PRIVACIDAD ═══════════════════ */
.privacidad-section { background: var(--surface); }
.privacy-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.privacy-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.priv-tab {
  padding: 10px 22px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-weight: 700;
  font-size: .9rem;
  color: var(--text-3);
  transition: all var(--transition);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.priv-tab:hover { color: var(--green-800); }
.priv-tab.active { color: var(--green-800); border-bottom-color: var(--green-800); }

.priv-content h3 {
  font-size: 1.1rem;
  margin: 28px 0 10px;
  color: var(--text);
}
.priv-content h3:first-child { margin-top: 0; }
.priv-content p { color: var(--text-2); margin-bottom: 12px; line-height: 1.7; }
.priv-content ul { margin-left: 20px; margin-bottom: 12px; }
.priv-content ul li { list-style: disc; color: var(--text-2); margin-bottom: 8px; line-height: 1.6; }

.cookies-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 16px 0;
}
.cookie-row {
  display: grid;
  grid-template-columns: 140px 160px 100px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cookie-row:last-child { border-bottom: none; }
.cookie-row.header { background: var(--surface-2); font-weight: 700; font-size: .8rem; color: var(--text-3); }
.cookie-row span { padding: 12px 14px; font-size: .85rem; color: var(--text-2); }
.cookie-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
}
.cookie-badge.necessary { background: #D1FAE5; color: #065F46; }
.cookie-badge.analytics { background: #DBEAFE; color: #1E3A8A; }
.cookie-badge.functional { background: #FEF3C7; color: #92400E; }

/* ═══════════════════ FOOTER ═══════════════════ */
.footer {
  background: var(--green-900);
  color: rgba(255,255,255,.8);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer .logo-name { color: white; }
.footer .logo-sub { color: rgba(255,255,255,.5); }
.footer-tagline { font-size: .9rem; color: rgba(255,255,255,.6); margin: 14px 0 20px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; }
.footer-social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
}
.footer-social-link:hover { background: var(--green-600); color: white; }

.footer-nav-group h4 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-nav-group nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-group a {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-nav-group a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
}

/* ═══════════════════ BACK TO TOP ═══════════════════ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--green-800);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--green-600); transform: translateY(-2px); }

/* ═══════════════════ COOKIE BANNER ═══════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--green-900);
  color: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  max-width: 580px;
  width: calc(100% - 32px);
  transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.cookie-banner.hidden {
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-content {
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  gap: 16px;
}
.cookie-icon { font-size: 1.6rem; }
.cookie-content p { font-size: .88rem; color: rgba(255,255,255,.8); line-height: 1.6; }
.cookie-content a { color: var(--amber); }
.cookie-actions { display: flex; gap: 10px; }
.btn-cookie-accept {
  flex: 1;
  padding: 10px 18px;
  background: var(--green-400);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .875rem;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-cookie-accept:hover { background: var(--green-600); }
.btn-cookie-reject {
  flex: 1;
  padding: 10px 18px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .875rem;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-cookie-reject:hover { background: rgba(255,255,255,.2); }

/* ═══════════════════ MEDIA QUERIES ═══════════════════ */
@media (max-width: 1024px) {
  .sections-grid { grid-template-columns: repeat(2, 1fr); }
  .dept-card-wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid { gap: 48px; }
}

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

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 20px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-link { width: 100%; padding: 12px 16px; color: var(--text) !important; }
  .nav-link-cta { margin-left: 0 !important; margin-top: 8px; }
  .hamburger { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .media-thumb { width: 120px; height: 120px; right: -12px; bottom: -16px; }
  .values-grid { grid-template-columns: 1fr; }

  .sections-grid { grid-template-columns: 1fr; }
  .dept-card-wide { grid-column: auto; display: block; }

  .horarios-grid { grid-template-columns: 1fr; gap: 24px; }

  .lista-inner { grid-template-columns: 1fr; gap: 40px; }
  .empleo-grid { grid-template-columns: 1fr; gap: 40px; }
  .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
  .maps-grid { grid-template-columns: 1fr; }

  .hero-title { font-size: 2.5rem; }
  .hero-stats { gap: 0; }
  .stat { padding: 0 20px 0 0; }
  .stat-divider { margin-right: 20px; }
  .stat-num { font-size: 1.8rem; }

  .form-row { grid-template-columns: 1fr; }
  .cookie-row { grid-template-columns: 1fr; }
  .cookie-row span:not(:first-child) { border-top: 1px solid var(--border); }
  .cookie-row.header { display: none; }

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

  .lista-form, .empleo-form, .contacto-form { padding: 24px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions a { width: 100%; justify-content: center; }
  .horario-card { padding: 22px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
