:root {
  --navy: #10263f;
  --navy-2: #173b62;
  --gold: #d6a84f;
  --gold-2: #f1d58a;
  --bg: #f6f8fb;
  --text: #172033;
  --muted: #657186;
  --white: #ffffff;
  --line: rgba(16, 38, 63, .12);
  --shadow: 0 24px 70px rgba(16, 38, 63, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}

a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark, .logo-symbol {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold-2);
  font-weight: 800;
  font-size: 26px;
  box-shadow: 0 10px 30px rgba(16, 38, 63, .22);
}

.brand-logo-img {
  width: 280px;
  max-width: 44vw;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-logo-img {
  filter: none;
}
.brand strong { display: block; font-size: 19px; color: var(--navy); line-height: 1; }
.brand small { display: block; color: var(--muted); margin-top: 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 600; color: var(--navy); }
.menu a:hover { color: var(--gold); }
.menu-admin-link {
  padding: 6px 14px;
  border: 1.5px solid var(--navy);
  border-radius: 8px;
  font-size: 13px;
  color: var(--navy) !important;
  transition: background 0.2s, color 0.2s;
}
.menu-admin-link:hover {
  background: var(--navy);
  color: #fff !important;
}
.menu-btn { display: none; border: 0; background: var(--navy); color: white; border-radius: 10px; font-size: 22px; padding: 8px 12px; }

.hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(214,168,79,.28), transparent 32%),
    linear-gradient(135deg, #f8fbff 0%, #eef4fb 55%, #ffffff 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding: 70px 0; }
.badge, .section-kicker {
  display: inline-flex;
  color: var(--navy);
  background: rgba(214,168,79,.18);
  border: 1px solid rgba(214,168,79,.35);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
h1 { font-size: clamp(38px, 6vw, 66px); line-height: .98; color: var(--navy); margin: 20px 0; letter-spacing: -0.05em; }
.hero p { font-size: 19px; line-height: 1.65; color: var(--muted); max-width: 670px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn.primary { background: var(--gold); color: #1b2536; box-shadow: 0 14px 34px rgba(214,168,79,.30); }
.btn.primary:hover { transform: translateY(-1px); }
.btn.ghost { color: var(--navy); border-color: var(--line); background: #fff; }
.btn.light { background: #fff; color: var(--navy); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 640px; }
.stats div { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 14px 40px rgba(16,38,63,.07); }
.stats strong { display: block; color: var(--navy); font-size: 28px; }
.stats span { color: var(--muted); font-size: 13px; }

.hero-card {
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-card:before {
  content: "";
  position: absolute;
  inset: -25px -25px auto auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(214,168,79,.22);
  z-index: -1;
}
.logo-preview { display: flex; gap: 16px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.logo-preview.logo-preview-full { display: block; }
.hero-logo-img {
  display: block;
  width: min(100%, 620px);
  margin: 0 auto;
  height: auto;
  object-fit: contain;
}
.logo-preview strong { display: block; color: var(--navy); font-size: 30px; }
.logo-preview small { color: var(--muted); }
.hero-card ul { list-style: none; padding: 0; margin: 26px 0 0; }
.hero-card li { padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); color: var(--text); position: relative; }
.hero-card li:before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }

.section { padding: 92px 0; }
.muted { background: var(--bg); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; margin: 18px 0; color: var(--navy); letter-spacing: -0.03em; }
.text-block p, .section-head p, .contact-grid p { color: var(--muted); line-height: 1.75; font-size: 17px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 45px; }
.section-head.narrow { max-width: 650px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 54px rgba(16,38,63,.07);
}
.card .icon { font-size: 34px; }
.card h3, .feature h3 { color: var(--navy); margin: 18px 0 10px; }
.card p, .feature p { color: var(--muted); line-height: 1.65; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { border-top: 4px solid var(--gold); background: #fff; padding: 26px; border-radius: 24px; box-shadow: 0 18px 50px rgba(16,38,63,.08); }
.feature strong { color: var(--gold); font-size: 22px; }

.cta { padding: 28px 0; background: linear-gradient(135deg, var(--navy), #1e4c7b); }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 34px 0; color: #fff; }
.cta h2 { color: white; margin: 0 0 10px; }
.cta p { margin: 0; color: rgba(255,255,255,.75); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact-list { margin-top: 28px; }
.contact-form { background: var(--bg); border: 1px solid var(--line); border-radius: 30px; padding: 30px; box-shadow: var(--shadow); }
.contact-form label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  display: block;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  background: white;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form small { display: block; color: var(--muted); margin-top: 14px; line-height: 1.5; }

.footer { background: #07172a; color: rgba(255,255,255,.76); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 40px; }
.footer .brand strong { color: white; }
.footer a { display: block; margin: 10px 0; color: rgba(255,255,255,.76); }
.footer h4 { color: white; margin-top: 0; }
.copyright { text-align: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: white;
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(37,211,102,.35);
  z-index: 80;
}

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .menu {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 12px;
    box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .menu a { padding: 14px; border-radius: 12px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .brand-logo-img { width: 220px; max-width: 72vw; }
  .hero-logo-img { width: min(100%, 95vw); }
  .brand-logo-img { width: 210px; max-width: 68vw; }
  .container { width: min(100% - 28px, 1120px); }
  .hero { min-height: auto; }
  .hero-grid { padding: 42px 0; }
  .cards, .features, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .section { padding: 64px 0; }
  .logo-preview { align-items: flex-start; }
}


.brand > span {
  display: none;
}

/* ==================== Blog Styles ==================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-card h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 10px 0;
}

.blog-thumb {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 12px;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
