/* ==========================================================================
   PrinterFX — Core Stylesheet
   IT Infrastructure & Print Management Consultancy
   ========================================================================== */

/* --- CSS Custom Properties --- */
:root {
  --primary: #0057FF;
  --primary-dark: #0046CC;
  --primary-light: #3377FF;
  --secondary: #00C2FF;
  --secondary-dark: #00A3D9;
  --accent: #FF6B00;
  --accent-light: #FF8533;
  --success: #22C55E;
  --dark: #111827;
  --dark-soft: #1F2937;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --background: #F8FAFC;
  --card: #FFFFFF;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 4px 16px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 12px 40px rgba(17, 24, 39, 0.12);
  --shadow-xl: 0 24px 60px rgba(17, 24, 39, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-height: 80px;
  --container-max: 1280px;
  --container-narrow: 960px;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] {
  --background: #0F172A;
  --card: #1E293B;
  --dark: #F8FAFC;
  --gray-900: #F8FAFC;
  --gray-800: #E2E8F0;
  --gray-700: #CBD5E1;
  --gray-600: #94A3B8;
  --gray-500: #64748B;
  --gray-400: #475569;
  --gray-300: #334155;
  --gray-200: #1E293B;
  --gray-100: #0F172A;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.35);
  --glass: rgba(30, 41, 59, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--background);
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  color: var(--gray-900);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--primary); color: var(--white); }

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding: 6rem 0; }
.section--sm { padding: 4rem 0; }
.section--dark { background: var(--dark-soft); color: var(--gray-300); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #003DB8 50%, var(--dark) 100%);
  color: rgba(255,255,255,0.9);
}
.section--gradient h2, .section--gradient h3 { color: var(--white); }

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-500); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 10000;
  background: var(--primary); color: var(--white); padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 1.75rem; font-family: var(--font); font-size: 0.9375rem;
  font-weight: 600; line-height: 1; border: 2px solid transparent;
  border-radius: var(--radius-full); cursor: pointer; transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn--primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,87,255,0.35); }
.btn--secondary { background: var(--secondary); color: var(--dark); border-color: var(--secondary); }
.btn--secondary:hover { background: var(--secondary-dark); color: var(--dark); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn--white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn--white:hover { background: var(--gray-100); color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.3); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,0.2); color: var(--white); }
.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* --- Section Headers --- */
.section-header { max-width: 720px; margin: 0 auto 3.5rem; }
.section-header--left { margin-left: 0; margin-right: 0; text-align: left; }
.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--primary); margin-bottom: 1rem;
}
.section-label::before {
  content: ''; width: 24px; height: 2px; background: var(--primary); border-radius: 2px;
}
.section--dark .section-label, .section--gradient .section-label { color: var(--secondary); }
.section--dark .section-label::before, .section--gradient .section-label::before { background: var(--secondary); }
.section-header p { font-size: 1.125rem; color: var(--gray-500); margin-top: 1rem; }
.section--dark .section-header p, .section--gradient .section-header p { color: rgba(255,255,255,0.75); }

/* --- Announcement Bar --- */
.announcement-bar {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: var(--white); text-align: center; padding: 0.625rem 1rem;
  font-size: 0.875rem; font-weight: 500; position: relative; z-index: 1001;
}
.announcement-bar a { color: var(--white); text-decoration: underline; font-weight: 600; }
.announcement-bar a:hover { opacity: 0.9; }
.announcement-bar__close {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--white); cursor: pointer;
  padding: 0.25rem; opacity: 0.8; transition: opacity var(--transition);
}
.announcement-bar__close:hover { opacity: 1; }
.announcement-bar.hidden { display: none; }

