:root{
  --bg:#0f1115;
  --panel:rgba(15,17,21,.88);
  --text:#f3f5f7;
  --muted:#b7beca;
  --border:rgba(255,255,255,.12);
  --accent:#d7b25c;
  --shadow:0 18px 50px rgba(0,0,0,.45);
  --radius:18px;
  --max:1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--text);
  line-height:1.6;
  min-height:100vh;
  background:
    linear-gradient(rgba(10,12,16,.78), rgba(10,12,16,.88)),
    url("/assets/img/bg.png") center/cover no-repeat fixed;
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.92}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:24px;
}

.topbar{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(15,17,21,.72);
  border-bottom:1px solid var(--border);
}

.topbar-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand img{
  width:44px;
  height:44px;
  object-fit:contain;
  background:rgba(0,0,0,.25);
  border:1px solid var(--border);
  border-radius:12px;
  padding:6px;
}

.brand strong{font-size:14px}
.brand span{font-size:12px;color:var(--muted)}

.nav{display:flex;gap:6px}
.nav a{
  font-size:13px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:12px;
}
.nav a:hover{background:rgba(255,255,255,.06);color:var(--text)}

.cta{
  background:linear-gradient(135deg, rgba(215,178,92,.95), rgba(215,178,92,.7));
  color:#1a1406;
  font-weight:800;
  padding:10px 14px;
  border-radius:14px;
  box-shadow:var(--shadow);
}

.hero{
  margin-top:22px;
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(255,255,255,.08), transparent 55%),
    radial-gradient(700px 420px at 85% 55%, rgba(215,178,92,.07), transparent 60%),
    rgba(10,12,16,.72);
  border:1px solid rgba(255,255,255,.16);
  border-radius:28px;
  box-shadow:
    0 30px 90px rgba(0,0,0,.60),
    inset 0 1px 0 rgba(255,255,255,.06);
  padding:40px 44px;
  backdrop-filter: blur(12px);
  overflow:visible;
  position:relative;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:28px;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), transparent 30%),
    radial-gradient(1200px 520px at 50% 50%, transparent 62%, rgba(0,0,0,.35) 100%);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:28px;
  align-items:center;
  position:relative;
  z-index:1;
}

.hero-left h1{
  margin:0 0 12px;
  font-size:52px;
  letter-spacing:-.8px;
}

.hero-lead{
  margin:0;
  font-size:24px;
  color:rgba(255,255,255,.72);
}

.pills{margin-top:18px;display:flex;gap:12px;flex-wrap:wrap}
.pill{
  padding:10px 16px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
}

.actions{margin-top:22px;display:flex;gap:14px;flex-wrap:wrap}

.btn{
  padding:16px 22px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  font-size:18px;
  font-weight:800;
}

.btn.primary{
  border-color:rgba(215,178,92,.6);
  background:rgba(215,178,92,.12);
}

.hero-right{
  position: relative;
  display:flex;
  justify-content:flex-end;
  align-items:flex-end;

  /* Give the hero a consistent height like the mock */
  min-height: 360px;
}

.hero-photo{
  /* Bigger bottles */
  width: 680px;
  max-width: none;
  height: auto;
  display: block;

  /* Spill outside the box */
  position: absolute;
  right: -300px;
  bottom: 0px;

  filter: drop-shadow(0 26px 70px rgba(0,0,0,.65));
}

.grid{
  margin-top:24px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
  backdrop-filter:blur(6px);
}

.kv-row{
  display:flex;
  justify-content:space-between;
  padding:8px 0;
  border-bottom:1px solid var(--border);
}

footer{
  margin-top:26px;
  border-top:1px solid var(--border);
  padding:18px 0 32px;
  text-align:center;
  font-size:12px;
  color:var(--muted);
}

.about-image{
  margin-top:16px;
  border-radius:14px;
  overflow:hidden;
}

.about-image img{
  width:100%;
  height:auto;
  display:block;
  border-radius:14px;
  filter: brightness(.95) contrast(1.05);
}

@media (max-width:820px){
  .nav{display:none}
  .hero-grid{grid-template-columns:1fr}
  .hero-photo{transform:none}
  .grid{grid-template-columns:1fr}
}

@media (max-width:768px){
  body{background-attachment:scroll}
}
/* =========================
   Mobile safety overrides
   Desktop remains unchanged
   ========================= */

/* Small tablets + phones */
@media (max-width: 820px) {
  .container {
    padding: 18px;
  }

  .hero {
    padding: 28px 22px;
    border-radius: 22px;
    overflow: hidden; /* prevent image spill */
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-left h1 {
    font-size: 36px;
    line-height: 1.15;
  }

  .hero-lead {
    font-size: 18px;
  }

  .actions {
    gap: 12px;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 14px 18px;
    font-size: 16px;
  }

  .hero-right {
    min-height: auto;
    justify-content: center;
    align-items: center;
  }

  .hero-photo {
    position: relative;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* Phones only */
@media (max-width: 480px) {
  .topbar-inner {
    padding: 12px 16px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero-left h1 {
    font-size: 30px;
  }

  .pill {
    padding: 8px 14px;
    font-size: 13px;
  }

  footer {
    font-size: 11px;
    padding-bottom: 24px;
  }
}
/* =========================
   Fix tall hero bottles on mobile
   ========================= */

@media (max-width: 820px) {
  .hero-right {
    max-height: 300px;
    overflow: hidden;
  }

  .hero-photo {
    max-height: 300px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
}

/* Extra safety for small phones */
@media (max-width: 480px) {
  .hero-right {
    max-height: 240px;
  }

  .hero-photo {
    max-height: 240px;
  }
}
