/* ============================================
   HASTINGS PHOTOGRAPHIC — SHARED STYLES
   Yellow / friendly / Snappy Snaps inspired
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}
img { max-width: 100%; display: block; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* No overflow-x on html/body — it breaks scroll on some browsers.
   Instead, individual sections that might overflow use overflow: hidden. */

/* Accessible focus */
:focus-visible {
  outline: 3px solid #E5B400;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

:root {
  --yellow: #FFCF20;
  --yellow-deep: #E5B400;
  --yellow-light: #FFF0B8;
  --yellow-pale: #FFFBEB;
  --dark: #1A1A1A;
  --dark-2: #2D2D2D;
  --text: #333333;
  --text-2: #5A5A5A;
  --text-3: #888888;
  --border: #E8E8E8;
  --bg-warm: #FAFAF6;
  --bg-card: #F7F7F3;
  --white: #FFFFFF;
  --green: #3DAA5C;
  --green-light: #E8F5EC;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1200px;
  --nav-h: 72px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--dark);
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }

.highlight {
  background: linear-gradient(180deg, transparent 60%, var(--yellow) 60%);
  padding: 0 0.1em;
}
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
}
.eyebrow::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--yellow);
  border-radius: 3px;
}

/* ==== LAYOUT ==== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2rem);
}
section { padding: clamp(4rem, 7vw, 7rem) 0; }

/* ==== BUTTONS ==== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }
.btn-primary:hover { background: var(--yellow-deep); border-color: var(--yellow-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,207,32,0.35); }
.btn-dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover { background: var(--dark-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--border); }
.btn-outline:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-white { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-white:hover { background: var(--yellow-pale); border-color: var(--yellow); }

/* ==== TOP BAR ==== */
.topbar { background: var(--dark); color: var(--white); padding: 0.55rem 0; font-size: 0.78rem; font-weight: 500; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.topbar-left { display: flex; gap: 1.5rem; align-items: center; }
.topbar-left span { display: flex; align-items: center; gap: 0.375rem; opacity: 0.85; }
.topbar-right { color: var(--yellow); font-weight: 600; }

/* ==== NAV ==== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--nav-h); }

.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-icon {
  width: 52px; height: 52px; background: var(--yellow);
  border-radius: 50%; display: grid; place-items: center;
  flex-shrink: 0; overflow: hidden; padding: 5px;
}
.logo-icon img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--dark); letter-spacing: -0.01em; }
.logo-sub { font-size: 0.68rem; color: var(--text-3); font-weight: 500; }

.nav-menu { display: flex; gap: 0.25rem; align-items: center; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  font-size: 0.88rem; font-weight: 500; color: var(--text);
  padding: 0.5rem 0.75rem; border-radius: 8px; transition: all 0.2s;
  display: flex; align-items: center; gap: 0.3rem;
}
.nav-menu > li > a:hover { color: var(--dark); background: var(--bg-card); }
.nav-menu > li > a .chevron {
  width: 12px; height: 12px; transition: transform 0.2s;
  display: inline-block; line-height: 0;
}
.nav-menu > li:hover > a .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: 100%; left: -0.5rem; padding-top: 0.5rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.25s var(--ease); z-index: 200;
}
.nav-menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-inner {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.5rem;
  box-shadow: var(--shadow-lg); min-width: 260px;
}
.dropdown a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 500; color: var(--text);
  transition: all 0.15s;
}
.dropdown a:hover { background: var(--yellow-pale); color: var(--dark); }
.dropdown a .dd-icon {
  width: 36px; height: 36px; background: var(--bg-card);
  border-radius: 10px; display: grid; place-items: center;
  font-size: 1.1rem; flex-shrink: 0; transition: background 0.2s;
}
.dropdown a:hover .dd-icon { background: var(--yellow); }
.dropdown a .dd-text { display: flex; flex-direction: column; }
.dropdown a .dd-label { font-weight: 600; color: var(--dark); font-size: 0.88rem; }
.dropdown a .dd-desc { font-size: 0.72rem; color: var(--text-3); font-weight: 400; margin-top: 1px; }
.dropdown-divider { height: 1px; background: var(--border); margin: 0.35rem 0.75rem; }

.nav-cta .btn { padding: 0.7rem 1.5rem; font-size: 0.85rem; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 8px; background: var(--bg-card); place-items: center; font-size: 1.3rem; }

/* ==== PAGE HERO (for sub-pages) ==== */
.page-hero {
  background: linear-gradient(135deg, var(--yellow-pale) 0%, var(--white) 50%, var(--bg-warm) 100%);
  padding: clamp(3rem, 5vw, 5rem) 0;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; top: -80px; right: -40px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,207,32,0.15) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--text-3); margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--text-2); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--dark); }
