﻿:root {
  --bg: #0a0a0c;
  --bg-soft: #121216;
  --panel: rgba(21, 21, 27, 0.78);
  --ink: #f3f1ea;
  --muted: #b0ab9a;
  --line: rgba(201, 183, 141, 0.24);
  --gold: #c7a76a;
  --gold-soft: #ecd5a2;
  --dark-btn: #1c1a16;
  --shadow: 0 26px 65px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(900px 500px at -10% -10%, rgba(199, 167, 106, 0.17), transparent 65%),
    radial-gradient(900px 700px at 110% 0%, rgba(177, 151, 92, 0.13), transparent 70%),
    linear-gradient(180deg, #08080b 0%, #0d0d12 40%, #09090c 100%);
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html { overflow-x: clip; }
  body { overflow-x: clip; }
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: 0.08;
  background-image: radial-gradient(rgba(255, 255, 255, 0.45) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  left: 50%;
  top: 35%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(199, 167, 106, 0.18), rgba(199, 167, 106, 0));
}

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

.header {
  position: sticky;
  top: 10px;
  z-index: 20;
  margin-top: 0.7rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 14, 0.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  letter-spacing: normal;
}
.logo__icon { flex: 0 0 auto; }
.logo__stack {
  display: grid;
  line-height: 1.02;
}
.logo__word {
  font-size: 0.9rem;
  letter-spacing: 0.22em;
}
.logo__sub {
  margin-top: -2px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(176, 171, 154, 0.92);
}

.nav { display: flex; gap: 1rem; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.nav a:hover { color: var(--ink); }

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 14, 0.55);
}
.lang-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 34px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid transparent;
}
.lang-switch__item:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.14);
}
.lang-switch__item.is-active {
  color: #16130d;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  border-color: rgba(255, 255, 255, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.85rem 1.18rem;
  font-weight: 800;
  color: #16130d;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  box-shadow: 0 12px 30px rgba(199, 167, 106, 0.28);
  transition: transform 0.22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 0.64rem 0.9rem; font-size: 0.86rem; }
.btn-ghost {
  color: var(--ink);
  background: rgba(15, 15, 21, 0.62);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  display: grid;
  /* Give copy a bit more room to reduce headline wrapping on desktop. */
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.9rem;
  align-items: center;
  padding: 6.9rem 0 3.2rem;
  overflow-x: clip;
}

.eyebrow {
  color: var(--gold);
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  font-weight: 700;
}

h1, h2, h3 {
  margin: 0 0 0.7rem;
  line-height: 1.05;
}

h1, .section-title, .modal__dialog h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 4.3rem);
  /* Wider measure so the hero headline doesn't wrap too aggressively. */
  max-width: 22ch;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-actions {
  margin: 1.3rem 0 1.6rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.stats li {
  min-width: 208px;
  padding: 0.75rem 0.88rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(30, 29, 35, 0.86), rgba(17, 17, 22, 0.82));
}
.counter {
  margin-right: 0.25rem;
  font-size: 1.45rem;
  color: var(--gold-soft);
  font-weight: 800;
}

.hero-media {
  position: relative;
  min-height: 460px;
}
.image-card {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #0e0e12;
}
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-main {
  position: absolute;
  inset: 0 0 42px 40px;
}
.image-caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.36rem 0.72rem;
  font-size: 0.8rem;
  color: #f6ebd1;
  background: rgba(9, 9, 11, 0.62);
}
.image-floating {
  position: absolute;
  width: min(280px, 64%);
  height: 190px;
  left: 0;
  bottom: 0;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(218, 188, 132, 0.25);
  animation: spin 24s linear infinite;
}
.orbit-a { width: 270px; height: 270px; right: -30px; top: 36px; }
.orbit-b { width: 180px; height: 180px; right: 180px; top: -8px; animation-direction: reverse; }

.section { padding: 3.8rem 0; }
.section-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 1.2rem;
}

.benefits,
.service-grid,
.footer-grid,
.faq,
.media-layout { display: grid; gap: 1rem; }

.benefits { grid-template-columns: repeat(4, 1fr); }

.card,
.service,
.faq-item,
.cta-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(170deg, rgba(29, 28, 35, 0.88), rgba(15, 15, 19, 0.88));
  padding: 1.15rem;
}

.card p,
.service p,
.faq-item p,
.cta-box p { color: var(--muted); }

.topic-link {
  color: inherit;
  text-decoration: none;
}
.topic-link:hover { text-decoration: underline; }

.tilt { transform-style: preserve-3d; transition: transform 0.23s ease; }

.messenger-capsule {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: env(safe-area-inset-bottom);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.58rem 0.64rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(16, 16, 20, 0.9), rgba(10, 10, 12, 0.92));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  transform: translateX(-50%) translateZ(0);
  animation: none;
}

.messenger-pill {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.messenger-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(236, 213, 162, 0.45);
}
.messenger-pill svg { display: block; }

.messenger-pill--tg {
  background: radial-gradient(circle at 30% 25%, rgba(34, 158, 217, 0.9), rgba(34, 158, 217, 0.45));
  border-color: rgba(34, 158, 217, 0.35);
  box-shadow: 0 10px 28px rgba(34, 158, 217, 0.2);
}
.messenger-pill--wa {
  background: radial-gradient(circle at 30% 25%, rgba(37, 211, 102, 0.9), rgba(37, 211, 102, 0.45));
  border-color: rgba(37, 211, 102, 0.35);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.22);
}
.messenger-pill--fb {
  background: radial-gradient(circle at 30% 25%, rgba(24, 119, 242, 0.92), rgba(24, 119, 242, 0.45));
  border-color: rgba(24, 119, 242, 0.35);
  box-shadow: 0 10px 28px rgba(24, 119, 242, 0.2);
}

