/* ============================================================
   GLITZ HOLIDAYS — glitzholidays.in
   Custom stylesheet (no frameworks)
   Palette: Dal Lake teal, Chinar cyan, saffron-yellow CTA
   ============================================================ */

:root {
  --teal: #11707e;
  --teal-dark: #0a4d58;
  --teal-deep: #073741;
  --cyan: #29b6d8;
  --cyan-soft: #e3f4f8;
  --yellow: #ffd042;
  --yellow-dark: #e6b51f;
  --ink: #1f3036;
  --muted: #5b7077;
  --line: #dde8ea;
  --bg: #ffffff;
  --bg-alt: #f4f9fa;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(7, 55, 65, 0.12);
  --font-display: "Marcellus", Georgia, serif;
  --font-body: "Mulish", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

.container { width: min(1140px, 92%); margin: 0 auto; }

/* ---------- Typography ---------- */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 400; line-height: 1.18; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--teal-deep); }
h3 { font-size: 1.3rem; color: var(--teal-deep); }
p { margin-bottom: 1em; }
.lead { font-size: 1.12rem; color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.6rem;
}
.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-head .rule {
  width: 64px; height: 3px; background: var(--yellow);
  margin: 1.1rem auto 0; border-radius: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  border: 0;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--teal-deep); }
.btn-yellow:hover { background: var(--yellow-dark); color: var(--teal-deep); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.85); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ---------- Top bar + Header ---------- */
.topbar {
  background: var(--teal-deep);
  color: #cfe9ef;
  font-size: 0.82rem;
  padding: 0.45rem 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: var(--yellow); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 0; }

.logo { display: flex; align-items: center; gap: 0.55rem; }
.logo .sun {
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--yellow), var(--yellow-dark));
  display: grid; place-items: center;
  color: var(--teal-deep); font-size: 1.05rem;
}
.logo .word { font-family: var(--font-display); font-size: 1.45rem; color: var(--teal-deep); line-height: 1; }
.logo .word b { color: var(--cyan); font-weight: 400; }
.logo .tag { display: block; font-family: var(--font-body); font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a { color: var(--ink); font-weight: 700; font-size: 0.95rem; }
.main-nav a:hover, .main-nav a.active { color: var(--teal); }
.main-nav .btn { padding: 0.6rem 1.4rem; }

.dropdown { position: relative; }
.dropdown > a::after { content: " ▾"; font-size: 0.7rem; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: -0.8rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); min-width: 190px; padding: 0.5rem 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s ease;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 0.55rem 1.2rem; font-weight: 600; }
.dropdown-menu a:hover { background: var(--cyan-soft); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; margin: 5px auto;
  background: var(--teal-deep); border-radius: 2px; transition: 0.25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7,55,65,0.55) 0%, rgba(7,55,65,0.35) 45%, rgba(7,55,65,0.72) 100%),
    linear-gradient(160deg, #0c5a68 0%, #1187a0 38%, #29b6d8 72%, #7fd6e8 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
/* Drop a real photo at assets/img/hero.jpg and uncomment in HTML — gradient stays as fallback */
.hero .container { position: relative; z-index: 2; padding: 6rem 0; }
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.hero .sub {
  font-size: 1.05rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--yellow); font-weight: 800; margin: 1.2rem 0 2rem;
}
.hero .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-mountains {
  position: absolute; bottom: -2px; left: 0; width: 100%; z-index: 1; opacity: 0.95;
}