.breadcrumb .sep { color: var(--border); }
.page-hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero-sub {
  font-size: 1.1rem; color: var(--text-2);
  max-width: 50ch; line-height: 1.65; margin-bottom: 1.75rem;
}
.page-hero-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip {
  padding: 0.45rem 0.875rem; background: var(--white);
  border: 1px solid var(--border); border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; color: var(--dark);
  display: flex; align-items: center; gap: 0.35rem;
}
.chip-yellow { background: var(--yellow); border-color: var(--yellow); }
.page-hero-img {
  aspect-ratio: 16/11; border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow);
}
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ==== HOW IT WORKS ==== */
.how-it-works { background: var(--white); }
.hiw-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 3rem;
}
.hiw-step {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center;
  transition: all 0.3s var(--ease); position: relative;
}
.hiw-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--yellow); }
.hiw-num {
  width: 48px; height: 48px; background: var(--yellow);
  border-radius: 50%; display: grid; place-items: center;
  font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: 1.15rem; color: var(--dark); margin: 0 auto 1.25rem;
}
.hiw-step h3 { margin-bottom: 0.5rem; }
.hiw-step p { font-size: 0.9rem; color: var(--text-2); margin: 0; line-height: 1.5; }
/* Connector arrows between steps */
.hiw-step::after {
  content: "→"; position: absolute; right: -1.25rem; top: 50%;
  transform: translateY(-50%); font-size: 1.5rem; color: var(--border);
  font-weight: 300;
}
.hiw-step:last-child::after { display: none; }

/* ==== SERVICE DETAIL SECTION ==== */
.service-detail { background: var(--bg-warm); }
.sd-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.sd-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: all 0.3s var(--ease);
}
.sd-card:hover { border-color: var(--yellow); box-shadow: var(--shadow-sm); }
.sd-card-icon {
  width: 48px; height: 48px; background: var(--yellow-pale);
  border-radius: 12px; display: grid; place-items: center;
  font-size: 1.4rem; margin-bottom: 1.25rem;
}
.sd-card h3 { margin-bottom: 0.5rem; }
.sd-card p { font-size: 0.9rem; color: var(--text-2); margin: 0; line-height: 1.55; }
/* Orphaned last card — centres it when alone on a row */
.sd-grid > .sd-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 0.75rem);
  justify-self: center;
}

/* Full-width feature with image */
.sd-feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; margin-top: 3rem;
}
.sd-feature-img {
  aspect-ratio: 4/3; border-radius: var(--radius-lg);
  overflow: hidden;
}
.sd-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.sd-feature-content h2 { margin-bottom: 1.25rem; }
.sd-feature-content p { color: var(--text-2); font-size: 1.02rem; line-height: 1.7; max-width: 50ch; }

/* ==== KEY BENEFITS (3-col trust row) ==== */
.benefits { background: var(--dark); color: var(--white); }
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 3rem;
}
.benefit {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center;
}
.benefit-icon {
  width: 56px; height: 56px; background: var(--yellow);
  border-radius: 50%; display: grid; place-items: center;
  font-size: 1.5rem; margin: 0 auto 1.25rem;
}
.benefit h3 { color: var(--white); margin-bottom: 0.5rem; }
.benefit p { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin: 0; line-height: 1.55; }

