/* ============================================================
   AGENT MICHO — styles.css
   Brand: Charcoal #1F2937 | Blue #2398FF
   Fonts: Space Grotesk (headings) | Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Inter:wght@300;400;500&display=swap');

:root {
  --charcoal:       #1F2937;
  --charcoal-mid:   #263142;
  --charcoal-light: #2d3a4d;
  --blue:           #2398FF;
  --blue-dark:      #1a7ed4;
  --white:          #FFFFFF;
  --grey-light:     #94A3B8;
  --grey-mid:       #64748B;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: #1F2937;
  background-color: var(--charcoal);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}
h1 { font-size: clamp(38px, 6vw, 68px); }
h2 { font-size: clamp(26px, 4vw, 42px); }
h3 { font-size: clamp(17px, 2.5vw, 22px); color: var(--blue); }

p {
  font-weight: 300;
  color: var(--grey-light);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.75;
}

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

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 48px;
  background-color: var(--charcoal);
  border-bottom: 1px solid rgba(35,152,255,0.12);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo { 
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
}
.logo img { height: 48px; width: auto; mix-blend-mode: screen; }
.logo .text { transform: translateY(6px); }
.logo .agent { color: var(--white); }
.logo .micho { color: var(--blue); }

nav ul { list-style: none; display: flex; gap: 32px; }
nav ul li a {
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-light);
  transition: color 0.2s;
}
nav ul li a:hover { color: var(--white); }

/* HERO */
.hero {
  min-height: unset;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 0px 24px 24px;
  background-color: var(--charcoal);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(35,152,255,0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(35,152,255,0.05) 0%, transparent 45%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(35,152,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-mascot { margin-top: -40px; margin-bottom: 0px; animation: floatIn 0.9s ease both; text-align: center; }
.hero-mascot img { width: min(900px, 92vw); height: auto; display: block; margin: 0 auto; }

.hero-brand-name {
  margin-top: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 4vw, 38px);
}
.hero-brand-name .agent { color: var(--white); }
.hero-brand-name .micho { color: var(--blue); }

.hero h1 { max-width: 760px; margin-top: -40px; animation: fadeInUp 0.8s ease 0.2s both; }
.hero h1 span { color: var(--blue); }

.hero p {
  margin-top: 10px;
  max-width: 500px;
  animation: fadeInUp 0.8s ease 0.35s both;
}

/* PAGE HERO */
.page-hero {
  padding: 40px 24px 32px;
  text-align: center;
  background-color: var(--charcoal);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(35,152,255,0.08) 0%, transparent 55%);
  border-bottom: 1px solid rgba(35,152,255,0.1);
}
.page-hero p {
  margin-top: 12px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* BUTTONS */
.btn {
  display: inline-block;
  margin-top: 32px;
  padding: 13px 36px;
  background-color: var(--blue);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 6px;
  transition: background-color 0.2s, transform 0.15s;
  animation: fadeInUp 0.8s ease 0.5s both;
}
.btn:hover { background-color: var(--blue-dark); transform: translateY(-2px); }
.btn.no-anim { animation: none; }

/* SECTIONS */
section { padding: 56px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; max-width: 560px; margin: 0 auto 52px; }
section.alt { background-color: var(--charcoal-mid); }

/* DIVIDER */
.divider {
  width: 44px; height: 3px;
  background-color: var(--blue);
  margin: 14px auto 32px;
  border-radius: 2px;
}
.divider.left { margin-left: 0; }

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.service-card {
  background-color: var(--charcoal-light);
  border: 1px solid rgba(35,152,255,0.1);
  border-radius: 10px;
  padding: 32px 26px;
  transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover { border-color: rgba(35,152,255,0.35); transform: translateY(-4px); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 14px; }

/* SERVICE BLOCKS (services page) */
.service-block { margin-bottom: 60px; }
.service-block h2 { margin-bottom: 8px; }
.service-block > p { margin-bottom: 22px; }
.service-block ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px 24px;
}
.service-block ul li {
  color: var(--grey-light);
  font-size: 15px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(35,152,255,0.08);
}
.service-block ul li::before { content: '— '; color: var(--blue); }

/* FAQ */
.about-section h3 {
  font-weight: 500;
  font-size: clamp(15px, 2vw, 17px);
  color: var(--blue);
}

/* ABOUT */
.about-section { margin-bottom: 56px; }
.about-section h2 { margin-bottom: 10px; }
.about-section p { margin-bottom: 14px; }

.beliefs-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.beliefs-list li {
  color: var(--grey-light);
  font-size: 15px;
  padding: 12px 16px;
  background-color: var(--charcoal-light);
  border-left: 3px solid var(--blue);
  border-radius: 4px;
}

/* BLOG */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.blog-card {
  background-color: var(--charcoal-light);
  border: 1px solid rgba(35,152,255,0.1);
  border-radius: 10px;
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.blog-card:hover { border-color: rgba(35,152,255,0.3); transform: translateY(-3px); }
.blog-date { font-size: 11px; color: var(--blue); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; font-weight: 500; }
.blog-card h3 { margin-bottom: 10px; font-size: 18px; }
.blog-card p { font-size: 14px; margin-bottom: 16px; }
.read-more { font-size: 13px; color: var(--blue); font-weight: 500; transition: opacity 0.2s; }
.read-more:hover { opacity: 0.7; }

/* CTA STRIP */
.cta-strip {
  text-align: center;
  padding: 72px 24px;
  background-color: var(--charcoal-mid);
  border-top: 1px solid rgba(35,152,255,0.1);
  border-bottom: 1px solid rgba(35,152,255,0.1);
}
.cta-strip h2 { margin-bottom: 10px; }
.cta-strip p { max-width: 460px; margin: 0 auto; }

/* FOOTER */
footer {
  background-color: var(--charcoal);
  border-top: 1px solid rgba(35,152,255,0.1);
  padding: 36px 48px;
  text-align: center;
}
footer p { font-size: 13px; color: var(--grey-mid); }
footer p + p { margin-top: 6px; }
footer a { color: var(--blue); }
footer a:hover { text-decoration: underline; }

/* ANIMATIONS */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(-14px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 12px 20px; flex-wrap: wrap; gap: 10px; }
  nav ul { gap: 18px; }
  .hero { padding: 0px 20px 20px; }
  section { padding: 40px 20px; }
  footer { padding: 28px 20px; }
}
