@font-face {
  font-family: "Loubag";
  src: url("assets/Loubag-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Ramillas";
  src: url("assets/TT Ramillas Trial Medium Italic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/IBMPlexSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --k-deep: #002e37;
  --k-teal: #197a84;
  --k-light: #d3fffb;
  --k-offwhite: #f9f9f9;
  --k-red: #920000;
  --k-brown: #694e3f;
  --k-grey-photo: #e0e0e0;
  --k-grey-bg: #f9f9f9;
  --k-dark-text: #333333;
  --k-header-offset: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--k-offwhite);
  color: var(--k-dark-text);
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.k-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.k-section {
  padding: 56px 0;
}

.k-section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.k-section-title h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
  font-family: "Loubag", "IBM Plex Sans", system-ui, sans-serif;
}

.k-section-subtitle {
  width: 100%;
  margin: 8px 0 0;
  font-size: 15px;
  letter-spacing: 0.04em;
  font-family: "TT Ramillas", "IBM Plex Sans", serif;
  font-style: italic;
  color: #222222;
}

.k-section-title-line {
  flex: 1;
  height: 2px;
  background: rgba(0, 0, 0, 0.18);
}

.k-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(211, 255, 251, 0.9);
  color: var(--k-deep);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.k-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--k-red);
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.k-btn-primary:hover {
  background: #b00000;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.k-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(211, 255, 251, 0.7);
  background: transparent;
  color: var(--k-light);
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.k-btn-ghost:hover {
  background: rgba(211, 255, 251, 0.18);
  border-color: var(--k-light);
}

.k-photo-placeholder {
  background: var(--k-grey-photo);
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.k-section--dark,
.k-theme-dark {
  background: var(--k-deep);
  color: var(--k-light);
}

.k-section--dark .k-section-title h2,
.k-theme-dark .k-section-title h2 {
  color: var(--k-light);
}

.k-section--dark .k-section-title-line,
.k-theme-dark .k-section-title-line {
  background: rgba(211, 255, 251, 0.5);
}

.k-section--dark .k-section-subtitle,
.k-theme-dark .k-section-subtitle {
  color: rgba(211, 255, 251, 0.85);
}

.k-section--dark p,
.k-section--dark li,
.k-theme-dark p,
.k-theme-dark li {
  color: rgba(211, 255, 251, 0.9);
}

.k-section--light,
.k-theme-light {
  background: var(--k-grey-bg);
  color: #222222;
}

.k-section--light .k-section-title h2,
.k-theme-light .k-section-title h2 {
  color: var(--k-red);
}

.k-section--light .k-section-title-line,
.k-theme-light .k-section-title-line {
  background: rgba(105, 78, 63, 0.35);
}

.k-section--light .k-section-subtitle,
.k-theme-light .k-section-subtitle {
  color: #222222;
}

.k-section--light p,
.k-section--light li,
.k-theme-light p,
.k-theme-light li {
  color: #222222;
}

.k-site-header {
  background: var(--k-deep);
  color: #ffffff;
  z-index: 210;
}

.k-site-header-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--k-deep);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  padding: 12px 0;
  min-height: 64px;
}

.k-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.k-nav-logo {
  font-family: "Loubag", "IBM Plex Sans", system-ui, sans-serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
}

.k-nav-logo img {
  height: 34px;
  width: auto;
  display: block;
}

.k-nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.k-nav-menu a {
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.12em;
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.8;
  padding-bottom: 6px;
}

.k-nav-menu a:hover,
.k-nav-menu a.is-active {
  opacity: 1;
  color: #ffffff;
  border-bottom: 2px solid var(--k-light);
}

.k-hero {
  background: linear-gradient(135deg, var(--k-deep), var(--k-teal));
  color: var(--k-light);
  padding: 40px 0 48px;
}

.k-hero-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.k-hero-text h1 {
  margin: 12px 0 8px;
  font-size: 32px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Loubag", "IBM Plex Sans", system-ui, sans-serif;
  color: var(--k-light);
}

.k-hero-copy {
  margin: 16px 0 20px;
  font-size: 17px;
  line-height: 1.85;
  max-width: 540px;
  color: rgba(211, 255, 251, 0.92);
}

.k-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.k-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(211, 255, 251, 0.8);
}

.k-hero-stat-item span {
  display: block;
}

.k-hero-stat-number {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  z-index: 210;
}

.k-hero .k-btn-primary {
  background: var(--k-light);
  color: var(--k-deep);
}

.k-hero .k-btn-primary:hover {
  background: #ffffff;
  color: var(--k-deep);
}

