/* =========================================================
   PAK-QATAR RENT A CAR — design tokens
   Palette pulled from the client's own emblem: Qatari maroon,
   laurel-wreath emerald, and a brass/gold "certified" accent
   standing in for the wax-seal ribbon on the logo.
   ========================================================= */
:root{
  --bg:        #0a0c0f;
  --surface:   #14171d;
  --surface-2: #1b1f27;
  --line:      #2a2f38;

  --maroon:        #7c1233;
  --maroon-bright: #b8244e;
  --emerald:       #0f7a50;
  --emerald-bright:#17a86c;
  --gold:          #cda23e;
  --gold-bright:   #e8c268;

  --text:   #f2efe9;
  --muted:  #9aa1ab;
  --muted-2:#6b7280;

  --font-display: "Fraunces", serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --container: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(.22,.68,.32,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
address{ font-style:normal; }
h1,h2,h3{ font-family:var(--font-display); font-weight:600; margin:0; letter-spacing:-.01em; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* =============== LOADER =============== */
.loader{
  position:fixed; inset:0; z-index:999;
  background:var(--bg);
  display:flex; align-items:center; justify-content:center;
  transition:opacity .6s var(--ease), visibility .6s var(--ease);
}
.loader.is-hidden{ opacity:0; visibility:hidden; }
.loader-mark{
  width:72px; height:72px; border-radius:50%;
  overflow:hidden; border:2px solid var(--gold);
  animation:loader-pulse 1.3s ease-in-out infinite;
}
.loader-mark img{ width:100%; height:100%; object-fit:cover; }
@keyframes loader-pulse{
  0%,100%{ transform:scale(1); box-shadow:0 0 0 0 rgba(205,162,62,.35); }
  50%{ transform:scale(1.06); box-shadow:0 0 0 14px rgba(205,162,62,0); }
}

/* subtle grain for texture, sits above everything, ignores pointer */
.grain{
  position:fixed; inset:0; z-index:998; pointer-events:none;
  opacity:.035; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* =============== BUTTONS =============== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  padding:.75em 1.4em;
  font-family:var(--font-body); font-weight:700; font-size:.92rem;
  border-radius:999px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .35s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-lg{ padding:.95em 1.8em; font-size:1rem; }
.btn-gold{ background:linear-gradient(135deg,var(--gold-bright),var(--gold)); color:#1a1305; }
.btn-gold:hover{ background:linear-gradient(135deg,#f0d488,var(--gold-bright)); }
.btn-outline{ border-color:rgba(242,239,233,.35); color:var(--text); background:transparent; }
.btn-outline:hover{ border-color:var(--gold); color:var(--gold-bright); }
.btn-ghost{ color:var(--text); background:rgba(255,255,255,.06); }
.btn-ghost:hover{ background:rgba(255,255,255,.12); }
.btn-ghost-dark{ color:var(--bg); background:rgba(10,12,15,.08); border-color:rgba(10,12,15,.25); }
.btn-ghost-dark:hover{ background:rgba(10,12,15,.16); }
.wa-icon{ width:16px; height:16px; fill:currentColor; }

/* =============== NAVBAR =============== */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:200;
  padding:18px 0;
  transition:padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.is-scrolled{
  padding:10px 0;
  background:rgba(10,12,15,.82);
  backdrop-filter:blur(14px) saturate(140%);
  box-shadow:0 8px 30px rgba(0,0,0,.35);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:var(--container); margin:0 auto; padding:0 24px;
  display:flex; align-items:center; gap:24px;
}
.brand{ display:flex; align-items:center; gap:12px; margin-right:auto; }
.brand-mark{
  width:44px; height:44px; border-radius:50%; overflow:hidden; flex:none;
  border:2px solid var(--gold);
}
.brand-mark img{ width:100%; height:100%; object-fit:cover; }
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-text strong{ font-family:var(--font-display); font-size:1.08rem; font-weight:700; }
.brand-text em{ font-style:normal; font-size:.68rem; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }

.nav-links{ display:flex; gap:30px; }
.nav-links a{
  font-size:.9rem; font-weight:600; color:var(--muted);
  position:relative; padding:4px 0;
  transition:color .25s var(--ease);
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:1px;
  background:var(--gold); transition:width .3s var(--ease);
}
.nav-links a:hover{ color:var(--text); }
.nav-links a:hover::after{ width:100%; }

.nav-actions{ display:flex; align-items:center; gap:10px; }
.nav-burger{
  display:none; width:38px; height:38px; border-radius:8px;
  background:rgba(255,255,255,.06); border:none; cursor:pointer;
  flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.nav-burger span{ width:18px; height:2px; background:var(--text); transition:transform .3s var(--ease), opacity .3s var(--ease); }

/* =============== HERO =============== */
.hero{
  position:relative; min-height:100svh; display:flex; align-items:flex-end;
  overflow:hidden;
}
.hero-video{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center 30%;
  z-index:0;
}
.hero-scrim{
  position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(180deg, rgba(10,12,15,.55) 0%, rgba(10,12,15,.35) 35%, rgba(10,12,15,.75) 78%, var(--bg) 100%);
}
.hero-vignette{
  position:absolute; inset:0; z-index:1;
  background:radial-gradient(ellipse at 50% 30%, transparent 35%, rgba(0,0,0,.55) 100%);
  mix-blend-mode:multiply;
}
.hero-content{
  position:relative; z-index:2;
  max-width:var(--container); width:100%; margin:0 auto;
  padding:170px 24px 96px;
}
.eyebrow{
  font-family:var(--font-mono); font-size:.76rem; letter-spacing:.18em; text-transform:uppercase;
  color:var(--gold-bright); margin:0 0 18px;
  display:flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:""; width:26px; height:1px; background:var(--gold-bright); }
.eyebrow-dark{ color:var(--maroon-bright); }
.eyebrow-dark::before{ background:var(--maroon-bright); }

.hero h1{
  font-size:clamp(2.7rem, 7vw, 5.2rem);
  line-height:.98; font-weight:600; color:var(--text);
  max-width:14ch;
}
.hero h1 .hl{
  font-style:italic; font-weight:500;
  background:linear-gradient(100deg,var(--gold-bright),var(--emerald-bright) 85%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-sub{
  margin:26px 0 0; max-width:46ch;
  font-size:1.08rem; line-height:1.65; color:#d6d3cc;
}
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; margin-top:38px; }

.scroll-cue{
  position:absolute; right:32px; bottom:34px; z-index:2;
  width:26px; height:44px; border:1.5px solid rgba(242,239,233,.4); border-radius:20px;
  display:flex; justify-content:center; padding-top:8px;
}
.scroll-cue span{ width:4px; height:8px; border-radius:2px; background:var(--gold-bright); animation:scroll-cue 1.8s ease-in-out infinite; }
@keyframes scroll-cue{ 0%{ opacity:1; transform:translateY(0);} 70%{opacity:0; transform:translateY(14px);} 100%{opacity:0;} }

/* =============== STATS =============== */
.stats{ background:var(--surface); border-bottom:1px solid var(--line); }
.stats-inner{
  max-width:var(--container); margin:0 auto; padding:52px 24px;
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
}
.stat{ text-align:left; border-left:2px solid var(--gold); padding-left:18px; }
.stat-num{ font-family:var(--font-display); font-size:2.6rem; font-weight:600; color:var(--text); }
.stat-suffix{ font-family:var(--font-display); font-size:2.6rem; font-weight:600; color:var(--text); }
.stat-label{ display:block; margin-top:6px; font-size:.85rem; color:var(--muted); max-width:20ch; }

/* =============== SECTION HEAD (shared) =============== */
.section-head{ max-width:var(--container); margin:0 auto; padding:0 24px; text-align:left; }
.section-head h2{ font-size:clamp(1.9rem,3.6vw,2.7rem); margin:14px 0 12px; }
.section-sub{ max-width:52ch; color:var(--muted); font-size:1.02rem; line-height:1.6; margin:0; }

/* =============== ARMORED FEATURE =============== */
.armored{ background:var(--bg); padding:120px 0 110px; position:relative; }
.armored::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(600px 400px at 85% 15%, rgba(124,18,51,.25), transparent 60%),
    radial-gradient(500px 380px at 10% 90%, rgba(15,122,80,.18), transparent 60%);
}
.armored-inner{
  position:relative; z-index:1;
  max-width:var(--container); margin:0 auto; padding:0 24px;
  display:grid; grid-template-columns:1.05fr 1fr; gap:70px; align-items:center;
}

.armored-gallery{ position:relative; }
.gallery-frame{
  border-radius:var(--radius); overflow:hidden; border:1px solid var(--line);
  background:var(--surface); aspect-ratio:4/5;
}
.gallery-frame img{ width:100%; height:100%; object-fit:cover; transition:opacity .4s var(--ease); }
.gallery-thumbs{ display:flex; gap:12px; margin-top:14px; }
.thumb{
  width:78px; height:60px; border-radius:8px; overflow:hidden; padding:0;
  border:2px solid transparent; cursor:pointer; background:var(--surface);
  opacity:.6; transition:opacity .25s var(--ease), border-color .25s var(--ease);
}
.thumb img{ width:100%; height:100%; object-fit:cover; }
.thumb.is-active,.thumb:hover{ opacity:1; border-color:var(--gold); }

.seal{
  position:absolute; top:-26px; right:-26px; z-index:3;
  width:112px; height:112px;
  filter:drop-shadow(0 6px 18px rgba(0,0,0,.45));
}
.seal-svg{ width:100%; height:100%; }
.seal-hex{ fill:var(--bg); stroke:var(--gold); stroke-width:2; }
.seal-ring{
  transform-box:view-box; transform-origin:60px 60px;
  animation:seal-spin 22s linear infinite;
}
.seal-txt-a,.seal-txt-b,.seal-txt-c{
  font-family:var(--font-mono); text-anchor:middle; fill:var(--gold-bright);
  font-size:8px; letter-spacing:.06em;
}
.seal-txt-b{ fill:var(--text); font-size:9px; font-weight:600; }
@keyframes seal-spin{ from{ transform:rotate(0);} to{ transform:rotate(360deg);} }

.armored-copy h2{ font-size:clamp(2rem,3.6vw,2.9rem); margin:14px 0 20px; }
.armored-text{ color:var(--muted); font-size:1.02rem; line-height:1.7; max-width:48ch; margin:0 0 28px; }

.spec-list{ display:grid; gap:11px; margin-bottom:32px; }
.spec-list li{
  display:flex; justify-content:space-between; align-items:baseline; gap:16px;
  padding-bottom:11px; border-bottom:1px dashed var(--line);
  font-family:var(--font-mono); font-size:.85rem;
}
.spec-list li span{ color:var(--muted-2); text-transform:uppercase; letter-spacing:.05em; }
.spec-list li b{ color:var(--text); font-weight:600; text-align:right; }

.price-cards{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:30px; }
.price-card{
  border:1px solid var(--line); border-radius:12px; padding:18px 18px 16px;
  background:var(--surface);
}
.price-card-featured{
  border-color:var(--gold); background:linear-gradient(160deg, rgba(205,162,62,.14), rgba(205,162,62,.02));
}
.price-tag{ display:block; font-family:var(--font-mono); font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.price-amount{ font-family:var(--font-display); font-size:1.7rem; font-weight:600; color:var(--text); }
.price-amount small{ font-family:var(--font-mono); font-size:.6em; color:var(--muted); font-weight:400; }
.armored-actions{ display:flex; flex-wrap:wrap; gap:14px; }

/* =============== FLEET =============== */
.fleet{ padding:110px 0; background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.fleet-grid{
  max-width:var(--container); margin:56px auto 0; padding:0 24px;
  display:grid; grid-template-columns:repeat(4,1fr); gap:22px;
}
.fleet-card{
  background:var(--surface-2); border:1px solid var(--line); border-radius:var(--radius);
  padding:32px 26px; transition:transform .4s var(--ease), border-color .4s var(--ease);
}
.fleet-card:hover{ transform:translateY(-6px); border-color:var(--gold); }
.fleet-icon{ width:52px; height:34px; color:var(--gold-bright); margin-bottom:22px; }
.fleet-icon svg{ width:100%; height:100%; }
.fleet-card h3{ font-size:1.15rem; margin-bottom:10px; }
.fleet-card p{ color:var(--muted); font-size:.9rem; line-height:1.6; margin:0 0 18px; }
.fleet-link{ font-size:.85rem; font-weight:700; color:var(--emerald-bright); }
.fleet-link:hover{ color:var(--gold-bright); }

.fleet-rates{ display:grid; gap:9px; margin:0 0 20px; padding-top:14px; border-top:1px dashed var(--line); }
.fleet-rates li{
  display:flex; justify-content:space-between; align-items:baseline; gap:12px;
  font-family:var(--font-mono); font-size:.78rem;
}
.fleet-rates li span{ color:var(--muted-2); }
.fleet-rates li b{ color:var(--gold-bright); font-weight:600; white-space:nowrap; }

.fleet-photos{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:20px; border-radius:10px; overflow:hidden; }
.fleet-photos img{ width:100%; height:78px; object-fit:cover; border-radius:8px; display:block; transition:transform .4s var(--ease); }
.fleet-photos img:hover{ transform:scale(1.06); }
.fleet-photos.single{ grid-template-columns:1fr; }
.fleet-photos.single img{ height:120px; }

/* =============== WHY US =============== */
.why{ padding:110px 0; background:var(--bg); }
.why-grid{
  max-width:var(--container); margin:56px auto 0; padding:0 24px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:var(--line); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
}
.why-card{ background:var(--bg); padding:38px 30px; }
.why-num{
  font-family:var(--font-mono); font-size:.8rem; color:var(--gold-bright);
  display:block; margin-bottom:14px; letter-spacing:.05em;
}
.why-card h3{ font-size:1.12rem; margin-bottom:10px; }
.why-card p{ color:var(--muted); font-size:.9rem; line-height:1.6; margin:0; }

/* =============== CONTACT =============== */
.contact{ padding:110px 0 100px; background:linear-gradient(180deg,var(--surface),var(--bg)); }
.contact-inner{
  max-width:var(--container); margin:0 auto; padding:0 24px;
  display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:start;
}
.contact-copy h2{ font-size:clamp(1.9rem,3.6vw,2.6rem); margin:14px 0 16px; }
.contact-address{ display:block; margin:26px 0 22px; color:var(--muted); line-height:1.7; }

.contact-cards{ display:grid; gap:18px; }
.person-card{
  background:linear-gradient(160deg, var(--gold-bright), var(--gold) 55%, #a9812b);
  color:#1c1607; border-radius:var(--radius); padding:26px 26px;
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
}
.person-avatar{
  width:52px; height:52px; border-radius:50%; flex:none;
  background:rgba(26,19,5,.15); display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:700; font-size:1.1rem;
}
.person-info{ margin-right:auto; }
.person-info h3{ font-size:1.15rem; margin-bottom:2px; }
.person-info span{ font-size:.8rem; opacity:.75; text-transform:uppercase; letter-spacing:.05em; }
.person-actions{ display:flex; gap:10px; }

/* =============== FOOTER =============== */
.footer{ background:var(--bg); border-top:1px solid var(--line); padding:40px 0; }
.footer-inner{
  max-width:var(--container); margin:0 auto; padding:0 24px;
  display:flex; align-items:center; gap:24px; flex-wrap:wrap;
}
.brand-footer{ margin-right:auto; }
.footer-contacts{ display:flex; gap:22px; flex-wrap:wrap; }
.footer-contacts a{ font-size:.85rem; color:var(--muted); }
.footer-contacts a:hover{ color:var(--gold-bright); }
.footer-copy{ width:100%; margin:26px 0 0; font-size:.78rem; color:var(--muted-2); }

/* =============== FLOATING WHATSAPP =============== */
.fab-wa{
  position:fixed; right:22px; bottom:22px; z-index:150;
  width:56px; height:56px; border-radius:50%;
  background:linear-gradient(135deg,#25d366,#128c4a);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 30px rgba(18,140,74,.45);
  animation:fab-breathe 2.6s ease-in-out infinite;
}
.fab-wa svg{ width:28px; height:28px; fill:#fff; }
.fab-wa:hover{ animation-play-state:paused; transform:scale(1.08); }
@keyframes fab-breathe{ 0%,100%{ box-shadow:0 10px 30px rgba(18,140,74,.45);} 50%{ box-shadow:0 10px 40px rgba(18,140,74,.75);} }

/* =============== REVEAL ON SCROLL =============== */
[data-reveal]{
  opacity:0; transform:translateY(26px);
  transition:opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible{ opacity:1; transform:translateY(0); }

/* =============== RESPONSIVE =============== */
@media (max-width: 980px){
  .nav-links{
    position:fixed; top:0; right:0; height:100vh; width:min(78vw,320px);
    background:rgba(10,12,15,.98); backdrop-filter:blur(16px);
    display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
    gap:26px; padding:40px; transform:translateX(100%);
    transition:transform .4s var(--ease);
    border-left:1px solid var(--line); z-index:199;
  }
  .nav-links.is-open{ transform:translateX(0); }
  .nav-links a{ font-size:1.15rem; color:var(--text); }
  .nav-burger{ display:flex; z-index:201; }
  .nav-burger.is-active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-burger.is-active span:nth-child(2){ opacity:0; }
  .nav-burger.is-active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
  .stats-inner{ grid-template-columns:repeat(2,1fr); }
  .armored-inner{ grid-template-columns:1fr; gap:50px; }
  .fleet-grid{ grid-template-columns:repeat(2,1fr); }
  .why-grid{ grid-template-columns:1fr 1fr; }
  .contact-inner{ grid-template-columns:1fr; gap:44px; }
  .seal{ width:88px; height:88px; top:-18px; right:-14px; }
}
@media (max-width: 600px){
  .nav-actions .btn-ghost{ display:none; }
  .hero-content{ padding:130px 20px 70px; }
  .hero-sub{ font-size:1rem; }
  .stats-inner{ grid-template-columns:1fr 1fr; gap:26px 20px; padding:40px 20px; }
  .stat-num,.stat-suffix{ font-size:2rem; }
  .fleet-grid{ grid-template-columns:1fr; }
  .why-grid{ grid-template-columns:1fr; }
  .price-cards{ grid-template-columns:1fr; }
  .armored{ padding:80px 0 70px; }
  .fleet, .why, .contact{ padding:80px 0; }
  .person-card{ padding:22px; }
}
