:root {
  --bg: #0a0a0b;
  --bg-elev: #141417;
  --bg-elev-2: #1b1b21;
  --panel: linear-gradient(180deg, rgba(142, 43, 64, 0.10), rgba(20, 20, 23, 0.4)), #121116;
  --text: #f5f5f2;
  --muted: #9b9ba3;
  --accent: #8e2b40;
  --accent-bright: #b03a52;
  --accent-dark: #6f2131;
  --border: rgba(255, 255, 255, 0.08);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 5vw, 4rem);
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.14em;
}

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

.nav-links {
  display: flex;
  gap: 2.25rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  margin: -6px -6px -6px 0;
}

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

.hero {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 7rem 1.5rem 4rem;
  background:
    linear-gradient(rgba(10, 10, 11, 0.55), rgba(10, 10, 11, 0.92)),
    url("../assets/hero-poster.svg") center / cover no-repeat;
}

.hero-inner {
  max-width: 900px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}

.tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.9rem;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn-solid {
  background: var(--accent);
  color: #fff;
}

.btn-solid:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(142, 43, 64, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
}

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

.scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.3rem;
  color: var(--muted);
  animation: bounce 2s infinite;
}

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

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6.5rem clamp(1.25rem, 5vw, 3rem) 4.5rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin-bottom: 2.25rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.chip {
  padding: 0.6rem 1.2rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.chip:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.25);
}

.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(142, 43, 64, 0.55);
  box-shadow: var(--shadow);
}

.thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-elev-2), var(--bg));
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-fallback {
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: rgba(245, 245, 242, 0.08);
  letter-spacing: 0.06em;
}

.thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .thumb img {
  transform: scale(1.05);
}

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(142, 43, 64, 0.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.card:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.duration {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.55rem;
  border-radius: 5px;
}

.card-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.card-title {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
}

.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 70% 20%, rgba(142, 43, 64, 0.22), transparent 60%),
    linear-gradient(160deg, var(--bg-elev-2), var(--bg));
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait span {
  font-family: var(--font-display);
  font-size: 6rem;
  letter-spacing: 0.08em;
  color: rgba(245, 245, 242, 0.12);
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 1.15rem;
  max-width: 62ch;
}

.about-copy h2 {
  margin-bottom: 1.5rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.75rem 0 2.25rem;
}

.badges span {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg-elev);
}

.stats {
  display: flex;
  gap: 2.75rem;
  flex-wrap: wrap;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.stat b em {
  color: var(--accent);
  font-style: normal;
}

.stat small {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact h2 {
  max-width: 18ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  margin-top: 0.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-form label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(142, 43, 64, 0.18);
}

.contact-form .btn {
  margin-top: 1.5rem;
  align-self: flex-start;
}

.form-status {
  min-height: 1.4em;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.form-status.ok {
  color: #6ee7a0;
}

.form-status.err {
  color: var(--accent);
}

.contact-links h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.1rem;
}

.contact-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-links ul a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  padding: 0.45rem 0;
  font-size: 0.98rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.contact-links ul a:hover {
  color: var(--text);
  transform: translateX(4px);
}

.availability {
  margin-top: 1.9rem;
  font-size: 0.88rem;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 0.9rem;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem clamp(1.25rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

.back-top {
  font-size: 1.15rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.back-top:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 4, 5, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-inner {
  position: relative;
  width: min(960px, 100%);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem 1.7rem;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elev-2);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: var(--accent);
  color: #fff;
  transform: rotate(90deg);
}

.lightbox-media {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  margin-top: 0.4rem;
  position: relative;
}

.lightbox-media.portrait {
  aspect-ratio: 9 / 16;
  max-height: min(72vh, 640px);
  max-width: 420px;
  margin: 0.4rem auto 0;
}

.lightbox-media.portrait iframe {
  object-fit: contain;
}

.lightbox-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.lightbox-fs {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lightbox-fs:hover {
  background: rgba(142, 43, 64, 0.9);
  border-color: var(--accent);
}

.lightbox-media:fullscreen,
.lightbox-media:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  border-radius: 0;
  background: #000;
}

.lightbox-media:fullscreen iframe,
.lightbox-media:-webkit-full-screen iframe {
  background: #000;
}

.lightbox-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  margin-top: 1.2rem;
}

.lightbox-meta {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0.2rem 0 0.6rem;
}

.lightbox-desc {
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 80ch;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 61px;
    right: 0;
    width: min(280px, 78vw);
    height: calc(100vh - 61px);
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(12, 12, 14, 0.97);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--border);
    padding: 2rem 1.8rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    padding: 0.7rem 0;
    font-size: 1.05rem;
  }

  body.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

  body.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

  .portrait {
    max-width: 300px;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    gap: 1.8rem;
  }

  .hero {
    padding-top: 6rem;
  }

  .lightbox-inner {
    padding: 0.9rem 1rem 1.3rem;
  }

  .lightbox-close {
    top: -14px;
    right: -6px;
  }

  .footer {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }
}

.panel {
  background: var(--panel);
  border: 1px solid rgba(142, 43, 64, 0.28);
  border-radius: 32px;
  padding: 4rem clamp(1.5rem, 4vw, 3.5rem) 4.5rem;
  margin-bottom: 2.5rem;
}

h2 {
  letter-spacing: 0.05em;
}

h2 em,
.subhead em,
.tagline em,
.trusted-label em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.01em;
  color: #e9cfd4;
}