@keyframes messenger-float {
  0%, 100% { transform: translateY(0); box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55); }
  50% { transform: translateY(-3px); box-shadow: 0 22px 56px rgba(0, 0, 0, 0.62); }
}

@media (max-width: 640px) {
  .messenger-capsule { padding: 0.52rem 0.56rem; gap: 0.42rem; }
  .messenger-pill { width: 40px; height: 40px; }
}

/* Desktop: keep the capsule centered on the viewport */
@media (min-width: 900px) {
  .messenger-capsule {
    left: 50%;
    top: auto;
    right: auto;
    bottom: 0;
    transform: translateX(-50%) translateZ(0);
    animation: none; /* avoid transform conflicts with centering */
  }
}

.service-grid { grid-template-columns: repeat(3, 1fr); }
.service ul { margin: 0.62rem 0 0; padding-left: 1.06rem; color: #e8dcc4; }
.service li { margin: 0.42rem 0; }

.section-media { position: relative; }
.media-layout {
  grid-template-columns: 1.35fr 0.65fr;
  grid-template-rows: 280px 280px;
}
.media-tile {
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #121216;
  box-shadow: var(--shadow);
}
.media-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.media-tile:hover img { transform: scale(1.04); }
.media-tile.wide { grid-row: 1 / span 2; }
.media-overlay {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  border-radius: 14px;
  border: 1px solid rgba(245, 228, 194, 0.3);
  background: rgba(10, 10, 13, 0.62);
  backdrop-filter: blur(3px);
  padding: 0.86rem;
}
.media-overlay h3 { margin-bottom: 0.35rem; }
.media-overlay p {
  margin: 0;
  color: #c5b9a2;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #16130d;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 22px rgba(199, 167, 106, 0.18);
  transform: rotate(0deg);
  transition: transform 0.18s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0.75rem 0 0; }

.cta-box {
  text-align: center;
  padding: 2rem;
  background:
    radial-gradient(540px 230px at 50% -10%, rgba(199, 167, 106, 0.24), transparent),
    linear-gradient(170deg, rgba(30, 28, 21, 0.9), rgba(15, 14, 11, 0.92));
}
.cta-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.74rem;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-meta {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.25rem;
  text-align: center;
  color: var(--muted);
}
.contact-meta p { margin: 0; }
.contact-meta strong { color: var(--ink); }

.footer {
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
  /* Extra bottom padding so fixed messenger capsule never overlaps footer text */
  padding: 1.8rem 0 calc(1.8rem + 84px + env(safe-area-inset-bottom));
  background: rgba(8, 8, 11, 0.78);
}
.footer-grid { grid-template-columns: repeat(3, 1fr); }
.footer p { color: var(--muted); margin: 0.42rem 0; }
.footer a { color: #f6dfb2; text-decoration: none; }

.footer-credits {
  margin-top: 1.1rem;
  text-align: center;
}
.footer-credits p {
  margin: 0;
  color: rgba(176, 171, 154, 0.9);
  font-size: 0.92rem;
}
.footer-credits a { text-decoration: underline; }
.footer-note-wrap { text-align: center; }
.footer-note {
  width: 100%;
  margin: 1rem 0 0;
  color: rgba(176, 171, 154, 0.85);
  font-size: 0.92rem;
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 8, 0.8);
  backdrop-filter: blur(3px);
}
.modal__dialog {
  position: relative;
  width: min(560px, calc(100% - 1.4rem));
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(34, 31, 23, 0.95), rgba(14, 13, 10, 0.95));
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.55);
  padding: 1.2rem 1.1rem 1.1rem;
}
.modal__close {
  position: absolute;
  right: 0.65rem;
  top: 0.45rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 1.35rem;
}
.modal__dialog h2 { margin-right: 2.2rem; }
.modal__lead {
  color: var(--muted);
  margin-top: 0.1rem;
}
.modal-form {
  display: grid;
  gap: 0.55rem;
}
.modal-form__label {
  font-size: 0.92rem;
  color: #e8dcc4;
  font-weight: 700;
}
.modal-form__input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(213, 195, 157, 0.35);
  background: rgba(11, 11, 14, 0.76);
  color: var(--ink);
  padding: 0.72rem 0.78rem;
  font: inherit;
}
.modal-form__input:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199, 167, 106, 0.2);
}
.modal-form__textarea {
  resize: vertical;
  min-height: 110px;
}
.modal-form__submit {
  width: 100%;
  margin-top: 0.45rem;
}
.modal-form__status {
  min-height: 1.25rem;
  margin: 0.3rem 0 0;
  color: #f6dfb2;
  font-size: 0.92rem;
}
.modal-form__status.is-error { color: #ffb7bf; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1020px) {
  .nav { display: none; }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 5.6rem;
  }
  .hero-media {
    min-height: 380px;
    order: -1;
  }
  .image-main { inset: 0 0 30px 22px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .media-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 260px 260px;
  }
  .media-tile.wide { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header { padding: 0.7rem 0.84rem; }
  .btn,
  .hero-actions .btn-ghost { width: 100%; }
  .header-actions { width: 100%; }
  .lang-switch { width: 100%; justify-content: space-between; }
  .benefits { grid-template-columns: 1fr; }
  .stats li { width: 100%; }
  .hero-media {
    min-height: 330px;
  }
  .image-main {
    inset: 0 0 18px 0;
  }
  .image-floating {
    width: 62%;
    height: 130px;
    left: -2px;
  }
  .modal__dialog { padding: 1.05rem 0.9rem 0.95rem; }
}
