:root {
    --bg: #f5efe4;
    --paper: #fffaf2;
    --text: #24170f;
    --muted: #6e5a4c;
    --line: rgba(36, 23, 15, 0.12);
    --accent: #d65a31;
    --accent-2: #f0b429;
    --shadow: 0 18px 50px rgba(74, 40, 14, 0.12);
    --container: 1180px;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html,
  body {
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background:
      radial-gradient(circle at top left, rgba(214, 90, 49, 0.08), transparent 24%),
      radial-gradient(circle at 85% 10%, rgba(240, 180, 41, 0.08), transparent 20%),
      linear-gradient(180deg, #f7f1e7 0%, #f3eadc 100%);
  }
  
  img {
    display: block;
    width: 100%;
    height: auto;
  }
  
  button,
  input,
  textarea {
    font: inherit;
  }
  
  .container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
  }
  
  .hero {
    min-height: 100vh;
    width: 100%;
    padding: 0;
  }
  
  .hero__shell {
    width: 100%;
    min-height: 100vh;
    background: rgba(255, 250, 242, 0.88);
    overflow: hidden;
  }
  
  .hero__topbar {
    min-height: 86px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.45);
  }
  
  .hero__topbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 86px;
  }
  
  .brand {
    display: flex;
    align-items: center;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  
  .brand--center {
    justify-content: center;
    width: 100%;
    font-size: 28px;
  }

  .brand__logo {
    display: block;
    max-width: 260px;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  
  .hero__layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    min-height: calc(100vh - 86px);
    max-height: calc(100vh - 86px);
  }
  
  .hero__content {
    padding: 34px 54px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--line);
    background:
      radial-gradient(circle at left top, rgba(214, 90, 49, 0.06), transparent 28%),
      rgba(255, 250, 242, 0.3);
  }
  
  .hero__content > * {
    max-width: 560px;
  }
  
  .hero h1 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 0.94;
    letter-spacing: -0.05em;
  }
  
  .hero h1 span {
    color: var(--accent);
  }
  
  .hero__lead {
    margin: 22px 0 0;
    font-size: 18px;
    line-height: 1.78;
    color: var(--muted);
  }
  
  .hero__actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
  }
  
  .btn {
    border: 0;
    border-radius: 16px;
    padding: 15px 22px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }
  
  .btn:hover {
    transform: translateY(-2px);
  }
  
  .btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 14px 30px rgba(214, 90, 49, 0.22);
  }
  
  .btn--contact {
    position: relative;
    overflow: hidden;
    animation: contactPulse 2.4s ease-in-out infinite;
  }
  
  .btn--contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    transform: skewX(-20deg);
    animation: contactShine 2.8s ease-in-out infinite;
  }
  
  .hero__points {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
  }
  
  .hero__points li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
    line-height: 1.65;
    font-size: 15px;
  }
  
  .hero__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(214, 90, 49, 0.10);
  }
  
  .hero__slider {
    padding: 36px 24px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.18)),
      linear-gradient(135deg, rgba(79, 124, 255, 0.06), rgba(240, 180, 41, 0.10));
  }
  
  .phone-showcase {
    position: relative;
    width: 100%;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 18px;
  }
  
  .phone {
    position: relative;
    width: 360px;
    height: 650px;
    border-radius: 40px;
    padding: 9px;
    background: linear-gradient(180deg, #2d3238 0%, #0f1216 100%);
    box-shadow:
      0 30px 60px rgba(25, 16, 10, 0.18),
      inset 0 0 0 1px rgba(255,255,255,0.10);
    z-index: 2;
  }
  
  .phone__frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 36px;
    background: #0a0b0e;
    padding: 12px;
    overflow: hidden;
  }
  
  .phone__top {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 122px;
    height: 26px;
    border-radius: 0 0 18px 18px;
    background: #0a0b0e;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  
  .phone__camera {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #2f3950 0%, #11151d 70%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  }
  
  .phone__speaker {
    width: 46px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
  }
  
  .phone__screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: #d7d7d7;
  }
  
  .phone-shadow {
    width: 260px;
    height: 30px;
    margin-top: 10px;
    background: rgba(47, 21, 8, 0.12);
    filter: blur(16px);
    border-radius: 999px;
  }
  
  .slider {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }
  
  .slide.active {
    opacity: 1;
    visibility: visible;
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .slider__nav {
    position: absolute;
    top: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255, 255, 255, 0.18);
    color: white;
    display: grid;
    place-items: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 6;
    backdrop-filter: blur(6px);
  }
  
  .slider__nav--prev {
    right: 64px;
  }
  
  .slider__nav--next {
    right: 16px;
  }
  
  .project-meta {
    width: 100%;
    max-width: 500px;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }
  
  .slider__dots {
    display: flex;
    gap: 8px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: rgba(36, 23, 15, 0.18);
  }
  
  .dot.active {
    background: var(--accent);
  }
  
  .project-copy h3 {
    margin: 0 0 6px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
  }
  
  .project-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
  }
  
  .modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
  }
  
  .modal.is-open {
    display: block;
  }
  
  .modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 14, 10, 0.44);
    backdrop-filter: blur(8px);
  }
  
  .modal__dialog {
    position: relative;
    width: min(560px, calc(100% - 24px));
    margin: 8vh auto 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 24px 64px rgba(36, 23, 15, 0.18);
    padding: 28px;
    z-index: 2;
  }
  
  .modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.55);
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
  }
  
  .modal__dialog h2 {
    margin: 0 0 10px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 34px;
    letter-spacing: -0.03em;
  }
  
  .modal__text {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.7;
  }
  
  .contact-form {
    display: grid;
    gap: 16px;
  }
  
  .form-group {
    display: grid;
    gap: 8px;
  }
  
  .form-group label {
    font-size: 14px;
    color: var(--muted);
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text);
    outline: none;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    border-color: rgba(214, 90, 49, 0.5);
    box-shadow: 0 0 0 4px rgba(214, 90, 49, 0.10);
  }
  
  .form-group textarea {
    min-height: 150px;
    resize: vertical;
  }
  
  @keyframes contactPulse {
    0% {
      transform: translateY(0);
      box-shadow: 0 14px 30px rgba(214, 90, 49, 0.22);
    }
    50% {
      transform: translateY(-1px);
      box-shadow: 0 18px 36px rgba(214, 90, 49, 0.30);
    }
    100% {
      transform: translateY(0);
      box-shadow: 0 14px 30px rgba(214, 90, 49, 0.22);
    }
  }
  
  @keyframes contactShine {
    0% {
      left: -120%;
    }
    100% {
      left: 140%;
    }
  }
  
  @media (max-width: 1100px) {
    .hero__layout {
      grid-template-columns: 1fr;
      min-height: auto;
      max-height: none;
    }
  
    .hero__content {
      border-right: 0;
      border-bottom: 1px solid var(--line);
      padding: 28px 24px 30px;
    }
  
    .hero__slider {
      padding-top: 18px;
    }
  }
  
  @media (max-width: 720px) {
    .brand--center {
      font-size: 22px;
    }
  
    .hero__content {
      padding: 24px 20px 30px;
    }
  
    .hero__slider {
      padding: 20px 8px 28px;
    }
  
    .phone {
      width: 300px;
      height: 540px;
    }
  
    .project-meta {
      max-width: 320px;
    }
  
    .project-copy h3 {
      font-size: 22px;
    }
  
    .modal__dialog {
      margin-top: 4vh;
      padding: 22px;
    }
  }

  .form-status {
    margin-top: 12px;
  }
  
  .form-status__message {
    display: inline-block;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
  }

  .form-status {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid var(--line);
  }
  
  .form-status--success {
    background: rgba(72, 163, 104, 0.10);
    color: #2f6b43;
    border-color: rgba(72, 163, 104, 0.22);
  }
  
  .form-status--empty,
  .form-status--invalid_email,
  .form-status--too_long,
  .form-status--error {
    background: rgba(214, 90, 49, 0.10);
    color: #9b3d1f;
    border-color: rgba(214, 90, 49, 0.20);
  }
  
  .form-status__message {
    display: block;
  }

  .site-footer {
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.35);
    padding: 18px 0;
  }
  
  .site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }
  
  .site-footer__left,
  .site-footer__right a {
    font-size: 14px;
    color: var(--muted);
  }
  
  .site-footer__right a {
    transition: color 0.2s ease;
  }
  
  .site-footer__right a:hover {
    color: var(--accent);
  }
  
  @media (max-width: 640px) {
    .site-footer__inner {
      justify-content: center;
      text-align: center;
    }
  }