/* ==========================================================
   الفريدة جلاس — Al Farida Glass
   ========================================================== */

:root {
  --navy: #15205c;
  --navy-2: #1c2b75;
  --blue: #1f5fb4;
  --sky: #2e9fdc;
  --aqua: #62c7c3;
  --ice: #eef5fb;
  --ice-2: #e2edf8;
  --ink: #0f1a33;
  --muted: #5a6a82;
  --line: #d7e3f0;
  --white: #ffffff;
  --wa: #25d366;
  --wa-dark: #128c4b;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(21, 32, 92, .25);
  --shadow-lg: 0 30px 60px -20px rgba(21, 32, 92, .35);
  --container: 1200px;
  --header-h: 76px;

  --f-head: "El Messiri", "Tajawal", sans-serif;
  --f-body: "Tajawal", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.35; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary { background: linear-gradient(135deg, var(--blue), var(--sky)); color: var(--white); box-shadow: 0 10px 24px -10px rgba(46, 159, 220, .8); }
.btn-wa { background: var(--wa); color: var(--white); box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .8); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: var(--white); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .08); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px -16px rgba(21, 32, 92, .4); border-color: var(--line); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 54px; height: 54px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.55); }
.brand-text strong { display: block; font-family: var(--f-head); font-size: 21px; color: var(--navy); line-height: 1.2; }
.brand-text span { display: block; font-size: 12px; letter-spacing: 2px; color: var(--sky); font-weight: 700; direction: ltr; text-align: right; }

.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 16px; border-radius: 999px; font-weight: 700; color: var(--muted);
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--navy); background: var(--ice); }
.main-nav a.active { color: var(--white); background: var(--navy); }

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

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--white); align-items: center; justify-content: center; color: var(--navy);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 70px) 0 70px; color: var(--white);
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(98, 199, 195, .45), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(46, 159, 220, .5), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-2) 60%, var(--blue));
  overflow: hidden; isolation: isolate;
}
.page-hero h1 { color: var(--white); font-size: clamp(32px, 5vw, 50px); margin-bottom: 10px; }
.page-hero p { max-width: 620px; opacity: .9; font-size: 18px; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: 14px; opacity: .8; margin-bottom: 14px; }
.crumbs a:hover { text-decoration: underline; }

/* shards echo the diamond in the logo */
.shards { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.shards span {
  position: absolute; background: linear-gradient(160deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .25);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.shards span:nth-child(1) { width: 220px; height: 340px; left: 6%; top: 18%; transform: rotate(8deg); }
.shards span:nth-child(2) { width: 120px; height: 190px; left: 22%; top: 55%; transform: rotate(-12deg); opacity: .7; }
.shards span:nth-child(3) { width: 80px; height: 130px; left: 30%; top: 10%; opacity: .5; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 60px; color: var(--white); overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(270deg, rgba(15, 26, 70, .92) 0%, rgba(21, 32, 92, .75) 45%, rgba(31, 95, 180, .25) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3);
  font-size: 14px; font-weight: 700; margin-bottom: 18px; backdrop-filter: blur(6px);
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 4px rgba(98, 199, 195, .3); }
.hero h1 { color: var(--white); font-size: clamp(36px, 6vw, 66px); line-height: 1.2; margin-bottom: 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #9fe3ff, var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; max-width: 560px; opacity: .92; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.glass-card {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-radius: 24px; padding: 28px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.hero-card h3 { color: var(--white); font-size: 22px; margin-bottom: 16px; }
.hero-card ul { display: grid; gap: 14px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; }
.hero-card li svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--aqua); margin-top: 3px; }
.hero-card li strong { display: block; }
.hero-card li span { font-size: 14px; opacity: .8; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--ice); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: 14px; letter-spacing: 1px; color: var(--sky);
  padding: 4px 14px; border-radius: 999px; background: rgba(46, 159, 220, .1); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--muted); margin: 0; }

/* stats strip */
.stats { margin-top: -60px; position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 28px 20px; text-align: center; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat svg { width: 34px; height: 34px; color: var(--sky); margin: 0 auto 8px; }
.stat strong { display: block; font-family: var(--f-head); font-size: 20px; color: var(--navy); }
.stat span { font-size: 14px; color: var(--muted); }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media .m-main { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 85%; }
.about-media .m-small {
  position: absolute; bottom: -30px; left: 0; width: 48%; aspect-ratio: 1; object-fit: cover;
  border-radius: 20px; border: 6px solid var(--white); box-shadow: var(--shadow-lg);
}
.about-media .m-tag {
  position: absolute; top: 24px; left: 4%; background: var(--navy); color: var(--white);
  padding: 14px 20px; border-radius: 16px; box-shadow: var(--shadow-lg); text-align: center;
}
.about-media .m-tag strong { display: block; font-family: var(--f-head); font-size: 26px; color: var(--aqua); line-height: 1.1; }
.about-media .m-tag span { font-size: 13px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 24px 0 30px; }
.checks li { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.checks li::before {
  content: ""; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
  background: var(--sky) 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--ice); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 21px; margin-bottom: 6px; }
.card-body p { color: var(--muted); font-size: 15.5px; flex: 1; }
.card-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(31, 95, 180, .12), rgba(98, 199, 195, .2)); color: var(--blue);
}
.card-icon svg { width: 30px; height: 30px; }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

