:root {
  --brand: #e2711d;
  --brand-dark: #1f3a5f;
  --brand-ink: #16233a;
  --wa: #25d366;
  --wa-dark: #1da851;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --text: #21303f;
  --muted: #62707f;
  --border: #e3e8ee;
  --shadow: 0 6px 24px rgba(20, 35, 58, 0.08);
  --shadow-lg: 0 16px 48px rgba(20, 35, 58, 0.16);
  --radius: 14px;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(226, 113, 29, .35); }
.btn-outline { background: transparent; border-color: currentColor; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: var(--wa-dark); }
.btn-block { width: 100%; justify-content: center; }

.wa-icon {
  width: 18px; height: 18px; flex: 0 0 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.25-1.38c1.45.79 3.08 1.21 4.79 1.21 5.46 0 9.91-4.45 9.91-9.91S17.5 2 12.04 2zm0 18.02c-1.53 0-3.03-.41-4.34-1.19l-.31-.18-3.12.82.83-3.04-.2-.31a8.2 8.2 0 01-1.26-4.39c0-4.54 3.7-8.24 8.25-8.24s8.24 3.7 8.24 8.24-3.7 8.25-8.29 8.25zm4.52-6.16c-.25-.12-1.47-.72-1.69-.81-.23-.08-.39-.12-.56.12-.16.25-.64.81-.79.97-.14.17-.29.19-.54.06-.25-.12-1.05-.39-1.99-1.23-.74-.66-1.23-1.47-1.38-1.72-.14-.25-.02-.38.11-.51.11-.11.25-.29.37-.43.13-.14.17-.25.25-.41.08-.17.04-.31-.02-.43-.06-.12-.56-1.34-.76-1.84-.2-.48-.4-.42-.56-.43h-.48c-.17 0-.43.06-.66.31-.23.25-.86.85-.86 2.07 0 1.22.89 2.4 1.01 2.56.12.17 1.75 2.67 4.23 3.74.59.26 1.05.41 1.41.52.59.19 1.13.16 1.56.1.48-.07 1.47-.6 1.68-1.18.21-.58.21-1.07.14-1.18-.06-.11-.22-.17-.47-.29z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.25-1.38c1.45.79 3.08 1.21 4.79 1.21 5.46 0 9.91-4.45 9.91-9.91S17.5 2 12.04 2zm0 18.02c-1.53 0-3.03-.41-4.34-1.19l-.31-.18-3.12.82.83-3.04-.2-.31a8.2 8.2 0 01-1.26-4.39c0-4.54 3.7-8.24 8.25-8.24s8.24 3.7 8.24 8.24-3.7 8.25-8.29 8.25zm4.52-6.16c-.25-.12-1.47-.72-1.69-.81-.23-.08-.39-.12-.56.12-.16.25-.64.81-.79.97-.14.17-.29.19-.54.06-.25-.12-1.05-.39-1.99-1.23-.74-.66-1.23-1.47-1.38-1.72-.14-.25-.02-.38.11-.51.11-.11.25-.29.37-.43.13-.14.17-.25.25-.41.08-.17.04-.31-.02-.43-.06-.12-.56-1.34-.76-1.84-.2-.48-.4-.42-.56-.43h-.48c-.17 0-.43.06-.66.31-.23.25-.86.85-.86 2.07 0 1.22.89 2.4 1.01 2.56.12.17 1.75 2.67 4.23 3.74.59.26 1.05.41 1.41.52.59.19 1.13.16 1.56.1.48-.07 1.47-.6 1.68-1.18.21-.58.21-1.07.14-1.18-.06-.11-.22-.17-.47-.29z'/></svg>") center/contain no-repeat;
}

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { font-weight: 800; font-size: 19px; color: var(--brand-dark); letter-spacing: -.2px; }
.nav { display: flex; gap: 26px; margin-left: 28px; }
.nav a { font-weight: 600; color: var(--muted); font-size: 15px; transition: color .15s; }
.nav a:hover { color: var(--brand); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang-btn { border: none; background: transparent; padding: 6px 12px; font-weight: 700; font-size: 13px; color: var(--muted); cursor: pointer; }
.lang-btn.active { background: var(--brand-dark); color: #fff; }

.header-actions .btn-whatsapp { padding: 9px 16px; font-size: 14px; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--brand-dark); border-radius: 2px; transition: .2s; }

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(31,58,95,.92), rgba(31,58,95,.55)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800'%3E%3Crect width='1200' height='800' fill='%231f3a5f'/%3E%3Cg fill='%23274a75' opacity='.6'%3E%3Crect x='60' y='120' width='200' height='560'/%3E%3Crect x='300' y='260' width='200' height='420'/%3E%3Crect x='540' y='60' width='200' height='620'/%3E%3Crect x='780' y='300' width='200' height='380'/%3E%3Crect x='1020' y='180' width='160' height='500'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  padding-top: 64px;
}
.hero-content { max-width: 720px; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.12; margin: 0 0 18px; font-weight: 800; }
.hero p { font-size: clamp(16px, 2.2vw, 20px); color: rgba(255,255,255,.9); margin: 0 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sections */
.section { padding: 84px 0; }
.section:nth-of-type(even) { background: var(--bg-soft); }
.section-title { font-size: clamp(26px, 4vw, 36px); font-weight: 800; color: var(--brand-ink); margin: 0 0 12px; text-align: center; }
.section-lead { color: var(--muted); font-size: 17px; text-align: center; max-width: 640px; margin: 0 auto 44px; }

/* About highlights */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 10px; }
.highlight { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); }
.highlight .icon { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 14px; background: rgba(226,113,29,.12); color: var(--brand); display: grid; place-items: center; }
.highlight .icon svg { width: 28px; height: 28px; }
.highlight h3 { margin: 0 0 8px; font-size: 18px; color: var(--brand-ink); }
.highlight p { margin: 0; color: var(--muted); font-size: 15px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filter-btn { border: 1px solid var(--border); background: #fff; color: var(--muted); padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; transition: .15s; }
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card .thumb { aspect-ratio: 4 / 3; background: var(--bg-soft); position: relative; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .badge { position: absolute; top: 10px; left: 10px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; }
.product-card .card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .card-cat { font-size: 12px; color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.product-card h3 { margin: 0; font-size: 16.5px; color: var(--brand-ink); }
.product-card .card-desc { color: var(--muted); font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .card-price { margin-top: auto; font-weight: 800; color: var(--brand-dark); font-size: 16px; }
.empty-note { text-align: center; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: stretch; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; background: rgba(31,58,95,.08); color: var(--brand-dark); display: grid; place-items: center; }
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list .ct { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 700; }
.contact-list .cv { font-size: 16px; color: var(--brand-ink); font-weight: 600; }
.contact-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-buttons .btn-outline { color: var(--brand-dark); }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 340px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* Footer */
.site-footer { background: var(--brand-ink); color: rgba(255,255,255,.8); padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.footer-inner span:first-child { font-weight: 700; color: #fff; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(16,25,40,.6); backdrop-filter: blur(2px); }
.modal-dialog { position: relative; background: #fff; border-radius: 18px; max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; box-shadow: var(--shadow-lg); }
.modal-dialog img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-soft); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(255,255,255,.9); font-size: 26px; line-height: 1; cursor: pointer; color: var(--brand-ink); box-shadow: var(--shadow); }
.modal-body { padding: 24px; }
.modal-category { font-size: 12px; color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.modal-body h3 { margin: 6px 0 12px; font-size: 23px; color: var(--brand-ink); }
.modal-body p { color: var(--muted); margin: 0 0 18px; }
.modal-meta { display: flex; gap: 30px; margin: 0 0 22px; }
.modal-meta div { margin: 0; }
.modal-meta dt { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.modal-meta dd { margin: 0; font-size: 16px; font-weight: 700; color: var(--brand-ink); }

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .15s;
}
.whatsapp-fab:hover { transform: scale(1.06); }
.whatsapp-fab .wa-icon { width: 30px; height: 30px; }

/* Responsive */
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--border); margin: 0; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; border-top: 1px solid var(--border); }
  .menu-toggle { display: flex; }
  .header-actions .btn-whatsapp span:not(.wa-icon) { display: none; }
  .header-actions .btn-whatsapp { padding: 9px 11px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-card h3 { font-size: 15px; }
  .hero { min-height: 82vh; }
  .header-actions { gap: 8px; }
}