/* --- Header / Navigation --- */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: box-shadow var(--transition), background var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-height); gap: 2rem;
}
.logo { display: flex; align-items: center; gap: 0.625rem; color: var(--gray-900); font-weight: 800; font-size: 1.375rem; }
.logo:hover { color: var(--gray-900); }
.logo__icon { width: 40px; height: 40px; }
.logo__text span { color: var(--primary); }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__link {
  padding: 0.5rem 1rem; font-size: 0.9375rem; font-weight: 500;
  color: var(--gray-600); border-radius: var(--radius-sm); transition: all var(--transition);
}
.nav__link:hover, .nav__link.active { color: var(--primary); background: rgba(0,87,255,0.06); }
.header__actions { display: flex; align-items: center; gap: 0.75rem; }

.theme-toggle {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  border: 1px solid var(--gray-200); background: var(--card);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--gray-600); transition: all var(--transition);
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: none;
  background: var(--card); border-radius: var(--radius-sm); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--gray-700);
  border-radius: 2px; transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  position: relative; padding: 5rem 0 6rem; overflow: hidden;
  background: linear-gradient(180deg, var(--background) 0%, rgba(0,87,255,0.04) 100%);
}
.hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,87,255,0.08); color: var(--primary);
  padding: 0.5rem 1rem; border-radius: var(--radius-full);
  font-size: 0.8125rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero__badge-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
.hero__title { margin-bottom: 1.5rem; }
.hero__title em { font-style: normal; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__desc { font-size: 1.1875rem; color: var(--gray-500); margin-bottom: 2rem; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero__trust { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hero__trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--gray-500); font-weight: 500; }
.hero__trust-item svg { width: 18px; height: 18px; color: var(--success); }
.hero__visual { position: relative; }
.hero__image-wrap {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero__image-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero__float-card {
  position: absolute; background: var(--glass); backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border); border-radius: var(--radius-md);
  padding: 1rem 1.25rem; box-shadow: var(--shadow-lg);
}
.hero__float-card--1 { bottom: -1rem; left: -1.5rem; }
.hero__float-card--2 { top: 1.5rem; right: -1rem; }
.hero__float-card strong { display: block; font-size: 1.5rem; color: var(--primary); }
.hero__float-card span { font-size: 0.8125rem; color: var(--gray-500); }

/* --- Stats --- */
.stats {
  background: var(--card); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); padding: 2.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  margin-top: -3rem; position: relative; z-index: 2;
  border: 1px solid var(--gray-200);
}
.stat { text-align: center; }
.stat__number { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 0.5rem; }
.stat__label { font-size: 0.875rem; color: var(--gray-500); font-weight: 500; }
.stat__divider { width: 1px; background: var(--gray-200); align-self: stretch; }

/* --- Cards --- */
.card {
  position: relative;
  background: var(--card); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); padding: 2rem;
  transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(0,87,255,0.2); }
.card__icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,87,255,0.08); color: var(--primary); margin-bottom: 1.25rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card__icon--secondary { background: rgba(0,194,255,0.1); color: var(--secondary-dark); }
.card__icon--accent { background: rgba(255,107,0,0.1); color: var(--accent); }
.card__icon--success { background: rgba(34,197,94,0.1); color: var(--success); }
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--gray-500); font-size: 0.9375rem; }
.card__link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  margin-top: 1.25rem; font-size: 0.875rem; font-weight: 600; color: var(--primary);
}
.card__link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.card__link:hover svg { transform: translateX(4px); }

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

/* --- Feature Row --- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }
.feature-row__image { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.feature-row__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature-list { margin-top: 1.5rem; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.75rem 0; font-size: 0.9375rem; color: var(--gray-600);
}
.feature-list li svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; margin-top: 2px; }

/* --- Process Steps --- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.process__step {
  position: relative; text-align: center; padding: 2rem 1.5rem;
  background: var(--card); border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
}
.process__step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white); font-weight: 700; font-size: 1rem; border-radius: var(--radius-full);
}
.process__step h4 { margin-bottom: 0.5rem; }
.process__step p { font-size: 0.875rem; color: var(--gray-500); }

/* --- Partners --- */
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.5rem; }
.partner-logo {
  font-size: 1.125rem; font-weight: 700; color: var(--gray-400);
  opacity: 0.7; transition: opacity var(--transition);
  letter-spacing: -0.01em;
}
.partner-logo:hover { opacity: 1; color: var(--gray-600); }

