/* MC Exteriors — mn-roof.com
   Replica del sitio original (GoDaddy Website Builder) en HTML/CSS estático. */

:root {
  --navy: #011838;
  --dark: #161616;
  --ink: #1b1b1b;
  --gray: #808080;
  --muted: #595959;
  --light: #f6f6f6;
  --white: #ffffff;
  --red: #e5303a;
  --green: #68ba62;
  --font-head: "Archivo Black", Arial, sans-serif;
  --font-body: "Montserrat", Arial, sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 16px; line-height: 1.25; font-weight: 400; }
p { margin: 0 0 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--dark);
  color: #f7f7f7;
  text-align: center;
  font-size: 14px;
  padding: 6px 16px;
}
.topbar a { text-decoration: none; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: #000; padding: 8px 14px; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Header / nav ---------- */
.site-header { background: var(--navy); position: relative; z-index: 20; }
.has-hero .topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 21; }
.has-hero .site-header { position: absolute; top: 32px; left: 0; right: 0; background: transparent; }
.site-header.is-sticky-on,
.has-hero .site-header.is-sticky-on { position: fixed; top: 0; left: 0; right: 0; background: var(--navy); box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.admin-bar .site-header.is-sticky-on { top: 32px; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 105px; width: auto; transition: height .2s; }
.home .logo img { height: 171px; }
.site-header.is-sticky-on .logo img { height: 60px; }

.nav { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 1180px) and (min-width: 901px) { .nav { gap: 14px; } .nav a { font-size: 12.5px; } .logo img { height: 84px; } .home .logo img { height: 120px; } }
.nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .06em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current] { font-weight: 700; border-bottom-color: var(--white); }

.nav-toggle {
  display: none;
  background: none; border: 0; color: var(--white);
  width: 44px; height: 44px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 26px; height: 2px; background: currentColor; position: relative; margin: 0 auto;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .logo img, .home .logo img { height: 84px; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw);
    flex-direction: column; gap: 0; padding: 80px 28px 28px;
    background: var(--navy); transform: translateX(100%); transition: transform .25s;
  }
  .nav.open { transform: none; box-shadow: -8px 0 24px rgba(0,0,0,.4); }
  .nav a { display: block; padding: 14px 0; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav-close { position: absolute; top: 18px; right: 18px; background: none; border: 0; color: #fff; font-size: 32px; cursor: pointer; }
}
@media (min-width: 901px) { .nav-close { display: none; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: clamp(680px, 100vh, 1000px);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  background: #222 center/cover no-repeat;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.hero-video {
  position: absolute; top: 50%; left: 50%;
  width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); /* cover the hero at 16:9 */
  transform: translate(-50%, -50%);
  border: 0; pointer-events: none;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,24,56,.55) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.65) 100%); }
