:root {
  --color-primary: #0a2e5c;
  --color-primary-dark: #08254a;
  --color-accent: #f97316;
  --color-accent-dark: #dc5f0c;
  --color-bg: #f5f7fa;
  --color-surface: #ffffff;
  --color-text: #1f2937;
  --color-muted: #5f6b7a;
  --color-border: #d8dee8;
  --color-teal: #0f766e;
  --color-whatsapp: #25d366;
  --shadow-sm: 0 8px 22px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.14);
  --container: 1180px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #ffffff;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.35);
  outline-offset: 3px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(216, 222, 232, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--color-primary);
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--color-primary);
  font-size: 23px;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-subtitle {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-primary);
  background: #ffffff;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

body.nav-open .nav-toggle-lines {
  background: transparent;
}

body.nav-open .nav-toggle-lines::before {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle-lines::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
  color: #2f3a4a;
  font-size: 15px;
  font-weight: 700;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-primary);
  background: rgba(10, 46, 92, 0.08);
}

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

.language-select {
  min-width: 128px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-primary);
  background: #ffffff;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease), border-color 200ms var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #ffffff;
  background: var(--color-accent);
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.25);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.32);
}

.btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-light {
  color: var(--color-primary);
  border-color: var(--color-border);
  background: #ffffff;
}

.btn-light:hover {
  border-color: rgba(10, 46, 92, 0.35);
  box-shadow: var(--shadow-sm);
}

.hero {
  position: relative;
  display: flex;
  min-height: 72svh;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(5, 20, 38, 0.9), rgba(5, 20, 38, 0.64) 54%, rgba(5, 20, 38, 0.32)),
    var(--hero-image, url("https://images.unsplash.com/photo-1513828583688-c52646db42da?auto=format&fit=crop&w=1800&q=80")) center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  padding: 88px 0 82px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #ffd5b5;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 3px;
  border-radius: 999px;
  content: "";
  background: var(--color-accent);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: 58px;
  font-weight: 800;
  line-height: 1.08;
}

.hero p,
.page-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.page-hero {
  color: #ffffff;
  background: var(--color-primary);
}

.page-hero .container {
  padding: 78px 0 72px;
}

.section {
  padding: 78px 0;
}

.section-tight {
  padding: 56px 0;
}

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

.section-header {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--color-primary);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.14;
}

.section-copy {
  margin: 14px auto 0;
  color: var(--color-muted);
  font-size: 17px;
}

.trust-band {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-item {
  padding: 28px 24px;
  border-right: 1px solid var(--color-border);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-value {
  display: block;
  color: var(--color-primary);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.trust-desc {
  display: block;
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 14px;
}

.authorized-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-teal);
  font-weight: 800;
}

.badge-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--color-teal);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.value-card,
.product-card,
.news-card,
.office-card,
.contact-panel {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.feature-card:hover,
.value-card:hover,
.product-card:hover,
.news-card:hover,
.office-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 46, 92, 0.25);
  box-shadow: var(--shadow-md);
}

.feature-card,
.value-card,
.office-card,
.contact-panel {
  padding: 28px;
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--color-primary);
}

.icon-box.accent {
  background: var(--color-accent);
}

.icon-box.teal {
  background: var(--color-teal);
}

.icon-box svg {
  width: 25px;
  height: 25px;
}

