/* =====================================================================
   HSMC Doors & Windows — Frontend stylesheet
   Premium blue-white business style. EN (LTR) + AR (RTL).
   Palette source: ui设计界面颜色.png
   ===================================================================== */

:root {
   --color-primary: #041A38;      /* Maastricht Blue */
   --color-secondary: #4A9ACB;    /* Celestial Blue */
   --color-cornflower: #97D4F1;   /* Cornflower */
   --color-charcoal: #394C5C;     /* Charcoal */
   --color-soft-bg: #D8E7EE;      /* Azureish White */
   --color-white: #FFFFFF;

   --text-strong: var(--color-primary);
   --text-body: var(--color-charcoal);
   --text-muted: #6a7c89;

   --radius-sm: 10px;
   --radius: 16px;
   --radius-lg: 22px;
   --radius-pill: 999px;

   --shadow-sm: 0 4px 14px rgba(4, 26, 56, 0.08);
   --shadow: 0 14px 34px rgba(4, 26, 56, 0.12);
   --shadow-lg: 0 26px 60px rgba(4, 26, 56, 0.18);

   --container: 1200px;
   --header-h: 84px;

   --font-en: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, system-ui, sans-serif;
   --font-ar: "Tajawal", "Cairo", "Noto Kufi Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
   --font: var(--font-en);
}

