/* ==========================================================================
   Peugeot Özel Servis — Ana CSS
   Design System + Component Styles + Layout + Responsive
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Colors */
  --color-white: #ffffff;
  --color-offwhite: #f7f8fa;
  --color-light: #eef1f5;
  --color-muted: #6b7280;
  --color-gray: #9ca3af;
  --color-dark: #1a1a2e;
  --color-black: #0d0d14;
  --color-border: #e2e5ea;
  --color-border-light: #f0f1f3;

  /* Accent — Premium Blue */
  --color-accent: #1b4f72;
  --color-accent-light: #2980b9;
  --color-accent-hover: #154360;
  --color-accent-bg: #eaf2f8;
  --color-accent-soft: #d4e6f1;
  --color-primary: #1b4f72;

  /* Semantic */
  --color-success: #27ae60;
  --color-warning: #f39c12;
  --color-error: #c0392b;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  --line-height: 1.7;
  --line-height-tight: 1.3;
  --line-height-heading: 1.2;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container: 1240px;
  --container-narrow: 860px;
  --container-wide: 1400px;

  /* Radius */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition: 0.2s ease;
  --transition-slow: 0.35s ease;

  /* Header */
  --header-height: 80px;
  --header-height-scrolled: 64px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-height);
  color: var(--color-dark);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Skip to content */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
  background: var(--color-accent);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
}

.skip-to-content:focus {
  position: fixed;
  top: var(--space-md);
  left: var(--space-md);
  width: auto;
  height: auto;
  overflow: visible;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--line-height-heading);
  color: var(--color-black);
}

h1 { font-size: var(--text-4xl); font-weight: 800; }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); font-weight: 600; }
h5 { font-size: var(--text-lg); font-weight: 600; }
h6 { font-size: var(--text-base); font-weight: 600; }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

.text-muted { color: var(--color-muted); }
.text-accent { color: var(--color-accent); }
.text-sm { font-size: var(--text-sm); }
.text-lg { font-size: var(--text-lg); }
.text-center { text-align: center; }

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

.section {
  padding: var(--space-4xl) 0;
}

.section--sm { padding: var(--space-2xl) 0; }
.section--lg { padding: var(--space-5xl) 0; }
.section--gray { background-color: var(--color-offwhite); }
.section--dark { background-color: var(--color-black); color: var(--color-white); }
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--color-white); }
.section--accent-bg { background-color: var(--color-accent-bg); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--color-muted);
  font-size: var(--text-lg);
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent-light);
  outline-offset: 2px;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-white);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn--secondary:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn--dark {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.btn--dark:hover {
  background-color: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

.btn--white:hover {
  background-color: var(--color-offwhite);
  color: var(--color-black);
}

.btn--whatsapp {
  background-color: #25d366;
  color: var(--color-white);
  border-color: #25d366;
}

.btn--whatsapp:hover {
  background-color: #1da851;
  border-color: #1da851;
  color: var(--color-white);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-xs);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-base);
}

.btn--icon {
  padding: 0.5rem;
  border-radius: var(--radius);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ==========================================================================
   6. HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  transition: all var(--transition-slow);
}

.site-header.header--scrolled {
  height: var(--header-height-scrolled);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo:hover { opacity: 0.85; }

.header-logo img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  transition: height var(--transition-slow);
  object-fit: contain;
}

.header--scrolled .header-logo img {
  height: 38px;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.desktop-nav > li {
  position: relative;
}

.desktop-nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-dark);
  transition: color var(--transition);
  white-space: nowrap;
}

/* Chevron indicator for items with submenus */
.desktop-nav > li.has-submenu > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 2px;
  margin-bottom: 2px;
  transition: transform var(--transition);
}

.desktop-nav > li.has-submenu:hover > a::after,
.desktop-nav > li.has-submenu.submenu-open > a::after {
  transform: rotate(-135deg);
}

.desktop-nav > li > a:hover,
.desktop-nav > li.active > a,
.desktop-nav > li.has-submenu:hover > a,
.desktop-nav > li.has-submenu.submenu-open > a {
  color: var(--color-accent);
}

/* Invisible bridge to prevent hover loss between parent and dropdown */
.desktop-nav > li.has-submenu::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
  background: transparent;
}

/* Desktop Dropdown */
.desktop-nav .dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 230px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 100;
}

/* Show dropdown on hover AND on JS toggle class */
.desktop-nav > li:hover > .dropdown,
.desktop-nav > li:focus-within > .dropdown,
.desktop-nav > li.submenu-open > .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-dark);
  border-left: 3px solid transparent;
  transition: all .15s ease;
}

.dropdown a:hover {
  background-color: var(--color-offwhite);
  color: var(--color-accent);
  border-left-color: var(--color-accent);
  padding-left: calc(var(--space-lg) + 4px);
}

