@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

/* ============================================
   COLLEGE BOULEVARD ANIMAL HOSPITAL
   Navy Professional Theme
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Skip-to-content link (accessibility) */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 10000;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-to-content:focus {
  top: 0;
}

:root {
  --navy-dark: #0f1e3d;
  --navy: #1a2e5a;
  --navy-mid: #253d6f;
  --navy-light: #3a5a8c;
  --blue-accent: #4a7ec2;
  --blue-bright: #5a9bd5;
  --blue-pale: #d6e4f0;
  --blue-wash: #eaf1f8;

  --white: #ffffff;
  --off-white: #f7f9fc;
  --gray-50: #f0f3f7;
  --gray-100: #e2e7ee;
  --gray-200: #c8d0dc;
  --gray-300: #a3afc0;
  --gray-400: #7b8aa0;
  --gray-500: #5a6a82;
  --gray-600: #455368;
  --gray-700: #344052;
  --gray-800: #232e3e;
  --gray-900: #141c28;

  --accent: #c97b2a;
  --accent-hover: #b56a1e;
  --accent-light: #f5e6d0;

  --text-primary: #1a2e5a;
  --text-body: #344052;
  --text-light: #5a6a82;
  --text-muted: #7b8aa0;

  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(15,30,61,0.06);
  --shadow: 0 2px 8px rgba(15,30,61,0.08);
  --shadow-md: 0 4px 16px rgba(15,30,61,0.1);
  --shadow-lg: 0 8px 32px rgba(15,30,61,0.12);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-body);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  opacity: 0;
}

body.fonts-loaded {
  opacity: 1;
  transition: opacity 0.2s ease;
}

/* Fallback: show page after 1s even if fonts fail to load */
body.fonts-timeout { opacity: 1; transition: opacity 0.3s ease; }




img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--blue-accent); }

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

/* --- Typography Helpers --- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-accent);
  background: var(--blue-wash);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
  font-family: 'Inter', sans-serif;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--navy-dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 600px;
}


/* ============================================
   NAVIGATION
   ============================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #ffffff;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow 0.3s var(--ease);
}

nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.nav-logo-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
}

.nav-logo-img {
  width: 68px;
  height: auto;
  flex-shrink: 0;
}

.nav-logo-text { display: flex; flex-direction: column; }

.nav-logo-text span:first-child {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.2;
}

.nav-logo-text span:last-child {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius);
  transition: all 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--navy);
  background: var(--gray-50);
}

.nav-cta {
  background: var(--navy) !important;
  color: white !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--navy-mid) !important;
  color: white !important;
}

/* --- Services Dropdown (desktop) --- */
.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-wrap > a { white-space: nowrap; }
.nav-dropdown-wrap > a::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 5px;
  margin-bottom: 2px;
  opacity: 0.7;
}

/* Mobile-only elements — hidden by default, shown in mobile media query */
.mobile-expand { display: none !important; }
.nav-mobile-sub { display: none !important; }

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #ffffff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 8px 24px rgba(15,30,61,0.12);
  padding: 0.5rem;
  z-index: 999;
  list-style: none;
  overflow: visible;
}

.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap:focus-within .nav-dropdown {
  display: flex;
  flex-direction: column;
}

/* Small invisible bridge to prevent hover gap between nav link and dropdown */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -12px;
  right: -12px;
  height: 4px;
}

.nav-dropdown li a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius);
  transition: all 0.15s var(--ease);
  white-space: nowrap;
}

.nav-dropdown li a:hover {
  background: var(--gray-50);
  color: var(--navy);
}

.nav-dropdown .dropdown-view-all a {
  color: var(--blue-accent);
  font-weight: 600;
  border-top: 1px solid var(--gray-100);
  margin-top: 0.25rem;
  padding-top: 0.65rem;
  border-radius: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}


/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  line-height: 1.4;
}

.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-mid); color: white; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: var(--accent-hover); color: white; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-white { background: white; color: var(--navy); }
.btn-white:hover { background: var(--gray-50); color: var(--navy); transform: translateY(-1px); }

.btn-secondary { background: var(--blue-wash); color: var(--navy); }
.btn-secondary:hover { background: var(--blue-pale); color: var(--navy); }

.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--gray-200); }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: white; }


/* ============================================
   HERO — HOME PAGE
   ============================================ */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-mid) 100%);
  padding: 6rem 1.5rem 3.5rem;
  overflow: hidden;
  text-align: center;
}

