/* ---------- Base ---------- */
:root {
  --bg: #07090d;
  --bg-alt: #0d1017;
  --surface: #121620;
  --surface-2: #1a1f2c;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f5f7;
  --text-dim: #98a1b0;
  --grad-1: #1d4ed8;
  --grad-2: #38bdf8;
  --grad-3: #0c4a6e;
  --gradient: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  --gradient-soft: linear-gradient(135deg, rgba(29, 78, 216, 0.22), rgba(56, 189, 248, 0.18));
  --radius: 18px;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 74px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; padding: 16px 0 120px; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.eyebrow--center { display: block; text-align: center; }

.hero__eyebrow { line-height: 1.9; max-width: 640px; margin-left: auto; margin-right: auto; }

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-title--center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn--gradient {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 30px rgba(29, 78, 216, 0.35);
}

.btn--gradient:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(56, 189, 248, 0.4); }

.btn--outline {
  background: transparent;
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn--outline:hover {
  border-color: var(--grad-2);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.35), rgba(56, 189, 248, 0.22));
  box-shadow: 0 14px 40px rgba(29, 78, 216, 0.4), 0 0 30px rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

.btn--small { padding: 10px 22px; font-size: 14px; }

.btn--full { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo__img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav { display: flex; align-items: center; gap: 32px; }

.nav__link {
  font-size: 14.5px;
  color: var(--text-dim);
  position: relative;
  transition: color 0.2s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width 0.25s ease;
}

.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }

.header__cta { flex-shrink: 0; }

/* ---------- Language switch ---------- */
.lang-switch {
  position: relative;
  flex-shrink: 0;
}

.lang-switch__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--text);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.lang-switch__btn:hover {
  border-color: var(--grad-2);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.35), rgba(56, 189, 248, 0.22));
  box-shadow: 0 10px 28px rgba(29, 78, 216, 0.35), 0 0 22px rgba(56, 189, 248, 0.3);
}

.lang-switch__flag {
  display: inline-block;
  width: 20px;
  height: 15px;
  border-radius: 3px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.flag-de {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 3'%3E%3Crect width='5' height='3' fill='%23FFCE00'/%3E%3Crect width='5' height='2' fill='%23DD0000'/%3E%3Crect width='5' height='1' fill='%23000000'/%3E%3C/svg%3E");
}

.flag-en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%2300247d'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23ffffff' stroke-width='6'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23cf142b' stroke-width='2'/%3E%3Cpath d='M30,0 V30 M0,15 H60' stroke='%23ffffff' stroke-width='10'/%3E%3Cpath d='M30,0 V30 M0,15 H60' stroke='%23cf142b' stroke-width='6'/%3E%3C/svg%3E");
}

.lang-switch__chevron {
  color: var(--text-dim);
  transition: transform 0.2s ease;
}

.lang-switch.open .lang-switch__chevron { transform: rotate(180deg); }

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  z-index: 110;
}

.lang-switch.open .lang-switch__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-switch__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 9px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-switch__option:hover { background: var(--surface-2); color: var(--text); }

.lang-switch__option.active { color: var(--text); background: var(--surface-2); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(29, 78, 216, 0.22), transparent 60%),
    #08080a;
  z-index: -2;
}

.hero__glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  z-index: -1;
  animation: float 12s ease-in-out infinite;
}

.hero__glow--1 { background: var(--grad-1); top: -120px; left: -100px; }
.hero__glow--2 { background: var(--grad-2); bottom: -160px; right: -100px; animation-delay: -6s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero__content { max-width: 780px; margin: 0 auto; }

.hero__logo {
  position: relative;
  width: 230px;
  height: 230px;
  margin: 0 auto 32px;
  border-radius: 50%;
  padding: 5px;
  background: var(--gradient);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 60px rgba(29, 78, 216, 0.4), 0 0 90px rgba(56, 189, 248, 0.28);
}

.hero__logo::before {
  content: "";
  position: absolute;
  inset: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3), rgba(29, 78, 216, 0.14) 55%, transparent 75%);
  filter: blur(35px);
  z-index: -1;
  pointer-events: none;
}

.hero__logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

@media (max-width: 620px) {
  .hero__logo { width: 160px; height: 160px; margin-bottom: 24px; }
}

