/* Purification Solutions Trading Company - Plain PHP site stylesheet */

:root {
  --primary: #0099f7;
  --primary-dark: #0077c4;
  --navy: #000000;
  --navy-dark: #000000;
  --text: #2b2b2b;
  --muted: #6b7a85;
  --light-bg: #f5fafb;
  --white: #ffffff;
  --surface: #ffffff;
  --heading: #000000;
  --border-color: #e7eef0;
  --radius: 6px;
  --font-body: 'Inter', 'Segoe UI', Arial, Helvetica, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', Arial, Helvetica, sans-serif;
  color-scheme: light;
}

.dark-mode {
  --text: #cfd8de;
  --muted: #93a3ac;
  --light-bg: #16232c;
  --surface: #131e27;
  --heading: #f2f6f8;
  --border-color: rgba(255,255,255,0.12);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background .3s ease, color .3s ease;
}

.dark-mode .site-logo img {
  filter: brightness(0) invert(1);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

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

.img-fade { opacity: 0; transition: opacity .6s ease; }
.img-fade.loaded { opacity: 1; }

/* Tap feedback on touch devices */
@media (hover: none) {
  .btn:active,
  .card:active,
  .contact-card:active,
  .gallery-grid figure:active,
  .quote-btn:active,
  .quote-submit-btn:active,
  .mab-item:active,
  .nav-toggle:active,
  .theme-toggle:active {
    transform: scale(0.96);
  }
}

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

ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Page Loader (water drop) ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  background: radial-gradient(circle at 50% 30%, #063a5c 0%, #021d30 55%, #010f1a 100%);
  transition: opacity .7s ease, visibility .7s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-visual {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ripples span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 108px;
  height: 108px;
  border: 1.5px solid rgba(0,153,247,0.45);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  animation: rippleOut 2.6s ease-out infinite;
}

.loader-ripples span:nth-child(2) { animation-delay: .85s; }
.loader-ripples span:nth-child(3) { animation-delay: 1.7s; }

@keyframes rippleOut {
  0% { transform: translate(-50%, -50%) scale(0.85); opacity: .7; }
  100% { transform: translate(-50%, -50%) scale(2.3); opacity: 0; }
}

.drop-shape {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 0 50% 50% 50%;
  transform: rotate(225deg);
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18),
    0 25px 50px rgba(0,153,247,0.4),
    inset 0 0 24px rgba(255,255,255,0.06);
  animation: dropPulse 2.6s ease-in-out infinite;
}

@keyframes dropPulse {
  0%, 100% { transform: rotate(225deg) scale(1); }
  50% { transform: rotate(225deg) scale(1.06); }
}

.drop-water {
  position: absolute;
  inset: 0;
  transform: rotate(-225deg);
  overflow: hidden;
}

.wave {
  position: absolute;
  top: 56%;
  left: 50%;
  width: 220px;
  height: 220px;
  border-radius: 44%;
  background: linear-gradient(200deg, #33c3ff 0%, var(--primary) 45%, var(--primary-dark) 100%);
}

.wave1 {
  opacity: .95;
  transform: translate(-50%, -55%) rotate(0deg);
  animation: waveSpin 5.5s linear infinite;
}

.wave2 {
  opacity: .5;
  transform: translate(-50%, -50%) rotate(0deg);
  animation: waveSpin 8s linear infinite reverse;
}

@keyframes waveSpin {
  100% { transform: translate(-50%, -55%) rotate(360deg); }
}

.drop-shine {
  position: absolute;
  top: 20%;
  left: 26%;
  width: 18px;
  height: 30px;
  background: rgba(255,255,255,0.55);
  border-radius: 50%;
  filter: blur(1px);
  transform: rotate(-45deg);
}

.loader-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.loader-brand {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
}

.loader-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  letter-spacing: .3px;
}

/* ===== Header ===== */
.top-bar {
  background: var(--navy);
  color: #cfd8dd;
  font-size: 13px;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.top-bar a {
  color: #cfd8dd;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s ease;
}

.top-bar a:hover { color: var(--primary); }

.top-bar svg { width: 14px; height: 14px; fill: var(--primary); }

.site-header {
  background: var(--surface);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--primary);
  transition: background .3s ease, padding .25s ease, box-shadow .25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 20px;
  max-width: 1180px;
  margin: 0 auto;
  transition: padding .25s ease;
}

.site-header.scrolled .header-inner { padding: 6px 20px; }

.site-header.scrolled .site-logo img { height: 42px; }

.site-logo img {
  height: 58px;
  width: auto;
  transition: transform .2s ease, height .25s ease;
}

.site-logo:hover img { transform: scale(1.04); }

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav > ul > li > a {
  position: relative;
  display: block;
  padding: 16px 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--heading);
  font-size: 15px;
  transition: color .2s ease;
}