.tagline em {
  color: #d9b8bf;
}

.subhead {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.08em;
  margin: 2.75rem 0 1.4rem;
}

.trusted {
  max-width: 1080px;
  margin: 0 auto 1rem;
  padding: 0 clamp(1.25rem, 5vw, 3rem) 3.5rem;
  text-align: center;
}

.trusted-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.trusted-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem 2.2rem;
}

.trusted-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.trusted-badge span {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #e9cfd4;
  background: linear-gradient(160deg, rgba(142, 43, 64, 0.35), rgba(20, 20, 23, 0.9));
  border: 1px solid rgba(142, 43, 64, 0.45);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.trusted-badge:hover span {
  transform: translateY(-4px);
  border-color: var(--accent-bright);
}

.trusted-badge small {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 0.8rem;
  max-width: 760px;
}

.pill-cloud span {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(142, 43, 64, 0.45);
  background: rgba(142, 43, 64, 0.12);
  color: #e9cfd4;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.pill-cloud span:hover {
  transform: translateY(-3px) rotate(-1deg);
  background: rgba(142, 43, 64, 0.28);
  border-color: var(--accent-bright);
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.4rem;
}

.card-phone {
  border-radius: 30px;
  background: #0d0d10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.card-phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 14px;
  border-radius: 999px;
  background: #0d0d10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 3;
}

.card-phone .thumb {
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  margin: 10px;
  width: calc(100% - 20px);
}

.card-phone .thumb img {
  object-fit: cover;
}

.card-phone .card-body {
  padding: 0.4rem 1.2rem 1.4rem;
}

.card-client {
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 0.35rem;
}

.stats {
  display: flex;
  align-items: baseline;
  gap: 1.1rem 2.4rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.stat b {
  font-size: 2.1rem;
  line-height: 1;
}

.stat small {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.88rem;
}

@media (max-width: 600px) {
  .panel {
    border-radius: 24px;
    padding: 2.75rem 1.25rem 3.25rem;
  }

  .phone-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }

  .card-phone::before {
    top: 16px;
    height: 10px;
  }

  .trusted-row {
    gap: 1.1rem 1.4rem;
  }

  .trusted-badge span {
    width: 52px;
    height: 52px;
    font-size: 0.85rem;
  }
}

/* ── Mobile-first optimizations ────────────────────────────────── */

@media (max-width: 900px) {
  .nav {
    padding: 0.85rem clamp(0.9rem, 4vw, 1.5rem);
  }
  .panel {
    margin-left: 8px;
    margin-right: 8px;
  }
}
@media (max-width: 600px) {
  html { font-size: 15px; }
  .section { padding: 3.5rem 1rem 3rem; }
  .panel {
    border-radius: 20px;
    padding: 2.25rem 1.15rem 2.75rem;
    margin-bottom: 1.25rem;
    margin-left: 0;
    margin-right: 0;
  }
  .hero {
    padding: 5.5rem 1rem 3rem;
    min-height: 100svh;
    min-height: 100dvh;
  }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .tagline { font-size: 1rem; padding: 0 0.5rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
  .hero-ctas .btn { width: 100%; }
  .trusted { padding: 0 1rem 2rem; }
  .trusted-label { font-size: 0.95rem; }
  .trusted-row { gap: 0.9rem 0.7rem; }
  .trusted-badge span { width: 48px; height: 48px; font-size: 0.8rem; }
  .trusted-badge small { font-size: 0.68rem; max-width: 64px; text-align: center; line-height: 1.2; }
  .filter-bar { gap: 0.5rem; margin-bottom: 1.5rem; }
  .chip { font-size: 0.82rem; padding: 0.55rem 1rem; min-height: 40px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 1rem; }
  .phone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
  .card-phone { border-radius: 22px; }
  .card-phone::before { top: 14px; height: 10px; width: 32%; }
  .card-phone .thumb { border-radius: 16px; margin: 7px; width: calc(100% - 14px); }
  .card-phone .card-body { padding: 0.35rem 0.85rem 1rem; }
  .card-title { font-size: 0.95rem; }
  .card-client { font-size: 0.78rem; }
  .about-grid { gap: 1.75rem; }
  .portrait { max-width: 200px; margin: 0 auto; aspect-ratio: 1; border-radius: 20px; }
  .portrait span { font-size: 3.5rem; }
  .badges span { font-size: 0.75rem; padding: 0.35rem 0.8rem; }
  .stats { gap: 1rem 1.5rem; }
  .stat b { font-size: 1.8rem; }
  .stat small { font-size: 0.78rem; }
  .pill-cloud { gap: 0.6rem 0.5rem; }
  .pill-cloud span { font-size: 0.82rem; padding: 0.5rem 1rem; }
  .subhead { font-size: 1.5rem; margin: 1.75rem 0 1rem; }
  .contact-grid { gap: 2rem; }
  .contact-form input, .contact-form textarea { padding: 0.9rem 1rem; }
  .footer { flex-direction: column; gap: 1rem; text-align: center; padding: 1.5rem 1rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
  .lightbox { padding: 0.75rem; align-items: flex-start; padding-top: max(0.75rem, env(safe-area-inset-top, 0px)); }
  .lightbox-inner { padding: 0.85rem 0.85rem 1.1rem; border-radius: 16px; margin-top: 2rem; }
  .lightbox-close { top: -12px; right: -4px; width: 40px; height: 40px; }
  .lightbox-title { font-size: 1.35rem; }
  .lightbox-desc { font-size: 0.9rem; }
  h2 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
}
@media (max-width: 380px) {
  .phone-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
  .trusted-row { gap: 0.7rem 0.5rem; }
  .trusted-badge span { width: 44px; height: 44px; }
  .hero h1 { font-size: clamp(2.4rem, 12vw, 3.2rem); }
}
@media (max-width: 360px) {
  .nav { padding: 0.75rem 0.85rem; }
  .logo { font-size: 1.35rem; }
}
@supports (padding: max(0px)) {
  .nav {
    padding-left: max(clamp(0.9rem, 4vw, 1.5rem), env(safe-area-inset-left));
    padding-right: max(clamp(0.9rem, 4vw, 1.5rem), env(safe-area-inset-right));
  }
  .lightbox {
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
}
body.menu-open { overflow: hidden; }
@media (hover: none) and (pointer: coarse) {
  .card:active { transform: scale(0.98); }
  .card:hover { transform: none; border-color: var(--border); box-shadow: none; }
  .card:active { border-color: rgba(142, 43, 64, 0.55); }
  .btn:active { transform: scale(0.97); }
  .chip:active { transform: scale(0.95); }
}
/* content-visibility removed to preserve reveal animations */
.thumb img { background: var(--bg-elev-2); }
