/* ============================================
   Maximzoktautopaintwels — Premium Auto Lackierung
   ============================================ */

:root {
  --black: #08090c;
  --graphite: #141820;
  --graphite-light: #1e2430;
  --steel: #8b95a5;
  --silver: #c5cdd8;
  --white: #f4f6f8;
  --accent: #d41f2e;
  --accent-glow: rgba(212, 31, 46, 0.35);
  --accent-blue: #1a6fd4;
  --gradient-metal: linear-gradient(135deg, #2a3040 0%, #4a5568 50%, #2a3040 100%);
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --header-h: 80px;
  --radius: 4px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
  --section-pad: clamp(4rem, 8vw, 7rem);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--silver);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

button,
input,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--white);
  text-transform: uppercase;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header p {
  margin-top: 1rem;
  max-width: 620px;
  color: var(--steel);
  font-size: 1.05rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover {
  background: #b81825;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(8, 9, 12, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(8, 9, 12, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  letter-spacing: 0.06em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.55em;
  color: var(--steel);
  letter-spacing: 0.15em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-desktop a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  position: relative;
  padding: 0.25rem 0;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--white);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: rgba(8, 9, 12, 0.98);
  padding: 2rem;
  flex-direction: column;
  gap: 0;
  z-index: 999;
  height: 500px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: var(--white);
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-transform: uppercase;
  transition: color var(--transition), padding-left var(--transition);
}

.nav-mobile a:hover {
  color: var(--accent);
  padding-left: 1rem;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 9, 12, 0.92) 0%,
    rgba(8, 9, 12, 0.7) 45%,
    rgba(8, 9, 12, 0.4) 100%
  );
  z-index: 1;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: clamp(3rem, 8vw, 6rem) 0;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(212, 31, 46, 0.15);
  border: 1px solid rgba(212, 31, 46, 0.3);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
}

.hero h1 {
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--steel);
  max-width: 540px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  animation: fadeUp 0.8s 0.4s ease both;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1;
}

.hero-stat span {
  font-size: 0.8rem;
  color: var(--steel);
  letter-spacing: 0.05em;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  background: var(--graphite);
  overflow: hidden;
}

.page-hero.has-image {
  padding: calc(var(--header-h) + 6rem) 0 6rem;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,9,12,0.5) 0%, var(--graphite) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 600px;
  color: var(--steel);
  font-size: 1.1rem;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--steel);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  color: var(--accent);
}

/* ---- Sections ---- */
.section {
  padding: var(--section-pad) 0;
}

.section-dark {
  background: var(--graphite);
}

.section-darker {
  background: var(--black);
}

/* ---- Services Grid (Home) ---- */
.services-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.services-preview-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.services-preview-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  z-index: 2;
  pointer-events: none;
}

.services-preview-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.services-preview-image:hover img {
  transform: scale(1.04);
}

.services-preview-image .corner-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: var(--accent);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 3;
}

.service-list-mini {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.service-list-mini li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--graphite-light);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.service-list-mini li:hover {
  border-left-color: var(--accent);
  background: rgba(212, 31, 46, 0.08);
  transform: translateX(6px);
}

.service-list-mini li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- Benefits Grid ---- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  background: var(--graphite-light);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 31, 46, 0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.benefit-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.benefit-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.benefit-card:hover .benefit-card-image img {
  transform: scale(1.06);
}

.benefit-card-body {
  padding: 1.75rem;
}

.benefit-card-body h3 {
  margin-bottom: 0.75rem;
}

.benefit-card-body p {
  color: var(--steel);
  font-size: 0.95rem;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 31, 46, 0.12);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 1.4rem;
}

/* ---- Before / After ---- */
.ba-showcase {
  display: grid;
  gap: 2.5rem;
}

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.ba-item {
  position: relative;
  overflow: hidden;
}

.ba-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ba-item:hover img {
  transform: scale(1.03);
}

.ba-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius);
  z-index: 2;
}

.ba-label-before {
  background: rgba(8, 9, 12, 0.85);
  color: var(--steel);
}

.ba-label-after {
  background: var(--accent);
  color: var(--white);
}

.ba-divider {
  display: none;
}

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

.review-card {
  padding: 2rem;
  background: var(--graphite-light);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
  position: relative;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: Georgia, serif;
  font-size: 4rem;
  color: rgba(212, 31, 46, 0.15);
  line-height: 1;
}

.review-card:hover {
  border-color: rgba(212, 31, 46, 0.25);
  transform: translateY(-4px);
}

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

.review-text {
  color: var(--silver);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-metal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
}

.review-author-info strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
}

.review-author-info span {
  font-size: 0.8rem;
  color: var(--steel);
}

/* ---- CTA Block ---- */
.cta-block {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0;
  overflow: hidden;
}

.cta-block-bg {
  position: absolute;
  inset: 0;
}

.cta-block-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-block-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,9,12,0.9) 0%, rgba(20,24,32,0.85) 100%);
}

.cta-block .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-block h2 {
  margin-bottom: 1rem;
}

.cta-block p {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: var(--steel);
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---- Services Page ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: var(--graphite-light);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
}

