/* ============================================================
   PAGE-SPECIFIC STYLES — Mobile-First | 320px → 3840px
   About · Location · Contact
   ============================================================ */

/* ============================================================
   PAGE HERO — shared by all sub-pages
   ============================================================ */
.page-hero {
  background: var(--grad-navy);
  padding-top: calc(var(--nav-height) + clamp(40px, 8vw, 80px));
  padding-bottom: clamp(40px, 8vw, 80px);
  position: relative;
  overflow: hidden;
  text-align: center;
  width: 100%;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--amber);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 6vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
  padding-inline: clamp(8px, 2vw, 0px);
}

.page-hero-subtitle {
  font-size: clamp(0.9375rem, 2.5vw, 1.125rem);
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.65;
  padding-inline: clamp(8px, 2vw, 0px);
}

/* ============================================================
   ABOUT PAGE — Timeline & Values
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--amber));
  border-radius: 2px;
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px; top: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--surface-1);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}
.timeline-year { font-family: var(--font-mono); font-size: 0.75rem; color: var(--blue); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 4px; }
.timeline-title { font-family: var(--font-display); font-size: clamp(0.9375rem, 2.5vw, 1rem); font-weight: 600; color: var(--text-heading); margin-bottom: 6px; }
.timeline-body { font-size: clamp(0.8125rem, 2vw, 0.875rem); color: var(--text-muted); line-height: 1.6; }

.value-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 28px);
  transition: all var(--transition-base);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(37,99,235,0.2); }
.value-icon {
  width: clamp(44px, 8vw, 52px);
  height: clamp(44px, 8vw, 52px);
  border-radius: var(--radius-lg);
  background: rgba(37,99,235,0.1);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  transition: all var(--transition-base);
}
.value-card:hover .value-icon { background: var(--blue); color: #fff; }
.value-title { font-family: var(--font-display); font-size: clamp(0.9375rem, 2.5vw, 1rem); font-weight: 600; color: var(--text-heading); margin-bottom: 8px; }
.value-desc { font-size: clamp(0.8125rem, 2vw, 0.875rem); color: var(--text-muted); line-height: 1.55; }

/* ============================================================
   LOCATION PAGE — Map + sidebar
   ============================================================ */

/* Map + sidebar grid: stacked on mobile, side-by-side at 900px */
.location-map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
  width: 100%;
}
@media (min-width: 900px) {
  .location-map-grid { grid-template-columns: 1fr minmax(0, 340px); }
}
@media (min-width: 1100px) {
  .location-map-grid { grid-template-columns: 1fr minmax(0, 380px); }
}

/* Map column */
.location-map-col { min-width: 0; }

/* Sidebar: cards stacked */
.location-sidebar {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 16px);
  min-width: 0;
}

/* Map container */
.map-container {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  background: var(--surface-3);
  position: relative;
  /* Mobile: taller aspect ratio */
  aspect-ratio: 4 / 3;
  min-height: 240px;
}
@media (min-width: 480px) {
  .map-container { aspect-ratio: 16 / 9; min-height: 280px; }
}
@media (min-width: 900px) {
  .map-container { aspect-ratio: 16 / 7; min-height: 340px; border-radius: var(--radius-2xl); }
}

.map-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Location detail card */
.location-detail-card {
  background: var(--surface-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(16px, 3vw, 28px);
  box-shadow: var(--shadow-md);
}

.location-detail-card h2,
.location-detail-card h3 {
  font-family: var(--font-display);
  font-size: clamp(0.9375rem, 2.5vw, 1.125rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.location-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.location-row:last-child { border-bottom: none; }

.location-row-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: rgba(37,99,235,0.1);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.location-row-label {
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 3px;
}
.location-row-value {
  font-size: clamp(0.875rem, 2.5vw, 0.9375rem);
  color: var(--text-heading); font-weight: 500; line-height: 1.5;
  word-break: break-word; overflow-wrap: anywhere; min-width: 0;
}
.location-row-value a { color: var(--blue); text-decoration: none; transition: color var(--transition-fast); }
.location-row-value a:hover { color: var(--blue-dark); }

/* Hours table */
.hours-table { width: 100%; border-collapse: collapse; font-size: clamp(0.8125rem, 2vw, 0.9rem); }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 9px 0; }
.hours-table td:first-child { color: var(--text-muted); font-weight: 500; }
.hours-table td:last-child { color: var(--text-heading); font-weight: 600; text-align: right; }
.hours-open { color: var(--emerald) !important; }

/* Nearby landmarks list */
.landmarks-list { display: flex; flex-direction: column; gap: 10px; }
.landmark-item {
  display: flex; gap: 10px; align-items: center;
  font-size: clamp(0.8125rem, 2vw, 0.875rem);
  color: var(--text-muted);
}
.landmark-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   CONTACT PAGE — Cards, Social, FAQ
   ============================================================ */

/* ── Contact cards grid: 1-col → 2-col at 560px ── */
.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 3vw, 20px);
  margin-bottom: clamp(28px, 5vw, 48px);
  width: 100%;
}
@media (min-width: 560px) {
  .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Visit Us + Hours grid: 1-col → 2-col at 640px ── */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 3vw, 24px);
  margin-bottom: clamp(28px, 5vw, 48px);
  width: 100%;
}
@media (min-width: 640px) {
  .contact-info-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Contact hero card ── */
.contact-hero-card {
  background: var(--surface-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.contact-hero-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2xl); }

.contact-hero-card-icon {
  width: clamp(52px, 10vw, 72px);
  height: clamp(52px, 10vw, 72px);
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: clamp(14px, 3vw, 20px);
  transition: transform var(--transition-spring);
  flex-shrink: 0;
}
.contact-hero-card:hover .contact-hero-card-icon { transform: scale(1.1) rotate(-6deg); }

.contact-hero-card-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}
.contact-hero-card-value {
  font-size: clamp(0.875rem, 2.5vw, 0.9375rem);
  color: var(--text-muted);
  margin-bottom: clamp(14px, 3vw, 20px);
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: anywhere;
  flex: 1;
}
.contact-value-sub {
  display: block;
  font-size: clamp(0.75rem, 2vw, 0.8125rem);
  color: var(--text-muted);
  margin-top: 2px;
}

