:root {
  --blue-matte: #0a2e8a;
  --blue-soft: #173c9a;
  --gold-matte: #c9a227;
  --gold-bg: #f7e8ac;
  --ink: #0d1729;
  --ink-soft: #4f5d78;
  --surface: #ffffff;
  --surface-alt: #f8f9fc;
  --border: #d7dff2;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top right, #fff8d7, #f4f7ff 48%, #eef2fb);
  line-height: 1.45;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.top-left-logo {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1300;
  display: inline-flex;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(10, 46, 138, 0.12);
  border-radius: 10px;
  padding: 0.2rem 0.35rem;
  box-shadow: 0 10px 20px rgba(13, 23, 41, 0.14);
}

.top-left-logo img {
  display: block;
  width: 140px;
  height: auto;
}

.hero {
  background: linear-gradient(130deg, #f5dea5, #edd186 40%, #f5e6bc);
  padding: 5rem 0 1.8rem;
  border-bottom: 1px solid #e8d7a4;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-soft);
  background: rgba(10, 46, 138, 0.1);
  border: 1px solid rgba(10, 46, 138, 0.22);
  border-radius: 999px;
  padding: 0.32rem 0.68rem;
}

.hero h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--blue-matte);
  line-height: 1.1;
}

.hero p {
  margin: 0;
  line-height: 1.6;
  font-size: 1.02rem;
}

.hero-lead {
  color: #263252;
  max-width: 56ch;
}

.hero-badges {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
}

.hero-badges span {
  background: rgba(10, 46, 138, 0.1);
  color: var(--blue-matte);
  border: 1px solid rgba(10, 46, 138, 0.18);
  padding: 0.34rem 0.6rem;
  border-radius: 999px;
  font-size: 0.82rem;
}

.hero-cta {
  margin-top: 1.15rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.hero-metrics {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.metric {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(10, 46, 138, 0.12);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
}

.metric strong {
  display: block;
  color: var(--blue-matte);
}

.metric span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.trust-strip {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.trust-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  color: #25304d;
  font-weight: 600;
}

.process-section {
  margin-top: 1.2rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.process-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem;
}

.process-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--blue-matte);
}

.process-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.page-hero {
  padding-top: 6.1rem;
  padding-bottom: 2rem;
}

.page-content {
  margin-top: 1.4rem;
  margin-bottom: 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.about-card p {
  color: var(--ink-soft);
  margin: 0.35rem 0 0;
}

.values-section {
  margin-top: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem;
}

.value-card h3 {
  margin: 0 0 0.35rem;
  color: var(--blue-matte);
}

.value-card p {
  margin: 0;
  color: var(--ink-soft);
}

.top-right-actions {
  position: fixed;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 0.5rem;
  z-index: 1300;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: linear-gradient(140deg, #0a2e8a, #1f4dbb);
  color: #fff;
  font-weight: 700;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(13, 23, 41, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(13, 23, 41, 0.28);
}

.icon-btn-symbol {
  font-size: 1.05rem;
}

.icon-count {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #ffd54f;
  color: #1e2f56;
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin: 1.6rem auto 2.2rem;
}

h2 {
  color: var(--blue-matte);
  margin: 0 0 0.45rem;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

.section-intro {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.95rem;
}

.product {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem;
  box-shadow: 0 10px 24px rgba(13, 23, 41, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(13, 23, 41, 0.1);
}

.product-image {
  width: 100%;
  height: 170px;
  border-radius: 12px;
  margin-bottom: 0.62rem;
  object-fit: cover;
  border: 1px solid #e5e9f5;
}

.product h3 {
  margin: 0.15rem 0;
  font-size: 1.03rem;
}

.product p {
  margin: 0.2rem 0 0.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.price {
  display: block;
  color: var(--blue-soft);
  font-weight: 800;
  margin-bottom: 0.62rem;
  font-size: 1.02rem;
}

.price-old {
  color: #7a8297;
  text-decoration: line-through;
  font-weight: 500;
  margin-right: 0.35rem;
}

.discount-badge {
  display: inline-block;
  background: #ffe2e2;
  color: #a02727;
  border: 1px solid #f2bcbc;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  margin-bottom: 0.45rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  height: fit-content;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.cart-items {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.cart-items li {
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.92rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.btn {
  display: inline-block;
  background: linear-gradient(145deg, #1039a0, #0a2e8a);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 18px rgba(10, 46, 138, 0.2);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(10, 46, 138, 0.28);
}

.btn-outline {
  background: #fff;
  color: var(--blue-matte);
  border: 1px solid #aec1f3;
  margin-bottom: 0.6rem;
  box-shadow: none;
}

.whatsapp-link {
  background: linear-gradient(145deg, #219a58, #1a7b46);
  margin-top: 0;
  box-shadow: 0 8px 18px rgba(20, 99, 54, 0.24);
}

.admin-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1.2rem;
}

.floating-panel {
  position: fixed;
  top: 68px;
  right: 14px;
  width: min(420px, 94vw);
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  z-index: 1250;
  box-shadow: 0 24px 44px rgba(13, 23, 41, 0.26);
  backdrop-filter: blur(2px);
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.admin-rows {
  display: grid;
  gap: 0.65rem;
}

.admin-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 0.6rem;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem;
}

.admin-row label {
  font-size: 0.85rem;
  color: #56607b;
}

.admin-row input {
  width: 100%;
  border: 1px solid #cfd8ef;
  border-radius: 8px;
  padding: 0.45rem;
}

.admin-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.9rem;
  flex-wrap: wrap;
}

.chat-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  border-radius: 999px;
  border: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(145deg, #efce63, #c9a227);
  color: #182e69;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(13, 23, 41, 0.25);
  z-index: 1200;
}

.chat-box {
  position: fixed;
  right: 20px;
  bottom: 75px;
  width: min(360px, 92vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(13, 23, 41, 0.24);
  z-index: 1240;
}

.chat-box > header {
  background: var(--blue-matte);
  color: #fff;
  padding: 0.7rem;
  font-weight: 700;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.chat-close-btn {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.chat-body {
  min-height: 120px;
  max-height: 240px;
  overflow-y: auto;
  padding: 0.7rem;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
  padding: 0.7rem;
  border-top: 1px solid var(--border);
}

.chat-form input {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem;
}

.footer {
  border-top: 1px solid #dfe5f5;
  background: linear-gradient(180deg, #ffffff, #f5f7fd);
  padding: 1.2rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.footer-col h3 {
  margin: 0 0 0.45rem;
  color: var(--blue-matte);
  font-size: 1rem;
}

.footer-col p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-links li {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-links a {
  color: var(--blue-soft);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 1rem;
  padding-top: 0.7rem;
  border-top: 1px solid #dbe2f5;
  color: #66738f;
  font-size: 0.85rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 900px) {
  .hero-wrap,
  .main-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.3rem;
  }

  .hero-metrics,
  .trust-strip,
  .process-grid,
  .about-grid,
  .values-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-right-actions {
    top: 10px;
    right: 10px;
  }

  .top-left-logo {
    top: 10px;
    left: 10px;
  }

  .top-left-logo img {
    width: 112px;
  }

  .icon-btn span:last-child {
    display: none;
  }

  .floating-panel {
    top: 58px;
    right: 10px;
    width: min(400px, 95vw);
  }

  .chat-box {
    right: 10px;
    width: min(360px, 95vw);
  }
}
