@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  color-scheme: dark;
  font-family: 'DM Sans', Inter, system-ui, sans-serif;
  --ink: #f4fbff;
  --muted: #9bb4c7;
  --dim: #6e8799;
  --night: #06131f;
  --night-2: #0a1d2b;
  --panel: rgba(13, 39, 55, .72);
  --line: rgba(149, 205, 226, .16);
  --aqua: #4d9dff;
  --cyan: #4cc9ff;
  --blue: #3278ff;
  --coral: #ff9d78;
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.brand,
.nav-link,
.nav-dropdown-item,
.canvas-link,
.canvas-subnav-link,
.btn-primary,
.btn-ghost,
button { text-decoration: none !important; }
::selection { color: #06202a; background: var(--aqua); }

/* Shared visual language */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(180, 235, 245, .12);
  background: rgba(5, 18, 29, .72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  color: #04212d;
  font-size: 23px;
  border-radius: 15px 15px 15px 5px;
  background: linear-gradient(135deg, var(--aqua), var(--cyan));
  box-shadow: 0 10px 28px rgba(77, 157, 255, .28);
  transform: rotate(-5deg);
  transition: transform .3s ease, box-shadow .3s ease;
}
.brand:hover .brand-mark { transform: rotate(0deg) scale(1.04); box-shadow: 0 14px 34px rgba(76, 201, 255, .38); }
.brand-logo-fallback { display: block; width: 24px; height: 24px; }
.brand-logo-image { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.brand-mark.logo-image { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; color: inherit; border-radius: 0; background: transparent; box-shadow: none; transform: none; transition: opacity .3s ease; }
.brand-mark.logo-image .brand-logo-image { width: 42px; height: 42px; border-radius: 0; }
.brand:hover .brand-mark-fallback { transform: rotate(4deg) scale(1.06); box-shadow: 0 14px 34px rgba(76, 201, 255, .38); }
.brand:hover .brand-mark.logo-image { transform: none; box-shadow: none; opacity: .86; }
.site-footer-mark .brand-logo-fallback { width: 21px; height: 21px; color: #06212b; }
.brand-name { font-family: 'Space Grotesk', sans-serif; letter-spacing: -.04em; }
.nav-link { color: var(--muted); transition: color .2s ease, transform .2s ease; }
.nav-link:hover { color: var(--ink); transform: translateY(-1px); }
.lang-switch { border: 1px solid var(--line); background: rgba(255,255,255,.05); }
.lang-switch button { color: var(--muted); min-width: 34px; border-radius: 8px; }
.lang-switch button:hover, .lang-switch button.bg-cyan-600 { color: #04212d; background: var(--aqua); }

/* Refined desktop navigation: a calm floating control instead of underlined links. */
.site-header > div { min-height: 78px; }
.site-header nav[aria-label="Main navigation"] {
  display: none;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 5px;
  border: 1px solid rgba(149, 205, 226, .14);
  border-radius: 17px;
  background: rgba(7, 27, 43, .56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 10px 30px rgba(0, 10, 26, .12);
}
.site-header nav[aria-label="Main navigation"] > .nav-link,
.site-header nav[aria-label="Main navigation"] .nav-dropdown-toggle {
  min-height: 38px;
  padding: 0 10px;
  color: #a7bfd0;
  border-radius: 11px;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}
.site-header nav[aria-label="Main navigation"] > .nav-link:hover,
.site-header nav[aria-label="Main navigation"] .nav-dropdown-toggle:hover,
.site-header nav[aria-label="Main navigation"] .nav-dropdown.is-open > .nav-dropdown-toggle {
  color: #f5fbff;
  background: rgba(77, 157, 255, .13);
  transform: none;
}
.site-header nav[aria-label="Main navigation"] .nav-dropdown-toggle:focus-visible,
.site-header nav[aria-label="Main navigation"] > .nav-link:focus-visible {
  outline: 2px solid rgba(85, 221, 255, .7);
  outline-offset: 2px;
}
.site-header .brand { flex: 0 0 auto; }
.site-header > div > .flex.items-center.gap-2 { flex: 0 0 auto; }
.site-header button,
.site-header a { outline-offset: 3px; }
.site-header button:focus-visible,
.site-header a:focus-visible { outline: 2px solid rgba(85, 221, 255, .72); }
@media (min-width: 1024px) {
  .site-header nav[aria-label="Main navigation"] { display: flex; }
}

.page-section { position: relative; overflow: hidden; padding: 108px 0; }
.page-section::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .45; background: radial-gradient(circle at 12% 20%, rgba(76,201,255,.12), transparent 28%), radial-gradient(circle at 90% 80%, rgba(77,157,255,.08), transparent 30%); }
.section-inner { position: relative; z-index: 1; }
.section-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; color: var(--aqua); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border: 1px solid rgba(77,157,255,.25); border-radius: 999px; background: rgba(77,157,255,.07); }
.section-kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 16px var(--aqua); }
.section-title { margin: 18px 0 0; color: var(--ink); font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.05; letter-spacing: -.055em; }
.section-copy { max-width: 650px; margin: 18px auto 0; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.btn-primary, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; font-size: 14px; font-weight: 700; border-radius: 14px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease; }
.btn-primary { color: #04212d; border: 0; background: linear-gradient(110deg, var(--aqua), var(--cyan)); box-shadow: 0 14px 30px rgba(76,201,255,.18); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(76,201,255,.3); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.btn-ghost:hover { transform: translateY(-3px); border-color: rgba(77,157,255,.6); background: rgba(77,157,255,.08); }

/* Hero */
.hero-modern { position: relative; min-height: max(670px, calc(100svh - 72px)); display: flex; align-items: center; overflow: hidden; background: #061521; }
.hero-modern::before { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(3,16,27,.6) 0%, rgba(3,16,27,.18) 40%, rgba(3,16,27,.82) 100%), linear-gradient(90deg, rgba(3,16,27,.95) 0%, rgba(3,16,27,.75) 45%, rgba(3,16,27,.32) 80%, rgba(3,16,27,.48) 100%); pointer-events: none; }
.hero-image { position: absolute; z-index: 0; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.02); transform-origin: center center; animation: heroSlowZoom 28s ease-in-out infinite alternate; will-change: transform; }
.hero-modern::after { content: ''; position: absolute; width: 560px; height: 560px; right: -180px; top: -170px; border: 1px solid rgba(77,157,255,.2); border-radius: 50%; box-shadow: 0 0 0 70px rgba(77,157,255,.035), 0 0 0 140px rgba(77,157,255,.025); animation: breathe 8s ease-in-out infinite; }
.hero-content { position: relative; z-index: 2; padding: 104px 0 88px; }
.hero-title { max-width: 800px; margin: 22px 0 0; color: transparent; font-family: 'Space Grotesk', sans-serif; font-size: clamp(3.1rem, 8vw, 7.2rem); line-height: .94; letter-spacing: -.075em; background: linear-gradient(110deg, #f7fbff 0%, #b8e7ff 28%, #55c9ff 56%, #7c8dff 78%, #e7f9ff 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; animation: heroTitleShimmer 9s ease-in-out infinite alternate; }
.hero-title em { color: inherit; font-style: normal; }
.hero-subtitle { max-width: 610px; margin: 26px 0 0; color: #c0d6e1; font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 54px; }
.meta-pill { display: flex; align-items: center; gap: 9px; padding: 10px 13px; color: #c8e1ea; font-size: 12px; border: 1px solid rgba(191,232,241,.16); border-radius: 13px; background: rgba(4,24,37,.62); backdrop-filter: blur(10px); }
.meta-pill strong { color: var(--aqua); font-size: 18px; font-family: 'Space Grotesk', sans-serif; }
.scroll-cue { position: absolute; z-index: 2; right: 7%; bottom: 32px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue::after { content: ''; width: 1px; height: 48px; background: linear-gradient(var(--aqua), transparent); }

.surface { border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(17,49,67,.72), rgba(8,28,42,.8)); box-shadow: var(--shadow); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.about-copy { color: var(--muted); font-size: 1.04rem; line-height: 1.8; }
.about-visual { position: relative; min-height: 460px; }
.about-visual img { width: 100%; height: 460px; object-fit: cover; border-radius: 26px; filter: saturate(.85); transition: transform .7s ease, filter .7s ease; }
.about-visual:hover img { transform: scale(1.035); filter: saturate(1.1); }
.about-visual::before { content: ''; position: absolute; z-index: 1; inset: 16px -16px -16px 16px; border: 1px solid rgba(77,157,255,.24); border-radius: 26px; pointer-events: none; }
.about-stat { position: absolute; z-index: 2; right: -20px; bottom: 28px; padding: 20px; border: 1px solid rgba(77,157,255,.3); border-radius: 18px; background: rgba(5,24,37,.88); box-shadow: 0 18px 38px rgba(0,0,0,.3); }
.about-stat strong { display: block; color: var(--aqua); font: 700 2.1rem 'Space Grotesk', sans-serif; }
.about-stat span { color: var(--muted); font-size: 11px; }

.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.course-card { position: relative; min-height: 420px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--night-2); transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.course-card:hover { transform: translateY(-9px); border-color: rgba(77,157,255,.55); box-shadow: 0 24px 50px rgba(0,0,0,.34); }
.course-card img { width: 100%; height: 220px; object-fit: cover; transition: transform .7s ease; }
.course-card:hover img { transform: scale(1.08); }
.course-card-media { position: relative; overflow: hidden; }
.course-card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 25%, rgba(5,20,31,.88)); }
.course-card-body { position: relative; z-index: 1; padding: 21px; margin-top: -45px; }
.course-index { color: var(--aqua); font: 600 11px 'Space Grotesk', sans-serif; letter-spacing: .18em; }
.course-card h3 { margin: 7px 0 0; color: var(--ink); font: 600 1.35rem 'Space Grotesk', sans-serif; }
.course-card p { min-height: 72px; margin: 11px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.course-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.course-card-footer button { color: var(--aqua); font-size: 12px; font-weight: 700; }
.course-card-footer .course-details { color: var(--muted); }
.course-card-footer .course-details:hover { color: var(--aqua); }

.schedule-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: rgba(9,30,45,.78); box-shadow: var(--shadow); }
.table-wrap { overflow-x: auto; }
.schedule-shell table { min-width: 760px; border-collapse: collapse; }
.schedule-shell th { color: var(--aqua); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; background: rgba(77,157,255,.07); }
.schedule-shell th, .schedule-shell td { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.schedule-shell td { color: var(--muted); font-size: 13px; }
.schedule-shell tr { transition: background .2s ease; }
.schedule-shell tbody tr:hover { background: rgba(77,157,255,.05); }
.schedule-shell td:first-child { color: var(--ink); font-weight: 600; }
.schedule-shell .aquatic-gradient { color: #04212d; border-radius: 10px; background: linear-gradient(110deg, var(--aqua), var(--cyan)); }

.gallery-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-auto-rows: 220px; gap: 14px; }
.gallery-grid > figure:first-child { grid-row: span 2; }
.gallery-grid > figure { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--night-2); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease, filter .5s ease; }
.gallery-grid > figure:hover img { transform: scale(1.09); filter: saturate(1.2); }
.gallery-grid > figure > figcaption { opacity: 1 !important; padding: 18px !important; background: linear-gradient(transparent, rgba(3,16,27,.88)) !important; }
.gallery-empty { padding: 48px 24px; border: 1px dashed rgba(151,199,255,.3); border-radius: 20px; color: var(--muted); text-align: center; background: rgba(10,35,76,.58); }
.gallery-empty strong { display: block; color: var(--ink); font: 600 1.25rem 'Space Grotesk', sans-serif; }
.gallery-empty p { margin: 8px auto 0; max-width: 460px; font-size: 14px; line-height: 1.6; }

.certificate-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 55px; border: 1px solid rgba(77,157,255,.25); border-radius: 28px; background: linear-gradient(120deg, #102f3d, #0b2035 58%, #163b55); box-shadow: var(--shadow); }
.certificate-ticket { position: relative; overflow: hidden; padding: 30px; border: 1px dashed rgba(184,239,239,.42); border-radius: 20px; background: rgba(255,255,255,.07); transform: rotate(2deg); }
.certificate-ticket::after { content: '✦'; position: absolute; right: 24px; bottom: 10px; color: var(--aqua); font-size: 74px; opacity: .18; }

.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.doc-card { min-height: 235px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(11,34,49,.75); transition: transform .3s ease, border-color .3s ease; }
.doc-card:hover { transform: translateY(-6px); border-color: rgba(77,157,255,.5); }
.doc-card h3 { color: var(--ink); font: 600 1.12rem 'Space Grotesk', sans-serif; }
.doc-card p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 45px; align-items: start; }
.contact-form { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(12,38,54,.74); box-shadow: var(--shadow); }
.contact-form input, .contact-form textarea, .booking-form input, .booking-form select { width: 100%; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; outline: 0; background: rgba(2,16,26,.55); }
.contact-form input:focus, .contact-form textarea:focus, .booking-form input:focus, .booking-form select:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(77,157,255,.12); }

#scrollProgress { position: fixed; z-index: 60; top: 0; left: 0; width: 100%; height: 3px; pointer-events: none; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--aqua), var(--cyan), var(--coral)); box-shadow: 0 0 15px rgba(77,157,255,.7); }
#adminDrawer { color: var(--ink) !important; background: #081a28 !important; border-color: var(--line) !important; }
#adminDrawer .bg-white, #adminDrawer .bg-slate-50 { background: rgba(255,255,255,.05) !important; }
#adminDrawer .text-slate-900, #adminDrawer .text-slate-700 { color: var(--ink) !important; }
#adminDrawer input, #adminDrawer textarea { color: var(--ink) !important; border-color: var(--line) !important; background: rgba(2,16,26,.55) !important; }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Motion */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; } .reveal-delay-2 { transition-delay: .2s; } .reveal-delay-3 { transition-delay: .3s; }
@keyframes breathe { 0%,100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes heroTitleShimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes heroSlowZoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
@keyframes drift { 0%,100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
.animate-float { animation: drift 5s ease-in-out infinite; }

@media (max-width: 900px) {
  .about-grid, .certificate-panel, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stat { right: 15px; }
  .hero-title { font-size: clamp(2.25rem, 8vw, 4.6rem); line-height: 1; }
}
@media (max-width: 640px) {
  .page-section { padding: 76px 0; }
  .hero-modern { min-height: 720px; }
  .hero-modern::before { background: linear-gradient(180deg, rgba(3,16,27,.8) 0%, rgba(3,16,27,.6) 50%, rgba(3,16,27,.9) 100%), linear-gradient(90deg, rgba(3,16,27,.92), rgba(3,16,27,.65)); }
  .hero-content { padding: 80px 0 65px; }
  .hero-title { font-size: clamp(2rem, 10vw, 3.2rem); line-height: 1.02; }
  .scroll-cue { display: none; }
  .course-grid, .doc-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .gallery-grid > figure:first-child { grid-row: span 1; grid-column: span 2; }
  .certificate-panel { padding: 28px 22px; }
  .certificate-ticket { transform: none; }
  .about-visual, .about-visual img { min-height: 330px; height: 330px; }
  .about-stat { right: 12px; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Off-canvas navigation */
.menu-trigger { min-width: 44px; min-height: 44px; transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease; }
.menu-trigger:hover { color: var(--aqua); border-color: rgba(77,157,255,.55); background: rgba(77,157,255,.09); transform: translateY(-2px); }
.offcanvas-backdrop { position: fixed; z-index: 70; inset: 0; visibility: hidden; opacity: 0; background: rgba(1,9,15,.7); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); transition: opacity .35s ease, visibility .35s ease; }
.offcanvas-backdrop.is-visible { visibility: visible; opacity: 1; }
.offcanvas-menu { position: fixed; z-index: 80; top: 0; right: 0; width: min(460px, 92vw); height: 100dvh; overflow: hidden; color: var(--ink); border-left: 1px solid rgba(140,224,231,.2); background: linear-gradient(155deg, #0b2a3c 0%, #061a29 47%, #04111c 100%); box-shadow: -28px 0 80px rgba(0,0,0,.38); transform: translateX(102%); transition: transform .48s cubic-bezier(.2,.8,.2,1); }
.offcanvas-menu::before { content: ''; position: absolute; width: 390px; height: 390px; right: -180px; bottom: 80px; border: 1px solid rgba(77,157,255,.16); border-radius: 50%; box-shadow: 0 0 0 52px rgba(77,157,255,.035), 0 0 0 104px rgba(77,157,255,.022); animation: breathe 9s ease-in-out infinite; }
.offcanvas-menu.is-open { transform: translateX(0); }
.offcanvas-watermark { position: absolute; right: -22px; top: 47%; color: rgba(161,235,235,.045); font: 700 7rem 'Space Grotesk', sans-serif; letter-spacing: -.12em; transform: rotate(-90deg); pointer-events: none; }
.offcanvas-wave { display: flex; height: 30px; align-items: center; gap: 3px; overflow: hidden; opacity: .8; }
.offcanvas-wave span { display: block; width: 18%; height: 15px; border-top: 1px solid var(--aqua); border-radius: 50%; animation: waveSlide 2.6s ease-in-out infinite; }
.offcanvas-wave span:nth-child(2) { animation-delay: -.7s; opacity: .55; }
.offcanvas-wave span:nth-child(3) { animation-delay: -1.4s; opacity: .3; }
.canvas-link { display: flex; min-height: 54px; align-items: center; gap: 16px; padding: 0 12px; color: #d5e8ed; border-bottom: 1px solid rgba(170,226,232,.1); font: 600 1rem 'Space Grotesk', sans-serif; transition: color .25s ease, padding .25s ease, background .25s ease; }
.canvas-link span { width: 24px; color: var(--aqua); font: 600 10px 'DM Sans', sans-serif; letter-spacing: .1em; }
.canvas-link b { margin-left: auto; color: var(--aqua); font: 400 1.2rem 'DM Sans', sans-serif; opacity: .6; transition: transform .25s ease, opacity .25s ease; }
.canvas-link:hover { padding-left: 19px; color: white; background: linear-gradient(90deg, rgba(77,157,255,.12), transparent); }
.canvas-link:hover b { opacity: 1; transform: translate(3px, -3px); }
.swim-menu-card { position: relative; display: flex; gap: 13px; padding: 16px; border: 1px solid rgba(77,157,255,.22); border-radius: 18px; background: linear-gradient(120deg, rgba(77,157,255,.13), rgba(76,201,255,.05)); }
.swim-menu-icon { display: grid; width: 43px; height: 43px; flex: 0 0 auto; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--aqua), var(--cyan)); box-shadow: 0 9px 22px rgba(76,201,255,.22); }
.swim-menu-card strong { display: block; color: white; font-size: 13px; }
.swim-menu-card p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
body.menu-is-open { overflow: hidden; }

/* The mobile drawer follows the same hierarchy as the desktop navigation. */
.offcanvas-menu > .relative { overflow-y: auto; }
.canvas-nav { display: grid; gap: 4px; padding-right: 4px; }
.canvas-nav-group { border-bottom: 1px solid rgba(170,226,232,.1); }
.canvas-nav-toggle {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 12px;
  color: #d5e8ed;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: 600 1rem 'Space Grotesk', sans-serif;
  text-align: left;
  transition: color .25s ease, background .25s ease;
}
.canvas-nav-toggle > span { display: flex; min-width: 0; align-items: center; gap: 16px; }
.canvas-nav-toggle i { width: 24px; flex: 0 0 auto; color: var(--aqua); font: 600 10px 'DM Sans', sans-serif; letter-spacing: .1em; }
.canvas-nav-toggle > b { color: var(--aqua); font: 400 1.25rem 'DM Sans', sans-serif; transition: transform .25s ease; }
.canvas-nav-toggle:hover, .canvas-nav-toggle:focus-visible { color: #fff; outline: 0; background: linear-gradient(90deg, rgba(77,157,255,.12), transparent); }
.canvas-nav-group.is-open > .canvas-nav-toggle > b { transform: rotate(180deg); }
.canvas-subnav { display: none; padding: 2px 0 8px 28px; }
.canvas-nav-group.is-open .canvas-subnav { display: grid; }
.canvas-subnav-link { display: flex; min-height: 44px; align-items: center; gap: 12px; padding: 0 10px; color: #b9d1da; border-top: 1px solid rgba(170,226,232,.08); font: 600 12px 'Space Grotesk', sans-serif; transition: color .2s ease, padding .2s ease, background .2s ease; }
.canvas-subnav-link span { width: 22px; flex: 0 0 auto; color: var(--aqua); font: 600 10px 'DM Sans', sans-serif; letter-spacing: .08em; }
.canvas-subnav-link b { margin-left: auto; color: var(--aqua); font: 400 1rem 'DM Sans', sans-serif; opacity: .65; }
.canvas-subnav-link:hover, .canvas-subnav-link:focus-visible { padding-left: 15px; color: #fff; outline: 0; background: linear-gradient(90deg, rgba(77,157,255,.12), transparent); }

@media (min-width: 1024px) {
  .menu-trigger, .offcanvas-backdrop, .offcanvas-menu { display: none !important; }
}

/* Swimming feature surface */
.swimming-section { background: radial-gradient(circle at 80% 10%, rgba(76,201,255,.11), transparent 30%), #06131f !important; }
.swimming-intro { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.swimming-intro .section-title { max-width: 650px; }
.swimming-intro-copy {
  max-width: 470px !important;
  padding: 17px 0 17px 22px;
  color: #c7dfe7 !important;
  font-size: clamp(.98rem, 1.6vw, 1.12rem) !important;
  line-height: 1.7 !important;
  text-align: left !important;
  border-left: 2px solid var(--aqua);
  background: linear-gradient(90deg, rgba(77,157,255,.1), transparent 78%);
}
.swim-lane-panel { position: relative; min-height: 165px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; margin-top: 42px; padding: 30px 32px; border: 1px solid rgba(77,157,255,.25); border-radius: 24px; background: linear-gradient(110deg, rgba(15,65,81,.72), rgba(8,38,57,.62)); box-shadow: 0 22px 55px rgba(0,0,0,.22); }
.swim-lane-water { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-around; opacity: .32; pointer-events: none; }
.swim-lane-water span { display: block; height: 1px; width: 130%; margin-left: -10%; border-top: 1px dashed rgba(183,239,238,.48); transform: rotate(-2deg); animation: laneDrift 7s ease-in-out infinite; }
.swim-lane-water span:nth-child(2) { animation-delay: -1.8s; transform: rotate(2deg); }
.swim-lane-water span:nth-child(3) { animation-delay: -3.6s; }
.swim-lane-water span:nth-child(4) { animation-delay: -5.1s; transform: rotate(1deg); }
.swim-lane-copy { position: relative; z-index: 1; max-width: 340px; }
.swim-number { display: block; color: var(--aqua); font: 600 10px 'Space Grotesk', sans-serif; letter-spacing: .2em; }
.swim-lane-copy strong { display: block; margin-top: 8px; color: white; font: 600 1.65rem 'Space Grotesk', sans-serif; }
.swim-lane-copy p { margin: 5px 0 0; color: #b6ced8; font-size: 13px; }
.swim-lane-marker { position: relative; z-index: 1; display: grid; width: 66px; height: 66px; place-items: center; border: 1px solid rgba(77,157,255,.35); border-radius: 50%; background: rgba(3,24,37,.55); font-size: 26px; animation: swimmerFloat 4s ease-in-out infinite; }
.swim-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.swim-pillar { min-height: 192px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(12,39,54,.72); transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.swim-pillar:hover { transform: translateY(-6px); border-color: rgba(77,157,255,.5); background: rgba(14,53,68,.82); }
.swim-pillar-top { display: flex; align-items: center; justify-content: space-between; color: var(--dim); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.swim-pillar-icon { display: grid; width: 38px; height: 38px; place-items: center; color: #04212d; border-radius: 12px; background: var(--aqua); font-size: 20px; font-weight: 700; }
.swim-pillar h3 { margin: 21px 0 0; color: white; font: 600 1.15rem 'Space Grotesk', sans-serif; }
.swim-pillar p { min-height: 42px; margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.pillar-line { height: 2px; margin-top: 17px; overflow: hidden; background: rgba(255,255,255,.1); }
.pillar-line span { display: block; width: 42%; height: 100%; background: linear-gradient(90deg, var(--aqua), var(--cyan)); transition: width .4s ease; }
.swim-pillar:hover .pillar-line span { width: 82%; }
.swim-chip { padding: 8px 12px; color: #b8d6df; font-size: 11px; border: 1px solid rgba(149,205,226,.17); border-radius: 999px; background: rgba(255,255,255,.035); }
@keyframes waveSlide { 0%,100% { transform: translateX(-15px) scaleY(.7); } 50% { transform: translateX(12px) scaleY(1.2); } }
@keyframes laneDrift { 0%,100% { transform: translateX(-2%) rotate(-2deg); } 50% { transform: translateX(3%) rotate(1deg); } }
@keyframes swimmerFloat { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(5deg); } }

@media (max-width: 700px) {
  .swimming-intro { display: block; }
  .swimming-intro-copy { margin-top: 22px !important; padding: 14px 0 14px 17px; }
  .swim-pillars { grid-template-columns: 1fr; }
  .swim-lane-panel { min-height: 180px; padding: 24px 21px; }
  .swim-lane-marker { width: 54px; height: 54px; font-size: 21px; }
}

/* Light editorial surfaces — a calmer rhythm between the deep-water sections */
.light-section {
  color: #183247;
  background: #f5fafb !important;
}
.light-section::before {
  opacity: .8;
  background: radial-gradient(circle at 8% 12%, rgba(76, 201, 255, .11), transparent 25%), radial-gradient(circle at 94% 88%, rgba(77, 157, 255, .12), transparent 28%);
}
.light-section .section-title,
.light-section h3 { color: #102b40; }
.light-section .section-copy,
.light-section .about-copy { color: #587080; }
.light-section .section-kicker {
  color: #2477d4;
  border-color: rgba(36, 119, 212, .22);
  background: rgba(36, 119, 212, .07);
}
.light-section .section-kicker::before { background: #3b82e6; box-shadow: 0 0 14px rgba(59, 130, 230, .5); }
.light-section .btn-ghost {
  color: #183247;
  border-color: rgba(24, 50, 71, .16);
  background: rgba(255, 255, 255, .62);
}
.light-section .btn-ghost:hover { border-color: rgba(36, 119, 212, .5); background: #fff; }
.light-section .about-visual::before { border-color: rgba(36, 119, 212, .28); }
.light-section .about-stat { background: rgba(10, 40, 56, .94); }

/* Bright information cards keep the white sections practical, not flat. */
.light-section .schedule-shell {
  border-color: rgba(24, 70, 91, .14);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 22px 60px rgba(31, 77, 97, .12);
}
.light-section .schedule-shell th {
  color: #2477d4;
  background: rgba(77, 157, 255, .11);
}
.light-section .schedule-shell th,
.light-section .schedule-shell td { border-color: rgba(24, 70, 91, .11); }
.light-section .schedule-shell td { color: #5b7180; }
.light-section .schedule-shell td:first-child { color: #183247; }
.light-section .schedule-shell tbody tr:hover { background: rgba(77, 157, 255, .09); }
.light-section .schedule-shell button { color: #2477d4; background: rgba(77, 157, 255, .12); }
.light-section .schedule-shell button:hover { color: #1556a6; background: var(--aqua); }
.light-section .schedule-shell .border-white\/10 { border-color: rgba(24, 70, 91, .11) !important; }
.light-section .schedule-shell .text-slate-400 { color: #6d8290; }
.light-section .schedule-shell .text-cyan-300 { color: #2477d4; }

.light-section .doc-card {
  border-color: rgba(24, 70, 91, .13);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 35px rgba(31, 77, 97, .08);
}
.light-section .doc-card:hover {
  border-color: rgba(36, 119, 212, .42);
  background: #fff;
  box-shadow: 0 20px 42px rgba(31, 77, 97, .14);
}
.light-section .doc-card h3 { color: #183247; }
.light-section .doc-card p { color: #607684; }
.light-section .doc-card button { color: #2477d4; }
.light-section .doc-card button:hover { color: #1556a6; }

@media (max-width: 640px) {
  .light-section { background: #f7fbfc !important; }
}

/* Campus schedule overview */
.schedule-overview {
  color: #183247;
  background: linear-gradient(180deg, #f7fbfc 0%, #edf7f8 100%) !important;
}
.schedule-overview::before {
  opacity: .9;
  background: radial-gradient(circle at 2% 8%, rgba(76, 201, 255, .14), transparent 25%), radial-gradient(circle at 98% 32%, rgba(77, 157, 255, .16), transparent 28%);
}
.schedule-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}
.schedule-overview .section-title { color: #102b40; }
.schedule-overview .section-copy { color: #587080; }
.campus-schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.schedule-campus-card {
  overflow: hidden;
  border: 1px solid rgba(24, 70, 91, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 20px 55px rgba(31, 77, 97, .12);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.schedule-campus-card:hover {
  transform: translateY(-6px);
  border-color: rgba(36, 119, 212, .35);
  box-shadow: 0 28px 65px rgba(31, 77, 97, .17);
}
.schedule-campus-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 23px 24px 19px;
  background: linear-gradient(135deg, #e7f7fa, #f9fcfc 70%);
  border-bottom: 1px solid rgba(24, 70, 91, .1);
}
.schedule-campus-index {
  color: #2477d4;
  font: 700 10px 'Space Grotesk', sans-serif;
  letter-spacing: .16em;
}
.schedule-campus-heading h3 {
  margin: 8px 0 0;
  color: #183247;
  font: 600 clamp(1.15rem, 1.7vw, 1.45rem) 'Space Grotesk', sans-serif;
  letter-spacing: -.035em;
}
.schedule-campus-heading p {
  margin: 6px 0 0;
  color: #6b818d;
  font-size: 12px;
  line-height: 1.5;
}
.schedule-campus-pin {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: #2477d4;
  border: 1px solid rgba(36, 119, 212, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .76);
  font-size: 21px;
}
.schedule-table-wrap { overflow-x: auto; }
.schedule-data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}
.schedule-data-table th,
.schedule-data-table td {
  padding: 16px 14px;
  vertical-align: top;
  border-bottom: 1px solid rgba(24, 70, 91, .1);
}
.schedule-data-table thead th {
  color: #2477d4;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  background: rgba(77, 157, 255, .1);
}
.schedule-data-table thead th:first-child,
.schedule-data-table tbody th { padding-left: 20px; }
.schedule-data-table tbody tr { transition: background .2s ease; }
.schedule-data-table tbody tr:nth-child(even) { background: rgba(240, 247, 248, .58); }
.schedule-data-table tbody tr:hover { background: rgba(77, 157, 255, .12); }
.schedule-data-table tbody th,
.schedule-data-table tbody td {
  color: #5e7481;
  font-size: 12px;
  line-height: 1.55;
}
.schedule-group-name {
  display: inline-flex;
  color: #183247;
  font: 700 12px 'Space Grotesk', sans-serif;
  letter-spacing: .02em;
}
.schedule-cell-stack span { display: block; min-height: 1.55em; }
.schedule-cell-stack span + span { margin-top: 1px; }
.schedule-time-stack { color: #315669; }
.schedule-price {
  display: inline-flex;
  min-width: 48px;
  justify-content: center;
  padding: 6px 8px;
  color: #2477d4;
  border-radius: 9px;
  background: rgba(77, 157, 255, .14);
  font: 700 13px 'Space Grotesk', sans-serif;
  white-space: nowrap;
}
.schedule-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  color: #708591;
  font-size: 11px;
}
.schedule-card-footer a { color: #2477d4; font-weight: 700; }
.schedule-card-footer a:hover { color: #1556a6; }
.schedule-scroll-note {
  margin: 13px 2px 0;
  color: #8195a0;
  font-size: 11px;
  text-align: right;
}
.diving-welcome {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 52px;
  align-items: start;
  margin-top: 76px;
  padding: 46px 0 12px;
  border-top: 1px solid rgba(24, 70, 91, .14);
}
.diving-welcome-title h3 {
  max-width: 370px;
  margin: 24px 0 0;
  color: #303438;
  font: 700 clamp(2.35rem, 5vw, 4.45rem)/.98 'Space Grotesk', sans-serif;
  letter-spacing: -.07em;
}
.diving-double-line {
  display: block;
  width: 70px;
  height: 7px;
  margin-top: 30px;
  border-top: 2px solid #303438;
  border-bottom: 2px solid #303438;
}
.diving-welcome-copy { color: #8b9097; font-size: 15px; line-height: 1.72; }
.diving-welcome-copy p { margin: 0; }
.diving-welcome-copy p + p { margin-top: 15px; }
.diving-standards { display: grid; gap: 10px; margin-top: 17px; color: #36393d; }
.diving-standards strong { font: 700 16px/1.3 'Space Grotesk', sans-serif; }
.diving-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  margin-top: 17px;
}
.diving-contact-row a { color: #2477d4; font-weight: 700; }
.diving-contact-row a:hover { color: #1556a6; }

@media (max-width: 900px) {
  .campus-schedule-grid { grid-template-columns: 1fr; }
  .diving-welcome { grid-template-columns: 1fr; gap: 24px; }
  .diving-welcome-title h3 { max-width: 600px; }
}
@media (max-width: 640px) {
  .schedule-intro { display: block; margin-bottom: 30px; }
  .schedule-intro .section-copy { margin-top: 18px !important; }
  .schedule-campus-heading { padding: 20px 18px 17px; }
  .schedule-data-table th, .schedule-data-table td { padding: 14px 12px; }
  .schedule-data-table thead th:first-child, .schedule-data-table tbody th { padding-left: 16px; }
  .schedule-card-footer { align-items: flex-start; flex-direction: column; }
  .schedule-scroll-note { text-align: left; }
  .diving-welcome { margin-top: 56px; padding-top: 36px; }
  .diving-welcome-copy { font-size: 14px; }
}

/* Dedicated CMS workspace */
#admin-panel-container:has(.admin-workspace) {
  position: relative;
  z-index: 200;
}
.admin-workspace {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  overflow: hidden;
  color: #183247;
  background: #f4f9fa;
}
.admin-sidebar { display: flex; width: 250px; flex: 0 0 250px; flex-direction: column; padding: 24px 16px; color: #c8dbe4; background: linear-gradient(180deg, #092638, #061521); border-right: 1px solid rgba(149,205,226,.16); }
.admin-brand { display: flex; align-items: center; gap: 11px; padding: 5px 10px 27px; border-bottom: 1px solid rgba(149,205,226,.14); }
.admin-brand > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--aqua), var(--cyan)); color: #06202a; font-size: 20px; }
.admin-brand b { display: block; color: #fff; font: 700 16px 'Space Grotesk', sans-serif; letter-spacing: -.04em; }
.admin-brand b span { color: var(--aqua); }
.admin-brand small { display: block; margin-top: 3px; color: #7894a3; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.admin-nav { display: grid; gap: 5px; padding-top: 25px; }
.admin-tab { display: flex; min-height: 46px; align-items: center; gap: 12px; padding: 0 13px; color: #8ca9b8; border: 1px solid transparent; border-radius: 12px; text-align: left; transition: .2s ease; }
.admin-tab span { width: 20px; color: var(--aqua); font-size: 17px; text-align: center; }
.admin-tab b { font-size: 12px; }
.admin-tab:hover, .admin-tab.is-active { color: #fff; border-color: rgba(77,157,255,.24); background: rgba(77,157,255,.11); }
.admin-back { min-height: 44px; margin-top: auto; color: #8ca9b8; font-size: 12px; text-align: left; }
.admin-back:hover { color: var(--aqua); }
.admin-main { display: flex; min-width: 0; min-height: 0; flex: 1; flex-direction: column; background: #f4f9fa; }
.admin-toolbar { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 18px; padding: 14px clamp(18px, 4vw, 48px); background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(24,70,91,.12); }
.admin-toolbar-kicker, .admin-eyebrow { display: block; color: #2477d4; font: 700 10px 'Space Grotesk', sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.admin-toolbar strong { display: block; margin-top: 3px; color: #183247; font: 600 20px 'Space Grotesk', sans-serif; }
.admin-toolbar-actions { display: flex; align-items: center; gap: 10px; }
.admin-status { color: #8a9aa3; font-size: 11px; }
.admin-save, .admin-add { min-height: 42px; padding: 0 15px; color: #063441; border: 0; border-radius: 12px; background: linear-gradient(110deg, var(--aqua), var(--cyan)); font-size: 12px; font-weight: 700; box-shadow: 0 8px 20px rgba(76,201,255,.18); }
.admin-save:disabled { opacity: .6; }
.admin-close { width: 40px; height: 40px; color: #718894; border: 1px solid rgba(24,70,91,.13); border-radius: 11px; font-size: 23px; }
.admin-close:hover { color: #2477d4; background: #edf8f8; }
.admin-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: clamp(22px, 4vw, 48px); }
.admin-page { width: min(1050px, 100%); margin: 0 auto; }
.admin-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.admin-page-heading h2 { margin: 8px 0 0; color: #183247; font: 600 clamp(1.7rem, 3vw, 2.5rem) 'Space Grotesk', sans-serif; letter-spacing: -.05em; }
.admin-page-heading p { max-width: 620px; margin: 8px 0 0; color: #708591; font-size: 13px; line-height: 1.6; }
.admin-live { display: inline-flex; align-items: center; gap: 7px; color: #2477d4; font-size: 11px; font-weight: 700; white-space: nowrap; }
.admin-live i { width: 7px; height: 7px; border-radius: 50%; background: #4aa8ff; box-shadow: 0 0 0 4px rgba(74,168,255,.13); }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.admin-stat, .admin-quick, .admin-tip, .admin-locale-card, .admin-record, .admin-gallery-record, .admin-settings-card { border: 1px solid rgba(24,70,91,.12); border-radius: 17px; background: rgba(255,255,255,.9); box-shadow: 0 12px 30px rgba(31,77,97,.06); }
.admin-stat { padding: 18px; text-align: left; transition: .2s ease; }
.admin-stat:hover, .admin-quick:hover { transform: translateY(-3px); border-color: rgba(36,119,212,.35); box-shadow: 0 18px 35px rgba(31,77,97,.12); }
.admin-stat span { color: #2477d4; font-size: 19px; }
.admin-stat strong { display: block; margin-top: 10px; color: #183247; font: 600 27px 'Space Grotesk', sans-serif; }
.admin-stat small, .admin-quick small { display: block; margin-top: 3px; color: #82949e; font-size: 11px; }
.admin-quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 20px; }
.admin-quick { display: flex; align-items: center; gap: 12px; padding: 16px; text-align: left; transition: .2s ease; }
.admin-quick > span { display: grid; width: 35px; height: 35px; place-items: center; color: #2477d4; border-radius: 11px; background: #e8f2ff; }
.admin-quick strong { color: #183247; font-size: 12px; }
.admin-quick b { margin-left: auto; color: #2477d4; }
.admin-tip { display: flex; gap: 13px; margin-top: 20px; padding: 19px; background: linear-gradient(120deg, #eaf3ff, #f7fcfc); }
.admin-tip > span { color: #2477d4; font-size: 20px; }
.admin-tip strong { color: #183247; font-size: 13px; }
.admin-tip p { margin: 5px 0 0; color: #66808c; font-size: 12px; line-height: 1.6; }
.admin-current-lang { margin-top: 18px; color: #8a9aa3; font-size: 11px; }
.admin-current-lang b { color: #2477d4; }
.admin-locale-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-locale-card, .admin-record { padding: 20px; }
.admin-locale-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; }
.admin-locale-heading span { display: grid; width: 31px; height: 25px; place-items: center; color: #2477d4; border-radius: 7px; background: #e8f2ff; font-size: 10px; font-weight: 800; }
.admin-locale-heading strong, .admin-record-top strong { color: #183247; font-size: 13px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.admin-field { display: block; margin-bottom: 13px; }
.admin-field > span { display: block; margin-bottom: 6px; color: #6f858f; font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.admin-field input, .admin-field textarea { width: 100%; color: #183247; border: 1px solid rgba(24,70,91,.15); border-radius: 10px; outline: 0; background: #fbfdfd; font-size: 12px; line-height: 1.5; }
.admin-field input { min-height: 40px; padding: 0 11px; }
.admin-field textarea { min-height: 76px; padding: 9px 11px; resize: vertical; }
.admin-field input:focus, .admin-field textarea:focus { border-color: #3b82e6; box-shadow: 0 0 0 3px rgba(59,130,230,.1); }
.admin-record-list, .admin-gallery-list { display: grid; gap: 14px; }
.admin-record-top, .admin-rows-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.admin-record-number { color: #2477d4; font: 700 13px 'Space Grotesk', sans-serif; letter-spacing: .12em; }
.admin-record-actions { display: flex; gap: 5px; }
.admin-record-actions button, .admin-row-delete { display: grid; width: 30px; height: 30px; place-items: center; color: #6f858f; border: 1px solid rgba(24,70,91,.12); border-radius: 8px; font-size: 13px; }
.admin-record-actions button:hover, .admin-row-delete:hover { color: #2477d4; background: #eaf3ff; }
.admin-record-actions .danger, .admin-row-delete { color: #c47777; }
.admin-record-actions .danger:hover, .admin-row-delete:hover { color: #b04d55; background: #fff1f1; }
.admin-rows-heading { margin-top: 10px; padding-top: 15px; border-top: 1px solid rgba(24,70,91,.1); }
.admin-rows-heading strong { color: #183247; font-size: 12px; }
.admin-mini-add { color: #2477d4; font-size: 11px; font-weight: 700; }
.admin-schedule-rows { display: grid; gap: 10px; }
.admin-schedule-row { display: grid; grid-template-columns: 24px 1fr 1.2fr 1.2fr 80px 30px; gap: 8px; align-items: start; padding: 12px; border-radius: 12px; background: #f5fafb; }
.admin-schedule-row .admin-field { margin: 0; }
.admin-schedule-row .admin-field > span { min-height: 24px; }
.admin-row-number { padding-top: 29px; color: #2477d4; font-size: 11px; font-weight: 700; }
.admin-gallery-record { display: grid; grid-template-columns: 100px 1fr auto; gap: 15px; align-items: start; padding: 14px; }
.admin-gallery-record img { width: 100px; height: 90px; object-fit: cover; border-radius: 11px; background: #eaf3f4; }
.admin-gallery-fields .admin-field { margin-bottom: 8px; }
.admin-settings-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; padding: 20px; }
.admin-settings-card strong { color: #183247; font-size: 13px; }
.admin-settings-card p { margin: 5px 0 0; color: #748993; font-size: 12px; line-height: 1.55; }
.admin-reset { min-height: 40px; padding: 0 13px; color: #ad5860; border: 1px solid #efc9cc; border-radius: 10px; background: #fff5f5; font-size: 11px; font-weight: 700; white-space: nowrap; }
.admin-save-mark { color: #2477d4; font-size: 11px; font-weight: 700; white-space: nowrap; }
@media (max-width: 900px) { .admin-sidebar { width: 205px; flex-basis: 205px; } .admin-stat-grid { grid-template-columns: repeat(2, 1fr); } .admin-quick-grid { grid-template-columns: 1fr; } .admin-schedule-row { grid-template-columns: 24px 1fr 1fr; } }
@media (max-width: 640px) { .admin-workspace { display: block; overflow-y: auto; } .admin-sidebar { width: 100%; padding: 12px; } .admin-brand { padding: 2px 8px 12px; } .admin-nav { display: flex; gap: 5px; overflow-x: auto; padding-top: 10px; } .admin-tab { min-width: max-content; min-height: 38px; padding: 0 10px; } .admin-tab span { width: auto; } .admin-tab b { font-size: 10px; } .admin-back { display: none; } .admin-toolbar { align-items: flex-start; flex-direction: column; padding: 14px 16px; } .admin-toolbar-actions { width: 100%; justify-content: flex-end; flex-wrap: wrap; } .admin-status { margin-right: auto; } .admin-scroll { padding: 18px 14px 30px; } .admin-page-heading { align-items: flex-start; flex-direction: column; } .admin-locale-grid, .admin-form-grid { grid-template-columns: 1fr; } .admin-gallery-record { grid-template-columns: 68px 1fr; } .admin-gallery-record img { width: 68px; height: 68px; } .admin-gallery-record > .admin-record-actions { grid-column: 2; } .admin-schedule-row { grid-template-columns: 22px 1fr; } .admin-schedule-row .admin-field, .admin-schedule-row .admin-row-delete { grid-column: 2; } .admin-stat { padding: 14px; } .admin-settings-card { align-items: flex-start; flex-direction: column; } }
