/* =========================================================
   بيت الموسى للأثاث والديكور — Landing Page Styles
   ========================================================= */

@font-face {
  font-family: "Cairo";
  src: url("../fonts/cairo-arabic-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cairo";
  src: url("../fonts/cairo-arabic-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Cairo";
  src: url("../fonts/cairo-arabic-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Cairo";
  src: url("../fonts/cairo-arabic-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal";
  src: url("../fonts/tajawal-arabic-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal";
  src: url("../fonts/tajawal-arabic-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #3e2516;
  --ink-soft: #5d4534;
  --coffee: #6b452b;
  --wood: #8b5e3c;
  --gold: #b08d57;
  --gold-light: #d8bd91;
  --cream: #f7f3eb;
  --paper: #fffdf9;
  --sand: #ece2d2;
  --line: #e3d9c9;
  --muted: #7c6d5e;
  --shadow-sm: 0 4px 18px rgba(62, 37, 22, .07);
  --shadow-md: 0 18px 50px rgba(62, 37, 22, .12);
  --radius: 18px;
  --maxw: 1200px;
  --font: "Cairo", "Tajawal", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.section { padding: 89px 0; }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: var(--cream); }

.skip-link {
  position: fixed; top: -100px; right: 16px; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
*:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 249, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 82px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--ink); color: var(--gold-light);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(216,189,145,.35);
}
.brand__mark svg { width: 28px; height: 28px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__ar { font-weight: 800; font-size: 20px; letter-spacing: -.5px; }
.brand__en { font: 700 9px/1.4 "Tajawal", sans-serif; letter-spacing: 1.6px; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  position: relative; padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center;
  transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold); transition: width .25s;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 10px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; transition: transform .2s, background .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--coffee); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #9a7845; color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  transition: transform .2s, opacity .2s;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-2px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(176,141,87,.17), transparent 68%);
  inset-inline-start: -220px; top: -260px; pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center;
  padding: 100px 0 110px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700;
  color: var(--wood); background: rgba(176,141,87,.12); padding: 8px 16px; border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero h1 {
  font-size: clamp(42px, 5.2vw, 68px); line-height: 1.2; margin: 0 0 21px;
  font-weight: 800; letter-spacing: -1.6px;
}
.hero h1 .accent { color: var(--gold); position: relative; }
.hero h1 .accent::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 4px; width: 100%; height: 9px;
  background: rgba(176,141,87,.28); border-radius: 8px; z-index: -1;
}
.hero p.lead { font-size: 19px; color: var(--ink-soft); max-width: 590px; margin: 0 0 32px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 17px; height: 17px; color: var(--gold); }

.hero-visual { position: relative; }
.hero-visual__main {
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 1.18; background: var(--sand);
}
.hero-visual__main img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual__card {
  position: absolute; inset-inline-end: -22px; bottom: -30px;
  background: var(--paper); padding: 18px 22px; border-radius: 16px;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px; max-width: 290px;
}
.hero-visual__card strong { display: block; font-size: 17px; }
.hero-visual__card span { font-size: 13px; color: var(--muted); }
.hero-visual__icon {
  width: 44px; height: 44px; border-radius: 12px; background: rgba(176,141,87,.15);
  display: grid; place-items: center; color: var(--wood); flex-shrink: 0;
}
.hero-visual__icon svg { width: 22px; height: 22px; }
.hero-visual__badge {
  position: absolute; inset-inline-start: -18px; top: 28px; background: var(--ink);
  color: var(--gold-light); padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 700; box-shadow: var(--shadow-sm);
}

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: var(--cream); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 42px 20px; border-inline-end: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-inline-end: 0; }
.stat strong { display: block; font-size: 34px; font-weight: 800; color: var(--gold-light); line-height: 1.3; }
.stat span { font-size: 14px; color: rgba(247,243,235,.75); }

/* ---------- Section headings ---------- */
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.3; margin: 0 0 13px; font-weight: 800;
}
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section--ink .section-head p { color: rgba(247,243,235,.7); }
.section--ink .section-head h2 { color: var(--cream); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.618fr 1fr; gap: 60px; align-items: center; }
.about-images { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: stretch; }
.about-images img { border-radius: 16px; object-fit: cover; width: 100%; height: 100%; }
.about-images img:first-child { aspect-ratio: .95; }
.about-images img:last-child { aspect-ratio: .75; }
.about-copy h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 0 0 22px; line-height: 1.35; }
.about-copy > p { color: var(--muted); font-size: 17px; margin: 0 0 20px; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 32px; }
.value {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px;
  box-shadow: var(--shadow-sm);
}
.value svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; }
.service {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.service::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .3s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-light); }
.service:hover::before { transform: scaleY(1); }
.service__icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--cream);
  display: grid; place-items: center; color: var(--wood); margin-bottom: 20px;
}
.service__icon svg { width: 26px; height: 26px; }
.service h3 { margin: 0 0 8px; font-size: 20px; }
.service p { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.service ul { display: flex; flex-wrap: wrap; gap: 8px; }
.service li {
  font-size: 12.5px; font-weight: 600; background: var(--cream);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; color: var(--coffee);
}
.service__tag { font-size: 12px; font-weight: 700; color: var(--coffee); letter-spacing: .4px; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; text-align: center; padding: 0 10px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 34px; inset-inline-start: 62%; width: 76%; height: 1px;
  background: repeating-linear-gradient(to left, var(--gold-light) 0 6px, transparent 6px 12px);
}
.step__num {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 20px;
  display: grid; place-items: center; background: var(--ink); color: var(--gold-light);
  font-size: 24px; font-weight: 800; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--cream);
}
.step h3 { font-size: 18px; margin: 0 0 8px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Factory ---------- */
.factory-grid { display: grid; grid-template-columns: 1.618fr 1fr; gap: 60px; align-items: center; }
.factory-media { position: relative; }
.factory-media__main { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 1.5; }
.factory-media__main img { width: 100%; height: 100%; object-fit: cover; }
.factory-media__small {
  position: absolute; inset-inline-end: -24px; bottom: -34px; width: 44%;
  border-radius: 16px; overflow: hidden; border: 5px solid var(--paper); box-shadow: var(--shadow-md);
  aspect-ratio: 1.35;
}
.factory-media__small img { width: 100%; height: 100%; object-fit: cover; }
.factory-copy h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 0 0 20px; line-height: 1.35; }
.factory-copy > p { color: var(--muted); font-size: 17px; margin: 0 0 26px; }
.factory-list li {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-weight: 600;
}
.factory-list svg { width: 20px; height: 20px; color: var(--gold-light); flex-shrink: 0; margin-top: 5px; }
.factory-quote {
  margin-top: 30px; padding: 22px 24px; border-inline-start: 3px solid var(--gold);
  background: rgba(247,243,235,.05); border-radius: 0 12px 12px 0;
  font-size: 16px; color: var(--cream);
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item {
  border-radius: 14px; overflow: hidden; aspect-ratio: 1.618; background: var(--sand);
  position: relative; box-shadow: var(--shadow-sm);
}
.gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-column: span 2; aspect-ratio: 2.8; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 26px 16px 12px;
  background: linear-gradient(transparent, rgba(62,37,22,.78)); color: #fff;
  font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(8px); transition: .25s;
}
.gallery-item:hover figcaption { opacity: 1; transform: none; }