/* ==== FAQ ==== */
.faq { background: var(--white); }
.faq-list { max-width: 800px; margin: 3rem auto 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.faq-q {
  font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: 1.1rem; color: var(--dark);
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; gap: 1rem;
}
.faq-q::after {
  content: "+"; font-size: 1.5rem; color: var(--yellow-deep);
  font-weight: 300; flex-shrink: 0; transition: transform 0.3s;
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
  font-size: 0.95rem; color: var(--text-2);
  line-height: 1.65; margin-top: 1rem;
  padding-right: 2rem;
}

/* ==== PRICING TABLE (for services that show prices) ==== */
.pricing-table {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; margin-top: 2rem;
}
.pricing-table-header {
  background: var(--dark); color: var(--white);
  padding: 1.25rem 2rem; font-weight: 600; font-size: 1rem;
  display: flex; justify-content: space-between;
}
.pricing-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 2rem; border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row:nth-child(even) { background: var(--white); }
.pricing-row .price { font-weight: 700; color: var(--dark); font-family: 'Outfit', sans-serif; }
.pricing-note {
  padding: 1rem 2rem; font-size: 0.82rem; color: var(--text-3);
  border-top: 1px solid var(--border); background: var(--yellow-pale);
}

/* ==== RELATED SERVICES ==== */
.related { background: var(--bg-warm); border-top: 1px solid var(--border); }
.related-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem; margin-top: 2.5rem;
}
.related-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: all 0.3s var(--ease); cursor: pointer; text-align: center;
}
.related-card:hover { border-color: var(--yellow); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.related-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.related-card h4 { margin-bottom: 0.35rem; font-size: 0.95rem; }
.related-card p { font-size: 0.78rem; color: var(--text-3); margin: 0; }

/* ==== CTA BANNER ==== */
.cta-banner {
  background: var(--dark); color: var(--white); text-align: center;
  padding: clamp(4rem, 7vw, 6rem) 0; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,207,32,0.12) 0%, transparent 60%);
}
.cta-banner-inner { position: relative; max-width: 700px; margin: 0 auto; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 2rem; max-width: 50ch; margin-inline: auto; }
.cta-btns { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ==== HOMEPAGE SPECIFIC ==== */
/* Hero */
.hero {
  background: linear-gradient(135deg, var(--yellow-pale) 0%, var(--white) 40%, var(--bg-warm) 100%);
  padding: clamp(4rem, 8vw, 7rem) 0; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -120px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,207,32,0.2) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.875rem; background: var(--white);
  border: 1px solid var(--border); border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; color: var(--text-2);
  margin-bottom: 1.5rem; box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(61,170,92,0.5); animation: pulse 2.5s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }
.hero h1 { margin-bottom: 1.25rem; max-width: 16ch; }
.hero-sub { font-size: 1.1rem; color: var(--text-2); max-width: 50ch; margin-bottom: 2rem; line-height: 1.65; }
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-info { display: flex; gap: 2rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-info-item { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-info-item span { font-size: 0.72rem; text-transform: uppercase; font-weight: 600; color: var(--text-3); letter-spacing: 0.06em; }
.hero-info-item strong { font-size: 0.95rem; color: var(--dark); font-weight: 600; }
.hero-visual { position: relative; aspect-ratio: 4/3.5; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag { position: absolute; bottom: 1.25rem; left: 1.25rem; background: var(--yellow); color: var(--dark); padding: 0.625rem 1rem; border-radius: 100px; font-weight: 600; font-size: 0.82rem; box-shadow: var(--shadow); }

/* Trust bar */
.trust { padding: 2.5rem 0; border-bottom: 1px solid var(--border); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; text-align: center; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 0 0.75rem; }
.trust-icon { width: 44px; height: 44px; background: var(--yellow-pale); border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 0.25rem; }
.trust-item strong { font-size: 0.88rem; color: var(--dark); font-weight: 600; line-height: 1.2; }
.trust-item span { font-size: 0.76rem; color: var(--text-3); line-height: 1.3; }

/* Services grid (homepage) */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.35s var(--ease); cursor: pointer;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--yellow); }
.service-card:hover .sc-arrow { background: var(--yellow); color: var(--dark); }
.service-card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--border); }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body { padding: 1.5rem; }
.service-card-body h3 { margin-bottom: 0.5rem; }
.service-card-body p { font-size: 0.9rem; color: var(--text-2); line-height: 1.5; margin-bottom: 1.25rem; }
.sc-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--border); }
.sc-tag { font-size: 0.75rem; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; }
.sc-arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-warm); color: var(--text-2); display: grid; place-items: center; transition: all 0.3s; font-size: 1rem; }

