/* ============================================================
   PurpleGroove / JBX Music — Global Stylesheet
   Full-width layout · 5px side padding · Mobile-first
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Lato:wght@300;400;700&display=swap');

/* ── Custom Properties ──────────────────────────────────── */
:root {
  --clr-primary:  #6b21a8;
  --clr-accent:   #f97316;
  --clr-dark:     #0f0a1a;
  --clr-dark2:    #1a1030;
  --clr-mid:      #2d1f4e;
  --clr-light:    #f5f0ff;
  --clr-white:    #ffffff;
  --clr-text:     #e2d9f3;
  --clr-muted:    #a89cc8;

  --ff-head: 'Playfair Display', Georgia, serif;
  --ff-body: 'Lato', sans-serif;
  --ff-ui:   'Montserrat', sans-serif;

  --nav-h:   100px;
  --r:       8px;
  --shadow:  0 4px 28px rgba(107,33,168,.28);
  --ease:    .3s cubic-bezier(.4,0,.2,1);

  /* ── FULL WIDTH: 5px padding each side ── */
  --px: 5px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--clr-dark);
  color: var(--clr-text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
a  { color: var(--clr-accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--clr-white); }
ul { list-style: none; }

/* ── Skip link ──────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -9999px; left: var(--px);
  background: var(--clr-accent); color: #fff;
  padding: .5rem 1rem; border-radius: var(--r); z-index: 9999;
}
.skip-link:focus { top: 1rem; }

/* ── FULL-WIDTH WRAPPER ─────────────────────────────────── */
/* Every section's inner content uses this */
.wrap {
  width: 100%;
  padding-left: var(--px);
  padding-right: var(--px);
}

/* ── NAVIGATION ─────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(15,10,26,.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(107,33,168,.35);
  z-index: 1000;
  display: flex; align-items: center;
  padding: 0 var(--px);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ff-ui); font-weight: 900; font-size: 1.35rem;
  color: var(--clr-white); letter-spacing: -.02em; flex-shrink: 0;
}
.nav-logo span { color: var(--clr-accent); }
.nav-logo img {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--clr-accent);
  flex-shrink: 0; background: #ffffff; padding: 2px;
}

.nav-links {
  display: flex; align-items: center; gap: 1.5rem;
  font-family: var(--ff-ui); font-size: .82rem; font-weight: 600;
  letter-spacing: .05em;
}
.nav-links a { color: var(--clr-muted); text-transform: uppercase; white-space: nowrap; }
.nav-links a:hover,
.nav-links a.active { color: var(--clr-white); }
.nav-cta {
  background: var(--clr-accent) !important; color: #fff !important;
  padding: .45rem 1.2rem; border-radius: 50px;
  white-space: nowrap;
}
.nav-cta:hover { background: #ea6b0a !important; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%);
  background: var(--clr-dark2);
  border: 1px solid rgba(107,33,168,.4);
  border-radius: var(--r); min-width: 190px;
  padding: .5rem 0; opacity: 0; pointer-events: none;
  transition: var(--ease); box-shadow: var(--shadow);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; pointer-events: all; }
 .dropdown-menu li a {
  display: block; padding: .6rem 1.25rem;
  color: var(--clr-muted); font-size: .82rem;
  text-transform: none;
} 
.dropdown-menu li a:hover { color: var(--clr-white); background: rgba(107,33,168,.2); }

/* Hamburger */
.hamburger {
  display: none; cursor: pointer; flex-direction: column;
  gap: 5px; background: none; border: none; padding: 6px;
  flex-shrink: 0;
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--clr-white); border-radius: 2px;
  transition: var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; width: 100%;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,#0f0a1a 0%,#2d1f4e 50%,#0f0a1a 100%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 55% 40%,rgba(107,33,168,.4) 0%,transparent 70%);
}
.hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .22; mix-blend-mode: luminosity;
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 860px;
  padding: 2rem var(--px);
  animation: heroIn .9s ease both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-family: var(--ff-ui); font-size: .78rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--clr-accent); margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--ff-head); font-size: clamp(2.2rem,5.5vw,4.5rem);
  font-weight: 900; line-height: 1.08; color: var(--clr-white);
  margin-bottom: 1.2rem;
}
.hero h1 em { color: var(--clr-accent); font-style: normal; }
.hero p {
  font-size: 1.1rem; color: var(--clr-muted);
  max-width: 600px; margin: 0 auto 2rem;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-ui); font-weight: 700; font-size: .88rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .82rem 2rem; border-radius: 50px;
  cursor: pointer; border: 2px solid transparent;
  transition: var(--ease); white-space: nowrap;
}
.btn-primary  { background: var(--clr-accent); color: #fff; border-color: var(--clr-accent); }
.btn-primary:hover  { background: #ea6b0a; color: #fff; border-color: #ea6b0a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.4); }
.btn-outline  { border-color: var(--clr-accent); color: var(--clr-accent); background: transparent; }
.btn-outline:hover  { background: var(--clr-accent); color: #fff; transform: translateY(-2px); }
.btn-purple   { background: var(--clr-primary); color: #fff; border-color: var(--clr-primary); }
.btn-purple:hover   { background: #7e22ce; color: #fff; }
.btn-sm { padding: .5rem 1.1rem; font-size: .78rem; }

/* ── SECTIONS ───────────────────────────────────────────── */
.section { padding: 5rem 0; width: 100%; }
.section-alt { background: var(--clr-dark2); }

.section-title {
  font-family: var(--ff-head);
  font-size: clamp(1.75rem,3.2vw,2.75rem);
  color: var(--clr-white); margin-bottom: .6rem; line-height: 1.2;
}
.section-subtitle {
  color: var(--clr-muted); max-width: 640px;
  margin-bottom: 2.75rem; font-size: 1rem;
}
.section-eyebrow {
  font-family: var(--ff-ui); font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--clr-accent); margin-bottom: .5rem;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--clr-mid); border-radius: 12px; padding: 1.75rem;
  border: 1px solid rgba(107,33,168,.22); transition: var(--ease);
}
.card:hover { border-color: rgba(249,115,22,.4); transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(249,115,22,.14);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.1rem;
}
.card h3 {
  font-family: var(--ff-ui); font-weight: 700;
  color: var(--clr-white); margin-bottom: .5rem; font-size: 1rem;
}
.card p { font-size: .9rem; color: var(--clr-muted); }

/* ── GRID SYSTEM ────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* ── STATS BAR ──────────────────────────────────────────── */
.stats-bar { background: var(--clr-primary); padding: 2.5rem var(--px); width: 100%; }
.stats-inner {
  display: flex; justify-content: space-around;
  flex-wrap: wrap; gap: 1.5rem; text-align: center;
  width: 100%;
}
.stat-num {
  font-family: var(--ff-head); font-size: 2.6rem;
  color: #fff; font-weight: 900; line-height: 1;
}
.stat-lbl {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.75); margin-top: .25rem;
}

/* ── ARTIST CARD ────────────────────────────────────────── */
.artist-card {
  position: relative; border-radius: 12px; overflow: hidden;
  aspect-ratio: 3/4; background: var(--clr-mid);
}
.artist-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.artist-card:hover img { transform: scale(1.06); }
.artist-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(15,10,26,.9));
}
.artist-caption h3 {
  font-family: var(--ff-ui); font-weight: 700;
  color: #fff; font-size: 1.05rem; margin: 0;
}
.artist-caption span { font-size: .8rem; color: var(--clr-accent); }