.gallery-grid--dense { grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gallery-grid--dense .gallery-item { aspect-ratio: 1; border-radius: 10px; }
.gallery-grid--dense .gallery-item:nth-child(1),
.gallery-grid--dense .gallery-item:nth-child(6) { grid-column: span 1; aspect-ratio: 1; }
@media (max-width: 1080px) { .gallery-grid--dense { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px) { .gallery-grid--dense { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery-grid--dense { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; gap: 18px; align-items: flex-start;
}
.why-card__num { font-size: 30px; font-weight: 800; color: var(--gold-light); line-height: 1; }
.why-card h3 { margin: 0 0 6px; font-size: 18px; }
.why-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin-inline: auto; }
.faq-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq-item summary {
  padding: 20px 22px; font-weight: 700; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 22px; color: var(--gold); line-height: 1; transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 22px 20px; color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.618fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 0 0 18px; line-height: 1.35; }
.contact-info > p { color: var(--muted); margin: 0 0 28px; }
.contact-card {
  display: flex; gap: 16px; padding: 20px; background: rgba(255,253,249,.05);
  border: 1px solid rgba(247,243,235,.12); border-radius: 14px; margin-bottom: 14px;
}
.contact-card svg { width: 22px; height: 22px; color: var(--gold-light); flex-shrink: 0; margin-top: 4px; }
.contact-card strong { display: block; margin-bottom: 4px; }
.contact-card span, .contact-card a { color: rgba(247,243,235,.72); font-size: 14.5px; }
.contact-form {
  background: var(--paper); border-radius: 20px; padding: 34px;
  box-shadow: var(--shadow-md); color: var(--ink);
}
.contact-form h3 { margin: 0 0 6px; font-size: 23px; }
.contact-form > p { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px;
  background: var(--cream); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold); color: #fff; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 54px 0; flex-wrap: wrap;
}
.cta-inner h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); }
.cta-inner p { margin: 6px 0 0; opacity: .9; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand__ar { color: var(--cream); }
.site-footer .brand__mark { background: var(--gold); color: var(--ink); }
.site-footer .brand__en { color: rgba(247,243,235,.6); }
.footer-about { color: rgba(247,243,235,.7); font-size: 14.5px; margin: 18px 0 0; max-width: 320px; }
.footer-col h4 { font-size: 16px; margin: 0 0 18px; }
.footer-col a, .footer-col li { display: block; color: rgba(247,243,235,.7); font-size: 14px; margin-bottom: 11px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 45px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(247,243,235,.55);
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed; inset-inline-start: 24px; bottom: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.35);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; animation: pulse 2.4s infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Hero Slider ---------- */
.hero-slider {
  position: relative;
  min-height: 620px;
  max-height: 780px;
  height: 92vh;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}
.hero-slider__track { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1.1s ease, transform 6s ease;
  will-change: opacity, transform;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slider__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(31,19,11,.82) 0%, rgba(31,19,11,.55) 45%, rgba(31,19,11,.25) 100%),
    linear-gradient(180deg, rgba(31,19,11,.35) 0%, transparent 40%, rgba(31,19,11,.5) 100%);
  pointer-events: none;
}
.hero-slider__content {
  position: relative; z-index: 2;
  height: 100%; display: flex; align-items: center;
}
.hero-slider__content > div { max-width: 640px; }
.hero-slider__content .eyebrow { background: rgba(176,141,87,.18); color: var(--gold-light); }
.hero-slider__content h1 { color: #fff; }
.hero-slider__content p.lead { color: rgba(247,243,235,.88); }
.hero-slider__content .hero-trust { color: rgba(247,243,235,.75); }
.hero-slider__content .hero-trust svg { color: var(--gold-light); }

.hero-slider__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,253,249,.12); color: #fff; border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center; backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.hero-slider__nav:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-50%) scale(1.08); }
.hero-slider__nav svg { width: 20px; height: 20px; }
.hero-slider__nav--prev { inset-inline-start: 24px; }
.hero-slider__nav--next { inset-inline-end: 24px; }
.hero-slider__nav--prev svg { transform: rotate(180deg); }

