/* ============ Tokens ============ */
:root {
  --surface: #111317;
  --surface-low: #1a1c1f;
  --surface-container: #1e2023;
  --surface-high: #282a2d;
  --surface-highest: #333538;
  --on-surface: #e2e2e6;
  --on-variant: #d3c4b3;
  --outline: #9c8f7f;
  --primary: #f2be71;
  --primary-container: #d4a359;
  --on-primary: #442b00;
  --error: #ffb4ab;

  --font-serif: "Noto Serif", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;

  --r: 0.25rem;
  --r-lg: 0.5rem;
  --r-xl: 0.75rem;

  --gutter: 1.25rem;
  --header-h: 64px;
  --nav-h: 64px;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal; font-style: normal;
  font-size: 18px; line-height: 1;
  letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap;
  -webkit-font-feature-settings: "liga"; font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}
.material-symbols-outlined.fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }

/* ============ Utilities ============ */
.container { width: 100%; max-width: 1380px; margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 820px; }
.label {
  font-size: 11px; line-height: 16px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.label-md { font-size: 13px; line-height: 18px; font-weight: 500; letter-spacing: 0.04em; }
.small { font-size: 13px; line-height: 20px; letter-spacing: 0.02em; }
.tiny { font-size: 10px; line-height: 13px; color: var(--outline); }
.muted { color: var(--outline); }
.accent { color: var(--primary); }
.strong { color: var(--on-surface); }
.strong-m { font-weight: 500; }
.block { display: block; }
.center-text { text-align: center; }
.small.muted, p.small.muted { color: var(--on-variant); }
.label.muted { color: var(--outline); }
.headline {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 22px; line-height: 30px; letter-spacing: 0.01em;
}
.headline em { font-style: italic; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 8px 20px;
  border-radius: var(--r); border: 1px solid transparent;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  transition: background .3s, box-shadow .3s, border-color .3s, color .3s;
}
.btn-primary {
  background: var(--primary); color: var(--on-primary);
  box-shadow: 0 0 16px rgba(242, 190, 113, .25);
}
.btn-primary:hover { background: var(--primary-container); box-shadow: 0 0 22px rgba(242, 190, 113, .35); }
.btn-block { width: 100%; min-height: 48px; }
.btn-sm { padding: 4px 16px; }
.btn-sm .material-symbols-outlined { font-size: 16px; }

/* ============ Header ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(17, 19, 23, .85);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .4);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; flex-direction: column; }
.brand-name { display: flex; align-items: center; gap: 4px; }
.brand-ali { font-family: var(--font-serif); font-weight: 600; font-size: 18px; color: var(--primary); letter-spacing: .02em; }
.brand-city { font-family: var(--font-serif); font-weight: 300; font-size: 22px; letter-spacing: -.01em; }
.brand-badge { color: var(--primary); font-size: 15px; }
.desktop-nav { display: none; }

/* ============ Hero ============ */
main { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
.hero { position: relative; overflow: hidden; padding: 16px 0 28px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .75;
  background: linear-gradient(to bottom, rgba(242, 190, 113, .1), var(--surface-low) 50%, var(--surface));
}
.hero-glow {
  position: absolute; top: -96px; left: 50%; transform: translateX(-50%);
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(242, 190, 113, .1); filter: blur(64px); pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; }
h1 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 38px; line-height: 46px; letter-spacing: 0;
}
h1 .accent { font-weight: 500; }
.tagline { margin-top: 4px; }

.trust-strip { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 24px; }
.trust-item { background: var(--surface-low); border-radius: var(--r-lg); padding: 8px 4px; text-align: center; }
.trust-item .material-symbols-outlined { color: var(--primary); margin-bottom: 2px; }

.guide-card {
  width: 100%; background: var(--surface-container); border-radius: var(--r-xl);
  padding: 16px; display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: 0 20px 48px -12px rgba(10, 11, 14, .95), 0 0 24px rgba(212, 163, 89, .05);
}
.portrait-wrap { position: relative; margin-bottom: 16px; }
.portrait {
  width: 112px; height: 144px; padding: 4px;
  border-radius: 9999px 9999px var(--r-xl) var(--r-xl);
  background: linear-gradient(to bottom, rgba(242, 190, 113, .4), var(--surface-high));
  box-shadow: 0 10px 25px rgba(0, 0, 0, .4); overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 9999px 9999px var(--r-lg) var(--r-lg); }
.portrait-badge {
  position: absolute; right: -8px; bottom: -8px; width: 28px; height: 28px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--primary); color: var(--on-primary);
}
.portrait-badge .material-symbols-outlined { font-size: 15px; }
.chip {
  display: inline-block; padding: 2px 8px; border-radius: 9999px;
  background: var(--surface-high); color: var(--primary);
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.guide-text { max-width: 320px; margin: 8px 0 16px; color: var(--on-variant); line-height: 1.6; }

/* ============ Sections ============ */
.section { padding: 16px 0; }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 28px; }
.eyebrow { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.eyebrow.center { gap: 12px; justify-content: center; margin-bottom: 4px; }
.rule { display: block; height: 1px; width: 32px; background: var(--surface-highest); }

/* ============ Cards ============ */
.cards { display: grid; gap: 28px; }
.card {
  background: var(--surface-container); border-radius: var(--r-xl); overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid rgba(212, 163, 89, .15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: border-color .4s, transform .4s;
}
.card:hover { border-color: rgba(212, 163, 89, .4); }
.card-media { position: relative; height: 176px; background: var(--surface-high); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.02); }
.card-fade { position: absolute; inset: 0; background: linear-gradient(to top, var(--surface-container), rgba(30, 32, 35, .3) 55%, transparent); }
.price { position: absolute; right: 12px; bottom: 8px; text-align: right; }
.price strong { font-family: var(--font-serif); font-size: 18px; color: var(--primary); font-weight: 600; margin-right: 4px; }
.price span { font-size: 13px; color: var(--on-variant); }

.card-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.title { font-family: var(--font-serif); font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: .02em; margin-bottom: 4px; }
.card-body > .small { margin-bottom: 16px; }
.meta-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px;
  padding: 8px 16px; background: var(--surface-high); border-radius: var(--r-lg);
  font-size: 13px; line-height: 20px; color: var(--on-variant);
}
.meta-grid > div { display: flex; align-items: center; gap: 4px; min-width: 0; }
.meta-grid .material-symbols-outlined { color: var(--primary); font-size: 16px; flex: none; }