.hero__title {
  font-size: clamp(38px, 6.5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-down {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--border);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-down span {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--gradient);
  animation: scrollDown 1.6s ease infinite;
}

@keyframes scrollDown {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- About ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.about__media { position: relative; width: 100%; }

.about__frame {
  width: 100%;
  border-radius: var(--radius);
  padding: 2px;
  background: var(--gradient);
}

.about__photo {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  background:
    radial-gradient(circle at 30% 20%, rgba(29,78,216,0.5), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(56,189,248,0.4), transparent 55%),
    #111114;
}

.about__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.about__photo img.loaded { opacity: 1; }

.about__badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.about__badge strong {
  font-size: 26px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about__badge span { font-size: 12px; color: var(--text-dim); }

.about__desc-group { max-width: 520px; margin-bottom: 32px; }

.about__desc {
  color: var(--text-dim);
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  margin-bottom: 14px;
}

.about__desc:last-child { margin-bottom: 0; }

.about__stats {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }
.stat__num { font-size: 30px; font-weight: 800; }
.stat__label { font-size: 13px; color: var(--text-dim); }

/* ---------- Portfolio ---------- */
.filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 36px 0 48px;
}

.filter {
  background: var(--surface);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--text-dim);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter:hover {
  color: var(--text);
  border-color: var(--grad-2);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.35), rgba(56, 189, 248, 0.22));
  box-shadow: 0 10px 28px rgba(29, 78, 216, 0.35), 0 0 22px rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

.filter.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-item {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #000;
  border: 1px solid var(--border);
}

.gallery-item.hidden { display: none; }

.gallery-item__frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.gallery-item__ph {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease, opacity 0.7s ease-in-out;
}

.gallery-item:hover .gallery-item__ph { transform: scale(1.08); }

.gallery-item__label {
  padding: 13px 16px;
  text-align: center;
}

.gallery-item__label span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Services ---------- */
.services__note {
  max-width: 560px;
  margin: 14px auto 0;
  text-align: left;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--grad-2);
  background: linear-gradient(160deg, rgba(29, 78, 216, 0.32), rgba(56, 189, 248, 0.18) 55%, var(--surface) 100%);
  box-shadow: 0 24px 60px rgba(29, 78, 216, 0.45), 0 0 55px rgba(56, 189, 248, 0.35);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
  color: #fff;
  font-size: 18px;
}

.service-card h3 { font-size: 20px; }

.service-card p { color: var(--text-dim); font-size: 14.5px; }

.service-card ul { display: flex; flex-direction: column; gap: 8px; margin: 6px 0; }

.service-card li {
  font-size: 14px;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
}

.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.service-card__price {
  font-size: 22px;
  font-weight: 800;
  margin: auto 0 4px;
}

/* ---------- Testimonials ---------- */
.testimonials__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  align-self: start;
}

.testimonial-shot img { width: 100%; height: auto; display: block; }

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: start;
}

.review-card__text { color: var(--text-dim); font-size: 15px; }
.review-card__author { font-size: 14.5px; }

.review-form-wrap {
  max-width: 560px;
  margin: 64px auto 0;
  text-align: center;
}

.review-form__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.review-form__note {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 28px;
}

.review-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.review-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-dim);
}

.review-form input,
.review-form textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
  resize: vertical;
}

.review-form input:focus,
.review-form textarea:focus { border-color: var(--grad-1); }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }

.contact__glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,78,216,0.22), transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  z-index: -1;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__desc { color: var(--text-dim); margin-bottom: 32px; max-width: 440px; }

.contact__list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }

.contact__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
}

a.contact__item:hover { color: var(--grad-2); }

.contact__item-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-soft);
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 8px 20px rgba(29, 78, 216, 0.3), 0 0 18px rgba(56, 189, 248, 0.25);
  color: var(--grad-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a.contact__item:hover .contact__item-icon {
  border-color: var(--grad-2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 26px rgba(29, 78, 216, 0.45), 0 0 26px rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.socials { display: flex; gap: 12px; }

.social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: var(--gradient-soft);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3), 0 0 18px rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grad-2);
  transition: all 0.25s ease;
}

.social svg { width: 19px; height: 19px; }

.social:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(29, 78, 216, 0.45), 0 0 30px rgba(56, 189, 248, 0.4);
  transform: translateY(-3px);
}

.contact__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}

.contact__form input,
.contact__form textarea {
  background: var(--bg-alt);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
  color-scheme: dark;
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: var(--grad-2);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22), 0 0 24px rgba(29, 78, 216, 0.35);
}

.contact__form input.field-error,
.contact__form textarea.field-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.22);
}

.type-select {
  position: relative;
}

.type-select__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.16), rgba(56, 189, 248, 0.08)), var(--bg-alt);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--grad-2);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.type-select__btn .lang-switch__chevron { flex-shrink: 0; color: var(--grad-2); }

.type-select__btn:hover { border-color: rgba(56, 189, 248, 0.6); }

.type-select__btn:focus-visible,
.type-select.open .type-select__btn {
  border-color: var(--grad-2);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22), 0 0 24px rgba(29, 78, 216, 0.35);
}

.type-select.open .lang-switch__chevron { transform: rotate(180deg); }

.type-select__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 14px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(29, 78, 216, 0.25);
  z-index: 110;
}

.type-select.open .type-select__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.type-select__option {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 14px;
  font-family: inherit;
  padding: 10px 12px;
  border-radius: 9px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}

.type-select__option:hover,
.type-select__option.active {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.35), rgba(56, 189, 248, 0.22));
  color: var(--text);
}