.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  color: var(--primary);
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li.active > a::after {
  transform: scaleX(1);
}

.main-nav .has-dropdown > a::after {
  bottom: 8px;
}

.main-nav .has-dropdown > a {
  padding-right: 26px;
}

.main-nav .has-dropdown > a::before {
  content: "\25BE";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--muted);
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
  border-radius: var(--radius);
  padding: 10px 0;
  border-top: 3px solid var(--primary);
  animation: dropdownIn .18s ease;
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.main-nav .has-dropdown:hover .dropdown {
  display: block;
}

.dropdown li a {
  display: block;
  padding: 11px 20px;
  font-size: 14px;
  color: var(--heading);
  border-left: 3px solid transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease, padding-left .2s ease;
}

.dropdown li a:hover {
  background: var(--light-bg);
  color: var(--primary);
  border-left-color: var(--primary);
  padding-left: 24px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 1600;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--heading);
  cursor: pointer;
}

.drawer-close {
  display: none;
}

.nav-contact { display: none; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
  margin-left: 6px;
  flex-shrink: 0;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}

.theme-toggle:hover { background: var(--light-bg); }

.theme-toggle svg { width: 19px; height: 19px; fill: currentColor; }

.theme-toggle .icon-moon { display: none; }

.dark-mode .theme-toggle .icon-sun { display: none; }
.dark-mode .theme-toggle .icon-moon { display: block; }

/* ===== Hero ===== */
.hero {
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
  padding: 20px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(0,153,247,0.55) 0%, rgba(0,0,0,0.55) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 7px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
  animation: heroFadeUp .7s ease both;
}

.hero h1 {
  font-size: clamp(20px, 4.2vw, 46px);
  font-weight: 800;
  margin: 0;
  letter-spacing: .5px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
  animation: heroFadeUp .7s ease .1s both;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 18px;
  max-width: 640px;
  margin: 22px auto 0;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  animation: heroFadeUp .7s ease .2s both;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeUp .7s ease .3s both;
}

.hero-actions .btn-outline {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.85);
  color: var(--white);
  transition: background .2s ease, color .2s ease;
}

.hero-actions .btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
}

.hero-actions .btn { margin-top: 0; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 1;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 16px;
}

.scroll-cue::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollCue 1.6s ease infinite;
}

@keyframes scrollCue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 20px; }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Breadcrumb (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 55%, var(--navy) 160%);
  color: var(--white);
  text-align: center;
  padding: 60px 20px 46px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 70%);
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 32px;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: .4px;
  text-shadow: 0 4px 22px rgba(0,0,0,0.25);
}

.breadcrumb {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 9px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  color: rgba(255,255,255,0.8);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.breadcrumb a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  transition: color .2s ease;
}

.breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ===== Sections ===== */
.section {
  padding: 60px 0;
}

.section.alt {
  background: var(--light-bg);
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--heading);
  margin: 0 0 10px;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 720px;
}

/* ===== About / two column ===== */
.two-col {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
}

.two-col .col {
  flex: 1 1 420px;
}

.two-col img {
  border-radius: var(--radius);
}

.eyebrow {
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 8px;
  display: block;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 30px;
  margin-top: 18px;
  transition: background .2s ease;
}

.btn:hover { background: var(--primary-dark); }

