/* Sunbelt First National — mashrabiya-court (Dubai Luxury) */
@import url('https://fonts.googleapis.com/css2?family=Tenor%20Sans:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --gold: #A98033;
  --gold-deep: #705220;
  --accent: #3D2E1E;
  --surface: #F2E8D5;
  --surface-2: #FFFFFF;
  --ink: #2A1F12;
  --ink-soft: #2A1F12cc;
  --ink-fade: #2A1F1288;
  --hairline: #A9803333;
  --hairline-strong: #A9803366;
  --font-display: 'Tenor Sans', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-luxe: 0 1px 0 #A980331a, 0 30px 60px -30px #3D2E1E66;
  --pattern: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwIiB4PSIwIiB5PSIwIiB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiPjxnIHN0cm9rZT0iI0E5ODAzMyIgc3Ryb2tlLW9wYWNpdHk9IjAuMSIgc3Ryb2tlLXdpZHRoPSIwLjgiIGZpbGw9Im5vbmUiPjxjaXJjbGUgY3g9IjMwIiBjeT0iMzAiIHI9IjE0Ii8+PGNpcmNsZSBjeD0iMCIgIGN5PSIwIiAgcj0iMTQiLz48Y2lyY2xlIGN4PSI2MCIgY3k9IjAiICByPSIxNCIvPjxjaXJjbGUgY3g9IjAiICBjeT0iNjAiIHI9IjE0Ii8+PGNpcmNsZSBjeD0iNjAiIGN5PSI2MCIgcj0iMTQiLz48L2c+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3ApIi8+PC9zdmc+");
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; margin: 0 0 1.2rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.15; margin: 0 0 1rem; }
h3 { font-size: 1.3rem; margin: 0 0 0.6rem; }
p  { margin: 0 0 1rem; color: var(--ink-soft); }
a  { color: var(--gold-deep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
.eyebrow, .hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
  display: block;
}

/* ---------- Topbar ---------- */
.topbar {
  background: #F2E8D5;
  border-bottom: 1px solid var(--hairline);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: #F2E8D5e0;
}
.topbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #FFF;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 #ffffff33, 0 1px 2px #3D2E1E33;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.brand-tag { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-fade); margin-top: 4px; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 0.92rem; color: var(--ink-soft); font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--gold-deep); border-bottom-color: var(--gold); }
.nav-cta { display: flex; gap: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #FFFFFF;
  border: 1px solid var(--gold-deep);
  box-shadow: 0 1px 0 #ffffff44 inset, 0 4px 14px #A9803355;
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 1px 0 #ffffff66 inset, 0 6px 20px #A9803388; color: #FFF; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--hairline-strong); }
.btn-ghost:hover { background: var(--gold); color: #FFF; border-color: var(--gold); }
.btn-ghost-light { background: transparent; color: #F2E8D5; border: 1px solid #A9803366; }
.btn-ghost-light:hover { background: var(--gold); color: #0A0A0A; }

/* ---------- Hero (universal scaffold; per-variant tweaks below) ---------- */
.hero {
  position: relative;
  min-height: 560px;
  padding: 100px 32px 110px;
  overflow: hidden;
}
.hero-art {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero-copy {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  width: 100%;
}
.hero-copy h1 { max-width: 700px; }
.hero-copy p { max-width: 560px; font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-copy-center { text-align: center; }
.hero-copy-center h1, .hero-copy-center p { margin-left: auto; margin-right: auto; }
.hero-copy-center .hero-cta { justify-content: center; }

/* ---------- Hero variants ---------- */
.hero-skyline { background: linear-gradient(180deg, #F2E8D5 0%, #F2E8D5 70%, #A9803311 100%); }
.hero-sapphire { background: linear-gradient(135deg, #3D2E1E 0%, #3D2E1Edd 70%, #A9803333 100%); color: #F2E8D5; }
.hero-sapphire h1 { color: #F2E8D5; }
.hero-sapphire p { color: #F2E8D5cc; }
.hero-sapphire .hero-eyebrow { color: #A98033; }
.hero-sapphire .btn-ghost { color: #F2E8D5; border-color: #A9803366; }
.hero-onyx { background: radial-gradient(ellipse at center, #1a1611 0%, #050505 80%); }
.hero-onyx h1 { color: #F4E8C7; }
.hero-onyx p { color: #d3c890aa; }
.hero-onyx .hero-eyebrow { color: var(--gold); }
.hero-screen { background: #F2E8D5; }
.hero-pattern-overlay {
  position: absolute; inset: 0;
  background-image: var(--pattern);
  opacity: 0.6; z-index: 0;
}
.hero-pearl { background: #F2E8D5; }
.hero-palm  { background: #F2E8D5; }
.hero-tile  { background: #F2E8D5; }
.hero-tile-pattern { position: absolute; inset: 0; background-image: var(--pattern); opacity: 0.5; z-index: 0; }
.hero-mosaic-bg { position: absolute; inset: 0; background-image: var(--pattern); opacity: 0.55; z-index: 0; }
.hero-spire { background: linear-gradient(180deg, #3D2E1E0f 0%, #F2E8D5 50%); }
.hero-medallion { background: linear-gradient(135deg, #F2E8D5 0%, #A980331a 100%); }
.hero-forged { background: #F2E8D5; }
.hero-crescent { background: linear-gradient(180deg, #3D2E1E22 0%, #F2E8D5 100%); }
.hero-spread { background: #F2E8D5; }

/* ---------- Sections ---------- */
section { padding: 90px 32px; }
.container { max-width: 1280px; margin: 0 auto; }
.divider-gold {
  display: block; width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  margin: 0 0 24px;
}
.divider-gold.center { margin: 0 auto 24px; }
.section-eyebrow {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 12px; display: block;
}

/* ---------- Stat row ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  margin: 60px 0;
}
.stat {
  background: var(--surface-2);
  padding: 38px 28px;
  text-align: center;
}
.stat-num { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-deep); font-weight: 600; line-height: 1; }
.stat-lbl { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-fade); margin-top: 10px; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Services grid ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 50px; }
.service {
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  padding: 38px 32px;
  position: relative;
  transition: all .25s;
}
.service:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-luxe); }
.service-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold)22, var(--gold)0a);
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  margin-bottom: 22px;
}
.service h3 { font-size: 1.2rem; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }

/* ---------- Rates table ---------- */
.rates-table {
  margin-top: 36px;
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
}
.rates-table th, .rates-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--hairline); }
.rates-table th { font-family: var(--font-display); font-weight: 600; color: var(--ink); background: #A980330d; font-size: 0.92rem; }
.rates-table td.apy { font-family: var(--font-display); color: var(--gold-deep); font-weight: 600; font-size: 1.15rem; }

/* ---------- Testimonial / pull quote ---------- */
.pull {
  margin: 80px auto; max-width: 760px; text-align: center;
  padding: 50px 30px; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.pull blockquote { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.4; color: var(--ink); margin: 0 0 18px; font-style: italic; }
.pull cite { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); font-style: normal; }

/* ---------- Footer ---------- */
footer {
  background: #1A1611;
  color: #F2E8D5;
  padding: 70px 32px 30px;
}
footer h4 { color: var(--gold); font-size: 0.92rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); }
footer a { color: #F2E8D5aa; display: block; padding: 4px 0; font-size: 0.92rem; }
footer a:hover { color: var(--gold); }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; }
.footer-bottom { max-width: 1280px; margin: 50px auto 0; padding-top: 24px; border-top: 1px solid #A9803333; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; font-size: 0.82rem; color: #F2E8D588; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Arabic accent ---------- */
.arabic-tag { font-family: 'Amiri', serif; color: var(--gold-deep); font-size: 1.1rem; display: inline-block; margin-left: 8px; opacity: 0.7; }

@media (max-width: 720px) {
  .nav { display: none; }
  section { padding: 60px 22px; }
  .hero { padding: 70px 22px 80px; min-height: 480px; }
}
