:root {
  --bg: #f5f8fc;
  --bg-muted: #e8eef8;
  --surface: #ffffff;
  --ink: #122033;
  --ink-soft: #4a5d78;
  --line: #c9d6ea;
  --brand: #0b4ea2;
  --brand-deep: #083778;
  --brand-soft: #5b8fd4;
  --whatsapp: #25d366;
  --shadow: 0 12px 40px rgba(11, 78, 162, 0.1);
  --radius: 14px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1100px 480px at 8% -8%, #d6e6fb 0%, transparent 55%),
    linear-gradient(180deg, #eef4fb 0%, var(--bg) 42%, #e9f0f9 100%);
  min-height: 100vh;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand);
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(245, 248, 252, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.brand img {
  height: 48px;
  width: auto;
}

.brand-text {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--brand-deep);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--brand-deep);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 0.55rem;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  filter: brightness(0.95);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0 2rem;
}

.hero-banner {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--brand-deep);
}

.hero-banner img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center top;
}

.hero-copy {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  max-width: 46rem;
}

.hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  margin: 0;
  color: var(--brand-deep);
  letter-spacing: -0.02em;
}

.hero-copy .lead {
  margin: 0;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.feature-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.feature-item strong {
  display: block;
  color: var(--brand-deep);
  font-size: 0.88rem;
  margin-top: 0.35rem;
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto;
  border-radius: 50%;
  background: #e8f0fb;
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 800;
}

.section {
  padding: 3rem 0;
}

.section-muted {
  background: color-mix(in srgb, var(--bg-muted) 70%, transparent);
}

.section-head {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-head h2,
.page-hero h1,
.contact-info h2,
.contact-form h2 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  color: var(--brand-deep);
}

.section-head p,
.page-hero p {
  margin: 0;
  color: var(--ink-soft);
}

.page-hero {
  padding: 2.5rem 0 0.25rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-soft);
  color: inherit;
}

.category-card img {
  margin-bottom: 0.75rem;
}

.category-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  color: var(--brand-deep);
}

.category-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-soft);
}

.product-card-media {
  background: #eef4fb;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.product-card-media img {
  width: 72%;
  height: auto;
}

.product-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.product-card-body h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink);
}

.product-card-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.product-card .meta {
  color: var(--brand-deep) !important;
  font-weight: 600;
  font-size: 0.82rem !important;
}

.product-card .btn {
  margin-top: auto;
  width: 100%;
}

.empty {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  grid-column: 1 / -1;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.checklist {
  margin: 0;
  padding: 1.25rem 1.25rem 1.25rem 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.checklist li + li {
  margin-top: 0.55rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-info,
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-info dl {
  margin: 1rem 0;
}

.contact-info dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-top: 0.85rem;
}

.contact-info dd {
  margin: 0.2rem 0 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbff;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--brand) 35%, white);
  border-color: var(--brand);
}

.alert.success {
  background: #eaf3ff;
  border: 1px solid #b7d0f5;
  border-radius: var(--radius);
  padding: 1.25rem;
}

.map-block {
  margin-top: 1.75rem;
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
  aspect-ratio: 21 / 9;
  min-height: 280px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 6rem;
  border-top: 1px solid var(--line);
  background: #0a2f63;
  color: #dce8f7;
}

.site-footer a {
  color: #dce8f7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
}

.footer-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
  margin: 0 0 0.5rem;
}

.muted {
  opacity: 0.85;
}

.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.footer-bottom > p {
  margin: 0;
  opacity: 0.75;
}

.footer-credit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  max-width: 22rem;
  transition: opacity 0.2s ease;
}

.footer-credit:hover {
  opacity: 0.9;
}

.footer-credit img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
  background: #ffffff;
  border-radius: 12px;
  padding: 0.55rem;
  box-sizing: border-box;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.footer-credit span {
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(220, 232, 247, 0.72);
}

.footer-credit strong {
  font-weight: 700;
  color: #9ec5ff;
}

.cta-bar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  gap: 0.5rem;
  padding: 0.4rem;
  background: rgba(10, 47, 99, 0.94);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.cta-bar a {
  min-width: 5.5rem;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  padding: 0.7rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
  white-space: nowrap;
}

.cta-phone {
  background: var(--brand);
}

.cta-wa {
  background: var(--whatsapp);
}

.cta-map {
  background: #0f766e;
}

@media (max-width: 420px) {
  .cta-bar {
    left: 0.5rem;
    right: 0.5rem;
    transform: none;
    width: auto;
    justify-content: stretch;
  }

  .cta-bar a {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 0.4rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #f5f8fc;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .header-inner {
    position: relative;
  }

  .brand-text {
    display: none;
  }
}

@media (max-width: 520px) {
  .feature-row {
    grid-template-columns: 1fr;
  }
}
