﻿:root {
    --black-deep: #090a09;
    --black-soft: #11120f;
    --graphite: #181915;
    --graphite-2: #1f201b;
    --off-white: #f1eadc;
    --off-white-warm: #ece4d3;
    --text-muted: rgba(241, 234, 220, 0.64);
    --text-soft: rgba(241, 234, 220, 0.42);
    --text-faint: rgba(241, 234, 220, 0.22);
    --gold-muted: #b79a63;
    --gold-soft: #c7ae78;
    --gold-bright: #d8bf8a;
    --gold-dark: #7d6338;
    --gold-line: rgba(183, 154, 99, 0.42);
    --gold-line-soft: rgba(183, 154, 99, 0.22);
    --serif: "Cormorant Garamond", "Times New Roman", serif;
    --sans: "Manrope", system-ui, sans-serif;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--black-deep);
    color: var(--off-white);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; }

  .container { max-width: 1440px; margin: 0 auto; padding: 0 56px; }
  .eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-soft); }
  .divider { height: 1px; width: 64px; background: var(--gold-muted); }

  .glass-liquid-strong {
    background: rgba(14, 16, 16, 0.62);
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
      0 30px 90px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      inset 0 -1px 0 rgba(183, 154, 99, 0.14);
  }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 14px;
    font-family: var(--sans); font-size: 13px; font-weight: 500;
    letter-spacing: 0.18em; text-transform: uppercase;
    padding: 16px 28px; cursor: pointer; border: none; background: none;
    color: var(--off-white); transition: all 0.35s ease; position: relative;
  }
  .btn-primary { background: var(--gold-muted); color: var(--black-deep); border: 1px solid var(--gold-muted); }
  .btn-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
  .btn-ghost { border: 1px solid rgba(241, 234, 220, 0.24); color: var(--off-white); }
  .btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

  /* ===== HEADER ===== */
  .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px 0; transition: padding 0.4s ease; }
  .site-header.scrolled { padding: 8px 0; }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
    padding: 14px 32px 14px 40px;
    background: rgba(12, 13, 12, 0.42);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
      0 20px 60px rgba(0, 0, 0, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      inset 0 -1px 0 rgba(183, 154, 99, 0.08);
  }
  .header-logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
  .header-logo img { height: 44px; width: auto; }
  .nav { display: flex; gap: 26px; flex: 1; justify-content: center; }
  .nav a {
    font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--off-white); position: relative;
    padding: 6px 0; white-space: nowrap; transition: color 0.3s ease;
  }
  .nav a::after {
    content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
    background: var(--gold-soft); transition: width 0.35s ease;
  }
  .nav a.active { color: var(--gold-soft); }
  .nav a.active::after { width: 100%; }
  .nav a:hover { color: var(--gold-soft); }
  .nav a:hover::after { width: 100%; }
  .header-cta { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
  .lang { font-size: 11px; letter-spacing: 0.24em; color: var(--text-muted); }
  .lang span.active { color: var(--gold-soft); }
  .header-cta .btn { padding: 12px 22px; }
  .nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 36px; height: 28px; flex-direction: column; justify-content: center; gap: 6px; }
  .nav-toggle span { display: block; width: 24px; height: 1px; background: var(--off-white); transition: all 0.3s ease; }

  @media (max-width: 1280px) {
    .nav { gap: 20px; }
    .nav a { font-size: 11px; letter-spacing: 0.14em; }
  }

  /* ===================================================
     CONTACTS — single-screen split editorial layout
     left graphite panel: crumb · big 07 · title · text · info
     right floating form card
     =================================================== */
  .contact-page {
    position: relative;
    min-height: calc(100vh - 132px);
    display: flex;
    flex-direction: column;
    padding-top: 92px;
    background: var(--black-deep);
    overflow: hidden;
  }

  .contact-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--tl-bg-black-texture, url("../images/black-texture.jpg"));
    background-size: cover;
    background-position: center;
    opacity: 0.55;
    z-index: 0;
  }
  .contact-page::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 18% 60%, rgba(183, 154, 99, 0.10) 0%, transparent 55%),
      linear-gradient(180deg, rgba(9, 10, 9, 0) 0%, rgba(9, 10, 9, 0.4) 100%);
    z-index: 0;
    pointer-events: none;
  }

  .contact-grid {
    position: relative;
    z-index: 2;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 72px;
    align-items: center;
    padding: 32px 0 48px;
  }

  /* === LEFT === */
  .contact-left {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-right: 24px;
  }

  .crumb {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 4px;
  }
  .crumb .label { font-size: 11px; letter-spacing: 0.32em; color: var(--text-soft); text-transform: uppercase; }
  .crumb .current { font-size: 11px; letter-spacing: 0.32em; color: var(--gold-soft); text-transform: uppercase; }
  .crumb .sep { width: 28px; height: 1px; background: var(--gold-line); }

  .section-number {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(120px, 14vw, 200px);
    line-height: 0.82;
    color: transparent;
    -webkit-text-stroke: 1px var(--gold-muted);
    letter-spacing: -0.02em;
    margin: 4px 0 6px;
  }

  .contact-eyebrow-row {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .contact-headline {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(32px, 3.4vw, 50px);
    line-height: 1.06;
    color: var(--off-white);
    letter-spacing: -0.005em;
    text-transform: uppercase;
    margin-top: 4px;
  }
  .contact-headline em {
    font-style: italic;
    color: var(--gold-soft);
    text-transform: none;
    font-size: 0.92em;
  }

  .contact-lead {
    font-family: var(--sans);
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 520px;
    font-weight: 300;
  }

  .contact-info {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 28px;
    row-gap: 18px;
    margin-top: 14px;
    padding-top: 22px;
    border-top: 1px solid var(--gold-line-soft);
  }
  .info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .info-item .label {
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: 0.32em;
    color: var(--text-soft);
    text-transform: uppercase;
  }
  .info-item .value {
    font-family: var(--serif);
    font-size: 19px;
    color: var(--off-white);
    font-weight: 300;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
  }
  .info-item a.value {
    color: var(--gold-soft);
    border-bottom: 1px solid var(--gold-line-soft);
    padding-bottom: 2px;
    width: fit-content;
  }
  .info-item a.value:hover { color: var(--gold-bright); border-bottom-color: var(--gold-soft); }

  .contact-info .info-item.full { grid-column: 1 / -1; }

  /* === RIGHT — form card === */
  .form-card {
    position: relative;
    padding: 44px 44px 40px;
    width: 100%;
    max-width: 620px;
    justify-self: end;
  }
  .form-card .form-number {
    position: absolute;
    top: 22px;
    left: 32px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 17px;
    color: var(--text-muted);
  }
  .form-card h3 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 26px;
    color: var(--off-white);
    margin-top: 22px;
    letter-spacing: 0.01em;
  }
  .form-card .form-divider {
    width: 40px;
    height: 1px;
    background: var(--gold-muted);
    margin: 12px 0 24px;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 16px;
  }
  .form-group { display: flex; flex-direction: column; gap: 6px; }
  .form-group.full { grid-column: 1 / -1; }
  .form-group label {
    font-family: var(--sans);
    font-size: 10.5px;
    letter-spacing: 0.24em;
    color: var(--text-muted);
    text-transform: uppercase;
  }
  .form-group input,
  .form-group textarea {
    background: rgba(241, 234, 220, 0.04);
    border: none;
    border-bottom: 1px solid rgba(241, 234, 220, 0.18);
    padding: 10px 4px 12px;
    color: var(--off-white);
    font-family: var(--sans);
    font-size: 14px;
    transition: border-color 0.3s ease, background 0.3s ease;
    outline: none;
    resize: none;
  }
  .form-group input:focus,
  .form-group textarea:focus {
    border-bottom-color: var(--gold-soft);
    background: rgba(241, 234, 220, 0.06);
  }
  .form-group textarea { min-height: 78px; }
  .form-submit {
    margin-top: 18px;
    width: 100%;
  }
  .form-consent {
    margin-top: 14px;
    font-family: var(--sans);
    font-size: 10.5px;
    color: var(--text-soft);
    line-height: 1.6;
    letter-spacing: 0.02em;
  }

  /* ===== FOOTER ===== */
  .footer { background: var(--black-deep); padding: 60px 0 36px; border-top: 1px solid var(--gold-line-soft); position: relative; z-index: 2; }
  .footer .container { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
  .footer-logo img { height: 28px; opacity: 0.7; }
  .footer-meta {
    display: flex; gap: 36px;
    font-family: var(--sans); font-size: 11px; letter-spacing: 0.24em; color: var(--text-soft); text-transform: uppercase;
  }
  .footer-meta a:hover { color: var(--gold-soft); }
  .footer-copyright { font-family: var(--sans); font-size: 11px; color: var(--text-faint); letter-spacing: 0.16em; }

  /* ===== MOBILE ===== */
  @media (max-width: 1100px) {
    .container { padding: 0 32px; }
    .contact-grid {
      grid-template-columns: 1fr;
      gap: 36px;
      padding: 24px 0 36px;
    }
    .form-card { justify-self: stretch; max-width: none; }
    .contact-page { padding-top: 100px; min-height: auto; }
  }

  @media (max-width: 768px) {
    .container { padding: 0 22px; }
    .site-header { padding: 10px 0; }
    .header-inner { padding: 12px 16px 12px 20px; }
    .nav { display: none; }
    .nav.open {
      display: flex;
      position: fixed;
      top: 76px; left: 12px; right: 12px;
      flex-direction: column;
      padding: 28px 24px;
      background: rgba(12, 13, 12, 0.92);
      backdrop-filter: blur(28px) saturate(150%);
      border: 1px solid rgba(255, 255, 255, 0.08);
      gap: 20px;
      z-index: 99;
    }
    .nav-toggle { display: flex; }
    .header-cta .btn { display: none; }
    .header-logo img { height: 34px; }

    .section-number { font-size: 96px; }
    .contact-headline { font-size: 28px; }
    .form-card { padding: 32px 24px; }
    .form-row { grid-template-columns: 1fr; }
    .footer .container { flex-direction: column; text-align: center; gap: 20px; }
    .footer-meta { flex-wrap: wrap; justify-content: center; gap: 20px; }
  }

  /* Reveal */
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s ease, transform 0.9s ease; }
  .reveal.in { opacity: 1; transform: translateY(0); }
  .reveal.delay-1 { transition-delay: 0.1s; }
  .reveal.delay-2 { transition-delay: 0.2s; }
  .reveal.delay-3 { transition-delay: 0.3s; }

  ::selection { background: var(--gold-muted); color: var(--black-deep); }