/* Featured card (dark, spans 2 cols) */
.service-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; background: var(--dark); color: var(--white); border: none; }
.service-card.featured .service-card-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.service-card.featured h3 { color: var(--white); font-size: 1.75rem; }
.service-card.featured p { color: rgba(255,255,255,0.72); }
.service-card.featured .sc-footer { border-color: rgba(255,255,255,0.15); }
.service-card.featured .sc-tag { color: var(--yellow); }
.service-card.featured .service-card-img { aspect-ratio: auto; }
/* Yellow card */
.service-card.highlight { background: var(--yellow); border-color: var(--yellow); }
.service-card.highlight p { color: var(--dark-2); opacity: 0.8; }
.service-card.highlight .sc-footer { border-color: rgba(0,0,0,0.1); }
.service-card.highlight .sc-arrow { background: var(--dark); color: var(--yellow); }

/* Section header (centred) */
.section-header { text-align: center; max-width: 620px; margin: 0 auto 3.5rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.05rem; color: var(--text-2); line-height: 1.65; }

/* Section header (split, left/right) */
.section-header-split { display: flex; justify-content: space-between; align-items: end; margin-bottom: 3rem; flex-wrap: wrap; gap: 1.5rem; }

/* Film feature section on homepage */
.film-feature { background: var(--dark); color: var(--white); position: relative; overflow: hidden; }
.film-feature::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--yellow); }

/* About preview on homepage */
.about-preview { background: var(--bg-warm); }
.about-preview-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-preview-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.about-preview-img img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; bottom: 1.25rem; left: 1.25rem; right: 1.25rem; background: var(--white); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: 1rem; }
.about-badge-num { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 700; color: var(--dark); line-height: 1; flex-shrink: 0; }
.about-badge-num small { display: block; font-size: 0.65rem; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.15rem; }
.about-badge-text { font-size: 0.82rem; color: var(--text-2); line-height: 1.4; }
.about-quote { background: var(--yellow-pale); border-left: 4px solid var(--yellow); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.5rem 1.75rem; margin: 2rem 0; font-style: italic; font-size: 1.1rem; line-height: 1.5; color: var(--dark); }
.about-quote cite { display: block; font-style: normal; font-size: 0.82rem; font-weight: 600; color: var(--text-3); margin-top: 0.75rem; }

