/* Base */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; scroll-behavior: smooth; }
body { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #333; background: #f5f5f0; }

/* Navbar */
.navbar { position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; background: rgba(255,255,255,0.95); border-bottom: 1px solid rgba(0,0,0,0.12); backdrop-filter: saturate(1.2) blur(4px); }
.navbar .logo img { height: 36px; display: block; }
.nav-links { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.nav-links a { color: #222; text-decoration: none; padding: 8px 10px; border-radius: 6px; }
.nav-links a:hover { color: #000; background: #f3f4f6; }
.navbar .has-dropdown > a { background: transparent; color: #222; }
.navbar .has-dropdown:hover > a { background: #f3f4f6; color: #000; }
.has-dropdown { position: relative; }
.has-dropdown > .dropdown { display: none; position: absolute; top: 100%; left: 0; background: #faf9f6; border: 1px solid rgba(0,0,0,0.12); border-radius: 8px; padding: 6px 0; min-width: 180px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.has-dropdown > .dropdown li { list-style: none; }
.has-dropdown > .dropdown a { display: block; padding: 8px 12px; color: #222; }
.has-dropdown > .dropdown a:hover { background: #f3f4f6; }
.has-dropdown:hover > .dropdown { display: block; }

/* Sections */
.section { padding: 32px 16px; max-width: 1600px; margin: 0 auto; }
.section#home { max-width: none; width: 100%; padding: 0; margin: 0; }
.section-title { font-size: 22px; font-weight: 600; margin: 12px 0 18px; color: #222; }
.placeholder { color: #666; border: 1px dashed #ccc; padding: 24px; border-radius: 8px; background: #faf9f6; }

/* Testimonials */
.testimonials-container { margin-top: 24px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: #faf9f6; border: 1px solid #e8e6e1; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: transform 200ms ease, box-shadow 200ms ease; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.testimonial-quote { font-size: 18px; font-weight: 700; color: #222; margin-bottom: 12px; line-height: 1.4; }
.testimonial-text { color: #555; line-height: 1.6; margin-bottom: 16px; font-size: 15px; }
.testimonial-author { color: #777; font-size: 14px; font-style: italic; border-top: 1px solid #eee; padding-top: 12px; }

/* FAQ Section */
.faq-container { margin-top: 24px; }
.faq-tabs { display: flex; gap: 12px; margin-bottom: 24px; border-bottom: 2px solid #ddd; }
.faq-tab { background: transparent; border: none; padding: 12px 24px; font-size: 16px; font-weight: 600; color: #666; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: color 200ms ease, border-color 200ms ease; }
.faq-tab:hover { color: #333; }
.faq-tab.active { color: #4ea1d3; border-bottom-color: #4ea1d3; }
.faq-panel { display: none; }
.faq-panel.active { display: block; }
.faq-item { background: #faf9f6; border: 1px solid #e8e6e1; border-radius: 8px; margin-bottom: 12px; overflow: hidden; transition: box-shadow 200ms ease; }
.faq-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.faq-question { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; }
.faq-question span:first-child { font-weight: 600; color: #222; font-size: 16px; flex: 1; }
.faq-toggle { font-size: 24px; font-weight: 300; color: #4ea1d3; transition: transform 200ms ease; width: 24px; text-align: center; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 300ms ease, padding 300ms ease; padding: 0 20px; color: #555; line-height: 1.6; }
.faq-item.active .faq-answer { max-height: 500px; padding: 0 20px 18px; }

/* Contact Section */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 24px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-map { width: 100%; border-radius: 8px; overflow: hidden; }
.contact-map iframe { width: 100%; height: 300px; border: 0; display: block; }
.contact-details { color: #333; }
.contact-details a { color: #4ea1d3; text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }
.contact-form-wrapper { background: #faf9f6; padding: 24px; border-radius: 8px; border: 1px solid #e8e6e1; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { color: #333; font-size: 14px; font-weight: 500; }
.form-group input, .form-group textarea { padding: 10px 12px; background: #fff; border: 1px solid #ccc; border-radius: 6px; color: #333; font-family: inherit; font-size: 14px; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #4ea1d3; }
.form-group textarea { resize: vertical; min-height: 100px; }
.submit-btn { padding: 12px 24px; background: #4ea1d3; color: #fff; border: none; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 200ms ease; }
.submit-btn:hover { background: #3d8bb8; }
.submit-btn:active { transform: scale(0.98); }
.form-message { padding: 12px; border-radius: 6px; margin-top: 8px; display: none; }
.form-message.success { background: #1a4d3a; color: #4ade80; display: block; }
.form-message.error { background: #4d1a1a; color: #f87171; display: block; }

/* Banner (Hero) */
.banner { position: relative; width: 100%; height: auto; overflow: hidden; border-radius: 0; background: #0a0a0a; user-select: none; cursor: grab; }
.banner img { width: 100%; height: auto; object-fit: contain; display: block; background: #000; }
.banner .ctrl { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: rgba(0,0,0,0.28); color: #fff; cursor: pointer; opacity: 0.35; transition: opacity 200ms ease, background 200ms ease; }
.banner .ctrl:hover, .banner .ctrl:focus { background: rgba(0,0,0,0.45); opacity: 0.8; }
.banner .ctrl.prev { left: 12px; }
.banner .ctrl.next { right: 12px; }

/* Product Carousel */
.product-carousel { position: relative; display: flex; align-items: center; gap: 8px; }
.product-carousel .viewport { position: relative; overflow: hidden; width: 100%; z-index: 1; user-select: none; cursor: grab; }
.product-carousel .track { display: flex; transition: transform 500ms ease; will-change: transform; }
.product-carousel .item { flex: 0 0 calc(100% / 3); padding: 6px; height: 240px; }
.product-carousel .item a { display: block; width: 100%; height: 100%; cursor: pointer; }
.product-carousel .item img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; display: block; background: transparent; transition: transform 200ms ease, opacity 200ms ease; }
.product-carousel .item a:hover img { transform: scale(1.05); opacity: 0.9; }
.product-carousel .ctrl { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; aspect-ratio: 1 / 1; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: rgba(0,0,0,0.28); color: #fff; cursor: pointer; opacity: 0.35; transition: opacity 200ms ease, background 200ms ease; padding: 0; flex: 0 0 auto; z-index: 3; }
.product-carousel .ctrl:hover, .product-carousel .ctrl:focus { background: rgba(0,0,0,0.45); opacity: 0.8; }
.product-carousel .ctrl.prev { left: 12px; }
.product-carousel .ctrl.next { right: 12px; }

/* Responsive */
@media (max-width: 768px) {
	.nav-links { gap: 12px; }
    .product-carousel .item { height: 180px; }
}
@media (max-width: 1024px) {
	.product-carousel .item { flex: 0 0 calc(100% / 2); }
	.testimonials-container { position: relative; overflow: hidden; user-select: none; cursor: grab; }
	.testimonials-container:active { cursor: grabbing; }
	.testimonials-grid { display: flex; gap: 16px; transition: transform 500ms ease; will-change: transform; }
	.testimonial-card { flex: 0 0 calc(50% - 8px); min-width: calc(50% - 8px); }
}
@media (max-width: 640px) {
	.product-carousel .item { flex: 0 0 100%; }
    .banner .ctrl { opacity: 0.2; }
	.contact-container { grid-template-columns: 1fr; gap: 24px; }
	.testimonials-container { position: relative; overflow: hidden; user-select: none; cursor: grab; }
	.testimonials-container:active { cursor: grabbing; }
	.testimonials-grid { display: flex; gap: 16px; transition: transform 500ms ease; will-change: transform; }
	.testimonial-card { flex: 0 0 calc(100% - 8px); min-width: calc(100% - 8px); }
	.faq-tabs { flex-wrap: wrap; }
	.faq-tab { font-size: 14px; padding: 10px 16px; }
}
/* Base */
:root {
  --bg: #ead6c4; /* light, blends with banner background */
  --bg-soft: #151922;
  --text: #e6e9ef;
  --muted: #9aa3b2;
  --brand: #49b48d;
  --brand-2: #4ea1d3;
  --card: #191e28;
  --border: #2a3240;
  /* dynamic runtime values set via JS */
  --vh: 1vh; /* 1% viewport height fallback */
  --header-h: 0px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }

/* Header / Navbar */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; background: transparent; border-bottom: 1px solid transparent; transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease; }
.site-header.overlay.scrolled { background: rgba(15,17,21,0.92); border-color: var(--border); box-shadow: 0 6px 24px rgba(0,0,0,0.25); }
.navbar {
  width: 100%;
  margin: 0;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img { height: 40px; width: auto; display: block; }

.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; }

.nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; align-items: center; }
.nav-links a { padding: 8px 10px; border-radius: 8px; color: var(--text); }
.nav-links a:hover { background: var(--bg-soft); }

.dropdown { position: relative; }
.dropbtn { background: none; border: 1px solid transparent; color: var(--text); padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.dropdown:hover .dropbtn { background: var(--bg-soft); }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 180px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 8px; margin-top: 8px;
  display: none; flex-direction: column; gap: 4px;
}
.dropdown:hover .dropdown-menu { display: flex; }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--text); }
.dropdown-menu a:hover { background: var(--bg-soft); }

/* Sections */
.main { padding-top: 0; }
.banner-section { position: relative; margin: 0; padding: 0; z-index: 0; }
.banner-slider { position: relative; height: calc(var(--vh) * 100 - var(--header-h)); padding-top: var(--header-h); min-height: 480px; overflow: hidden; }
.banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 800ms ease; background-size: cover; background-position: center; background-repeat: no-repeat; }
.banner-slide.active { opacity: 1; }

/* Hero overlay like reference site */
.hero-overlay { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 0 20px; background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0) 100%); }
.hero-title { margin: 0 0 8px; font-size: clamp(26px, 4.6vw, 56px); font-weight: 700; color: #fff; }
.hero-sub { margin: 0 0 18px; font-size: clamp(14px, 1.8vw, 18px); color: #f1f5f9; }
.hero-cta { display: inline-block; padding: 12px 18px; border-radius: 999px; font-weight: 700; background: #ffffff; color: #0f1115; }
.hero-cta:hover { background: #e6e9ef; }

.section-header { width: 100%; margin: 60px 0 20px; padding: 0 20px; }
.section-header h2 { margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 32px); }
.section-header p { margin: 0; color: var(--muted); }

/* Product carousel */
.product-section { padding-bottom: 40px; }
.carousel { width: 100%; margin: 0; padding: 0 20px; }
.carousel-viewport { overflow: hidden; border-radius: 12px; border: 1px solid var(--border); background: linear-gradient(180deg, #151922, #11141b); }
.carousel-track {
  display: flex;
  gap: 16px;
  padding: 16px;
  will-change: transform;
  transition: transform 600ms ease;
}
.card { min-width: calc((100% - 32px) / 3); background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.card img { width: 100%; height: 220px; object-fit: cover; display: block; background: #0b0e13; }
.card .caption { padding: 10px 12px; color: var(--muted); font-size: 14px; }

.carousel-controls { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 0; }
.carousel-btn { background: var(--bg-soft); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; cursor: pointer; }
.carousel-btn:hover { background: var(--card); }

/* Content sections */
.content-section { width: 100%; margin: 0; padding: 0 20px 40px; }
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
blockquote { margin: 0; padding: 16px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; }
details { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; }

/* Contact */
.contact-form { display: grid; gap: 12px; }
.contact-form .row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.contact-form input, .contact-form textarea { width: 100%; background: #fff; color: #333; border: 1px solid #ccc; border-radius: 10px; padding: 10px 12px; }
.contact-form button { width: max-content; background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #081017; border: 0; border-radius: 10px; padding: 10px 16px; font-weight: 700; cursor: pointer; }

/* Footer */
.footer {
	background: #faf9f6;
	border-top: 1px solid #e8e6e1;
	padding: 48px 20px 24px;
	margin-top: 60px;
}
.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 32px;
	margin-bottom: 32px;
}
.footer-section h3 {
	font-size: 18px;
	font-weight: 600;
	color: #222;
	margin: 0 0 16px;
}
.footer-section p,
.footer-section a {
	color: #666;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.8;
	margin: 0;
}
.footer-section a:hover {
	color: #4ea1d3;
	text-decoration: underline;
}
.footer-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer-section ul li {
	margin-bottom: 8px;
}
.footer-bottom {
	max-width: 1200px;
	margin: 0 auto;
	padding-top: 24px;
	border-top: 1px solid #e8e6e1;
	text-align: center;
	color: #999;
	font-size: 13px;
}
.footer-logo {
	margin-bottom: 16px;
}
.footer-logo img {
	height: 24px;
	opacity: 0.8;
}

/* Accessibility helpers */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
@media (max-width: 768px) {
	.footer {
		padding: 32px 16px 20px;
		margin-top: 40px;
	}
	.footer-content {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav-links { position: absolute; top: 100%; right: 16px; background: rgba(255,255,255,0.98); border: 1px solid rgba(0,0,0,0.06); border-radius: 16px; padding: 14px; display: none; flex-direction: column; gap: 6px; min-width: 220px; box-shadow: 0 18px 35px rgba(0,0,0,0.08); }
  .nav-links li { list-style: none; width: 100%; }
  .nav-links li + li { margin-top: 2px; padding-top: 4px; border-top: 1px solid rgba(0,0,0,0.04); }
  .nav-links a { color: #1f1f1f; display: block; width: 100%; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; }
  .nav-links a:hover { background: rgba(78,161,211,0.12); color: #13445f; }
  .navbar.open .nav-links { display: flex; }
  .navbar.open .has-dropdown > .dropdown { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; padding-left: 0; border-left: none; position: static; background: transparent; border: 0; box-shadow: none; padding: 0; }
  .navbar.open .has-dropdown > .dropdown li + li { border-top: none; margin-top: 2px; }
  .navbar.open .has-dropdown > .dropdown a { padding: 8px 14px 8px 24px; border-radius: 8px; font-size: 14px; font-weight: 500; color: #444; }
  .navbar.open .has-dropdown > .dropdown a:hover { background: rgba(78,161,211,0.16); color: #0f5080; }
  .card { min-width: calc((100% - 16px) / 2); }
  .card img { height: 200px; }
  .contact-form .row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .card { min-width: 100%; }
  .card img { height: 180px; }
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 26px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 1px solid rgba(78,161,211,0.35);
  background: rgba(255,255,255,0.45);
  color: #12354b;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease, background 200ms ease;
  z-index: 1200;
  position: fixed;
  text-decoration: none;
}
.back-to-top:hover {
  background: rgba(78,161,211,0.2);
  transform: translateY(-2px);
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top-icon {
  line-height: 1;
}
.back-to-top-label {
  position: absolute;
  right: 70px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(0,0,0,0.75);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 150ms ease, transform 150ms ease;
  pointer-events: none;
}
.back-to-top.show-label .back-to-top-label,
.back-to-top:hover .back-to-top-label,
.back-to-top:focus-visible .back-to-top-label {
  opacity: 1;
  transform: translateX(0);
}


/* Light navbar theme overrides (ensure these win over legacy dark theme rules) */
.navbar { background: rgba(255,255,255,0.95); border-bottom: 1px solid rgba(0,0,0,0.12); }
.navbar .nav-links a { color: #222; }
.navbar .nav-links a:hover, .navbar .nav-links a:focus { background: #f3f4f6; color: #000; }
.navbar .has-dropdown > a { color: #222; }
.navbar .has-dropdown:hover > a, .navbar .has-dropdown > a:focus { background: #f3f4f6; color: #000; }
.navbar .has-dropdown > .dropdown { background: #faf9f6; border: 1px solid rgba(0,0,0,0.12); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.navbar .has-dropdown > .dropdown a { color: #222; }
.navbar .has-dropdown > .dropdown a:hover, .navbar .has-dropdown > .dropdown a:focus { background: #f3f4f6; color: #000; }
