:root {
  --blue: #1b4f9c;
  --blue-dark: #143d7a;
  --blue-light: #e8f0fb;
  --red: #e63946;
  --magenta: #c026d3;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-600: #64748b;
  --gray-800: #1e293b;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(27, 79, 156, 0.08);
  --shadow-lg: 0 12px 40px rgba(27, 79, 156, 0.12);
  --radius: 16px;
  --header-h: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 79, 156, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo img {
  height: 68px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--blue);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, var(--red), var(--magenta));
  color: var(--white) !important;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.35);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--white) 60%);
  text-align: center;
}

.hero__logo {
  width: min(320px, 80%);
  margin: 0 auto 2rem;
}

.hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--red), var(--magenta));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4);
}

.btn--secondary {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn--secondary:hover {
  background: var(--blue-light);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--gray-50);
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section__desc {
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}

/* Product cards */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(27, 79, 156, 0.06);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.12), rgba(192, 38, 211, 0.12));
  color: var(--blue);
}

.card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

/* Locations */
.locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.location {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--blue);
}

.location__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  background: var(--blue);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.location__badge--branch {
  background: linear-gradient(135deg, var(--red), var(--magenta));
}

.location__address {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.location__city {
  color: var(--gray-600);
  margin-bottom: 1.25rem;
}

.location__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: gap 0.2s;
}

.location__link:hover {
  gap: 0.625rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.contact-item__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-600);
  margin-bottom: 0.25rem;
}

.contact-item__value {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--blue);
}

.contact-item__value:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.social-links a:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--blue);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.9375rem;
}

.footer a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer a:hover {
  opacity: 0.85;
}

.footer__brand {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer__version {
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* Mobile nav */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    background: var(--white);
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(27, 79, 156, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__cta {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: calc(var(--header-h) + 2rem);
  }

  .section {
    padding: 3.5rem 0;
  }
}
