/* ============================================
   Mi Chanchito — Design System
   Confianza · cariño · aprendizaje · profesionalismo
   Fuentes: includes/header.php (Nunito + Nunito Sans)
   ============================================ */

:root {
  /* Identidad institucional */
  --cream: #fff9f0;
  --cream-deep: #f3ebe0;
  --white: #ffffff;
  --sage: #8faf9a;
  --sage-soft: #dce8e0;
  --sage-deep: #355b49;
  --butter: #f5d982;
  --butter-soft: #faf0c8;
  --peach: #f3c7b5;
  --peach-soft: #f9e4da;
  --peach-deep: #d4a08e;
  --ink: #343a36;
  --ink-soft: #5a635e;
  --ink-muted: #8a928c;

  /* Alias legacy (sky/mint/coral → nueva paleta) */
  --sky: var(--sage);
  --sky-soft: var(--sage-soft);
  --sky-deep: var(--sage-deep);
  --mint: var(--sage);
  --mint-soft: var(--sage-soft);
  --mint-deep: var(--sage-deep);
  --coral: var(--peach);
  --coral-soft: var(--peach-soft);
  --coral-deep: var(--peach-deep);
  --blush: #efc4c8;

  --rosa: var(--peach);
  --rosa-soft: var(--peach-soft);
  --rosa-deep: var(--peach-deep);
  --verde: var(--sage-deep);
  --verde-2: var(--sage);
  --verde-soft: var(--sage-soft);
  --crema: var(--cream);
  --crema-deep: var(--cream-deep);
  --shadow: 0 10px 30px rgba(53, 91, 73, 0.1);
  --shadow-soft: 0 4px 16px rgba(53, 91, 73, 0.07);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --radius-pill: 999px;
  --font-display: 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito Sans', 'Nunito', system-ui, sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.85rem);
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 400;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--sage-deep);
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-display);
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sage-deep);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--peach-deep);
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.15rem, 5vw, 3.35rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }

p { color: var(--ink-soft); }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Soft atmospheric accents ---------- */
.magic-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 40% at 90% 8%, rgba(143, 175, 154, 0.16), transparent 70%),
    radial-gradient(ellipse 45% 35% at 8% 70%, rgba(243, 199, 181, 0.14), transparent 70%),
    radial-gradient(ellipse 40% 30% at 70% 90%, rgba(245, 217, 130, 0.1), transparent 70%);
}

.magic-bg .star,
.magic-bg .cloud,
.magic-bg .spark {
  position: absolute;
  opacity: 0.28;
}

.magic-bg .star {
  width: 8px;
  height: 8px;
  background: var(--butter);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.magic-bg .cloud {
  width: 64px;
  height: 26px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 40px;
}

.magic-bg .cloud::before,
.magic-bg .cloud::after {
  content: '';
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.magic-bg .cloud::before {
  width: 32px;
  height: 32px;
  top: -14px;
  left: 10px;
}

.magic-bg .cloud::after {
  width: 26px;
  height: 26px;
  top: -10px;
  right: 12px;
}

.magic-bg .spark {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--peach);
}

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.85); }
  50% { opacity: 0.7; transform: scale(1.15); }
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(40px); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 249, 240, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(143, 175, 154, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  z-index: 101;
}

.logo:hover { color: var(--sage-deep); }

.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--sage-deep);
  background: var(--sage-soft);
}

.nav a:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

.nav a.nav-docentes {
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-weight: 600;
  margin-left: 0.75rem;
  padding-left: 0.95rem;
  border-left: 1px solid rgba(143, 175, 154, 0.45);
}

.nav a.nav-docentes:hover,
.nav a.nav-docentes.active {
  color: var(--sage-deep);
  background: var(--sage-soft);
}

.nav-cta {
  margin-left: 0.45rem;
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .nav {
    gap: 0.1rem;
  }

  .nav a {
    font-size: 0.86rem;
    padding: 0.4rem 0.45rem;
  }

  .nav a.nav-docentes {
    font-size: 0.8rem;
  }

  .nav-cta {
    padding: 0.55rem 0.9rem;
    font-size: 0.88rem;
  }
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--sage-soft);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  z-index: 101;
}

.menu-toggle:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 2px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: 0.25s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, color 0.2s;
  text-decoration: none;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--sage-deep);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(53, 91, 73, 0.22);
}

.btn-primary:hover {
  background: #2a4a3b;
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--sage-deep);
  border-color: rgba(143, 175, 154, 0.65);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background: var(--sage-soft);
  color: var(--sage-deep);
  border-color: var(--sage);
}

