:root {
  --bg: #060606;
  --bg2: #0a0a0a;
  --panel: #111111;
  --panel-2: #171717;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.60);
  --muted2: rgba(255, 255, 255, 0.38);
  --gold: #d4af37;
  --gold2: #b88916;
  --gold3: #f0d57a;
  --gold-light: rgba(212, 175, 55, 0.12);
  --gold-glow: rgba(212, 175, 55, 0.25);
  --border: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(255, 255, 255, 0.16);
  --r: 24px;
  --r2: 16px;
  --r3: 12px;
}

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

html, body {
  height: 100%;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 12% 18%, rgba(212, 175, 55, 0.12), transparent 60%),
    radial-gradient(900px 650px at 88% 82%, rgba(212, 175, 55, 0.07), transparent 60%),
    linear-gradient(135deg, #050505 0%, #0a0a0a 42%, #080808 100%);
  overflow: hidden;
}

/* ---- GRAIN ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  z-index: 9999;
}

/* ============================================
   LAYOUT PRINCIPAL
   ============================================ */
.login-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  height: 100dvh;
  overflow: hidden;
  padding: 16px;
  gap: 16px;
}

/* ============================================
   PANEL GALERÍA (IZQ)
   ============================================ */
.login-gallery {
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.45);
}

.gallery-slides {
  position: absolute;
  inset: 0;
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide {
  width: 33.3333%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: saturate(1.12) contrast(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.26) 45%, rgba(0,0,0,.78) 100%),
    radial-gradient(700px 500px at 18% 40%, rgba(212,175,55,.24), transparent 60%),
    linear-gradient(180deg, rgba(8,8,8,0.15) 0%, rgba(8,8,8,0.4) 100%);
  z-index: 1;
}

.gallery-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 34px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gallery-brand {
  display: flex;
  align-items: center;
  animation: fadeUp 0.9s ease-out both;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, .35);
  background: rgba(212, 175, 55, .10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .50), 0 0 20px rgba(212,175,55,.08);
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .18);
  animation: pulseDot 2.5s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 3px rgba(212,175,55,.18); }
  50% { opacity: 0.75; transform: scale(1.25); box-shadow: 0 0 0 5px rgba(212,175,55,.08); }
}

.gallery-hero {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
}

.gallery-hero h1 {
  font-size: clamp(40px, 4.8vw, 68px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -2.5px;
  text-shadow: 0 14px 50px rgba(0, 0, 0, .70);
  animation: fadeUp 0.9s 0.1s ease-out both;
}

.gallery-hero p {
  font-size: 15px;
  color: rgba(255, 255, 255, .76);
  max-width: 48ch;
  line-height: 1.5;
  animation: fadeUp 0.9s 0.2s ease-out both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  animation: fadeUp 0.9s 0.35s ease-out both;
}

.gthumb {
  width: 52px;
  height: 38px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, .20);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.gthumb:nth-child(1) { background-image: url('https://lagocalima.com.co/wp-content/uploads/2025/06/Glamping-Cabana-Lago-Calima-1-e1749874879770-892x892.webp'); }
.gthumb:nth-child(2) { background-image: url('https://lagocalima.com.co/wp-content/uploads/2025/06/Glamping-Cabana-Lago-Calima-6-892x892.webp'); }
.gthumb:nth-child(3) { background-image: url('https://lagocalima.com.co/wp-content/uploads/2025/06/Glamping-Cabana-Lago-Calima-Oasis-del-Bosque-20-892x892.webp'); }

.gthumb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  pointer-events: none;
  transition: box-shadow 0.3s;
}

.gthumb:hover {
  border-color: rgba(212, 175, 55, .65);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 24px rgba(0,0,0,.55), 0 0 16px rgba(212,175,55,.12);
}

.gthumb:hover::after {
  box-shadow: inset 0 0 0 1px rgba(212,175,55,.20);
}

.gthumb.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(212,175,55,.40), 0 6px 20px rgba(212,175,55,.25);
  transform: translateY(-2px) scale(1.04);
}

.gthumb.active::after {
  box-shadow: inset 0 0 0 1px rgba(212,175,55,.30);
}

.gallery-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: fadeUp 0.9s 0.45s ease-out both;
}

.gallery-footer-line {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, .85), transparent);
}

/* ============================================
   PANEL LOGIN (DER)
   ============================================ */
.login-card {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(18,18,18,.98) 0%, rgba(9,9,9,.98) 100%);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 30px;
  box-shadow: 0 36px 80px rgba(0, 0, 0, .42);
  backdrop-filter: blur(20px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  animation: fadeUp 0.8s ease-out both;
}

