@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #1a1a1a;
  --accent: #e5ff00;
  --accent-2: #22c55e;
  --text: #9ca3af;
  --text-strong: #ffffff;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --gutter: 24px;
  --nav-h: 72px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max-w: 1280px;
  --site-url: 'https://rostisstudio.com';
}

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

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  padding: 0;
  padding-top: var(--nav-h);
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

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

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.modern-grid {
  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: 24px 24px;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.625rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-strong);
  margin: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--accent);
  color: #000;
  border-color: rgba(255, 255, 255, 0.1);
}

.btn--primary:hover {
  background: #fff;
  transform: translateY(-1px);
}

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

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  border-color: rgba(229, 255, 0, 0.4);
  transform: translateY(-1px);
}

/* Nav — fixed flush to viewport top */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 1rem;
}

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

.logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--accent);
  color: #000;
  font-weight: 900;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
}

.logo__text {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-strong);
  letter-spacing: -0.03em;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

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

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

.lang-switch {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lang-switch:hover { color: var(--accent); border-color: rgba(229, 255, 0, 0.4); }

.burger {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-strong);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.burger:hover { background: rgba(255, 255, 255, 0.05); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  padding: max(var(--gutter), env(safe-area-inset-top)) var(--gutter) var(--gutter);
}

.mobile-menu[hidden] { display: none !important; }

.mobile-menu.is-open { display: block; }

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-strong);
}

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

/* Hero */
.hero {
  position: relative;
  padding: 1.25rem 0 3rem;
  min-height: 0;
  margin: 0;
}

.hero--overlap {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  animation: pulse 2s infinite;
}

.hero__title-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(3rem, 12vw, 7.5rem);
  line-height: 0.85;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text-strong);
  margin: 0;
  word-break: break-word;
}

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

.hero__photo {
  position: relative;
  width: min(280px, 70vw);
  margin: -1rem auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 0.75rem;
}

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

.hero__desc {
  max-width: 36rem;
  margin: 0 auto 2rem;
  font-size: 1rem;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

.hero__scroll {
  margin-top: 2.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

.geo-summary {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}

/* Stats */
.stats {
  margin-top: -2rem;
  position: relative;
  z-index: 5;
  padding-bottom: 2rem;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.stat__num {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section--border { border-top: 1px solid rgba(255, 255, 255, 0.1); }

.section__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section__head p {
  margin: 0;
  max-width: 28rem;
  font-size: 1.0625rem;
}

/* Portfolio fleet */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.portfolio-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0d0d0d;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card + .portfolio-card { margin-top: 1rem; }

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.portfolio-card__preview {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.portfolio-card__preview img,
.modal__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.portfolio-card__body { padding: 1.5rem; }

.portfolio-card__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-strong);
}

.portfolio-card__meta {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mini mockup inside portfolio */
.mockup {
  width: 100%;
  height: 100%;
  padding: 10% 8% 8%;
  display: flex;
  flex-direction: column;
  font-size: clamp(6px, 1.4vw, 11px);
  color: #fff;
  background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
}

.mockup__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8%;
}

.mockup__logo {
  font-weight: 700;
  color: var(--accent);
}

.mockup__cta {
  background: var(--accent);
  color: #000;
  padding: 0.35em 0.8em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85em;
}

.mockup__hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 6%;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 60%);
  border-radius: 8px;
  padding: 12% 6% 6%;
  position: relative;
}

.mockup__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(229,255,0,0.08), transparent 55%);
  border-radius: 8px;
}

.mockup__h1 {
  position: relative;
  font-size: 1.6em;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.03em;
}

.mockup__sub {
  position: relative;
  margin: 0.4em 0 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.9em;
}

.mockup--en .mockup__h1 { font-size: 1.45em; }

