:root {
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #d9dee7;
  --paper: #ffffff;
  --soft: #f4f6f9;
  --steel: #27313f;
  --accent: #b4232a;
  --accent-dark: #8f151b;
  --whatsapp: #25D366;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.16);
  --shadow-sm: 0 4px 12px rgba(17, 24, 39, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Arial, sans-serif; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; transition: color 0.3s; }
img { display: block; max-width: 100%; }

/* Fade-in Animation */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Floating WhatsApp Button */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4); }
.whatsapp-fab svg { width: 32px; height: 32px; }

/* Floating Call Button */
.call-fab {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.call-fab:hover { transform: scale(1.1); box-shadow: 0 12px 24px rgba(180, 35, 42, 0.4); }
.call-fab svg { width: 28px; height: 28px; }

/* Top Bar */
.top-bar { position: fixed; z-index: 21; top: 0; left: 0; right: 0; height: 36px; background: #080c14; color: #cbd5e1; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.05); }
.top-bar-content { display: flex; align-items: center; gap: 8px; }
.top-bar-content svg { width: 15px; height: 15px; color: var(--accent); }

/* Header & Nav */
.site-header { position: fixed; z-index: 20; top: 36px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; min-height: 80px; padding: 0 42px; border-bottom: 3px solid var(--accent); background: var(--ink); color: #ffffff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 52px; height: 52px; border: 2px solid #ffffff; border-radius: 50%; background: #ffffff; object-fit: contain; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.brand strong { display: block; font-size: 18px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; }
.brand small { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.8); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 32px; color: rgba(255, 255, 255, 0.95); font-size: 15px; font-weight: 600; }
.nav-item { position: relative; }
.main-nav a:hover { color: #ffffff; }
.dropdown-trigger { display: inline-flex; align-items: center; gap: 6px; }
.dropdown-trigger::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }

/* Invisible bridge to prevent the hover gap issue */
.has-dropdown::before { content: ""; position: absolute; top: 100%; left: -15px; right: -15px; height: 36px; }

.product-dropdown { position: fixed; top: 116px; left: 0; right: 0; display: grid; grid-template-columns: repeat(6, minmax(120px, 1fr)); width: 100vw; max-height: calc(100vh - 132px); overflow: auto; padding: 16px 42px; border: 1px solid rgba(255, 255, 255, 0.14); background: var(--ink); box-shadow: var(--shadow); opacity: 0; pointer-events: none; visibility: hidden; transform: translateY(8px); transition: opacity 160ms ease, transform 160ms ease; }
.has-dropdown:hover .product-dropdown, .has-dropdown:focus-within .product-dropdown { opacity: 1; pointer-events: auto; visibility: visible; transform: translateY(0); }
.product-dropdown a { padding: 12px 14px; border: 1px solid transparent; color: rgba(255, 255, 255, 0.8); font-size: 13px; white-space: nowrap; }
.product-dropdown a:hover, .product-dropdown a:focus { border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.08); color: #ffffff; }

.nav-cta { padding: 11px 20px; background: var(--accent); color: #ffffff !important; border-radius: 4px; font-weight: 700; transition: background 0.3s, transform 0.3s; }
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-2px); }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: 92vh; display: grid; align-items: end; overflow: hidden; padding: 186px 42px 46px; color: #ffffff; }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; opacity: 0; transition: opacity 1s ease-in-out; }
.hero-image.active { opacity: 1; }
.hero-overlay { background: linear-gradient(90deg, rgba(9, 14, 24, 0.88) 0%, rgba(9, 14, 24, 0.66) 42%, rgba(9, 14, 24, 0.18) 100%), linear-gradient(0deg, rgba(9, 14, 24, 0.62), rgba(9, 14, 24, 0.06)); }
.hero-content { position: relative; z-index: 1; width: min(720px, 100%); padding-bottom: 96px; }

.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; }
.hero .eyebrow { color: #ffb4b8; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 680px; margin-bottom: 22px; font-size: clamp(42px, 7vw, 78px); line-height: 0.98; font-weight: 800; }
h2 { margin-bottom: 18px; font-size: clamp(30px, 4vw, 48px); line-height: 1.04; font-weight: 700; }
h3 { margin-bottom: 10px; font-size: 20px; }

.hero-copy { max-width: 610px; color: rgba(255, 255, 255, 0.78); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 700; transition: all 0.3s ease; cursor: pointer; }
.button.primary { background: var(--accent); color: #ffffff; }
.button.primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.button.secondary { border-color: rgba(255, 255, 255, 0.36); color: #ffffff; }
.button.secondary:hover { background: rgba(255, 255, 255, 0.1); }
.button.outline { border-color: var(--line); color: var(--ink); }

.hero-metrics { position: relative; z-index: 1; display: grid; width: min(880px, 100%); grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(13, 20, 31, 0.72); backdrop-filter: blur(16px); border-radius: var(--radius); overflow: hidden; }
.hero-metrics article { min-height: 112px; padding: 24px; border-right: 1px solid rgba(255, 255, 255, 0.16); }
.hero-metrics article:last-child { border-right: 0; }
.hero-metrics strong { display: block; margin-bottom: 8px; font-size: 30px; }
.hero-metrics span { color: rgba(255, 255, 255, 0.72); font-size: 14px; }

/* Sections */
.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 96px 0; }
.intro { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 70px; align-items: start; }
.intro p:last-child, .panel p, .contact-copy p, .service-list p, .product-detail-copy p { color: var(--muted); line-height: 1.75; }

/* Products Grid Alignment Fix */
.section-heading { max-width: 760px; margin-bottom: 34px; }
.products-heading { margin-left: auto; margin-right: auto; text-align: center; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 36px 28px; }

.product-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.3s, box-shadow 0.3s; overflow: hidden; display: flex; flex-direction: column; height: 100%; scroll-margin-top: 96px; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--muted); }
.product-link { display: flex; flex-direction: column; height: 100%; align-items: center; padding: 24px; text-align: center; }
.product-link img { width: 120px; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); background: var(--soft); margin-bottom: 16px; }
.product-link h3 { margin: 0; color: var(--ink); font-size: 18px; font-weight: 700; transition: color 160ms ease; }
.product-link:hover h3 { color: var(--accent); }

