/* Sivam Traders - Kingdom of Tiles | WEB-000036 */
:root {
  --primary: #3F5FE0;
  --primary-dark: #2E49B8;
  --primary-soft: #EEF1FD;
  --navy: #14213D;
  --navy-2: #1C2D52;
  --navy-3: #0D1730;
  --accent: #F97316;
  --accent-2: #EA580C;
  --accent-grad: linear-gradient(135deg, #FB923C 0%, #F97316 45%, #EA580C 100%);
  --wa: #25D366;
  --text: #1F2937;
  --muted: #5B6475;
  --line: #E4E7EF;
  --bg: #FFFFFF;
  --tint: #F5F7FC;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(20, 33, 61, .06);
  --shadow: 0 12px 32px rgba(20, 33, 61, .10);
  --shadow-lg: 0 24px 60px rgba(20, 33, 61, .18);
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
address { font-style: normal; }
.ic { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.1; text-align: center;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; cursor: pointer;
}
.btn .ic { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: 0 10px 24px rgba(234, 88, 12, .32); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(234, 88, 12, .42); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 22px rgba(37,211,102,.3); }
.btn-wa:hover { color: #fff; background: #1EBE5A; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { color: #fff; background: var(--navy-2); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; }
.text-cta { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; color: var(--accent-2); font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.text-cta .ic { transition: transform .2s ease; }
.text-cta:hover .ic { transform: translateX(4px); }

/* Top bar */
.topbar { background: var(--navy-3); color: #CBD3E6; font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #E6EAF5; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 22px; min-width: 0; }
.topbar-contact .ic { color: var(--accent); }
.topbar-social { display: flex; align-items: center; gap: 10px; }
.social-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #93A0BF; }
.topbar-social a { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.08); justify-content: center; }
.topbar-social a:hover { background: var(--wa); }
.topbar-social .ic { width: 15px; height: 15px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 400; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20,33,61,.08); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo img { height: 58px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; white-space: nowrap; padding: 8px 10px; border-radius: 8px; color: var(--navy); font-weight: 600; font-size: .93rem; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: var(--primary-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); align-items: center; justify-content: center; }
.nav-toggle .ic { width: 24px; height: 24px; }

/* Mobile nav */
.mobile-nav-backdrop { position: fixed; inset: 0; background: rgba(13,23,48,.55); z-index: 450; }
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: #fff; z-index: 460;
  padding: 18px 20px 24px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto;
  transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { transform: translateX(0); visibility: visible; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mobile-nav-head img { height: 44px; width: auto; }
.nav-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li a { display: block; padding: 12px 6px; color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav-contact { display: grid; gap: 8px; margin-top: auto; }
.mobile-nav-contact a { display: flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; padding: 6px; }
.mobile-nav-contact .ic { color: var(--primary); }

/* Eyebrow + section heads */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow .ic { display: none; }
.eyebrow-light { color: #FDBA74; }
h2 span, h1 span { color: var(--primary); }
.section { padding: 92px 0; }
.section-tint { background: var(--tint); }
.section-navy { background: radial-gradient(1200px 500px at 85% -10%, rgba(63,95,224,.35), transparent 60%), var(--navy); color: #C9D2E8; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head-light h2 { color: #fff; }
.section-head-light p { color: #B8C2DA; }
.section-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.sub-head { text-align: center; margin: 56px 0 22px; font-size: 1.3rem; }

/* Hero */
.hero { position: relative; background: var(--navy); color: #D5DCEC; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.8); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,23,48,.96) 0%, rgba(20,33,61,.86) 45%, rgba(20,33,61,.72) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; margin-bottom: 18px; }
.hero h1 span { color: #FDBA74; }
.hero-lead { font-size: 1.08rem; color: #C7D0E4; max-width: 620px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 34px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hero-stats li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 14px 12px; text-align: center; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 1.45rem; font-weight: 800; color: #fff; line-height: 1.1; }
.hero-stats span { font-size: .8rem; color: #AEB9D3; }

.founder-card { max-width: 380px; margin: 0 auto; background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.18); border-radius: 24px; padding: 14px; box-shadow: var(--shadow-lg); backdrop-filter: blur(6px); }
.founder-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, var(--primary), var(--navy-2)); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.founder-initials { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 4.5rem; font-weight: 800; color: #fff; }
.founder-photo.no-img img { display: none; }
.founder-photo.no-img .founder-initials { display: flex; }
.founder-meta { text-align: center; padding: 16px 8px 6px; }
.founder-meta strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: #fff; }
.founder-meta span { display: block; color: #FDBA74; font-weight: 600; font-size: .95rem; }
.founder-meta em { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-style: normal; font-size: .85rem; color: #B8C2DA; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; padding: 0 0 48px 0; }
.about-img-main { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.2; }
.about-img-main img, .about-img-small img { width: 100%; height: 100%; object-fit: cover; }
.about-img-small { position: absolute; right: -18px; bottom: 0; width: 46%; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); }
.about-badge { position: absolute; left: 20px; bottom: 16px; background: var(--accent-grad); color: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: 0 14px 30px rgba(234,88,12,.35); }
.about-badge strong { display: block; font-family: var(--font-head); font-size: 1.8rem; line-height: 1; }
.about-badge span { font-size: .78rem; opacity: .95; }
.about-content p { color: var(--muted); }
.chip-list { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--primary-soft); color: var(--navy); font-weight: 600; font-size: .9rem; }
.chip-list .ic { color: var(--primary); width: 16px; height: 16px; }
.vision-box { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 14px; border: 1px solid var(--line); border-left: 4px solid var(--primary); background: #fff; margin: 4px 0 22px; box-shadow: var(--shadow-sm); }
.vision-box strong { font-family: var(--font-head); color: var(--navy); }
.vision-box p { margin: 2px 0 0; font-size: .95rem; }
.vision-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Cards */
.card-grid { display: grid; gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.icon-box { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-box .ic { width: 26px; height: 26px; }
.icon-box-light { background: rgba(255,255,255,.12); color: #fff; }
.icon-box-glass { background: rgba(63,95,224,.25); color: #fff; border: 1px solid rgba(255,255,255,.15); }
.icon-box-wa { background: #E7F9EE; color: #1EBE5A; }

.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(63,95,224,.35); }
.service-card .icon-box { margin-bottom: 18px; }
.service-card p { color: var(--muted); margin: 0; font-size: .95rem; }

.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-body { padding: 18px 20px 16px; }
.product-label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8A93A6; margin-bottom: 4px; }
.product-body h3 { margin-bottom: 4px; }
.product-card-cta { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #C9D2E8; padding: 28px 24px; justify-content: space-between; gap: 20px; border: 0; }
.product-card-cta h3 { color: #fff; margin-top: 16px; }
.product-card-cta p { color: #B8C2DA; font-size: .95rem; }

.mini-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.mini-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 22px 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(63,95,224,.35); }
.mini-title { font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.3; }
.mini-link { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-2); font-size: .82rem; font-weight: 600; margin-top: auto; }
.mini-link .ic { width: 14px; height: 14px; }

.why-card { display: flex; gap: 16px; align-items: flex-start; padding: 26px 22px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .2s ease, transform .2s ease; }
.why-card:hover { background: rgba(255,255,255,.09); transform: translateY(-3px); }
.why-card h3 { color: #fff; margin-bottom: 6px; }
.why-card p { margin: 0; font-size: .95rem; color: #B8C2DA; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.gallery-item { position: relative; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--tint); }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-zoom { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.8); transition: all .2s ease; }
.gallery-item:hover .gallery-zoom, .gallery-item:focus-visible .gallery-zoom { opacity: 1; transform: scale(1); }

.lightbox { position: fixed; inset: 0; z-index: 700; background: rgba(13,23,48,.92); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 160px); width: auto; border-radius: 12px; }
.lightbox figcaption { color: #D5DCEC; margin-top: 12px; font-size: .95rem; text-align: center; }
.lightbox-close, .lightbox-nav { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.28); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .ic { width: 24px; height: 24px; }

/* Testimonials */
.testimonial-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.stars { display: flex; gap: 3px; color: #F5B301; margin-bottom: 14px; }
.star { width: 18px; height: 18px; }
.testimonial-card blockquote { margin: 0 0 22px; color: var(--text); font-size: 1rem; flex: 1; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial-card figcaption strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .98rem; }
.testimonial-card figcaption small { color: var(--muted); }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--navy)); color: #fff; font-family: var(--font-head); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item.open { border-color: rgba(63,95,224,.4); box-shadow: var(--shadow-sm); }
.faq-item h3 { margin: 0; font-size: 1rem; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: none; border: 0; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--navy); }
.faq-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .25s ease, background .2s ease, color .2s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-a { padding: 0 22px 18px; color: var(--muted); }
.faq-a p { margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; align-items: start; }
.contact-info { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-sm); }
.contact-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon-box { width: 44px; height: 44px; border-radius: 12px; }
.contact-list .icon-box .ic { width: 21px; height: 21px; }
.contact-list small { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #8A93A6; font-weight: 600; }
.contact-list div > a, .contact-list div > span, .contact-list address { display: block; color: var(--navy); font-weight: 600; word-break: break-word; }
.contact-list div > a:hover { color: var(--primary); }
.contact-list div > .inline-link { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-2); margin-top: 4px; font-size: .92rem; }
.contact-list .inline-link .ic { width: 15px; height: 15px; }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.contact-form-card h3 { font-size: 1.45rem; margin-bottom: 4px; }
.form-intro { color: var(--muted); margin-bottom: 20px; }
.map-wrap { margin-top: 32px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); height: 400px; background: var(--tint); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Forms (shared by popup + contact) */
.enquiry-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.req { color: var(--accent-2); }
.opt { color: #8A93A6; font-weight: 500; }
.field input, .field select, .field textarea, .cc-select {
  width: 100%; min-height: 48px; padding: 12px 16px; border: 1.5px solid #D5DAE6; border-radius: 12px;
  font: inherit; font-size: 16px; color: var(--text); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213D' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus, .cc-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(63,95,224,.15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #DC2626; box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.field-error { color: #DC2626; font-size: .8rem; min-height: 0; }
.field-error:empty { display: none; }
.phone-group { display: flex; gap: 8px; }
.phone-group input { flex: 1; min-width: 0; }
.phone-group .cc-select { width: 96px; flex-shrink: 0; padding: 12px 30px 12px 12px; background-position: right 8px center; background-size: 16px; }
.cc-fixed { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 0 14px; min-height: 48px; border: 1.5px solid #D5DAE6; border-radius: 12px; background: var(--tint); font-weight: 600; color: var(--navy); }
.flag-in { width: 22px; height: 15px; border-radius: 2px; background: linear-gradient(#FF9933 0 33.3%, #fff 33.3% 66.6%, #138808 66.6%); position: relative; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.flag-in::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border: 1px solid #000080; border-radius: 50%; }
.form-status { margin: 0; font-size: .9rem; font-weight: 600; text-align: center; }
.form-status:empty { display: none; }
.form-status.success { color: #15803D; }
.form-status.error { color: #DC2626; }
.form-note { margin: 0; font-size: .82rem; color: #8A93A6; text-align: center; }
.form-note .ic { width: 14px; height: 14px; color: #15803D; display: inline-block; vertical-align: -2px; margin-right: 3px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Popup (approved single centered card) */
.popup-overlay { position: fixed; inset: 0; z-index: 600; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(13,23,48,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s ease; }
.popup-overlay[hidden] { display: none; }
.popup-overlay.show { opacity: 1; }
.popup-card { position: relative; width: 100%; max-width: 430px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.35); transform: translateY(16px) scale(.98); transition: transform .25s ease; overscroll-behavior: contain; }
.popup-overlay.show .popup-card { transform: none; }
.popup-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .2s ease, transform .2s ease; }
.popup-close:hover { background: rgba(255,255,255,.32); transform: rotate(90deg); }
.popup-close .ic { width: 18px; height: 18px; }
.popup-timer { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 56px 42px; background: linear-gradient(135deg, var(--navy-3) 0%, var(--navy) 55%, var(--navy-2) 100%); color: #fff; border-radius: 22px 22px 0 0; transition: background .3s ease; }
.popup-timer-label { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FDBA74; }
.popup-timer-label .ic { width: 14px; height: 14px; fill: currentColor; }
.popup-timer-count { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; letter-spacing: .04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.popup-timer.urgent { background: linear-gradient(135deg, #7F1D1D 0%, #DC2626 60%, #EF4444 100%); animation: urgentPulse 1s ease-in-out infinite; }
.popup-timer.urgent .popup-timer-label { color: #FECACA; }
@keyframes urgentPulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.18); } }
.popup-body { padding: 0 26px 24px; text-align: center; }
.popup-badge { width: 60px; height: 60px; margin: -30px auto 12px; position: relative; border-radius: 16px; background: var(--accent-grad); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 22px rgba(234,88,12,.35); border: 4px solid #fff; box-sizing: content-box; }
.popup-badge .ic { width: 28px; height: 28px; }
.popup-title { font-size: 1.5rem; font-weight: 800; margin: 0 0 6px; }
.popup-title span { color: var(--accent-2); }
.popup-sub { color: var(--muted); font-size: .93rem; margin: 0 0 18px; }
.popup-body .enquiry-form { gap: 10px; text-align: left; }
.popup-body .field { gap: 4px; }
.popup-body .field label { font-size: .82rem; }
.popup-body .field input, .popup-body .field select, .popup-body .cc-fixed { min-height: 46px; padding-top: 10px; padding-bottom: 10px; }
.popup-body .btn-submit { margin-top: 6px; }

/* Footer */
.site-footer { background: var(--navy-3); color: #AEB9D3; }
.footer-cta { background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 55%, var(--navy-2) 100%); }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.footer-cta h2 { color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin-bottom: 6px; }
.footer-cta p { color: #DCE3FB; margin: 0; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; padding-top: 60px; padding-bottom: 44px; }
.footer-logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 14px; margin-bottom: 16px; }
.footer-logo img { height: 52px; width: auto; }
.footer-brand p { font-size: .93rem; }
.footer-hours { display: flex; align-items: center; gap: 8px; color: #E6EAF5; }
.footer-hours .ic { color: var(--accent); }
.footer-col h3 { color: #fff; font-size: 1.02rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col .link-btn { color: #AEB9D3; font-size: .94rem; text-align: left; }
.footer-col a:hover, .footer-col .link-btn:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ic { color: var(--accent); margin-top: 4px; }
.footer-contact a { word-break: break-word; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #AEB9D3; }
.footer-bottom a:hover { color: #fff; }

/* Legal pages */
.legal { padding: 64px 0 80px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.legal h2 { font-size: 1.25rem; margin-top: 28px; }
.legal p, .legal li { color: var(--muted); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Floating elements (approved style - do not change) */
.floating-badge {
  position: fixed; left: 18px; bottom: 18px; z-index: 300; width: 120px; height: 40px;
  border-radius: 10px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.25); background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.floating-badge img { width: 150px; object-fit: contain; }

.floating-whatsapp {
  position: fixed; right: 18px; bottom: 18px; z-index: 300; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37,211,102,.45); transition: transform .15s ease;
}
.floating-whatsapp:hover { transform: scale(1.06); }
.floating-whatsapp svg { width: 30px; height: 30px; fill: #fff; }

/* Responsive */
@media (max-width: 1320px) {
  .main-nav a { padding: 8px 7px; font-size: .9rem; }
  .header-call span { display: none; }
  .header-call { padding: 9px 12px; }
}
@media (max-width: 1140px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-call span { display: inline; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .mini-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .section { padding: 72px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; padding-bottom: 56px; text-align: center; }
  .hero-content .eyebrow { justify-content: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .founder-card { max-width: 300px; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-media { max-width: 620px; margin: 0 auto; width: 100%; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item:nth-child(6) { grid-column: span 1; }
  .footer-cta-inner { flex-direction: column; text-align: center; }
  .footer-cta-actions { justify-content: center; }
  .logo img { height: 50px; }
}
@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .topbar .topbar-email { display: none; }
  .social-label { display: none; }
  .header-enquire { display: none; }
  .header-call span { display: none; }
  .header-call { width: 46px; height: 46px; padding: 0; min-height: 46px; }
  .logo img { height: 44px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas .btn { width: 100%; }
  .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-info, .contact-form-card { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; padding-bottom: 80px; }
  .about-img-small { right: 0; }
  .section-cta .btn, .btn-row .btn { flex: 1 1 100%; }
  .map-wrap { height: 320px; }
  .lightbox { padding: 60px 12px; }
  .lightbox-nav { top: auto; bottom: 14px; transform: none; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
  .popup-body { padding: 0 18px 20px; }
  .popup-title { font-size: 1.32rem; }
}
@media (max-width: 380px) {
  .popup-timer { padding-left: 48px; padding-right: 48px; }
  .popup-timer-label { font-size: .66rem; letter-spacing: .08em; }
}
@media (max-width: 480px) {
  .floating-badge { width: 120px; height: 46px; left: 12px; bottom: 12px; }
  .floating-whatsapp { width: 50px; height: 50px; right: 12px; bottom: 12px; }
  .floating-whatsapp svg { width: 26px; height: 26px; }
  .gallery-grid { grid-auto-rows: 140px; gap: 10px; }
  .btn { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
