:root {
  --green: #28c63f;
  --green-dark: #0c7f2f;
  --green-soft: #e9f9ec;
  --text: #0d1b2a;
  --muted: #6d7785;
  --line: #e5e7eb;
  --bg: #f3f4f6;
  --white: #ffffff;
  --surface: #ffffff;
  --surface-soft: #fbfcfe;
  --nav: #071426;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.14);
  --container: min(1240px, calc(100% - 40px));
  --radius-soft: 24px;
  --radius-card: 20px;
}

body[data-theme="dark"] {
  --text: #eff6ff;
  --muted: #b0bfd3;
  --line: rgba(255,255,255,0.1);
  --bg: #07101d;
  --white: #101b2b;
  --surface: #101b2b;
  --surface-soft: #132235;
  --nav: #020912;
  --green-soft: rgba(40, 198, 63, 0.12);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  font-family: "Lexend", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background-color 0.25s ease, color 0.25s ease;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }
p, li { line-height: 1.75; }
.container { width: var(--container); margin: 0 auto; }
.section { padding: 78px 0; }
.narrow { max-width: 980px; }
.centered { text-align: center; }
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 20px;
  top: 20px;
  z-index: 999;
  background: var(--surface);
  padding: 10px 14px;
  border-radius: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}
.header-row {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--green-dark), var(--green));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 14px 28px rgba(12, 127, 47, 0.2);
}
.brand-text strong {
  display: block;
  font-size: clamp(1rem, 2.2vw, 1.85rem);
  letter-spacing: 0.02em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-weight: 500;
  color: #11233a;
  transition: color 0.25s ease, opacity 0.25s ease;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--green);
}
.whatsapp-btn,
.primary-btn,
.outline-btn,
.inline-link,
.floating-wa {
  border-radius: 18px;
}
.whatsapp-btn,
.primary-btn {
  background: linear-gradient(135deg, var(--green), #18b43d);
  color: #fff;
  padding: 14px 22px;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(40, 198, 63, 0.28);
}

.whatsapp-btn,
.outline-btn,
.floating-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  text-align: center;
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 20px;
}

.floating-wa .whatsapp-icon {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}
.outline-btn {
  border: 1px solid rgba(13, 27, 42, 0.12);
  background: var(--surface);
  padding: 14px 22px;
  font-weight: 600;
}
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(13, 27, 42, 0.08);
  background: #fff;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  background: #10233b;
  border-radius: 99px;
}

.hero {
  padding: 24px 0 36px;
}
.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  background: #0b1930;
}
.hero-slide {
  display: none;
}
.hero-slide.is-active {
  display: block;
}
.hero-content {
  position: relative;
  min-height: clamp(360px, 44vw, 620px);
  overflow: hidden;
  border-radius: 28px;
}
.hero-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: clamp(360px, 44vw, 620px);
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }
.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
}
.dot.is-active { background: #fff; transform: scale(1.1); }

.page-hero {
  padding: 42px 0 24px;
}
.page-hero-card {
  background: linear-gradient(145deg, #081526, #102742);
  color: #fff;
  border-radius: 28px;
  padding: clamp(28px, 5vw, 54px);
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow-lg);
}
.page-hero-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.08;
}
.page-hero-card p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  max-width: 780px;
}
.breadcrumb {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.68);
}
.breadcrumb a { color: rgba(255,255,255,0.88); }

.section-kicker {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #d39d2a;
  font-weight: 700;
  font-size: 0.95rem;
}
.section-title {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.14;
}
.main-title { color: var(--green-dark); }
.section-text {
  margin: 18px auto 0;
  color: var(--muted);
  max-width: 900px;
}
.section-head { margin-bottom: 34px; }
.centered-head { text-align: center; }
.center-actions { display: flex; justify-content: center; margin-top: 24px; }
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid rgba(13, 27, 42, 0.08);
  box-shadow: var(--shadow);
  font-weight: 600;
}