.dropdown li:last-child a {
  font-weight: 600;
  color: var(--color-accent);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-dark);
}

.header-phone svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

.header-phone:hover { color: var(--color-accent); }

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-dark);
  margin: 3px 0;
  transition: all var(--transition);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) { opacity: 0; }

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-nav-overlay.is-open {
  opacity: 1;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--color-white);
  z-index: 999;
  overflow-y: auto;
  padding: calc(var(--header-height) + var(--space-md)) var(--space-lg) var(--space-lg);
  transition: right var(--transition-slow);
}

.mobile-nav.is-open {
  right: 0;
}

.mobile-nav a {
  display: block;
  padding: var(--space-sm) 0;
  font-size: var(--text-base);
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav a:hover { color: var(--color-accent); }

.mobile-nav .submenu {
  display: none;
  padding-left: var(--space-md);
}

.mobile-nav .submenu.is-open { display: block; }

.mobile-nav .submenu a {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: absolute;
  right: 0;
  top: 4px;
}

.submenu-toggle:hover { background: var(--color-offwhite); }
.submenu-toggle.is-active svg { transform: rotate(180deg); }

.mobile-nav li {
  position: relative;
}

.mobile-nav-cta {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

@media (max-width: 1024px) {
  .desktop-nav,
  .header-actions .btn,
  .header-actions .header-phone { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav-overlay { display: block; }
  .mobile-nav { display: block; }
}

/* Body offset for fixed header */
.has-fixed-header {
  padding-top: var(--header-height);
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-color: var(--color-black);
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: var(--space-4xl) 0;
}

.hero h1 {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--line-height);
  margin-bottom: var(--space-xl);
}

.hero .btn-group {
  margin-bottom: var(--space-2xl);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
}

.hero-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent-light);
  flex-shrink: 0;
}

/* Inner Page Hero */
.hero--inner {
  min-height: 280px;
  padding: var(--space-2xl) 0;
}

.hero--inner h1 {
  font-size: var(--text-3xl);
}

@media (max-width: 768px) {
  .hero { min-height: 460px; }
  .hero h1 { font-size: var(--text-3xl); }
  .hero-subtitle { font-size: var(--text-base); }
  .hero--inner { min-height: 220px; }
  .hero--inner h1 { font-size: var(--text-2xl); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: var(--text-2xl); }
  .hero-trust { flex-direction: column; gap: var(--space-sm); }
}

/* ==========================================================================
   8. CARDS
   ========================================================================== */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--color-accent-soft);
  box-shadow: var(--shadow);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background-color: var(--color-accent-bg);
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3, .card h4 {
  margin-bottom: var(--space-sm);
}

.card p {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
}

.card-link:hover { gap: var(--space-sm); }

/* Service Card */
.service-card {
  display: flex;
  flex-direction: column;
}

.service-card .card-link {
  margin-top: auto;
  padding-top: var(--space-md);
}

/* Model Card */
.model-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}

.model-card h4 {
  margin-bottom: var(--space-xs);
}

.model-card p {
  font-size: var(--text-sm);
}

/* ==========================================================================
   9. BREADCRUMB
   ========================================================================== */
.breadcrumb {
  padding: var(--space-sm) 0;
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-list li::after {
  content: '/';
  color: rgba(255,255,255,.5);
  font-size: 0.75rem;
}

.breadcrumb-list li:last-child::after { display: none; }

.breadcrumb-list a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb-list a:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumb-list .current {
  color: #fff;
  font-weight: 600;
}

/* Breadcrumb on light backgrounds */
.breadcrumb--light .breadcrumb-list li::after { color: var(--color-gray); }
.breadcrumb--light .breadcrumb-list a { color: var(--color-muted); }
.breadcrumb--light .breadcrumb-list a:hover { color: var(--color-accent); }
.breadcrumb--light .breadcrumb-list .current { color: var(--color-dark); }

/* ==========================================================================
   10. ACCORDION / FAQ
   ========================================================================== */
/* accordion styles below */

.accordion details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  font-size: var(--text-base);
  cursor: pointer;
  list-style: none;
  transition: background var(--transition);
}

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-muted);
  border-bottom: 2px solid var(--color-muted);
  transform: rotate(45deg);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.accordion details[open] summary::after {
  transform: rotate(-135deg);
}

.accordion summary:hover {
  background-color: var(--color-offwhite);
}

.accordion .accordion-content {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: var(--line-height);
}

.accordion .accordion-content p { margin-bottom: var(--space-sm); }

/* ==========================================================================
   11. FORMS
   ========================================================================== */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: var(--text-base);
  color: var(--color-dark);
  background-color: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-bg);
}

.form-control.has-error {
  border-color: var(--color-error);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.field-error {
  display: block;
  margin-top: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--color-error);
}