.btn-outline {
  background: transparent;
  border-color: var(--sage-deep);
  color: var(--sage-deep);
}

.btn-outline:hover {
  background: var(--sage-soft);
  color: var(--sage-deep);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  width: min(42vw, 320px);
  height: min(42vw, 320px);
  left: -8%;
  top: 12%;
  background: rgba(143, 175, 154, 0.14);
}

.hero::after {
  width: min(36vw, 260px);
  height: min(36vw, 260px);
  right: -6%;
  bottom: 8%;
  background: rgba(243, 199, 181, 0.18);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.hero-brand {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--sage-soft);
}

.hero h1 {
  margin-bottom: 1.1rem;
  max-width: 15ch;
  color: var(--sage-deep);
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 40ch;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(160deg, var(--sage-soft) 0%, var(--cream) 45%, var(--peach-soft) 100%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: 2;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-visual .deco {
  position: absolute;
  pointer-events: none;
  z-index: 3;
}

.hero-visual .deco-star {
  top: 10%;
  right: 9%;
  width: 26px;
  opacity: 0.75;
}

.hero-visual .deco-cloud {
  bottom: 12%;
  left: 7%;
  width: 58px;
  opacity: 0.8;
}

/* ---------- Sections ---------- */
main {
  position: relative;
  z-index: 1;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--cream-deep) 0%, var(--cream) 100%);
}

.section-mint {
  background: linear-gradient(165deg, var(--sage-soft) 0%, rgba(255, 249, 240, 0.9) 55%, var(--peach-soft) 100%);
}

.section-values {
  padding: 2.25rem 0;
  background: var(--white);
  border-block: 1px solid rgba(143, 175, 154, 0.18);
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.75rem;
}

.section-head p {
  margin-top: 0.75rem;
}

.section-head--compact {
  margin-bottom: 1.5rem;
}

.section-head--compact h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.5rem;
}

/* ---------- Value chips (compact strip) ---------- */
.values-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.value-item {
  text-align: center;
  padding: 1.1rem 0.85rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid rgba(143, 175, 154, 0.2);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.value-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(143, 175, 154, 0.45);
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.85rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease);
}

.value-icon img,
.icon-wrap img {
  width: 36px;
  height: 36px;
}

.value-item:hover .value-icon {
  transform: scale(1.06);
}

.value-item h3 {
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.value-item p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---------- Service blocks (cards for interaction) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(143, 175, 154, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(53, 91, 73, 0.28);
}

.service-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: var(--butter-soft);
}

.service-card:nth-child(2) .icon-wrap { background: var(--sky-soft); }
.service-card:nth-child(3) .icon-wrap { background: var(--mint-soft); }
.service-card:nth-child(4) .icon-wrap { background: var(--coral-soft); }
.service-card:nth-child(5) .icon-wrap { background: var(--blush); }
.service-card:nth-child(6) .icon-wrap { background: var(--butter-soft); }

.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { font-size: 0.98rem; }

