:root {
  --sand-50: #fbf7f0;
  --sand-100: #f4ecdd;
  --sand-200: #e8d8bb;
  --sand-500: #c8954a;
  --sand-600: #b07a2e;
  --ink-900: #1c1a17;
  --ink-700: #3d3832;
  --ink-500: #6b645b;
  --navy-900: #14202e;
  --navy-800: #1d2d40;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 32, 46, 0.08);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink-700);
  background: var(--sand-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: "Playfair Display", Georgia, serif; color: var(--ink-900); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin-bottom: 1rem; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sand-600); margin-bottom: .8rem;
}
.lead { font-size: 1.12rem; color: var(--ink-500); max-width: 640px; }
.section { padding: 90px 0; }
.section-alt { background: var(--white); }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head .lead { margin: 12px auto 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; transition: transform .2s, background .2s, color .2s, box-shadow .2s;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
}
.btn svg, .card-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn { white-space: nowrap; }
.btn-primary { background: var(--sand-500); color: var(--white); }
.btn-primary:hover { background: var(--sand-600); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(200,149,74,.35); }
.btn-outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy-900); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-dark:hover { background: var(--navy-800); transform: translateY(-2px); }

/* Header */
.topbar { background: var(--navy-900); color: #c9d2dc; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a:hover { color: var(--sand-200); }
.topbar span { display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; }
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(251,247,240,.95);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--sand-100);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sand-500), var(--navy-900)); color: var(--white);
  font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.1rem;
}
.logo-text strong { display: block; font-family: "Playfair Display", serif; font-size: 1.2rem; color: var(--ink-900); line-height: 1.1; }
.logo-text small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--sand-500); transition: width .25s;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--sand-600); }
.nav .btn { padding: 10px 20px; }
.nav .btn::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink-900); margin: 5px 0; transition: .3s; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(1200px 500px at 85% 110%, rgba(200,149,74,.45), transparent 60%),
              linear-gradient(135deg, rgba(20,32,46,.92) 0%, rgba(29,45,64,.88) 60%, rgba(58,51,38,.85) 100%),
              url('../images/jebel-ali-hub.webp') center/cover no-repeat;
  padding: 110px 0 130px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; max-width: 760px; }
.hero h1 em { font-style: normal; color: var(--sand-200); }
.hero .lead { color: #c9d2dc; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dunes { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; }
.hero-stats { display: flex; gap: 48px; margin-top: 60px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: "Playfair Display", serif; font-size: 2.2rem; color: var(--sand-200); }
.hero-stats div span { font-size: .85rem; color: #aab6c3; }

.page-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: var(--white); padding: 80px 0 90px; position: relative; overflow: hidden;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero .lead { color: #c9d2dc; }
.breadcrumb { font-size: .85rem; color: #aab6c3; margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--sand-200); }

/* Cards / grids */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
  border: 1px solid var(--sand-100); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20,32,46,.12); }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--ink-500); font-size: .96rem; }