.form-success {
  display: none;
  padding: var(--space-md);
  background-color: #d5f5e3;
  color: #1e8449;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.form-check input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

.form-check label {
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-weight: 400;
}

/* Honeypot */
.form-hp { display: none !important; }

/* ==========================================================================
   12. TIMELINE / PROCESS
   ========================================================================== */
.process-timeline {
  display: grid;
  gap: 0;
  position: relative;
}

.process-step {
  display: flex;
  gap: var(--space-lg);
  padding-bottom: var(--space-2xl);
  position: relative;
}

.process-step:last-child { padding-bottom: 0; }

.process-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.process-step:not(:last-child) .process-step-number::after {
  content: '';
  position: absolute;
  top: 44px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + var(--space-2xl) - 44px);
  background-color: var(--color-border);
  z-index: 1;
}

.process-step-content h4 {
  margin-bottom: var(--space-xs);
}

.process-step-content p {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

/* ==========================================================================
   13. FEATURES / TRUST BAR
   ========================================================================== */
.trust-bar {
  background-color: var(--color-offwhite);
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.trust-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background-color: var(--color-accent-bg);
  color: var(--color-accent);
  flex-shrink: 0;
}

.trust-item-icon svg {
  width: 22px;
  height: 22px;
}

.trust-item h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 2px;
}

.trust-item p {
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin: 0;
}

@media (max-width: 1024px) {
  .trust-items { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .trust-items { grid-template-columns: 1fr; }
}

/* ==========================================================================
   14. CTA SECTION
   ========================================================================== */
.cta-section {
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: var(--space-3xl) 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-group {
  justify-content: center;
}

/* ==========================================================================
   15. CONTACT INFO
   ========================================================================== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.contact-card {
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
}

.contact-card svg {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.contact-card h4 {
  margin-bottom: var(--space-sm);
}

.contact-card p {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* Map */
.map-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   16. RELATED LINKS
   ========================================================================== */
.related-links {
  padding: var(--space-2xl);
  background-color: var(--color-offwhite);
  border-radius: var(--radius-md);
}

.related-links h3 {
  margin-bottom: var(--space-lg);
  font-size: var(--text-xl);
}

.related-links-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-sm);
}

.related-links-list a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-dark);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.related-links-list a::before {
  content: '→';
  color: var(--color-accent);
  font-weight: 600;
}

.related-links-list a:hover {
  background-color: var(--color-white);
  color: var(--color-accent);
}

/* ==========================================================================
   17. BLOG LIST
   ========================================================================== */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.blog-card:hover {
  border-color: var(--color-accent-soft);
  box-shadow: var(--shadow);
}

.blog-card-body {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  font-size: var(--text-xs);
  color: var(--color-gray);
  margin-bottom: var(--space-sm);
}

.blog-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.blog-card h3 a {
  color: var(--color-dark);
}

.blog-card h3 a:hover { color: var(--color-accent); }

.blog-card p {
  color: var(--color-muted);
  font-size: var(--text-sm);
  flex: 1;
}

.blog-card .card-link {
  margin-top: var(--space-md);
}

/* Blog article */
.article-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.article-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.article-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.article-content p {
  margin-bottom: var(--space-md);
}

.article-content ul,
.article-content ol {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: var(--space-xs); color: var(--color-muted); }

.article-content strong { color: var(--color-dark); }

.article-content blockquote {
  border-left: 3px solid var(--color-accent);
  padding: var(--space-md) var(--space-lg);
  background-color: var(--color-accent-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: var(--space-xl) 0;
  color: var(--color-muted);
  font-style: italic;
}

/* ==========================================================================
   18. FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-black);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-4xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  color: var(--color-white);
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: var(--line-height);
  margin-bottom: var(--space-lg);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-sm);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact-item a:hover { color: var(--color-white); }

.footer-main-site {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main-site p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-xs);
}

.footer-main-site a {
  color: var(--color-accent-light);
  font-weight: 600;
}

.footer-main-site a:hover { color: var(--color-white); }

.footer-bottom {
  padding: var(--space-lg) 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover { color: rgba(255, 255, 255, 0.8); }

.footer-disclaimer {
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-disclaimer p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin: 0;
}

.footer-credit {
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-credit a:hover {
  color: var(--color-accent-light);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   19. MOBILE STICKY CTA
   ========================================================================== */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 997;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: var(--space-sm);
}

.mobile-cta-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xs);
}

.mobile-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: var(--space-sm) var(--space-xs);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.mobile-cta-btn svg {
  width: 20px;
  height: 20px;
}