.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(74,126,194,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(90,155,213,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: rgba(90,155,213,0.15);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  font-family: 'Inter', sans-serif;
}

.hero-content { max-width: 780px; margin: 0 auto; }

.hero h1 { font-size: clamp(1.65rem, 4.5vw + 0.5rem, 2.8rem); color: white; line-height: 1.15; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--blue-bright); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.hero-actions .btn { padding: 0.85rem 1.75rem; font-size: 0.95rem; min-height: 48px; }

.hero-stats { display: flex; gap: 2.5rem; justify-content: center; }
.hero-stat { display: flex; flex-direction: column; align-items: center; }
.hero-stat-num { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: white; line-height: 1.2; }
.hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); line-height: 1.4; margin-top: 0.2rem; text-align: center; }

/* Info Strip */
.info-strip {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.15rem 1.5rem;
}

.info-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.info-strip-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  font-family: 'Inter', sans-serif;
}

.info-strip-icon { font-size: 1rem; opacity: 0.7; }

.info-strip-item strong { color: rgba(255,255,255,0.9); font-weight: 600; }

.info-strip-item a {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  text-decoration: none;
}

.info-strip-item a:hover { color: white; }

.info-strip-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.12);
}


/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-100);
  padding: 1.25rem 1.5rem;
}

.trust-bar-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.trust-item-icon { font-size: 1rem; }


/* ============================================
   SERVICES
   ============================================ */
.services-section { background: var(--off-white); padding: 3.25rem 0 5rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s var(--ease);
}

.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-pale); }

.service-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.service-icon {
  width: 44px; height: 44px;
  background: var(--blue-wash);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.service-card h3 { font-size: 1.1rem; margin-bottom: 0; color: var(--navy-dark); }
.service-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }

.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-full-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all 0.3s var(--ease);
  scroll-margin-top: 100px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.service-full-card[style*="background-image"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.87);
  transition: background 0.3s var(--ease);
  z-index: 0;
}

.service-full-card[style*="background-image"]:hover::before {
  background: rgba(255,255,255,0.78);
}

.service-full-card > * { position: relative; z-index: 1; }

.service-full-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-pale); }
.service-full-card h3 { font-size: 1.15rem; margin-bottom: 0; color: var(--navy-dark); }
.service-full-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }


/* ============================================
   ABOUT
   ============================================ */
.about-section { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual { position: relative; }

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.3);
}

.about-badge {
  position: absolute;
  bottom: -1rem; right: -1rem;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-badge-num { display: block; font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; line-height: 1; }
.about-badge-text { display: block; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.25rem; opacity: 0.85; }

.about-content { padding: 1rem 0; }

.about-features {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
}

.check-icon { color: var(--blue-accent); font-weight: 700; font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }


/* ============================================
   VET PROFILE (individual doctor pages)
   ============================================ */
.vet-profile {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.vet-profile-photo {
  position: sticky;
  top: 100px;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.vet-profile-photo img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 3/4;
}

.vet-profile-content { padding: 0.5rem 0; }

.vet-personal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.vet-personal-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 1024px) {
  .vet-profile { grid-template-columns: 1fr; gap: 2rem; }
  .vet-profile-photo { position: static; max-width: 380px; margin: 0 auto; }
  .vet-personal { grid-template-columns: 1fr; gap: 2rem; }
  .vet-personal-highlights { max-width: 480px; }
}

@media (max-width: 480px) {
  .vet-profile-photo { max-width: 280px; }
  .vet-personal-highlights { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
}


/* ============================================
   TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.team-photo {
  width: 100%; height: 400px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.3);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-info { padding: 1.75rem; }
.team-info h3 { font-size: 1.25rem; color: var(--navy-dark); margin-bottom: 0.25rem; }
.team-info .title { font-size: 0.85rem; color: var(--blue-accent); font-weight: 600; margin-bottom: 0.85rem; font-family: 'Inter', sans-serif; }
.team-info p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }


/* ============================================
   BLOG
   ============================================ */
.blog-section { background: var(--white); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.3);
  position: relative;
}

.blog-card-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
}

.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-date { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.blog-card-body h3 { font-size: 1.05rem; color: var(--navy-dark); margin-bottom: 0.5rem; line-height: 1.35; }
.blog-card-body p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; flex: 1; }

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* Blog Full Page Layout */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
}

.blog-main { display: flex; flex-direction: column; gap: 1.5rem; }

.blog-post-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.blog-post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* Single-column article (no image) on standalone blog pages */
.blog-article-single { grid-template-columns: 1fr; }

.blog-post-img {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.3);
  position: relative;
  min-height: 200px;
}

