/* ============================================
   IT-Bas Solutions — Exact Vision Implementation
   ============================================ */

/* Lokal gehostete Schriftart (statt Google Fonts CDN, DSGVO) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary:        #16a34a;
  --primary-dark:   #15803d;
  --primary-glow:   rgba(22, 163, 74, 0.15);
  --secondary:      #1e293b;
  --bg-dark:        #0f172a;
  --bg-soft:        #f8fafc;
  --text-main:      #1e293b;
  --text-muted:     #64748b;
  --border:         rgba(0, 0, 0, 0.08);
  --font-main:      'Inter', sans-serif;
  --radius:         8px;
  --radius-md:      10px;
  --radius-lg:      16px;
  --shadow-lg:      0 15px 40px rgba(0, 0, 0, 0.08);
  --transition:     all 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-main); color: var(--text-main); background: #fff; line-height: 1.5; overflow-x: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Header (Floating Style) ── */
.site-header {
  position: absolute;
  top: 20px;
  width: 100%;
  z-index: 1000;
}

.header-box {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 32px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.header-box .logo { min-width: 0; flex-shrink: 1; }
.header-box .logo img { max-width: 100%; }

.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links a { 
  text-decoration: none; 
  color: var(--secondary); 
  font-weight: 600; 
  font-size: 0.95rem; 
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.nav-links a:hover { color: var(--primary); }

.nav-dropdown { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.nav-dropdown__arrow { display: flex; align-items: center; justify-content: center; background: none; border: none; padding: 4px; margin: 0; cursor: pointer; color: inherit; font: inherit; }
.nav-dropdown__arrow svg { width: 14px; height: 14px; transition: var(--transition); }
.nav-dropdown:hover .nav-dropdown__arrow svg,
.nav-dropdown:focus-within .nav-dropdown__arrow svg { transform: rotate(180deg); }

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  padding: 10px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 10;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__menu a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.nav-dropdown__menu a:hover { background: rgba(22,163,74,0.08); color: var(--primary); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--secondary);
}
.nav-toggle svg { width: 26px; height: 26px; }

.btn-wa-header {
  background: var(--primary);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

/* ── Hero ── */
.hero {
  position: relative;
  background: var(--bg-dark);
  min-height: 85vh;
  padding-top: 140px;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg-depth.png') center/cover no-repeat;
  opacity: 0.5;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.hero__eyebrow { color: var(--primary); font-weight: 700; font-size: 0.8rem; margin-bottom: 15px; display: block; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.1; font-weight: 800; margin-bottom: 25px; }
.hero h1 span { color: var(--primary); }

.hero__text { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 35px; max-width: 550px; }

.hero__actions { display: flex; gap: 15px; margin-bottom: 30px; }

.btn-hero {
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.btn-hero--primary { background: var(--primary); color: #fff; }
.btn-hero--white { background: #fff; color: var(--secondary); }
.icon-whatsapp { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

.hero__trust { display: flex; gap: 20px; }
.trust-badge { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.9); }
.trust-badge svg { color: var(--primary); width: 18px; }

/* Widgets */
.widgets {
  position: absolute;
  top: 10px;
  right: -100px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
  transform: scale(0.9);
  transform-origin: top right;
}

.widget {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 10px 16px;
  border-radius: 6px;
  width: 170px;
  transition: var(--transition);
}

.widget:hover { background: rgba(15, 23, 42, 0.6); transform: translateX(-5px); }

.widget__label { font-size: 0.65rem; text-transform: uppercase; opacity: 0.5; margin-bottom: 5px; }
.widget__val { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.85rem; }
.widget__val span { color: var(--primary); }

.hero__visual { 
  position: relative; 
  display: flex; 
  justify-content: flex-end; 
  align-items: flex-end; 
  height: 100%;
  overflow: visible; /* Ensure no clipping */
}

.hero__portrait { 
  width: 120%;
  max-width: 700px; 
  position: relative; 
  z-index: 10; 
  display: block;
  transform: translateX(10%);
  /* Color grading to match dark background */
  filter: brightness(0.85) contrast(1.1) saturate(0.9) drop-shadow(0 0 30px rgba(22, 163, 74, 0.1));
  /* Soft mask on the right and bottom */
  mask-image: linear-gradient(to right, black 80%, transparent 100%),
              linear-gradient(to bottom, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%),
                      linear-gradient(to bottom, black 90%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.name-box {
  position: absolute;
  bottom: 20px;
  right: -10px; /* Moved further to the side */
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  padding: 10px 20px;
  border-radius: 4px;
  border-left: 3px solid var(--primary);
  z-index: 25;
  pointer-events: none;
}
.name-box strong { display: block; font-size: 1rem; color: #fff; }
.name-box span { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

/* ── Trust Bar ── */
.trust-bar { background: #fff; padding: 40px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.trust-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.trust-item { display: flex; gap: 15px; }
.trust-item svg { width: 32px; height: 32px; color: var(--primary); flex-shrink: 0; }
.trust-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.trust-item p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

/* ── Services ── */
.services { padding: 100px 0; background: #fff; }
.services-header { text-align: center; margin-bottom: 60px; }
.services-header h2 { font-size: 2.5rem; font-weight: 800; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: card;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  padding: 44px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  counter-increment: card;
  background: #fff;
}
.service-card::before {
  content: counter(card, decimal-leading-zero);
  position: absolute;
  top: 30px;
  right: 32px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  opacity: 0.4;
}
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: var(--transition);
}
.service-card:hover { background: var(--bg-soft); }
.service-card:hover::after { width: 44px; }
.service-card__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-glow);
  border-radius: 14px;
  margin-bottom: 22px;
  overflow: hidden;
}
.service-card svg { width: 36px; height: 36px; color: var(--primary); margin-bottom: 22px; }
.service-card__icon svg { width: 32px; height: 32px; margin-bottom: 0; }
.service-card__icon img { width: 44px; height: 44px; object-fit: contain; }
.service-card__icon--brand { background: #fff; border: 1px solid var(--border); position: relative; overflow: visible; }
.service-card__icon--brand > svg, .service-card__icon--brand > img,
.service-card__icon--brand > i > svg { width: 32px; height: 32px; }
.service-card__icon-badge {
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  overflow: hidden;
}
.service-card__icon-badge svg, .service-card__icon-badge img { width: 100%; height: 100%; object-fit: contain; }
.service-card__img { display: block; width: 64px; height: 64px; object-fit: contain; margin-bottom: 22px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 12px; padding-right: 30px; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
a.service-card { display: block; text-decoration: none; color: inherit; }
.service-card__list { list-style: none; margin-top: 20px; color: var(--text-muted); font-size: 0.9rem; }
.service-card__list li { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.service-card__list li svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }

/* ── Tech Strip ── */
.tech-strip { padding: 90px 0; background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tech-strip__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 50px; }
.tech-badge {
  --brand: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 190px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 20px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--secondary);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.tech-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -10%, var(--brand) 0%, transparent 65%);
  opacity: 0;
  transition: var(--transition);
}
.tech-badge:hover {
  border-color: var(--brand);
  box-shadow: 0 20px 40px -12px var(--brand);
  transform: translateY(-8px);
  color: var(--brand);
}
.tech-badge:hover::before { opacity: 0.12; }
.tech-badge__icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.4s ease;
}
.tech-badge:hover .tech-badge__icon { transform: scale(1.15) rotate(-6deg); }
.tech-badge--cisco { --brand: #049fd9; }
.tech-badge--ubiquiti { --brand: #0559c9; }
.tech-badge--veeam { --brand: #00b336; }
.tech-badge--acronis { --brand: #ff4c00; }

/* ── Buttons (generic) ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }
.btn--white { background: #fff; color: var(--secondary); }
.btn--white:hover { transform: translateY(-2px); }

/* ── Subpage Hero ── */
.hero--sub { min-height: 45vh; padding-bottom: 60px; }
.hero--sub .container { grid-template-columns: 1fr; }
.hero--sub .hero__content { max-width: 800px; margin: 0 auto; text-align: center; }
.hero--sub .hero__text { margin-left: auto; margin-right: auto; }
.hero--sub .hero__actions { justify-content: center; }
.hero--sub .hero__trust { justify-content: center; }

/* ── Section badge / header subtitle ── */
.section-badge {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.services-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 15px auto 0;
}

/* ── Region ── */
.region { padding: 100px 0; background: var(--bg-soft); }
.region-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.region-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--secondary);
}
.region-chip svg { width: 16px; height: 16px; color: var(--primary); }

/* ── CTA Banner ── */
.cta-banner { background: var(--bg-dark); color: #fff; padding: 90px 0; text-align: center; }
.cta-banner h2 { font-size: 2.2rem; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto 30px; font-size: 1.05rem; }

/* ── Legal pages (Impressum, Datenschutz, AGB) ── */
.legal-page { padding: 160px 0 100px; max-width: 800px; margin: 0 auto; overflow-wrap: break-word; }
.legal-page h1 { font-size: 2.5rem; margin-bottom: 40px; overflow-wrap: break-word; }
.legal-page section { margin-bottom: 36px; }
.legal-page h2 { font-size: 1.3rem; margin-bottom: 12px; color: var(--secondary); }
.legal-page p { color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; }
.legal-page ul { color: var(--text-muted); line-height: 1.7; margin: 12px 0 12px 20px; }
.legal-page a { color: var(--primary); }

/* ── About split (image + text) ── */
.about-split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.about-split img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 25px 50px rgba(0,0,0,0.15); }

/* ── Contact page ── */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; padding: 80px 0; align-items: start; }

.contact-info-card {
  background: var(--secondary);
  color: #fff;
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}
.contact-info-card__eyebrow { color: var(--primary); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 12px; }
.contact-info-card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.contact-info-card__lead { color: rgba(255,255,255,0.65); font-size: 0.92rem; line-height: 1.6; margin-bottom: 32px; }

.contact-methods { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.contact-method__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.contact-method__link:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); transform: translateX(4px); }
.contact-method__icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-method__icon--whatsapp { background: #25d366; }
.contact-method__icon .icon-whatsapp { width: 20px; height: 20px; }
.contact-method__text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.contact-method__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.5); }
.contact-method__value { font-weight: 700; font-size: 0.95rem; }
.contact-method__arrow { width: 16px; height: 16px; color: rgba(255,255,255,0.35); transition: var(--transition); }
.contact-method__link:hover .contact-method__arrow { color: var(--primary); transform: translate(2px,-2px); }

.contact-info-card__footer { display: flex; flex-direction: column; gap: 20px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); }
.contact-info-card__meta { display: flex; align-items: center; gap: 14px; }
.contact-info-card__meta i { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
.contact-info-card__meta span { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.04em; }
.contact-info-card__meta strong { font-size: 0.92rem; font-weight: 700; }

.contact-form { background: #fff; padding: 44px; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.contact-form__eyebrow { color: var(--primary); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 10px; }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 30px; }
.contact-form__error {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.85rem;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin: -14px 0 22px;
}
.contact-form__error[hidden] { display: none; }
.contact-form__error svg { width: 16px; height: 16px; flex-shrink: 0; }
.contact-form__error a { color: #b91c1c; font-weight: 700; text-decoration: underline; }
.contact-form__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.88rem; color: var(--secondary); }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--secondary);
  transition: var(--transition);
}
.form-control::placeholder { color: #94a3b8; }
.form-control:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px var(--primary-glow); }
.contact-form__submit { width: 100%; justify-content: center; padding: 18px; border: none; cursor: pointer; gap: 10px; font-size: 1rem; }
.contact-form__submit svg { width: 18px; height: 18px; }
.contact-form__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: 0.8rem; color: var(--text-muted); }
.contact-form__note svg { width: 15px; height: 15px; color: var(--primary); flex-shrink: 0; }

.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 26px; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; cursor: pointer; }
.form-check label { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; cursor: pointer; }
.form-check label a { color: var(--primary); font-weight: 600; text-decoration: underline; }

.contact-form__success { text-align: center; padding: 40px 10px; }
.contact-form__success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-form__success-icon svg { width: 34px; height: 34px; color: var(--primary); }
.contact-form__success h3 { font-size: 1.4rem; margin-bottom: 10px; }
.contact-form__success p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; max-width: 380px; margin: 0 auto; }

/* ── Error pages ── */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 160px 20px 100px; }
.error-page__code { font-size: 6rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 20px; }
.error-page__title { font-size: 1.8rem; margin-bottom: 16px; }
.error-page__text { color: var(--text-muted); max-width: 500px; margin: 0 auto 35px; line-height: 1.6; }

/* ── Footer ── */
.footer { background: var(--bg-dark); color: #fff; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer h4 { font-size: 0.9rem; opacity: 0.5; margin-bottom: 25px; text-transform: uppercase; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #fff; opacity: 0.7; text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { opacity: 1; color: var(--primary); }

.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}
.footer-social a:hover { transform: translateY(-3px); border-color: transparent; }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-social a.footer-social--instagram:hover { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.footer-social a.footer-social--linkedin:hover { background: #0a66c2; }
.footer-social a.footer-social--tiktok:hover { background: #000; }

@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__visual { flex-direction: column; align-items: center; justify-content: center; margin-top: 40px; }
  .widgets {
    position: static;
    order: -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    transform: none;
    width: 100%;
    margin-bottom: 25px;
  }
  .widget { width: auto; flex: 1 1 140px; max-width: 200px; }
  .hero__portrait {
    width: 100%;
    max-width: 420px;
    transform: none;
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
  }
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card, .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 768px) {
  .site-header { position: fixed; left: 0; }
  .header-box { flex-wrap: wrap; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.08);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.is-open { display: flex; }
  body.nav-open { overflow: hidden; }
  .nav-links a { padding: 10px 4px; }
  .nav-links a.active::after { display: none; }
  .nav-dropdown { width: 100%; justify-content: space-between; }
  .nav-dropdown__toggle { flex: 1; }
  .nav-dropdown__arrow { padding: 10px; }
  .nav-dropdown__menu {
    position: static;
    transform: none;
    opacity: 0;
    visibility: hidden;
    box-shadow: none;
    min-width: 0;
    width: 100%;
    flex-basis: 100%;
    padding: 0 0 0 14px;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease, margin-top 0.25s ease;
  }
  .nav-dropdown.is-expanded .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    margin-top: 4px;
  }
  .nav-dropdown.is-expanded .nav-dropdown__arrow svg { transform: rotate(180deg); }
  .nav-dropdown:hover .nav-dropdown__menu,
  .nav-dropdown:focus-within .nav-dropdown__menu {
    transform: none;
  }
  .trust-bar__grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .error-page__code { font-size: 4rem; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-hero { justify-content: center; padding: 13px 20px; font-size: 0.9rem; }
}