.k-hero-visual {
  flex: 1 1 45%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.k-hero-oval {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  border-radius: 999px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.k-hero-illustration {
  width: 100%;
}

.k-hero-blob {
  position: absolute;
  width: 84px;
  height: 90px;
  background-color: var(--k-deep);
  -webkit-mask: url("assets/media/comilla sencilla.png") center / contain no-repeat;
  mask: url("assets/media/comilla sencilla.png") center / contain no-repeat;
  opacity: 1;
}

.k-hero-blob--top {
  top: 6%;
  left: 5%;
  transform: scaleX(-1) rotate(-18deg);
}

.k-hero-blob--bottom {
  bottom: 5%;
  right: 7%;
  transform: scaleX(-1) rotate(-8deg);
}

.k-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.k-about-photos {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 20px;
  background: var(--k-deep);
  min-height: 280px;
  overflow: hidden;
}

.k-about-photos img {
  width: 100%;
  max-width: 520px;
  border-radius: 14px;
  object-fit: cover;
}

.k-about-text h3 {
  margin-top: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  font-family: "Loubag", "IBM Plex Sans", system-ui, sans-serif;
  color: var(--k-red);
}

.k-about-text p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.85;
  color: #222222;
  max-width: 640px;
}

.k-about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #222222;
}

.k-about-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-weight: 500;
}

.k-about-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--k-red);
}

.k-portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.k-portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 220px;
  background: var(--k-grey-photo);
  transform: scale(1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.k-portfolio-card:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.k-portfolio-card[data-category="retratos-esencia"] {
  background-image: url("assets/media/retratos-esencia-06.jpg");
}

.k-portfolio-card[data-category="producto-catalogo"] {
  background-image: url("assets/media/producto-catalogo-01.avif");
}

.k-portfolio-card[data-category="producto-publicitario"] {
  background-image: url("assets/media/producto-publicitario-01.jpg");
}

.k-portfolio-card[data-category="modelos-publicidad"] {
  background-image: url("assets/media/modelos-publicidad-01.jpg");
}

.k-portfolio-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 10px;
  background: linear-gradient(to top, rgba(0, 46, 55, 0.85), rgba(0, 46, 55, 0));
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.k-prices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.k-price-card {
  border-radius: 18px;
  border: 1px solid rgba(0, 46, 55, 0.12);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.k-price-media {
  height: 140px;
  border-radius: 20px 20px 0 0;
  background-size: cover;
  background-position: center;
}

.k-price-card:nth-child(1) .k-price-media {
  background: linear-gradient(135deg, var(--k-teal), var(--k-light));
}

.k-price-card:nth-child(2) .k-price-media {
  background: linear-gradient(135deg, var(--k-red), #c23a2e);
}

.k-price-card:nth-child(3) .k-price-media {
  background: linear-gradient(135deg, var(--k-brown), #c28963);
}

.k-price-card:nth-child(4) .k-price-media {
  background: linear-gradient(135deg, #002e37, #197a84);
}

.k-price-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.k-price-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-family: "Loubag", "IBM Plex Sans", system-ui, sans-serif;
  color: var(--k-dark-text);
}

.k-price-tagline {
  margin: 0;
  font-size: 15px;
  color: var(--k-brown);
  line-height: 1.75;
  font-family: "TT Ramillas", "IBM Plex Sans", serif;
  font-style: italic;
}

.k-price-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.5;
}

.k-price-meta span {
  display: block;
}

.k-price-cta {
  margin-top: auto;
}

.k-service-explainer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.k-mini-card {
  border-radius: 16px;
  border: 1px dashed rgba(146, 0, 0, 0.35);
  padding: 18px;
  background: #ffffff;
}

.k-mini-card h4 {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--k-red);
  font-weight: 700;
}

.k-mini-card p {
  margin: 0;
  font-size: 14px;
  color: var(--k-brown);
  line-height: 1.75;
  font-family: "TT Ramillas", "IBM Plex Sans", serif;
  font-style: italic;
}

.k-portfolio-detail {
  background: var(--k-deep);
  color: var(--k-offwhite);
}

.k-portfolio-hero {
  color: var(--k-light);
  background: var(--k-deep);
}

.k-portfolio-hero-media {
  min-height: 420px;
  background-image: linear-gradient(140deg, rgba(0, 46, 55, 0.9), rgba(25, 122, 132, 0.5)),
    var(--hero-image, none);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 40px 0;
}

.k-portfolio-hero-content {
  max-width: 720px;
  padding-bottom: 32px;
}

.k-portfolio-hero-content h1 {
  margin: 8px 0 12px;
  font-size: 44px;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--k-light);
}

.k-portfolio-hero-content p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(211, 255, 251, 0.92);
}

.k-portfolio-hero-tabs {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 14px 0 24px;
  border-bottom: 2px solid rgba(211, 255, 251, 0.4);
  position: sticky;
  top: calc(var(--k-header-offset) - 6px);
  z-index: 40;
  background: var(--k-deep);
  margin-top: -2px;
}

.k-portfolio-hero-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.k-btn-ghost--light {
  color: var(--k-light);
  border-color: rgba(255, 255, 255, 0.4);
}

