:root {
  --navy: #0b2a3b;
  --navy-2: #0e3a4e;
  --teal: #0e8a7a;
  --teal-dark: #0a6f62;
  --gold: #e8b23a;
  --cream: #f6f4ee;
  --ink: #142b36;
  --muted: #5b6b74;
  --line: #e3e1d9;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 42, 59, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 42, 59, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
.container { width: min(1140px, 92%); margin: 0 auto; }

a { color: inherit; text-decoration: none; }
.section { padding: 72px 0; }
.section-alt { background: var(--cream); }
.section-title {
  font-size: clamp(26px, 4vw, 38px);
  margin: 0 0 8px;
  color: var(--navy);
  text-align: center;
  letter-spacing: -0.5px;
}
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 34px; max-width: 680px; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-text { font-size: 15px; letter-spacing: 0.4px; color: var(--navy); }
.logo-mark {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: var(--gold);
  border-radius: 12px; font-size: 22px; font-weight: 800;
  box-shadow: 0 4px 12px rgba(11, 42, 59, 0.25);
}
.logo-mark.light { background: var(--white); color: var(--teal); box-shadow: none; }
.nav-links { display: flex; gap: 22px; font-weight: 600; color: var(--ink); }
.nav-links a:hover { color: var(--teal); }
.nav-cta { margin-left: 6px; }

.btn {
  display: inline-block; font-weight: 700; border-radius: 12px;
  padding: 12px 20px; border: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-ghost { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3); }
.btn-whatsapp:hover { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4); }
.btn-lg { font-size: 17px; padding: 15px 26px; }
.nav-cta.btn-whatsapp { background: var(--teal); box-shadow: var(--shadow); }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%); }
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(232,178,58,0.25), transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(255,255,255,0.10), transparent 45%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 40px);
}
.hero-inner { position: relative; display: grid; place-items: center; text-align: center; padding: 90px 0 100px; }
.badge {
  display: inline-block; background: rgba(232,178,58,0.18); color: var(--gold);
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 20px;
  border: 1px solid rgba(232,178,58,0.4);
}
.hero h1 { font-size: clamp(34px, 6vw, 62px); margin: 0 0 16px; line-height: 1.08; letter-spacing: -1px; }
.hero .accent { color: var(--gold); }
.hero p { max-width: 620px; margin: 0 auto 26px; font-size: 18px; color: rgba(255,255,255,0.9); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 46px; flex-wrap: wrap; }
.hero-stats div { text-align: center; }
.hero-stats b { display: block; font-size: 26px; color: var(--gold); }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,0.75); }

/* Products grid */
.grid { display: grid; gap: 24px; }
.products-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  width: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: 1px solid var(--line);
  color: inherit;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #e7ecef; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--clr, var(--teal)); color: #fff;
  font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 8px;
}
.product-copy { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-copy h3 { margin: 0; font-size: 21px; color: var(--navy); }
.product-copy p { margin: 0; color: var(--muted); font-size: 14.5px; }
.product-more { margin-top: auto; font-weight: 700; color: var(--teal); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* Skeleton while image generates */
.skeleton {
  width: 100%; height: 100%;
  background: linear-gradient(100deg, #e5eaee 40%, #f4f7f8 50%, #e5eaee 60%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite linear;
}
.generating-label {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--muted); font-size: 13px; font-weight: 600; background: rgba(255,255,255,0.7);
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* Video */
.video-wrap { display: grid; place-items: center; }
.video-wrap .svp { max-width: 760px; width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.video-placeholder {
  max-width: 760px; min-height: 340px; width: 100%;
  display: grid; place-items: center; text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--teal-dark));
  color: #fff; border-radius: var(--radius); padding: 40px;
}
.video-placeholder .pb { font-size: 15px; color: rgba(255,255,255,0.85); margin-top: 8px; }
.video-placeholder h3 { margin: 0; font-size: 22px; }

/* Offices */
.offices-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.office-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.office-card h3 { margin: 0 0 4px; font-size: 17px; color: var(--navy); }
.office-card .city { color: var(--teal); font-weight: 700; font-size: 13px; }
.office-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.office-card .phone {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  background: #eafaf0; color: #1a7f43; padding: 8px 12px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}

/* Map */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* Contact */
.contact-card {
  background: linear-gradient(135deg, var(--navy), var(--teal-dark));
  border-radius: 22px; padding: 38px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.contact-card .section-title, .contact-card .section-sub { color: #fff; }
.contact-card .section-sub { opacity: 0.85; }
.contact-lines { display: grid; gap: 10px; margin-top: 16px; }
.contact-lines a, .contact-lines span { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.92); font-size: 15px; }
.contact-lines a:hover { color: var(--gold); }

/* Detail page */
.back-link { display: inline-block; margin-bottom: 18px; color: rgba(255,255,255,0.85); font-weight: 600; }
.back-link:hover { color: var(--gold); }
.detail-hero { background: linear-gradient(135deg, var(--navy), var(--teal-dark)); color: #fff; padding: 50px 0; }
.detail-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 820px) { .detail-head { grid-template-columns: 1fr; } }
.detail-head .dh-img {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 16/10; background: #e7ecef; position: relative;
}
.detail-head .dh-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-head .pip { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.detail-head h1 { font-size: clamp(28px, 5vw, 46px); margin: 8px 0 14px; line-height: 1.1; }
.detail-head p { color: rgba(255,255,255,0.9); font-size: 17px; margin: 0; }
.detail-body { display: grid; grid-template-columns: 2fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 820px) { .detail-body { grid-template-columns: 1fr; } }
.detail-blocks { display: grid; gap: 22px; }
.detail-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.detail-block h3 { margin: 0 0 10px; font-size: 20px; color: var(--navy); }
.detail-block p { margin: 0; color: var(--ink); }
.detail-sides { display: grid; gap: 22px; }
.side-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.side-card h3 { margin: 0 0 14px; font-size: 18px; color: var(--navy); }
.side-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.side-card li { position: relative; padding-left: 28px; font-size: 15px; }
.side-card li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: 12px;
  display: grid; place-items: center;
}
.side-card.require li::before { content: "•"; background: var(--gold); color: var(--navy); }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,0.85); padding-top: 50px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 14px; }
.footer-brand b { color: #fff; font-size: 16px; }
.footer-brand p { margin: 6px 0 0; font-size: 14px; max-width: 320px; }
.nit { color: var(--gold); font-weight: 600; }
.footer-col { font-size: 14px; }
.footer-col b { color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 12px; border-radius: 10px; font-size: 13px; color: #fff;
}
.socials a:hover { background: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; font-size: 13px; color: rgba(255,255,255,0.6); }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .section { padding: 52px 0; }
  .hero-inner { padding: 60px 0 70px; }
  .contact-card { padding: 28px; }
}