/* ---------- About / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-media {
  border-radius: 1.75rem;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: linear-gradient(135deg, var(--sky), var(--mint));
  box-shadow: var(--shadow);
  position: relative;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.mission-block {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border-left: 4px solid var(--mint);
}

.mission-block:nth-child(2) { border-left-color: var(--sky); }
.mission-block:nth-child(3) { border-left-color: var(--butter); }
.mission-block:nth-child(4) { border-left-color: var(--coral); }

.mission-block h3 {
  margin-bottom: 0.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-member {
  text-align: center;
}

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(145deg, var(--sky-soft), var(--coral-soft));
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease);
}

.team-member:hover .team-photo {
  transform: scale(1.05);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 { font-size: 1.15rem; }
.team-member .role {
  color: var(--sage-deep);
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0.25rem 0 0.5rem;
}

/* ---------- Steps / matriculas ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.5rem 1rem 1.25rem;
  text-align: center;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--sky);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.step h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.step p { font-size: 0.92rem; }

.steps-detailed .step {
  text-align: left;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.35rem 1.15rem 1.35rem;
}

.steps-detailed .step::before {
  margin-left: 0;
  margin-right: auto;
}

.steps-detailed .step p + p {
  margin-top: 0.55rem;
}

.step-docs {
  margin-top: 0.5rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.step-docs li {
  list-style: disc;
  margin-bottom: 0.25rem;
}

.matricula-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.info-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(143, 175, 154, 0.35);
}

.info-panel h3 {
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}

.info-panel-subtitle {
  margin-top: 1.5rem;
  margin-bottom: 0.85rem;
  font-size: 1.15rem;
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.doc-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
}

.doc-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--mint-deep);
  font-size: 0.75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}

.grado-list,
.jornada-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.grado-list li,
.jornada-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--cream);
}

.grado-name,
.jornada-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.grado-edad,
.jornada-hora {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--mint-deep);
  white-space: nowrap;
}

.jornada-list li {
  background: var(--mint-soft);
}

.info-panel-contact {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(143, 175, 154, 0.55);
}

.info-panel-contact h4 {
  font-size: 1.05rem;
  margin: 0.2rem 0 0.65rem;
}

.info-panel-contact p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 0.2rem;
}

.info-panel-address {
  margin-top: 0.45rem !important;
  font-size: 0.88rem !important;
  color: var(--ink-muted) !important;
}

.tarifas {
  display: grid;
  gap: 2rem;
  max-width: 920px;
  margin: 0 auto;
}

.tarifa-destacada {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(109, 179, 154, 0.22), var(--cream) 55%, rgba(245, 208, 200, 0.35));
  border: 2px solid var(--mint-deep);
  border-radius: var(--radius);
  padding: 1.85rem 1.5rem 2rem;
  box-shadow: 0 12px 32px rgba(109, 179, 154, 0.2);
}

.tarifa-badge {
  display: inline-block;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--mint-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tarifa-destacada-body h3 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.tarifa-destacada-valor {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 6vw, 3.15rem);
  color: var(--mint-deep);
  line-height: 1;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.tarifa-destacada-nota {
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.tarifas-mensuales-head {
  text-align: center;
  margin-bottom: 1rem;
}

.tarifas-mensuales-head h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.tarifas-mensuales-head p {
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.tarifas-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(143, 175, 154, 0.45);
  box-shadow: var(--shadow);
}

.tarifas-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.tarifas-table th,
.tarifas-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  vertical-align: middle;
}

.tarifas-table thead th {
  background: rgba(248, 250, 252, 0.98);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.tarifas-table .col-grado {
  text-align: left;
  width: 36%;
}

.tarifas-table .col-valor {
  text-align: right;
  width: 32%;
}

.tarifas-table tbody th.col-grado {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  background: transparent;
}

.tarifas-table tbody tr:nth-child(odd) {
  background: rgba(248, 250, 252, 0.85);
}

.tarifas-table tbody tr:nth-child(even) {
  background: var(--white);
}

.tarifas-table tbody tr:last-child th,
.tarifas-table tbody tr:last-child td {
  border-bottom: none;
}

.tarifas-table tbody tr:hover {
  background: rgba(212, 239, 229, 0.55);
}

.tarifa-monto {
  display: inline-block;
  min-width: 6.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
}

.tarifas-table tbody tr:hover .tarifa-monto {
  background: var(--mint-soft);
  color: var(--mint-deep);
}

@media (max-width: 720px) {
  .tarifas {
    gap: 1.35rem;
  }

  .tarifa-destacada {
    gap: 0.65rem;
    padding: 1.15rem 1rem 1.35rem;
    border-width: 1.5px;
  }

  .tarifa-badge {
    font-size: 0.7rem;
    padding: 0.32rem 0.75rem;
  }

  .tarifa-destacada-body h3 {
    font-size: 1.2rem;
  }

  .tarifa-destacada-valor {
    font-size: 1.85rem;
  }

  .tarifa-destacada-nota {
    font-size: 0.85rem;
  }

  .tarifas-mensuales-head {
    margin-bottom: 0.75rem;
    padding-inline: 0.25rem;
  }

  .tarifas-mensuales-head h3 {
    font-size: 1.1rem;
  }

  .tarifas-mensuales-head p {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .tarifas-table-wrap {
    border: none;
    box-shadow: none;
    background: transparent;
    overflow: visible;
  }

  .tarifas-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 0.65rem;
  }

  .tarifas-table thead {
    display: none;
  }

  .tarifas-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 0.65rem;
    padding: 0.85rem 0.9rem;
    background: var(--white) !important;
    border: 1px solid rgba(143, 175, 154, 0.45);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
  }

  .tarifas-table tbody th,
  .tarifas-table tbody td {
    display: block;
    width: auto;
    padding: 0;
    border: none;
    text-align: left;
  }

  .tarifas-table tbody th.col-grado {
    grid-column: 1 / -1;
    font-size: 1rem;
    margin-bottom: 0.15rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px dashed rgba(143, 175, 154, 0.5);
  }

  .tarifas-table tbody td.col-valor {
    text-align: left;
  }

  .tarifas-table tbody td.col-valor::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }

  .tarifa-monto {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    font-size: 0.95rem;
    padding: 0.45rem 0.5rem;
  }

  .tarifas-table tbody tr:hover {
    background: var(--white) !important;
  }

  .tarifas-table tbody tr:hover .tarifa-monto {
    background: var(--cream);
    color: var(--ink);
  }
}

.pago-cupo {
  background: linear-gradient(145deg, var(--mint-soft), var(--cream));
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(109, 179, 154, 0.35);
}

.pago-cupo h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}

.pago-cupo-datos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
}

.pago-cupo-datos dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.15rem;
}

.pago-cupo-datos dd {
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 600;
}

.pago-cupo--alerta {
  background:
    linear-gradient(135deg, rgba(232, 160, 144, 0.28), rgba(245, 208, 200, 0.55) 40%, var(--cream) 100%);
  border: 2px solid var(--coral);
  box-shadow: 0 10px 28px rgba(212, 122, 104, 0.18);
  position: relative;
  overflow: hidden;
}

.pago-cupo--alerta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--coral-deep), var(--coral));
}

.pago-cupo--alerta .eyebrow {
  color: var(--coral-deep);
  font-size: 0.88rem;
}

.pago-cupo--alerta h2 {
  margin-bottom: 0.65rem;
  color: var(--ink);
  max-width: 22ch;
}

.pago-cupo-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  max-width: 42rem;
  line-height: 1.55;
}

.pago-cupo-valor {
  display: inline-block;
  margin-bottom: 1.15rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(212, 122, 104, 0.35);
}

.pago-cupo-valor strong {
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.pago-cupo--alerta .pago-cupo-datos {
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(232, 160, 144, 0.45);
}

@media (max-width: 720px) {
  .pago-cupo-datos {
    grid-template-columns: 1fr;
  }

  .pago-cupo--alerta h2 {
    max-width: none;
  }
}

.req-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
}

.req-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(143, 175, 154, 0.5);
  color: var(--ink-soft);
}

.req-list li::before {
  content: '✦';
  color: var(--butter);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

/* ---------- Form ---------- */
.form-panel {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(143, 175, 154, 0.35);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--cream-deep);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(143, 175, 154, 0.35);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.checkbox-row input {
  margin-top: 0.3rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--mint-deep);
}