/* Pre-owned cameras section */
.cameras-section { background: var(--yellow); position: relative; overflow: hidden; }
.cameras-section::before { content: ""; position: absolute; top: -100px; right: -50px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 65%); border-radius: 50%; pointer-events: none; }
.cameras-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; position: relative; }
.cameras-note { margin-top: 1.75rem; padding: 1rem 1.25rem; background: rgba(0,0,0,0.06); border-radius: var(--radius); font-size: 0.85rem; color: var(--dark-2); display: flex; align-items: center; gap: 0.625rem; }
.cameras-visual { position: relative; aspect-ratio: 1; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.cameras-visual img { width: 100%; height: 100%; object-fit: cover; }

/* Blog grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s var(--ease); cursor: pointer; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-card); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post:hover .post-img img { transform: scale(1.05); }
.post-body { padding: 1.5rem; }
.post-tag { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); background: var(--yellow-pale); padding: 0.3rem 0.625rem; border-radius: 6px; display: inline-block; margin-bottom: 0.75rem; }
.post-title { font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 600; line-height: 1.3; color: var(--dark); margin-bottom: 0.75rem; }
.post-meta { font-size: 0.78rem; color: var(--text-3); }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.review-stars { color: var(--yellow-deep); margin-bottom: 1rem; letter-spacing: 0.08em; }
.review-text { font-size: 1rem; line-height: 1.55; color: var(--text); margin-bottom: 1.5rem; }
.review-author { display: flex; align-items: center; gap: 0.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-weight: 700; font-size: 0.82rem; color: var(--dark); flex-shrink: 0; }
.review-name { font-weight: 600; font-size: 0.9rem; }
.review-meta { font-size: 0.75rem; color: var(--text-3); }
.review-score { display: flex; align-items: center; gap: 0.75rem; background: var(--white); border: 1px solid var(--border); padding: 1rem 1.25rem; border-radius: var(--radius); }
.review-score-num { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 700; line-height: 1; }

/* Visit / Contact */
.hours-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; }
.hours-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.hours-title strong { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 600; }
.open-now { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--green-light); color: var(--green); padding: 0.35rem 0.75rem; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.open-now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); animation: pulse 2s ease-in-out infinite; }
.hours-list { display: grid; gap: 0.625rem; }
.hours-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--text-2); padding: 0.2rem 0; }
.hours-row.today { color: var(--dark); font-weight: 600; }
.address-card { background: var(--yellow-pale); border: 1px solid var(--yellow); border-radius: var(--radius); padding: 1.25rem; display: flex; flex-direction: column; justify-content: center; }
.address-card strong { display: block; font-size: 1rem; margin-bottom: 0.35rem; }
.address-card span { font-size: 0.88rem; color: var(--text-2); line-height: 1.5; display: block; }
.contact-link { display: flex; align-items: center; gap: 0.75rem; font-size: 0.92rem; font-weight: 600; color: var(--dark); padding: 0.75rem 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); transition: all 0.25s; }
.contact-link:hover { border-color: var(--yellow); background: var(--yellow-pale); }
.contact-link-icon { width: 36px; height: 36px; background: var(--yellow); border-radius: 10px; display: grid; place-items: center; font-size: 1rem; flex-shrink: 0; }
.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.contact-form h3 { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.82rem; font-weight: 600; color: var(--text-2); }
.form-field input, .form-field textarea, .form-field select { padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); font-size: 0.9rem; color: var(--dark); transition: border-color 0.2s; outline: none; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-pale); }
.form-field textarea { resize: vertical; min-height: 100px; }
.map-placeholder { aspect-ratio: 16/10; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card); border: 1px solid var(--border); display: grid; place-items: center; position: relative; }
.map-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.map-overlay { position: absolute; inset: 0; display: grid; place-items: center; }
.map-pin { background: var(--white); padding: 0.625rem 1rem; border-radius: 100px; font-size: 0.82rem; font-weight: 600; box-shadow: var(--shadow); }

/* ==== FOOTER ==== */
footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; margin-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand > p { margin-top: 1.25rem; font-size: 0.88rem; max-width: 32ch; line-height: 1.5; }
.footer-contact-info { margin-top: 1.5rem; font-size: 0.85rem; line-height: 1.7; }
.footer-contact-info a { color: var(--yellow); }
.footer-col h4 { font-family: 'Outfit', sans-serif; font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--white); margin-bottom: 1.25rem; }
.footer-col ul { display: grid; gap: 0.625rem; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.footer-socials { display: flex; gap: 0.5rem; }
.footer-socials a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,0.6); transition: all 0.3s; }
.footer-socials a:hover { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }
.footer-socials svg { width: 15px; height: 15px; }

/* ==== CONTACT GRID (contact page) ==== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 3rem; align-items: stretch;
}

/* ==== PASSPORT SPECIFIC ==== */
.passport-sizes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 1.5rem; margin: 1.75rem 0 2rem; }
.passport-sizes li { font-size: 0.88rem; color: var(--text-2); display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0; }
.passport-sizes li::before { content: "✓"; color: var(--green); font-weight: 700; font-size: 0.82rem; }

/* ==== RESPONSIVE ==== */