/* --- Testimonials --- */
.testimonial {
  background: var(--card); border-radius: var(--radius-lg); padding: 2rem;
  border: 1px solid var(--gray-200); position: relative;
}
.testimonial__stars { display: flex; gap: 2px; margin-bottom: 1rem; color: #FBBF24; }
.testimonial__stars svg { width: 18px; height: 18px; fill: currentColor; }
.testimonial__quote { font-size: 1rem; color: var(--gray-600); font-style: italic; margin-bottom: 1.5rem; line-height: 1.7; }
.testimonial__author { display: flex; align-items: center; gap: 0.875rem; }
.testimonial__avatar {
  width: 48px; height: 48px; border-radius: var(--radius-full);
  object-fit: cover;
}
.testimonial__name { font-weight: 600; color: var(--gray-900); font-size: 0.9375rem; }
.testimonial__role { font-size: 0.8125rem; color: var(--gray-500); }

/* --- Industries --- */
.industry-chip {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--card); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 1rem 1.25rem;
  transition: all var(--transition);
}
.industry-chip:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.industry-chip svg { width: 24px; height: 24px; color: var(--primary); flex-shrink: 0; }
.industry-chip span { font-size: 0.9375rem; font-weight: 500; color: var(--gray-700); }

/* --- Blog Cards --- */
.blog-card {
  background: var(--card); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--gray-200); transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card__image { aspect-ratio: 16/10; overflow: hidden; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card__image img { transform: scale(1.05); }
.blog-card__body { padding: 1.5rem; }
.blog-card__meta { display: flex; gap: 1rem; font-size: 0.8125rem; color: var(--gray-500); margin-bottom: 0.75rem; }
.blog-card__tag { color: var(--primary); font-weight: 600; }
.blog-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card h3 a { color: var(--gray-900); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 1rem; }
.blog-card__read { font-size: 0.875rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 0.25rem; }

/* --- FAQ --- */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--gray-200); }
.faq__question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 1rem; font-weight: 600;
  color: var(--gray-900); text-align: left; gap: 1rem;
}
.faq__question svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform var(--transition); color: var(--primary); }
.faq__item.active .faq__question svg { transform: rotate(180deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq__answer-inner { padding-bottom: 1.25rem; color: var(--gray-500); font-size: 0.9375rem; line-height: 1.7; }
.faq__item.active .faq__answer { max-height: 500px; }

/* --- Newsletter --- */
.newsletter {
  background: linear-gradient(135deg, var(--primary) 0%, #003DB8 100%);
  border-radius: var(--radius-xl); padding: 3.5rem; text-align: center; color: var(--white);
}
.newsletter h2 { color: var(--white); margin-bottom: 0.75rem; }
.newsletter p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.newsletter__form { display: flex; gap: 0.75rem; max-width: 480px; margin: 0 auto; }
.newsletter__input {
  flex: 1; padding: 0.875rem 1.25rem; border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full); background: rgba(255,255,255,0.1);
  color: var(--white); font-family: var(--font); font-size: 0.9375rem;
  backdrop-filter: blur(8px);
}
.newsletter__input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter__input:focus { outline: none; border-color: var(--secondary); }
.newsletter__error { color: #FCA5A5; font-size: 0.8125rem; margin-top: 0.5rem; display: none; }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--dark-soft); border-radius: var(--radius-xl);
  padding: 4rem; display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,87,255,0.3) 0%, transparent 70%);
}
.cta-banner__content { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 520px; }
.cta-banner__actions { position: relative; z-index: 1; display: flex; gap: 1rem; flex-shrink: 0; }

