﻿html { scroll-behavior: smooth; }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --midnight: #1d2f80;
      --midnight-deep: #14215c;
      --ocean: #2f50c3;
      --muted: #ddd5ca;
      --sea-foam: #e8f8f1;
      --mist: #eef2ff;
      --paper: #e6e7eb;
      --sand: #f3ead8;
      --ink: #141b38;
      --slate: #55607a;
      --line: #d9dfef;
      --white: #ffffff;
    }

    body {
      font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--ink);
      background:
        linear-gradient(180deg, #f2f3f5 0%, #e1e4e8 42%, #cfd4da 100%);
      line-height: 1.65;
    }

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

    .container {
      width: min(1120px, calc(100% - 2.6rem));
      margin: 0 auto;
    }

    /* Hero + nav */
    .hero {
      min-height: 100vh;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      background: #08090d;
      color: var(--white);
      isolation: isolate;
    }
    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0.52) 100%);
      mix-blend-mode: multiply;
      z-index: 1;
    }
    .hero-slides {
      position: absolute;
      inset: 0;
      z-index: 0;
    }
    .hero-slide {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transform: scale(1.04);
      transition: opacity 1.8s ease-in-out, transform 8s ease;
    }
    .hero-slide.is-active {
      opacity: 1;
      transform: scale(1);
    }
    .hero-frame {
      position: absolute;
      inset: 0;
      margin: 0.5rem;
      border: 1px solid rgba(255, 255, 255, 0.25);
      z-index: 2;
      pointer-events: none;
    }
    .hero-cycle-button {
      position: absolute;
      inset: 0;
      z-index: 2;
      border: 0;
      background: transparent;
      cursor: pointer;
      padding: 0;
      font: inherit;
    }
    nav.hero-topbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 120;
      padding: 1.2rem 1.4rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
      background: transparent;
      border: none;
      backdrop-filter: none;
    }
    .logo-disc {
      width: clamp(96px, 11vw, 142px);
      aspect-ratio: 1;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.84);
      border: 1px solid rgba(255, 255, 255, 0.7);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(10px);
      padding: 16px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
    }
    .nav-logo {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    .nav-pill {
      display: flex;
      align-items: center;
      gap: 0;
      background: rgba(8, 10, 16, 0.38);
      backdrop-filter: blur(14px);
      border: 1px solid rgba(255, 255, 255, 0.28);
      border-radius: 999px;
      padding: 0.28rem 0.28rem 0.28rem 0.2rem;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
      margin-left: auto;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 0;
    }
    .nav-link {
      color: var(--white);
      font-size: clamp(0.78rem, 0.95vw, 0.9rem);
      letter-spacing: 0.06em;
      text-transform: lowercase;
      opacity: 0.82;
      padding: 0.44rem 0.9rem;
      border-radius: 999px;
      line-height: 1;
      display: inline-flex;
      align-items: center;
      min-height: auto;
      transition: opacity 0.2s ease, background 0.2s ease;
    }
    .nav-link + .nav-link {
      border-left: 1px solid rgba(255, 255, 255, 0.22);
    }
    .nav-link:hover {
      opacity: 1;
      background: rgba(255, 255, 255, 0.08);
      color: var(--white);
    }
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .nav-cta {
      background: rgba(255, 255, 255, 0.92);
      color: #0e1420;
      opacity: 1;
      font-weight: 600;
      padding: 0.44rem 1.05rem;
      letter-spacing: 0.05em;
      line-height: 1;
      border-radius: 999px;
      border: none;
      box-shadow: none;
      font-size: clamp(0.78rem, 0.95vw, 0.9rem);
      text-transform: lowercase;
      transition: background 0.2s ease;
    }
    .nav-cta:hover {
      transform: none;
      box-shadow: none;
      background: #ffffff;
    }
    .nav-cta i {
      display: none;
    }
    .nav-menu-btn {
      display: none;
      width: 40px;
      height: 40px;
      border: 1px solid rgba(255, 255, 255, 0.34);
      border-radius: 999px;
      background: rgba(8, 10, 16, 0.5);
      color: var(--white);
      cursor: pointer;
      font: inherit;
      place-items: center;
    }
    .nav-menu-btn i { font-size: 21px; }
    .hero-headline {
      position: absolute;
      right: clamp(1.3rem, 7vw, 6rem);
      bottom: clamp(4.2rem, 15vh, 8.5rem);
      z-index: 3;
      max-width: min(620px, 86vw);
      text-align: right;
      text-shadow: 0 8px 30px rgba(0, 0, 0, 0.65);
      animation: rise-in 0.8s ease both;
    }
    .hero h1 {
      margin: 0 0 0.7rem;
      font-family: 'Cormorant Garamond', Georgia, serif;
      font-size: clamp(2.45rem, 6.2vw, 5.4rem);
      font-weight: 600;
      line-height: 0.9;
      color: var(--white);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .hero p {
      margin: 0;
      font-size: clamp(0.84rem, 1.35vw, 1.15rem);
      letter-spacing: 0.045em;
      text-transform: uppercase;
      color: var(--muted);
      line-height: 1.45;
      max-width: 52ch;
      transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .hero-headline.is-changing h1,
    .hero-headline.is-changing p {
      opacity: 0;
      transform: translateY(8px);
    }
    .hero p span {
      opacity: 0.85;
      margin: 0 0.35rem;
    }

    @media (max-width: 760px) {
      nav.hero-topbar {
        flex-wrap: nowrap;
        gap: 0.6rem;
      }
      .logo-disc {
        width: 74px;
        padding: 10px;
      }
      .nav-menu-btn {
        display: grid;
        margin-left: auto;
      }
      .nav-pill {
        position: absolute;
        top: calc(100% - 4px);
        right: 1rem;
        width: min(176px, calc(100vw - 2rem));
        display: none;
        flex-direction: column;
        align-items: stretch;
        border-radius: 18px;
        padding: 0.48rem;
        margin-left: 0;
      }
      nav.hero-topbar.menu-open .nav-pill {
        display: flex;
      }
      .nav-links {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
      }
      .nav-link,
      .nav-cta {
        width: 100%;
        justify-content: flex-start;
        min-height: 46px;
        padding: 0.86rem 0.9rem;
        border-radius: 12px;
      }
      .nav-link + .nav-link {
        border-left: none;
      }
      .nav-actions {
        width: 100%;
      }
      .hero-headline {
        right: 1.2rem;
        bottom: 3rem;
        max-width: none;
        text-align: right;
      }
      .hero h1 {
        font-size: clamp(2rem, 12vw, 3.2rem);
      }
    }

    @media (max-width: 500px) {
      .hero {
        min-height: 84vh;
      }
      .logo-disc {
        width: 66px;
        padding: 9px;
      }
      .hero-headline {
        bottom: 2.2rem;
      }
    }

    /* Sections */
    .section {
      padding: 5rem 1.5rem;
      max-width: 1120px;
      margin: 0 auto;
    }
    #gallery.section {
      max-width: 100%;
      width: 100%;
      padding-left: 0;
      padding-right: 0;
    }
    #gallery .section-label,
    #gallery h2,
    #gallery .gallery-desktop-caption {
      width: min(1120px, calc(100% - 2.6rem));
      margin-left: auto;
      margin-right: auto;
    }
    #gallery .gallery-grid {
      width: min(1120px, calc(100% - 2.6rem));
      margin-left: auto;
      margin-right: auto;
    }
    .section-label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.12em;
      color: var(--ocean);
      text-transform: uppercase;
      margin-bottom: 0.72rem;
    }
    .section h2 {
      font-family: 'Fraunces', Georgia, serif;
      font-size: clamp(28px, 4vw, 40px);
      font-weight: 700;
      margin-bottom: 2.1rem;
      color: var(--ink);
      line-height: 1.15;
    }

    .divider {
      border: none;
      border-top: 1px solid var(--line);
      max-width: 1120px;
      margin: 0 auto;
    }

    /* Services */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
    }
    .service-card {
      background: rgba(255, 255, 255, 0.75);
      border: 1px solid rgba(20, 33, 92, 0.12);
      border-radius: 18px;
      padding: 1.5rem;
      backdrop-filter: blur(2px);
      transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
    }
    .service-card:hover {
      transform: translateY(-4px);
      border-color: rgba(47, 80, 195, 0.42);
      box-shadow: 0 14px 30px rgba(20,33,92,0.12);
    }
    .service-card i {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      font-size: 22px;
      color: var(--midnight);
      margin-bottom: 0.95rem;
      background: linear-gradient(145deg, #f0f3ff, #e1e8ff);
    }
    .service-card h3 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: var(--ink);
    }
    .service-card p { font-size: 13px; color: var(--slate); line-height: 1.62; }

    /* Why us */
    .why-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
      gap: 14px;
    }
    .why-card {
      background:
        linear-gradient(180deg, rgba(255,255,255,0.9), rgba(238,242,255,0.74));
      border-radius: 16px;
      border: 1px solid rgba(23, 48, 132, 0.13);
      padding: 1.55rem;
      text-align: left;
    }
    .why-card i {
      font-size: 21px;
      color: var(--midnight);
      margin-bottom: 0.65rem;
      display: inline-flex;
    }
    .why-card strong {
      display: block;
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 0.45rem;
      color: var(--ink);
    }
    .why-card p { font-size: 13px; color: var(--slate); line-height: 1.55; }

    /* Gallery */
    .gallery-desktop {
      display: none;
    }
    .gallery-stage {
      position: relative;
      width: 100%;
      margin: 0 auto;
      border-radius: 0;
      overflow: hidden;
      border: none;
      box-shadow: none;
      aspect-ratio: 2.35 / 1;
      background: linear-gradient(145deg, #dfe7ff, #edf2ff);
    }
    .gallery-slide {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 1.35s ease;
      transform: scale(1.01);
    }
    .gallery-slide.is-active {
      opacity: 1;
    }
    .gallery-nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 46px;
      height: 46px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.52);
      background: rgba(10, 22, 62, 0.42);
      color: var(--white);
      display: grid;
      place-items: center;
      cursor: pointer;
      z-index: 2;
      transition: background 0.2s ease, transform 0.2s ease;
      backdrop-filter: blur(6px);
    }
    .gallery-nav-btn:hover {
      background: rgba(10, 22, 62, 0.62);
      transform: translateY(-50%) scale(1.04);
    }
    .gallery-nav-btn i {
      font-size: 22px;
    }
    .gallery-nav-btn.prev {
      left: 12px;
    }
    .gallery-nav-btn.next {
      right: 12px;
    }
    .gallery-desktop-caption {
      margin-top: 0.8rem;
      text-align: center;
      color: var(--slate);
      font-size: 13px;
      letter-spacing: 0.03em;
      text-transform: uppercase;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(12, minmax(0, 1fr));
      gap: 12px;
      margin-top: 1rem;
    }
    .gallery-item {
      grid-column: span 4;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid rgba(20, 33, 92, 0.14);
      box-shadow: 0 10px 24px rgba(20, 33, 92, 0.1);
      cursor: zoom-in;
      background: var(--white);
      min-height: 160px;
    }
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(9) {
      grid-column: span 6;
    }
    .gallery-item img {
      display: block;
      width: 100%;
      height: 100%;
      max-height: 280px;
      object-fit: cover;
      transition: transform 0.35s ease;
    }
    .gallery-item:hover img {
      transform: scale(1.04);
    }

    .gallery-modal {
      position: fixed;
      inset: 0;
      background: rgba(8, 14, 40, 0.88);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 1.2rem;
      z-index: 200;
    }
    .gallery-modal.open {
      display: flex;
    }
    .gallery-modal img {
      width: min(980px, 96vw);
      max-height: 88vh;
      object-fit: contain;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.25);
      box-shadow: 0 18px 50px rgba(0, 0, 0, 0.48);
      background: #0e1538;
    }
    .gallery-close {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 40px;
      height: 40px;
      border: 1px solid rgba(255, 255, 255, 0.45);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.12);
      color: var(--white);
      font-size: 20px;
      display: grid;
      place-items: center;
      cursor: pointer;
    }
    .gallery-close:hover {
      background: rgba(255, 255, 255, 0.2);
    }
    @media (min-width: 761px) {
      .gallery-desktop {
        display: block;
      }
      .gallery-grid {
        display: none;
      }
    }
    @media (max-width: 900px) {
      .gallery-item,
      .gallery-item:nth-child(1),
      .gallery-item:nth-child(6),
      .gallery-item:nth-child(9) {
        grid-column: span 6;
      }
    }
    @media (max-width: 620px) {
      #gallery .gallery-grid {
        width: calc(100% - 2rem);
      }
      .gallery-item,
      .gallery-item:nth-child(1),
      .gallery-item:nth-child(6),
      .gallery-item:nth-child(9) {
        grid-column: span 12;
      }
      .gallery-item img {
        max-height: 230px;
      }
    }

    /* Contact */
    .contact-wrap {
      background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(238,242,255,0.72));
      border-radius: 22px;
      padding: 2.1rem;
      margin-top: 1.5rem;
      border: 1px solid rgba(29,47,128,0.16);
      box-shadow: 0 14px 34px rgba(20,33,92,0.08);
    }
    .contact-methods {
      display: flex; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap;
    }
    .contact-method { display: flex; align-items: center; gap: 12px; }
    .contact-method i {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      font-size: 19px;
      color: var(--midnight);
      background: #e7ecff;
    }
    .contact-method .label {
      font-size: 11px;
      color: var(--slate);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }
    .contact-method a {
      font-size: 15px; font-weight: 600; color: var(--ink);
    }
    .contact-method a:hover { color: var(--midnight); }

    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
    @media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
    .form-group { margin-bottom: 10px; }
    .form-group label {
      font-size: 12px;
      color: var(--slate);
      display: block;
      margin-bottom: 4px;
      font-weight: 500;
    }
    .form-group input,
    .form-group textarea,
    .form-group select {
      width: 100%;
      padding: 0.67rem 0.84rem;
      font-size: 14px;
      border: 1px solid #cdd5ea;
      border-radius: 10px;
      background: rgba(255,255,255,0.95);
      color: var(--ink);
      outline: none;
      transition: border-color 0.15s, box-shadow 0.15s;
      font-family: inherit;
    }
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
      border-color: var(--ocean);
      box-shadow: 0 0 0 4px rgba(47,80,195,0.12);
    }
    .form-group textarea { height: 98px; resize: vertical; }
    .botcheck {
      display: none !important;
    }
    .submit-btn {
      width: 100%; padding: 0.8rem;
      background: linear-gradient(140deg, var(--midnight), var(--ocean));
      color: var(--white);
      border: none;
      border-radius: 12px;
      font-size: 15px; font-weight: 500; cursor: pointer;
      margin-top: 6px; font-family: inherit;
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .submit-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 10px 20px rgba(20,33,92,0.25);
    }
    .submit-btn:disabled {
      cursor: wait;
      opacity: 0.72;
      transform: none;
      box-shadow: none;
    }
    .form-status {
      min-height: 1.4em;
      margin-top: 0.75rem;
      color: var(--slate);
      font-size: 13px;
      text-align: center;
    }
    .form-status.is-error {
      color: #9f1d1d;
    }

    #thank-you { display: none; text-align: center; padding: 2.5rem 0; }
    #thank-you i {
      font-size: 40px;
      color: #0f6e5e;
      margin-bottom: 12px;
      display: block;
    }
    #thank-you h3 {
      font-family: 'Fraunces', Georgia, serif;
      font-size: 20px; font-weight: 400; margin-bottom: 8px;
    }
    #thank-you p { font-size: 15px; color: var(--slate); }

    /* Footer */
    footer {
      background:
        linear-gradient(145deg, var(--midnight-deep), #0f1746);
      color: rgba(255,255,255,0.65);
      text-align: center;
      padding: 2rem 1.5rem;
      font-size: 13px;
      margin-top: 1.5rem;
    }
    footer .footer-logo {
      height: 56px;
      width: auto;
      margin-bottom: 1rem;
      filter: brightness(0) invert(1);
      opacity: 0.9;
    }
    footer strong { color: #fff; }
    footer .sub { font-size: 12px; opacity: 0.5; margin-top: 6px; }

    /* Motion */
    @keyframes rise-in {
      from {
        opacity: 0;
        transform: translateY(18px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .hero-headline,
    .service-card,
    .why-card,
    .gallery-item,
    .contact-wrap {
      animation: rise-in 0.75s ease both;
    }

    .service-card:nth-child(2),
    .why-card:nth-child(2) { animation-delay: 0.08s; }
    .service-card:nth-child(3),
    .why-card:nth-child(3) { animation-delay: 0.16s; }
    .service-card:nth-child(4) { animation-delay: 0.24s; }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation: none !important;
        transition: none !important;
      }
    }