.feature-card h3,
.value-card h3,
.product-card h3,
.news-card h3,
.office-card h3,
.contact-panel h2,
.contact-panel h3 {
  margin: 18px 0 10px;
  color: var(--color-primary);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.feature-card p,
.value-card p,
.office-card p,
.contact-panel p {
  margin: 0;
  color: var(--color-muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--color-accent);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 44px;
  align-items: center;
}

.split h2 {
  margin: 0 0 18px;
  color: var(--color-primary);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.16;
}

.split p {
  margin: 0 0 16px;
  color: var(--color-muted);
}

.media-panel {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.media-panel img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.region-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 30px;
}

.search-input,
.form-control {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-text);
  background: #ffffff;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.search-input:focus,
.form-control:focus {
  border-color: var(--color-accent);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-btn {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-primary);
  background: #ffffff;
  font-size: 14px;
  font-weight: 800;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}

.filter-btn:hover,
.filter-btn.is-active {
  color: #ffffff;
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.product-card,
.news-card {
  overflow: hidden;
}

.product-image,
.news-image {
  aspect-ratio: 4 / 3;
  background: #e9eef5;
}

.news-image {
  aspect-ratio: 3 / 2;
}

.product-image img,
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body,
.news-body {
  padding: 24px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--color-primary);
  background: rgba(10, 46, 92, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.product-card h3,
.news-card h3 {
  margin: 14px 0 9px;
}

.product-card p,
.news-card p {
  margin: 0;
  color: var(--color-muted);
}

.specs {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  color: #334155;
  font-size: 14px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.details-panel {
  display: none;
  margin-top: 14px;
  padding: 14px;
  border-radius: 6px;
  color: #334155;
  background: var(--color-bg);
  font-size: 14px;
}

.details-panel.is-open {
  display: block;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--color-muted);
  font-size: 14px;
}

.cta-band {
  color: #ffffff;
  background: var(--color-primary);
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-content h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
}

.cta-content p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.form-field label {
  display: block;
  margin-bottom: 7px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

textarea.form-control {
  min-height: 138px;
  resize: vertical;
}

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

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--color-teal);
  font-weight: 800;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.contact-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}

.contact-row strong {
  display: block;
  color: var(--color-primary);
}

.contact-row span,
.contact-row a {
  color: var(--color-muted);
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--color-primary-dark);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(180px, 0.8fr));
  gap: 34px;
  padding: 58px 0 38px;
}

.footer-brand .brand {
  color: #ffffff;
}

.footer-brand .brand-subtitle,
.footer-brand p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand p {
  max-width: 420px;
  margin: 16px 0 0;
}

.footer-title {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffffff;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-link {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: #ffffff;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}

.social-icon {
  display: block;
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-link:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.whatsapp-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
}

.whatsapp-button {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: var(--color-whatsapp);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.35);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.42);
}

.whatsapp-button svg {
  width: 30px;
  height: 30px;
}

.whatsapp-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  display: none;
  width: 316px;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.whatsapp-panel.is-open {
  display: block;
}

.whatsapp-panel-header {
  padding: 16px 18px;
  color: #ffffff;
  background: var(--color-whatsapp);
}

.whatsapp-panel-header strong {
  display: block;
  line-height: 1.2;
}

.whatsapp-panel-header span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.whatsapp-panel-body {
  padding: 18px;
}

.whatsapp-message {
  margin: 0 0 16px;
  color: var(--color-text);
}

.no-results {
  display: none;
  padding: 24px;
  border: 1px dashed var(--color-border);
  border-radius: 8px;
  color: var(--color-muted);
  text-align: center;
  background: #ffffff;
}

.no-results.is-visible {
  display: block;
}

@media (max-width: 1023px) {
  .header-inner {
    min-height: 70px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav,
  .header-actions {
    position: absolute;
    left: 20px;
    right: 20px;
    display: none;
    background: #ffffff;
  }

  .site-nav {
    top: 70px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    box-shadow: var(--shadow-sm);
  }

  .site-nav a {
    justify-content: flex-start;
  }

  .header-actions {
    top: 298px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 0 0 8px 8px;
    box-shadow: var(--shadow-sm);
  }

  body.nav-open .site-nav,
  body.nav-open .header-actions {
    display: flex;
  }

  .language-select,
  .header-actions .btn {
    width: 100%;
  }

  .hero {
    min-height: 70svh;
  }

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

  .hero p,
  .page-hero p {
    font-size: 18px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-border);
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .region-list {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .filter-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero {
    min-height: 68svh;
    background-position: center;
  }

  .hero-content {
    padding: 70px 0 64px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 34px;
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .page-hero .container {
    padding: 58px 0;
  }

  .section {
    padding: 58px 0;
  }

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

  .card-grid,
  .card-grid.two,
  .trust-grid,
  .form-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .media-panel img {
    height: 320px;
  }

  .cta-content,
  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-content h2 {
    font-size: 28px;
  }

  .product-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .whatsapp-widget {
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-panel {
    width: min(316px, calc(100vw - 32px));
  }
}

@media (max-width: 420px) {
  .header-inner {
    gap: 12px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    white-space: normal;
  }

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