.hero-slider__dots {
  position: absolute; bottom: 26px; inset-inline: 0; z-index: 3;
  display: flex; justify-content: center; gap: 9px;
}
.hero-slider__dot {
  width: 26px; height: 12px; border-radius: 99px; border: 0;
  background: rgba(255,255,255,.35); cursor: pointer; padding: 0;
  transition: background .25s, width .25s;
}
.hero-slider__dot.is-active { background: var(--gold-light); width: 40px; }

@media (max-width: 860px) {
  .hero-slider { height: 86vh; min-height: 560px; }
  .hero-slider__nav { width: 40px; height: 40px; }
  .hero-slider__nav--prev { inset-inline-start: 14px; }
  .hero-slider__nav--next { inset-inline-end: 14px; }
  .hero-slider__content > div { max-width: 100%; }
}
@media (max-width: 560px) {
  .hero-slider { height: 92vh; min-height: 600px; }
  .hero-slider__dots { bottom: 18px; }
}

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 14px; }
  .hero-inner { gap: 40px; }
  .services-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .step:nth-child(2)::after { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-inline-end: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; inset-inline: 0; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header-actions .btn { display: none; }
  .hero-inner, .about-grid, .factory-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 70px 0 90px; }
  .hero-visual { margin-top: 20px; max-width: 560px; }
  .hero-visual__card { inset-inline-end: 10px; bottom: -24px; }
  .hero-visual__badge { inset-inline-start: 10px; }
  .about-images, .factory-media { max-width: 600px; }
  .factory-media__small { inset-inline-end: 12px; bottom: -20px; width: 42%; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--maxw)); }
  .brand__ar { font-size: 18px; }
  .brand__mark { width: 40px; height: 40px; }
  .hero h1 { font-size: 34px; }
  .hero p.lead { font-size: 16px; }
  .hero-buttons .btn { width: 100%; }
  .hero-trust { gap: 12px 18px; font-size: 13px; }
  .hero-visual__card { position: static; margin-top: 14px; max-width: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 10px; }
  .stat strong { font-size: 26px; }
  .services-grid, .gallery-grid, .form-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-column: span 1; aspect-ratio: 1.4; }
  .process-grid { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .contact-form { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 40px 0; }
  .whatsapp-float { inset-inline-start: 16px; bottom: 16px; width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .whatsapp-float, .cta-band, .contact-form { display: none !important; }
}