.mobile-cta-btn--call {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.mobile-cta-btn--whatsapp {
  background-color: #25d366;
  color: var(--color-white);
}

.mobile-cta-btn--map {
  background-color: var(--color-dark);
  color: var(--color-white);
}

@media (max-width: 768px) {
  .mobile-cta { display: block; }
  body.has-fixed-header { padding-bottom: 72px; }
}

/* ==========================================================================
   20. BACK TO TOP
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: var(--space-lg);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 996;
  text-decoration: none;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .back-to-top { bottom: 100px; right: var(--space-md); }
}

/* ==========================================================================
   21. SCROLL REVEAL ANIMATION
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   22. UTILITY CLASSES
   ========================================================================== */
.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;
}

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.mb-4 { margin-bottom: var(--space-3xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }

.pt-0 { padding-top: 0; }
.pt-section { padding-top: var(--space-4xl); }

/* Content page (services, models, locations, blog) */
.content-section {
  padding: var(--space-2xl) 0;
}

.content-section h2 {
  margin-bottom: var(--space-lg);
  font-size: var(--text-2xl);
}

.content-section h3 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  font-size: var(--text-xl);
}

.content-section p {
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

.content-section ul {
  padding-left: var(--space-xl);
  list-style: disc;
  margin-bottom: var(--space-md);
}

.content-section li {
  margin-bottom: var(--space-xs);
  color: var(--color-muted);
}

.content-section li strong { color: var(--color-dark); }

/* Two column layout for service/model pages */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-3xl);
  align-items: start;
}

.content-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
}

.sidebar-card {
  background: var(--color-offwhite);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.sidebar-card h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-md);
}

.sidebar-card .btn {
  width: 100%;
  margin-bottom: var(--space-sm);
}

.sidebar-card .btn:last-child { margin-bottom: 0; }


/* ==========================================================================
   23. PRINT
   ========================================================================== */

/* ==========================================================================
   INNER PAGE HERO
   ========================================================================== */
.hero--inner {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--color-primary);
  overflow: hidden;
}

.hero--inner .hero-bg {
  position: absolute;
  inset: 0;
}

.hero--inner .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .25;
}

.hero--inner .hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero--inner h1 {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: var(--space-sm);
}

.hero--inner p {
  font-size: 1.1rem;
  opacity: .9;
  max-width: 640px;
}

/* ==========================================================================
   CONTENT LAYOUT (with sidebar)
   ========================================================================== */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-2xl);
  align-items: start;
}

.content-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.sidebar-card {
  background: var(--color-offwhite);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.sidebar-card h4 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.sidebar-card .btn {
  width: 100%;
  text-align: center;
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
}

.sidebar-card ul li {
  padding: 4px 0;
}

.sidebar-card ul li a {
  color: var(--color-dark);
  text-decoration: none;
}

.sidebar-card ul li a:hover {
  color: var(--color-accent);
}

/* Service cards for location pages */
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.service-card h3, .service-card h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}

.card-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.card-link:hover { text-decoration: underline; }

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a3a5c 100%);
  padding: var(--space-3xl) 0;
  text-align: center;
  color: #fff;
}

.cta-section h2 {
  color: #fff;
  font-size: clamp(1.3rem, 3vw, 2rem);
  margin-bottom: var(--space-sm);
}

.cta-section p {
  opacity: .9;
  margin-bottom: var(--space-lg);
  max-width: 500px;
  margin-inline: auto;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.btn--white {
  background: #fff;
  color: var(--color-primary);
}

.btn--white:hover {
  background: var(--color-offwhite);
}

.btn--dark {
  background: var(--color-dark);
  color: #fff;
}

.btn--dark:hover {
  background: var(--color-black);
}

/* Map container */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Responsive content layout */
@media (max-width: 768px) {
  .hero--inner { min-height: 260px; }
  .content-layout { grid-template-columns: 1fr; }
  .content-sidebar { position: static; }
}


/* ==========================================================================
   MOBILE RESPONSIVE ENHANCEMENTS
   ========================================================================== */
@media (max-width: 768px) {
  .section { padding: var(--space-2xl) 0; }
  .section--lg { padding: var(--space-3xl) 0; }
  .cta-section { padding: var(--space-2xl) 0; }
  .grid--3 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-xl); }
  .breadcrumb { font-size: var(--text-xs); }
  .hero { min-height: 400px; }
  .hero--inner { min-height: 220px; padding: var(--space-2xl) 0 var(--space-md); }
  .hero--inner h1 { font-size: 1.3rem; }
  .related-links { padding: var(--space-lg); }
}

@media print {
  .site-header,
  .site-footer,
  .mobile-cta,
  .back-to-top,
  .btn,
  .mobile-nav,
  .mobile-nav-overlay { display: none !important; }

  body {
    padding-top: 0 !important;
    color: #000;
    background: #fff;
  }

  a { color: #000; text-decoration: underline; }
}
