:root {
  --navy: #071a3a;
  --navy-2: #0d2d65;
  --blue: #124a9c;
  --gold: #ffc72c;
  --gold-deep: #e8a900;
  --steel: #5f6b7a;
  --mist: #f3f6fa;
  --white: #ffffff;
  --ink: #122033;
  --line: #dbe2ea;
  --shadow: 0 24px 60px rgba(7, 26, 58, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--gold); }
h1, h2, h3 { margin: 0; color: var(--navy); font-weight: 850; line-height: 1.06; letter-spacing: -.035em; }
h1 { font-size: clamp(2.85rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2.15rem, 4vw, 3.65rem); }
h3 { font-size: 1.3rem; letter-spacing: -.02em; }
p { margin: 0; }
.lead { font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.65; }

.topbar { background: var(--navy); color: #dbe8ff; font-size: .88rem; }
.topbar .shell { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar a { color: var(--white); font-weight: 750; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(7,26,58,.09); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { width: 122px; height: 62px; object-fit: contain; }
.brand-copy { border-left: 1px solid var(--line); padding-left: 13px; color: var(--navy); font-size: .76rem; font-weight: 850; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--navy); font-size: .95rem; font-weight: 750; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-links .nav-cta { padding: 13px 20px; background: var(--gold); border-radius: 4px; color: var(--navy); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--navy); font: inherit; font-weight: 800; }

.hero { min-height: 680px; display: grid; align-items: center; position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: white; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-pause { position: absolute; top: 16px; right: 20px; border: 1px solid #ffffff80; border-radius: 4px; background: #071a3acc; color: white; padding: 8px 12px; font: inherit; font-size: .875rem; cursor: pointer; }
.hero-pause:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }
@media (max-width: 840px) { .hero-slide { object-position: 65% center; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,14,34,.97) 0%, rgba(3,14,34,.9) 38%, rgba(3,14,34,.2) 77%, rgba(3,14,34,.12) 100%); }
.hero-content { width: min(700px, 63%); padding: 90px 0 116px; }
.hero h1 { color: var(--white); max-width: 690px; }
.hero h1 span { color: var(--gold); }
.hero .lead { max-width: 625px; margin-top: 24px; color: #e6edf7; }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 24px; border: 2px solid transparent; border-radius: 4px; background: var(--gold); color: var(--navy); font-weight: 850; text-decoration: none; }
.button:hover { background: #ffdc6b; }
.button.ghost { border-color: rgba(255,255,255,.58); background: transparent; color: white; }
.button.ghost:hover { border-color: white; background: rgba(255,255,255,.08); }
.hero-strip { position: absolute; right: 0; bottom: 0; left: 0; border-top: 1px solid rgba(255,255,255,.16); background: rgba(5,22,48,.88); }
.hero-strip .shell { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-strip div { padding: 21px 28px; border-left: 1px solid rgba(255,255,255,.14); color: #dce7f8; }
.hero-strip div:last-child { border-right: 1px solid rgba(255,255,255,.14); }
.hero-strip strong { display: block; color: white; font-size: 1.05rem; }

.section { padding: 106px 0; }
.section.soft { background: var(--mist); }
.section.dark { background: var(--navy); color: #d8e2ef; }
.section.dark h2, .section.dark h3 { color: white; }
.heading-row { display: grid; grid-template-columns: minmax(0, .95fr) minmax(340px, .75fr); align-items: end; gap: 70px; margin-bottom: 55px; }
.heading-row .lead { color: var(--steel); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 320px; padding: 34px; border: 1px solid var(--line); background: white; box-shadow: 0 8px 24px rgba(7,26,58,.05); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-no { display: inline-grid; width: 46px; height: 46px; place-items: center; margin-bottom: 40px; background: var(--gold); color: var(--navy); font-size: .86rem; font-weight: 900; }
.service-card p { margin-top: 15px; color: var(--steel); }
.text-link { display: inline-block; margin-top: 22px; color: var(--blue); font-weight: 850; text-decoration: none; }

.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: center; }
.about-mark { min-height: 470px; display: grid; place-items: center; position: relative; overflow: hidden; background: var(--navy); }
.about-mark::before { content: ""; position: absolute; width: 340px; height: 340px; border: 70px solid rgba(255,199,44,.13); border-radius: 50%; }
.about-mark img { width: 76%; position: relative; z-index: 1; filter: drop-shadow(0 20px 28px rgba(0,0,0,.3)); }
.about-copy .lead { margin: 25px 0 22px; color: var(--steel); }
.about-button { margin-top: 30px; }
.trust-list { display: grid; gap: 15px; margin: 30px 0 0; padding: 0; list-style: none; }
.trust-list li { display: flex; gap: 13px; align-items: flex-start; font-weight: 750; }
.trust-list li::before { content: ""; width: 10px; height: 10px; flex: 0 0 10px; margin-top: 8px; background: var(--gold); }

.cta-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 52px 58px; background: var(--gold); color: var(--navy); box-shadow: var(--shadow); }
.cta-panel h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
.cta-panel p { margin-top: 12px; font-weight: 650; }
.cta-panel .button { background: var(--navy); color: white; }

.page-hero { padding: 105px 0 95px; position: relative; overflow: hidden; background: var(--navy); color: white; }
.page-hero::after { content: "MGE"; position: absolute; right: -26px; bottom: -96px; color: rgba(255,255,255,.045); font-size: clamp(9rem, 23vw, 21rem); font-weight: 950; line-height: 1; letter-spacing: -.09em; }
.page-hero h1 { max-width: 820px; color: white; font-size: clamp(3rem, 6vw, 5.25rem); }
.page-hero .lead { max-width: 750px; margin-top: 22px; color: #d8e4f3; }
.story-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 86px; align-items: center; }
.veteran-panel { min-height: 430px; display: flex; flex-direction: column; justify-content: center; padding: 52px; position: relative; overflow: hidden; background: var(--navy); color: white; box-shadow: var(--shadow); }
.veteran-panel::before { content: ""; position: absolute; width: 290px; height: 290px; right: -115px; bottom: -120px; border: 62px solid rgba(255,199,44,.12); border-radius: 50%; }
.veteran-panel img { width: min(245px, 76%); position: relative; z-index: 1; filter: drop-shadow(0 18px 28px rgba(0,0,0,.28)); }
.veteran-panel strong { margin-top: 38px; position: relative; z-index: 1; color: var(--gold); font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; }
.veteran-panel span { margin-top: 8px; position: relative; z-index: 1; color: #d8e4f3; font-weight: 700; }
.story-copy .lead { margin-top: 24px; color: var(--steel); }
.story-copy p + p { margin-top: 20px; }
.credential-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.credential-card { min-height: 260px; padding: 34px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.055); }
.credential-card .service-no { margin-bottom: 30px; }
.credential-card h3 { color: white; }
.credential-card p { margin-top: 16px; color: #cbd8ea; }
.brand-strip { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.brand-strip .lead { margin-top: 22px; color: var(--steel); }
.brand-note { margin-top: 20px; color: var(--steel); }
.brand-list { display: grid; gap: 12px; }
.brand-name { padding: 20px 24px; border-left: 5px solid var(--gold); background: var(--mist); color: var(--navy); font-size: 1.2rem; font-weight: 900; }
.practice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.practice-card { padding: 42px; border: 1px solid var(--line); background: white; box-shadow: 0 8px 24px rgba(7,26,58,.05); }
.practice-card p { margin-top: 17px; color: var(--steel); }
.service-detail-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.service-detail { display: grid; grid-template-columns: 90px .65fr 1fr; gap: 34px; align-items: start; padding: 52px 0; border-bottom: 1px solid var(--line); }
.service-detail .number { color: var(--gold-deep); font-size: 1rem; font-weight: 900; letter-spacing: .12em; }
.service-detail p { color: var(--steel); }
.service-detail ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 24px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--ink); font-weight: 700; }
.service-detail li { position: relative; padding-left: 18px; }
.service-detail li::before { content: ""; position: absolute; left: 1px; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-deep); }
.note { margin-top: 36px; padding: 22px 26px; border-left: 5px solid var(--gold); background: var(--mist); color: var(--steel); }

.contact-section { padding: 92px 0; background: var(--blue); color: white; }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: start; }
.contact-section h2 { color: white; }
.contact-section .lead { margin-top: 20px; color: #dbe9ff; }
.contact-intro { position: sticky; top: 110px; }
.contact-card { padding: 34px; background: white; color: var(--ink); box-shadow: var(--shadow); }
.contact-card small { display: block; color: var(--steel); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-card a { display: block; margin: 3px 0 23px; color: var(--navy); font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 900; text-decoration: none; }
.contact-card .whatsapp-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; width: fit-content; margin: 6px 0; padding: 10px 18px; border-radius: 4px; background: #25d366; color: #052e16; font-size: 1rem; font-weight: 900; }
.contact-card .whatsapp-button:hover { background: #46df7d; }
.whatsapp-handle { display: block; margin-bottom: 23px; color: var(--steel); font-size: .9rem; font-weight: 850; overflow-wrap: anywhere; }
.contact-card .service-area { max-width: 420px; margin-top: 5px; color: var(--ink); font-weight: 700; line-height: 1.55; }
.direct-contact { margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.24); }
.direct-contact small { display: block; margin-bottom: 10px; color: #dbe9ff; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.direct-contact > a:not(.whatsapp-button) { display: block; width: fit-content; margin-bottom: 14px; color: white; font-size: 1.35rem; font-weight: 900; text-decoration: none; }
.direct-contact .whatsapp-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; margin: 2px 0 7px; padding: 9px 16px; border-radius: 4px; background: #25d366; color: #052e16; font-weight: 900; text-decoration: none; }
.direct-contact .whatsapp-button:hover { background: #46df7d; }
.direct-contact .whatsapp-handle { margin-bottom: 20px; color: #dbe9ff; }
.direct-contact p { max-width: 450px; color: #dbe9ff; font-size: .95rem; font-weight: 700; line-height: 1.55; }
.estimate-form { display: grid; gap: 18px; padding: 36px; background: white; color: var(--ink); box-shadow: var(--shadow); }
.estimate-form label { display: grid; gap: 7px; color: var(--navy); font-size: .9rem; font-weight: 850; }
.estimate-form input, .estimate-form select, .estimate-form textarea { width: 100%; border: 1px solid #b9c6d8; border-radius: 3px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; font-weight: 500; }
.estimate-form input, .estimate-form select { min-height: 50px; padding: 10px 12px; }
.estimate-form textarea { min-height: 132px; padding: 12px; resize: vertical; }
.estimate-form input:focus, .estimate-form select:focus, .estimate-form textarea:focus { outline: 3px solid rgba(224,171,36,.35); border-color: var(--gold-deep); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.form-submit { width: 100%; border: 0; cursor: pointer; }
.form-submit:hover { filter: brightness(1.06); }
.form-note { color: var(--steel); font-size: .86rem; line-height: 1.5; text-align: center; }
.form-honey { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

footer { padding: 34px 0; background: #041128; color: #afbed3; font-size: .9rem; }
footer .shell { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
footer a { color: white; }

@media (max-width: 840px) {
  .topbar .shell span:first-child { display: none; }
  .topbar .shell { justify-content: center; }
  .nav-wrap { min-height: 74px; }
  .brand img { width: 102px; height: 50px; }
  .brand-copy { display: none; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 74px; right: 0; left: 0; padding: 18px 20px 24px; flex-direction: column; align-items: stretch; gap: 10px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(7,26,58,.1); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px; }
  .nav-links .nav-cta { text-align: center; }
  .hero { min-height: 720px; }
  .hero::after { background: linear-gradient(90deg, rgba(3,14,34,.97), rgba(3,14,34,.7)); }
  .hero-content { width: 100%; padding: 75px 0 190px; }
  .hero-strip .shell { grid-template-columns: 1fr; }
  .hero-strip div { padding: 13px 18px; border-right: 1px solid rgba(255,255,255,.14); }
  .heading-row, .about-grid, .contact-grid, .story-grid, .brand-strip { grid-template-columns: 1fr; gap: 38px; }
  .contact-intro { position: static; }
  .service-grid { grid-template-columns: 1fr; }
  .credential-grid { grid-template-columns: 1fr; }
  .practice-grid { grid-template-columns: 1fr; }
  .about-mark { min-height: 330px; }
  .service-detail { grid-template-columns: 52px 1fr; gap: 20px; }
  .service-detail > div:last-child { grid-column: 2; }
  .cta-panel { grid-template-columns: 1fr; padding: 38px 30px; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1180px); }
  .section { padding: 76px 0; }
  .hero { min-height: 740px; }
  .hero-content { padding-top: 66px; }
  .hero h1 { font-size: 3.05rem; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail > div:last-child { grid-column: 1; }
  .service-detail ul { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 22px; }
  .estimate-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  footer .shell { align-items: flex-start; flex-direction: column; }
}