/* Card button — always full width */
.contact-card-btn {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin-top: auto;
}

/* ── Location card heading ── */
.location-card-heading {
  font-family: var(--font-display);
  font-size: clamp(0.9375rem, 2.5vw, 1.125rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}

/* ── Hours status bar ── */
.hours-status-bar {
  margin-top: 14px;
  padding: clamp(10px, 2vw, 12px) clamp(12px, 2.5vw, 16px);
  background: rgba(16,185,129,0.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16,185,129,0.2);
  display: flex;
  gap: 10px;
  align-items: center;
}
.hours-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
  animation: status-pulse 2s infinite;
}
.hours-status-text {
  font-size: clamp(0.8125rem, 2vw, 0.875rem);
  color: var(--emerald);
  font-weight: 500;
}
@keyframes status-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

/* ── Location CTA wrap ── */
.location-cta-wrap { margin-top: 16px; }

/* ── FAQ sidebar CTA buttons ── */
.faq-cta-btns { display: flex; flex-direction: column; gap: 10px; }
.faq-cta-btns .btn { width: 100%; justify-content: center; }

/* ── Social grid: 2-col → 4-col ── */
.social-grid-contact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 2.5vw, 16px);
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}
@media (min-width: 640px) {
  .social-grid-contact { grid-template-columns: repeat(4, 1fr); }
}

/* Social cards — override inline padding on small screens */
.social-grid-contact a {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: clamp(18px, 4vw, 28px) clamp(10px, 2vw, 16px) !important;
  gap: clamp(8px, 2vw, 12px) !important;
}

.social-grid-contact a span {
  /* prevent long handles from overflowing */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  display: block;
  text-align: center;
}

/* ── FAQ section layout: 1-col → 2-col ── */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  width: 100%;
}
@media (min-width: 900px) {
  .faq-layout { grid-template-columns: 1fr 1.6fr; }
}

/* Sticky sidebar only on desktop */
.faq-sticky { position: static; }
@media (min-width: 900px) {
  .faq-sticky { position: sticky; top: 100px; }
}

/* ── FAQ accordion ── */
.faq-list { display: flex; flex-direction: column; gap: clamp(8px, 2vw, 12px); }

.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition-base);
}
.faq-item.open { border-color: rgba(37,99,235,0.3); }

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: clamp(14px, 3vw, 20px) clamp(16px, 3vw, 24px);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition-fast);
  min-height: 52px;
}
.faq-trigger:hover { background: var(--surface-3); }
.faq-item.open .faq-trigger { background: rgba(37,99,235,0.04); }

.faq-question {
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.4;
  min-width: 0;
  flex: 1;
}

.faq-icon {
  width: 30px; height: 30px;
  border-radius: var(--radius-full);
  background: var(--surface-3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
  color: var(--text-muted);
}
.faq-item.open .faq-icon {
  background: var(--blue);
  color: #fff;
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}
.faq-answer {
  padding: 0 clamp(16px, 3vw, 24px) clamp(14px, 3vw, 20px);
  font-size: clamp(0.875rem, 2.5vw, 0.9375rem);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   ABOUT PAGE — responsive inline grid overrides
   ============================================================ */

/* Intro 2-col layout */
.about-intro-grid { width: 100%; }
@media (min-width: 768px) {
  .about-intro-grid { grid-template-columns: 1fr 1fr !important; }
}

/* Values grid: 1-col → 2-col */
.about-values-grid { width: 100%; }
@media (min-width: 560px) {
  .about-values-grid { grid-template-columns: 1fr 1fr !important; }
}

/* Brands grid: 1-col → 2-col → 3-col */
.about-brands-grid { width: 100%; }
@media (min-width: 560px) {
  .about-brands-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (min-width: 900px) {
  .about-brands-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ============================================================
   DECORATIVE BLOBS — clamp sizes to avoid overflow
   ============================================================ */
/* The absolute-positioned blobs in about.html need capping */
[style*="width:200px"][style*="height:200px"][style*="border-radius:50%"],
[style*="width:150px"][style*="height:150px"][style*="border-radius:50%"],
[style*="width:120px"][style*="height:120px"] {
  max-width: 30vw;
  max-height: 30vw;
  overflow: hidden;
  pointer-events: none;
}
