/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1b4370;
  --blue-dark: #102d50;
  --blue-light: #265c96;
  --orange: #c86400;
  --orange-dark: #a55200;
  --gray-50: #f4f6f8;
  --gray-100: #e8ecf0;
  --gray-200: #cdd3da;
  --gray-500: #6b7480;
  --gray-700: #3d4550;
  --gray-900: #181d24;
  --white: #ffffff;
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Barlow Semi Condensed', system-ui, -apple-system, sans-serif;
  --radius: 2px;
  --shadow: 0 1px 3px rgba(0,0,0,0.09);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.13);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-900);
  background: var(--white);
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

/* ===== SVG ICONS ===== */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0;
}
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; }

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

ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.1; color: var(--blue); font-weight: 700; font-family: var(--font-heading); letter-spacing: 0.3px; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ===== LAYOUT ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

section { padding: 60px 0; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--gray-900);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  padding: 7px 0;
  letter-spacing: 0.2px;
}
.topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--orange); }
.topbar-phone { font-weight: 600; color: var(--white) !important; font-size: 0.95rem; }

/* ===== HEADER ===== */
header {
  background: var(--blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1140px;
  margin: 0 auto;
}
.logo { text-decoration: none; }
.logo-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo-name span { color: #9ce3ff; }
.logo-tag {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Nav */
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
}
nav ul li a {
  color: rgba(255,255,255,0.85);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  display: block;
}
nav ul li a:hover,
nav ul li a.active {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
nav ul li a.active { color: #ffb66c; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--blue-dark);
  padding: 96px 0 84px;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  border-bottom: 3px solid var(--orange);
}
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero .container { position: relative; }
.hero h1 { color: var(--white); margin-bottom: 14px; }
.hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
  text-decoration: none;
  letter-spacing: 0.2px;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.10);
}
.btn-sm { padding: 10px 22px; font-size: 0.875rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* ===== SECTION TITLES ===== */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { margin-bottom: 6px; }
.section-title p { color: var(--gray-500); max-width: 540px; margin: 0 auto; font-size: 0.95rem; }
.divider { width: 36px; height: 2px; background: var(--orange); margin: 10px auto; }

/* ===== CATEGORY GRID (homepage) ===== */
.categories { background: var(--gray-50); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.category-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
/* Invisible overlay makes entire card clickable */
.category-card .card-overlay { position: absolute; inset: 0; z-index: 1; }
/* card-link stays above the overlay so cursor is consistent */
.category-card .card-link { position: relative; z-index: 2; }
.category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.category-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.category-card-body h3 { margin-bottom: 8px; color: var(--blue); }
.category-card-body p { font-size: 0.9rem; color: var(--gray-700); flex: 1; margin-bottom: 16px; }
.category-card-body a.card-link {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.category-card-body a.card-link::after { content: "→"; font-size: 0.9em; }
.category-card-body a.card-link:hover { color: var(--orange); border-color: var(--orange); }

/* ===== SEO TEXT BLOCK ===== */
.seo-block { background: var(--white); padding: 56px 0; border-top: 1px solid var(--gray-100); }
.seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.seo-text h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-100);
}
.seo-text p { font-size: 0.95rem; color: var(--gray-700); line-height: 1.75; }
.seo-text a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.seo-text a:hover { color: var(--orange); }
@media (max-width: 700px) {
  .seo-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== USP STRIP ===== */
.usp { background: var(--gray-900); color: var(--white); }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: left;
}
.usp-item {
  padding: 40px 36px;
  border-left: 1px solid rgba(255,255,255,0.07);
}
.usp-item:first-child { border-left: none; }
.usp-item h3 { color: var(--white); margin-bottom: 8px; font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; }
.usp-item p { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin: 0; line-height: 1.65; }
.usp-icon {
  width: 36px;
  height: 36px;
  color: var(--orange);
  margin-bottom: 16px;
  display: block;
}

/* ===== MATERIAL BLOCK ===== */
.material-block { background: var(--gray-50); padding: 56px 0; border-top: 1px solid var(--gray-100); }
.material-block .container { max-width: 820px; }
.material-block h2 { margin-bottom: 20px; }
.material-block p { color: var(--gray-700); margin-bottom: 1rem; }
.material-props {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.material-prop {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--orange);
  padding: 16px 18px;
  border-radius: var(--radius);
}
.material-prop strong { display: block; color: var(--blue); margin-bottom: 4px; font-size: 0.95rem; }
.material-prop span { font-size: 0.88rem; color: var(--gray-700); }

/* ===== FAQ ===== */
.faq-block { background: var(--white); padding: 56px 0; border-top: 1px solid var(--gray-100); }
.faq-block .container { max-width: 820px; }
.faq-block h2 { margin-bottom: 32px; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--gray-100);
}
.faq-item:first-child { border-top: 1px solid var(--gray-100); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font);
}
.faq-q::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--orange); flex-shrink: 0; line-height: 1; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
  display: none;
  padding: 0 0 18px;
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-a p { margin-bottom: 0.6rem; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-item.open .faq-a { display: block; }
@media (max-width: 640px) {
  .material-props { grid-template-columns: 1fr; }
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--blue);
  padding: 72px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-banner .container { text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.6); margin-bottom: 36px; font-size: 1rem; font-weight: 400; }