/* Product Details Page Specifics */
.product-detail { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 54px; align-items: center; min-height: calc(100vh - 160px); padding-top: 174px; }
.product-detail-image { overflow: hidden; border: 1px solid var(--line); background: var(--soft); border-radius: var(--radius); }
.product-detail-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-detail-copy p { font-size: 17px; line-height: 1.8; }
.product-detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Split & Services */
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 38px; }
.panel { padding: 42px; background: var(--steel); color: #ffffff; border-radius: var(--radius); }
.panel .eyebrow { color: #ffb4b8; }
.panel p { color: rgba(255, 255, 255, 0.72); }
.service-list { display: grid; gap: 16px; }
.service-list article { padding: 28px; border: 1px solid var(--line); background: var(--soft); border-radius: var(--radius); }

/* Map Section */
.map-container { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

/* Contact */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; padding: 96px max(24px, calc((100% - 1180px) / 2)); background: var(--steel); color: #ffffff; }
.contact .eyebrow { color: #ffb4b8; }
.contact-copy p { color: rgba(255, 255, 255, 0.74); }
.contact-details-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.contact-details-list a { color: #ffb4b8; text-decoration: underline; }
.contact-details-list a:hover { color: #ffffff; }

.contact-form { display: grid; gap: 18px; padding: 32px; background: #ffffff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 800; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 14px 15px; font: inherit; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); outline: 2px solid rgba(180, 35, 42, 0.18); }
.contact-form .button { width: fit-content; cursor: pointer; }
.form-note { min-height: 22px; margin: 0; color: var(--accent); font-size: 14px; font-weight: 700; }

/* Premium Footer */
.premium-footer { background: #0f172a; color: #f8fafc; }
.premium-footer .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.premium-footer .brand-col .brand { margin-bottom: 16px; }
.premium-footer .brand-col p { color: #94a3b8; line-height: 1.6; max-width: 320px; }
.premium-footer h3 { font-size: 18px; margin-bottom: 20px; color: #ffffff; }
.premium-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; color: #94a3b8; }
.premium-footer ul a:hover { color: #ffffff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.bottom-wrap { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; }
.back-to-top:hover { color: #ffffff; }

/* Mobile Optimization */
@media (max-width: 920px) {
  .site-header { padding: 0 24px; }
  .nav-toggle { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.28); background: transparent; border-radius: 4px; }
  .nav-toggle span { width: 20px; height: 2px; background: #ffffff; }
  .main-nav { position: absolute; top: 80px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 10px 24px 24px; background: var(--ink); border-bottom: 3px solid var(--accent); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
  .main-nav.is-open { display: flex; }
  .main-nav a, .dropdown-trigger { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .product-dropdown { position: static; display: grid; grid-template-columns: 1fr 1fr; width: auto; opacity: 1; pointer-events: auto; visibility: visible; transform: none; padding: 8px 0; border: none; }
  .hero { min-height: 880px; padding: 164px 24px 32px; }
  .hero-metrics, .intro, .split, .contact, .premium-footer .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail { grid-template-columns: 1fr; padding-top: 152px; }
}

@media (max-width: 620px) {
  .top-bar { font-size: 11px; }
  .site-header { padding: 0 16px; }
  .hero { padding: 140px 16px 32px; }
  .contact { padding: 64px 16px; }
  .product-dropdown { grid-template-columns: 1fr; }
  .whatsapp-fab { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
  .call-fab { width: 50px; height: 50px; bottom: 78px; right: 16px; }
  .call-fab svg { width: 22px; height: 22px; }
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { flex-direction: row; align-items: center; height: auto; }
  .product-link { flex-direction: row; padding: 16px; gap: 16px; width: 100%; text-align: left; }
  .product-link img { width: 64px; margin-bottom: 0; }
  .bottom-wrap { flex-direction: column; gap: 16px; text-align: center; }
  .section { width: min(100% - 32px, 1180px); padding: 72px 0; }
  .panel, .contact-form { padding: 24px; }
}