/* ============================================================
   DIAMANTE JEWELERS — Stylesheet
   Design concept: Jewelers Row — timeless elegance
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --gold: #b8975a;
  --gold-dark: #9a7d47;
  --gold-light: #d4b577;
  --charcoal: #1c1c1c;
  --cream: #faf8f5;
  --warm-white: #ffffff;
  --border: #e5ded4;
  --text: #2c2c2c;
  --text-muted: #6b6366;
  --section-bg: #f4f0ea;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Lato", system-ui, -apple-system, sans-serif;

  --max-w: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 2px;
  --transition: 0.25s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold); text-decoration: underline; }
ul { list-style: none; }
address { font-style: normal; }

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: var(--charcoal);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
  border-radius: var(--radius);
}
.skip-link:focus { left: 1rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--charcoal);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.9rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
}

.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.logo-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nav */
.site-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item { position: relative; }

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 0.5rem 0.75rem;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.nav-link:hover, .nav-link.current {
  color: var(--gold-light);
  background: rgba(255,255,255,.05);
  text-decoration: none;
}
.chevron { transition: transform var(--transition); }
.dropdown-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  background: #1e1e1e;
  border: 1px solid rgba(184,151,90,.35);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-link {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,.8);
  letter-spacing: 0.04em;
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.dropdown-link:hover { color: var(--gold-light); background: rgba(255,255,255,.05); text-decoration: none; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Contact bar */
.header-contact-bar {
  background: rgba(0,0,0,.3);
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0.35rem var(--gutter);
  font-size: 0.75rem;
  color: rgba(255,255,255,.65);
  flex-wrap: wrap;
}
.header-contact-bar a { color: var(--gold-light); text-decoration: none; }
.header-contact-bar a:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #fff; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); color: #fff; }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.72rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,28,28,.7) 0%, rgba(28,28,28,.3) 60%, rgba(184,151,90,.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 4rem var(--gutter);
  max-width: 680px;
}
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 2rem;
  line-height: 1.65;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 5rem var(--gutter); }
.section-alt { background: var(--section-bg); }
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}
.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto 0;
}

/* ---------- Category Cards ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.category-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  background: var(--charcoal);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  transition: box-shadow var(--transition), transform var(--transition);
}
.category-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,.2); transform: translateY(-3px); text-decoration: none; }
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity var(--transition);
  opacity: 0.7;
}
.category-card:hover img { transform: scale(1.06); opacity: 0.55; }
.category-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(28,28,28,.85));
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.03em;
}
.category-card-label::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin: 0.5rem auto 0;
  transition: width var(--transition);
}
.category-card:hover .category-card-label::after { width: 48px; }

/* ---------- Gallery ---------- */
.gallery-page-header {
  background: var(--charcoal);
  color: #fff;
  padding: 4rem var(--gutter) 3rem;
  text-align: center;
}
.gallery-page-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.gallery-page-desc {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  max-width: 560px;
  margin: 0.5rem auto 0;
}
.gallery-call {
  margin-top: 1.25rem;
  color: rgba(255,255,255,.6);
  font-size: 0.9rem;
}
.gallery-call a { color: var(--gold-light); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  padding: 2.5rem var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: #e8e3db;
  cursor: pointer;
  position: relative;
}
.gallery-item a {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  padding: 0.5rem 0.6rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-align: center;
  font-family: var(--font-sans);
}

/* ---------- Page Hero (non-gallery) ---------- */
.page-hero {
  background: var(--charcoal);
  color: #fff;
  padding: 4.5rem var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(184,151,90,.12) 0%, transparent 70%);
}
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--gold-light);
  margin-bottom: 0.5rem;
  position: relative;
}
.page-hero-sub {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
  position: relative;
}

/* ---------- Content Sections ---------- */
.content-section {
  padding: 5rem var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.content-section h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.content-section h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--charcoal);
  margin: 1.5rem 0 0.5rem;
}
.content-section p { margin-bottom: 1rem; color: var(--text); }
.content-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.content-section li { margin-bottom: 0.3rem; }

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 360px));
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}
.team-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  border-radius: var(--radius) var(--radius) 0 0;
}
.team-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}
.team-title {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.team-bio { color: var(--text-muted); font-size: 0.95rem; }

/* Services list */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.service-item {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
/* SVG service icons */
.service-icon-wrap {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}
.service-svg {
  width: 28px;
  height: 28px;
  display: block;
}
/* Homepage "why" inline SVG icons */
.why-icon {
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.service-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}
.service-desc { font-size: 0.9rem; color: var(--text-muted); }

/* Policies */
.policy-block {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.policy-block h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.policy-block p, .policy-block li { font-size: 0.95rem; color: var(--text); }
.policy-block ul { list-style: disc; padding-left: 1.5rem; }
.policy-block li { margin-bottom: 0.5rem; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-detail h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.contact-address {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.contact-phones a {
  display: block;
  font-size: 1.2rem;
  font-family: var(--font-serif);
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 0.5rem 0; font-size: 0.95rem; }
.hours-table td:last-child { text-align: right; color: var(--text-muted); }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
}
.map-actions {
  padding: 1rem;
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* ---------- Store Photos ---------- */
.store-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  gap: 1rem;
  justify-content: center;
}
.store-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--charcoal);
}
.store-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--charcoal);
  padding: 4rem var(--gutter);
  text-align: center;
}
.cta-banner-inner { max-width: 640px; margin: 0 auto; }
.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}
.cta-banner p { color: rgba(255,255,255,.7); margin-bottom: 1.75rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- No-images placeholder ---------- */
.no-images {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-muted);
}
.no-images p { font-size: 1rem; }