/* Tablet and down */
@media (max-width: 1024px) {
  /* Drop backdrop-filter on mobile — it creates a containing block that traps
     the fixed-positioned mobile menu inside the nav's bounding box. */
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
  .nav-menu { display: none; }
  .nav-menu.nav-open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--white); padding: 1rem 1.25rem 4rem; gap: 0.25rem;
    z-index: 999; overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  .nav-menu.nav-open > li { width: 100%; position: relative; }
  .nav-menu.nav-open > li > a {
    font-size: 1.05rem; padding: 1rem 0.5rem; min-height: 56px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border); width: 100%;
  }
  .nav-menu.nav-open > li > a .chevron { transition: transform 0.25s; font-size: 0.85rem; }
  .nav-menu.nav-open > li.open > a .chevron { transform: rotate(180deg); }
  /* Mobile dropdown: collapsed by default, reveals when parent li has .open */
  .nav-menu.nav-open .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    padding: 0; margin: 0.25rem 0 0.75rem;
    display: none;
  }
  .nav-menu.nav-open > li.open .dropdown { display: block; }
  .nav-menu.nav-open .dropdown-inner {
    box-shadow: none; border: none; background: var(--bg-warm);
    border-radius: var(--radius); padding: 0.5rem;
  }
  .nav-menu.nav-open .dropdown a { min-height: 56px; padding: 0.75rem 1rem; }

  .nav-toggle { display: grid; min-width: 44px; min-height: 44px; }
  .hero-inner, .about-preview-inner, .cameras-inner, .page-hero-inner, .sd-feature, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-card.featured { grid-column: span 3; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(n+4) { display: none; }
  .hiw-grid { grid-template-columns: 1fr; }
  .hiw-step::after { display: none; }
  .sd-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .passport-sizes { grid-template-columns: 1fr; }

  /* Prevent body scroll when mobile menu is open */
  body.nav-locked { overflow: hidden; }
}