.blog-post-body { padding: 1.75rem; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.blog-meta .tag {
  background: var(--blue-wash);
  color: var(--navy);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.72rem;
  font-family: 'Inter', sans-serif;
}

.blog-post-body h2 { font-size: 1.2rem; color: var(--navy-dark); margin-bottom: 0.5rem; line-height: 1.35; }
.blog-post-body p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }

/* Sidebar */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget h4 {
  font-size: 1rem;
  color: var(--navy-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--blue-wash);
}

.sidebar-categories { list-style: none; }

.sidebar-categories li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--gray-50);
}

.sidebar-categories li:last-child { border: none; }
.sidebar-categories a { font-size: 0.88rem; color: var(--text-body); }
.sidebar-categories a:hover { color: var(--navy); }

.sidebar-categories .count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--gray-50);
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
}


/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy), var(--navy-mid));
  padding: 5rem 1.5rem;
  text-align: center;
}

.cta-section .section-title { color: white; }
.cta-section .section-subtitle { color: rgba(255,255,255,0.65); margin: 0 auto; }

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}


/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 8rem 1.5rem 3.5rem;
  text-align: center;
}

.page-hero h1 { font-size: 2.4rem; color: white; margin: 0.5rem 0; }

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.6;
}


/* ============================================
   CONTACT
   ============================================ */
.info-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s var(--ease);
}
.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.landmark-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.75rem; }

.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--blue-wash);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.15rem;
}

.contact-info-text p,
.contact-info-text a { font-size: 0.9rem; color: var(--text-light); line-height: 1.5; }
.contact-info-text a:hover { color: var(--navy); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.contact-form h3 { font-size: 1.3rem; margin-bottom: 1.5rem; color: var(--navy-dark); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.15rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-body); margin-bottom: 0.4rem; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-body);
  background: var(--white);
  transition: border-color 0.2s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(74,126,194,0.12);
}

.form-group textarea { height: 120px; resize: vertical; }


/* ============================================
   STORE
   ============================================ */
.store-banner {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.store-banner h2 { font-size: 1.5rem; color: var(--navy-dark); margin-bottom: 0.5rem; }
.store-banner p { font-size: 0.92rem; color: var(--text-light); line-height: 1.6; max-width: 520px; }

.store-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.store-option-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.store-option-card[style*="background-image"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.87);
  transition: background 0.3s var(--ease);
  z-index: 0;
}
.store-option-card[style*="background-image"]:hover::before {
  background: rgba(255,255,255,0.78);
}
.store-option-card > * { position: relative; z-index: 1; }

.store-option-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--blue-pale); }

.store-option-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.store-option-card h3 { font-size: 1.05rem; color: var(--navy-dark); margin-bottom: 0.5rem; }
.store-option-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1.25rem; }


/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 4rem 1.5rem 0;
}

.footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 260px 1fr 1fr 220px;
  gap: 2.5rem;
}

.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 1rem; color: rgba(255,255,255,0.5); }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}

.footer-social a:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px; height: 18px;
  fill: rgba(255,255,255,0.6);
  transition: fill 0.25s var(--ease);
}

.footer-social a:hover svg { fill: white; }

footer .nav-logo-icon { background: rgba(255,255,255,0.1); }
footer .nav-logo-text span:first-child { color: white; }
footer .nav-logo-text span:last-child { color: rgba(255,255,255,0.4); }

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 0.6rem;
}

.footer-grid > :nth-child(2) { text-align: right; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color 0.2s var(--ease); white-space: nowrap; }
.footer-links a:hover { color: white; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-bottom {
  max-width: 1140px;
  margin: 3rem auto 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}


/* ============================================
   REVIEWS / TESTIMONIALS
   ============================================ */
.reviews-section-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.reviews-section-header > .reviews-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.reviews-section-header > .reviews-heading-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.reviews-section-header > .reviews-platforms {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.reviews-score { text-align: center; padding: 2rem; }

.reviews-score-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1;
}

.reviews-stars {
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin: 0.25rem 0;
}

.reviews-count {
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
}

.platform-badge:hover { border-color: var(--blue-accent); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--navy); }