.form-message {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: none;
}

.form-message.success {
  display: block;
  background: var(--mint-soft);
  color: var(--mint-deep);
}

.form-message.error {
  display: block;
  background: var(--coral-soft);
  color: var(--coral-deep);
}

/* ---------- Gallery ---------- */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 0.85rem;
}

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  background: var(--sky-soft);
  border: none;
  padding: 0;
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-row: span 2; }
.gallery-item:nth-child(7) { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(47, 61, 74, 0.25), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover::after {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(47, 61, 74, 0.82);
  display: none;
  place-items: center;
  padding: 1.5rem;
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  animation: fadeUp 0.35s var(--ease);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Contact strip ---------- */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contact-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.contact-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0.5rem 0 0.25rem;
  color: var(--ink);
}

.contact-item p { font-size: 0.95rem; }

.contact-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 0.75rem;
  color: var(--sage-deep);
}

.page-hero p {
  max-width: 36rem;
  margin-inline: auto;
  font-size: 1.1rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: 3.75rem 0;
  text-align: center;
  background:
    radial-gradient(circle at 18% 28%, rgba(245, 217, 130, 0.35), transparent 42%),
    radial-gradient(circle at 82% 72%, rgba(143, 175, 154, 0.35), transparent 42%),
    linear-gradient(180deg, var(--cream-deep), var(--cream));
}

.cta-band h2 {
  margin-bottom: 0.75rem;
  color: var(--sage-deep);
}

.cta-band p {
  max-width: 34rem;
  margin: 0 auto 1.5rem;
}

/* ---------- Prose helpers ---------- */
.prose-gap > p + p {
  margin-top: 0.85rem;
}

.prose-gap .cta-group {
  margin-top: 1.75rem;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #2c4a3c 0%, #243e33 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 0.85rem;
}

.footer-brand .logo:hover { color: var(--butter-soft); }

.footer-brand .logo-text small {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  max-width: 28ch;
}