/* ── TESTIMONIAL ────────────────────────────────────────── */
.testimonial {
  background: var(--clr-mid); border-radius: 12px; padding: 2rem;
  border: 1px solid rgba(107,33,168,.22); position: relative;
}
.testimonial::before {
  content: '"'; font-size: 5rem; line-height: 1;
  color: rgba(107,33,168,.35); position: absolute;
  top: .5rem; left: 1rem; font-family: var(--ff-head);
}
.testimonial p {
  font-size: .98rem; color: var(--clr-text);
  margin-bottom: 1.2rem; padding-top: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-author img {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--clr-accent); object-fit: cover; flex-shrink: 0;
}
.testimonial-author h4 {
  font-family: var(--ff-ui); font-weight: 700;
  color: var(--clr-white); font-size: .9rem; margin: 0;
}
.testimonial-author span { font-size: .78rem; color: var(--clr-muted); }

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--clr-dark2) 0%, var(--clr-mid) 100%);
  padding: calc(var(--nav-h) + 3rem) var(--px) 3rem;
  border-bottom: 1px solid rgba(107,33,168,.3);
  position: relative; overflow: hidden; width: 100%;
}
.page-hero::after {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(107,33,168,.2) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: var(--ff-head); font-size: clamp(1.9rem,4vw,3.2rem);
  color: var(--clr-white); position: relative; z-index: 1;
}
.page-hero p {
  font-size: 1rem; color: var(--clr-muted); max-width: 640px;
  margin-top: .75rem; position: relative; z-index: 1;
}

/* ── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb {
  padding: .75rem 0; font-size: .78rem;
  color: var(--clr-muted); font-family: var(--ff-ui);
  position: relative; z-index: 1;
}
.breadcrumb a { color: var(--clr-muted); }
.breadcrumb a:hover { color: var(--clr-accent); }
.breadcrumb span { color: var(--clr-accent); }

/* ── FEATURE LIST ────────────────────────────────────────── */
.feature-list { list-style: none; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid rgba(107,33,168,.15);
}
.feature-list li:last-child { border: none; }
.fi { font-size: 1.4rem; flex-shrink: 0; }
.feature-list strong {
  font-family: var(--ff-ui); color: var(--clr-white);
  display: block; margin-bottom: .25rem;
}
.feature-list p { font-size: .9rem; color: var(--clr-muted); margin: 0; }

/* ── CONTACT ────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: rgba(107,33,168,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0; color: var(--clr-accent);
}
.contact-item h3 {
  font-family: var(--ff-ui); font-weight: 700; color: var(--clr-white);
  margin-bottom: .2rem; font-size: .9rem;
}
.contact-item p, .contact-item a { font-size: .9rem; color: var(--clr-muted); }

/* ── FORM ───────────────────────────────────────────────── */
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: .82rem; font-weight: 600;
  color: var(--clr-muted); margin-bottom: .45rem;
  font-family: var(--ff-ui); letter-spacing: .04em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: .82rem 1rem;
  background: var(--clr-mid); border: 1px solid rgba(107,33,168,.3);
  border-radius: var(--r); color: var(--clr-white);
  font-family: var(--ff-body); font-size: .95rem;
  transition: border-color var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,.14);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select { cursor: pointer; }
select option { background: var(--clr-dark2); }

/* ── MAP ────────────────────────────────────────────────── */
.map-box { border-radius: 12px; overflow: hidden; border: 1px solid rgba(107,33,168,.25); }
.map-box iframe { width: 100%; height: 340px; border: none; display: block; }

/* ── PRODUCT CARD ────────────────────────────────────────── */
.product-card {
  background: var(--clr-mid); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(107,33,168,.22); transition: var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(249,115,22,.4); }
.product-img {
  aspect-ratio: 1; overflow: hidden; background: #1a1030;
  display: flex; align-items: center; justify-content: center;
}
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.product-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-body h3 {
  font-family: var(--ff-ui); font-weight: 700; color: var(--clr-white);
  font-size: .88rem; margin-bottom: .5rem; line-height: 1.4;
}
.product-body .stars { color: #f59e0b; font-size: .85rem; margin-bottom: .75rem; }
.badge {
  display: inline-block; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: rgba(107,33,168,.35); color: var(--clr-accent);
  padding: .2rem .65rem; border-radius: 4px; margin-bottom: .6rem;
}
.product-body .btn { margin-top: auto; align-self: flex-start; }

/* ── SONGS GRID ─────────────────────────────────────────── */
.songs-grid {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr));
  gap: .6rem;
}
.song-item {
  background: rgba(45,31,78,.5); border-radius: var(--r);
  padding: .78rem 1.1rem; border: 1px solid rgba(107,33,168,.16);
  font-size: .86rem; color: var(--clr-text); transition: var(--ease); cursor: pointer;
}
.song-item:hover { border-color: var(--clr-accent); color: var(--clr-white); padding-left: 1.35rem; }