.service-card .card-body { padding: 28px; }
.service-card ul.mini { margin: 4px 0 18px; display: grid; gap: 6px; }
.service-card ul.mini li { font-size: 14.5px; color: var(--muted); padding-inline-start: 18px; position: relative; }
.service-card ul.mini li::before { content: ""; position: absolute; right: 0; top: 11px; width: 7px; height: 7px; background: var(--aqua); transform: rotate(45deg); }

/* product card */
.product-art {
  aspect-ratio: 1/1; display: grid; place-items: center; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .9), transparent 50%),
    linear-gradient(145deg, var(--ice), var(--ice-2));
}
.product-art svg { width: 46%; height: 46%; color: var(--navy-2); filter: drop-shadow(0 12px 18px rgba(21, 32, 92, .18)); transition: transform .5s ease; }
.card:hover .product-art svg { transform: scale(1.08) rotate(-3deg); }
.product-art:has(img) { background: var(--white); border-bottom: 1px solid var(--line); }
.product-art img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.card:hover .product-art img { transform: scale(1.05); }
.product-tag {
  position: absolute; top: 14px; right: 14px; font-size: 12.5px; font-weight: 800;
  background: var(--white); color: var(--blue); padding: 3px 12px; border-radius: 999px; box-shadow: var(--shadow);
}
.product-card .card-body { padding: 18px 20px 20px; }
.product-card h3 { font-size: 19px; }
.product-card p { font-size: 14.5px; }
.product-card .card-actions .btn { flex: 1; }
.product-card.in-order { border-color: var(--wa); box-shadow: 0 0 0 2px rgba(37, 211, 102, .25); }

/* filter chips */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.chip {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-weight: 700; color: var(--muted); transition: all .2s;
}
.chip:hover { border-color: var(--sky); color: var(--blue); }
.chip.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.g-item {
  margin: 0; position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in; display: block; width: 100%; padding: 0; border: 0; background: var(--ice);
}
.gallery-grid .g-item { aspect-ratio: 4 / 5; }
.gallery-grid .g-item img { height: 100%; object-fit: cover; }
.g-item img { width: 100%; transition: transform .6s ease; }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; color: var(--white); text-align: right;
  background: linear-gradient(transparent, rgba(15, 26, 51, .85));
  transform: translateY(20%); opacity: 0; transition: all .35s ease;
}
.g-item:hover figcaption, .g-item:focus-visible figcaption { transform: none; opacity: 1; }
/* الموبايل مفيهوش hover، فالعنوان يفضل ظاهر */
@media (hover: none) { .g-item figcaption { transform: none; opacity: 1; } }
.g-item figcaption strong { display: block; font-family: var(--f-head); font-size: 18px; }
.g-item figcaption span { font-size: 13px; opacity: .85; }
.g-item.hide { display: none; }

