:root {
  --navy: #0B3D5C;
  --navy-deep: #082B42;
  --teal: #14B8A6;
  --teal-dark: #0E7C86;
  --aqua: #5EEAD4;
  --coral: #FF6B4A;
  --coral-dark: #E14F2C;
  --slate: #5B7C8D;
  --bg: #FBF7F1;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Arial, Helvetica, sans-serif;
  color: #1E2A32;
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; }

/* Header / Nav (shared with main site) */
header {
  background: #FFFFFF;
  border-bottom: 1px solid #E3EAEE;
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1080px;
  margin: 0 auto;
  gap: 12px;
}
.logo-svg { height: 52px; width: auto; flex-shrink: 0; }
nav.main-nav { display: flex; align-items: center; }
nav.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  margin-left: 22px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
nav.main-nav a:hover { color: var(--teal-dark); }
.nav-phone {
  background: var(--teal);
  color: #FFFFFF !important;
  padding: 10px 18px;
  border-radius: 6px;
  margin-left: 22px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 6px;
  width: 42px;
  height: 38px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); }

/* Page hero (blog index + article pages) */
.page-hero {
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(94,234,212,0.15), transparent 60%),
    radial-gradient(ellipse 700px 500px at 110% 20%, rgba(255,107,74,0.12), transparent 55%),
    linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 55%, var(--teal-dark) 130%);
  color: #FFFFFF;
  padding: 56px 24px 48px;
  text-align: center;
}
.page-hero .kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 14px;
}
.page-hero h1 {
  font-weight: 700;
  font-size: 34px;
  max-width: 780px;
  margin: 0 auto 16px;
  line-height: 1.25;
}
.page-hero p {
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto;
  color: #D9EAF0;
}

/* Blog index — post grid */
.post-grid {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.post-card {
  display: block;
  background: #FFFFFF;
  border-radius: 14px;
  border-top: 4px solid var(--teal);
  padding: 26px 26px 28px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 14px rgba(11,61,92,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-top-color 0.18s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(11,61,92,0.1);
  border-top-color: var(--coral);
}
.post-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(20,184,166,0.1);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.post-card h2 {
  color: var(--navy);
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 10px;
}
.post-card p { font-size: 15px; color: #405363; }

/* Article pages */
.breadcrumb {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 0 24px;
  font-size: 13px;
  color: var(--slate);
}
.breadcrumb a { color: var(--slate); text-decoration: none; font-weight: 700; }
.breadcrumb a:hover { color: var(--teal-dark); }

article.post {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 24px 8px;
}
article.post .meta {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 22px;
}
article.post p { font-size: 16.5px; color: #33454F; margin-bottom: 18px; }
article.post h2 {
  color: var(--navy);
  font-size: 24px;
  margin: 34px 0 14px;
}
article.post h3 {
  color: var(--navy);
  font-size: 19px;
  margin: 22px 0 10px;
}
article.post strong { color: #1E2A32; }
article.post .inline-link { color: var(--coral-dark); font-weight: 700; text-decoration: underline; }
article.post .inline-link:hover { color: var(--coral); }
article.post .es { color: var(--teal-dark); font-style: italic; font-weight: 700; }

/* CTA box on article pages */
.cta-box {
  max-width: 760px;
  margin: 20px auto 60px;
  padding: 34px 30px;
  background: #FFFFFF;
  border: 1px solid #E3EAEE;
  border-radius: 14px;
  text-align: center;
}
.cta-box h3 { color: var(--navy); font-size: 21px; margin-bottom: 10px; }
.cta-box p { color: var(--slate); font-size: 15px; margin-bottom: 22px; }
.cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.btn-primary, .btn-secondary {
  display: inline-block;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(225,79,44,0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(225,79,44,0.36); }
.btn-secondary {
  background: #FFFFFF;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: #FFFFFF; }

/* Footer (shared with main site) */
footer {
  background: var(--navy-deep);
  color: #B9CBD6;
  text-align: center;
  padding: 52px 24px 30px;
  font-size: 13px;
}
.footer-logo { height: 46px; width: auto; margin-bottom: 18px; }
.footer-tagline {
  color: #9FC3D6;
  font-size: 14px;
  max-width: 480px;
  margin: 0 auto 22px;
}
.footer-tagline .es { color: var(--aqua); font-style: italic; font-weight: 700; }
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 24px;
}
.footer-links a { color: #D9EAF0; text-decoration: none; font-size: 13.5px; font-weight: 700; }
.footer-links a:hover { color: var(--aqua); }
.footer-rule { max-width: 1080px; margin: 0 auto 22px; border-top: 1px solid rgba(255,255,255,0.12); }
.footer-fine { color: #7C9AAC; }

@media (max-width: 720px) {
  .page-hero h1 { font-size: 26px; }
  .post-grid { grid-template-columns: 1fr; padding: 36px 20px 48px; }
  article.post { padding: 20px 20px 4px; }
  .breadcrumb { padding: 0 20px; }
  .menu-toggle { display: flex; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid #E3EAEE;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 24px 20px;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { margin: 10px 0 0; padding: 8px 0; border-bottom: 1px solid #F0F4F6; }
  .nav-phone { text-align: center; border-radius: 6px; }
}