/* ── SETLIST ITEM ────────────────────────────────────────── */
.setlist-grid {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: .6rem;
}
.setlist-item {
  background: var(--clr-mid); border-radius: var(--r);
  padding: .7rem 1rem; font-family: var(--ff-ui); font-size: .78rem;
  font-weight: 600; color: var(--clr-text); letter-spacing: .04em;
  text-transform: uppercase; border: 1px solid rgba(107,33,168,.2);
  transition: var(--ease); text-align: center;
}
.setlist-item:hover { border-color: var(--clr-accent); color: var(--clr-white); }

/* ── GALLERY ────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.video-thumb {
  position: relative; border-radius: var(--r); overflow: hidden;
  aspect-ratio: 16/9; background: var(--clr-mid);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video-thumb:hover img { transform: scale(1.05); }
.play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,10,26,.38);
}
.play-overlay::before {
  content: '▶';
  font-size: 2.4rem; color: rgba(255,255,255,.9);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.6));
}

/* ── EXERCISE BOX ────────────────────────────────────────── */
.exercise-box {
  background: var(--clr-mid); border-radius: 12px; padding: 1.75rem;
  border: 1px solid rgba(107,33,168,.22); margin-bottom: 1.25rem;
}
.exercise-box h3 {
  font-family: var(--ff-ui); color: var(--clr-accent);
  margin-bottom: 1rem; font-size: .88rem; letter-spacing: .12em;
  text-transform: uppercase;
}
.exercise-notes {
  font-family: 'Courier New', monospace; font-size: 1.05rem;
  color: var(--clr-white); line-height: 2.2; letter-spacing: .12em;
}