.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  padding: 0.3rem 0;
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--butter);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  display: inline;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Placeholder illustrations ---------- */
.illus {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.illus svg {
  width: min(100%, 320px);
  height: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .matricula-info {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    aspect-ratio: 16 / 11;
    max-height: 360px;
  }

  .hero h1 { max-width: none; }

  .values-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(7) {
    grid-column: span 2;
  }

  .gallery-item:nth-child(4) {
    grid-row: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  /* backdrop-filter crea un containing block y recorta el menú fixed */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff9f0;
  }

  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }

  body.nav-open .site-header {
    z-index: 300;
  }

  body.nav-open .whatsapp-float {
    opacity: 0;
    pointer-events: none;
  }

  .menu-toggle {
    display: block;
    z-index: 320;
  }

  .logo {
    z-index: 320;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 310;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.15rem;
    padding: calc(var(--header-h) + 1.25rem) 1.5rem max(2rem, env(safe-area-inset-bottom));
    margin: 0;
    background:
      linear-gradient(180deg, #fff9f0 0%, #f7f3eb 45%, #eef5f0 100%);
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transition: opacity 0.28s var(--ease), visibility 0.28s;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    padding: 0.95rem 1.1rem;
    text-align: left;
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid rgba(143, 175, 154, 0.28);
    background: transparent;
  }

  .nav a:last-of-type,
  .nav a.nav-docentes {
    border-bottom: none;
  }

  .nav a:hover,
  .nav a.active {
    color: var(--sage-deep);
    background: rgba(255, 255, 255, 0.8);
  }

  .nav a.active {
    box-shadow: inset 3px 0 0 var(--sage-deep);
  }

  .nav a.nav-cta,
  .nav-cta {
    display: inline-flex;
    justify-content: center;
    margin: 1.35rem auto 0;
    width: 100%;
    max-width: 22rem;
    padding: 0.95rem 1.25rem;
    font-size: 1.05rem;
    font-family: var(--font-display);
    border-bottom: none !important;
    background: var(--sage-deep) !important;
    color: var(--white) !important;
    box-shadow: 0 10px 28px rgba(53, 91, 73, 0.24);
  }

  .nav a.nav-cta:hover,
  .nav a.nav-cta:focus-visible {
    background: #2a4a3b !important;
    color: var(--white) !important;
    box-shadow: 0 10px 28px rgba(53, 91, 73, 0.24);
  }

  .nav a.nav-docentes {
    margin: 1.75rem auto 0;
    padding: 0.85rem 1.1rem;
    max-width: 22rem;
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink-muted);
    text-align: center;
    border-left: none;
    border-top: 1px solid rgba(143, 175, 154, 0.45);
    border-radius: 0;
    background: transparent;
  }

  .nav a.nav-docentes:hover,
  .nav a.nav-docentes.active {
    color: var(--mint-deep);
    background: rgba(255, 255, 255, 0.55);
    box-shadow: none;
  }
}

@media (max-width: 720px) {
  .services-grid,
  .mission-grid,
  .req-list,
  .form-grid,
  .contact-strip,
  .team-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .values-row,
  .steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.25rem 0;
  }

  .form-panel {
    padding: 1.35rem;
  }

  .logo-text span {
    font-size: 0.95rem;
  }
}

.form-section {
  border: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.form-section legend {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 1rem;
  padding: 0;
}

.phone-field {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--cream-deep);
  border-radius: var(--radius-sm);
  background: var(--cream);
  overflow: hidden;
}

.phone-field:focus-within {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(143, 175, 154, 0.35);
}

.phone-prefix {
  display: grid;
  place-items: center;
  padding: 0 0.85rem;
  background: var(--cream-deep);
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.phone-field input {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  flex: 1;
}

.field-help {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.hint-warn {
  margin: 0;
  font-size: 0.92rem;
  color: var(--coral-deep);
  font-weight: 600;
}

.file-preview {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(143, 175, 154, 0.7);
}

.file-preview img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.file-meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.form-group input[type="file"] {
  padding: 0.55rem;
  background: var(--white);
}

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 90;
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  text-decoration: none;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.05);
  background: #1ebe57;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.45);
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 1.65rem;
  height: 1.65rem;
  display: block;
}

@media (max-width: 720px) {
  .whatsapp-float {
    right: 0.9rem;
    bottom: 0.9rem;
    width: 3.25rem;
    height: 3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .service-card:hover,
  .value-item:hover,
  .gallery-item:hover img {
    transform: none;
  }
}
