/* ============================================
   A S Management Consultancy — asmanagement.ae
   Navy / Gold / White — luxury advisory identity
   ============================================ */

:root {
  --navy:        #152139;
  --navy-deep:   #0F1829;
  --navy-soft:   #1E2D4A;
  --navy-line:   #2A3A5C;
  --gold:        #C5A767;
  --gold-light:  #DCC089;
  --gold-pale:   #EFE2C4;
  --cream:       #FAF8F3;
  --paper:       #FFFFFF;
  --ink:         #1A2238;
  --ink-soft:    #4A5573;
  --hairline:    rgba(197,167,103,0.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

h1,h2,h3,h4 { font-family: 'Lora', serif; font-weight: 600; line-height: 1.18; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); display: inline-block; }

.section { padding: 110px 0; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); color: var(--navy); }
.section-head p { margin-top: 18px; color: var(--ink-soft); font-size: 16px; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,24,41,0); transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding: 22px 0;
}
.nav.scrolled {
  background: rgba(15,24,41,0.96); box-shadow: 0 10px 30px -15px rgba(0,0,0,0.6);
  padding: 14px 0; backdrop-filter: blur(8px);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: 'Lora', serif; font-size: 17px; color: var(--cream); font-weight: 600; }
.brand-sub { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 13px; letter-spacing: 0.04em; color: var(--cream); font-weight: 300;
  position: relative; transition: color 0.2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--gold); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: 'Poppins', sans-serif; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 500; padding: 13px 26px;
  border-radius: 2px; transition: all 0.25s ease; border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(197,167,103,0.8); }
.btn-outline { border-color: var(--gold); color: var(--gold-light); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--navy-deep); }
.nav .btn { padding: 11px 22px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--cream); transition: 0.3s; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background:
    radial-gradient(circle at 78% 28%, rgba(197,167,103,0.10) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(30,45,74,0.6) 0%, transparent 50%),
    linear-gradient(155deg, var(--navy-soft) 0%, var(--navy) 50%, var(--navy-deep) 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 80px 80px; opacity: 0.25;
  mask-image: radial-gradient(circle at 70% 50%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 70% 50%, black, transparent 70%);
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; padding: 120px 0 80px; }
.hero h1 {
  font-size: clamp(38px, 6vw, 68px); color: var(--cream); letter-spacing: 0.005em;
}
.hero h1 .accent { color: var(--gold-light); font-style: italic; }
.hero p {
  margin-top: 28px; font-size: clamp(15px, 2vw, 18px); color: rgba(250,248,243,0.78);
  font-weight: 300; max-width: 560px;
}
.hero-cta { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 64px; display: flex; gap: 48px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid rgba(197,167,103,0.2); max-width: 560px;
}
.hero-meta .stat .num { font-family: 'Lora', serif; font-size: 26px; color: var(--gold-light); }
.hero-meta .stat .lbl { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(250,248,243,0.6); margin-top: 4px; }
.hero-emblem {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 460px; height: 460px; opacity: 0.16; z-index: 1;
  border-radius: 50%;
}

/* ============================================
   ABOUT
   ============================================ */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-text p { color: var(--ink-soft); margin-bottom: 18px; }
.about-text p:first-of-type { font-size: 19px; color: var(--ink); font-family: 'Lora', serif; line-height: 1.5; }
.about-panel {
  background: linear-gradient(155deg, var(--navy-soft), var(--navy) 60%, var(--navy-deep));
  border-radius: 4px; padding: 48px; position: relative; overflow: hidden;
}
.about-panel::after {
  content: ""; position: absolute; top: 18px; right: 18px; bottom: 18px; left: 18px;
  border: 1px solid rgba(197,167,103,0.3); border-radius: 2px; pointer-events: none;
}
.about-panel .pillar { position: relative; padding: 18px 0; border-bottom: 1px solid rgba(197,167,103,0.18); }
.about-panel .pillar:last-child { border-bottom: none; }
.about-panel .pillar h4 { color: var(--gold-light); font-size: 16px; margin-bottom: 6px; }
.about-panel .pillar p { color: rgba(250,248,243,0.72); font-size: 13.5px; }

/* ============================================
   SERVICES
   ============================================ */
