@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  --bg: #faf8f4;
  --bg2: #f3efe8;
  --surface: #ffffff;
  --surface2: #f0ece4;
  --border: rgba(0,0,0,0.07);
  --border2: rgba(0,0,0,0.12);
  --black: #12100e;
  --dark: #1e1c19;
  --muted: #8a8278;
  --muted2: #b5afa6;
  --amber: #f5a623;
  --amber-dim: rgba(245,166,35,0.1);
  --amber-border: rgba(245,166,35,0.3);
  --amber-dark: #d4891a;
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 3.5rem;
  background: rgba(250,248,244,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.nav-logo-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--amber); display: flex; align-items: center;
  justify-content: center; font-size: .9rem;
}
.nav-brand-text {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  letter-spacing: -.02em; color: var(--black); font-style: italic;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .82rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .2s;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--black); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-back { font-size: .82rem; color: var(--muted); text-decoration: none; display: flex; align-items: center; gap: .4rem; transition: color .2s; }
.nav-back:hover { color: var(--amber-dark); }
.btn-nav {
  background: var(--amber); color: var(--black);
  padding: .5rem 1.2rem; border-radius: 6px;
  font-size: .82rem; font-weight: 700; text-decoration: none;
  font-family: var(--font-body);
  transition: box-shadow .2s, transform .2s;
}
.btn-nav:hover { box-shadow: 0 0 22px rgba(245,166,35,0.4); transform: translateY(-1px); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 7rem 0 0 3.5rem;
  position: relative; overflow: hidden;
  background: var(--bg);
}
.hero-left { padding-right: 4rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--amber-dim); border: 1px solid var(--amber-border);
  padding: .35rem .9rem; border-radius: 100px; margin-bottom: 2rem;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-dark);
}
h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 800; line-height: 1; letter-spacing: -.02em;
  color: var(--black);
  margin-bottom: 1.5rem;
}
h1.hero-title em { font-style: italic; color: var(--amber-dark); }
h1.hero-title .ghost { color: transparent; -webkit-text-stroke: 1.5px rgba(18,16,14,0.15); }
.hero-desc {
  font-size: 1rem; line-height: 1.78; color: var(--muted); font-weight: 300;
  max-width: 480px; margin-bottom: 2.5rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--amber); color: var(--black);
  padding: .85rem 1.9rem; border-radius: 7px;
  font-weight: 700; font-size: .9rem; text-decoration: none;
  transition: box-shadow .2s, transform .2s;
  box-shadow: 0 4px 20px rgba(245,166,35,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(245,166,35,0.45); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1.5px solid var(--border2); color: var(--dark);
  padding: .85rem 1.9rem; border-radius: 7px;
  font-size: .9rem; text-decoration: none; font-weight: 500;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--black); background: rgba(0,0,0,0.03); }
.hero-trust { display: flex; align-items: center; gap: 1.5rem; }
.trust-avatars { display: flex; }
.trust-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid white; margin-left: -8px; overflow: hidden;
  background: var(--surface2); display: flex; align-items: center; justify-content: center; font-size: .85rem;
}
.trust-avatar:first-child { margin-left: 0; }
.trust-text { font-size: .82rem; color: var(--muted); }
.trust-text strong { color: var(--black); font-weight: 600; }

/* Hero right — image fill */
.hero-right-img {
  height: 100%; min-height: 100vh;
  position: relative; overflow: hidden;
}
.hero-right-img .bg-img {
  position: absolute; inset: 0;
  background: var(--surface2);
}
.hero-phones {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  padding: 6rem 2rem 2rem;
}
.phone {
  width: 190px; border-radius: 26px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.2);
  border: 1px solid rgba(0,0,0,0.06);
  flex-shrink: 0;
}
.phone img { width: 100%; display: block; }
.phone.p-main { width: 210px; margin-top: -2rem; }
.phone.p-side { opacity: .7; margin-top: 2rem; }
.hero-badge-overlay {
  position: absolute; bottom: 2.5rem; left: 2rem;
  background: white; border-radius: 14px; padding: 1rem 1.4rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  display: flex; align-items: center; gap: 1rem;
}
.hbo-icon { font-size: 1.6rem; }
.hbo-text h5 { font-size: .82rem; font-weight: 700; color: var(--black); margin-bottom: .15rem; }
.hbo-text p { font-size: .75rem; color: var(--muted); }
.hbo-val { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--amber-dark); margin-left: auto; }

/* ── SECTION COMMONS ── */
section { padding: 6rem 3.5rem; }
.section-label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--amber-dark); margin-bottom: 1rem;
}
.section-label::before { content: ''; width: 20px; height: 1px; background: var(--amber); }
h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.1;
  color: var(--black);
}
h2.section-title em { font-style: italic; color: var(--amber-dark); }
p.section-sub {
  font-size: .97rem; line-height: 1.75; color: var(--muted);
  font-weight: 300; max-width: 580px; margin-top: 1rem;
}