.card-logo {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, .35);
  background:
    radial-gradient(circle at 30% 30%, rgba(212, 175, 55, .60), rgba(212, 175, 55, .16) 55%, transparent 75%),
    rgba(255, 255, 255, .04);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .50), 0 0 24px rgba(212,175,55,.08);
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { box-shadow: 0 8px 28px rgba(0,0,0,.50), 0 0 24px rgba(212,175,55,.08); }
  50% { box-shadow: 0 8px 28px rgba(0,0,0,.50), 0 0 32px rgba(212,175,55,.16); }
}

.card-brand-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.card-brand-name {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(135deg, #fff 0%, rgba(212,175,55,.90) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-brand-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, .40);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-top: 3px;
}

.card-support {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .025);
  color: rgba(255, 255, 255, .65);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  flex-shrink: 0;
  letter-spacing: 0.3px;
}

.card-support:hover {
  border-color: rgba(212, 175, 55, .35);
  background: rgba(212, 175, 55, .07);
  color: var(--gold);
  transform: translateY(-1px);
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px 28px;
  gap: 16px;
  animation: fadeUp 0.8s 0.12s ease-out both;
}

.card-intro {
  margin-bottom: 2px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.intro-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, .24);
  background: rgba(212, 175, 55, .08);
  color: var(--gold3);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card-intro h2 {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-intro p {
  color: rgba(255, 255, 255, .60);
  font-size: 14px;
  letter-spacing: 0.1px;
  max-width: 44ch;
}

.intro-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.intro-highlight {
  padding: 11px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.07);
}

.intro-highlight strong {
  display: block;
  font-size: 13px;
  color: #fff;
  margin-bottom: 2px;
}

.intro-highlight span {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,.52);
  line-height: 1.35;
}

/* ---- ALERT ---- */
.card-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--r3);
  border: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .03);
  font-size: 13px;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.card-alert.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.card-alert.error {
  border-color: rgba(255, 107, 107, .30);
  background: rgba(255, 107, 107, .07);
  color: #ffaaaa;
}

.card-alert.success {
  border-color: rgba(100, 255, 160, .30);
  background: rgba(100, 255, 160, .07);
  color: #aaffcc;
}

.card-alert.info {
  border-color: rgba(212, 175, 55, .30);
  background: rgba(212, 175, 55, .07);
  color: rgba(212, 175, 55, .95);
}

.alert-icon { flex-shrink: 0; }

.alert-close {
  margin-left: auto;
  background: none;
  border: none;
  color: currentColor;
  cursor: pointer;
  opacity: 0.5;
  padding: 2px;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}
.alert-close:hover { opacity: 1; }

/* ---- CAMPOS FORM ---- */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: fadeUp 0.8s ease-out both;
}

.form-field:nth-child(1) { animation-delay: 0.18s; }
.form-field:nth-child(2) { animation-delay: 0.26s; }
.form-field:nth-child(3) { animation-delay: 0.34s; }

.form-field label {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, .62);
  text-transform: uppercase;
  letter-spacing: 1.1px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .035)) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.input-wrap input {
  width: 100%;
  height: 52px;
  padding: 0 48px;
  background: transparent !important;
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  caret-color: var(--gold);
}

#wrapPass input {
  padding-right: 82px;
}

.input-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.02), transparent);
  pointer-events: none;
}

.input-wrap:focus-within {
  border-color: rgba(212, 175, 55, .60);
  background: rgba(212, 175, 55, .06);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, .10), 0 14px 36px rgba(0, 0, 0, .35);
}

.input-wrap.valid {
  border-color: rgba(100, 255, 160, .35);
  background: rgba(100, 255, 160, .04);
}

.input-wrap.invalid {
  border-color: rgba(255, 107, 107, .40);
  background: rgba(255, 107, 107, .05);
}

.input-wrap.invalid,
.input-wrap.shake-trigger {
  animation: shake 0.45s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(3px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

.input-icon {
  position: absolute;
  left: 16px;
  color: rgba(255, 255, 255, .22);
  pointer-events: none;
  transition: color 0.25s ease;
  flex-shrink: 0;
}

.input-wrap:focus-within .input-icon {
  color: rgba(212, 175, 55, .75);
}

.input-wrap.valid .input-icon {
  color: rgba(100, 255, 160, .65);
}

.input-wrap.invalid .input-icon {
  color: rgba(255, 107, 107, .65);
}

.input-wrap input::placeholder {
  color: rgba(255, 255, 255, .28);
  font-weight: 400;
}

.input-status {
  position: absolute;
  right: 14px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#wrapPass .input-status {
  right: 44px;
}

.toggle-pass {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, .28);
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
  border-radius: 6px;
}

.toggle-pass:hover {
  color: rgba(212, 175, 55, .85);
  background: rgba(212, 175, 55, .08);
}

.field-hint {
  font-size: 11px;
  color: rgba(255, 107, 107, .75);
  min-height: 14px;
  padding-left: 2px;
  transition: all 0.2s;
}

/* ---- EXTRAS ---- */
.form-extras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  animation: fadeUp 0.8s 0.42s ease-out both;
  margin-top: 0;
}

