/* ========================================
   Ristark — Modern Agency Website
   Pure CSS, no framework
   ======================================== */

:root {
  --color-nav: #54667a;
  --color-nav-rgb: 84 102 122;
  --color-nav-text: #eef2f6;
  --color-nav-text-muted: #b8c4d0;
  --color-nav-border: rgba(255, 255, 255, 0.14);
  --color-nav-hover: rgba(255, 255, 255, 0.08);
  --color-bg: rgb(176 190 204 / 97%);
  --color-bg-block: rgb(192 204 216 / 97%);
  --color-bg-block-alt: rgb(208 218 228 / 97%);
  --color-bg-content: rgb(224 232 240 / 97%);
  --color-bg-input: rgb(240 244 248 / 97%);
  --color-border: rgba(64, 82, 102, 0.16);
  --color-text: #243444;
  --color-text-muted: #4a6078;
  --color-primary: #6366f1;
  --color-primary-light: #4f46e5;
  --color-accent: #0891b2;
  --color-hover: rgba(64, 82, 102, 0.08);
  --color-overlay: rgb(176 190 204 / 94%);
  --color-surface: var(--color-nav);
  --shadow-sm: 0 4px 20px rgba(64, 82, 102, 0.1);
  --shadow-md: 0 12px 40px rgba(64, 82, 102, 0.12);
  --shadow-lg: 0 24px 64px rgba(64, 82, 102, 0.15);
  --gradient: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 92px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background: var(--color-bg);
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }

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

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

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.05em;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
}

.hero__actions .btn--primary,
.contact__form .btn--primary {
  background: var(--color-nav);
  color: var(--color-nav-text);
  box-shadow: 0 4px 20px rgba(64, 82, 102, 0.25);
}

.hero__actions .btn--primary:hover,
.contact__form .btn--primary:hover {
  background: #5f738a;
  box-shadow: 0 8px 28px rgba(64, 82, 102, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  background: var(--color-hover);
  border-color: rgba(64, 82, 102, 0.22);
}

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

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: var(--transition);
  background-color: var(--color-nav);
}

body.nav-open .header {
  z-index: 1100;
}

.header--scrolled {
  background-color: var(--color-nav);
  backdrop-filter: none;
  border-bottom: 1px solid var(--color-nav-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  background-color: var(--color-nav);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  background-color: var(--color-nav);
  line-height: 0;
}

.header .nav__logo,
.header .nav__logo-img {
  background-color: var(--color-nav);
}

.nav__logo-img {
  display: block;
  height: 72px;
  width: auto;
  max-width: 420px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 10px;
  font-size: 1.1rem;
  color: #fff;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  transform: translateX(64px);
}

.nav__link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-nav-text-muted);
  border-radius: 8px;
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--color-nav-text);
  background: var(--color-nav-hover);
}

.nav__link--cta {
  background: var(--gradient);
  color: #fff !important;
  margin-left: 8px;
}

.nav__link--cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

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

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-nav-text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 901px) {
  .header .nav.container {
    padding-left: 10px;
  }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  display: block;
  padding: var(--header-height) 0 0;
  overflow: hidden;
}

.hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1152 / 864;
  z-index: 0;
  overflow: hidden;
  background: var(--color-bg);
  line-height: 0;
}

.hero__media-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