.product-grid,
.why-grid,
.gallery-grid,
.article-grid,
.contact-grid,
.contact-cards {
  display: grid;
  gap: 24px;
}
.primary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
.contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.product-card,
.why-card,
.gallery-card,
.article-card,
.contact-card,
.content-panel,
.info-panel,
.article-listing,
.contact-panel {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow);
}
.product-card img,
.gallery-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  background: linear-gradient(145deg, #eff3f8, #dfe7ef);
}
.product-card h3,
.why-card h3,
.article-card h3,
.contact-card h3,
.info-panel h3,
.content-panel h3,
.contact-panel h3,
.article-listing h3 { margin: 18px 0 10px; }
.featured-card {
  background: linear-gradient(180deg, #f5fff6, #ffffff);
  border: 1px solid rgba(40, 198, 63, 0.2);
}
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.product-meta > * {
  min-width: 0;
}
.product-meta .price {
  flex: 1 1 120px;
}
.product-meta .outline-btn {
  flex: 0 1 auto;
  white-space: nowrap;
}
.price {
  color: var(--green-dark);
  font-weight: 700;
}
.spec-list li,
.bullet-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}
.spec-list li::before,
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.why-card p,
.product-card p,
.article-card p,
.contact-card p,
.content-panel p,
.info-panel p,
.contact-panel p,
.article-listing p { color: var(--muted); }

.article-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.article-thumb {
  height: 200px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0d1b2a, #1d6f32);
}
.article-meta {
  font-size: 0.9rem;
  color: var(--muted);
}
.article-listing { display: grid; gap: 18px; }
.article-listing + .article-listing { margin-top: 18px; }

.longform-article {
  display: grid;
  gap: 22px;
}
.longform-article section {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow);
}
.longform-article h2,
.longform-article h3 {
  margin: 0 0 14px;
}
.longform-article p {
  margin: 0 0 14px;
  color: var(--muted);
}
.longform-article p:last-child,
.longform-article ul:last-child,
.longform-article ol:last-child {
  margin-bottom: 0;
}
.longform-article ul,
.longform-article ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  background: var(--surface-soft);
}
.faq-item h3 {
  margin-bottom: 8px;
}

.contact-panel iframe,
.map-placeholder {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(145deg, #dfe7ef, #f9fbfd);
}
.map-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  padding: 20px;
}

.site-footer {
  padding: 26px 0 24px;
  background: #071426;
  color: #f6fbff;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 26px;
  padding: 26px 0;
}
.site-footer h3 { margin-top: 0; }
.site-footer p,
.site-footer li,
.footer-bottom a { color: rgba(246, 251, 255, 0.75); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green), #18b43d);
  box-shadow: 0 20px 35px rgba(40, 198, 63, 0.34);
  z-index: 60;
}
.pulse-btn {
  animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 14px 32px rgba(40, 198, 63, 0.28); }
  50% { box-shadow: 0 20px 46px rgba(40, 198, 63, 0.48); transform: translateY(-1px); }
}
.tilt-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tilt-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 65px rgba(15, 23, 42, 0.14);
}

