/* ═══════════════════════════════════════════════════
   Pages — About, Legal, Contact Styles
   Pembroke Pines Roof Repair · 2025
   ═══════════════════════════════════════════════════ */

/* ── Page Hero (Compact) ── */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--primary) 0%, var(--primary-dark) 40%, #0a1e3d 100%);
  padding: 8.5rem 0 4rem;
}

@media (max-width: 767px) {
  .page-hero { padding: 7rem 0 2.5rem; }
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}

.page-hero-glow-1 {
  width: 400px; height: 400px;
  top: -10%; left: 10%;
  background: radial-gradient(circle, rgba(14,165,233,.15), transparent 70%);
  animation: pageGlowPulse 8s ease-in-out infinite;
}

.page-hero-glow-2 {
  width: 350px; height: 350px;
  bottom: -5%; right: 5%;
  background: radial-gradient(circle, rgba(249,115,22,.12), transparent 70%);
  animation: pageGlowPulse 10s ease-in-out 3s infinite;
}

@keyframes pageGlowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.page-hero-content {
  position: relative;
  z-index: 10;
  max-width: 760px;
}

.page-hero-content.centered {
  text-align: center;
  margin: 0 auto;
}

/* Breadcrumb */
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,.45);
}

.page-breadcrumb a {
  color: rgba(255,255,255,.6);
  transition: color 0.2s;
}

.page-breadcrumb a:hover { color: #fff; }

.page-breadcrumb svg {
  width: 14px; height: 14px;
  opacity: 0.5;
}

.page-hero-content.centered .page-breadcrumb {
  justify-content: center;
}

/* Hero Badge */
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1.25rem;
  background: rgba(14,165,233,.12);
  border: 1px solid rgba(14,165,233,.3);
  backdrop-filter: blur(10px);
  border-radius: 9999px;
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.page-hero-badge .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: badgePulseP 2s ease-in-out infinite;
}

@keyframes badgePulseP {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Hero Heading */
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.85rem, 4.8vw, 3.15rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.page-hero h1 mark {
  background: linear-gradient(135deg, #38BDF8 0%, var(--accent) 50%, #7DD3FC 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-color: transparent;
}

.page-hero-desc {
  color: rgba(255,255,255,.72);
  font-size: clamp(0.9rem, 1.7vw, 1.04rem);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.page-hero-content.centered .page-hero-desc {
  margin-left: auto;
  margin-right: auto;
}

/* Hero CTAs */
.page-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-hero-content.centered .page-hero-cta {
  justify-content: center;
}

@media (max-width: 767px) {
  .page-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .page-hero-cta .btn { justify-content: center; }
}

/* Hero Updated Date */
.page-hero-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 9999px;
  color: rgba(255,255,255,.7);
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 1.25rem;
}

.page-hero-date svg {
  width: 14px; height: 14px;
  opacity: 0.7;
}

/* ═══════════════════════════════════════
   ABOUT US PAGE
   ═══════════════════════════════════════ */

/* ── Our Story Section ── */
.story-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }
}

.story-text h2 {
  margin-bottom: 1.25rem;
}

.story-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.story-text p:last-child {
  margin-bottom: 0;
}

/* Story Timeline Visual */
.story-timeline {
  position: relative;
  padding-left: 2.5rem;
}

.story-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--cta));
  border-radius: 2px;
}

.story-milestone {
  position: relative;
  padding: 1.25rem 0;
}

.story-milestone::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 1.6rem;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--accent-soft);
  z-index: 2;
}

.story-milestone-year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.story-milestone h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.story-milestone p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Mission & Vision Cards ── */
.mv-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .mv-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.mv-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.mv-card.mission::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.mv-card.vision::before {
  background: linear-gradient(90deg, var(--cta), var(--cta-light));
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.mv-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #fff;
}

.mv-card.mission .mv-icon {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.mv-card.vision .mv-icon {
  background: linear-gradient(135deg, var(--cta-dark), var(--cta));
}

.mv-icon svg {
  width: 28px;
  height: 28px;
}

.mv-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.mv-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Goals Grid ── */
.goal-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.goal-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.goal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14,165,233,0.3);
}

.goal-card:hover::after {
  transform: scaleX(1);
}

.goal-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.goal-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.goal-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Why Choose Us — About Page Grid ── */
.why-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

.why-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14,165,233,0.3);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent-dark);
  transition: all var(--transition);
}

.why-card:hover .why-icon {
  background: var(--accent);
  color: #fff;
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   LEGAL PAGES (Privacy, Disclaimer, Terms)
   ═══════════════════════════════════════ */

.legal-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .legal-layout {
    grid-template-columns: 260px 1fr;
    gap: 3.5rem;
  }
}

/* Sidebar Navigation */
.legal-sidebar {
  position: relative;
}

@media (min-width: 1024px) {
  .legal-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    align-self: start;
  }
}

.legal-nav {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow: hidden;
}