/* ── FEATURES ── */
#features { background: var(--surface); }
.features-header { margin-bottom: 4rem; }
.features-bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 1.2rem; }
.feat-card {
  background: var(--bg); border-radius: 18px; padding: 2.2rem;
  border: 1px solid var(--border);
  transition: box-shadow .3s, transform .3s;
}
.feat-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-3px); }
.feat-card.span2 { grid-column: span 2; }
.feat-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1.4rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  background: var(--amber-dim); border: 1px solid var(--amber-border);
}
.feat-card h3 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  color: var(--black); margin-bottom: .6rem;
}
.feat-card p { font-size: .88rem; color: var(--muted); line-height: 1.68; }
.feat-tag {
  display: inline-block; margin-top: 1rem;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber-dark); background: var(--amber-dim); border: 1px solid var(--amber-border);
  padding: .2rem .65rem; border-radius: 4px; margin-right: .4rem;
}
.feat-card.dark {
  background: var(--black); color: white;
}
.feat-card.dark h3 { color: white; }
.feat-card.dark p { color: rgba(255,255,255,0.55); }

/* ── HOW IT WORKS ── */
#how { background: var(--bg2); }
.how-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; margin-top: 3rem; }
.how-steps { display: flex; flex-direction: column; gap: 2rem; }
.how-step {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 1.8rem; background: var(--surface); border-radius: 14px;
  border: 1px solid var(--border);
  transition: border-color .3s, box-shadow .3s;
}
.how-step:hover { border-color: var(--amber-border); box-shadow: 0 8px 30px rgba(0,0,0,0.07); }
.how-step-num {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: var(--amber); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: var(--black);
}
.how-step h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: .4rem; color: var(--black); }
.how-step p { font-size: .87rem; color: var(--muted); line-height: 1.65; }
.how-visual { position: relative; }
.how-phone-wrap { position: relative; display: flex; justify-content: center; }
.how-phone {
  width: 240px; border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.06);
}
.how-phone img { width: 100%; display: block; }
.how-float {
  position: absolute; background: white; border-radius: 12px; padding: .9rem 1.1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid var(--border);
}
.how-float.f1 { top: 3rem; right: -1rem; width: 160px; }
.how-float.f2 { bottom: 3rem; left: -1rem; width: 160px; }
.how-float h5 { font-size: .78rem; color: var(--muted); margin-bottom: .3rem; }
.how-float .val { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--amber-dark); }
.how-float p { font-size: .72rem; color: var(--muted); margin-top: .2rem; }

/* ── GALLERY ── */
#gallery { background: var(--surface); }
.gallery-header { margin-bottom: 3rem; }
.gallery-tabs { display: flex; gap: .5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.tab-btn {
  background: none; border: 1.5px solid var(--border2);
  color: var(--muted); padding: .45rem 1.1rem; border-radius: 100px;
  font-family: var(--font-body); font-size: .82rem; cursor: pointer;
  transition: all .2s; font-weight: 500;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--amber-dim); border-color: var(--amber-border); color: var(--amber-dark);
}
.gallery-masonry {
  columns: 7; column-gap: 1.2rem;
}
.gallery-item {
  break-inside: avoid; margin-bottom: 1.2rem;
  border-radius: 16px; overflow: hidden; position: relative;
  border: 1px solid var(--border); cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  display: block;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.gallery-item img { width: 100%; display: block; }
.gallery-item .item-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(18,16,14,0.75), transparent);
  padding: 2rem 1rem .8rem;
  font-size: .78rem; color: rgba(255,255,255,0.7);
}
.gallery-item .item-label strong { display: block; font-size: .88rem; color: white; margin-bottom: .15rem; }

/* ── CTA ── */
#cta {
  background: var(--black); text-align: center; padding: 8rem 3.5rem;
  position: relative; overflow: hidden; color: white;
}
#cta::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 500px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(245,166,35,0.08) 0%, transparent 70%);
}
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-inner h2 {
  font-family: var(--font-display); font-size: clamp(2.2rem,4.5vw,4rem);
  font-weight: 800; letter-spacing: -.03em; margin-bottom: 1.2rem; color: white;
}
.cta-inner h2 em { font-style: italic; color: var(--amber); }
.cta-inner p { color: rgba(255,255,255,0.5); font-size: 1rem; margin-bottom: 2.5rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-ghost-light {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(255,255,255,0.2); color: white;
  padding: .85rem 1.9rem; border-radius: 7px;
  font-size: .9rem; text-decoration: none;
  transition: border-color .2s;
}
.btn-ghost-light:hover { border-color: rgba(255,255,255,0.4); }

/* ── FOOTER ── */
footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 1.8rem 3.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; font-style: italic; color: var(--black); }
.footer-brand span { color: var(--amber-dark); }
footer p { font-size: .8rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .8rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--black); }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  #hero { grid-template-columns: 1fr; padding: 7rem 1.5rem 4rem; }
  .hero-right-img { min-height: 420px; }
  .hero-phones { padding: 2rem 1rem; }
  .phone { width: 150px; }
  .phone.p-main { width: 170px; }
  .how-inner { grid-template-columns: 1fr; }
  .how-visual { display: none; }
}
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  section { padding: 5rem 1.5rem; }
  .features-bento { grid-template-columns: 1fr; }
  .feat-card.span2 { grid-column: auto; }
  .gallery-masonry { columns: 2; }
  footer { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .gallery-masonry { columns: 1; }
}
