/* ===================================
   FISHI LIYA — Fishing Gear Morocco
   Brand stylesheet (RTL / Darija)
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --navy: #0E2A47;
  --navy-dark: #081C30;
  --navy-900: #061524;
  --turq: #1B9AC4;
  --turq-light: #2BB8E0;
  --turq-glow: rgba(43, 184, 224, 0.35);
  --white: #ffffff;
  --off: #f4f8fb;
  --gray: #8ca3b8;
  --gray-line: rgba(255,255,255,0.08);
  --success: #1db954;
  --gold: #f0a500;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-lg: 0 24px 60px -15px rgba(6,21,36,0.55);
  --shadow-md: 0 12px 32px -8px rgba(6,21,36,0.4);
  --maxw: 1180px;
  --font: 'Tajawal', 'Cairo', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy-900);
  color: var(--white);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes floatWave {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 0 var(--turq-glow); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 14px rgba(43,184,224,0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,28,48,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 16px;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-wrap img { height: 46px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--turq); color: var(--white);
  padding: 11px 20px; border-radius: 999px; font-weight: 800; font-size: 15px;
  transition: transform .25s, box-shadow .25s, background .25s;
  box-shadow: 0 8px 20px -6px var(--turq-glow);
}
.header-cta:hover { background: var(--turq-light); transform: translateY(-2px); box-shadow: 0 12px 28px -6px var(--turq-glow); }

/* ===== Announcement bar ===== */
.announce {
  background: linear-gradient(90deg, var(--navy), var(--turq), var(--navy));
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
  color: var(--white); text-align: center;
  font-size: 14px; font-weight: 700; padding: 9px 12px;
  letter-spacing: .2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 70px 0 90px;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(43,184,224,0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(14,42,71,0.6), transparent 55%),
    var(--navy-900);
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%230E2A47' fill-opacity='0.5' d='M0,64L60,58.7C120,53,240,43,360,48C480,53,600,75,720,80C840,85,960,75,1080,64C1200,53,1320,43,1380,37.3L1440,32L1440,120L0,120Z'/%3E%3C/svg%3E") no-repeat bottom center / cover;
  animation: floatWave 6s ease-in-out infinite;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center;
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(43,184,224,0.14); border: 1px solid rgba(43,184,224,0.35);
  color: var(--turq-light); padding: 7px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 800; margin-bottom: 22px;
}
.hero h1 {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(30px, 5vw, 50px); font-weight: 900; line-height: 1.25;
  margin-bottom: 18px;
}
.hero h1 .hl { color: var(--turq-light); }
.hero p.lead { font-size: 18px; color: #c6d6e5; margin-bottom: 28px; max-width: 520px; }
.hero-points { list-style: none; margin-bottom: 32px; display: grid; gap: 12px; }
.hero-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; }
.hero-points li .chk {
  width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%;
  background: rgba(29,185,84,0.18); color: var(--success);
  display: grid; place-items: center; font-size: 14px; font-weight: 900;
}
.hero-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--turq), var(--turq-light));
  color: #fff; padding: 16px 30px; border-radius: 999px;
  font-weight: 900; font-size: 17px;
  box-shadow: 0 14px 34px -10px var(--turq-glow);
  transition: transform .25s, box-shadow .25s;
  animation: pulse 2.6s infinite;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 24px; border-radius: 999px; font-weight: 800; font-size: 16px;
  border: 1px solid var(--gray-line); color: #c6d6e5; background: rgba(255,255,255,0.02);
  transition: border-color .25s, color .25s;
}
.btn-ghost:hover { border-color: var(--turq); color: #fff; }

.hero-media { position: relative; }
.hero-media .glow {
  position: absolute; inset: -8% -6%;
  background: radial-gradient(circle at 50% 50%, rgba(43,184,224,0.35), transparent 62%);
  filter: blur(18px); z-index: 0;
}
.hero-media img {
  position: relative; z-index: 1; border-radius: var(--radius);
  background: #fff; padding: 12px; box-shadow: var(--shadow-lg);
  animation: floatWave 5s ease-in-out infinite;
}
.hero-price-tag {
  position: absolute; z-index: 3; bottom: 18px; inset-inline-start: 18px;
  background: var(--white); color: var(--navy); border-radius: 14px;
  padding: 12px 18px; box-shadow: var(--shadow-md); text-align: center;
}
.hero-price-tag .old { font-size: 13px; color: #9aa; text-decoration: line-through; }
.hero-price-tag .now { font-size: 26px; font-weight: 900; color: var(--turq); line-height: 1; }
.hero-price-tag .cur { font-size: 13px; font-weight: 700; }

/* ===== Trust strip ===== */
.trust {
  background: var(--navy); border-top: 1px solid var(--gray-line); border-bottom: 1px solid var(--gray-line);
  padding: 26px 0;
}
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 12px; justify-content: center; }
.trust-item .ic {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px;
  background: rgba(43,184,224,0.12); color: var(--turq-light);
  display: grid; place-items: center; font-size: 22px;
}
.trust-item b { display: block; font-size: 15px; }
.trust-item span { font-size: 13px; color: var(--gray); }

/* ===== Section base ===== */
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head .eyebrow {
  color: var(--turq-light); font-weight: 800; font-size: 14px;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; display: block;
}
.section-head h2 { font-family: 'Cairo', sans-serif; font-size: clamp(26px, 4vw, 38px); font-weight: 900; margin-bottom: 14px; }
.section-head p { color: #c6d6e5; font-size: 17px; }

/* ===== Includes grid ===== */
.includes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.inc-card {
  background: linear-gradient(160deg, rgba(14,42,71,0.7), rgba(8,28,48,0.7));
  border: 1px solid var(--gray-line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.inc-card:hover { transform: translateY(-6px); border-color: rgba(43,184,224,0.5); box-shadow: var(--shadow-md); }
.inc-card .ic {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--turq), var(--navy));
  display: grid; place-items: center; font-size: 26px;
}
.inc-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.inc-card p { color: var(--gray); font-size: 15px; }

/* ===== Benefits (why) ===== */
.why { background: var(--navy); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.why-list { list-style: none; display: grid; gap: 18px; }
.why-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,0.02); border: 1px solid var(--gray-line);
  border-radius: var(--radius-sm); padding: 18px 20px;
}
.why-list li .num {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px;
  background: var(--turq); color: #fff; font-weight: 900;
  display: grid; place-items: center;
}
.why-list li b { font-size: 16px; }
.why-media img { border-radius: var(--radius); background:#fff; padding: 10px; box-shadow: var(--shadow-lg); }

/* ===== Specs ===== */
.specs-table { max-width: 760px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-line); }
.specs-row { display: grid; grid-template-columns: 1fr 1.4fr; }
.specs-row:nth-child(odd) { background: rgba(255,255,255,0.02); }
.specs-row > div { padding: 16px 22px; border-bottom: 1px solid var(--gray-line); }
.specs-row .k { font-weight: 800; color: var(--turq-light); }
.specs-row .v { color: #d5e3ef; }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.gallery-grid img {
  border-radius: var(--radius-sm); background: #fff; padding: 8px; cursor: pointer;
  transition: transform .3s, box-shadow .3s; box-shadow: var(--shadow-md);
}
.gallery-grid img:hover { transform: scale(1.03); }

/* ===== Order form ===== */
.order { background: linear-gradient(180deg, var(--navy), var(--navy-900)); }
.order-card {
  max-width: 560px; margin: 0 auto;
  background: linear-gradient(165deg, rgba(14,42,71,0.9), rgba(8,28,48,0.95));
  border: 1px solid rgba(43,184,224,0.3); border-radius: 24px;
  padding: 36px 32px; box-shadow: var(--shadow-lg); position: relative;
}
.order-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 24px; padding: 1px;
  background: linear-gradient(135deg, var(--turq), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.order-card h2 { font-family: 'Cairo'; font-size: 26px; font-weight: 900; text-align: center; margin-bottom: 6px; }
.order-card .sub { text-align: center; color: var(--gray); margin-bottom: 8px; font-size: 15px; }
.cod-pill {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(29,185,84,0.14); border: 1px solid rgba(29,185,84,0.4);
  color: #46d97e; border-radius: 999px; padding: 10px 16px;
  font-weight: 800; font-size: 15px; margin: 14px 0 26px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; color: #d5e3ef; }
.field input, .field select {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--gray-line);
  border-radius: 12px; padding: 14px 16px; color: #fff; font-size: 16px; font-family: inherit;
  transition: border-color .25s, background .25s;
}
.field input::placeholder { color: #6d829a; }
.field input:focus, .field select:focus { outline: none; border-color: var(--turq); background: rgba(43,184,224,0.06); }
.field.err input, .field.err select { border-color: #ff5b6a; }
.field .msg { color: #ff8b96; font-size: 13px; margin-top: 6px; display: none; }
.field.err .msg { display: block; }
.qty-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.qty-ctrl { display: flex; align-items: center; border: 1px solid var(--gray-line); border-radius: 12px; overflow: hidden; }
.qty-ctrl button { background: rgba(255,255,255,0.04); color: #fff; width: 46px; height: 50px; font-size: 22px; font-weight: 700; }
.qty-ctrl button:hover { background: var(--turq); }
.qty-ctrl input { width: 54px; text-align: center; border: none; border-radius: 0; background: transparent; }

.order-summary {
  background: rgba(255,255,255,0.03); border: 1px dashed var(--gray-line);
  border-radius: 12px; padding: 16px 18px; margin: 20px 0;
}
.order-summary .line { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 15px; color: #c6d6e5; }
.order-summary .total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 900; padding-top: 10px; border-top: 1px solid var(--gray-line); }
.order-summary .total .amt { color: var(--turq-light); }

.btn-order {
  width: 100%; background: linear-gradient(135deg, var(--success), #17a34a);
  color: #fff; padding: 18px; border-radius: 14px; font-size: 19px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .25s, box-shadow .25s; box-shadow: 0 14px 30px -10px rgba(29,185,84,.5);
}
.btn-order:hover { transform: translateY(-2px); }
.btn-order:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-note { text-align: center; color: var(--gray); font-size: 13px; margin-top: 14px; }

/* ===== Success state ===== */
.order-success { text-align: center; padding: 20px 0; animation: fadeIn .5s; display: none; }
.order-success.show { display: block; }
.order-success .check {
  width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%;
  background: rgba(29,185,84,0.16); color: var(--success);
  display: grid; place-items: center; font-size: 44px;
  animation: pulse 2s infinite;
}
.order-success h3 { font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.order-success p { color: #c6d6e5; margin-bottom: 20px; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: rgba(255,255,255,0.02); border: 1px solid var(--gray-line);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq-q {
  width: 100%; text-align: right; background: transparent; color: #fff;
  padding: 20px 22px; font-size: 17px; font-weight: 800;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q .ic { color: var(--turq-light); transition: transform .3s; font-size: 22px; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 22px 20px; color: #c6d6e5; font-size: 15px; }

/* ===== Footer ===== */
.footer { background: var(--navy-900); border-top: 1px solid var(--gray-line); padding: 50px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 34px; }
.footer-brand img { height: 50px; margin-bottom: 16px; }
.footer-brand p { color: var(--gray); font-size: 15px; max-width: 320px; }
.footer h4 { font-size: 16px; font-weight: 800; margin-bottom: 16px; color: var(--turq-light); }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: #c6d6e5; font-size: 15px; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { text-align: center; color: var(--gray); font-size: 14px; padding-top: 24px; border-top: 1px solid var(--gray-line); }

/* ===== Sticky mobile CTA ===== */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(8,28,48,0.95); backdrop-filter: blur(12px);
  border-top: 1px solid var(--gray-line); padding: 12px 16px;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
}
.sticky-cta .p { font-weight: 900; font-size: 18px; }
.sticky-cta .p span { color: var(--turq-light); }
.sticky-cta a {
  background: linear-gradient(135deg, var(--success), #17a34a); color: #fff;
  padding: 13px 24px; border-radius: 999px; font-weight: 900; font-size: 16px;
}

/* ===== WhatsApp float ===== */
.wa-float {
  position: fixed; bottom: 90px; inset-inline-end: 18px; z-index: 89;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(37,211,102,.6);
  animation: floatWave 3s ease-in-out infinite; font-size: 30px;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(6,21,36,0.92);
  display: none; align-items: center; justify-content: center; padding: 30px;
  animation: fadeIn .3s;
}
.lightbox.show { display: flex; }
.lightbox img { max-width: 90%; max-height: 88vh; border-radius: 14px; background: #fff; padding: 10px; }
.lightbox .close { position: absolute; top: 24px; inset-inline-end: 30px; color: #fff; font-size: 40px; cursor: pointer; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: -1; }
  .trust-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .includes-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-media { order: -1; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 78px; }
}
@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .includes-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .header-cta span { display: none; }
  .order-card { padding: 28px 20px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