.card-media-card {
  padding: 0; overflow: hidden; display: flex; flex-direction: column;
}
.card-thumb {
  position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: var(--sand-100);
}
.card-thumb img, .card-thumb picture {
  width: 100%; height: 100%; display: block;
}
.card-thumb img {
  object-fit: cover; transition: transform .5s ease;
}
.card:hover .card-thumb img {
  transform: scale(1.05);
}
.card-body {
  padding: 24px 28px 28px; display: flex; flex-direction: column; flex-grow: 1;
}
.card-body .icon {
  margin-top: -50px; position: relative; z-index: 2;
  box-shadow: 0 6px 18px rgba(20,32,46,.14); border: 3px solid var(--white);
}
.custom-card .card-body .icon {
  border-color: var(--navy-900);
}
.card-body h3 { margin: 16px 0 8px; }
.card-body .card-link { margin-top: auto; padding-top: 14px; }
.icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sand-100); color: var(--sand-600);
}
.icon svg { width: 28px; height: 28px; }
.card-link { font-weight: 600; color: var(--sand-600); font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; }
.card-link:hover { gap: 10px; }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.split-visual {
  border-radius: 22px; min-height: 420px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--sand-200), var(--sand-500) 60%, var(--navy-800));
  box-shadow: var(--shadow);
}
.split-visual img, .split-visual picture {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.split-visual img {
  object-fit: cover; transition: transform .5s ease;
}
.split-visual:hover img {
  transform: scale(1.04);
}
.split-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,32,46,0) 40%, rgba(20,32,46,.55) 100%);
  pointer-events: none;
}
.split-visual .badge {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-radius: 14px; padding: 18px 22px; box-shadow: var(--shadow);
}
.split-visual .badge strong { display: block; font-family: "Playfair Display", serif; font-size: 1.8rem; color: var(--ink-900); }
.split-visual .badge span { font-size: .85rem; color: var(--ink-500); }
.check-list { list-style: none; margin: 22px 0 30px; }
.check-list li { padding-left: 32px; position: relative; margin-bottom: 12px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sand-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Product detail */
.product-block {
  display: grid; grid-template-columns: 340px 1fr; gap: 50px; align-items: start;
  padding: 50px 0; border-bottom: 1px solid var(--sand-200);
}
.product-block:last-child { border-bottom: 0; }
.product-visual {
  border-radius: 20px; aspect-ratio: 1/1; position: relative; overflow: hidden;
  box-shadow: var(--shadow); background: var(--sand-100); display: flex; align-items: center; justify-content: center;
}
.product-visual img, .product-visual picture {
  width: 100%; height: 100%; display: block;
}
.product-visual img {
  object-fit: cover; transition: transform .5s ease;
}
.product-visual:hover img {
  transform: scale(1.05);
}
.product-visual svg { width: 42%; height: 42%; opacity: .95; }
.pv-1 { background: linear-gradient(135deg, #c8954a, #8a5a1c); }
.pv-2 { background: linear-gradient(135deg, #d9a3a0, #8c4b5f); }
.pv-3 { background: linear-gradient(135deg, #5fa8c9, #1d4d6b); }
.pv-4 { background: linear-gradient(135deg, #8b5e3c, #3f2a1b); }
.pv-5 { background: linear-gradient(135deg, #3d4b5c, #14202e); }
.product-block h2 { margin-bottom: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.tag { background: var(--sand-100); color: var(--ink-700); padding: 7px 14px; border-radius: 999px; font-size: .86rem; font-weight: 500; }
.price-note { font-size: .88rem; color: var(--ink-500); margin-bottom: 18px; }
.product-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 10px; }
.product-tabs a {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--sand-200); background: var(--white);
  font-size: .9rem; font-weight: 500;
}
.product-tabs a:hover { border-color: var(--sand-500); color: var(--sand-600); }

/* Stats band */
.band { background: var(--navy-900); color: var(--white); padding: 70px 0; }
.band .grid-4 div { text-align: center; }
.band strong { display: block; font-family: "Playfair Display", serif; font-size: 2.6rem; color: var(--sand-200); }
.band span { color: #aab6c3; font-size: .92rem; }

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--sand-500), var(--sand-600)); color: var(--white);
  border-radius: 24px; padding: 60px; display: flex; justify-content: space-between; align-items: center; gap: 30px;
}
.cta h2 { color: var(--white); margin-bottom: 8px; }
.cta p { margin: 0; color: #fff4e3; }

/* Timeline / values */
.value { text-align: center; }
.value .icon { margin: 0 auto; }
.steps { counter-reset: step; }
.step { position: relative; padding-left: 70px; margin-bottom: 34px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0; width: 50px; height: 50px; border-radius: 50%;
  background: var(--sand-100); color: var(--sand-600); display: grid; place-items: center;
  font-weight: 700; font-family: "Playfair Display", serif;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-500); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.info-item .icon { flex-shrink: 0; width: 50px; height: 50px; }
.info-item h4 { font-family: "Inter", sans-serif; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 4px; }
.info-item p { margin: 0; color: var(--ink-900); font-weight: 500; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-900); }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--sand-200);
  background: var(--sand-50); font: inherit; color: var(--ink-900); transition: border .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--sand-500); box-shadow: 0 0 0 4px rgba(200,149,74,.15);
}
.form textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--ink-500); }
.form-status { padding: 14px 18px; border-radius: 10px; background: #e7f4ea; color: #1f6b35; font-weight: 500; }
.form-status.error { background: #fde7e7; color: #b42318; }
.form-status[hidden] { display: none; }
.field-error { display: block; color: #b42318; font-size: .82rem; margin-top: 4px; }
.form [aria-invalid="true"] { border-color: #d92d20; }
.form button:disabled { opacity: .7; cursor: wait; transform: none; }
/* Honeypot: off-screen rather than display:none, which some bots detect */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 0; width: 100%; height: 380px; }

/* FAQ */
.faq details {
  background: var(--white); border: 1px solid var(--sand-100); border-radius: 12px; padding: 20px 24px; margin-bottom: 14px;
}
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink-900); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--sand-600); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 14px 0 0; color: var(--ink-500); }

/* Footer */
.footer { background: var(--navy-900); color: #aab6c3; padding: 70px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: var(--white); font-family: "Inter", sans-serif; font-size: .95rem; margin-bottom: 18px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--sand-200); }
.footer .logo-text strong { color: var(--white); }
.footer .logo-text small { color: #aab6c3; }
.footer .credit { color: var(--sand-200); font-weight: 600; }
.footer .credit:hover { text-decoration: underline; }
.footer-bottom {border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 22px 0; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-block { grid-template-columns: 240px 1fr; gap: 32px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; background: var(--sand-50); flex-direction: column;
    align-items: stretch; gap: 0; padding: 10px 20px 24px; border-bottom: 1px solid var(--sand-200);
    max-height: calc(100vh - 76px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s, transform .25s, visibility .25s; box-shadow: var(--shadow);
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--sand-100); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .band .grid-4 { grid-template-columns: 1fr 1fr; }
  .product-block { grid-template-columns: 1fr; }
  .product-visual { max-width: 100%; aspect-ratio: 16/10; }
  .split-visual { min-height: 280px; }
  .cta { flex-direction: column; text-align: center; padding: 40px 24px; }
  .hero { padding: 80px 0 110px; }
  .hero-stats { gap: 28px; }
  .card { padding: 26px; }
}