.hero--page { min-height: 44vh; }
.hero--page .container { padding: 4rem 0; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-teal { background: linear-gradient(150deg, var(--teal-deep), var(--teal)); color: #e7f5f8; }
.section-teal h2, .section-teal h3 { color: #fff; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center; }
.split .pane-img {
  border-radius: var(--radius); min-height: 340px; box-shadow: var(--shadow);
  background:
    linear-gradient(160deg, rgba(7,55,65,0.25), rgba(41,182,216,0.15)),
    linear-gradient(135deg, #0e6373, #2aa6c4 60%, #8edcec);
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
}
.pane-img .badge {
  position: absolute; bottom: 1.2rem; left: 1.2rem;
  background: var(--teal); color: #fff; font-family: var(--font-display);
  font-size: 1.25rem; padding: 0.7rem 1.6rem; border-radius: 6px;
}

/* ---------- Destination cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; }

.dest-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 360px; display: flex; align-items: flex-end;
  box-shadow: var(--shadow);
  background: linear-gradient(160deg, #0e6373, #2aa6c4 65%, #9be1ef);
  background-size: cover; background-position: center;
  transition: transform 0.25s ease;
}
.dest-card:hover { transform: translateY(-6px); }
.dest-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,55,65,0) 35%, rgba(7,55,65,0.82) 100%);
}
.dest-card .info { position: relative; z-index: 1; padding: 1.6rem; color: #fff; width: 100%; }
.dest-card h3 { color: #fff; font-size: 1.7rem; margin-bottom: 0.2rem; }
.dest-card p { color: #d6edf3; font-size: 0.92rem; margin-bottom: 0.8rem; }
.dest-card .link { color: var(--yellow); font-weight: 800; font-size: 0.88rem; letter-spacing: 0.05em; }

/* ---------- Generic cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--cyan-soft); color: var(--teal);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Package cards ---------- */
.pkg-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.pkg-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pkg-card .thumb {
  height: 190px;
  background: linear-gradient(150deg, #0e6373, #2aa6c4 60%, #9be1ef);
  background-size: cover; background-position: center; position: relative;
}
.pkg-card .duration {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--yellow); color: var(--teal-deep);
  font-weight: 800; font-size: 0.78rem; padding: 0.3rem 0.8rem; border-radius: 100px;
}
.pkg-card .body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.pkg-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.pkg-card .route { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.9rem; }
.pkg-card ul { list-style: none; margin: 0 0 1.2rem; font-size: 0.9rem; color: var(--muted); }
.pkg-card ul li { padding: 0.22rem 0 0.22rem 1.4rem; position: relative; }
.pkg-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 800; }
.pkg-card .foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); padding-top: 1.1rem;
}
.pkg-card .price { font-family: var(--font-display); font-size: 1.3rem; color: var(--teal-deep); }
.pkg-card .price small { display: block; font-family: var(--font-body); font-size: 0.72rem; color: var(--muted); }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stats .num { font-family: var(--font-display); font-size: 2.6rem; color: var(--yellow); }
.stats .lbl { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: #bfe2ea; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .avatar {
  width: 130px; height: 130px; margin: 0 auto 1rem; border-radius: 50%;
  background: linear-gradient(140deg, var(--cyan-soft), #cfeef6);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 2.4rem; color: var(--teal);
  border: 4px solid #fff; box-shadow: var(--shadow);
}
.team-card h3 { font-size: 1.05rem; }
.team-card p { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* ---------- Tables ---------- */
.info-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.info-table th, .info-table td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); }
.info-table th { background: var(--cyan-soft); color: var(--teal-deep); }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 0.35rem; color: var(--teal-deep); }
input, select, textarea {
  width: 100%; padding: 0.75rem 0.9rem; border: 1.5px solid var(--line);
  border-radius: 6px; font-family: var(--font-body); font-size: 0.95rem;
  background: #fff; color: var(--ink); transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--cyan); }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted); }
.form-status { display: none; padding: 0.9rem 1.2rem; border-radius: 6px; font-weight: 700; margin-top: 1.2rem; }
.form-status.ok { display: block; background: #e6f7ee; color: #146c43; border: 1px solid #b7e4c7; }
.form-status.err { display: block; background: #fdecec; color: #a4262c; border: 1px solid #f5c2c7; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Newsletter band ---------- */
.newsletter { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.newsletter form { display: flex; gap: 0.7rem; flex: 1; max-width: 480px; }
.newsletter input { flex: 1; }

/* ---------- Contact info ---------- */
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 0.9rem; margin-bottom: 1.3rem; align-items: flex-start; }
.contact-list .ico {
  flex: 0 0 44px; height: 44px; border-radius: 10px;
  background: var(--cyan-soft); color: var(--teal);
  display: grid; place-items: center; font-size: 1.2rem;
}
.contact-list b { display: block; color: var(--teal-deep); }
.contact-list span { color: var(--muted); font-size: 0.95rem; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 70;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  font-size: 1.7rem; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-deep); color: #b9d9e0; font-size: 0.92rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem; padding: 4rem 0 2.5rem;
}
.site-footer h4 {
  font-family: var(--font-display); color: #fff; font-weight: 400;
  font-size: 1.1rem; margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 0.55rem; }
.site-footer a { color: #b9d9e0; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.3rem 0; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 0.8rem; font-size: 0.82rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw);
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 5.5rem 2rem 2rem; gap: 1.2rem;
    transform: translateX(100%); transition: transform 0.28s ease;
    box-shadow: -16px 0 40px rgba(0,0,0,0.18); z-index: 55;
  }
  .main-nav.open { transform: translateX(0); }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0.2rem 0 0 1rem; display: none;
  }
  .dropdown.open .dropdown-menu { display: block; }
  .nav-toggle { display: block; z-index: 60; position: relative; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 3.4rem 0; }
}