/* ===== Clients strip ===== */
.clients {
  text-align: center;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.clients-grid img {
  max-height: 70px;
  width: auto;
  transition: transform .2s ease;
}

.clients-grid img:hover {
  transform: scale(1.05);
}

/* ===== Card grid (sectors / products) ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .3s ease, border-color .3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-color: var(--primary);
}

.card .icon {
  font-size: 34px;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--heading);
}

.card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 14px;
}

/* ===== Stub / placeholder inner page content ===== */
.stub-note {
  background: var(--light-bg);
  border-left: 4px solid var(--primary);
  padding: 24px 26px;
  border-radius: var(--radius);
  color: var(--muted);
  max-width: 760px;
}

/* ===== Contact page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  transition: background .3s ease, border-color .3s ease;
}

.contact-card h5 {
  margin: 0 0 4px;
  color: var(--primary-dark);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .5px;
}

.contact-card p, .contact-card a {
  margin: 4px 0 0;
  color: var(--heading);
  font-weight: 600;
}

.map-frame {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: #cfe3ea;
  padding: 0 0 20px;
  position: relative;
}

.site-footer::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #66c9ff 50%, var(--primary) 100%);
}

.footer-top { padding: 55px 0 35px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 35px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 46px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: #9fb3bc;
  font-size: 14px;
  margin: 0 0 18px;
  max-width: 260px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.social-icons a svg {
  width: 17px;
  height: 17px;
  fill: #cfe3ea;
  transition: fill .2s ease;
}

.social-icons a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.social-icons a:hover svg { fill: var(--white); }

.footer-grid h5 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin: 0 0 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-grid h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
}

.footer-grid p, .footer-grid a {
  color: #9fb3bc;
  font-size: 14px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  transition: color .2s ease, padding-left .2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact a, .footer-contact span {
  color: #cfe3ea;
  font-size: 14px;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 26px;
  margin-top: 6px;
}

.footer-legal span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 12.5px;
  letter-spacing: .3px;
  color: #a9bcc4;
}

.footer-legal span strong {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .6px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  color: #8fa6b0;
}

/* ===== About page quote ===== */
.about-quote {
  margin: 34px 0 0;
  padding: 26px 30px;
  border-left: 4px solid var(--primary);
  background: var(--light-bg);
  border-radius: var(--radius);
  font-size: 19px;
  font-weight: 700;
  color: var(--heading);
  font-style: normal;
  line-height: 1.5;
}

/* ===== Image gallery (product pages) ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--surface);
  transition: transform .2s ease, box-shadow .2s ease, background .3s ease, border-color .3s ease;
}

.gallery-grid figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.12);
  border-color: var(--primary);
}

.gallery-grid img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: var(--light-bg);
  display: block;
}

/* ===== Mobile action bar (hidden on desktop, shown in the mobile media query) ===== */
.mobile-action-bar { display: none; }
.nav-overlay { display: none; }

/* ===== Get Quote widget ===== */
.quote-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  padding: 15px 24px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,153,247,0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.quote-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,153,247,0.45);
}

.quote-btn svg { width: 18px; height: 18px; fill: var(--white); }

.quote-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.quote-modal.open { display: flex; }

.quote-modal-card {
  background: var(--surface);
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 36px 40px;
  position: relative;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  animation: dropdownIn .22s ease;
  border-top: 4px solid var(--primary);
}

.quote-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--light-bg);
  color: var(--heading);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.quote-modal-close:hover { background: var(--primary); color: var(--white); }

.quote-modal-card h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  color: var(--heading);
}

.quote-modal-card .quote-subtitle {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 24px;
}

.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quote-form-grid .full { grid-column: 1 / -1; }

.quote-modal-card label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 6px;
}

.quote-modal-card input,
.quote-modal-card select,
.quote-modal-card textarea {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--light-bg);
  transition: border-color .2s ease, background .2s ease;
}

.quote-modal-card input:focus,
.quote-modal-card select:focus,
.quote-modal-card textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.quote-modal-card textarea { resize: vertical; min-height: 90px; }

.quote-submit-btn {
  width: 100%;
  margin-top: 22px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.quote-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,153,247,0.35);
}

.quote-success-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1400;
  background: var(--surface);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 16px 22px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  display: none;
}

