/*
Theme Name: Bay Area Film Recovery Mobile Final
Author: Bay Area X-Ray Film Recycling
Description: Responsive Bay Area film recycling and pickup website.
Version: 2.4.0
Requires at least: 6.0
Text Domain: webuyxray
*/

:root {
  --ink: #10282d;
  --ink-soft: #193a3f;
  --teal: #087e78;
  --teal-deep: #06635f;
  --mint: #d8f3e5;
  --lime: #d6ed78;
  --paper: #f5f5f0;
  --white: #fff;
  --muted: #526568;
  --line: #dce4df;
  --shadow: 0 24px 64px rgba(16, 40, 45, .12);
  --radius: 24px;
  --content: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 "DM Sans", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }

h1, h2, h3, h4, .brand { font-family: Manrope, "DM Sans", Arial, sans-serif; }
h1, h2, h3 { color: var(--ink); line-height: 1.08; letter-spacing: -.035em; }
h1 { margin: 0 0 22px; font-size: clamp(2.55rem, 5.2vw, 4.75rem); }
h2 { margin: 0 0 18px; font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { margin: 0 0 10px; font-size: 1.22rem; }
p { margin: 0 0 18px; color: var(--muted); }
ul, ol { color: var(--muted); padding-left: 1.25em; }
li { padding-left: .15em; }

.skip-link { position: fixed; z-index: 50; top: 12px; left: 12px; transform: translateY(-160%); padding: 12px 18px; border-radius: 8px; background: #fff; color: var(--ink); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; z-index: 30; top: 0; background: rgba(249, 249, 245, .96); border-bottom: 1px solid rgba(16, 40, 45, .09); backdrop-filter: blur(16px); }
.nav { min-height: 78px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: .96rem; font-weight: 850; line-height: 1.05; letter-spacing: -.025em; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 13px; color: #eff8ef; background: var(--teal); }
.brand-mark svg { width: 24px; height: 24px; }
.brand small { display: inline-block; margin-top: 5px; color: var(--muted); font: 700 .64rem/1 "DM Sans", Arial, sans-serif; letter-spacing: .1em; }
.nav-links { margin-left: auto; }
.nav-links ul { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 24px); margin: 0; padding: 0; list-style: none; }
.nav-links li { padding: 0; }
.nav-links a { display: inline-block; color: var(--ink); font-size: .87rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: var(--teal); }
.nav-cta, .button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border: 0; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 800; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.nav-cta { flex: 0 0 auto; font-size: .88rem; }
.nav-cta:hover, .button:hover { transform: translateY(-1px); background: var(--teal-deep); color: #fff; }
.button.outline { border: 1px solid #c7d5cd; background: transparent; color: var(--ink); }
.button.outline:hover { border-color: var(--teal); background: #fff; color: var(--teal-deep); }
.menu-button, .nav-mobile-call { display: none; }

/* Home hero: visual first on small screens, balanced copy and art on desktop. */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 54px 0 68px; background: var(--paper); }
.hero::before { position: absolute; z-index: -1; top: -300px; right: -260px; width: 780px; height: 780px; border-radius: 50%; background: radial-gradient(circle, rgba(214, 237, 120, .32), rgba(214, 237, 120, 0) 68%); content: ""; }
.hero-grid { display: grid; grid-template-areas: "copy art"; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); align-items: center; gap: clamp(36px, 6vw, 82px); }
.hero-grid > div { grid-area: copy; min-width: 0; }
.hero-image { grid-area: art; overflow: hidden; border: 7px solid rgba(255, 255, 255, .76); border-radius: 30px; background: var(--ink); box-shadow: var(--shadow); transform: rotate(1deg); }
.hero-image img { width: 100%; aspect-ratio: 1.16; object-fit: contain; object-position: center; }
.hero-image figcaption { padding: 12px 16px; background: #fff; color: var(--muted); font-size: .82rem; font-weight: 650; }
.eyebrow { margin: 0 0 17px; color: var(--teal-deep); font-size: .75rem; font-weight: 850; letter-spacing: .15em; line-height: 1.5; text-transform: uppercase; }
.hero .lede { max-width: 640px; font-size: clamp(1.03rem, 1.4vw, 1.2rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 27px 0 23px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 11px 21px; color: var(--muted); font-size: .88rem; font-weight: 750; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row span::before { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: #e0f1e6; color: var(--teal-deep); content: "✓"; font-size: .72rem; }

.section { padding: clamp(58px, 7vw, 92px) 0; }
.section.white { background: var(--white); }
.section.dark { background: var(--ink); color: white; }
.section.dark h2, .section.dark h3 { color: white; }
.section.dark p { color: #c2d2cf; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-head > div { min-width: 0; }
.section-head p { max-width: 520px; margin: 0; }
.grid-3, .grid-2 { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 7px 22px rgba(16, 40, 45, .035); }
.tile .symbol { display: inline-grid; min-width: 38px; min-height: 38px; place-items: center; margin-bottom: 16px; border-radius: 12px; background: #e8f4ec; color: var(--teal-deep); font-size: 1.13rem; font-weight: 850; }
.tile p { margin: 0 0 14px; font-size: .95rem; }
.tile p:last-child { margin-bottom: 0; }
.tile a { font-weight: 800; }
.tile.dark-tile { border-color: #315057; background: var(--ink-soft); color: #fff; }
.tile.dark-tile h3 { color: #fff; }
.tile.dark-tile p { color: #c2d2cf; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(30px, 6vw, 72px); }
.highlight { padding: clamp(23px, 3.4vw, 38px); border: 1px solid #d8e7da; border-radius: 22px; background: #eaf2e7; }
.highlight p:last-child { margin-bottom: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.tag { padding: 7px 12px; border: 1px solid #dbe6de; border-radius: 99px; background: #fff; color: var(--muted); font-size: .84rem; font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin-top: 30px; border-radius: 18px; background: #385158; }
.stat { padding: 21px; background: var(--ink-soft); }
.stat strong { display: block; color: var(--lime); font: 850 1.4rem Manrope, Arial, sans-serif; }
.stat span { color: #c2d2cf; font-size: .88rem; }

.page-hero { padding: clamp(42px, 6vw, 72px) 0 44px; background: linear-gradient(135deg, #e9f2e9, #f5f5f0 68%); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.25rem, 4.8vw, 4rem); }
.page-hero p { max-width: 760px; font-size: 1.08rem; }
.breadcrumbs { margin-bottom: 19px; color: var(--muted); font-size: .82rem; }
.breadcrumbs a { text-decoration: none; }
.prose { max-width: 820px; min-width: 0; }
.prose h2 { margin-top: 40px; font-size: clamp(1.65rem, 3vw, 2.3rem); }
.prose h3 { margin-top: 27px; }
.prose img { height: auto; border-radius: 16px; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.prose li { margin: 7px 0; }
.prose a { overflow-wrap: anywhere; }
.city-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.county { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.county h3 { color: var(--teal-deep); }
.city-list { display: flex; flex-wrap: wrap; gap: 7px 10px; }
.city-list span { color: var(--muted); font-size: .9rem; }
.region-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.region-link { display: block; min-width: 0; padding: 19px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-decoration: none; }
.region-link strong { display: block; margin-bottom: 5px; color: var(--ink); }
.region-link span { color: var(--muted); font-size: .9rem; }
.callout { margin: 26px 0; padding: 22px 25px; border: 1px solid #d9e9bc; border-radius: 18px; background: #eff6da; }
.callout p { margin: 0; color: var(--ink); }
.faq-list { display: grid; gap: 11px; }
.faq-list details { padding: 17px 19px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.faq-list summary { position: relative; padding-right: 28px; color: var(--ink); cursor: pointer; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: -3px; right: 0; color: var(--teal); content: "+"; font-size: 1.3rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 12px 0 0; }
.city-selector { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.city-selector > summary { padding: 16px 20px; color: var(--teal-deep); cursor: pointer; font-weight: 800; list-style: none; }
.city-selector > summary::-webkit-details-marker { display: none; }
.city-selector-inner { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; padding: 0 20px 20px; }
.city-selector-inner label { width: 100%; font-weight: 750; }
.city-selector-inner select { width: min(100%, 360px); min-height: 48px; padding: 10px 12px; border: 1px solid #cbd8d0; border-radius: 10px; background: #fff; color: var(--ink); }

.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 22px; }
.contact-card, .form-card { min-width: 0; padding: clamp(21px, 3vw, 31px); border: 1px solid var(--line); border-radius: 21px; background: #fff; }
.contact-item { margin: 20px 0; }
.contact-item small { display: block; color: var(--muted); font-size: .73rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-item a { font-size: 1.1rem; font-weight: 800; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; min-width: 0; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: .9rem; font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid #cbd8d0; border-radius: 10px; outline: 0; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8, 126, 120, .14); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note, .notice { color: var(--muted); font-size: .83rem; }
.article-meta { color: var(--muted); font-size: .88rem; }
.article-callout { margin: 24px 0; padding: 9px 0 9px 19px; border-left: 4px solid var(--teal); }
.article-callout p { margin: 0; }

.footer { padding: 50px 0 22px; background: #0b2227; color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(140px, .75fr) minmax(160px, .85fr); gap: 38px; }
.footer .brand { color: #fff; }
.footer .brand small { color: #a9c1bb; }
.footer p, .footer a { color: #bed0ca; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--lime); }
.footer h3 { color: #fff; font-size: .98rem; letter-spacing: 0; }
.footer-links { display: grid; gap: 7px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; margin-top: 32px; padding-top: 17px; border-top: 1px solid #294248; color: #a9c1bb; font-size: .8rem; }

@media (max-width: 1020px) {
  .nav { gap: 16px; }
  .nav-links ul { gap: 11px; }
  .nav-links a { font-size: .8rem; }
  .nav-cta { padding-inline: 15px; font-size: .82rem; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 72px; }
  body { font-size: 16px; }
  .wrap { width: min(100% - 36px, 620px); }
  .nav { position: relative; min-height: 68px; gap: 6px; }
  .brand { gap: 8px; font-size: .82rem; }
  .brand-mark { width: 37px; height: 37px; flex-basis: 37px; border-radius: 11px; }
  .brand-mark svg { width: 21px; height: 21px; }
  .brand small { font-size: .56rem; }
  .nav-mobile-call { display: inline-flex; align-items: center; justify-content: center; min-height: 39px; margin-left: auto; padding: 0 8px; border: 1px solid #c8d6ce; border-radius: 999px; color: var(--ink); font-size: .72rem; font-weight: 850; text-decoration: none; white-space: nowrap; }
  .menu-button { position: relative; display: inline-grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border: 1px solid #c8d6ce; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; font-size: 0; }
  .menu-button::before { width: 17px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; content: ""; }
  .menu-button::after { position: absolute; top: 50%; left: 50%; width: 17px; border-top: 2px solid currentColor; content: ""; transform: translate(-50%, -50%); }
  .menu-button[aria-expanded="true"]::before { height: 0; border: 0; }
  .menu-button[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(45deg); }
  .nav-links { position: absolute; top: calc(100% + 1px); right: -18px; left: -18px; display: none; margin: 0; padding: 11px 18px 17px; border-bottom: 1px solid var(--line); background: #fbfbf8; box-shadow: 0 16px 24px rgba(16, 40, 45, .09); }
  .nav-links.open { display: block; }
  .nav-links ul { display: grid; gap: 0; }
  .nav-links li { border-bottom: 1px solid #e8eeea; }
  .nav-links li:last-child { border: 0; }
  .nav-links a { display: block; padding: 11px 2px; font-size: .98rem; white-space: normal; }
  .nav-cta { display: none; }
  .hero { padding: 20px 0 48px; }
  .hero-grid { grid-template-areas: "art" "copy"; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-image { width: min(100%, 520px); margin-inline: auto; border-width: 4px; border-radius: 21px; transform: none; }
  .hero-image img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; object-position: center; }
  .hero-image figcaption { padding: 9px 12px; font-size: .75rem; }
  .eyebrow { margin-bottom: 12px; font-size: .68rem; letter-spacing: .13em; }
  h1 { margin-bottom: 16px; font-size: clamp(2.2rem, 10vw, 3.15rem); line-height: 1.02; letter-spacing: -.045em; }
  h2 { font-size: clamp(1.8rem, 8vw, 2.45rem); }
  .hero .lede { font-size: 1.02rem; line-height: 1.62; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 9px; margin: 20px 0 17px; }
  .hero-actions .button { width: 100%; min-height: 50px; }
  .trust-row { display: grid; grid-template-columns: 1fr; gap: 8px; font-size: .85rem; }
  .section { padding: 54px 0; }
  .section-head { display: block; margin-bottom: 22px; }
  .section-head p { margin-top: 10px; }
  .grid-3, .grid-2, .region-links, .city-columns { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tile { padding: 21px; border-radius: 17px; }
  .split, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { padding: 17px 19px; }
  .page-hero { padding: 36px 0 29px; }
  .page-hero h1 { font-size: clamp(2.05rem, 9vw, 3rem); }
  .page-hero p { font-size: 1rem; }
  .prose { width: 100%; }
  .prose h2 { margin-top: 31px; }
  .city-selector { width: min(100% - 36px, 620px); }
  .city-selector-inner { align-items: stretch; }
  .city-selector-inner select, .city-selector-inner .button { width: 100%; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .field.full { grid-column: auto; }
  .contact-card, .form-card { padding: 21px; }
  .footer { padding-top: 38px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-bottom { display: grid; gap: 6px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  .nav-mobile-call { padding-inline: 10px; }
  .brand { font-size: .76rem; }
  .hero-actions .button { padding-inline: 14px; font-size: .92rem; }
  .city-selector { width: calc(100% - 28px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}