/* Portfolio gallery — each project its own visual style */
.mockup--spa {
  background: linear-gradient(160deg, #f5f0e8 0%, #e8dfd0 100%);
  color: #5c4a3d;
  font-family: Georgia, 'Times New Roman', serif;
}
.mockup--spa .mockup__logo { color: #8b6f47; }
.mockup--spa .mockup__cta { background: #c4a574; color: #fff; }
.mockup--spa .mockup__hero { background: linear-gradient(0deg, rgba(92,74,61,0.15), transparent); }
.mockup--spa .mockup__h1 { color: #4a3728; }
.mockup--spa .mockup__sub { color: #7a6555; }

.mockup--industrial {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f2744 100%);
  color: #fff;
}
.mockup--industrial .mockup__logo { color: #ff6b00; font-weight: 900; letter-spacing: 0.05em; }
.mockup--industrial .mockup__cta { background: #ff6b00; color: #fff; border-radius: 4px; }
.mockup--industrial .mockup__hero::before { background: repeating-linear-gradient(-45deg, transparent, transparent 4px, rgba(255,107,0,0.08) 4px, rgba(255,107,0,0.08) 8px); }
.mockup--industrial .mockup__h1 { text-transform: uppercase; font-size: 1.35em; }

.mockup--calm {
  background: linear-gradient(180deg, #ede8f5 0%, #ddd5ec 100%);
  color: #4a4458;
}
.mockup--calm .mockup__logo { color: #7c6b9e; font-weight: 500; }
.mockup--calm .mockup__cta { background: #9b8ec4; color: #fff; border-radius: 999px; }
.mockup--calm .mockup__h1 { font-weight: 500; letter-spacing: 0.01em; }
.mockup--calm .mockup__sub { color: #6b6378; }

.mockup--legal {
  background: linear-gradient(180deg, #0c1f3f 0%, #081528 100%);
  color: #e8e4dc;
  font-family: Georgia, serif;
}
.mockup--legal .mockup__logo { color: #c9a227; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.95em; }
.mockup--legal .mockup__cta { background: transparent; color: #c9a227; border: 1px solid #c9a227; border-radius: 2px; }
.mockup--legal .mockup__h1 { color: #f5f2eb; font-weight: 600; }

.mockup--edtech {
  background: linear-gradient(135deg, #6366f1 0%, #ec4899 55%, #f97316 100%);
  color: #fff;
}
.mockup--edtech .mockup__logo { font-weight: 800; }
.mockup--edtech .mockup__cta { background: #fff; color: #6366f1; border-radius: 999px; }
.mockup--edtech .mockup__hero::before { background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.2), transparent 50%); }
.mockup--edtech .mockup__h1 { font-size: 1.5em; }

.mockup--clinical {
  background: linear-gradient(180deg, #ffffff 0%, #e8f4f8 100%);
  color: #0f766e;
}
.mockup--clinical .mockup__logo { color: #0d9488; font-weight: 700; }
.mockup--clinical .mockup__cta { background: #0d9488; color: #fff; border-radius: 8px; }
.mockup--clinical .mockup__h1 { color: #134e4a; font-weight: 700; }
.mockup--clinical .mockup__sub { color: #5b8a87; }
.mockup--clinical .mockup__hero { background: none; }

/* Splash */
.splash {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background: var(--bg);
  overflow: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(229, 255, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 255, 0, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: splashGridPulse 2s ease-in-out infinite;
  pointer-events: none;
}

.splash--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash--hide .splash__inner {
  transform: scale(1.04);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.45s ease;
}

.splash__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  transition: transform 0.5s ease, opacity 0.45s ease;
}

.splash__mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--accent);
  color: #000;
  font-weight: 900;
  font-size: 2.5rem;
  display: grid;
  place-items: center;
  animation: splashMarkIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, splashGlow 1.4s ease-in-out 0.3s 2;
}

.splash__title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  font-size: clamp(2rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text-strong);
  margin: 0;
  line-height: 1;
}

.splash__word,
.splash__accent {
  display: inline-block;
  opacity: 0;
  animation: splashWordIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.splash__word:nth-child(1) { animation-delay: 0.25s; }
.splash__accent { color: var(--accent); animation-delay: 0.45s; }
.splash__word:nth-child(3) { animation-delay: 0.6s; }

.splash__line {
  width: min(280px, 60vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  animation: splashLineGrow 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

body.splash-active {
  overflow: hidden;
}

body.splash-active main {
  opacity: 0;
  pointer-events: none;
}

body.hero-ready main {
  opacity: 1;
  transition: opacity 0.35s ease;
}

/* Hero entrance (after splash) */
body.hero-ready .logo__mark {
  animation: logoPop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both;
}

body.hero-ready .logo__text {
  animation: heroSlideIn 0.6s ease 0.15s both;
}

body.hero-ready .hero__badge {
  animation: heroSlideIn 0.65s ease 0.2s both;
}

body.hero-ready .hero__title {
  animation: heroTitleReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

body.hero-ready .hero__title span {
  animation: heroAccentFlash 1.2s ease 0.9s 1;
}

body.hero-ready .hero__subtitle {
  animation: heroSlideIn 0.65s ease 0.45s both;
}

body.hero-ready .hero__desc {
  animation: heroSlideIn 0.65s ease 0.55s both;
}

body.hero-ready .hero__ctas {
  animation: heroSlideIn 0.65s ease 0.65s both;
}

body.hero-ready .hero__photo {
  animation: heroPhotoIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

body.hero-ready .hero .reveal {
  opacity: 1;
  transform: none;
}

/* Cards grid */
.cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 255, 0, 0.5);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(229, 255, 0, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(229, 255, 0, 0.2);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.card__icon svg {
  width: 28px;
  height: 28px;
}

.cards-6 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.375rem;
  color: var(--text-strong);
}

.card p { margin: 0; font-size: 0.9375rem; }

/* Package */
.package {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.package__grid {
  display: grid;
  gap: 2.5rem;
}

.benefit-list {
  display: grid;
  gap: 1.5rem;
}

.benefit {
  display: flex;
  gap: 1rem;
  font-size: 0.9375rem;
}

.benefit__check {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.benefit strong {
  display: block;
  color: var(--text-strong);
  margin-bottom: 0.25rem;
}

/* About */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
}

.about__photo-cap {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  color: #fff;
}

.about__photo-cap strong {
  display: block;
  font-size: 1.125rem;
}

.about__photo-cap span {
  font-size: 0.875rem;
  opacity: 0.75;
}

.about__text p {
  margin: 0 0 1rem;
  font-size: 0.97rem;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.timeline li {
  font-size: 0.9375rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(229, 255, 0, 0.35);
}

.timeline strong {
  color: var(--accent);
  font-weight: 700;
  margin-right: 0.35rem;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.review {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
}

.review__head {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.review__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #27272a;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--text-strong);
}

.review__name {
  font-weight: 600;
  color: var(--text-strong);
}

.review__role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.review p {
  margin: 0;
  font-size: 0.9375rem;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.step {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
}

.step__num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.04em;
}

.step h3 {
  margin: 0 0 0.5rem;
  color: var(--text-strong);
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.875rem;
}

/* Pricing */
.pricing {
  text-align: center;
}

.pricing__box {
  max-width: 56rem;
  margin-inline: auto;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  text-align: left;
}

.pricing__top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing__price {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.04em;
  margin: 0;
  white-space: nowrap;
}

.price-nowrap {
  white-space: nowrap;
}

.pricing__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.pricing__cols {
  display: grid;
  gap: 2rem;
}

.pricing ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-strong);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-item__answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
}

.faq-item.is-open .faq-item__answer { display: block; }

.faq-item__icon {
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }

/* Contact */
.contact {
  text-align: center;
  padding: 5rem 0;
}

.contact__intro {
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  font-size: 1.0625rem;
}

.form {
  max-width: 40rem;
  margin-inline: auto;
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: left;
}

.form__grid {
  display: grid;
  gap: 1.25rem;
}

.form label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.form__optional {
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
}

.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.form .btn--primary[type="submit"] {
  margin-top: 1.5rem;
  width: 100%;
}

.form input,
.form textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.125rem;
  color: var(--text-strong);
  font: inherit;
  transition: border-color 0.2s ease;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

.form__consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1rem;
  font-size: 0.8125rem;
}

.form__consent input { width: auto; margin-top: 0.2rem; }

.form__note {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1rem;
}

.form-error {
  color: #f87171;
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

.form-success {
  text-align: center;
  padding: 2rem 0;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 700;
}

.form-success h3 {
  margin: 0 0 0.5rem;
  color: var(--text-strong);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 0;
  font-size: 0.875rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer__legal {
  font-size: 0.8125rem;
  line-height: 1.35;
}

.footer__geo-hint {
  margin: 0;
  font-size: 0.75rem;
}

.footer__geo-hint a {
  color: rgba(255, 255, 255, 0.45);
}

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

.footer__meta {
  color: rgba(255, 255, 255, 0.6);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
  margin-right: 1rem;
}

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

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal[hidden] { display: none !important; }

.modal.is-open { display: flex; }

.modal__dialog {
  width: 100%;
  max-width: 56rem;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  animation: modalPop 0.2s ease;
}

.modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal__badge {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.modal__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  padding: 0.1rem 0.5rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.modal__close:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.modal__close:focus-visible {
  color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.modal__body { padding: 2rem; }

.modal__title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--text-strong);
}

.modal__subtitle {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.modal__preview {
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16 / 9;
}

.modal__cols {
  display: grid;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.modal__cols h4 {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.modal__foot {
  padding: 1.25rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
}

/* Lang picker root */
.lang-picker {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: var(--gutter);
}

.lang-picker__card {
  max-width: 28rem;
  width: 100%;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.lang-picker h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  color: var(--text-strong);
}

.lang-picker p {
  margin: 0 0 2rem;
}

.lang-picker__btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Legal */
.legal {
  padding: 4rem 0 6rem;
  max-width: 42rem;
}

.legal h1 {
  color: var(--text-strong);
  margin: 0 0 1.5rem;
}

.legal h2 {
  color: var(--text-strong);
  font-size: 1.125rem;
  margin: 2rem 0 0.75rem;
}

.legal p, .legal li {
  font-size: 0.9375rem;
}

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

/* Desktop nav */
@media (min-width: 769px) {
  .nav__links { display: flex; }
  .burger { display: none; }
  .btn--nav-secondary { display: inline-flex; }
}

@media (max-width: 768px) {
  .btn--nav-secondary { display: none; }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .portfolio-card + .portfolio-card { margin-top: 0; }

  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-6 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .form__grid { grid-template-columns: repeat(2, 1fr); }
  .form__grid .form__full { grid-column: 1 / -1; }
  .hero__ctas { flex-direction: row; justify-content: center; }
  .hero__ctas .btn { width: auto; }
}

/* Desktop */
@media (min-width: 1025px) {
  :root { --gutter: 24px; }

  .hero {
    padding: 2.5rem 0 4rem;
  }

  .hero--overlap {
    grid-template-columns: 1fr auto;
    text-align: left;
    align-items: center;
    gap: 2.5rem;
  }

  .hero__center { text-align: left; }

  .hero__desc { margin-left: 0; }

  .hero__ctas { justify-content: flex-start; }

  .hero__photo {
    width: 320px;
    margin: 0 0 2rem -4rem;
    position: relative;
  }

  .hero__title-wrap { margin-bottom: 1.5rem; }

  .geo-summary { margin-left: 0; text-align: left; }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .portfolio-card + .portfolio-card { margin-top: 0; }

  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-6 { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(4, 1fr); }
  .process-grid { grid-template-columns: repeat(5, 1fr); }
  .about-grid { grid-template-columns: 5fr 7fr; }
  .package__grid { grid-template-columns: 5fr 7fr; align-items: start; }
  .benefit-list { grid-template-columns: repeat(2, 1fr); }
  .pricing__top { flex-direction: row; justify-content: space-between; align-items: center; }
  .pricing__cols { grid-template-columns: repeat(2, 1fr); }
  .modal__cols { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .section__head { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .form__grid { grid-template-columns: repeat(2, 1fr); }
  .form__grid .form__full { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  :root { --gutter: 20px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .section { padding: 3rem 0; }
  .hero__ctas .btn { width: 100%; }
}

@media (max-width: 480px) {
  :root { --gutter: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__dot { animation: none; }
  .splash::before,
  .splash__mark,
  .splash__word,
  .splash__accent,
  .splash__line,
  body.hero-ready .logo__mark,
  body.hero-ready .logo__text,
  body.hero-ready .hero__badge,
  body.hero-ready .hero__title,
  body.hero-ready .hero__subtitle,
  body.hero-ready .hero__desc,
  body.hero-ready .hero__ctas,
  body.hero-ready .hero__photo {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}