.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 4px 8px; min-height: 44px; text-align: left;
  background: var(--surface-low); border-radius: var(--r-lg); margin-bottom: 16px;
  transition: color .2s;
}
.accordion-trigger:hover { color: var(--primary); }
.accordion-trigger .label-md { display: flex; align-items: center; gap: 4px; }
.accordion-trigger .label-md .material-symbols-outlined { font-size: 16px; }
.icon-arrow { transition: transform .3s; }
.accordion-trigger[aria-expanded="true"] .icon-arrow { transform: rotate(180deg); }
.accordion-panel { margin: -4px 0 16px; color: var(--on-variant); }
.route { display: grid; gap: 4px; padding-left: 4px; margin-bottom: 8px; font-size: 13px; line-height: 20px; counter-reset: step; }
.route li { counter-increment: step; display: flex; gap: 4px; }
.route li::before { content: counter(step) "."; color: var(--primary); font-size: 11px; margin-top: 1px; flex: none; }
.route strong { color: var(--on-surface); font-weight: 600; }
.note { padding: 8px; background: var(--surface-high); border-radius: var(--r); font-size: 13px; line-height: 20px; }
.card-body .btn-block { margin-top: auto; }

/* ============ FAQ ============ */
.faq-list { display: grid; gap: 8px; }
.faq-item { background: var(--surface-container); border-radius: var(--r); }
.faq-trigger {
  min-height: 72px; padding: 16px; margin: 0;
  background: transparent; color: var(--on-surface);
  font-size: 15px; line-height: 24px; letter-spacing: 0;
}
.faq-trigger:hover { color: var(--on-surface); }
.faq-icon { color: var(--primary); font-size: 20px; flex: none; transition: transform .3s; }
.faq-trigger[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { margin: 0; padding: 0 16px 16px; color: var(--on-variant); }

/* ============ Contact ============ */
.contact-card {
  background: var(--surface-low); border-radius: var(--r-xl); padding: 28px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.contact-icon {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(242, 190, 113, .1); color: var(--primary);
}
.contact-icon .material-symbols-outlined { font-size: 24px; }
.contact-grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.contact-link {
  min-height: 56px; padding: 8px; display: flex; align-items: center; gap: 8px; text-align: left;
  background: var(--surface-container); border-radius: var(--r-lg); transition: background .2s;
}
.contact-link:hover { background: var(--surface-high); }
.contact-link > span:last-child { min-width: 0; }
.contact-link .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-ico {
  width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: rgba(212, 163, 89, .2); color: var(--primary); transition: transform .2s;
}
.contact-ico .material-symbols-outlined { font-size: 20px; }
.contact-link:hover .contact-ico { transform: scale(1.05); }
.assurance { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 4px; color: var(--on-variant); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; text-align: left; }
.assurance .material-symbols-outlined { color: var(--primary); font-size: 14px; flex: none; }

/* ============ Footer ============ */
.site-footer { margin-top: 48px; padding: 28px 0; background: var(--surface-low); }
.divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; color: var(--primary); }
.divider i { display: block; height: 1px; width: 48px; background: rgba(79, 69, 56, .5); }
.footer-text { text-align: center; display: grid; gap: 4px; }
.footer-brand { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--primary); letter-spacing: .02em; }
.footer-links { display: flex; justify-content: center; gap: 28px; margin-top: 16px; font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--on-variant); }
.footer-links a, .footer-links button { min-height: 44px; display: inline-flex; align-items: center; transition: color .2s; }
.footer-links a:hover, .footer-links button:hover { color: var(--primary); }
.copyright { text-align: center; margin-top: 16px; padding-top: 8px; font-size: 10px; }

