@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --frame-width: 390px;
  --cream: #f5efe5;
  --ink: #211f1b;
  --white: #fffaf2;
  --gold: #d7b777;
  --gold-light: #fff1bd;
  --gold-dark: #b28742;
  --glass: rgba(255, 250, 242, 0.54);
  --glass-strong: rgba(255, 250, 242, 0.70);
  --border: rgba(255, 255, 255, 0.44);
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; }
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(135deg, #e8dcc9 0%, #fbf6ed 44%, #e2d1b8 100%);
}
button, a, select { font: inherit; }
img, svg { display: block; }

.page-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 22px;
}

.mobile-frame {
  position: relative;
  width: min(100%, var(--frame-width));
  height: min(844px, calc(100svh - 44px));
  min-height: 720px;
  overflow: hidden;
  border-radius: 38px;
  background: var(--cream);
  box-shadow: 0 42px 100px rgba(48, 38, 26, 0.28), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  isolation: isolate;
}

.hero-media, .hero-tint, .editorial-vignette { position: absolute; inset: 0; }
.hero-media { z-index: 0; background: #efe8dc; }
.hero-image, .hero-video {
  width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; transform: scale(1.025);
}
.hero-tint {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255,250,242,.70) 0%, rgba(255,250,242,.25) 25%, rgba(68,49,35,.08) 50%, rgba(18,15,12,.58) 100%),
    radial-gradient(circle at 46% 18%, rgba(255,255,255,.62), transparent 42%);
}
.editorial-vignette {
  z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,250,242,.90) 0%, rgba(255,250,242,.10) 27%, transparent 45%),
    linear-gradient(0deg, rgba(15,12,9,.82) 0%, rgba(15,12,9,.24) 34%, transparent 62%);
}

.topbar {
  position: relative; z-index: 4;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 24px 18px 0 18px;
}
.brand {
  width: 220px;
  max-width: 58%;
  margin-top: -8px;
  text-decoration: none;
  filter: drop-shadow(0 14px 22px rgba(32, 24, 16, .12));
}
.brand img { width: 100%; height: auto; max-height: 112px; object-fit: contain; }

.right-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.lang-select, .phone-link, .social-link {
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: var(--glass); border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(35, 28, 20, 0.10);
}
.lang-select {
  width: 116px; height: 34px; padding: 0 10px;
  border-radius: 999px; color: var(--ink); outline: none; font-size: 12px; font-weight: 800;
}
.phone-link {
  min-height: 34px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px; border-radius: 999px; color: var(--ink);
  font-size: 11px; font-weight: 800; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
}
.socials { display: flex; justify-content: flex-end; gap: 8px; }
.social-link {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 999px; color: var(--ink); text-decoration: none;
}
.social-link svg { width: 18px; height: 18px; fill: currentColor; }

.hero-content {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0;
  padding: 0 24px 30px; color: var(--white);
}
.eyebrow {
  margin: 0 0 13px; font-size: 12px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,250,242,.76);
}
h1 {
  max-width: 342px; margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(45px, 13vw, 58px); line-height: .88; font-weight: 700; letter-spacing: -.058em;
  text-wrap: balance; text-shadow: 0 18px 44px rgba(0,0,0,.28);
}
.subtitle {
  max-width: 320px; margin: 18px 0 24px;
  font-size: 15px; line-height: 1.55; color: rgba(255,250,242,.86);
  text-shadow: 0 10px 28px rgba(0,0,0,.32);
}
.cta {
  width: 100%; min-height: 58px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; color: #241c10;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 46%, var(--gold-dark) 100%);
  box-shadow: 0 24px 54px rgba(0,0,0,.30), 0 1px 0 rgba(255,255,255,.80) inset;
  font-size: 16px; font-weight: 800; text-decoration: none; letter-spacing: -.01em;
  transition: transform .18s ease, filter .18s ease;
}
.cta:hover { filter: brightness(1.03); }
.cta:active { transform: translateY(1px) scale(.99); }

@media (max-width: 520px) {
  .page-shell { padding: 0; }
  .mobile-frame { width: 100%; height: 100svh; min-height: 640px; border-radius: 0; box-shadow: none; }
  .topbar { padding-top: max(20px, env(safe-area-inset-top)); }
  .hero-content { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
}
@media (max-width: 370px) {
  .brand { width: 182px; max-width: 54%; }
  .lang-select { width: 98px; font-size: 11px; }
  .phone-link { font-size: 10px; padding-inline: 9px; }
  h1 { font-size: 42px; }
}