/* ---------- Intro blurb ---------- */
.intro-blurb {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #111;
  color: rgba(255,255,255,.65);
  font-size: 0.9rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2.5rem;
}
.footer-col h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}
.footer-logo {
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  padding: 4px;
}
.footer-tagline { color: rgba(255,255,255,.45); font-size: 0.85rem; line-height: 1.6; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a { color: rgba(255,255,255,.6); transition: color var(--transition); text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
address { line-height: 1.8; }
.footer-col a { color: rgba(255,255,255,.7); }
.footer-col a:hover { color: var(--gold-light); }
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 0.85rem;
}
.hours-note { margin-top: 0.75rem; font-size: 0.8rem; color: rgba(255,255,255,.4); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  padding: 1.25rem var(--gutter);
  font-size: 0.78rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.93);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox-img-wrap {
  max-width: min(92vw, 1100px);
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,.12);
  color: #fff;
  border: none;
  font-size: 2rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }
.lightbox-prev, .lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  color: #fff;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.22); }
.lightbox-caption {
  position: fixed;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255,255,255,.5);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

/* ---------- Focus indicators ---------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.dropdown-link:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: -2px;
  background: rgba(255,255,255,.08);
}
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* Contact bar — short/full address toggle */
.contact-bar-addr-short { display: none; }

/* ---------- Responsive ---------- */

/* Tablet / large mobile — contact + map stack */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-detail { order: -1; }

  /* Map: full-width, practical mobile height */
  .map-wrap { width: 100%; }
  .map-wrap iframe {
    width: 100%;
    height: 340px;
  }
  .map-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .map-actions .btn { width: 100%; justify-content: center; }

  /* Contact CTA row */
  .contact-cta-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
  }
  .contact-cta-row .btn { width: 100%; justify-content: center; }
}

/* Mobile nav + general layout */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal);
    border-top: 1px solid rgba(255,255,255,.1);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
    z-index: 300;
  }
  .site-nav.open { max-height: 700px; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0.1rem;
  }
  .nav-link { justify-content: space-between; }

  /* Mobile dropdown: expand in-place */
  .dropdown-menu {
    position: static;
    background: rgba(255,255,255,.05);
    border: none;
    box-shadow: none;
    border-radius: 0;
    transform: none !important;
    padding-left: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.3s ease;
  }
  .dropdown-menu.open { max-height: 700px; }
  .has-dropdown:hover .dropdown-menu { max-height: 0; }
  .has-dropdown:hover .dropdown-menu.open { max-height: 700px; }

  /* Larger tap targets on submenu links */
  .dropdown-link {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .header-inner { position: relative; }

  /* Utility / contact bar: switch to short address */
  .contact-bar-addr-full { display: none; }
  .contact-bar-addr-short { display: inline; }
  .header-contact-bar {
    font-size: 0.8rem;
    gap: 0.75rem;
    padding: 0.4rem var(--gutter);
  }

  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.6rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }

  .lightbox-prev { left: 0.25rem; }
  .lightbox-next { right: 0.25rem; }

  /* Services + team cards stack */
  .services-list { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

/* Small phones ~480px */
@media (max-width: 480px) {
  .logo-img { width: 44px; height: 44px; }
  .logo-name { font-size: 1rem; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .hero { min-height: 60vh; }

  /* Keep 2-column galleries, model numbers legible */
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .gallery-caption { font-size: 0.7rem; padding: 0.3rem 0.4rem; }

  /* Hide hours from utility bar on small phones; they're on Contact page */
  .contact-bar-hours { display: none; }

  .header-contact-bar { gap: 0.75rem; }

  /* Map height for small phones */
  .map-wrap iframe { height: 280px; }
}

/* Very narrow phones ~360px — stack hero buttons */
@media (max-width: 360px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .hero-cta .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* 1-column gallery only at very narrow */
  .gallery-grid { grid-template-columns: 1fr; }

  .logo-name { font-size: 0.9rem; }
}

/* Narrowest phones ~320px */
@media (max-width: 320px) {
  .header-contact-bar { gap: 0.5rem; font-size: 0.75rem; }
  .category-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}