.form-phone {
  display: flex;
  gap: 8px;
}

.phone-country {
  position: relative;
  flex: 0 0 122px;
}

.phone-country__btn {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-alt);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 10px;
  padding: 12px 10px;
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phone-country__btn:focus-visible,
.phone-country.open .phone-country__btn {
  border-color: var(--grad-2);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22), 0 0 24px rgba(29, 78, 216, 0.35);
}

.phone-country__flag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.phone-country .lang-switch__chevron { margin-left: auto; }

.phone-country.open .lang-switch__chevron { transform: rotate(180deg); }

.phone-country__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 260px;
  max-height: 280px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 14px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(29, 78, 216, 0.25);
  z-index: 110;
}

.phone-country.open .phone-country__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.phone-country__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 13.5px;
  padding: 8px 10px;
  border-radius: 9px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}

.phone-country__option img {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.phone-country__option span { flex: 1; }

.phone-country__option .phone-country__dial { flex: 0 0 auto; color: var(--text-dim); }

.phone-country__option:hover,
.phone-country__option.active { background: var(--surface-2); color: var(--text); }

.form-phone input {
  flex: 1 1 auto;
  min-width: 0;
}

.form-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
  background: var(--gradient-soft);
  border: 1px solid rgba(29, 78, 216, 0.4);
  border-radius: 10px;
  padding: 14px 16px;
}

.form-hint__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--grad-2);
}

.form-hint strong {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.form-note { font-size: 13.5px; color: var(--text-dim); min-height: 18px; }
.form-note.success { color: #34d399; }
.form-note.error { color: #ef4444; }

/* ---------- Footer ---------- */
.footer { padding: 40px 0; border-top: 1px solid var(--border); }

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__inner p { font-size: 13.5px; color: var(--text-dim); }

.footer__top { font-size: 13.5px; color: var(--text-dim); transition: color 0.2s ease; }
.footer__top:hover { color: var(--text); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4,4,6,0.92);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 40px;
}

.lightbox.open { opacity: 1; pointer-events: auto; }

.lightbox__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 86vh;
}

.lightbox__photo--gradient {
  width: min(700px, 90vw);
  aspect-ratio: 4/5;
  border-radius: var(--radius);
}

.lightbox__photo img {
  display: block;
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox__photo img.loaded { opacity: 1; }

.lightbox__close {
  position: absolute;
  top: 28px;
  right: 32px;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-soft);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: var(--text);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.lightbox__nav svg { width: 24px; height: 24px; }

.lightbox__nav:hover {
  border-color: var(--grad-2);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
  transform: translateY(-50%) scale(1.08);
}

.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13.5px;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
}

@media (max-width: 620px) {
  .lightbox { padding: 24px; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav svg { width: 20px; height: 20px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 150;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: whatsappPulse 2.6s ease-in-out infinite;
}

.whatsapp-fab svg { width: 30px; height: 30px; }

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 10px rgba(37, 211, 102, 0); }
}

@media (max-width: 620px) {
  .whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
}

/* ---------- Floating Instagram button ---------- */
.instagram-fab {
  position: fixed;
  right: 96px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(214, 36, 159, 0.45);
  z-index: 150;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: instagramPulse 2.6s ease-in-out infinite;
}

.instagram-fab svg { width: 27px; height: 27px; }

.instagram-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(214, 36, 159, 0.6);
}

@keyframes instagramPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(214, 36, 159, 0.45), 0 0 0 0 rgba(214, 36, 159, 0.45); }
  50% { box-shadow: 0 8px 24px rgba(214, 36, 159, 0.45), 0 0 0 10px rgba(214, 36, 159, 0); }
}

@media (max-width: 620px) {
  .instagram-fab { right: 78px; bottom: 16px; width: 52px; height: 52px; }
  .instagram-fab svg { width: 24px; height: 24px; }
}

/* ---------- Floating scroll-to-top button ---------- */
.scrolltop-fab {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.4), 0 0 20px rgba(56, 189, 248, 0.3);
  cursor: pointer;
  z-index: 150;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease;
}

.scrolltop-fab.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scrolltop-fab svg { width: 20px; height: 20px; }

.scrolltop-fab:hover {
  box-shadow: 0 10px 30px rgba(29, 78, 216, 0.55), 0 0 26px rgba(56, 189, 248, 0.4);
  transform: translateY(-3px);
}

@media (max-width: 620px) {
  .scrolltop-fab { right: 16px; bottom: 82px; width: 42px; height: 42px; }
  .scrolltop-fab svg { width: 18px; height: 18px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about__inner,
  .contact__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; margin: 0 auto; }
  .testimonials__track { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; }

  .nav.open {
    display: flex;
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: rgba(8,8,10,0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  section { padding: 80px 0; }
}

@media (max-width: 620px) {
  .testimonials__track,
  .gallery,
  .services__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .footer__inner { justify-content: center; text-align: center; }
}