/* ============ Bottom nav (mobile) ============ */
.bottom-nav {
  position: fixed; inset: auto 0 0 0; z-index: 50;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex; justify-content: space-around; align-items: center;
  background: rgba(17, 19, 23, .9);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .6);
}
.bottom-nav a {
  flex: 1; min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--on-variant); transition: color .2s;
}
.bottom-nav a .material-symbols-outlined { font-size: 22px; }
.bottom-nav a:hover { color: var(--on-surface); }
.bottom-nav a.active { color: var(--primary); font-weight: 600; }

/* ============ Modal ============ */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; visibility: hidden; pointer-events: none; }
.modal.open { visibility: visible; pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 9, 11, .75); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-dialog {
  position: relative; width: 100%; max-width: 560px; max-height: 94dvh;
  background: #1a1e24; border: 1px solid rgba(212, 163, 89, .18);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: 0 20px 48px -12px rgba(10, 11, 14, .95), 0 0 24px rgba(212, 163, 89, .05);
  transform: translateY(40px); opacity: 0; transition: transform .35s ease, opacity .35s ease;
  display: flex; flex-direction: column;
}
.modal.open .modal-dialog { transform: none; opacity: 1; }
.modal-scroll { overflow-y: auto; padding: 28px 20px calc(28px + env(safe-area-inset-bottom, 0px)); overscroll-behavior: contain; }
.modal-close {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%; color: var(--on-variant); transition: background .2s, color .2s;
}
.modal-close:hover { background: rgba(212, 163, 89, .1); color: var(--primary); }
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
.optional { text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0 16px;
  background: var(--surface-container); border: 1px solid rgba(212, 163, 89, .2);
  border-radius: var(--r); color: #f8f6f0; font-size: 16px; /* 16px prevents iOS zoom */
  transition: border-color .2s, box-shadow .2s;
  color-scheme: dark;
}
.field textarea { padding: 12px 16px; resize: vertical; min-height: 84px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f2be71' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.field input::placeholder, .field textarea::placeholder { color: rgba(168, 163, 150, .6); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary-container); box-shadow: inset 0 0 10px rgba(212, 163, 89, .1);
}
.field.invalid input, .field.invalid select { border-color: var(--error); }
.error { min-height: 0; color: var(--error); font-size: 12px; line-height: 16px; }
.error:empty { display: none; }