/* ── ACCORDION ──────────────────────────────────────────── */
.accordion-item {
  border: 1px solid rgba(107,33,168,.22); border-radius: var(--r);
  margin-bottom: .7rem; overflow: hidden;
}
.accordion-btn {
  width: 100%; background: var(--clr-mid); border: none;
  padding: 1.1rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--ff-ui); font-weight: 600; font-size: .92rem;
  color: var(--clr-white); cursor: pointer; transition: var(--ease);
  text-align: left;
}
.accordion-btn:hover { background: rgba(107,33,168,.3); }
.chevron { transition: transform var(--ease); font-size: .8rem; color: var(--clr-accent); }
.accordion-btn[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.accordion-inner {
  padding: 1.25rem 1.5rem; font-size: .9rem; color: var(--clr-muted);
}

/* ── SEARCH BAR ─────────────────────────────────────────── */
.search-bar { display: flex; gap: .5rem; max-width: 480px; width: 100%; }
.search-bar input {
  flex: 1; padding: .78rem 1rem;
  background: var(--clr-mid); border: 1px solid rgba(107,33,168,.3);
  border-radius: var(--r); color: var(--clr-white); font-size: .9rem;
}
.search-bar input::placeholder { color: var(--clr-muted); }
.search-bar input:focus { outline: none; border-color: var(--clr-accent); }
.search-bar button {
  padding: .78rem 1.2rem; background: var(--clr-accent);
  border: none; border-radius: var(--r); color: #fff;
  cursor: pointer; font-size: .95rem; transition: var(--ease);
}
.search-bar button:hover { background: #ea6b0a; }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: #07030f;
  border-top: 1px solid rgba(107,33,168,.3);
  padding: 4rem var(--px) 0;
  width: 100%;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; padding-bottom: 3rem;
}
.footer-logo {
  font-family: var(--ff-ui); font-weight: 900;
  font-size: 1.3rem; color: var(--clr-white); margin-bottom: .75rem;
}
.footer-logo span { color: var(--clr-accent); }
.footer-brand p { font-size: .86rem; color: var(--clr-muted); max-width: 280px; }
.footer-col h4 {
  font-family: var(--ff-ui); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--clr-muted); margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul a { font-size: .86rem; color: var(--clr-muted); }
.footer-col ul a:hover { color: var(--clr-white); }
.footer-social { display: flex; gap: .65rem; margin-top: 1.2rem; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(107,33,168,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-muted); font-size: .85rem; transition: var(--ease);
  text-decoration: none;
}
.social-btn:hover { background: var(--clr-accent); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(107,33,168,.2);
  padding: 1.2rem 0; text-align: center;
  font-size: .76rem; color: var(--clr-muted);
}

/* ── TOAST ──────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--clr-accent); color: #fff;
  padding: 1rem 1.5rem; border-radius: var(--r);
  font-family: var(--ff-ui); font-weight: 600; font-size: .88rem;
  z-index: 9999; transform: translateY(100px); opacity: 0;
  transition: var(--ease); pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── DIVIDER / UTILS ────────────────────────────────────── */
.divider { height: 1px; background: rgba(107,33,168,.2); margin: 2rem 0; }
.tag-pill {
  display: inline-block; background: rgba(107,33,168,.25); color: var(--clr-accent);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .22rem .7rem; border-radius: 50px; margin: .2rem .3rem .2rem 0;
}
.mb-1 { margin-bottom: .5rem; }  .mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }      .mt-4 { margin-top: 2rem; }
.highlight { color: var(--clr-accent); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤1024px)
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .nav-links { gap: 1rem; font-size: .78rem; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — iPad / Tablet (≤900px)
══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .stats-inner { gap: 2rem; }
  .page-hero { padding-top: calc(var(--nav-h) + 2rem); }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤768px)
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --px: 5px; }

  /* Show hamburger, hide desktop nav links */
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(15,10,26,.98);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 0 1rem;
    border-bottom: 1px solid rgba(107,33,168,.3);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .35s ease, opacity .35s ease;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav-links.open {
    transform: translateY(0); opacity: 1; pointer-events: all;
  }
  .nav-links li > a {
    display: block; padding: .9rem 1.25rem;
    font-size: .88rem; border-bottom: 1px solid rgba(107,33,168,.1);
    width: 100%;
  }
  .nav-links .nav-cta {
    margin: .75rem 1.25rem 0;
    display: inline-block; width: auto;
    border-radius: 50px; border-bottom: none;
  }
  /* Mobile dropdowns - always visible when menu open */
  .dropdown-menu {
    position: static; transform: none; opacity: 1; pointer-events: all;
    box-shadow: none; background: rgba(0,0,0,.3);
    border: none; border-radius: 0; min-width: unset;
    padding: 0;
  }
  .dropdown-menu li a {
    padding: .7rem 2rem; font-size: .84rem;
    border-bottom: 1px solid rgba(107,33,168,.08);
  }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .section { padding: 3.5rem 0; }
  .hero h1 { font-size: clamp(1.9rem,7vw,2.8rem); }
  .hero p { font-size: 1rem; }

  /* Inline grid override for "about strip" 2-col */
  .about-grid { grid-template-columns: 1fr !important; }
  .about-grid img { margin-top: 1.5rem; max-height: 320px; width: 100%; object-fit: cover; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Small Mobile (≤480px)
══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; gap: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .nav-logo { font-size: 1.15rem; }
  .nav-logo img { width: 38px; height: 38px; }
  .search-bar { flex-direction: column; }
  .search-bar input, .search-bar button { width: 100%; }
  .btn { padding: .78rem 1.5rem; font-size: .84rem; }
}