/* --- Footer --- */
.footer {
  background: background: #393939;
  padding: 5rem 0 2rem;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand p { font-size: 0.9375rem; margin: 1.25rem 0; line-height: 1.7; max-width: 320px; }
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); transition: all var(--transition);
}
.footer__social a:hover { background: var(--primary); color: var(--white); }
.footer__social svg { width: 18px; height: 18px; }
.footer__heading { color: var(--white); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1.25rem; }
.footer__links li { margin-bottom: 0.625rem; }
.footer__links a { color: rgba(255,255,255,0.65); font-size: 0.9375rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--white); }
.footer__contact li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.875rem; font-size: 0.9375rem; }
.footer__contact svg { width: 18px; height: 18px; color: var(--secondary); flex-shrink: 0; margin-top: 3px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.875rem;
}
.footer__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__legal a { color: rgba(255,255,255,0.5); }
.footer__legal a:hover { color: var(--white); }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #003DB8 60%, var(--dark) 100%);
  padding: 5rem 0 4rem; color: var(--white); position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { font-size: 1.1875rem; color: rgba(255,255,255,0.85); max-width: 640px; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; margin-bottom: 1.5rem; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb svg { width: 14px; height: 14px; }

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contact-info-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 2rem;
  border: 1px solid var(--gray-200); margin-bottom: 1.5rem;
}
.contact-info-card h3 { margin-bottom: 1.25rem; font-size: 1.125rem; }
.contact-detail { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail__icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: rgba(0,87,255,0.08); display: flex; align-items: center; justify-content: center;
  color: var(--primary); flex-shrink: 0;
}
.contact-detail__icon svg { width: 20px; height: 20px; }
.contact-detail strong { display: block; font-size: 0.875rem; color: var(--gray-900); margin-bottom: 0.25rem; }
.contact-detail span, .contact-detail a { font-size: 0.9375rem; color: var(--gray-500); }

.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--gray-700); margin-bottom: 0.5rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.875rem 1rem; font-family: var(--font); font-size: 0.9375rem;
  border: 1px solid var(--gray-300); border-radius: var(--radius-md);
  background: var(--card); color: var(--gray-700); transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,87,255,0.12);
}
.form-input.error, .form-textarea.error { border-color: #EF4444; }
.form-textarea { min-height: 140px; resize: vertical; }
.form-error { color: #EF4444; font-size: 0.8125rem; margin-top: 0.375rem; display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-checkbox { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; color: var(--gray-500); }
.form-checkbox input { margin-top: 3px; accent-color: var(--primary); }

.contact-form-card {
  background: var(--card); border-radius: var(--radius-xl); padding: 2.5rem;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-md);
}
.contact-form-card h2 { margin-bottom: 0.5rem; }
.contact-form-card > p { color: var(--gray-500); margin-bottom: 2rem; }

.map-placeholder {
  border-radius: var(--radius-lg); overflow: hidden; height: 320px;
  background: var(--gray-200); position: relative; margin-top: 3rem;
}
.map-placeholder iframe { width: 100%; height: 100%; border: 0; }

.emergency-banner {
  background: linear-gradient(135deg, #DC2626, #B91C1C);
  border-radius: var(--radius-lg); padding: 2rem; color: var(--white); margin-top: 2rem;
}
.emergency-banner h3 { color: var(--white); margin-bottom: 0.5rem; }
.emergency-banner p { color: rgba(255,255,255,0.9); margin-bottom: 1rem; }
.emergency-banner a { color: var(--white); font-weight: 700; font-size: 1.25rem; }

/* --- Services Page --- */
.service-section {
  padding: 4rem 0; border-bottom: 1px solid var(--gray-200);
}
.service-section:last-child { border-bottom: none; }
.service-section__header { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2.5rem; }
.service-section__icon {
  width: 64px; height: 64px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0;
}
.service-section__icon svg { width: 32px; height: 32px; }
.service-block { margin-bottom: 2rem; }
.service-block h4 { margin-bottom: 0.75rem; color: var(--primary); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; }
.service-block ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.service-block li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9375rem; color: var(--gray-600); padding: 0.375rem 0;
}
.service-block li svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }
.service-cta {
  background: rgba(0,87,255,0.04); border-radius: var(--radius-lg);
  padding: 1.5rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 2rem; border: 1px solid rgba(0,87,255,0.12);
}