/* ---------- Mega menu (Destinations) ---------- */
.dropdown--mega { position: static; }
.mega-menu {
  left: 50%; transform: translate(-50%, 8px); width: min(960px, 94vw);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem 2rem;
  padding: 1.4rem 1.6rem;
}
.dropdown--mega:hover .mega-menu,
.dropdown--mega:focus-within .mega-menu { transform: translate(-50%, 0); }
.mega-col { display: flex; flex-direction: column; }
.mega-col a { padding: 0.32rem 0.6rem; font-weight: 600; font-size: 0.9rem; border-radius: 5px; }
.mega-col a:hover { background: var(--cyan-soft); }
.mega-head {
  font-weight: 800 !important; color: var(--teal-deep) !important;
  background: var(--bg-alt); margin-bottom: 0.5rem; letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .mega-menu { position: static; transform: none; width: auto; grid-template-columns: 1fr; padding: 0.2rem 0 0 1rem; }
  .dropdown--mega:hover .mega-menu { transform: none; }
}

/* ---------- Admin panel ---------- */
.admin-body { background: var(--bg-alt); min-height: 100vh; }
.admin-top { background: var(--teal-deep); color: #fff; padding: 0.9rem 0; }
.admin-top .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem; }
.admin-top a { color: var(--yellow); font-weight: 700; margin-left: 1.2rem; }
.admin-wrap { width: min(980px, 94%); margin: 2.2rem auto; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; margin-bottom: 1.6rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.admin-table th, .admin-table td { text-align: left; padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--line); }
.admin-table th { background: var(--cyan-soft); color: var(--teal-deep); }
.admin-table .actions a { margin-right: 0.9rem; font-weight: 700; }
.admin-flash { padding: 0.8rem 1.1rem; border-radius: 6px; font-weight: 700; margin-bottom: 1.2rem; }
.admin-flash.ok { background: #e6f7ee; color: #146c43; border: 1px solid #b7e4c7; }
.admin-flash.err { background: #fdecec; color: #a4262c; border: 1px solid #f5c2c7; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.82rem; }
.btn-danger { background: #c0392b; color: #fff; }
.btn-danger:hover { background: #962d22; color: #fff; }

/* ---------- Package detail ---------- */
.pkg-summary { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: start; }
.pkg-pricebox {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.8rem; text-align: center; position: sticky; top: 90px;
}
.pkg-pricebox .big { font-family: var(--font-display); font-size: 2.2rem; color: var(--teal-deep); }
.pkg-pricebox .note { color: var(--muted); font-size: 0.85rem; }
.pkg-pricebox .couple { margin-top: 0.7rem; font-weight: 800; color: var(--teal); }
.pkg-pricebox .couple span { font-weight: 400; color: var(--muted); font-size: 0.85rem; }

.itinerary { position: relative; padding-left: 0.4rem; }
.iti-day { display: flex; gap: 1.4rem; position: relative; padding-bottom: 2.2rem; }
.iti-day::before {
  content: ""; position: absolute; left: 23px; top: 48px; bottom: 0;
  width: 2px; background: var(--line);
}
.iti-day:last-child::before { display: none; }
.iti-marker { flex: 0 0 48px; }
.iti-marker span {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal); color: #fff; font-family: var(--font-display); font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(7,55,65,0.25);
}
.iti-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; flex: 1; }
.iti-body h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.iti-meta { display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: 0.82rem; color: var(--muted); margin-bottom: 0.7rem; }
.iti-body p:last-child { margin: 0; font-size: 0.95rem; }

.inc-list { list-style: none; margin-top: 0.9rem; font-size: 0.93rem; color: var(--muted); }
.inc-list li { padding: 0.3rem 0 0.3rem 1.5rem; position: relative; }
.inc-list li::before { content: "✓"; position: absolute; left: 0; color: #146c43; font-weight: 800; }
.inc-list.exc li::before { content: "✕"; color: #a4262c; }

@media (max-width: 860px) {
  .pkg-summary { grid-template-columns: 1fr; }
  .pkg-pricebox { position: static; }
}

/* ---------- Uploaded logo ---------- */
.logo-img { height: 44px; width: auto; display: block; }
.logo-img--footer { height: 40px; filter: brightness(0) invert(1); }
/* If your logo already reads on dark, remove the filter above via Images notes */

/* ---------- Footer credit + legacy line ---------- */
.footer-credit {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; padding: 1.1rem 1rem 1.6rem;
}
.footer-credit .credit-line { margin: 0 0 0.3rem; font-size: 0.85rem; color: #cfe6ec; }
.footer-credit .credit-line a { color: var(--yellow); font-weight: 700; }
.footer-credit .legacy-line {
  margin: 0; font-family: var(--font-display); font-size: 0.92rem;
  color: #9fc4cd; letter-spacing: 0.02em; font-style: italic;
}

/* ---------- Admin: Images & Branding ---------- */
.media-row { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
.media-info h3 { margin-bottom: 0.3rem; }
.media-info p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.4rem; }
.media-spec { font-size: 0.85rem !important; color: var(--teal-deep) !important; background: var(--cyan-soft); padding: 0.5rem 0.8rem; border-radius: 6px; }
.media-preview { text-align: center; }
.media-preview img { max-height: 120px; border-radius: 8px; border: 1px solid var(--line); margin-bottom: 0.4rem; }
.media-empty {
  height: 90px; display: grid; place-items: center; border: 2px dashed var(--line);
  border-radius: 8px; color: var(--muted); font-size: 0.85rem; margin-bottom: 0.6rem;
}
.media-remove { font-weight: 400 !important; font-size: 0.82rem; display: block; margin-bottom: 0.5rem; }
.media-remove input { width: auto; }
.media-hr { border: 0; border-top: 1px solid var(--line); margin: 1.8rem 0; }
@media (max-width: 720px) { .media-row { grid-template-columns: 1fr; } }

/* ============================================================
   ADMIN BAR + INLINE IMAGE EDITING (logged-in admins only)
   ============================================================ */
#adminBar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 44px; background: #1d2327; color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem; font-family: var(--font-body); font-size: 0.86rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.has-admin-bar { padding-top: 44px; }
.has-admin-bar .site-header { top: 44px; } /* keep sticky header below the bar */
#adminBar .ab-left, #adminBar .ab-right { display: flex; align-items: center; gap: 1rem; }
#adminBar .ab-logo { font-weight: 800; color: var(--yellow); }
#adminBar a { color: #c3c4c7; font-weight: 600; }
#adminBar a:hover { color: #fff; }
.ab-edit-toggle { display: flex; align-items: center; gap: 0.5rem; color: #c3c4c7; }

/* toggle switch */
.ab-switch { position: relative; display: inline-block; width: 38px; height: 20px; }
.ab-switch input { opacity: 0; width: 0; height: 0; }
.ab-slider {
  position: absolute; inset: 0; background: #50575e; border-radius: 20px;
  transition: 0.2s; cursor: pointer;
}
.ab-slider::before {
  content: ""; position: absolute; height: 14px; width: 14px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: 0.2s;
}
.ab-switch input:checked + .ab-slider { background: var(--cyan); }
.ab-switch input:checked + .ab-slider::before { transform: translateX(18px); }

/* edit overlays — hidden until edit-mode is on */
.edit-overlay {
  position: absolute; inset: 0; z-index: 30;
  display: none; align-items: center; justify-content: center;
  background: rgba(7,55,65,0.55); color: #fff; border: 2px dashed rgba(255,255,255,0.8);
  border-radius: inherit; cursor: pointer; font-family: var(--font-body);
  font-weight: 800; font-size: 0.95rem; text-align: center; line-height: 1.2;
}
.edit-overlay small { font-weight: 600; font-size: 0.72rem; opacity: 0.9; }
body.edit-mode .js-editable { outline: 2px solid var(--cyan); outline-offset: 2px; }
body.edit-mode .edit-overlay { display: flex; }
body.edit-mode .edit-overlay:hover { background: rgba(7,55,65,0.72); }
.js-editable.edit-uploading .edit-overlay { display: flex; background: rgba(7,55,65,0.8); }
.js-editable.edit-uploading .edit-overlay::after {
  content: "Uploading…"; position: absolute; bottom: 12px; font-size: 0.8rem;
}
.js-editable.edit-done { animation: editFlash 1.4s ease; }
@keyframes editFlash {
  0% { box-shadow: 0 0 0 0 rgba(41,182,216,0.7); }
  100% { box-shadow: 0 0 0 18px rgba(41,182,216,0); }
}
@media (max-width: 600px) {
  #adminBar { font-size: 0.75rem; padding: 0 0.5rem; }
  #adminBar .ab-right a:nth-child(n+3) { display: none; }
}

/* ---------- Team photo avatars ---------- */
.avatar--photo { background-size: cover; background-position: center; font-size: 0 !important; }
