﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css');
:root {
      --bg: #fffaf5; --ink: #241544; --muted: #655780; --line: rgba(36, 21, 68, 0.1); --white: #ffffff;
      --orange: #ef7444; --orange-soft: #ffe6d7; --violet: #7448f2; --violet-soft: #efe7ff; --pink: #ff5aa6;
      --shadow: 0 24px 54px rgba(86, 60, 126, 0.14); --container: 1220px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0; font-family: "Montserrat", "Segoe UI", sans-serif; color: var(--ink); line-height: 1.6;
      background:
        radial-gradient(circle at top left, rgba(239, 116, 68, 0.14), transparent 32%),
        radial-gradient(circle at top right, rgba(116, 72, 242, 0.12), transparent 28%),
        linear-gradient(180deg, #fff8f2 0%, #fffdfb 44%, #fff7fc 100%);
    }
    a { color: inherit; text-decoration: none; }
    h1, h2, h3 { margin: 0; line-height: 1.05; text-wrap: balance; overflow-wrap: break-word; }
    .container { width: min(var(--container), calc(100% - 30px)); margin: 0 auto; }
    .reveal { opacity: 0; transform: translateY(26px); animation: revealUp 0.8s ease forwards; }
    .delay-1 { animation-delay: 0.08s; } .delay-2 { animation-delay: 0.16s; } .delay-3 { animation-delay: 0.24s; } .delay-4 { animation-delay: 0.32s; } .delay-5 { animation-delay: 0.4s; }
    @keyframes revealUp { to { opacity: 1; transform: translateY(0); } }
    .site-header { padding: 0 0 8px; z-index: 80; }
    .header-shell {
      display: grid; grid-template-columns: auto 1fr auto auto; gap: 18px; align-items: center;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 249, 244, 0.88));
      backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, 0.92); border-radius: 0 0 28px 28px; padding: 14px 18px; box-shadow: var(--shadow);
    }
    .brand { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
    .brand-mark {
      width: 50px; height: 50px; border-radius: 18px; display: grid; place-items: center; overflow: hidden;
      background: transparent; border: 0; box-shadow: none;
    }
    .brand-logo { width: 100%; height: 100%; object-fit: cover; display: block; }
    .nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
    .nav a { padding: 10px 14px; border-radius: 999px; color: var(--muted); font-weight: 700; transition: 0.2s ease; }
    .nav a:hover { background: rgba(127, 69, 255, 0.08); color: var(--ink); }
    .header-meta { display: flex; align-items: center; gap: 16px; justify-self: end; }
    .header-phone {
      display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px;
      background: rgba(255,255,255,0.74); border: 1px solid rgba(36, 21, 68, 0.08); font-size: 14px; font-weight: 700; color: var(--ink);
    }
    .header-phone small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; }
    .desktop-cta { justify-self: end; }
    .mobile-menu { display: none; justify-self: end; }
    .mobile-toggle {
      display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
      border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.9); cursor: pointer; color: var(--ink);
      box-shadow: 0 10px 24px rgba(86, 60, 126, 0.08);
    }
    .mobile-toggle.is-open { background: linear-gradient(135deg, rgba(239, 116, 68, 0.08), rgba(116, 72, 242, 0.08)); }
    .mobile-backdrop {
      position: fixed; inset: 0; background: rgba(36, 21, 68, 0.34); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.22s ease; z-index: 88;
    }
    .mobile-backdrop.is-open { opacity: 1; pointer-events: auto; }
    .mobile-sheet {
      position: fixed; right: 15px; top: 88px; width: min(340px, calc(100vw - 30px)); padding: 16px;
      border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.92); background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,249,245,0.96));
      box-shadow: var(--shadow); display: grid; gap: 10px; z-index: 89; opacity: 0; transform: translateY(-10px) scale(0.98); pointer-events: none; transition: opacity 0.22s ease, transform 0.22s ease;
    }
    .mobile-sheet.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
    .mobile-sheet a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; color: var(--ink); font-weight: 700; }
    .mobile-sheet a:hover { background: rgba(116, 72, 242, 0.06); }
    .mobile-sheet .pill-button { width: 100%; margin-top: 6px; color: #fff; gap: 14px; }
    .pill-button, .outline-button, .footer-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 0; font-weight: 800; transition: transform 0.2s ease; }
    .pill-button:hover, .outline-button:hover, .footer-button:hover { transform: translateY(-2px); }
    .pill-button { color: #fff; background: linear-gradient(135deg, #ef7444 0%, #ff7a6c 45%, #7d56f3 100%); box-shadow: 0 18px 30px rgba(122, 87, 187, 0.22); }
    .outline-button, .footer-button { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.88); color: var(--ink); }
    .hero { padding: 22px 0 34px; }
    .hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: stretch; }
    .panel, .feature, .service, .portfolio, .footer-card { border-radius: 30px; box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, 0.92); overflow: hidden; }
    .hero-copy {
      background: rgba(255,255,255,0.97); padding: 34px; position: relative; min-height: 520px;
      display: flex; flex-direction: column; justify-content: space-between;
      border: 1px solid var(--line);
    }
    .hero-copy::before {
      display: none;
    }
    .hero-copy::after { display: none; }
    .label {
      display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 10px 14px; border-radius: 999px;
      background: rgba(255,255,255,0.92);
      color: #111111; font-size: 14px; font-weight: 800; margin-bottom: 14px;
      border: 1px solid rgba(17, 17, 17, 0.12);
      box-shadow: 0 10px 22px rgba(36, 21, 68, 0.06);
    }
    .label i { color: #111111; font-size: 15px; }
    .hero-copy > * { position: relative; z-index: 1; }
    .hero h1 { margin: 18px 0 16px; font-size: clamp(36px, 5vw, 64px); line-height: 0.96; letter-spacing: -0.05em; max-width: 640px; }
    .nowrap { white-space: nowrap; }
    .hero p { margin: 0; max-width: 620px; font-size: 18px; color: var(--muted); }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
    .hero-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.1fr 0.9fr 0.85fr; gap: 18px; min-height: 520px; }
    .mosaic-card { padding: 24px; border-radius: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
    .mosaic-card h3, .section-title h2, .feature h3, .service h3, .portfolio h3, .footer-card h3 { margin: 0 0 10px; }
    .mosaic-card p, .section-title p, .feature p, .service p, .portfolio p, .footer-card p, footer p { margin: 0; }
    .mosaic-card.large { grid-column: 1 / 3; background: linear-gradient(150deg, #2d1b55 0%, #5a34b1 58%, #8060f3 100%); color: #fff; }
    .mosaic-card.orange { background: linear-gradient(150deg, #ef7444 0%, #ff9166 100%); color: #fff; }
    .mosaic-card.soft { background: linear-gradient(160deg, rgba(255,255,255,0.95), rgba(244,237,255,0.96)); color: var(--ink); border: 1px solid var(--line); }
    .mosaic-card::after { content: ""; position: absolute; inset: auto -30px -30px auto; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
    .mosaic-card.large p, .mosaic-card.orange p { color: rgba(255, 255, 255, 0.94); }
    .mosaic-card.large h3, .mosaic-card.orange h3 { text-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); }
    .metric-line { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
    .metric-line span { padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.16); font-size: 13px; font-weight: 700; }
    .metric-line.dark-chips span { background: rgba(255,255,255,0.18); color: #fff; }
    .section { padding: 12px 0 30px; }
    .section-title { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end; margin-bottom: 20px; }
    .section-title h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.02; letter-spacing: -0.04em; }
    .section-title p { color: var(--muted); max-width: 520px; }
    .features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .feature {
      padding: 28px; background: rgba(255,255,255,0.98);
      position: relative; min-height: 100%; display: flex; flex-direction: column;
    }
    .feature::before {
      content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
      background: linear-gradient(90deg, rgba(239, 116, 68, 0.9), rgba(116, 72, 242, 0.85));
    }
    .feature.highlight { background: rgba(255,255,255,0.98); }
    .feature.violet { background: rgba(255,255,255,0.98); }
    .feature-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
    .feature-pill {
      display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
      background: rgba(36, 21, 68, 0.05); color: var(--muted); font-size: 13px; font-weight: 800; white-space: nowrap;
    }
    .feature p { margin-bottom: 16px; }
    .feature-note {
      margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(36, 21, 68, 0.08);
      color: var(--ink); font-size: 14px; font-weight: 700;
    }
    .icon { width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 18px; color: var(--ink); background: linear-gradient(135deg, var(--orange-soft), var(--violet-soft)); }
    .icon i { font-size: 26px; }
    .services-minimal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
    .service {
      padding: 24px; background: rgba(255,255,255,0.82);
      position: relative; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
      border: 1px solid rgba(36, 21, 68, 0.08);
      box-shadow: 0 16px 34px rgba(86, 60, 126, 0.08);
    }
    .service:hover { transform: translateY(-2px); box-shadow: 0 22px 40px rgba(86, 60, 126, 0.11); border-color: rgba(116, 72, 242, 0.14); }
    .service::before {
      content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
      background: linear-gradient(90deg, rgba(239, 116, 68, 0.82), rgba(116, 72, 242, 0.78));
    }
    .service p { color: var(--muted); }
    .service-minimal-card h3 { margin-bottom: 10px; }
    .service-minimal-card { min-height: 100%; display: flex; flex-direction: column; }
    .service-minimal-top {
      display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
      color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
    }
    .service-minimal-top i {
      width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px;
      background: rgba(116, 72, 242, 0.08); color: var(--violet); font-size: 18px;
    }
    .service-minimal-meta {
      margin-top: auto; padding-top: 16px; color: var(--ink); font-size: 13px; font-weight: 700;
      border-top: 1px solid rgba(36, 21, 68, 0.08);
    }
    .portfolio-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
    .portfolio { padding: 22px; background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,249,252,0.92)); }
    .portfolio-visual {
      height: 220px; border-radius: 24px; margin-bottom: 16px; position: relative; overflow: hidden; border: 1px solid rgba(127, 69, 255, 0.14);
      background: linear-gradient(140deg, rgba(239,116,68,0.18), rgba(116,72,242,0.16), rgba(255,255,255,0.84));
    }
    .portfolio-visual::before, .portfolio-visual::after { content: ""; position: absolute; background: rgba(255,255,255,0.86); border-radius: 18px; box-shadow: 0 16px 30px rgba(95, 58, 138, 0.12); }
    .portfolio-visual::before { inset: 18px 20px 76px; }
    .portfolio-visual::after { inset: auto 22px 22px; height: 32px; }
    .portfolio-label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(116, 72, 242, 0.08); color: var(--violet); font-size: 13px; font-weight: 800; margin-bottom: 14px; }
    .chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
    .chip-row span { padding: 8px 12px; border-radius: 999px; background: rgba(127, 69, 255, 0.08); color: var(--violet); font-size: 13px; font-weight: 800; }
    .contact-section { padding-top: 4px; }
    .contact-shell {
      display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 20px;
      padding: 24px; border-radius: 34px; border: 1px solid rgba(255,255,255,0.92);
      background:
        linear-gradient(135deg, rgba(46, 26, 86, 0.98), rgba(85, 49, 145, 0.94)),
        radial-gradient(circle at top right, rgba(239, 116, 68, 0.16), transparent 28%);
      box-shadow: 0 26px 64px rgba(57, 34, 96, 0.24);
      color: #fff;
    }
    .contact-copy {
      padding: 14px 6px 14px 6px; display: flex; flex-direction: column; justify-content: center;
    }
    .contact-copy h2 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.04em; margin-bottom: 14px; }
    .contact-copy p { color: rgba(255,255,255,0.78); max-width: 520px; }
    .contact-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
    .contact-points span {
      display: inline-flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 999px;
      background: rgba(255,255,255,0.1); color: #fff; font-weight: 700;
    }
    .contact-points i { color: #ffb08f; }
    .contact-form-card {
      padding: 30px; border-radius: 30px; background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,248,243,0.96));
      border: 1px solid rgba(255,255,255,0.94); box-shadow: 0 20px 44px rgba(44, 24, 78, 0.18);
    }
    footer { padding: 8px 0 42px; }
    .footer-shell {
      color: var(--ink);
    }
    .footer-compact {
      padding: 26px;
      border-radius: 30px;
      background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,248,243,0.94));
      border: 1px solid rgba(36, 21, 68, 0.08);
      box-shadow: 0 22px 48px rgba(86, 60, 126, 0.1);
    }
    .footer-compact-main {
      display: grid;
      gap: 14px;
    }
    .footer-brand {
      display: inline-flex; align-items: center; gap: 14px; width: fit-content;
      font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink);
    }
    .footer-tagline {
      margin: 0;
      max-width: 760px;
      color: var(--muted);
      font-size: 15px;
    }
    .footer-inline-links,
    .footer-contact-line {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .footer-inline-links a,
    .footer-contact-line a {
      display: inline-flex;
      align-items: center;
      color: var(--ink);
      font-size: 14px;
      font-weight: 700;
      transition: color 0.2s ease, opacity 0.2s ease;
    }
    .footer-inline-links a:hover,
    .footer-contact-line a:hover {
      color: var(--violet);
    }
    .footer-documents {
      margin-top: 20px;
      padding-top: 18px;
      border-top: 1px solid rgba(36, 21, 68, 0.08);
    }
    .footer-inline-links-docs a {
      color: var(--muted);
    }
    .contact-list-grid { display: grid; gap: 12px; margin-top: 18px; }
    .contact-link {
      display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px;
      background: rgba(255,255,255,0.72); border: 1px solid rgba(36, 21, 68, 0.08); font-weight: 700;
    }
    .contact-link i { color: var(--violet); font-size: 20px; }
    .contact-link span { color: var(--ink); }
    .contact-link small { display: block; color: var(--muted); font-weight: 600; }
    .social-badge { width: 24px; height: 24px; object-fit: contain; flex: 0 0 24px; }
    .contact-form { display: grid; gap: 18px; margin-top: 22px; }
    .field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .field { display: grid; gap: 6px; }
    .field span { color: var(--muted); font-size: 14px; font-weight: 700; }
    .field input, .field textarea {
      width: 100%; border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; padding: 16px 18px;
      font: inherit; color: var(--ink); background: rgba(255,255,255,0.97); outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .field input:focus, .field textarea:focus { border-color: rgba(116, 72, 242, 0.42); box-shadow: 0 0 0 4px rgba(116, 72, 242, 0.08); }
    .field textarea { min-height: 180px; resize: vertical; }
    .consent-check {
      display: grid;
      grid-template-columns: 18px minmax(0, 1fr);
      gap: 12px;
      align-items: start;
      padding: 0;
      border-radius: 0;
      background: transparent;
      border: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.5;
    }
    .consent-check span {
      padding: 14px 16px;
      border-radius: 18px;
      background: rgba(255,255,255,0.98);
      border: 1px solid rgba(36, 21, 68, 0.08);
    }
    .consent-check input {
      margin: 3px 0 0;
      width: 18px;
      height: 18px;
      accent-color: var(--violet);
    }
    .consent-check a {
      color: var(--ink);
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
    .form-actions .pill-button { min-width: 230px; padding: 18px 32px; font-size: 16px; }
    .form-note { color: var(--muted); font-size: 14px; max-width: 360px; }
    .footer-bottom {
      margin-top: 18px; padding: 16px 0 0; border-radius: 0; background: transparent; border: 0;
      border-top: 1px solid rgba(36, 21, 68, 0.08);
      box-shadow: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted);
    }
    .footer-bottom-copy { display: grid; gap: 6px; }
    .footer-bottom-copy strong { color: var(--ink); font-size: 15px; }
    .footer-bottom-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 9px 14px 9px 10px;
      border-radius: 999px;
      background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,250,247,0.86));
      border: 1px solid rgba(36, 21, 68, 0.07);
      white-space: nowrap;
      color: var(--ink);
      font-weight: 600;
      font-size: 13px;
      letter-spacing: -0.01em;
      box-shadow: 0 10px 24px rgba(86, 60, 126, 0.06);
      transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }
    .footer-bottom-link span {
      opacity: 0.9;
    }
    .footer-bottom-logo {
      width: 24px;
      height: 24px;
      object-fit: contain;
      flex: 0 0 24px;
      border-radius: 999px;
    }
    .footer-bottom-link:hover {
      border-color: rgba(239, 116, 68, 0.18);
      background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,244,238,0.94));
      box-shadow: 0 14px 28px rgba(86, 60, 126, 0.1);
      transform: translateY(-1px);
    }
    .cookie-banner {
      position: fixed;
      left: 20px;
      bottom: 20px;
      width: min(420px, calc(100vw - 104px));
      display: grid;
      gap: 14px;
      padding: 20px;
      border-radius: 24px;
      border: 1px solid rgba(255,255,255,0.94);
      background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(250,246,255,0.98));
      box-shadow: 0 24px 56px rgba(59, 39, 95, 0.16);
      z-index: 91;
    }
    .cookie-banner[hidden] {
      display: none;
    }
    .cookie-banner-copy {
      display: grid;
      gap: 8px;
    }
    .cookie-banner-copy h3 {
      margin: 0;
      color: var(--ink);
      font-size: 20px;
      letter-spacing: -0.03em;
    }
    .cookie-banner-copy p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.55;
    }
    .cookie-banner-actions {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 12px;
    }
    .cookie-banner-link {
      color: var(--muted);
      font-weight: 700;
      font-size: 14px;
    }
    .cookie-accept-button {
      min-width: 148px;
      width: auto;
      padding: 12px 18px;
    }
    .cookie-banner-open .chat-fab {
      bottom: 34px;
    }
    @media (min-width: 641px) {
      .cookie-banner-open .chat-fab {
        bottom: 190px;
      }
    }
    .chat-fab {
      position: fixed; right: 20px; bottom: 20px; width: 64px; height: 64px; border: 0; border-radius: 22px;
      display: inline-flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; z-index: 85;
      background: linear-gradient(135deg, #ef7444 0%, #7d56f3 100%); box-shadow: 0 18px 34px rgba(101, 71, 170, 0.3);
    }
    .chat-fab i { font-size: 28px; }
    .modal-backdrop {
      position: fixed; inset: 0; background: rgba(27, 18, 50, 0.42); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity 0.22s ease; z-index: 94;
    }
    .modal-backdrop.is-open { opacity: 1; pointer-events: auto; }
    .contact-modal {
      position: fixed; left: 50%; top: 50%; width: min(460px, calc(100vw - 30px)); padding: 28px; border-radius: 30px;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.99), rgba(255,247,242,0.97)),
        radial-gradient(circle at top right, rgba(116, 72, 242, 0.08), transparent 24%);
      border: 1px solid rgba(255,255,255,0.94);
      box-shadow: 0 30px 80px rgba(59, 39, 95, 0.22); z-index: 95; opacity: 0; transform: translate(-50%, -46%) scale(0.98); pointer-events: none; transition: opacity 0.22s ease, transform 0.22s ease;
    }
    .contact-modal.is-open { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
    .modal-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
    .modal-intro { display: flex; align-items: flex-start; gap: 14px; }
    .modal-icon {
      width: 52px; height: 52px; border-radius: 18px; flex: 0 0 52px; display: grid; place-items: center;
      background: linear-gradient(135deg, rgba(239,116,68,0.16), rgba(116,72,242,0.16)); color: var(--violet);
      box-shadow: 0 14px 28px rgba(103, 73, 167, 0.14);
    }
    .modal-icon i { font-size: 22px; }
    .modal-close {
      width: 42px; height: 42px; border-radius: 14px; border: 1px solid rgba(36, 21, 68, 0.08); background: rgba(255,255,255,0.88);
      cursor: pointer; color: var(--ink);
    }
    .contact-modal h3 { margin-bottom: 8px; font-size: 28px; letter-spacing: -0.03em; }
    .contact-modal p { margin: 0; color: var(--muted); }
    .contact-modal .contact-link {
      background: rgba(36, 21, 68, 0.04); border: 1px solid rgba(36, 21, 68, 0.06);
    }
    .contact-modal .contact-link i { color: var(--violet); }
    .contact-modal .contact-link span { color: var(--ink); }
    .contact-modal .contact-link small { color: var(--muted); }
    .modal-contacts { display: grid; gap: 12px; margin-top: 18px; }
    .modal-preview {
      margin-top: 18px; padding: 14px 16px; border-radius: 18px; background: rgba(116, 72, 242, 0.06); color: var(--muted); font-size: 14px;
    }
    @media (max-width: 1080px) {
      .hero-grid, .features-grid, .portfolio-grid, .footer-grid, .contact-shell, .services-minimal { grid-template-columns: 1fr; }
      .section-title { grid-template-columns: 1fr; }
      .field-row { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; align-items: flex-start; }
      .header-meta { gap: 10px; }
      .footer-compact { padding: 22px; }
      .cookie-banner {
        width: min(460px, calc(100vw - 30px));
      }
    }
    @media (max-width: 820px) {
      .header-shell { grid-template-columns: auto 1fr auto; align-items: center; }
      .nav, .header-meta { display: none; }
      .mobile-menu { display: block; }
      .hero-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; min-height: auto; }
      .mosaic-card.large { grid-column: auto; }
      .hero h1 { max-width: 100%; font-size: clamp(34px, 8vw, 52px); }
      .section { padding: 8px 0 24px; }
    }
    @media (max-width: 640px) {
      .hero-copy, .feature, .service, .portfolio, .mosaic-card { padding: 20px; }
      .hero-actions { flex-direction: column; }
      .pill-button, .outline-button, .footer-button { width: 100%; }
      .hero p { font-size: 16px; }
      .metric-line { gap: 8px; }
      .metric-line span, .chip-row span { font-size: 12px; }
      .mobile-sheet { width: calc(100vw - 30px); top: 82px; }
      .feature-head { align-items: flex-start; flex-direction: column; }
      .chat-fab { right: 14px; bottom: 14px; width: 58px; height: 58px; border-radius: 20px; }
      .cookie-banner {
        left: 15px;
        right: 15px;
        bottom: 15px;
        width: auto;
        border-radius: 22px;
        padding: 16px;
      }
      .cookie-banner-actions {
        flex-direction: column;
        align-items: stretch;
      }
      .cookie-banner-link,
      .cookie-accept-button {
        width: 100%;
        text-align: center;
      }
      .cookie-banner-open .chat-fab {
        bottom: 172px;
      }
      .contact-modal { width: calc(100vw - 30px); padding: 22px; }
      .header-shell { border-radius: 0 0 22px 22px; }
      .contact-shell { padding: 18px; border-radius: 26px; }
      .contact-form-card { padding: 22px; border-radius: 24px; }
      .contact-copy { padding: 4px 2px; }
      .contact-copy h2 { font-size: 28px; }
      .contact-points span { width: 100%; justify-content: flex-start; }
      .footer-brand { font-size: 20px; }
      .form-actions .pill-button { min-width: 0; width: 100%; }
      .modal-intro { gap: 12px; }
      .modal-icon { width: 48px; height: 48px; flex-basis: 48px; border-radius: 16px; }
      .contact-modal h3 { font-size: 24px; }
      .footer-inline-links a,
      .footer-contact-line a,
      .footer-bottom-link { width: 100%; justify-content: center; }
      .footer-bottom-copy { width: 100%; }
      .footer-inline-links,
      .footer-contact-line { gap: 8px; }
      .brand-mark { width: 46px; height: 46px; border-radius: 16px; }
    }

    .nav a.is-active {
      background: rgba(127, 69, 255, 0.1);
      color: var(--ink);
    }

    .page-main {
      padding: 18px 0 48px;
    }

    .page-hero,
    .portfolio-detail-hero,
    .legal-card,
    .portfolio-empty,
    .portfolio-detail-card {
      border-radius: 30px;
      box-shadow: var(--shadow);
      border: 1px solid rgba(255, 255, 255, 0.92);
      background: rgba(255,255,255,0.96);
    }

    .page-hero {
      padding: 34px;
      margin-bottom: 24px;
      background: linear-gradient(160deg, rgba(255,255,255,0.96), rgba(255, 242, 233, 0.94));
    }

    .page-hero h1,
    .portfolio-detail-copy h1,
    .legal-card h1 {
      margin: 18px 0 16px;
      font-size: clamp(34px, 5vw, 54px);
      letter-spacing: -0.04em;
    }

    .page-hero p,
    .portfolio-detail-copy p,
    .legal-card p,
    .legal-card li {
      color: var(--muted);
    }

    .portfolio-grid-expanded {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portfolio-link {
      display: block;
    }

    .portfolio-link:hover .portfolio-card {
      transform: translateY(-4px);
      box-shadow: 0 26px 54px rgba(86, 60, 126, 0.16);
    }

    .portfolio-card {
      min-height: 100%;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .portfolio-visual-image {
      background: #f5f0ff;
    }

    .portfolio-visual-image::before,
    .portfolio-visual-image::after {
      display: none;
    }

    .portfolio-visual-image img,
    .portfolio-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .portfolio-section-actions {
      margin-top: 20px;
      display: flex;
      justify-content: center;
    }

    .portfolio-empty {
      padding: 28px;
      text-align: center;
    }

    .portfolio-empty h3 {
      margin-bottom: 10px;
    }

    .portfolio-detail-hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
      gap: 24px;
      padding: 30px;
      margin-bottom: 24px;
      background: rgba(255,255,255,0.98);
    }

    .portfolio-detail-copy {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .portfolio-detail-copy h1 {
      margin: 14px 0 10px;
    }

    .portfolio-detail-copy p {
      margin: 0;
      line-height: 1.5;
    }

    .portfolio-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 24px;
    }

    .portfolio-cover,
    .portfolio-cover-fallback {
      min-height: 340px;
      height: 100%;
      border-radius: 26px;
      overflow: hidden;
      background: linear-gradient(140deg, rgba(239,116,68,0.18), rgba(116,72,242,0.16), rgba(255,255,255,0.84));
    }

    .portfolio-detail-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
      gap: 20px;
    }

    .portfolio-detail-card {
      padding: 28px;
    }

    .portfolio-detail-card h2,
    .legal-card h2 {
      margin: 0 0 16px;
      font-size: 24px;
      letter-spacing: -0.03em;
    }

    .portfolio-rich-text p,
    .portfolio-rich-text li {
      color: var(--muted);
    }

    .portfolio-rich-text ul,
    .legal-card ul {
      padding-left: 20px;
    }

    .portfolio-facts {
      display: grid;
      gap: 16px;
      margin: 0;
    }

    .portfolio-facts div {
      padding-bottom: 16px;
      border-bottom: 1px solid rgba(36, 21, 68, 0.08);
    }

    .portfolio-facts div:last-child {
      border-bottom: 0;
      padding-bottom: 0;
    }

    .portfolio-facts dt {
      margin-bottom: 8px;
      color: var(--muted);
      font-weight: 700;
    }

    .portfolio-facts dd {
      margin: 0;
      color: var(--ink);
      font-weight: 700;
    }

    .portfolio-site-link {
      color: var(--ink);
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 4px;
      word-break: break-word;
    }

    .portfolio-site-link:hover {
      color: var(--violet);
    }

    .project-site-modal {
      width: min(520px, calc(100vw - 30px));
    }

    .project-site-modal .modal-head {
      margin-bottom: 12px;
    }

    .project-site-modal .modal-intro {
      align-items: center;
    }

    .project-site-modal .modal-icon {
      background: linear-gradient(135deg, rgba(239,116,68,0.14), rgba(255,255,255,0.96));
      color: var(--orange);
    }

    .project-site-modal h3 {
      margin-bottom: 6px;
    }

    .project-site-meta {
      margin-bottom: 14px;
    }

    .project-site-pill {
      display: inline-flex;
      align-items: center;
      max-width: 100%;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(36, 21, 68, 0.05);
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
      line-height: 1.4;
      overflow-wrap: anywhere;
    }

    .project-site-preview {
      margin-top: 0;
      color: var(--muted);
      background: rgba(36, 21, 68, 0.04);
      border: 1px solid rgba(36, 21, 68, 0.06);
    }

    .project-site-actions {
      margin-top: 20px;
      justify-content: space-between;
      align-items: stretch;
    }

    .project-site-actions .outline-button,
    .project-site-actions .pill-button {
      min-width: 0;
      flex: 1 1 220px;
    }

    .legal-page {
      padding: 18px 0 48px;
    }

    .legal-card {
      max-width: 980px;
      margin: 0 auto;
      padding: 32px;
    }

    .legal-card .label {
      margin-bottom: 10px;
    }

    .legal-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 0 0 22px;
    }

    .legal-meta span {
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(36, 21, 68, 0.05);
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
    }

    .legal-note {
      margin: 18px 0 24px;
      padding: 16px 18px;
      border-radius: 20px;
      background: linear-gradient(135deg, rgba(116, 72, 242, 0.06), rgba(239, 116, 68, 0.08));
      border: 1px solid rgba(36, 21, 68, 0.08);
      color: var(--ink);
      font-weight: 600;
    }

    .legal-back {
      margin-top: 28px;
    }

    @media (max-width: 1080px) {
      .portfolio-grid-expanded,
      .portfolio-detail-hero,
      .portfolio-detail-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 640px) {
      .page-hero,
      .portfolio-detail-hero,
      .portfolio-empty,
      .portfolio-detail-card,
      .legal-card {
        padding: 22px;
        border-radius: 24px;
      }

      .portfolio-cover,
      .portfolio-cover-fallback {
        min-height: 240px;
      }

      .project-site-actions {
        flex-direction: column-reverse;
      }
    }