@media (min-width: 901px) {
  .hero {
    display: grid;
    grid-template-areas: "hero";
    padding: var(--header-height) 0 0;
  }

  .hero__media {
    grid-area: hero;
    width: 100%;
    height: min(calc(100vw * 864 / 1152 * 0.82), calc(100vh - var(--header-height)));
    aspect-ratio: auto;
    overflow: hidden;
  }

  .hero__media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .hero__screen {
    grid-area: hero;
    position: absolute;
    top: 20%;
    left: 5%;
    width: min(34%, 460px);
    z-index: 2;
    margin: 0;
    pointer-events: none;
  }

  .hero__screen-ui {
    position: relative;
    padding: clamp(14px, 1.6vw, 22px) clamp(16px, 1.8vw, 24px);
    margin-right: 14px;
    background:
      linear-gradient(145deg, rgb(84 102 122 / 88%) 0%, rgb(99 102 241 / 55%) 52%, rgb(8 145 178 / 48%) 100%);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    border: 1px solid rgb(255 255 255 / 30%);
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 24%),
      0 12px 32px rgb(36 52 68 / 24%);
    overflow: visible;
    pointer-events: auto;
  }

  .hero__screen-ui::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 42%), transparent);
    border-radius: 18px 18px 0 0;
  }

  .hero__screen-ui::after {
    content: '';
    position: absolute;
    top: 42%;
    right: -11px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, rgb(92 110 130 / 92%) 0%, rgb(99 102 241 / 58%) 100%);
    border-right: 1px solid rgb(255 255 255 / 28%);
    border-bottom: 1px solid rgb(255 255 255 / 28%);
    transform: rotate(-45deg);
    box-shadow: 4px 4px 12px rgb(36 52 68 / 18%);
  }

  .hero__screen .hero__title,
  .hero__screen .hero__subtitle,
  .hero__screen .hero__actions {
    position: relative;
    z-index: 1;
  }

  .hero__screen .hero__title {
    color: #fff;
    font-size: clamp(1.1rem, 1.85vw, 2rem);
    margin-bottom: 0.45em;
    line-height: 1.18;
    text-shadow: none;
  }

  .hero__screen .hero__subtitle {
    color: rgb(238 242 246 / 95%);
    font-size: clamp(0.85rem, 1.25vw, 1.05rem);
    max-width: none;
    margin-bottom: 0.85em;
    line-height: 1.45;
    text-shadow: none;
  }

  .hero__screen .hero__actions {
    gap: 12px;
  }

  .hero__screen .hero__actions .btn {
    padding: 11px 20px;
    font-size: clamp(0.72rem, 1vw, 0.9rem);
    border-radius: 999px;
  }

  .hero__screen .btn--primary {
    background: var(--color-nav);
    color: var(--color-nav-text);
    box-shadow: 0 2px 10px rgb(36 52 68 / 25%);
  }

  .hero__screen .btn--ghost {
    color: #fff;
    border-color: rgb(255 255 255 / 35%);
    background: rgb(255 255 255 / 12%);
    backdrop-filter: blur(6px);
  }

  .hero__screen .btn--ghost:hover {
    background: rgb(255 255 255 / 20%);
    border-color: rgb(255 255 255 / 50%);
  }
}

.hero__overlay {
  display: none;
}

.hero__content {
  z-index: 1;
  max-width: 790px;
  padding-left: 15px;
}

.hero__screen {
  z-index: 1;
}

.hero__title {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  overflow: visible;
  color: var(--color-text);
}

.hero__subtitle {
  font-size: clamp(0.9rem, 1.7vw, 1.05rem);
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.65;
}

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

.hero__actions .btn {
  padding: 14px 28px;
  font-size: 0.95rem;
}

.hero .btn--ghost {
  color: var(--color-text);
  border-color: var(--color-border);
  background: rgb(224 232 240 / 75%);
  backdrop-filter: blur(8px);
}

.hero .btn--ghost:hover {
  background: var(--color-bg-content);
  border-color: rgba(64, 82, 102, 0.22);
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--color-bg-block);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary-light);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* ---- Services ---- */
.services__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.services__grid::-webkit-scrollbar {
  display: none;
}

.service-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-bg-content);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  padding: 18px 10px 0 18px;
}

.service-card__desc {
  flex: 0 0 auto;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0 10px 14px 18px;
}

.service-card__visual {
  flex: 1 1 auto;
  aspect-ratio: 16 / 9;
  min-height: 140px;
  overflow: hidden;
  background: rgba(99, 102, 241, 0.1);
  border-bottom: 1px solid var(--color-border);
}

.service-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card__visual img {
  transform: scale(1.04);
}