.chk-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  cursor: pointer;
  user-select: none;
  font-weight: 500;
}

.chk-label input[type="checkbox"] { display: none; }

.chk-box {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .025);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.chk-label input:checked + .chk-box {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(212,175,55,.25);
}

.chk-label input:checked + .chk-box::after {
  content: '';
  width: 9px;
  height: 6px;
  border-left: 2.5px solid #0a0a0a;
  border-bottom: 2.5px solid #0a0a0a;
  transform: rotate(-45deg) translate(1px, -1px);
}

.chk-label:hover .chk-box {
  border-color: rgba(212, 175, 55, .50);
}

.link-forgot {
  font-size: 12px;
  font-weight: 700;
  color: rgba(212, 175, 55, .80);
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}
.link-forgot:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- BOTÓN SUBMIT ---- */
.btn-submit {
  position: relative;
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 18px;
  background:
    linear-gradient(135deg, #f0c93d 0%, #d4a621 52%, #b78412 100%);
  color: #0a0a0a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.6px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .46), 0 0 0 1px rgba(212,175,55,.12), inset 0 1px 0 rgba(255,255,255,.18);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  animation: fadeUp 0.8s 0.5s ease-out both;
  text-transform: uppercase;
}

.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-submit:hover::before {
  transform: translateX(100%);
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .52), 0 0 0 1px rgba(212,175,55,.35), 0 0 30px rgba(212,175,55,.15);
  filter: saturate(1.08);
}

.btn-submit:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .55);
}

.btn-submit:disabled {
  cursor: not-allowed;
  opacity: 0.70;
}

.btn-submit .btn-text {
  transition: opacity 0.2s, transform 0.2s;
}

.btn-submit .btn-arrow {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit:hover:not(:disabled) .btn-arrow {
  transform: translateX(5px);
}

.btn-loader {
  display: none;
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-arrow { opacity: 0; transform: scale(0.8); }

.btn-submit.loading .btn-loader { display: block; position: absolute; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.btn-loader svg { animation: spin 0.7s linear infinite; }

.login-meta {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.login-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.52);
  font-size: 11px;
  line-height: 1.35;
}

.meta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold3), var(--gold2));
  box-shadow: 0 0 0 4px rgba(212,175,55,.10);
  flex-shrink: 0;
}

.support-panel {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.07);
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(212,175,55,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
}

.support-panel-label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--gold3);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.support-panel h3 {
  font-size: 16px;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.support-panel p {
  color: rgba(255,255,255,.56);
  font-size: 12px;
  line-height: 1.45;
}

.support-panel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.support-panel-actions a {
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.support-panel-actions a:hover {
  color: var(--gold3);
}

.support-panel-actions span {
  color: rgba(255,255,255,.44);
  font-size: 11px;
}

/* ---- FOOTER ---- */
.card-footer {
  padding: 14px 28px;
  border-top: 1px solid rgba(255, 255, 255, .05);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, .30);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: fadeUp 0.8s 0.58s ease-out both;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .login-wrap {
    grid-template-columns: 1fr;
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
    padding: 14px;
    gap: 14px;
  }

  .login-gallery {
    min-height: 300px;
    max-height: 400px;
  }

  .gallery-hero h1 { font-size: 44px; }
  .gallery-content { padding: 28px 28px; }

  .card-body { padding: 28px; }

  .intro-highlights { grid-template-columns: 1fr; }

  .form-extras { flex-direction: column; align-items: flex-start; gap: 10px; }
  .card-header { padding: 24px 28px; }
  .card-footer { padding: 18px 28px; }
  .support-panel-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .login-wrap { padding: 10px; gap: 10px; }
  .login-gallery,
  .login-card { border-radius: 24px; }
  .card-header { padding: 20px 20px; }
  .card-body { padding: 24px 20px; gap: 18px; }
  .card-footer { padding: 16px 20px; }
  .login-gallery { min-height: 240px; max-height: 320px; }
  .gallery-hero h1 { font-size: 36px; }
  .gallery-content { padding: 24px 20px; }
  .card-support { display: none; }
  .card-intro h2 { font-size: 28px; }
  .input-wrap input { height: 54px; }
  .btn-submit { height: 54px; font-size: 14px; }
  .gallery-thumbnails { gap: 8px; }
  .gthumb { width: 46px; height: 34px; }
  .support-panel { padding: 18px; }
  .support-panel h3 { font-size: 18px; }
}