.services { background: var(--paper); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.svc-card {
  background: var(--cream); border: 1px solid rgba(26,34,56,0.08); border-radius: 4px;
  padding: 44px; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform 0.35s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(21,33,57,0.4); border-color: transparent; }
.svc-card:hover::before { transform: scaleY(1); }
.svc-num { font-family: 'Lora', serif; font-size: 14px; color: var(--gold); letter-spacing: 0.1em; }
.svc-card h3 { font-size: 24px; color: var(--navy); margin: 14px 0 16px; }
.svc-card > p { color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; }
.svc-list { list-style: none; }
.svc-list li {
  font-size: 14px; color: var(--ink); padding: 9px 0 9px 26px; position: relative;
  border-top: 1px solid rgba(26,34,56,0.07);
}
.svc-list li::before {
  content: ""; position: absolute; left: 4px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; background: var(--gold); border-radius: 50%;
}

/* ============================================
   WHY US
   ============================================ */
.why { background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%); position: relative; }
.why .eyebrow { color: var(--gold-light); }
.why .section-head h2 { color: var(--cream); }
.why .section-head p { color: rgba(250,248,243,0.7); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(197,167,103,0.18); border: 1px solid rgba(197,167,103,0.18); }
.why-item { background: var(--navy-deep); padding: 42px 34px; transition: background 0.3s ease; }
.why-item:hover { background: var(--navy-soft); }
.why-ico { width: 46px; height: 46px; margin-bottom: 22px; }
.why-ico svg { width: 100%; height: 100%; stroke: var(--gold-light); fill: none; stroke-width: 1.4; }
.why-item h3 { font-size: 19px; color: var(--cream); margin-bottom: 12px; }
.why-item p { font-size: 14px; color: rgba(250,248,243,0.68); }

/* ============================================
   LOCATIONS
   ============================================ */
.locations { background: var(--cream); }
.loc-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: stretch; }
.loc-card {
  background: var(--paper); border: 1px solid rgba(26,34,56,0.08); border-radius: 4px; padding: 44px;
}
.loc-card .eyebrow { margin-bottom: 14px; }
.loc-card h3 { font-size: 24px; color: var(--navy); margin-bottom: 18px; }
.loc-detail { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(26,34,56,0.07); align-items: flex-start; }
.loc-detail:last-child { border-bottom: none; }
.loc-detail svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.6; flex-shrink: 0; margin-top: 3px; }
.loc-detail span { font-size: 14.5px; color: var(--ink); }
.loc-map { border-radius: 4px; overflow: hidden; border: 1px solid rgba(26,34,56,0.08); min-height: 340px; }
.loc-map iframe { width: 100%; height: 100%; border: 0; min-height: 340px; }

/* ============================================
   CONTACT
   ============================================ */
.contact { background: linear-gradient(155deg, var(--navy-soft) 0%, var(--navy) 55%, var(--navy-deep) 100%); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--hairline) 1px, transparent 1px), linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 80px 80px; opacity: 0.2;
  mask-image: radial-gradient(circle at 30% 50%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 30% 50%, black, transparent 70%);
}
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact .eyebrow { color: var(--gold-light); }
.contact h2 { font-size: clamp(28px, 4vw, 42px); color: var(--cream); margin-bottom: 20px; }
.contact-intro { color: rgba(250,248,243,0.78); margin-bottom: 36px; font-weight: 300; }
.contact-channels { display: flex; flex-direction: column; gap: 4px; }
.cc { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(197,167,103,0.18); transition: padding-left 0.25s ease; }
.cc:hover { padding-left: 8px; }
.cc-ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; border: 1px solid rgba(197,167,103,0.4); display: flex; align-items: center; justify-content: center; }
.cc-ico svg { width: 18px; height: 18px; stroke: var(--gold-light); fill: none; stroke-width: 1.6; }
.cc-text .l { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.cc-text .v { font-size: 15px; color: var(--cream); }

.contact-form { background: rgba(255,255,255,0.04); border: 1px solid rgba(197,167,103,0.22); border-radius: 4px; padding: 40px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; background: rgba(15,24,41,0.5); border: 1px solid rgba(197,167,103,0.25); border-radius: 2px;
  padding: 13px 15px; color: var(--cream); font-family: 'Poppins', sans-serif; font-size: 14px; transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12px; color: rgba(250,248,243,0.5); margin-top: 14px; text-align: center; }
.contact-form .btn { width: 100%; justify-content: center; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--navy-deep); padding: 56px 0 30px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-bottom: 36px; border-bottom: 1px solid rgba(197,167,103,0.15); }
.footer .brand-name { font-size: 18px; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; color: rgba(250,248,243,0.7); transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(250,248,243,0.45); letter-spacing: 0.02em; }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,0.7); transition: transform 0.25s ease;
  animation: wa-pulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes wa-pulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,0.5);} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0);} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0);} }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .about-grid, .svc-grid, .loc-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-emblem { display: none; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); flex-direction: column;
    background: var(--navy-deep); padding: 100px 36px 40px; gap: 26px; align-items: flex-start;
    transform: translateX(100%); transition: transform 0.35s ease; box-shadow: -20px 0 50px -20px rgba(0,0,0,0.6);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: flex; z-index: 101; }
}
@media (max-width: 560px) {
  .section { padding: 76px 0; }
  .wrap { padding: 0 20px; }
  .about-panel, .svc-card, .loc-card, .contact-form { padding: 30px; }
  .hero-meta { gap: 28px; }
}