.platform-icon {
  width: 36px; height: 36px;
  background: var(--blue-wash);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.platform-arrow { margin-left: auto; color: var(--text-muted); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.review-stars {
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.review-avatar {
  width: 40px; height: 40px;
  background: var(--blue-wash);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.review-name { font-size: 0.85rem; font-weight: 600; color: var(--navy-dark); }
.review-detail { font-size: 0.78rem; color: var(--text-muted); }

.leave-review-banner {
  background: var(--blue-wash);
  border: 1px solid var(--blue-pale);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.leave-review-content h2 { font-size: 1.4rem; color: var(--navy-dark); margin-bottom: 0.5rem; }
.leave-review-content p { font-size: 0.92rem; color: var(--text-light); line-height: 1.6; max-width: 520px; }

@media (max-width: 768px) {
  .reviews-section-header { grid-template-columns: 1fr; text-align: center; justify-items: stretch; gap: 1rem; }
  .reviews-section-header > .reviews-score { align-items: center; }
  .reviews-section-header > .reviews-heading-card { align-items: center; }
  .reviews-summary { flex-direction: column; text-align: center; }
  .reviews-platforms { width: 100%; }
  .reviews-grid { grid-template-columns: 1fr; }
  .leave-review-banner { flex-direction: column; text-align: center; }
  .leave-review-content p { max-width: 100%; }
}

@media (max-width: 480px) {
  .reviews-score-number { font-size: 3rem; }
  .review-card { padding: 1.5rem; }
}


/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s var(--ease) forwards;
}

.fade-in-1 { animation-delay: 0.1s; }
.fade-in-2 { animation-delay: 0.2s; }
.fade-in-3 { animation-delay: 0.35s; }
.fade-in-4 { animation-delay: 0.5s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}


/* ============================================
   RESPONSIVE — TABLET (landscape)
   ============================================ */
@media (max-width: 950px) {
  .hero-content { max-width: 720px; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .about-visual { max-width: 500px; margin: 0 auto; }
  .about-content { padding: 0; max-width: 600px; margin: 0 auto; }
  .about-features { align-items: center; }
  .about-features li { text-align: left; }
  .section-subtitle { margin-left: auto; margin-right: auto; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-layout aside { order: -1; }
  .contact-grid { gap: 2rem; }
}

/* ---- Footer single-column breakpoint ---- */
@media (max-width: 840px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-grid > :nth-child(1) { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-grid > :nth-child(1) .nav-logo { justify-content: center; }
  .footer-grid > :nth-child(1) .footer-social { justify-content: center; }
  .footer-grid > :nth-child(2) { text-align: right; }
  .footer-grid > :nth-child(3) { text-align: left; }
  .footer-grid > :nth-child(4) { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; }
}

/* ---- Nav collapse — separate breakpoint ---- */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* Hide desktop dropdown and chevrons on mobile */
  .nav-dropdown { display: none !important; }
  .nav-dropdown-wrap > a::after { display: none; }

  /* Mobile slide-in sub-menu panel */
  .nav-links.open .nav-dropdown-wrap { position: relative; }
  .nav-links.open .nav-dropdown-wrap > a { padding-right: 48px; }
  .nav-links.open .nav-dropdown-wrap .mobile-expand {
    display: flex !important;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease;
  }
  .nav-links.open .nav-dropdown-wrap .mobile-expand:active {
    background: var(--gray-200);
  }
  .nav-links.open .nav-dropdown-wrap .mobile-expand::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-right: 2.5px solid var(--navy);
    border-bottom: 2.5px solid var(--navy);
    transform: rotate(-45deg);
    opacity: 0.7;
  }

  /* The sub-panel replaces the main menu items */
  .nav-mobile-sub {
    flex-direction: column;
    gap: 0.15rem;
  }
  .nav-links.open .nav-mobile-sub.open {
    display: flex !important;
    transform: translateX(0);
  }
  .nav-links.open .nav-mobile-sub .mobile-back {
    display: flex;
    align-items: center;
    gap: 0.4em;
    font-size: 0.85rem;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.65rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 0.25rem;
    font-family: inherit;
  }
  .nav-links.open .nav-mobile-sub .mobile-back:hover {
    background: var(--gray-50);
  }
  .nav-links.open .nav-mobile-sub .mobile-back::before {
    content: "";
    display: inline-block;
    width: 0.4em;
    height: 0.4em;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
  }
  .nav-links.open .nav-mobile-sub a {
    font-size: 0.92rem !important;
    padding: 0.65rem 1rem !important;
    border-radius: var(--radius);
  }
  .nav-links.open .nav-mobile-sub a:hover {
    background: var(--gray-50);
  }

  nav:has(.nav-links.open) {
    border-bottom-color: transparent;
    background-clip: padding-box;
  }

  nav:has(.nav-links.open)::after {
    content: '';
    position: absolute;
    top: 72px;
    right: 220px;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle at 0% 100%, transparent 23.5px, #ffffff 24.5px);
    pointer-events: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 71px;
    right: 0;
    left: auto;
    width: 220px;
    background: #ffffff;
    border-radius: 0 0 0 var(--radius-lg);
    box-shadow: -4px 8px 20px rgba(15,30,61,0.1);
    padding: 0.75rem;
    overflow: hidden;
    overflow-y: auto;
    gap: 0.15rem;
  }
  .nav-links.open:has(.nav-mobile-sub.open) > li,
  .nav-links.open:has(.nav-mobile-sub.open) > .nav-cta:not(.nav-mobile-sub *) {
    display: none;
  }

  .nav-links.open a {
    padding: 0.65rem 1rem;
    font-size: 0.92rem;
    border-radius: var(--radius);
  }

  .nav-links.open a:hover {
    background: var(--gray-50);
  }

  .nav-links.open .nav-cta {
    margin-top: 0.35rem;
    text-align: center;
    justify-content: center;
    padding: 0.65rem 1rem !important;
  }
  .nav-links.open .nav-dropdown-wrap .nav-cta {
    background: none !important;
    color: var(--navy) !important;
    border: none !important;
    border-radius: var(--radius) !important;
    box-shadow: none !important;
    padding: 0.65rem 48px 0.65rem 1rem !important;
    margin-top: 0 !important;
    font-weight: 400 !important;
    text-align: left;
  }
  .nav-links.open .nav-dropdown-wrap .nav-cta:hover {
    background: var(--gray-50) !important;
    color: var(--navy) !important;
  }
}

/* ============================================
   RESPONSIVE — TABLET (portrait)
   ============================================ */
@media (max-width: 768px) {
  .hero { padding: 6.5rem 1.25rem 3rem; min-height: auto; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-desc { font-size: 1rem; }

  section { padding: 3.5rem 0; }
  .section-title { font-size: 1.6rem; }
  .section-subtitle { font-size: 0.95rem; }

  .services-grid { grid-template-columns: 1fr; }
  .services-full-grid { grid-template-columns: 1fr; }
  .store-options { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .landmark-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .blog-post-card { grid-template-columns: 1fr; }
  .blog-post-img { height: 180px; }

  .store-banner { flex-direction: column; text-align: center; }
  .store-banner p { max-width: 100%; }

  .page-hero { padding: 6.5rem 1.25rem 2.5rem; }
  .page-hero h1 { font-size: 1.8rem; }

  .cta-section { padding: 3.5rem 1.25rem; }

  /* Bigger buttons on touch devices */
  .btn { padding: 0.85rem 1.75rem; font-size: 0.95rem; min-height: 48px; }

  /* Info strip stacks on smaller screens */
  .info-strip-inner { gap: 1.25rem; }
  .info-strip-divider { display: none; }

  /* Team cards full width */
  .team-grid { grid-template-columns: 1fr; }

  /* Contact form better spacing */
  .contact-form { padding: 1.75rem; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.85rem 1rem;
    font-size: 1rem;
    min-height: 48px;
  }

  /* About badge repositioned */
  .about-badge { bottom: -0.5rem; right: 0.5rem; }

  .trust-bar-inner { gap: 0.4rem 1.25rem; }
}

/* ============================================
   RESPONSIVE — PHONE
   ============================================ */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  .hero-stats { gap: 1rem; }
  .info-strip-inner { flex-direction: column; gap: 0.5rem; }
  .hero-stat-num { font-size: 1.3rem; }

  .service-card { padding: 1.5rem; }
  .service-full-card { padding: 1.5rem; }

  .store-options { grid-template-columns: 1fr; }
  .landmark-grid { grid-template-columns: 1fr; }

  .contact-form { padding: 1.25rem; }

  .team-info { padding: 1.25rem; }

  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  /* Make phone numbers extra tappable */
  a[href^="tel:"] { font-weight: 600; }
}

/* ============================================
   TOUCH & ACCESSIBILITY ENHANCEMENTS
   ============================================ */
/* Tap highlight for iOS */
a, button, .nav-toggle { -webkit-tap-highlight-color: rgba(26,46,90,0.1); }

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue-accent);
  outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* Ensure images and embeds are responsive */
iframe { max-width: 100%; }

/* Print styles — hide nav/footer, clean layout */
@media print {
  nav, footer, .cta-section, .hero-actions, .nav-toggle { display: none !important; }
  .hero { min-height: auto; padding: 2rem 1rem; }
  section { padding: 1.5rem 0; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  .services-full-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