html[dir="rtl"] { --font: var(--font-ar); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
   margin: 0;
   font-family: var(--font);
   color: var(--text-body);
   background: var(--color-white);
   line-height: 1.65;
   font-size: 16px;
   -webkit-font-smoothing: antialiased;
   overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
   color: var(--text-strong);
   font-weight: 800;
   line-height: 1.2;
   margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

.container {
   width: 100%;
   max-width: var(--container);
   margin: 0 auto;
   padding: 0 24px;
}

.section { padding: 88px 0; }
.section--soft { background: var(--color-soft-bg); }
.section--primary { background: var(--color-primary); color: #cfe0ec; }
.section--primary h2, .section--primary h3 { color: var(--color-white); }

.eyebrow {
   display: inline-block;
   font-size: 13px;
   font-weight: 700;
   letter-spacing: .14em;
   text-transform: uppercase;
   color: var(--color-secondary);
   margin-bottom: 14px;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--text-muted); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   font-family: inherit;
   font-weight: 700;
   font-size: 15px;
   padding: 14px 26px;
   border-radius: var(--radius-pill);
   border: 2px solid transparent;
   cursor: pointer;
   transition: all .25s ease;
   line-height: 1;
   white-space: nowrap;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-secondary); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--secondary { background: transparent; color: var(--color-primary); border-color: var(--color-secondary); }
.btn--secondary:hover { background: var(--color-secondary); color: #fff; transform: translateY(-2px); }
.btn--accent { background: var(--color-secondary); color: #fff; }
.btn--accent:hover { background: var(--color-primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: #fff; color: var(--color-primary); }
.btn--whatsapp { background: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1ebe5a; transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
   position: fixed;
   top: 0; left: 0; right: 0;
   z-index: 1000;
   height: var(--header-h);
   display: flex;
   align-items: center;
   transition: background .3s ease, box-shadow .3s ease, height .3s ease;
   background: linear-gradient(180deg, rgba(4,26,56,.55), rgba(4,26,56,0));
}
.site-header.scrolled {
   background: var(--color-primary);
   box-shadow: 0 8px 30px rgba(4,26,56,.28);
   height: 70px;
}
.site-header .container {
   display: flex;
   align-items: center;
   gap: 22px;
   max-width: 1600px;
   padding-left: 40px;
   padding-right: 40px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img.brand-logo { height: 42px; width: auto; max-width: 180px; object-fit: contain; }
.brand .brand-text { display: none; flex-direction: column; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: .02em; line-height: 1.1; }
.brand .brand-text small { display: block; font-size: 11px; font-weight: 600; opacity: .8; letter-spacing: .12em; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { list-style: none; display: flex; flex-wrap: nowrap; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
   display: block;
   white-space: nowrap;
   color: rgba(255,255,255,.92);
   font-weight: 700;
   font-size: 16px;
   letter-spacing: -0.01em;
   padding: 10px 14px;
   border-radius: var(--radius-sm);
   transition: all .2s ease;
   position: relative;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.main-nav a.active { color: var(--color-cornflower); }
.main-nav a.active::after {
   content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
   background: var(--color-cornflower); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.lang-switch { display: flex; gap: 4px; background: rgba(255,255,255,.12); border-radius: var(--radius-pill); padding: 4px; }
.lang-switch button {
   border: none; background: transparent; color: #fff; cursor: pointer;
   font-family: inherit; font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: var(--radius-pill);
   transition: all .2s ease;
}
.lang-switch button.active { background: var(--color-secondary); color: #fff; }
.header-cta { display: inline-flex; }

.menu-toggle {
   display: none;
   background: rgba(255,255,255,.14);
   border: none; color: #fff; width: 46px; height: 46px; border-radius: 12px;
   font-size: 20px; cursor: pointer; align-items: center; justify-content: center;
}

/* ---------- Mobile drawer ---------- */
.mobile-drawer {
   position: fixed; inset: 0; z-index: 1100;
   background: var(--color-primary);
   transform: translateX(100%);
   transition: transform .35s ease;
   display: flex; flex-direction: column; padding: 26px;
   visibility: hidden;
}
html[dir="rtl"] .mobile-drawer { transform: translateX(-100%); }
.mobile-drawer.open { transform: translateX(0); visibility: visible; }
.mobile-drawer .drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-drawer .drawer-top img { height: 42px; filter: brightness(0) invert(1); }
.mobile-drawer .drawer-close { background: rgba(255,255,255,.14); border: none; color: #fff; width: 44px; height: 44px; border-radius: 12px; font-size: 22px; cursor: pointer; }
.mobile-drawer nav a {
   display: block; color: #fff; font-size: 20px; font-weight: 700;
   padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-drawer nav a.active { color: var(--color-cornflower); }
.mobile-drawer .drawer-actions { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
.mobile-drawer .lang-switch { align-self: flex-start; }

/* ---------- Page hero / banner ---------- */
.page-hero {
   position: relative;
   min-height: 420px;
   display: flex;
   align-items: center;
   color: #fff;
   padding: calc(var(--header-h) + 50px) 0 60px;
   background: var(--color-primary);
   overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; }
.page-hero__overlay {
   position: absolute; inset: 0;
   background: linear-gradient(110deg, rgba(4,26,56,.92) 0%, rgba(4,26,56,.72) 45%, rgba(4,26,56,.35) 100%);
}
html[dir="rtl"] .page-hero__overlay { background: linear-gradient(250deg, rgba(4,26,56,.92) 0%, rgba(4,26,56,.72) 45%, rgba(4,26,56,.35) 100%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 52px); max-width: 760px; }
.page-hero p { color: #d4e3ee; font-size: 18px; max-width: 640px; }
.breadcrumb { font-size: 14px; color: var(--color-cornflower); margin-bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Home Hero ---------- */
.home-hero {
   position: relative; min-height: 100vh; display: flex; align-items: center;
   color: #fff; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 70px;
}
.home-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero__overlay {
   position: absolute; inset: 0;
   background: linear-gradient(105deg, rgba(4,26,56,.94) 0%, rgba(4,26,56,.78) 40%, rgba(4,26,56,.30) 75%, rgba(4,26,56,.10) 100%);
}
html[dir="rtl"] .home-hero__overlay { background: linear-gradient(255deg, rgba(4,26,56,.94) 0%, rgba(4,26,56,.78) 40%, rgba(4,26,56,.30) 75%, rgba(4,26,56,.10) 100%); }
.home-hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.home-hero__content { max-width: 640px; }
.home-hero .badge {
   display: inline-flex; align-items: center; gap: 8px;
   background: rgba(151,212,241,.16); border: 1px solid rgba(151,212,241,.4);
   color: var(--color-cornflower); padding: 8px 16px; border-radius: var(--radius-pill);
   font-size: 13px; font-weight: 700; letter-spacing: .04em; margin-bottom: 22px;
}
.home-hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 58px); margin-bottom: 20px; }
.home-hero h1 .accent { color: var(--color-cornflower); }
.home-hero__sub { font-size: 18px; color: #d4e3ee; margin-bottom: 30px; line-height: 1.7; }
.home-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.home-hero__trust { display: flex; flex-wrap: wrap; gap: 22px; }
.home-hero__trust div { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: #e3eef5; }
.home-hero__trust i { color: var(--color-cornflower); font-size: 18px; }

.hero-card {
   background: rgba(255,255,255,.10);
   border: 1px solid rgba(255,255,255,.2);
   backdrop-filter: blur(14px);
   border-radius: var(--radius-lg);
   padding: 28px;
   box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: #fff; font-size: 20px; margin-bottom: 18px; }
.hero-card .hc-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.hero-card .hc-row:last-child { border-bottom: none; }
.hero-card .hc-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--color-secondary); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; flex-shrink: 0; }
.hero-card .hc-row small { display: block; color: var(--color-cornflower); font-size: 12px; font-weight: 600; }
.hero-card .hc-row strong { color: #fff; font-size: 16px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
   background: #fff;
   border-radius: var(--radius);
   overflow: hidden;
   box-shadow: var(--shadow-sm);
   border: 1px solid #eef3f6;
   transition: transform .3s ease, box-shadow .3s ease;
   display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

/* Category / product card */
.prod-card__img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--color-soft-bg); }
.prod-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .prod-card__img img { transform: scale(1.07); }
.prod-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.prod-card__body h3 { font-size: 19px; margin-bottom: 8px; }
.prod-card__body p { color: var(--text-muted); font-size: 14px; flex: 1; }
.prod-card__link { color: var(--color-secondary); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; }
.prod-card__link i { transition: transform .2s ease; }
html[dir="rtl"] .prod-card__link i { transform: scaleX(-1); }
.card:hover .prod-card__link i { transform: translateX(4px); }
html[dir="rtl"] .card:hover .prod-card__link i { transform: scaleX(-1) translateX(4px); }

/* Feature card */
.feature {
   background: #fff; border-radius: var(--radius); padding: 28px 24px;
   border: 1px solid #eef3f6; box-shadow: var(--shadow-sm);
   transition: all .3s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--color-cornflower); }
.feature .fi { width: 56px; height: 56px; border-radius: 14px; background: var(--color-soft-bg); color: var(--color-secondary); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.step { text-align: center; position: relative; }
.step .step-num {
   width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
   background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center;
   font-size: 22px; font-weight: 800; position: relative; z-index: 2;
   border: 4px solid var(--color-soft-bg);
}
.step:not(:last-child)::after {
   content: ""; position: absolute; top: 32px; inset-inline-start: 50%; width: 100%; height: 2px;
   background: var(--color-cornflower); z-index: 1;
}
.step h4 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: clamp(32px, 4vw, 48px); font-weight: 800; color: var(--color-cornflower); }
.stat .label { color: #cfe0ec; font-size: 15px; font-weight: 600; }

/* ---------- Product detail — hero (gallery + info) ---------- */
/* Wider, prominent product showcase. Applies to every product.html?id=… page. */
.pd-hero-sec { background: #fff; padding: 0; }
.pd-hero-inner { max-width: 1360px; margin: 0 auto; padding: 72px 24px 88px; }
.pd-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 56px; align-items: center; }
.pd-gallery { width: 100%; max-width: 700px; }
/* main image: large, fills its frame, no big empty box */
.pd-gallery .pd-main { width: 100%; max-width: 700px; height: 500px; border-radius: 24px; overflow: hidden; background: #F6FAFC; margin-bottom: 18px; box-shadow: 0 18px 45px rgba(4, 26, 56, 0.08); }
.pd-main img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* white-background / isolated product shots: show whole product, no crop */
.pd-main.is-contain { background: #F6FAFC; }
.pd-main.is-contain img { object-fit: contain; padding: 32px; }
/* thumbnails: larger, clear, with active + hover states */
.pd-thumbs { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 0; }
.pd-thumbs img { width: 88px; height: 66px; object-fit: cover; border-radius: 12px; cursor: pointer; border: 2px solid transparent; background: #F6FAFC; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.pd-thumbs img.active { border-color: var(--color-secondary); box-shadow: 0 8px 20px rgba(74, 154, 203, 0.18); }
.pd-thumbs img:hover { transform: translateY(-2px); border-color: var(--color-secondary); }
/* right-hand info column, vertically centred against the image */
.pd-info { max-width: 560px; }
.pd-info h1 { font-size: clamp(36px, 4vw, 52px); line-height: 1.08; font-weight: 800; color: var(--color-primary); }
.pd-info > p { font-size: 17px; line-height: 1.75; color: var(--color-charcoal); }
.pd-model { color: var(--color-secondary); font-weight: 700; margin-bottom: 18px; }
.pd-features { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.pd-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.pd-features i { color: var(--color-secondary); margin-top: 4px; }
.pd-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
/* Arabic / RTL: right-aligned copy, mirrored layout via document dir */
[dir="rtl"] .pd-info { text-align: right; }
/* Tablet */
@media (max-width: 1024px) {
   .pd-hero-inner { padding: 56px 22px 72px; }
   .pd-layout { grid-template-columns: 1fr; gap: 40px; }
   .pd-gallery { max-width: 100%; }
   .pd-gallery .pd-main { max-width: 100%; height: 420px; }
}
/* Mobile */
@media (max-width: 768px) {
   .pd-hero-inner { padding: 48px 18px 64px; }
   .pd-layout { grid-template-columns: 1fr; gap: 32px; }
   .pd-gallery .pd-main { max-width: 100%; height: 300px; border-radius: 18px; }
   .pd-thumbs img { width: 72px; height: 56px; }
   .pd-info h1 { font-size: 32px; }
}

/* product detail: specs + performance two-column */
.pd-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.pd-card { background: #fff; border: 1px solid rgba(74,154,203,.14); border-radius: 24px; box-shadow: 0 18px 45px rgba(4,26,56,.08); padding: 32px; height: 100%; }
.pd-block-title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; color: var(--color-primary); margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.pd-block-ic { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; background: rgba(151,212,241,.22); color: var(--color-secondary); display: flex; align-items: center; justify-content: center; font-size: 22px; }
/* system specifications — table-style rows */
.spec-table-list { display: flex; flex-direction: column; }
.spec-row { display: grid; grid-template-columns: 84px minmax(140px, .8fr) minmax(190px, 1fr); align-items: center; gap: 12px; min-height: 92px; padding: 8px 0; border-bottom: 1px solid rgba(57,76,92,.10); }
.spec-row:last-child { border-bottom: none; }
.spec-row .spec-ic { width: 64px; height: 64px; border-radius: 16px; background: rgba(151,212,241,.18); color: var(--color-secondary); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.spec-row .spec-lbl { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--color-primary); font-weight: 700; }
.spec-row .spec-val { font-size: 16px; font-weight: 500; color: var(--color-charcoal); line-height: 1.55; }
@media (max-width: 768px) {
   .pd-card { padding: 22px; }
   .spec-row { grid-template-columns: 52px 1fr; row-gap: 2px; min-height: 0; padding: 14px 0; }
   .spec-row .spec-ic { width: 44px; height: 44px; font-size: 18px; grid-row: 1 / span 2; }
}
/* performance — 2x3 cards with circular icon */
.perf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.perf-card { background: rgba(216,231,238,.65); border-radius: 18px; padding: 22px; min-height: 120px; display: flex; flex-direction: column; gap: 12px; transition: transform .25s ease; }
.perf-card:hover { transform: translateY(-3px); }
.perf-ic { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--color-secondary); display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: var(--shadow-sm); }
.perf-lbl { font-size: 14px; color: var(--color-primary); font-weight: 600; line-height: 1.35; }
.perf-val { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; color: var(--color-secondary); line-height: 1; }
/* small sub-heading separating fixed core params from additional ones */
.pd-subhead { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--color-secondary); padding: 14px 0 6px; margin-top: 6px; border-top: 1px dashed rgba(57,76,92,.16); }
.spec-table-list .pd-subhead { margin-top: 4px; }
.perf-grid .pd-subhead--full { grid-column: 1 / -1; border-top: none; padding-top: 4px; }
/* configuration horizontal cards */
.config-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.config-card { background: #fff; border: 1px solid #eef3f6; border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow-sm); text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.config-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.config-ic { font-size: 26px; color: var(--color-secondary); margin-bottom: 12px; }
.config-lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); font-weight: 700; margin-bottom: 8px; }
.config-val { font-size: 17px; font-weight: 800; color: var(--color-secondary); }
@media (max-width: 768px) { .pd-two-col { grid-template-columns: 1fr; gap: 30px; } }

.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table th, .spec-table td { padding: 15px 22px; text-align: start; border-bottom: 1px solid #eef3f6; font-size: 15px; }
.spec-table th { background: var(--color-soft-bg); color: var(--color-charcoal); font-weight: 700; width: 38%; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

.colors-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.color-chip { display: block; background: #fff; border: 1px solid #eef3f6; border-radius: 18px; padding: 14px; box-shadow: var(--shadow-sm); cursor: zoom-in; font-family: inherit; text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.color-chip:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.color-chip .swatch { width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; margin: 0 0 12px; background: var(--color-soft-bg); }
.color-chip .swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.color-chip span { display: block; font-size: 15px; font-weight: 700; color: var(--color-primary); }
@media (max-width: 1024px) { .colors-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .colors-row { grid-template-columns: repeat(2, 1fr); } }

/* optional accessories */
.acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.acc-card { display: block; color: inherit; text-decoration: none; background: #fff; border: 1px solid #eef3f6; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; cursor: pointer; }
.acc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--color-cornflower); }
.acc-thumb { height: 130px; background: var(--color-soft-bg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.acc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.acc-thumb--icon i { font-size: 48px; color: var(--color-secondary); }
.acc-card:hover .acc-thumb--icon i { transform: scale(1.08); transition: transform .25s ease; }
.acc-body { padding: 18px 20px; }
.acc-tag { display: inline-block; background: var(--color-soft-bg); color: var(--color-secondary); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 11px; border-radius: var(--radius-pill); margin-bottom: 9px; }
.acc-body h3 { font-size: 17px; margin-bottom: 6px; }
.acc-body p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* accessory detail */
.acc-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.acc-hero-icon { aspect-ratio: 4/3; border-radius: var(--radius-lg); background: var(--color-soft-bg); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.acc-hero-icon i { font-size: 110px; color: var(--color-secondary); }
.acc-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.acc-shot { aspect-ratio: 4/3; border-radius: var(--radius); background: var(--color-soft-bg); padding: 14px; box-shadow: var(--shadow-sm); border: 1px solid #eef3f6; }
.acc-shot img { width: 100%; height: 100%; object-fit: contain; }
.acc-applies-label { font-size: 13px; font-weight: 700; color: var(--color-secondary); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.chips-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chips-row a.chip:hover { background: var(--color-secondary); color: #fff; }
@media (max-width: 768px) { .acc-detail-grid { grid-template-columns: 1fr; gap: 28px; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(4,26,56,.82); display: flex; align-items: center; justify-content: center; padding: 30px; backdrop-filter: blur(4px); }
.lightbox-inner { position: relative; max-width: 720px; width: 100%; text-align: center; }
.lightbox-inner img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #fff; }
.lightbox-cap { margin-top: 14px; color: #fff; font-size: 17px; font-weight: 700; }
.lightbox-close { position: absolute; top: -14px; inset-inline-end: -14px; width: 44px; height: 44px; border-radius: 50%; border: none; background: #fff; color: var(--color-primary); font-size: 24px; cursor: pointer; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { background: var(--color-secondary); color: #fff; }
@media (max-width: 768px) { .lightbox { padding: 16px; } .lightbox-close { top: -6px; inset-inline-end: -6px; } }

/* ---------- Projects ---------- */
.project-card__img { aspect-ratio: 3/2; overflow: hidden; background: var(--color-soft-bg); }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .project-card__img img { transform: scale(1.07); }
.project-card .meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--color-secondary); font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .04em; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--color-soft-bg); color: var(--color-charcoal); padding: 6px 14px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-bar button {
   border: 1.5px solid var(--color-soft-bg); background: #fff; color: var(--color-charcoal);
   padding: 10px 20px; border-radius: var(--radius-pill); cursor: pointer; font-family: inherit; font-weight: 600; font-size: 14px; transition: all .2s ease;
}
.filter-bar button.active, .filter-bar button:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ---------- Contact / forms ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.info-card { background: var(--color-primary); color: #cfe0ec; border-radius: var(--radius-lg); padding: 38px; }
.info-card h3 { color: #fff; }
.info-card .ic-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.info-card .ic-row:last-child { border-bottom: none; }
.info-card .ic-ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--color-secondary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.info-card .ic-row small { display: block; color: var(--color-cornflower); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.info-card .ic-row strong { color: #fff; font-size: 16px; font-weight: 600; word-break: break-word; }

.contact-layout { align-items: stretch; }
.contact-layout > div:first-child { display: flex; flex-direction: column; }
.contact-map { margin-top: 18px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid #eef3f6; line-height: 0; flex: 1 1 auto; min-height: 300px; }
.contact-map iframe { height: 100% !important; min-height: 300px; }
.form-card { background: #fff; border: 1px solid #eef3f6; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--color-charcoal); }
.field input, .field select, .field textarea {
   width: 100%; padding: 13px 16px; border: 1.5px solid #dbe6ec; border-radius: var(--radius-sm);
   font-family: inherit; font-size: 15px; color: var(--color-charcoal); background: #fbfdfe; transition: all .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 4px rgba(74,154,203,.14); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-msg { padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 18px; display: none; }
.form-msg.success { background: #e6f6ec; color: #1b7a3d; display: block; }
.form-msg.error { background: #fdeaea; color: #c0392b; display: block; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--color-soft-bg); }
.cta-band .inner { background: var(--color-primary); border-radius: var(--radius-lg); padding: 56px; text-align: center; color: #cfe0ec; position: relative; overflow: hidden; }
.cta-band .inner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(74,154,203,.4), transparent 55%); }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.5vw, 40px); position: relative; z-index: 2; }
.cta-band p { position: relative; z-index: 2; font-size: 18px; }
.cta-band .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; margin-top: 22px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.about-grid img { border-radius: 24px; box-shadow: var(--shadow); width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
/* About stats on white background */
.about-stats-light .stat { text-align: start; padding: 2px 24px; }
.about-stats-light .stat:first-child { padding-inline-start: 0; }
.about-stats-light .stat:not(:last-child) { border-inline-end: 1px solid #dbe6ec; }
.about-stats-light .num { color: var(--color-secondary); }
.about-stats-light .label { color: var(--text-muted); }
@media (max-width: 768px) { .about-stats-light .stat { border-inline-end: none; padding-inline-start: 0; } }
.about-list { list-style: none; padding: 0; margin: 20px 0 0; }
.about-list li { display: flex; gap: 12px; padding: 9px 0; font-size: 16px; }
.about-list i { color: var(--color-secondary); margin-top: 5px; }

.client-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: stretch; }
.client-logos img { background: #fff; border: 1px solid #e6eef3; border-radius: 14px; padding: 16px 20px; height: 86px; width: 100%; object-fit: contain; box-shadow: var(--shadow-sm); filter: grayscale(1); opacity: .9; transition: all .3s ease; }
.client-logos img:hover { filter: none; opacity: 1; box-shadow: var(--shadow); transform: translateY(-3px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary); color: #aebfce; padding: 70px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 48px; width: auto; max-width: 200px; object-fit: contain; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: all .2s ease; }
.footer-social a:hover { background: var(--color-secondary); }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 14px; transition: color .2s ease; }
.footer-col a:hover { color: var(--color-cornflower); }
.footer-contact-row { display: flex; gap: 11px; margin-bottom: 13px; font-size: 14px; align-items: flex-start; }
.footer-contact-row i { color: var(--color-secondary); margin-top: 4px; }
.footer-bottom { padding: 22px 0; text-align: center; font-size: 13px; color: #7e91a3; }

/* ---------- WhatsApp float ---------- */
.wa-float {
   position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 900;
   display: inline-flex; align-items: center; gap: 10px;
   background: #25D366; color: #fff; padding: 13px 20px; border-radius: var(--radius-pill);
   font-weight: 700; font-size: 15px; box-shadow: 0 10px 30px rgba(37,211,102,.45);
   transition: all .25s ease;
}
.wa-float i { font-size: 22px; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 36px rgba(37,211,102,.55); }

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.muted { color: var(--text-muted); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
[hidden] { display: none !important; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
   .main-nav, .header-cta { display: none; }
   .menu-toggle { display: flex; }
   .home-hero .container { grid-template-columns: 1fr; }
   .hero-card { display: none; }
   .grid--4 { grid-template-columns: repeat(2, 1fr); }
   .steps { grid-template-columns: repeat(4, 1fr); }
   .step:not(:last-child)::after { display: none; }
   .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
   .section { padding: 60px 0; }
   .home-hero { min-height: auto; }
   .home-hero__cta { flex-direction: column; align-items: stretch; }
   .home-hero__cta .btn { width: 100%; }
   .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
   .pd-layout, .contact-layout, .about-grid { grid-template-columns: 1fr; gap: 30px; }
   .steps { grid-template-columns: repeat(2, 1fr); }
   .stats { grid-template-columns: repeat(2, 1fr); }
   .field-row { grid-template-columns: 1fr; }
   .pd-features { grid-template-columns: 1fr; }
   .client-logos { grid-template-columns: repeat(3, 1fr); }
   .cta-band .inner { padding: 36px 22px; }
   .footer-top { grid-template-columns: 1fr; gap: 30px; }
   .wa-float span { display: none; }
   .wa-float { padding: 14px; }
   .info-card, .form-card { padding: 26px; }
}

@media (max-width: 420px) {
   .container { padding: 0 16px; }
   .stats { grid-template-columns: 1fr; }
   .colors-row { gap: 12px; }
}