.stepper { display: grid; grid-template-columns: 48px 1fr 48px; border: 1px solid rgba(212, 163, 89, .2); border-radius: var(--r); background: var(--surface-container); overflow: hidden; }
.stepper button { min-height: 48px; display: grid; place-items: center; color: var(--primary); transition: background .2s; }
.stepper button:hover { background: rgba(212, 163, 89, .08); }
.stepper input { border: 0; border-radius: 0; text-align: center; padding: 0; -moz-appearance: textfield; appearance: textfield; background: transparent; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; margin: 4px 0 16px; background: var(--surface-container); border-radius: var(--r-lg); }
.summary strong { font-family: var(--font-serif); font-size: 22px; color: var(--primary); font-weight: 500; }
.fineprint { margin-top: 12px; }

/* ============ Tablet ============ */
@media (min-width: 768px) {
  :root { --gutter: 2.5rem; }
  .hero { padding: 40px 0 48px; }
  h1 { font-size: 48px; line-height: 58px; }
  .section { padding: 32px 0; }
  .headline { font-size: 28px; line-height: 38px; font-weight: 500; }
  .cards { grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
  .card-media { height: 220px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-link { flex-direction: column; text-align: center; padding: 16px 8px; }
  .contact-link .small { text-overflow: clip; }
  .modal { align-items: center; padding: 24px; }
  .modal-dialog { border-radius: var(--r-lg); max-height: 90dvh; transform: translateY(16px) scale(.98); }
  .modal-scroll { padding: 36px 36px 32px; }
}

/* ============ Desktop ============ */
@media (min-width: 1024px) {
  :root { --gutter: 4rem; --header-h: 76px; }
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .desktop-nav { display: flex; gap: 36px; }
  .desktop-nav a {
    position: relative; padding: 8px 0; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    color: var(--on-variant); transition: color .2s;
  }
  .desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--primary); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
  .desktop-nav a:hover, .desktop-nav a.active { color: var(--primary); }
  .desktop-nav a.active::after, .desktop-nav a:hover::after { transform: scaleX(1); }

  .hero { padding: 72px 0 88px; }
  .hero-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 64px; }
  .hero-copy { align-items: flex-start; text-align: left; flex: 1.2; }
  h1 { font-size: 56px; line-height: 68px; letter-spacing: -.01em; }
  .trust-strip { max-width: 520px; gap: 12px; margin-top: 40px; }
  .trust-item { padding: 16px 8px; }
  .guide-card { flex: 0.8; max-width: 440px; padding: 32px; }
  .portrait { width: 144px; height: 184px; }
  .guide-text { font-size: 17px; font-weight: 300; line-height: 28px; max-width: 360px; }

  .section { padding: 48px 0; }
  .headline { font-size: 40px; line-height: 52px; font-weight: 400; }
  .section-head .headline { font-size: 40px; }
  .cards { gap: 32px; }
  .card-media { height: 280px; }
  .card:hover { transform: translateY(-2px); }
  .card-body { padding: 32px; }
  .title { font-size: 22px; line-height: 30px; font-weight: 500; }
  .small { font-size: 14px; }

  .contact-card { padding: 56px 64px; }
  .site-footer { padding: 48px 0 32px; }
  .modal-dialog { max-width: 620px; }
}

/* ============ Small phones ============ */
@media (max-width: 380px) {
  h1 { font-size: 32px; line-height: 40px; }
  .brand-city { font-size: 19px; }
  .card-body, .contact-card { padding: 20px; }
  .meta-grid { padding: 8px 12px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}