.gallery-preview { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.gallery-preview .g-item { margin: 0; height: 100%; }
.gallery-preview .g-item img { height: 100%; object-fit: cover; }
.gallery-preview .g-item:first-child { grid-row: span 2; }
.gallery-preview .g-item figcaption { opacity: 1; transform: none; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
  background: rgba(8, 14, 36, .92); backdrop-filter: blur(6px); padding: 60px 16px;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 1000px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; margin: 0 auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox figcaption { color: var(--white); margin-top: 14px; font-family: var(--f-head); font-size: 18px; }
.lb-btn {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1); color: var(--white); display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 16px; left: 16px; }
.lb-prev { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { left: 16px; top: 50%; transform: translateY(-50%); }

/* why us / steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--f-head); font-size: 44px; font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, var(--sky), var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 12px;
}
.step h3 { font-size: 19px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: 56px;
  color: var(--white); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  background:
    radial-gradient(600px 300px at 10% 120%, rgba(98, 199, 195, .55), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3.5vw, 36px); }
.cta-band p { opacity: .9; margin: 0; }
.cta-band .shards span:nth-child(1) { left: auto; right: -40px; top: -60px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.info-list { display: grid; gap: 16px; }
.info-item {
  display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s;
}
a.info-item:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.info-item .ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--sky)); color: var(--white);
}
.info-item .ico.wa { background: var(--wa); }
.info-item .ico.fb { background: #1877f2; }
.info-item .ico svg { width: 26px; height: 26px; }
.info-item small { display: block; color: var(--muted); font-size: 14px; }
.info-item strong { font-size: 18px; color: var(--navy); }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 15px; color: var(--navy); }
.field label em { color: #d33; font-style: normal; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fbfdff; color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(46, 159, 220, .15); }
.field .err { color: #d33; font-size: 13px; display: none; }
.field.invalid input, .field.invalid select { border-color: #d33; }
.field.invalid .err { display: block; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; text-align: center; }

.map-wrap { margin-top: 32px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center;
  padding: 16px; background: rgba(8, 14, 36, .6); backdrop-filter: blur(4px);
}
.modal.open { display: flex; animation: fade .25s ease; }
.modal-box {
  background: var(--white); border-radius: 24px; width: min(560px, 100%); max-height: 92vh; overflow: auto;
  box-shadow: var(--shadow-lg); animation: rise .3s ease;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--white); z-index: 1;
}
.modal-head h3 { margin: 0; font-size: 21px; }
.modal-head small { display: block; color: var(--sky); font-weight: 700; font-size: 14px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--white);
  display: grid; place-items: center; color: var(--navy); flex-shrink: 0;
}
.icon-btn:hover { background: var(--ice); }
.icon-btn svg { width: 20px; height: 20px; }
.modal-body { padding: 24px; }

/* ---------- Order drawer (products) ---------- */
.order-fab {
  position: fixed; bottom: 24px; left: 24px; z-index: 60;
  display: none; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 0;
  background: var(--navy); color: var(--white); font-weight: 800; box-shadow: var(--shadow-lg);
}
.order-fab.show { display: inline-flex; animation: rise .3s ease; }
.order-fab svg { width: 22px; height: 22px; }
.order-fab b { background: var(--wa); min-width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; font-size: 14px; padding: 0 6px; }

.drawer { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
.drawer-overlay { position: absolute; inset: 0; background: rgba(8, 14, 36, .5); opacity: 0; transition: opacity .3s; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(440px, 100%); background: var(--white);
  transform: translateX(-100%); transition: transform .35s ease; display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-overlay { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-body { flex: 1; overflow: auto; padding: 20px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--ice); }
.order-items { display: grid; gap: 12px; margin-bottom: 20px; }
.order-item { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.order-item .oi-name { flex: 1; font-weight: 700; color: var(--navy); line-height: 1.4; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 32px; height: 32px; border: 0; background: var(--ice); color: var(--navy); font-weight: 800; }
.qty button:hover { background: var(--ice-2); }
.qty span { min-width: 34px; text-align: center; font-weight: 800; }
.oi-remove { border: 0; background: none; color: #c33; padding: 4px; }
.oi-remove svg { width: 18px; height: 18px; }
.empty-state { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: var(--white); display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .8);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 34px; height: 34px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: ping 2s ease-out infinite;
}

/* ---------- Footer ---------- */
.site-footer { background: #0c1540; color: rgba(255, 255, 255, .78); padding: 70px 0 0; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-size: 18px; margin-bottom: 18px; }
.site-footer .brand-text strong { color: var(--white); }
.site-footer p { font-size: 15px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: 15px; transition: color .2s; }
.footer-links a:hover { color: var(--aqua); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-bottom: 12px; }
.footer-contact svg { width: 20px; height: 20px; color: var(--aqua); flex-shrink: 0; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); transition: background .2s;
}
.socials a:hover { background: var(--sky); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 50px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 100px; left: 50%; transform: translate(-50%, 20px); z-index: 120;
  background: var(--navy); color: var(--white); padding: 12px 22px; border-radius: 999px; font-weight: 700;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all .3s ease; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

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

@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-cta .btn-text { display: none; }
  .header-cta .btn { padding: 12px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: var(--header-h); inset-inline: 0; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav ul { flex-direction: column; padding: 12px 16px 18px; gap: 4px; }
  .main-nav a { padding: 12px 16px; border-radius: 12px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; margin: 0 auto 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .gallery-preview { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 180px 180px; }
  .gallery-preview .g-item:first-child { grid-column: span 2; grid-row: auto; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 70px 0; }
  .brand-logo { width: 46px; height: 46px; }
  .brand-text strong { font-size: 18px; }
  .brand-text span { font-size: 10px; }
  .header-cta .btn-wa { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 50px); }
  .hero-actions .btn { flex: 1; }
  .checks { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .stat { padding: 20px 12px; }
  .stat strong { font-size: 17px; }
  .wa-float { width: 56px; height: 56px; bottom: 18px; right: 16px; }
  .order-fab { bottom: 18px; left: 16px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}