@media (max-width: 1080px) {
  .header-row { gap: 16px; }
  .site-nav ul { gap: 20px; }
  .hero-content {
    aspect-ratio: 16 / 8;
    min-height: clamp(320px, 46vw, 520px);
  }

  .primary-grid,
  .gallery-grid,
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-block; }
  .theme-toggle { min-height: 46px; padding: 0 14px; }
  .brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    font-size: 1.15rem;
  }
  .brand-text strong { font-size: 1rem; }
  .site-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    padding: 18px;
    gap: 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .site-nav ul li,
  .site-nav ul a,
  .whatsapp-btn {
    width: 100%;
  }
  .site-nav ul a,
  .whatsapp-btn {
    min-height: 48px;
  }
  .hero {
    padding: 14px 0 28px;
  }
  .hero-slider {
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #f7fafc);
  }
  .hero-slide {
    padding: 0;
  }
  .hero-content {
    aspect-ratio: 4 / 3;
    min-height: 0;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 12px 56px;
    background: transparent;
  }
  .hero-banner-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
  }
  .slider-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }
  .slider-dots { bottom: 12px; }
  .page-hero-card { border-radius: 22px; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-row {
    min-height: 82px;
    gap: 10px;
  }
  .container { width: min(100% - 20px, 1240px); }
  .section { padding: 52px 0; }
  .section-title { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .section-text,
  p,
  li { line-height: 1.65; }
  .primary-grid,
  .gallery-grid,
  .article-grid { grid-template-columns: 1fr; }
  .product-card,
  .why-card,
  .gallery-card,
  .article-card,
  .contact-card,
  .content-panel,
  .info-panel,
  .article-listing,
  .contact-panel {
    padding: 20px;
  }
  .hero-slider {
    border-radius: 18px;
  }
  .hero-content {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    padding: 10px 10px 52px;
  }
  .hero-banner-image {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }
  .slider-arrow {
    width: 38px;
    height: 38px;
    top: calc(50% - 14px);
  }
  .slider-dots { bottom: 10px; }
  .dot { width: 10px; height: 10px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .floating-wa { right: 16px; bottom: 16px; }
  .product-meta .outline-btn {
    width: 100%;
    flex: 1 1 100%;
  }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(13, 27, 42, 0.08);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.theme-toggle:hover { transform: translateY(-1px); }
.theme-toggle__icon { font-size: 1rem; line-height: 1; }
.theme-toggle__text { white-space: nowrap; }
body[data-theme="dark"] .site-header { background: rgba(7,16,29,0.9); border-bottom-color: rgba(255,255,255,0.08); }
body[data-theme="dark"] .site-nav a { color: #e7f1ff; }
body[data-theme="dark"] .menu-toggle,
body[data-theme="dark"] .theme-toggle,
body[data-theme="dark"] .outline-btn,
body[data-theme="dark"] .inline-link,
body[data-theme="dark"] .product-card,
body[data-theme="dark"] .why-card,
body[data-theme="dark"] .gallery-card,
body[data-theme="dark"] .article-card,
body[data-theme="dark"] .contact-card,
body[data-theme="dark"] .content-panel,
body[data-theme="dark"] .info-panel,
body[data-theme="dark"] .article-listing,
body[data-theme="dark"] .contact-panel,
body[data-theme="dark"] .faq-item,
body[data-theme="dark"] .longform-article section {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}
body[data-theme="dark"] .menu-toggle span { background: #eff6ff; }
body[data-theme="dark"] .hero-slider { background: linear-gradient(180deg, #0d1726, #0a111c); }
body[data-theme="dark"] .page-hero-card,
body[data-theme="dark"] .site-footer { background: #020912; }
body[data-theme="dark"] .product-card img,
body[data-theme="dark"] .gallery-card img,
body[data-theme="dark"] .map-placeholder,
body[data-theme="dark"] .contact-panel iframe { background: linear-gradient(145deg, #0f1c2d, #16283d); }
body[data-theme="dark"] .faq-item { background: var(--surface-soft); }
body[data-theme="dark"] .section-kicker { color: #f0c15f; }
body[data-theme="dark"] .main-title { color: #63df7b; }
body[data-theme="dark"] .brand-text strong,
body[data-theme="dark"] .section-title,
body[data-theme="dark"] h1,
body[data-theme="dark"] h2,
body[data-theme="dark"] h3 { color: var(--text); }
body[data-theme="dark"] .site-footer h3 { color: #fff; }
body[data-theme="dark"] .site-footer p,
body[data-theme="dark"] .site-footer li,
body[data-theme="dark"] .footer-bottom a { color: rgba(246, 251, 255, 0.76); }

a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(40, 198, 63, 0.35);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.brand-image {
  width: clamp(220px, 26vw, 360px);
  height: auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .brand-image {
    width: min(58vw, 210px);
  }
}


.floating-stack {
  --float-x: 0px;
  --float-y: 0px;
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  transform: translate3d(var(--float-x), var(--float-y), 0);
  transition: transform 0.25s ease;
}

.floating-btn {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.floating-stack .floating-wa {
  position: static;
  right: auto;
  bottom: auto;
}

.floating-mode,
.floating-language {
  border: 1px solid rgba(13, 27, 42, 0.08);
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.floating-mode:hover,
.floating-language:hover {
  transform: translateY(-1px);
}

.floating-lang__text {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

body[data-theme="dark"] .floating-mode,
body[data-theme="dark"] .floating-language {
  background: rgba(16, 27, 43, 0.92);
  border-color: rgba(255,255,255,0.08);
  color: var(--text);
}

@media (max-width: 820px) {
  .floating-stack {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .floating-btn {
    width: 54px;
    height: 54px;
  }
}