.services__carousel {
  position: relative;
  padding: 0 48px;
}

.services__carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.services__carousel-btn svg {
  width: 18px;
  height: 18px;
}

.services__carousel-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-light);
}

.services__carousel-btn--prev { left: 0; }
.services__carousel-btn--next { right: 0; }

.services__dots {
  display: none;
}

/* ---- Sectors ---- */
.sectors__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.sector-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px 8px 10px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: default;
}

.sector-tag__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--color-primary-light);
}

.sector-tag__icon svg {
  width: 19px;
  height: 19px;
  display: block;
}

.sector-tag:hover {
  border-color: var(--color-primary);
  background: rgba(99, 102, 241, 0.08);
  color: var(--color-primary);
}

.sector-tag:hover .sector-tag__icon {
  color: var(--color-primary);
}

/* ---- Process ---- */
.process__timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.process__step {
  display: flex;
  gap: 32px;
  padding-bottom: 48px;
  position: relative;
}

.process__step:last-child { padding-bottom: 0; }

.process__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--color-primary-light);
  position: relative;
  z-index: 1;
}

.process__content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process__content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---- Contact ---- */
.section--contact {
  background: var(--color-bg-block-alt);
}

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

.contact__desc {
  color: var(--color-text-muted);
  margin: 16px 0 32px;
  font-size: 1.05rem;
}

.contact__details li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact__details svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary-light);
  flex-shrink: 0;
}

.contact__form {
  background: var(--color-bg-content);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form__group {
  margin-bottom: 20px;
}

.form__group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--color-bg-input);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.form__group select {
  cursor: pointer;
  appearance: none;
  background-color: var(--color-bg-input);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a6078' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form__group textarea {
  resize: vertical;
  min-height: 100px;
}

.form__error {
  display: block;
  color: #f87171;
  font-size: 0.8rem;
  margin-top: 6px;
  min-height: 0;
}

.form__error:empty {
  display: none;
}

/* ---- Modal ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(40 52 64 / 75%);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.modal__close:hover {
  background: var(--color-hover);
  color: var(--color-text);
}

.modal__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal__icon--success {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
}

.modal__icon--error {
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
}

.modal__icon-svg {
  width: 28px;
  height: 28px;
}

.modal__icon-svg--error {
  display: none;
}

.modal__icon--error .modal__icon-svg--success {
  display: none;
}

.modal__icon--error .modal__icon-svg--error {
  display: block;
}

.modal__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.modal__text {
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal__btn {
  min-width: 140px;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---- Legal pages ---- */
.legal-page {
  padding: calc(var(--header-height) + 48px) 0 80px;
}

.legal-page__header {
  margin-bottom: 48px;
  max-width: 720px;
}

.legal-page__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.legal-page__updated {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

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

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 40px 0 16px;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--color-primary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

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

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

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: 24px;
  text-align: center;
}