.hero-content { position: relative; z-index: 2; padding: 210px 24px 72px; max-width: 980px; }
.hero .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(229,48,58,.92); color: #fff; padding: 6px 14px; border-radius: 3px; margin-bottom: 18px;
}
.hero h1 { font-family: var(--font-head); font-size: clamp(34px, 5.6vw, 64px); line-height: 1.08; color: var(--white); margin-bottom: 12px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero .slogan { font-size: clamp(18px, 2vw, 22px); font-weight: 700; letter-spacing: .02em; color: #fff; margin-bottom: 14px; }
.hero .slogan::before, .hero .slogan::after { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--red); vertical-align: middle; margin: 0 12px; }
.hero .lead { font-size: clamp(16px, 1.6vw, 19px); max-width: 720px; margin: 0 auto 30px; color: #eef1f6; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: 17px 34px; font-size: 15px; }
.btn.btn-call { background: var(--red); color: #fff; display: inline-flex; align-items: center; gap: 10px; font-size: 18px; letter-spacing: .04em; box-shadow: 0 6px 20px rgba(229,48,58,.45); }
.btn-call svg { width: 22px; height: 22px; flex: none; display: block; }
.btn-red { background: var(--red); color: #fff; }
.hero-trust { margin-top: 36px; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.hero-checks { list-style: none; margin: 0; padding: 0; text-align: left; font-size: 15px; }
.hero-checks li { display: flex; align-items: center; gap: 8px; margin: 4px 0; }
.hero-checks svg { width: 18px; height: 18px; color: #7ee07a; flex: none; }

/* BBB badge */
.bbb-badge { display: inline-flex; align-items: stretch; text-decoration: none; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .15s; background: #fff; }
.bbb-badge:hover { transform: translateY(-2px); }
.bbb-seal { display: flex; align-items: center; gap: 10px; background: #0f2a5f; color: #fff; padding: 10px 14px; }
.bbb-mark { font-family: Georgia, serif; font-weight: 700; font-size: 22px; border: 2px solid #fff; border-radius: 6px; padding: 2px 6px; letter-spacing: .02em; }
.bbb-text { text-align: left; line-height: 1.1; }
.bbb-text strong { font-size: 13px; letter-spacing: .04em; }
.bbb-text small { display: block; font-size: 9px; opacity: .8; letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }
.bbb-rating { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6px 16px; color: #0f2a5f; line-height: 1.1; }
.bbb-rating small { font-size: 11px; font-weight: 700; color: #333; }
.bbb-rating strong { font-family: Georgia, serif; font-size: 30px; }
.bbb-rating em { font-style: normal; font-size: 10px; text-decoration: underline; color: #555; }

/* Header call button + mobile call bar */
.nav .header-call {
  display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; font-weight: 700;
  padding: 9px 16px; border-radius: 40px; border: 0; letter-spacing: .03em;
}
.nav .header-call:hover { border: 0; opacity: .9; }
.nav .header-call svg { width: 16px; height: 16px; }
.mobile-bar { display: none; }
@media (max-width: 900px) {
  .nav .header-call { margin-top: 18px; justify-content: center; border-bottom: 0; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; box-shadow: 0 -4px 16px rgba(0,0,0,.2); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 8px; font-weight: 700; text-decoration: none; letter-spacing: .04em; text-transform: uppercase; font-size: 14px; }
  .mobile-bar svg { width: 18px; height: 18px; }
  .mb-call { background: var(--red); color: #fff; }
  .mb-quote { background: var(--navy); color: #fff; }
  body { padding-bottom: 52px; }
  .topbar { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero .slogan::before, .hero .slogan::after { display: none; }
  .hero-content { padding-top: 150px; }
  .hero-checks { text-align: left; }
}

/* Trust bar */
.trust-bar { background: var(--navy); color: #fff; padding: 22px 0; border-top: 3px solid var(--red); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 12px; }
.trust-grid strong { display: block; font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; }
.trust-grid span { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
@media (max-width: 700px) { .trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 18px; } }

/* Kicker + section sub */
.kicker { text-align: center; text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 700; color: var(--red); margin-bottom: 8px; }
.section-sub { text-align: center; max-width: 680px; margin: -20px auto 44px; color: #c9d1de; }
.section-sub.dark { color: var(--muted); margin-top: -24px; margin-bottom: 28px; }
.section-title.light { color: #fff; }
.section-title.light::after { background: rgba(255,255,255,.3); }

/* Process (4 steps) */
.process { background: linear-gradient(180deg, #011838 0%, #0a2650 100%); color: #c9d1de; padding: 84px 0; }
.steps { list-style: none; margin: 0 0 44px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 8px, transparent 8px 16px); }
.step { position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 26px 22px 24px; text-align: center; transition: transform .2s, background .2s; }
.step:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); }
.step-num { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-head); font-size: 22px; margin: -2px auto 18px; box-shadow: 0 0 0 6px #0a2650; }
.step h3 { color: #fff; font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 15px; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { border: 1px solid #e7e7e7; border-radius: 12px; padding: 26px; transition: box-shadow .2s, transform .2s; background: #fff; }
.service:hover { box-shadow: 0 12px 30px rgba(1,24,56,.1); transform: translateY(-3px); }
.service h3, .about-card h3 { color: var(--ink); font-size: 19px; font-weight: 700; margin: 14px 0 8px; }
.service p { margin: 0; font-size: 15px; }
.icon { display: inline-flex; width: 50px; height: 50px; border-radius: 12px; align-items: center; justify-content: center; background: rgba(229,48,58,.1); color: var(--red); }
.icon svg { width: 26px; height: 26px; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

.about-card { background: #fff; border-radius: 12px; padding: 28px; border: 1px solid #e7e7e7; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red); text-decoration: none; }
.text-link svg { width: 16px; height: 16px; }

/* Partners */
.partners-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.partners .kicker { text-align: left; }
.partners h2 { font-family: var(--font-head); color: var(--ink); font-size: clamp(24px, 2.6vw, 32px); }
.partner-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.partner-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--light); border-radius: 10px; padding: 16px 18px; }
.partner-list svg { width: 24px; height: 24px; color: var(--red); flex: none; margin-top: 2px; }
.partner-list strong { display: block; color: var(--ink); }
@media (max-width: 860px) { .partners-grid { grid-template-columns: 1fr; } }

/* FAQ */
.narrow-wide { max-width: 860px; }
.faq details { background: #fff; border: 1px solid #e3e3e3; border-radius: 10px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; }

/* Google reviews */
.stars { position: relative; display: inline-block; color: #d6d6d6; letter-spacing: 2px; line-height: 1; font-size: 18px; }
.stars-fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #fbbc04; }
.g-summary { display: flex; align-items: center; justify-content: center; gap: 22px 32px; flex-wrap: wrap; background: #fff; border: 1px solid #e7e7e7; border-radius: 14px; padding: 22px 28px; max-width: 860px; margin: 0 auto 32px; box-shadow: 0 10px 30px rgba(1,24,56,.06); }
.g-logo svg { width: 46px; height: 46px; display: block; }
.g-score { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.g-score strong { font-family: var(--font-head); font-size: 40px; color: var(--ink); line-height: 1; }
.g-score .stars { font-size: 24px; }
.g-score small { width: 100%; font-size: 14px; }
.g-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.btn-outline { background: #fff; color: var(--ink); border: 2px solid var(--ink); padding: 12px 28px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.review { background: #fff; border: 1px solid #e7e7e7; border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.review header { display: flex; align-items: center; gap: 12px; }
.review header div { flex: 1; line-height: 1.25; }
.review header strong { display: block; color: var(--ink); }
.review header small { font-size: 12px; color: var(--gray); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; object-fit: cover; flex: none; }
.g-mini svg { width: 20px; height: 20px; display: block; }
.review p { margin: 0; font-size: 15px; }
.review-more { font-size: 13px; font-weight: 700; color: var(--ink); margin-top: auto; }
.g-chip { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); text-decoration: none; border-radius: 10px; padding: 10px 14px; box-shadow: 0 8px 24px rgba(0,0,0,.35); line-height: 1.1; text-align: left; }
.g-chip svg { width: 30px; height: 30px; }
.g-chip strong { font-family: var(--font-head); font-size: 22px; vertical-align: middle; }
.g-chip .stars { font-size: 15px; vertical-align: middle; }
.g-chip small { display: block; font-size: 11px; color: #555; margin-top: 3px; }

/* CTA band */
.cta-band { background: linear-gradient(90deg, #011838, #0a2650); color: #fff; }
.cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-head); color: #fff; font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 6px; }
.cta-band p { margin: 0; color: #c9d1de; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.footer-meta { color: #888; font-size: 13px; }

/* ---------- Page banner (inner pages) ---------- */
.banner {
  position: relative; color: var(--white); text-align: center;
  padding: 90px 24px; background: #333 center/cover no-repeat;
}
.banner::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.banner h1 { position: relative; z-index: 1; font-family: var(--font-head); font-size: clamp(28px, 4vw, 40px); margin: 0; color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--light); }
.section.dark { background: var(--dark); color: #d0d0d0; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 33px);
  color: var(--gray);
  text-align: center;
  margin-bottom: 40px;
}
.section-title::after {
  content: ""; display: block; width: 50px; height: 1px; background: #c4c4c4; margin: 20px auto 0;
}
.page-title { font-family: var(--font-head); font-size: clamp(26px, 3vw, 33px); color: var(--gray); text-align: center; margin-bottom: 32px; }
h4 { font-size: 22px; color: var(--ink); }
.dark h4 { color: #f7f7f7; }

.grid { display: grid; gap: 40px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.about-item { text-align: center; }
.about-item h4 { margin-bottom: 20px; }
.narrow { max-width: 760px; margin: 0 auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 48px; border: 0;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: opacity .15s, transform .15s;
}
.btn:hover { opacity: .88; }
.btn-white { background: var(--white); color: #000; }
.btn-gray { background: var(--gray); color: var(--white); }
.btn-green {
  background: var(--green); color: var(--white); border-radius: 3px;
  font-family: Arial, sans-serif; font-size: 18px; padding: 16px 24px; width: min(400px, 100%);
}

/* ---------- Forms ---------- */
.form { max-width: 600px; margin: 0 auto; }
.form h4 { text-align: center; }
.field { margin-bottom: 16px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 14px 16px; border: 1px solid #d6d6d6; border-radius: 4px; background: var(--white);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { display: none !important; }
.form-actions { text-align: center; margin-top: 8px; }
.notice { padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; font-weight: 600; text-align: center; }
.notice.ok { background: #e8f5e9; color: #2e7d32; }
.notice.err { background: #fdecea; color: #c62828; }
.contact-block h4 { margin-top: 24px; }
.contact-block .hours { margin: 0; }
.contact-block .hours td { padding-left: 0; }

.contact-info { margin-top: 56px; }
.contact-info h4 { text-align: center; }
.hours { border-collapse: collapse; margin: 0 auto; }
.hours td { padding: 2px 12px; }
.hours td:first-child { text-transform: lowercase; }

/* ---------- Subscribe ---------- */
.subscribe { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.subscribe h3 { font-family: var(--font-body); font-size: 28px; color: var(--gray); margin: 0; }
.subscribe .field { flex: 1 1 280px; margin: 0; }
.subscribe + p { text-align: center; margin-top: 24px; }

/* ---------- Team ---------- */
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.member { width: 240px; text-align: center; }
.member img { width: 220px; height: 220px; object-fit: cover; object-position: 50% 30%; margin: 0 auto 20px; }
.member.round img { border-radius: 50%; }
.member h4 { font-size: 20px; }
.story { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.story img { width: 100%; max-width: 280px; height: auto; justify-self: center; }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } }

/* ---------- Financing ---------- */
.fin-logos { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; margin-bottom: 32px; }
.fin-logos img { max-height: 90px; width: auto; }
.checklist { max-width: 620px; margin: 0 auto 24px; padding-left: 20px; }
.checklist li { margin-bottom: 6px; }
.small { font-size: 13px; }
.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Where We Work map ---------- */
.mc-map { height: 520px; width: 100%; border: 1px solid #e0e0e0; border-radius: 6px; z-index: 0; margin-top: 24px; }
@media (max-width: 600px) { .mc-map { height: 420px; } }
.mc-hq-icon { filter: drop-shadow(0 2px 4px rgba(0,0,0,.45)); }
.map-legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; font-size: 14px; margin-top: 14px; }
.map-legend .swatch { width: 16px; height: 12px; border: 2px solid var(--red); background: rgba(229,48,58,.12); display: inline-block; }
.map-legend .logo-dot { width: 22px; height: 18px; background: url("../img/marker.png") center/contain no-repeat; display: inline-block; }
.place-list { list-style: none; padding: 0; margin: 24px auto 0; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.place-list li { background: var(--light); border: 1px solid #e3e3e3; border-radius: 20px; padding: 4px 14px; font-size: 14px; color: var(--ink); }

/* ---------- Embeds ---------- */
.embed { width: 100%; border: 0; display: block; }
.video-wrap { position: relative; padding-top: 56.25%; max-width: 900px; margin: 0 auto; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Blog ---------- */
.post-card { display: block; max-width: 760px; margin: 0 auto; background: var(--white); padding: 28px; text-decoration: none; border: 1px solid #e6e6e6; }
.post-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.post-card .date { font-size: 14px; color: var(--gray); margin-bottom: 8px; }
.post-card .more { font-weight: 700; color: var(--ink); }
.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-family: var(--font-head); color: var(--ink); font-size: clamp(26px, 3vw, 36px); }
.article h3 { font-size: 20px; color: var(--ink); font-weight: 700; margin-top: 32px; }
.article img { margin: 24px 0; width: 100%; height: auto; }
.back-link { display: inline-block; margin-bottom: 24px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0; text-align: center; font-size: 14px; }
.social { display: flex; justify-content: center; gap: 14px; margin-bottom: 20px; }
.social a { display: inline-flex; width: 30px; height: 30px; }
.social svg { width: 100%; height: 100%; }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.steps.reveal { opacity: 1; transform: none; }
.steps::before { transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.6,0,.2,1) .3s; }
.steps.in::before, .steps:not(.reveal)::before { transform: scaleX(1); }

@keyframes mc-fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-content > * { animation: mc-fade-up .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-content > :nth-child(1) { animation-delay: .1s; }
.hero-content > :nth-child(2) { animation-delay: .25s; }
.hero-content > :nth-child(3) { animation-delay: .45s; }
.hero-content > :nth-child(4) { animation-delay: .6s; }
.hero-content > :nth-child(5) { animation-delay: .75s; }
.hero-content > :nth-child(6) { animation-delay: .95s; }

@keyframes mc-pulse { 0% { box-shadow: 0 0 0 0 rgba(229,48,58,.55); } 70% { box-shadow: 0 0 0 16px rgba(229,48,58,0); } 100% { box-shadow: 0 0 0 0 rgba(229,48,58,0); } }
.hero .btn-call, .mb-call { animation: mc-pulse 2.4s ease-out infinite; }
.hero .btn-call { animation: mc-fade-up .8s cubic-bezier(.2,.7,.2,1) both, mc-pulse 2.4s ease-out 1.8s infinite; }

.btn { transition: opacity .15s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.icon { transition: transform .3s; }
.service:hover .icon, .about-card:hover .icon { transform: scale(1.1) rotate(-4deg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.step.in:hover { transform: translateY(-4px); }
.service.in:hover { transform: translateY(-3px); }

/* ======================================================================
   Inner pages (same look as Home)
   ====================================================================== */
.page-hero {
  position: relative; color: #fff; background: #0b1b33 center/cover no-repeat;
  padding: 230px 0 96px; overflow: hidden;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,24,56,.95) 0%, rgba(1,24,56,.82) 42%, rgba(1,24,56,.35) 100%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-inner { max-width: 720px; }
.page-hero .eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; background: rgba(229,48,58,.92); padding: 6px 12px; border-radius: 3px; margin-bottom: 18px; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; color: #fff; margin-bottom: 16px; }
.page-hero .lead { font-size: clamp(16px, 1.5vw, 19px); color: #dde3ee; margin-bottom: 28px; max-width: 620px; }
.page-hero .hero-actions { justify-content: flex-start; }
.crumbs { font-size: 13px; letter-spacing: .04em; color: #b9c3d4; margin-bottom: 18px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs span { margin: 0 6px; opacity: .6; }
.page-hero-inner > * { animation: mc-fade-up .8s cubic-bezier(.2,.7,.2,1) both; }
.page-hero-inner > :nth-child(2) { animation-delay: .1s; }
.page-hero-inner > :nth-child(3) { animation-delay: .22s; }
.page-hero-inner > :nth-child(4) { animation-delay: .36s; }
.page-hero-inner > :nth-child(5) { animation-delay: .5s; }
@media (max-width: 900px) { .page-hero { padding: 170px 0 64px; } }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-head .section-title { margin-bottom: 16px; }
.section-head p { margin: 0; }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-family: var(--font-head); color: var(--ink); font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
.split .kicker { text-align: left; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--light); border-radius: 12px; padding: 24px; border-left: 4px solid var(--red); }
.stat strong { display: block; font-family: var(--font-head); font-size: 32px; color: var(--navy); line-height: 1.1; }
.stat span { font-size: 14px; }

.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid #e7e7e7; border-radius: 14px; padding: 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 14px 34px rgba(1,24,56,.1); }
.card h3 { color: var(--ink); font-size: 20px; font-weight: 700; margin: 14px 0 8px; }
.card p:last-child { margin-bottom: 0; }

/* People */
.owners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 980px; margin: 0 auto; }
.owner { display: flex; gap: 22px; align-items: flex-start; background: #fff; border: 1px solid #e7e7e7; border-radius: 16px; padding: 26px; }
.owner img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; flex: none; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--red); }
.owner h3 { color: var(--ink); font-size: 21px; font-weight: 700; margin: 4px 0 2px; }
.role { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.owner p { font-size: 15px; margin: 0; }
@media (max-width: 860px) { .owners { grid-template-columns: 1fr; } .owner { flex-direction: column; align-items: center; text-align: center; } }

.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 240px)); justify-content: center; gap: 24px; }
.person { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #e7e7e7; text-align: center; transition: transform .2s, box-shadow .2s; }
.person:hover { box-shadow: 0 14px 34px rgba(1,24,56,.12); }
.person.in:hover { transform: translateY(-4px); }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.person div { padding: 16px 14px 18px; }
.person h3 { color: var(--ink); font-size: 17px; font-weight: 700; margin: 0 0 2px; }
.person .role { margin: 0; }
.team-label { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gray); margin: 40px 0 18px; }

/* Map page */
.area-cards { margin-top: 28px; }
.mc-map { margin-top: 0; box-shadow: 0 14px 40px rgba(1,24,56,.12); border-radius: 14px; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-tile { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #e7e7e7; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .2s; }
.post-tile:hover { box-shadow: 0 14px 34px rgba(1,24,56,.12); }
.post-tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-tile div { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-tile .date { font-size: 13px; color: var(--gray); margin: 0; }
.post-tile h3 { color: var(--ink); font-size: 20px; font-weight: 700; margin: 0; }
.post-tile p { margin: 0; font-size: 15px; }
.post-tile .text-link { margin-top: auto; }
.video-card { max-width: 900px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 44px rgba(1,24,56,.18); }
.video-card .video-wrap { max-width: none; }
.article-card { max-width: 820px; margin: 0 auto; background: #fff; border-radius: 16px; padding: clamp(24px, 5vw, 56px); box-shadow: 0 14px 40px rgba(1,24,56,.08); font-size: 17px; line-height: 1.75; }
.article-card h3 { font-size: 21px; color: var(--ink); font-weight: 700; margin-top: 36px; }
.article-card img { border-radius: 12px; margin: 24px 0; width: 100%; height: auto; }
.article-card strong { color: var(--ink); }

/* Financing */
.fin-card { display: flex; flex-direction: column; }
.fin-card .fin-logo { height: 64px; display: flex; align-items: center; }
.fin-card .fin-logo img { max-height: 56px; max-width: 220px; width: auto; }
.fin-card ul { padding-left: 0; list-style: none; margin: 0 0 22px; }
.fin-card li { display: flex; gap: 8px; margin-bottom: 6px; font-size: 15px; }
.fin-card li svg { width: 18px; height: 18px; color: #2e9b4a; flex: none; margin-top: 3px; }
.fin-card .btn { margin-top: auto; align-self: flex-start; }
.fin-card .btn + .btn { margin-top: 10px; }
.note-card { max-width: 860px; margin: 0 auto; background: #fff; border-radius: 14px; border: 1px solid #e7e7e7; padding: 28px 32px; }
.note-card h3 { color: var(--ink); font-size: 20px; font-weight: 700; }
.apply-card { max-width: 640px; margin: 0 auto; text-align: center; background: #fff; border-radius: 16px; padding: 34px 24px 20px; box-shadow: 0 14px 40px rgba(1,24,56,.1); border-top: 4px solid var(--green); }
.apply-card h2 { font-family: var(--font-head); color: var(--ink); font-size: clamp(22px, 2.4vw, 28px); }

/* Contact */
.contact-cards { margin-top: -64px; position: relative; z-index: 2; }
.contact-card { text-align: center; background: #fff; border-radius: 14px; padding: 26px 20px; box-shadow: 0 14px 40px rgba(1,24,56,.12); text-decoration: none; color: var(--muted); display: block; }
.contact-card h3 { color: var(--ink); font-size: 17px; font-weight: 700; margin: 12px 0 4px; }
.contact-card p { margin: 0; font-size: 15px; }
.contact-card .big { color: var(--ink); font-weight: 700; font-size: 17px; }
.contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: stretch; }
.form-card { background: #fff; border-radius: 16px; padding: clamp(24px, 4vw, 40px); border: 1px solid #e7e7e7; }
.form-card .form { max-width: none; }
.form-card h2 { font-family: var(--font-head); color: var(--ink); font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 6px; }
.map-card { border-radius: 16px; overflow: hidden; border: 1px solid #e7e7e7; display: flex; flex-direction: column; background: #fff; }
.map-card iframe { width: 100%; flex: 1; min-height: 340px; border: 0; }
.map-card div { padding: 20px 22px; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } .contact-cards { margin-top: -40px; } }
.form-card .form h4 { display: none; }
.office-map { flex: 1; min-height: 360px; height: auto; box-shadow: none; border: 0; border-radius: 0; }
@media (max-width: 760px) { .page-hero::before { background: linear-gradient(180deg, rgba(1,24,56,.88) 0%, rgba(1,24,56,.78) 55%, rgba(1,24,56,.9) 100%); } }