.services-nav {
  position: sticky; top: calc(var(--header-height) + 1rem);
  background: var(--card); border-radius: var(--radius-lg); padding: 1.5rem;
  border: 1px solid var(--gray-200); max-height: calc(100vh - var(--header-height) - 2rem); overflow-y: auto;
}
.services-nav h4 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-500); margin-bottom: 1rem; }
.services-nav a {
  display: block; padding: 0.5rem 0.75rem; font-size: 0.875rem; color: var(--gray-600);
  border-radius: var(--radius-sm); transition: all var(--transition);
}
.services-nav a:hover, .services-nav a.active { background: rgba(0,87,255,0.06); color: var(--primary); font-weight: 500; }
.services-layout { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start; }

/* --- Legal Pages --- */
.legal-content { max-width: 800px; margin: 0 auto; padding: 4rem 0; }
.legal-content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.legal-content h3 { font-size: 1.125rem; margin: 2rem 0 0.75rem; }
.legal-content p, .legal-content li { font-size: 0.9375rem; color: var(--gray-600); margin-bottom: 0.75rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content .last-updated { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 2rem; }

/* --- Values Grid --- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card {
  text-align: center; padding: 2.5rem 2rem; background: var(--card);
  border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
}
.value-card__icon {
  width: 64px; height: 64px; margin: 0 auto 1.25rem;
  background: rgba(0,87,255,0.08); border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center; color: var(--primary);
}
.value-card__icon svg { width: 28px; height: 28px; }

/* --- Timeline --- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--primary), var(--secondary));
}
.timeline__item { position: relative; padding-bottom: 2.5rem; }
.timeline__item::before {
  content: ''; position: absolute; left: -2rem; top: 0.375rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary); border: 3px solid var(--background); transform: translateX(-5px);
}
.timeline__year { font-size: 0.8125rem; font-weight: 700; color: var(--primary); margin-bottom: 0.375rem; }
.timeline__item h4 { margin-bottom: 0.375rem; }
.timeline__item p { font-size: 0.9375rem; color: var(--gray-500); }

/* --- 404 --- */
.error-page {
  min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center;
}
.error-page__code { font-size: clamp(6rem, 15vw, 10rem); font-weight: 800; color: var(--primary); line-height: 1; opacity: 0.15; }
.error-page h1 { margin: -2rem 0 1rem; }
.error-page p { color: var(--gray-500); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }

/* --- Loading Screen --- */
.loader {
  position: fixed; inset: 0; z-index: 99999; background: var(--background);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1.5rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__logo { width: 48px; height: 48px; animation: loaderPulse 1.5s ease infinite; }
.loader__bar { width: 200px; height: 3px; background: var(--gray-200); border-radius: 3px; overflow: hidden; }
.loader__bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); animation: loaderProgress 1.2s ease forwards; }

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 10001;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 0; transition: width 0.1s linear;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 48px; height: 48px; border-radius: var(--radius-full);
  background: var(--primary); color: var(--white); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
  transform: translateY(20px); transition: all var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-4px); }
.back-to-top svg { width: 22px; height: 22px; }

/* --- Toast --- */
.toast-container { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10002; }
.toast {
  background: var(--dark); color: var(--white); padding: 1rem 1.5rem;
  border-radius: var(--radius-full); font-size: 0.875rem; font-weight: 500;
  box-shadow: var(--shadow-xl); opacity: 0; transform: translateY(20px);
  transition: all 0.4s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast--success { background: var(--success); }
.toast--error { background: #EF4444; }
