/* =============================================================================
   TRANSFER MARRAKECH — Design System (Luxury)
   ============================================================================= */

:root {
  --ink: #0f0f11;
  --ink-2: #17171b;
  --ink-3: #1f1f25;
  --gold: #c8a24b;
  --gold-2: #e0c27c;
  --gold-soft: rgba(200, 162, 75, 0.14);
  --cream: #f6f2ea;
  --cream-2: #fbf8f2;
  --line: #e8e2d6;
  --text: #16161a;
  --muted: #6d6a64;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 6px 24px rgba(15, 15, 17, 0.06);
  --shadow-md: 0 18px 50px rgba(15, 15, 17, 0.12);
  --shadow-lg: 0 30px 80px rgba(15, 15, 17, 0.18);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 0.6em; color: var(--ink); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: clamp(60px, 9vw, 120px) 0; }

/* ------------------------------- Eyebrow ------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 34px; height: 1px; background: var(--gold); }

.section-title { font-size: clamp(30px, 4.5vw, 48px); }
.section-sub { color: var(--muted); font-size: 17px; max-width: 620px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head .section-sub { margin: 0 auto; }

/* ------------------------------- Buttons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
  white-space: nowrap;
}
.btn svg { flex: 0 0 auto; }
.btn-gold { background: var(--gold); color: #1a1305; }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(200, 162, 75, 0.35); }
.btn-dark { background: var(--ink); color: var(--cream-2); }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 15, 17, 0.28); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-3px); }
.btn-wa { background: #25d366; color: #04310f; }
.btn-wa:hover { background: #1fb958; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(37, 211, 102, 0.3); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.18); }
.btn-lg { padding: 17px 36px; font-size: 16px; }

/* ------------------------------- Header ------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s;
}
.site-header .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  transition: padding 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(15, 15, 17, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}
.site-header.scrolled .nav-inner { padding: 12px 0; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}
.brand .brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  flex: 0 0 auto;
}
.brand .brand-mark svg { width: 20px; height: 20px; }
.brand small { display: block; font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block;
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  border-radius: 100px;
  transition: color 0.3s, background 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.08); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,0.28); border-radius: 100px; overflow: hidden; }
.lang-switch a { padding: 7px 14px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.72); }
.lang-switch a.active { background: var(--gold); color: #1a1305; }
.nav-cta { padding: 11px 22px; font-size: 14px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--white); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 17, 0.98);
  z-index: 99;
  display: none;
  flex-direction: column;
  padding: 100px 8% 40px;
  gap: 6px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--cream-2); font-family: var(--serif); font-size: 26px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }

/* ------------------------------- Hero ------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  animation: heroZoom 22s var(--ease) infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.55) 0%, rgba(10,10,12,0.35) 40%, rgba(10,10,12,0.72) 100%),
    linear-gradient(90deg, rgba(10,10,12,0.6) 0%, rgba(10,10,12,0.15) 100%);
}
.hero-content { padding: 140px 0 90px; }
.hero .hero-inner { max-width: 760px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(200,162,75,0.5);
  background: rgba(200,162,75,0.12);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 26px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(40px, 6.4vw, 78px);
  margin-bottom: 24px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.35);
}
.hero .lead {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  position: relative;
  margin-top: auto;
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(10,10,12,0.35);
  backdrop-filter: blur(6px);
}
.hero-stats .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat .stat-value { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); font-weight: 600; color: var(--gold-2); line-height: 1; margin-bottom: 6px; }
.stat .stat-label { font-size: 13px; color: rgba(255,255,255,0.65); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------- Trust ------------------------------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.trust-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-2); }
.trust-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold);
  margin-bottom: 20px;
}
.trust-icon svg { width: 26px; height: 26px; }
.trust-card h3 { font-size: 20px; margin-bottom: 8px; }
.trust-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ------------------------------- Services ------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.service-card:hover .service-img img { transform: scale(1.08); }
.service-img .price-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(15,15,17,0.82);
  backdrop-filter: blur(6px);
  color: var(--gold-2);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 13px;
  border-radius: 100px;
}
.service-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 21px; margin-bottom: 8px; }
.service-meta { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.service-meta span { display: inline-flex; align-items: center; gap: 5px; }
.service-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; flex: 1; }
.service-body .btn { margin-top: auto; }

/* ------------------------------- Pricing ------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  background: var(--ink);
  color: var(--cream-2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price-head {
  padding: 30px 30px 26px;
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.price-head .price-icon { color: var(--gold); margin-bottom: 16px; }
.price-head .price-icon svg { width: 30px; height: 30px; }
.price-head h3 { color: var(--cream-2); font-size: 22px; margin-bottom: 4px; }
.price-head small { color: rgba(255,255,255,0.5); font-size: 13px; }
.price-body { padding: 20px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 15px;
}
.price-row .amount { font-weight: 700; color: var(--gold-2); white-space: nowrap; }
.price-body .btn { margin-top: 22px; }
.pricing-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px; }

/* ------------------------------- Reviews ------------------------------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review-photo { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 18px; aspect-ratio: 16/10; }
.review-photo img { width: 100%; height: 100%; object-fit: cover; }
.review-head { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.review-avatar {
  width: 46px; height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold-soft);
  color: #8a6d2a;
  font-weight: 700;
  font-family: var(--serif);
  display: grid;
  place-items: center;
  font-size: 18px;
}
.review-name { font-weight: 700; font-size: 15px; }
.review-sub { font-size: 12.5px; color: var(--muted); }
.review-stars { display: inline-flex; gap: 2px; font-size: 17px; }
.review-stars .on { color: var(--gold); }
.review-stars .off { color: #ddd7cb; }
.review-foot { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.review-date { font-size: 12.5px; color: var(--muted); }
.review-text { color: #4b4842; font-size: 15px; margin: 0; flex: 1; }

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--ink);
  color: var(--cream-2);
  border-radius: var(--radius);
  padding: 34px 40px;
  margin-bottom: 44px;
}
.reviews-summary .big { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--gold-2); }
.reviews-summary .label { font-size: 14px; color: rgba(255,255,255,0.7); }

/* ------------------------------- FAQ ------------------------------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
}
.faq-q .plus { font-size: 24px; font-weight: 300; color: var(--gold); transition: transform 0.3s var(--ease); }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ------------------------------- CTA ------------------------------- */
.cta-band {
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(200,162,75,0.22), transparent 60%),
    var(--ink);
  color: var(--cream-2);
  border-radius: 28px;
  padding: clamp(48px, 7vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--cream-2); font-size: clamp(30px, 4.5vw, 50px); }