.k-btn-ghost--light:hover {
  border-color: var(--k-light);
  color: #ffffff;
  z-index: 210;
}
.k-portfolio-hero-tabs a {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.k-portfolio-hero-tabs a.is-active {
  background: rgba(211, 255, 251, 0.15);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.k-portfolio-hero-tabs a:not(.is-active):hover {
  color: #ffffff;
  z-index: 210;
}

.k-portfolio-gallery {
  background: var(--k-deep);
  padding: 48px 0 80px;
  color: var(--k-light);
}

.k-portfolio-gallery .k-section-title h2 {
  color: var(--k-light);
}

.k-portfolio-gallery .k-section-title-line {
  background: rgba(211, 255, 251, 0.3);
}

.k-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.k-gallery-grid--fixed {
  grid-template-columns: repeat(auto-fill, minmax(260px, 260px));
  justify-content: flex-start;
}

.k-gallery-grid--fixed .k-gallery-card {
  width: 260px;
}

.k-gallery-card {
  position: relative;
  border-radius: 20px;
  min-height: 240px;
  overflow: hidden;
  background: #0d3a43;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.28);
}

.k-gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--gallery-image, none);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  transition: transform 0.45s ease, background-position 0.45s ease;
}

.k-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.75));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.k-gallery-card:hover::before {
  transform: scale(1.1);
  background-position: center center;
}

.k-gallery-card:hover::after,
.k-gallery-card:hover .k-gallery-card-info {
  opacity: 1;
}

@media (hover: none) {
  .k-gallery-card::before {
    transform: scale(1.02);
    background-position: center center;
  }
  .k-gallery-card::after,
  .k-gallery-card .k-gallery-card-info {
    opacity: 1;
  }
}

.k-gallery-card-info {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
}

.k-gallery-card-info h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.k-gallery-card-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  font-family: "TT Ramillas", "IBM Plex Sans", serif;
  font-style: italic;
}

.k-gallery-card:hover::after,
.k-gallery-card:hover .k-gallery-card-info {
  opacity: 1;
}

.k-footer {
  background: var(--k-deep);
  color: #ffffff;
  padding: 32px 0 24px;
}

.k-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 13px;
}

.k-footer-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.k-footer-brand {
  font-family: "Loubag", "IBM Plex Sans", system-ui, sans-serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.k-footer-top p {
  margin: 0;
  color: #ffffff;
  z-index: 210;
}

.k-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.k-footer-nav a {
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}

.k-footer-nav a:hover {
  color: var(--k-light);
}

.k-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.k-footer-bottom a {
  color: #ffffff;
  text-decoration: none;
}

.k-footer-bottom a:hover {
  color: var(--k-light);
}

.k-footer-bottom strong {
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
}

@media (max-width: 767px) {
  .k-about-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .k-section {
    padding: 72px 0;
  }

  .k-hero-grid {
    flex-direction: row;
    align-items: center;
  }

  .k-hero-text {
    flex: 1 1 55%;
  }

  .k-hero-visual {
    min-height: 320px;
  }

  .k-about-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: center;
  }

  .k-about-photos {
    grid-auto-rows: 140px;
  }

  .k-portfolio-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .k-prices-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .k-service-explainer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .k-footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .k-footer-top {
    max-width: 60%;
  }

  .k-footer-bottom {
    text-align: right;
    align-items: flex-end;
  }

  .k-portfolio-hero-content h1 {
    font-size: 56px;
  }

  .k-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

.k-gallery-hover-tip {
  position: fixed;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.95);
  color: #555555;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translate(-999px, -999px);
  transition: opacity 0.15s ease;
  z-index: 180;
}

.k-gallery-hover-tip.is-visible {
  opacity: 1;
}

@media (hover: none) {
  .k-gallery-hover-tip {
    display: none;
  }
}

.k-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 200;
}

.k-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.k-lightbox-panel {
  position: relative;
  width: min(1140px, 94vw);
  max-height: 92vh;
  background: #021921;
  border-radius: 24px;
  padding: 30px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  animation: k-lightbox-bounce 0.45s ease;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.k-lightbox-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--k-light);
  max-height: 80vh;
  overflow-y: auto;
}

.k-lightbox-title {
  margin: 0;
  font-size: 24px;
  font-family: "Loubag", "IBM Plex Sans", system-ui, sans-serif;
}

.k-lightbox-description {
  margin: 0;
  color: rgba(211, 255, 251, 0.85);
}

.k-lightbox-story {
  margin: 0;
  color: #f3d7d0;
  font-style: italic;
}

.k-lightbox-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.k-lightbox-meta span {
  color: #ffffff;
  z-index: 210;
}

.k-lightbox-image {
  position: relative;
  width: 100%;
  height: min(80vh, 600px);
  border-radius: 20px;
  overflow: hidden;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.k-lightbox-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
  cursor: zoom-in;
}

.k-lightbox-image.is-zoomed img {
  cursor: move;
}

.k-lightbox-zoom-toggle {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.k-lightbox-zoom-toggle i {
  pointer-events: none;
}

.k-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 210;
}

.k-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  z-index: 210;
}

.k-lightbox-nav i {
  pointer-events: none;
}

.k-lightbox-nav--prev {
  left: 14px;
}

.k-lightbox-nav--next {
  right: 14px;
}

@media (max-width: 900px) {
  .k-lightbox-panel {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }

  .k-lightbox-image {
    height: min(60vh, 400px);
  }

  .k-lightbox-nav {
    width: 48px;
    height: 48px;
  }

  .k-lightbox-zoom-toggle {
    width: 48px;
    height: 48px;
  }
}

@keyframes k-lightbox-bounce {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  60% {
    transform: scale(1.03);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