.footer__bottom p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* ---- Reveal animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero {
    padding: var(--header-height) 0 0;
    background: var(--color-bg);
  }

  .hero__media {
    aspect-ratio: 1152 / 864;
  }

  .hero__media-image {
    object-fit: contain;
  }

  .hero__screen {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    margin: 0;
    padding: 32px 15px 56px;
    pointer-events: auto;
    background: var(--color-bg);
  }

  .hero__screen-ui {
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
  }

  .hero__screen-ui::before,
  .hero__screen-ui::after {
    display: none;
  }

  .hero__screen .hero__title {
    font-size: clamp(1.65rem, 6vw, 2.25rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--color-text);
    text-shadow: none;
  }

  .hero__screen .hero__subtitle {
    font-size: 1rem;
    max-width: none;
    margin-bottom: 28px;
    line-height: 1.6;
    color: var(--color-text-muted);
  }

  .hero__screen .hero__actions {
    gap: 16px;
    justify-content: flex-start;
  }

  .hero__screen .hero__actions .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .hero__screen .btn--primary {
    background: var(--color-nav);
    color: var(--color-nav-text);
    box-shadow: 0 4px 20px rgba(64, 82, 102, 0.25);
  }

  .hero__screen .btn--ghost {
    color: var(--color-text);
    border-color: var(--color-border);
    background: transparent;
    backdrop-filter: none;
  }

  .hero__screen .btn--ghost:hover {
    background: var(--color-hover);
    border-color: rgba(64, 82, 102, 0.22);
  }

  .hero__content {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    max-width: 100%;
    margin: 0;
    padding: 32px 15px 56px 15px;
    overflow: visible;
    background: var(--color-bg);
  }

  .hero__overlay {
    display: none;
  }

  .hero__title {
    font-size: clamp(1.65rem, 6vw, 2.25rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--color-text);
  }

  .hero__subtitle {
    font-size: 1rem;
    max-width: none;
    margin-bottom: 28px;
    line-height: 1.6;
    color: var(--color-text-muted);
  }

  .hero .btn--ghost {
    color: var(--color-text);
    border-color: var(--color-border);
    background: transparent;
    backdrop-filter: none;
  }

  .hero .btn--ghost:hover {
    background: var(--color-hover);
    border-color: rgba(64, 82, 102, 0.22);
  }

  .hero__actions {
    gap: 16px;
    justify-content: flex-start;
  }

  .hero__actions .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .contact__wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .nav__toggle {
    display: flex;
    position: relative;
    z-index: 1102;
  }

  .nav__menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100vw;
    max-width: none;
    height: calc(100dvh - var(--header-height));
    margin: 0;
    padding: 32px 24px calc(32px + env(safe-area-inset-bottom, 0px));
    background: var(--color-surface);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 1101;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    list-style: none;
  }

  .nav__menu.open {
    transform: translateX(0);
  }

  .nav__menu li {
    width: 100%;
    max-width: 320px;
    display: flex;
    justify-content: center;
  }

  .nav__link {
    font-size: 1.2rem;
    padding: 14px 24px;
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 16px;
  }

  .services__carousel {
    margin: 0 -24px;
    padding: 0 24px;
  }

  .services__grid {
    grid-auto-columns: calc(100% - 8px);
    gap: 12px;
  }

  .service-card {
    scroll-snap-align: center;
    overflow: hidden;
    height: 100%;
    min-height: 420px;
  }

  .service-card__visual {
    width: 100%;
    height: 220px;
    min-height: 220px;
    aspect-ratio: auto;
    max-height: none;
    flex: 0 0 auto;
  }

  .service-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .service-card__title {
    padding: 18px 12px 0 18px;
    font-size: 1.15rem;
    margin-bottom: 8px;
  }

  .service-card__desc {
    padding: 0 12px 18px 18px;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .service-card:hover {
    transform: none;
    box-shadow: none;
  }

  .service-card:hover .service-card__visual img {
    transform: none;
  }

  .services__carousel-btn {
    top: 110px;
    width: 36px;
    height: 36px;
  }

  .services__carousel-btn--prev { left: 4px; }
  .services__carousel-btn--next { right: 4px; }

  .services__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }

  .services__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(64, 82, 102, 0.2);
    cursor: pointer;
    transition: var(--transition);
  }

  .services__dot.active {
    background: var(--color-primary);
    transform: scale(1.15);
  }
}

@media (max-width: 768px) {
  .nav__logo-img {
    height: 56px;
    max-width: 280px;
  }

  .sectors__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-content: stretch;
  }

  .sector-tag {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    line-height: 1.25;
    min-height: 76px;
  }

  .sector-tag__icon {
    width: 22px;
    height: 22px;
  }

  .sector-tag__icon svg {
    width: 15px;
    height: 15px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact__form {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .sectors__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .sector-tag {
    min-height: 72px;
    padding: 10px 6px;
    font-size: 0.72rem;
  }

  .sector-tag__icon {
    width: 20px;
    height: 20px;
  }

  .sector-tag__icon svg {
    width: 13px;
    height: 13px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}