.cta-band p { color: rgba(255,255,255,0.72); max-width: 620px; margin: 0 auto 30px; }

/* ------------------------------- Forms ------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream-2);
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.field textarea { resize: vertical; min-height: 130px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Star input */
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { display: none; }
.star-input label { font-size: 30px; color: #ddd7cb; cursor: pointer; transition: color 0.2s, transform 0.2s; }
.star-input label:hover, .star-input label:hover ~ label,
.star-input input:checked ~ label { color: var(--gold); }
.star-input label:hover { transform: scale(1.15); }

/* ------------------------------- Footer ------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.66); padding: 70px 0 0; }
.site-footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,0.62); transition: color 0.3s; }
.site-footer a:hover { color: var(--gold-2); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ------------------------------- WhatsApp float ------------------------------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; }
.wa-callout { display: flex; align-items: center; gap: 0; }
.wa-callout-text {
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 100px 0 0 100px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.wa-float:hover .wa-callout-text { opacity: 1; transform: none; }
.wa-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,0.4);
  transition: transform 0.3s var(--ease);
}
.wa-float:hover .wa-btn { transform: scale(1.06); }

/* ------------------------------- Utilities ------------------------------- */
.bg-ink { background: var(--ink); color: var(--cream-2); }
.bg-cream { background: var(--cream); }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ------------------------------- Responsive ------------------------------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-stats .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .hero .hero-inner { max-width: 100%; }
  .brand .brand-text small { display: none; }
}