.service-card:hover {
  border-color: rgba(212, 31, 46, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.service-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--graphite);
  font-size: 2.5rem;
  color: var(--accent);
  min-height: 180px;
}

.service-card-image {
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-body h3 {
  margin-bottom: 0.75rem;
}

.service-card-body p {
  color: var(--steel);
  font-size: 0.95rem;
}

/* ---- About Page ---- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.25rem;
  color: var(--steel);
}

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

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

.about-feature {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--graphite-light);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
}

.about-feature:hover {
  border-color: rgba(212, 31, 46, 0.3);
  transform: translateY(-4px);
}

.about-feature-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about-feature h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.about-feature p {
  color: var(--steel);
  font-size: 0.9rem;
}

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

.value-card {
  padding: 2.5rem 2rem;
  background: var(--graphite-light);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  transition: all var(--transition);
}

.value-card:hover {
  background: rgba(212, 31, 46, 0.06);
  transform: translateY(-4px);
}

.value-card h3 {
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--steel);
  font-size: 0.95rem;
}

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

.equipment-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--graphite-light);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
}

.equipment-item:hover {
  border-color: rgba(212, 31, 46, 0.25);
}

.equipment-item-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 31, 46, 0.12);
  color: var(--accent);
  border-radius: var(--radius);
  font-size: 1.2rem;
}

.equipment-item h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
}

.equipment-item p {
  font-size: 0.85rem;
  color: var(--steel);
}

/* ---- Contact Page ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-block {
  padding: 1.5rem;
  background: var(--graphite-light);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
}
@media (max-width:400px){
.contact-info-block{
max-width:321px;
}
}
.contact-info-block h3 {
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-detail:last-child {
  margin-bottom: 0;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 31, 46, 0.12);
  color: var(--accent);
  border-radius: var(--radius);
  font-size: 1.2rem;
}

.contact-detail-text strong {
  display: block;
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.contact-detail-text p {
  color: var(--silver);
  font-size: 1rem;
  line-height: 1.5;
}

.contact-hours {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.contact-hours h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--steel);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.contact-hours li span:last-child {
  color: var(--silver);
}

.contact-form-wrapper {
  padding: 2.5rem;
  background: var(--graphite-light);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
}

.contact-form-wrapper h3 {
  margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
  color: var(--steel);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: var(--graphite);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-error {
  display: none;
  color: var(--accent);
  font-size: 0.8rem;
  margin-top: 0.4rem;
}

.form-group.invalid .form-error {
  display: block;
}

.form-group.invalid input,
.form-group.invalid textarea {
  border-color: var(--accent);
}

.form-success {
  display: none;
  padding: 1.25rem;
  background: rgba(26, 111, 212, 0.12);
  border: 1px solid rgba(26, 111, 212, 0.3);
  border-radius: var(--radius);
  color: var(--silver);
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-success.visible {
  display: block;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--graphite);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: var(--steel);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--steel);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-col p {
  font-size: 0.9rem;
  color: var(--steel);
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  color: var(--steel);
}

.footer-accent-line {
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue), transparent);
  margin-bottom: 0;
}

.text-steel {
  color: var(--steel);
}

.text-steel-mt {
  color: var(--steel);
  margin: 1rem 0 0;
}

.footer-phone {
  margin-top: 1rem;
}

.text-center {
  text-align: center;
}

.cta-block-solid {
  position: relative;
}

.cta-block-solid .cta-block-overlay {
  background: linear-gradient(135deg, rgba(8, 9, 12, 0.95) 0%, rgba(20, 24, 32, 0.9) 100%);
}

.contact-info-centered {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-info-centered p {
  color: var(--silver);
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-info-centered strong {
  color: var(--white);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-legal a {
  color: var(--steel);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.footer-legal a:hover {
  color: var(--accent);
}

.legal-content {
  max-width: 820px;
}

.legal-block {
  margin-bottom: 3rem;
}

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

.legal-block h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-block h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--white);
  margin: 1.5rem 0 0.75rem;
}

.legal-block p {
  color: var(--steel);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.legal-block ul,
.legal-block ol {
  color: var(--steel);
  font-size: 0.95rem;
  margin: 0 0 1rem 1.25rem;
  list-style: disc;
}

.legal-block ol {
  list-style: decimal;
}

.legal-block li {
  margin-bottom: 0.5rem;
}

.legal-block li strong {
  color: var(--silver);
}

.legal-meta {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--graphite-light);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--steel);
  margin-bottom: 2rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-table th {
  background: var(--graphite-light);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-table td a {
  color: var(--accent);
}

.legal-table td a:hover {
  color: var(--white);
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (min-width: 1024px) {
  .header-cta {
    display: inline-flex;
  }
}

@media (max-width: 1024px) {
  .benefits-grid,
  .reviews-grid,
  .values-grid,
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 160px 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .services-preview {
    grid-template-columns: 1fr;
  }

  .benefits-grid,
  .reviews-grid,
  .values-grid,
  .about-features,
  .equipment-list {
    grid-template-columns: 1fr;
  }

  .ba-pair {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card-image img {
    min-height: 200px;
  }

  .service-card-icon {
    min-height: 120px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
  }
}