.cta-banner .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-phone {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 32px;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.cta-phone:hover { color: var(--orange); }

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 50px 0 40px;
  color: var(--white);
}
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.8); max-width: 680px; font-size: 1.05rem; }
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 6px; }

/* ===== PHOTO GALLERY (inner pages) ===== */
.gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s;
}
.gallery-grid img:hover { opacity: 0.88; }

/* ===== VIDEO ===== */
.video-wrap { margin-top: 32px; }
.video-wrap video {
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  display: block;
  margin: 0 auto;
}

/* ===== PRODUCT DESCRIPTION ===== */
.product-info { background: var(--gray-50); }
.product-info-inner { max-width: 760px; }
.product-info h2 { margin-bottom: 16px; font-size: 1.3rem; }
.product-info ul.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  margin-top: 16px;
}
.product-info ul.feature-list li {
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
  color: var(--gray-700);
}
.product-info ul.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ===== INLINE CTA ===== */
.inline-cta {
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  padding: 28px 32px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.inline-cta p { margin: 0; color: rgba(255,255,255,0.85); }
.inline-cta strong { color: var(--white); font-size: 1.1rem; display: block; }
.inline-cta a.btn { white-space: nowrap; }

/* ===== NO PHOTOS NOTICE ===== */
.no-photos-notice {
  background: var(--gray-100);
  border-left: 4px solid var(--orange);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--gray-700);
  font-size: 0.95rem;
}

/* ===== RELATED PRODUCTS ===== */
.related { background: var(--gray-50); padding: 40px 0; }
.related h3 { margin-bottom: 16px; font-size: 1rem; color: var(--gray-700); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--blue);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.related-links a:hover { border-color: var(--orange); background: var(--gray-50); color: var(--orange); }

/* ===== CONTACT PAGE ===== */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 24px; }
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-icon { font-size: 1.3rem; margin-top: 2px; }
.contact-item-text { font-size: 0.95rem; color: var(--gray-700); }
.contact-item-text strong { display: block; color: var(--gray-900); margin-bottom: 2px; }
.contact-item-text a { color: var(--blue); font-weight: 600; }
.contact-item-text a:hover { color: var(--orange); }

/* Contact Form */
.contact-form h2 { margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--gray-900);
  transition: border-color 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 8px; }

/* Form notices */
.form-notice {
  padding: 14px 18px;
  border-left: 3px solid;
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.5;
}
.form-notice--success { background: #f0faf3; border-color: #2e9952; color: #1a5c30; }
.form-notice--error   { background: #fdf3f3; border-color: #cc3333; color: #7a1a1a; }

/* Honeypot */
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; pointer-events: none; }

/* Full-width button */
.btn-full { width: 100%; justify-content: center; display: flex; }

/* Map */
.map-section { padding: 0 0 60px; }
.map-section iframe { box-shadow: var(--shadow); }

/* ===== FOOTER ===== */
footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col .footer-contact-item { display: flex; gap: 8px; margin-bottom: 10px; font-size: 0.9rem; }
.footer-col .footer-contact-item a { color: rgba(255,255,255,0.75); }
.footer-col .footer-contact-item a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
}
.lightbox.open { display: flex; }
.lightbox-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 0 12px;
}
.lightbox-img-box {
  width: min(88vw, 900px);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 2px;
  display: block;
}
.lightbox-close {
  position: absolute;
  top: 16px; right: 22px;
  color: rgba(255,255,255,0.7);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  padding: 4px 8px;
}
.lightbox-close:hover { color: var(--white); }
.lightbox-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
  user-select: none;
}
.lightbox-btn:hover { background: rgba(255,255,255,0.22); }
.lightbox-counter {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-top: 14px;
  font-family: var(--font);
}
@media (max-width: 600px) {
  .lightbox-btn { width: 38px; height: 38px; font-size: 1.2rem; flex-shrink: 0; }
  .lightbox-img-wrap { gap: 8px; padding: 0 6px; }
  .lightbox-img-box { width: calc(100vw - 100px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-grid { grid-template-columns: 1fr; }
  .usp-item { border-left: none; border-top: 1px solid rgba(255,255,255,0.07); padding: 28px 24px; }
  .usp-item:first-child { border-top: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .product-info ul.feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  section { padding: 44px 0; }
  .category-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .inline-cta { flex-direction: column; text-align: center; }

  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--blue-dark); padding: 12px 0; }
  nav.mobile-open { display: block; }
  nav ul { flex-direction: column; gap: 0; }
  nav ul li a { padding: 12px 24px; border-radius: 0; }
  .hamburger { display: flex; }
  header { position: relative; }
}

@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 220px; }
}