.legal-nav h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--card-border);
}

.legal-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal-nav-links a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  transition: all var(--transition);
  border-left: 2px solid transparent;
}

.legal-nav-links a:hover,
.legal-nav-links a.active {
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-left-color: var(--accent);
}

/* Legal Content */
.legal-content {
  max-width: 820px;
}

.legal-section {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}

.legal-section:hover {
  border-color: rgba(14,165,233,0.2);
  box-shadow: var(--shadow-xs);
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.legal-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
}

.legal-section p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 0.875rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 0.75rem 0;
  padding-left: 0;
}

.legal-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-section ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 0.55rem;
}

.legal-section strong {
  color: var(--text);
  font-weight: 600;
}

.legal-section a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-color: rgba(14,165,233,0.3);
  text-underline-offset: 3px;
}

.legal-section a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* ═══════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════ */

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
  }
}

/* Contact Form */
.contact-form-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
}

.contact-form-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.contact-form-card .form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.contact-form .form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .contact-form .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.contact-form label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg-alt);
  border: 1.5px solid transparent;
  border-radius: 8px;
  outline: none;
  transition: all var(--transition);
  appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-light);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}

.contact-form select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form .btn-submit-contact {
  width: 100%;
  padding: 0.9rem;
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

/* Contact Info Cards */
.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition);
}

.contact-info-card:hover {
  border-color: rgba(14,165,233,0.3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--accent-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-info-card a {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-info-card a:hover {
  color: var(--accent);
}

/* Business Hours Table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

.hours-table tr {
  border-bottom: 1px solid var(--card-border);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--text);
}

.hours-table td:last-child {
  text-align: right;
}

/* Service Area Map Section */
.service-map-section {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 1rem;
}

.service-map-header {
  background: var(--primary);
  padding: 1.25rem 1.5rem;
  color: #fff;
}

.service-map-header h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.service-map-body {
  padding: 1.75rem 1.5rem;
}

.service-map-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-map-areas .area-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 0.875rem;
  background: var(--accent-soft);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-dark);
  transition: all var(--transition);
}

.service-map-areas .area-tag:hover {
  background: var(--accent);
  color: #fff;
}

.service-map-areas .area-tag svg {
  width: 12px;
  height: 12px;
}

/* Emergency Callout Banner (Contact page) */
.emergency-callout {
  background: linear-gradient(135deg, var(--cta-dark) 0%, var(--cta) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.emergency-callout::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}

.emergency-callout h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  position: relative;
}

.emergency-callout p {
  font-size: 0.95rem;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.emergency-callout .btn {
  position: relative;
}

/* ── Stats Row (About page) ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(14,165,233,.06);
  border: 1px solid rgba(14,165,233,.15);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.stat-item:hover {
  background: rgba(14,165,233,.12);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Animations ── */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeSlideUp 0.6s ease-out both;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ═══════════════════════════════════════════════════
   Sitemap Page Styles
   ═══════════════════════════════════════════════════ */
.sitemap-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .sitemap-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.sitemap-search-box {
  position: relative;
  flex: 1;
  max-width: 460px;
}

.sitemap-search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-light);
  pointer-events: none;
}

.sitemap-search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  outline: none;
  transition: all var(--transition);
}

.sitemap-search-input:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.sitemap-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sitemap-chip {
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: inherit;
}

.sitemap-chip:hover {
  color: var(--primary);
  background: var(--card-border);
}

.sitemap-chip.active {
  color: #fff;
  background: var(--primary);
}

.sitemap-section {
  margin-bottom: 3rem;
}

.sitemap-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--card-border);
}

.sitemap-section-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.sitemap-section-title svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.sitemap-count-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

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

@media (min-width: 640px) {
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sitemap-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sitemap-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.sitemap-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.sitemap-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.sitemap-card:hover .sitemap-card-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
}

.sitemap-card-icon svg {
  width: 20px;
  height: 20px;
}

.sitemap-card-arrow {
  width: 20px;
  height: 20px;
  color: var(--text-light);
  transition: all var(--transition);
}

.sitemap-card:hover .sitemap-card-arrow {
  color: var(--accent-dark);
  transform: translateX(4px);
}

.sitemap-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 0.35rem;
  transition: color var(--transition);
}

.sitemap-card:hover .sitemap-card-title {
  color: var(--accent-dark);
}

.sitemap-card-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.875rem;
  flex-grow: 1;
}

.sitemap-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-light);
  border-top: 1px dashed var(--card-border);
  padding-top: 0.625rem;
}

.sitemap-card-tag {
  font-weight: 600;
  color: var(--accent-dark);
}

.sitemap-no-results {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--card);
  border: 1px dashed var(--card-border);
  border-radius: var(--radius-lg);
  margin: 2rem 0;
}

.sitemap-no-results.visible {
  display: block;
}

.sitemap-no-results svg {
  width: 48px;
  height: 48px;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.sitemap-no-results h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.sitemap-no-results p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
