/*
Theme Name: Cell-O Implant System — Publish Ready
Theme URI: https://celloplant.com/
Author: Ahmed Imam
Description: Premium publish-ready WordPress theme for Cell-O Implant System with product catalogue, admin control, media/video management and WhatsApp integration.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.8
Text Domain: cell-o-luxury
License: Proprietary
*/

:root {
  --teal: #0b4b47;
  --teal-2: #2b706d;
  --green: #b6da35;
  --ink: #151316;
  --muted: #62666d;
  --line: rgba(15, 75, 71, 0.14);
  --card: rgba(255,255,255,0.88);
  --cream: #f5f7ef;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(9, 50, 47, 0.14);
  --radius: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Cairo', 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(182,218,53,.15), transparent 34rem),
    radial-gradient(circle at 90% 10%, rgba(43,112,109,.11), transparent 32rem),
    var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}
html[lang="en"] body { font-family: 'Inter', 'Cairo', system-ui, sans-serif; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section-pad { padding: 96px 0; }
.skip-link { position: fixed; inset-inline-start: 18px; top: -80px; z-index: 999; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; transition: top .2s ease; }
.skip-link:focus { top: 18px; }
.cursor-glow { position: fixed; width: 270px; height: 270px; border-radius: 50%; pointer-events: none; opacity: 0; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(182,218,53,.18), transparent 65%); z-index: 0; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  width: min(1240px, calc(100% - 28px));
  margin: 14px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 12px 14px 12px 20px;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(7,47,44,.10);
}
.brand { width: 154px; display: flex; align-items: center; }
.brand img { height: 40px; width: auto; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 10px 13px; border-radius: 999px; color: var(--muted); font-weight: 800; font-size: 14px; transition: .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--teal); background: rgba(182,218,53,.16); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle, .menu-toggle { border: 0; cursor: pointer; }
.lang-toggle { width: 45px; height: 45px; border-radius: 50%; background: #ecf5d2; color: var(--teal); font-weight: 900; }
.menu-toggle { display: none; width: 45px; height: 45px; border-radius: 50%; background: var(--teal); position: relative; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 5px auto; border-radius: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; min-height: 50px; padding: 13px 22px;
  border-radius: 999px; background: var(--teal); color: #fff; font-weight: 900;
  box-shadow: 0 16px 30px rgba(11,75,71,.22); transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(11,75,71,.28); }
.btn-small { min-height: 42px; padding: 10px 16px; font-size: 14px; }
.btn-ghost { background: #fff; color: var(--teal); border: 1px solid var(--line); box-shadow: none; }
.btn-form { width: 100%; }

.hero { position: relative; padding-top: 108px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(255,255,255,.62), transparent 55%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr); gap: 52px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--teal-2); font-size: 14px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(42px, 6.3vw, 88px); line-height: 1.02; letter-spacing: -.05em; max-width: 900px; }
html[dir="rtl"] h1 { letter-spacing: -0.025em; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.9; margin: 24px 0 0; max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 660px; }
.trust-strip div, .metrics div { padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.66); }
.trust-strip strong, .metrics strong { display: block; color: var(--teal); font-size: 26px; line-height: 1; }
.trust-strip span, .metrics span { display: block; color: var(--muted); font-weight: 800; font-size: 13px; margin-top: 8px; }
.hero-media { position: relative; }
.showcase-card { border-radius: 36px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.7); transform: rotate(-1.8deg); }
.showcase-card img { width: 100%; height: auto; }
.hero-card { position: absolute; inset-inline-start: -24px; bottom: -34px; background: rgba(11,75,71,.94); color: #fff; border-radius: 26px; padding: 18px 22px; box-shadow: var(--shadow); min-width: 235px; }
.hero-card span { color: var(--green); font-weight: 900; }
.hero-card b { display: block; margin-top: 6px; }

.marquee { overflow: hidden; background: var(--teal); color: #fff; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; gap: 34px; animation: marquee 30s linear infinite; }
.marquee-track span { font-weight: 900; letter-spacing: .12em; color: rgba(255,255,255,.78); }
@keyframes marquee { to { transform: translateX(-50%); } }
html[dir="rtl"] .marquee-track { animation-direction: reverse; }

.section-head { max-width: 760px; margin-bottom: 32px; }
h2 { margin: 0; font-size: clamp(34px, 4vw, 60px); line-height: 1.12; letter-spacing: -.035em; }
html[dir="rtl"] h2 { letter-spacing: -0.015em; }
.section-head p:not(.eyebrow), .catalogue-hero p, .content-panel p, .contact-copy p { color: var(--muted); line-height: 1.85; font-size: 17px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filter { border: 1px solid var(--line); background: rgba(255,255,255,.65); color: var(--teal); border-radius: 999px; padding: 11px 16px; cursor: pointer; font-weight: 900; }
.filter.active { background: var(--teal); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { border: 1px solid rgba(255,255,255,.7); border-radius: 30px; overflow: hidden; background: var(--card); box-shadow: 0 16px 50px rgba(7,47,44,.08); min-height: 100%; display: flex; flex-direction: column; }
.product-card[hidden] { display: none; }
.product-card img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; background: #fff; }
.card-content { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tag { display: inline-flex; align-self: flex-start; background: #ecf7cc; color: var(--teal); border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 900; }
.product-card h3, .catalogue-card h3, .modal-copy h3 { margin: 0; font-size: 25px; line-height: 1.18; letter-spacing: -.02em; }
.product-card p, .catalogue-card p { margin: 0; color: var(--muted); line-height: 1.75; }
.card-highlights { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--ink); font-weight: 800; }
.card-highlights li { display: flex; align-items: start; gap: 8px; }
.card-highlights li::before { content: ''; flex: 0 0 8px; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--green); }
.card-link { margin-top: auto; border: 0; background: transparent; color: var(--teal); font-weight: 900; cursor: pointer; padding: 0; text-align: inherit; }

.catalogue-hero { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; padding: 34px; border-radius: 34px; background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(236,247,204,.72)); border: 1px solid rgba(255,255,255,.75); box-shadow: 0 16px 50px rgba(7,47,44,.07); }
.catalogue-hero > div { max-width: 770px; }
.catalogue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.catalogue-card { overflow: hidden; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(7,47,44,.07); display: flex; flex-direction: column; }
.catalogue-card img { width: 100%; aspect-ratio: 4 / 3.7; object-fit: cover; object-position: top center; background: #f8f8f3; }
.catalogue-card-body { padding: 20px; display: grid; gap: 10px; }
.catalogue-card .card-link { display: inline-flex; margin-top: 6px; }

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split-grid.reverse { grid-template-columns: .92fr 1.08fr; }
.image-stack, .about-visual { position: relative; }
.stack-main, .about-visual > img { border-radius: 34px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.7); background: #fff; }
.stack-float { position: absolute; width: 42%; inset-inline-end: -18px; bottom: -24px; border-radius: 26px; box-shadow: var(--shadow); border: 8px solid var(--cream); }
.content-panel { padding: clamp(24px, 4vw, 44px); background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.75); border-radius: 34px; box-shadow: 0 16px 50px rgba(7,47,44,.07); }
.feature-list { display: grid; gap: 12px; margin-top: 24px; }
.feature-list div { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 20px; background: rgba(245,247,239,.8); }
.feature-list b { color: var(--green); font-size: 22px; }
.feature-list span { color: var(--teal); font-weight: 900; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.note-card { position: absolute; inset-inline-start: 24px; bottom: 24px; padding: 18px 20px; background: rgba(11,75,71,.93); color: #fff; border-radius: 22px; max-width: 270px; box-shadow: var(--shadow); }
.note-card strong { display: block; color: var(--green); }
.note-card span { display: block; margin-top: 6px; }

.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.mini-card { padding: 18px; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 22px; }
.mini-card span { display: block; color: var(--muted); font-size: 13px; font-weight: 900; }
.mini-card strong { display: block; color: var(--teal); margin-top: 6px; overflow-wrap: anywhere; }
.quote-form { display: grid; gap: 16px; padding: 30px; background: #fff; border-radius: 34px; border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow); }
.form-row { display: grid; gap: 8px; }
.form-row label { font-weight: 900; color: var(--teal); }
.form-row input, .form-row textarea, .form-row select { width: 100%; border: 1px solid #d8e2d9; border-radius: 18px; padding: 14px 16px; background: #fbfcf8; color: var(--ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--teal-2); box-shadow: 0 0 0 4px rgba(43,112,109,.10); }
.form-row.error input, .form-row.error textarea, .form-row.error select { border-color: #b42318; }
.form-status { min-height: 22px; margin: 0; color: #b42318; font-weight: 800; }
.form-status.success { color: var(--teal); }

.footer { padding: 28px 0; background: var(--teal); color: rgba(255,255,255,.82); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand img { height: 36px; width: auto; filter: brightness(1.4); }
.footer a { color: #fff; font-weight: 900; }

.product-modal { width: min(1000px, calc(100% - 26px)); border: 0; padding: 0; border-radius: 34px; box-shadow: 0 34px 110px rgba(0,0,0,.32); overflow: visible; background: transparent; }
.product-modal::backdrop { background: rgba(2,20,19,.62); backdrop-filter: blur(4px); }
.modal-close { position: absolute; inset-inline-end: 16px; top: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--teal); color: #fff; font-size: 26px; cursor: pointer; }
.modal-grid { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; background: #fff; border-radius: 34px; }
.modal-media { width: 100%; height: 100%; min-height: 520px; background: #f5f5ee; display: grid; place-items: center; overflow: hidden; }
.modal-media img, .modal-media video { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: top center; background: #f5f5ee; }
.modal-copy { padding: 44px 36px; display: flex; flex-direction: column; gap: 16px; }
.modal-copy p { margin: 0; color: var(--muted); line-height: 1.85; }
.modal-specs { display: grid; gap: 10px; }
.spec-row { border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; background: #fbfcf8; }
.spec-row b { display: block; color: var(--teal); font-size: 13px; }
.spec-row span { display: block; margin-top: 4px; color: var(--ink); font-weight: 800; }
#modalList { margin: 0; padding-inline-start: 20px; color: var(--teal); font-weight: 900; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; top: 84px; inset-inline: 18px; padding: 18px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); display: grid; gap: 8px; transform: translateY(-16px); opacity: 0; pointer-events: none; transition: .2s ease; }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .hero-grid, .split-grid, .split-grid.reverse, .contact-grid { grid-template-columns: 1fr; }
  .product-grid, .catalogue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding-top: 72px; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section-pad { padding: 68px 0; }
  .site-header { width: calc(100% - 16px); margin-top: 8px; border-radius: 24px; padding: 10px; }
  .brand { width: 118px; }
  .brand img { height: 34px; }
  .btn-small { display: none; }
  .hero-grid { gap: 34px; }
  .trust-strip, .metrics, .contact-cards, .product-grid, .catalogue-grid { grid-template-columns: 1fr; }
  .catalogue-hero { display: grid; padding: 24px; }
  .modal-grid { grid-template-columns: 1fr; max-height: 88vh; overflow: auto; }
  .modal-media, .modal-media img, .modal-media video { min-height: 320px; max-height: 420px; }
  .modal-copy { padding: 28px 22px; }
  .hero-card { position: relative; inset: auto; margin-top: 14px; }
  h1 { font-size: clamp(36px, 12vw, 58px); }
  h2 { font-size: clamp(30px, 9vw, 46px); }
}


.media-feature { background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(236,242,230,.92)); }
.video-frame { padding: 16px; border-radius: 34px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.video-frame video { width: 100%; max-height: 720px; border-radius: 24px; background: #0b2725; }
.whatsapp-float { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 9999; background: #25D366; color: #fff; padding: 14px 20px; border-radius: 999px; font-weight: 900; text-decoration: none; box-shadow: 0 18px 45px rgba(0,0,0,.22); }
.whatsapp-float:hover { transform: translateY(-2px); color: #fff; }

/* === Responsive Upgrade 2.1.0: tablet & mobile polish === */
html { width: 100%; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body { width: 100%; min-width: 0; overflow-x: clip; }
main { overflow: clip; }
section { scroll-margin-top: 120px; }
img, svg, video, canvas { max-width: 100%; height: auto; }

body.admin-bar .site-header { top: 32px; }
body.admin-bar .main-nav { top: calc(84px + 32px); }

.site-header { max-width: calc(100vw - 28px); }
.brand { flex: 0 0 auto; }
.header-actions { flex: 0 0 auto; }
.main-nav { min-width: 0; }
.main-nav a { white-space: nowrap; }

.product-card img,
.catalogue-card img,
.modal-media img,
.modal-media video {
  object-fit: contain;
}
.product-card img,
.catalogue-card img {
  padding: 12px;
}
.product-card img { aspect-ratio: 1 / 0.95; }
.catalogue-card img { aspect-ratio: 1 / 1.12; }
.modal-media { padding: 14px; }
.modal-media img, .modal-media video { min-height: 0; }

@media (max-width: 1180px) {
  :root { --container: 1040px; }
  .site-header { gap: 10px; }
  .main-nav { gap: 4px; }
  .main-nav a { padding: 9px 10px; font-size: 13px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr); gap: 34px; }
  .product-grid, .catalogue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
  section { scroll-margin-top: 104px; }
  body.menu-open { overflow: hidden; }
  .site-header { top: 8px; }
  body.admin-bar .site-header { top: 40px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; flex-direction: column; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .menu-toggle span { transition: transform .2s ease; }
  .main-nav {
    position: fixed;
    z-index: 70;
    top: 78px;
    inset-inline: 14px;
    max-height: min(72vh, 520px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  body.admin-bar .main-nav { top: 118px; }
  .main-nav a { display: flex; justify-content: center; padding: 15px 16px; font-size: 16px; border: 1px solid rgba(11,75,71,.08); }
  .hero { padding-top: 62px; }
  .hero-grid, .split-grid, .split-grid.reverse, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions, .trust-strip { justify-content: center; margin-inline: auto; }
  .hero-media { max-width: 720px; margin-inline: auto; width: 100%; }
  .showcase-card { transform: none; }
  .catalogue-hero { align-items: start; }
  .stack-float { width: 36%; inset-inline-end: 18px; bottom: 18px; border-width: 6px; }
  .note-card { max-width: min(320px, calc(100% - 32px)); }
  .modal-grid { grid-template-columns: 1fr; }
  .product-modal { width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 28px); }
  .modal-grid { max-height: calc(100dvh - 28px); overflow: auto; }
  .modal-media { min-height: 0; height: auto; max-height: 46dvh; }
  .modal-media img, .modal-media video { width: 100%; height: auto; max-height: 43dvh; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 54px; }
  body.admin-bar .main-nav { top: 132px; }
}

@media (max-width: 720px) {
  :root { --radius: 22px; }
  body { background-size: auto; }
  section { scroll-margin-top: 92px; }
  .container { width: calc(100% - 28px); }
  .section-pad { padding: 54px 0; }
  .site-header { width: calc(100% - 14px); max-width: calc(100vw - 14px); margin-top: 7px; padding: 8px; border-radius: 22px; gap: 8px; }
  .brand { width: 112px; }
  .brand img { height: 30px; }
  .header-actions { gap: 7px; }
  .lang-toggle, .menu-toggle { width: 42px; height: 42px; }
  .btn-small { display: none; }
  .main-nav { top: 70px; inset-inline: 10px; padding: 12px; border-radius: 24px; }
  .hero { padding-top: 46px; }
  .hero-grid { gap: 28px; }
  h1 { font-size: clamp(34px, 11.5vw, 52px); line-height: 1.08; letter-spacing: -0.018em; }
  h2 { font-size: clamp(28px, 8.5vw, 42px); line-height: 1.16; }
  .lead, .section-head p:not(.eyebrow), .catalogue-hero p, .content-panel p, .contact-copy p { font-size: 15.5px; line-height: 1.85; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 26px 0; }
  .hero-actions .btn { width: 100%; }
  .trust-strip, .metrics, .contact-cards, .product-grid, .catalogue-grid { grid-template-columns: 1fr; }
  .trust-strip div, .metrics div { padding: 15px; }
  .showcase-card { border-radius: 24px; }
  .hero-card { position: relative; inset: auto; min-width: 0; width: 100%; margin-top: 12px; border-radius: 20px; text-align: center; }
  .marquee { padding: 13px 0; }
  .marquee-track { gap: 22px; }
  .marquee-track span { font-size: 12px; }
  .section-head { margin-bottom: 22px; }
  .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .filter { width: 100%; padding: 10px 11px; font-size: 13px; }
  .product-card, .catalogue-card { border-radius: 22px; }
  .product-card img { aspect-ratio: 1 / .82; padding: 10px; }
  .catalogue-card img { aspect-ratio: 1 / 1.04; padding: 10px; }
  .card-content, .catalogue-card-body { padding: 18px; }
  .product-card h3, .catalogue-card h3, .modal-copy h3 { font-size: 22px; }
  .catalogue-hero { display: grid; padding: 22px; border-radius: 24px; }
  .catalogue-hero .btn { width: 100%; }
  .content-panel, .quote-form { border-radius: 24px; }
  .feature-list div { align-items: flex-start; padding: 14px; }
  .stack-main, .about-visual > img { border-radius: 24px; }
  .stack-float { position: relative; inset: auto; width: 100%; margin-top: 12px; border: 0; border-radius: 20px; }
  .note-card { position: relative; inset: auto; margin-top: 12px; max-width: 100%; border-radius: 20px; }
  .quote-form { padding: 20px; gap: 14px; }
  .form-row input, .form-row textarea, .form-row select { border-radius: 15px; padding: 13px 14px; }
  .footer-inner { display: grid; grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-brand img { height: 30px; }
  .product-modal { width: calc(100vw - 14px); max-height: calc(100dvh - 16px); border-radius: 22px; }
  .modal-close { width: 42px; height: 42px; top: 10px; inset-inline-end: 10px; }
  .modal-grid { border-radius: 22px; max-height: calc(100dvh - 16px); }
  .modal-media { padding: 10px; max-height: 38dvh; }
  .modal-media img, .modal-media video { max-height: 35dvh; }
  .modal-copy { padding: 22px 18px; gap: 12px; }
  .whatsapp-float { inset-inline-end: 14px; bottom: 14px; padding: 12px 16px; font-size: 14px; }
}

@media (max-width: 390px) {
  .container { width: calc(100% - 20px); }
  .brand { width: 98px; }
  .brand img { height: 28px; }
  .lang-toggle, .menu-toggle { width: 39px; height: 39px; }
  .filters { grid-template-columns: 1fr; }
  h1 { font-size: clamp(31px, 11vw, 44px); }
  .product-card img, .catalogue-card img { padding: 8px; }
}


/* === Publish Ready 3.0 — final client-facing polish === */
body {
  background:
    radial-gradient(circle at 15% -5%, rgba(182,218,53,.18), transparent 420px),
    radial-gradient(circle at 88% 8%, rgba(43,112,109,.12), transparent 440px),
    linear-gradient(180deg, #fbfcf7 0%, #f3f6ea 100%);
}
.site-header { background: rgba(255,255,255,.92); border-color: rgba(11,75,71,.10); }
.hero { padding-top: 82px; }
.hero-grid { grid-template-columns: minmax(0, .94fr) minmax(390px, 1.06fr); gap: clamp(32px, 5vw, 70px); }
h1 { font-size: clamp(38px, 5.1vw, 68px); line-height: 1.08; letter-spacing: -0.025em; max-width: 760px; }
html[dir="rtl"] h1 { letter-spacing: -0.008em; }
.lead { font-size: clamp(16px, 1.28vw, 20px); max-width: 680px; }
.showcase-card { transform: none; border-radius: 38px; }
.showcase-card img { aspect-ratio: 1200 / 850; object-fit: cover; }
.hero-card { inset-inline-start: 24px; bottom: 24px; min-width: 260px; background: rgba(11,75,71,.96); }
.trust-strip strong, .metrics strong { font-size: 24px; }
.products { background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(245,247,239,.55)); }
.product-card, .catalogue-card, .content-panel, .quote-form { background: rgba(255,255,255,.94); }
.product-card img, .catalogue-card img { object-fit: contain; background: #fff; }
.card-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; border-radius: 999px; background: rgba(11,75,71,.08); color: var(--teal); }
.card-link:hover { background: var(--teal); color: #fff; }
.contact-cards { grid-template-columns: repeat(3, minmax(0,1fr)); }
.whatsapp-card { background: rgba(37,211,102,.08); }
.whatsapp-card strong { color: #168a43; }
.whatsapp-float { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff; padding: 14px 18px 14px 20px; }
.whatsapp-float::before { content: '✆'; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 17px; }
html[lang="en"] .whatsapp-float span::before { content: 'WhatsApp'; }
html[lang="en"] .whatsapp-float span { font-size: 0; }
.footer span { font-weight: 700; }
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions, .trust-strip { justify-content: center; margin-inline: auto; }
  .hero-media { max-width: 780px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .contact-cards { grid-template-columns: 1fr; }
  .hero { padding-top: 54px; }
}
@media (max-width: 720px) {
  h1 { font-size: clamp(31px, 9.4vw, 48px); line-height: 1.18; }
  h2 { font-size: clamp(27px, 7.6vw, 40px); }
  .hero-copy { text-align: start; }
  .hero-copy .lead, .hero-actions, .trust-strip { margin-inline: 0; }
  .trust-strip { grid-template-columns: 1fr; }
  .hero-card { position: static; margin-top: 12px; width: 100%; }
  .showcase-card { border-radius: 24px; }
  .product-card img { aspect-ratio: 1 / .78; }
  .catalogue-card img { aspect-ratio: 1 / .95; }
  .whatsapp-float { bottom: 16px; inset-inline-end: 16px; padding: 12px 16px; }
}