.quote-success-toast.show { display: block; animation: heroFadeUp .4s ease both; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  /* Top bar content moves into the mobile nav instead */
  .top-bar { display: none; }

  .header-inner {
    padding: 8px 16px;
    flex-wrap: nowrap;
  }

  .site-logo img { height: 46px; }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    transition: background .2s ease;
  }

  .nav-toggle:hover { background: var(--light-bg); }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(2px);
    z-index: 1450;
    opacity: 0;
    transition: opacity .3s ease;
  }

  .nav-overlay.open {
    display: block;
    opacity: 1;
  }

  body.nav-open { overflow: hidden; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 84%;
    max-width: 340px;
    background: var(--surface);
    box-shadow: -14px 0 50px rgba(0,0,0,0.3);
    border-radius: 0;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    z-index: 1500;
    overflow-y: auto;
    animation: none;
    padding-top: 8px;
  }

  .main-nav.open { transform: translateX(0); }

  .drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 10px 12px 0 auto;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: none;
    color: var(--heading);
    font-size: 18px;
    cursor: pointer;
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .main-nav > ul > li { border-bottom: 1px solid #eef2f4; }

  .main-nav > ul > li > a {
    padding: 15px 20px;
  }

  .main-nav > ul > li > a::after { display: none; }

  .main-nav .has-dropdown > a::before {
    right: 20px;
    transition: transform .2s ease;
  }

  .main-nav .has-dropdown.open > a::before {
    transform: translateY(-50%) rotate(180deg);
  }

  .dropdown {
    position: static;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    background: var(--light-bg);
    padding: 4px 0;
    display: none;
    animation: none;
  }

  .main-nav .has-dropdown.open .dropdown { display: block; }

  .dropdown li a { padding: 12px 20px 12px 32px; }

  /* Contact info from the top bar, shown inside the mobile menu */
  .nav-contact {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 20px 20px;
    background: var(--navy);
  }

  .nav-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cfd8dd;
    font-size: 14px;
    padding: 8px 0;
  }

  .nav-contact svg { width: 15px; height: 15px; fill: var(--primary); flex-shrink: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  /* ===== Premium mobile polish ===== */
  .container { padding: 0 16px; }

  .main-nav > ul > li > a { font-size: 16px; }

  body { padding-bottom: 68px; }

  /* Get Quote floating button is replaced by the bottom action bar on mobile */
  .quote-btn { display: none; }

  .mobile-action-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    background: var(--surface);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -8px 24px rgba(0,0,0,0.1);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .mab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: none;
    border: none;
    padding: 6px 4px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--heading);
    cursor: pointer;
  }

  .mab-item svg { width: 20px; height: 20px; fill: var(--primary); }

  .mab-item.mab-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 30px;
    margin: 0 4px;
    padding: 8px 4px;
  }

  .mab-item.mab-primary svg { fill: var(--white); }

  /* Swipeable gallery on mobile */
  .gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }

  .gallery-grid figure {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }

  .section { padding: 42px 0; }

  .section-title { font-size: 24px; }

  .section-subtitle { font-size: 14px; }

  .page-hero { padding: 44px 16px 34px; }

  .page-hero h1 { font-size: 25px; margin-bottom: 12px; }

  .breadcrumb { font-size: 12px; padding: 7px 16px; }

  .card-grid { grid-template-columns: 1fr; gap: 16px; }

  .gallery-grid img { height: 260px; width: 100%; }

  .card { padding: 24px 20px; }

  .contact-grid { grid-template-columns: 1fr; gap: 16px; }

  .two-col { gap: 30px; }

  .stub-note { padding: 20px; }

  .card .btn,
  .stub-note .btn,
  .contact-card .btn,
  .download-card .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 16px;
  }

  .footer-top { padding: 40px 0 24px; }

  .footer-grid { gap: 28px; }

  .quote-btn {
    right: 16px;
    bottom: 16px;
    padding: 12px 18px;
    font-size: 14px;
  }

  .quote-modal-card {
    width: calc(100% - 24px);
    padding: 26px 20px;
    max-height: 88vh;
  }

  .quote-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero h1 {
    white-space: normal;
    font-size: 26px;
    line-height: 1.35;
    max-width: 320px;
    margin: 0 auto;
  }

  .page-hero h1 { font-size: 22px; }

  .breadcrumb { font-size: 11px; padding: 6px 14px; }
}