/* Phones */
@media (max-width: 680px) {
  :root { --nav-h: 62px; }

  /* Typography shrinks on narrow screens */
  h1 { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  h3 { font-size: 1.2rem; }

  /* Tighter container padding */
  .container { padding: 0 1rem; }

  /* Section spacing reduces on small screens */
  section { padding: clamp(3rem, 9vw, 4.5rem) 0; }

  /* Topbar: compact, no email (too long) */
  .topbar { padding: 0.45rem 0; font-size: 0.72rem; }
  .topbar-inner { gap: 0.35rem 1rem; justify-content: center; flex-wrap: wrap; }
  .topbar-left { gap: 0.75rem 1rem; flex-wrap: wrap; justify-content: center; }
  .topbar-left span:nth-child(3) { display: none; }
  .topbar-right { font-size: 0.7rem; }

  /* Nav: hide side CTA on mobile, rely on hamburger */
  .nav-cta { display: none; }
  .nav-inner { gap: 0.75rem; }
  .logo { gap: 0.6rem; min-width: 0; }
  .logo-icon { width: 44px; height: 44px; padding: 4px; }
  .logo-name { font-size: 1rem; }
  .logo-sub { display: none; }

  /* Trust bar: show all five items, 2 columns with last spanning both */
  .trust { padding: 2rem 0; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 0.875rem 1rem; }
  .trust-item, .trust-item:nth-child(n+3), .trust-item:nth-child(n+4) { display: flex; padding: 0; }
  .trust-item:last-child { grid-column: 1 / -1; }
  .trust-icon { width: 40px; height: 40px; font-size: 1.1rem; }
  .trust-item strong { font-size: 0.85rem; }
  .trust-item span { font-size: 0.74rem; }

  /* Hero */
  .hero { padding: 2.5rem 0 3.5rem; }
  .hero h1 { max-width: none; }
  .hero-sub { font-size: 1rem; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-info { gap: 1.25rem 1.75rem; margin-top: 1.75rem; padding-top: 1.5rem; }
  .hero-visual { aspect-ratio: 4/3; }
  .hero-tag { font-size: 0.72rem; padding: 0.45rem 0.85rem; bottom: 0.75rem; left: 0.75rem; }

  /* Services grid */
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-card.featured { grid-column: span 1; grid-template-columns: 1fr; }
  .service-card.featured .service-card-img { aspect-ratio: 16/10; }
  .service-card.featured .service-card-body { padding: 1.5rem; }
  .service-card.featured h3 { font-size: 1.4rem; }
  .service-card-body { padding: 1.25rem; }

  /* Section headers: less bottom margin */
  .section-header { margin-bottom: 2.25rem; }
  .section-header-split { align-items: flex-start; margin-bottom: 2rem; }

  /* About preview badge: avoid overlap on tall portrait */
  .about-badge { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; padding: 0.875rem 1rem; gap: 0.75rem; }
  .about-badge-num { font-size: 1.6rem; }
  .about-badge-text { font-size: 0.78rem; line-height: 1.35; }
  .about-quote { font-size: 1rem; padding: 1.25rem 1.25rem; margin: 1.5rem 0; }

  /* Cameras section */
  .cameras-inner { gap: 2rem; }
  .cameras-note { font-size: 0.8rem; padding: 0.875rem 1rem; }

  /* Reviews */
  .review { padding: 1.5rem; }
  .review-text { font-size: 0.95rem; }

  /* CTA banner */
  .cta-banner { padding: 3.25rem 0; }
  .cta-banner p { font-size: 0.95rem; }
  .cta-btns { flex-direction: column; width: 100%; }
  .cta-btns .btn { width: 100%; justify-content: center; }

  /* Blog / related / footer */
  .blog-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  footer { padding: 3rem 0 1.75rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; margin-bottom: 1.5rem; }
  .footer-brand .logo-sub { display: none; }
  .footer-bottom { text-align: center; justify-content: center; flex-direction: column; }

  /* Forms: 16px font prevents iOS zoom, 48px min height for touch */
  .form-row { grid-template-columns: 1fr; }
  .form-field input, .form-field textarea, .form-field select {
    padding: 0.875rem 1rem; font-size: 16px; min-height: 48px;
  }
  .form-field textarea { min-height: 120px; }
  .contact-form { padding: 1.5rem; }

  /* FAQ */
  .faq-q { font-size: 1rem; gap: 0.75rem; }
  .faq-a { padding-right: 0; font-size: 0.92rem; }

  /* Pricing */
  .pricing-table-header { padding: 1rem 1.25rem; font-size: 0.92rem; }
  .pricing-row { padding: 0.875rem 1.25rem; font-size: 0.88rem; gap: 0.75rem; }
  .pricing-note { padding: 0.875rem 1.25rem; font-size: 0.78rem; }

  /* Page hero */
  .page-hero { padding: 2rem 0 3rem; }
  .breadcrumb { font-size: 0.76rem; margin-bottom: 1rem; flex-wrap: wrap; }
  .page-hero h1 { margin-bottom: 0.75rem; }
  .page-hero-sub { font-size: 1rem; margin-bottom: 1.5rem; }
  .page-hero-img { border-radius: var(--radius-lg); }

  /* Passport list: 2 cols instead of 1 (fits on small screens with short labels) */
  .passport-sizes { grid-template-columns: 1fr 1fr; gap: 0 1rem; }

  /* HIW cards: tighter padding */
  .hiw-step { padding: 1.5rem 1.25rem; }

  /* Service detail cards */
  .sd-card { padding: 1.5rem; }
  .sd-feature { gap: 2rem; }

  /* Buttons — tap-friendly */
  .btn { min-height: 48px; padding: 0.95rem 1.5rem; }

  /* Contact page cards */
  .hours-card, .contact-form { padding: 1.5rem; }
  .hours-title { flex-wrap: wrap; gap: 0.5rem; }
  .address-card { padding: 1.25rem; }
  .contact-link { padding: 0.875rem 1rem; min-height: 56px; }
}

/* Small phones (≤360px) — edge cases only */
@media (max-width: 360px) {
  .container { padding: 0 0.875rem; }
  .topbar-left { flex-direction: column; gap: 0.2rem; align-items: center; }
  h1 { font-size: 1.7rem; }
  .hero h1 { font-size: 1.85rem; }
  .btn { font-size: 0.85rem; padding: 0.85rem 1.25rem; }
  .trust-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .trust-item:last-child { grid-column: auto; }
  .logo-name { font-size: 0.95rem; }
  .logo-icon { width: 40px; height: 40px; }
  .review-score { padding: 0.75rem 1rem; }
  .review-score-num { font-size: 1.6rem; }
}
