/* Homepage hero */
.hero {
    position: relative;
    min-height: 640px;
    padding: 42px 0 96px;
    color: #ffffff;
    background: #020617 url("../images/homepage-hero.webp") center center / cover no-repeat;
}

.hero-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(410px, 5fr);
    gap: 48px;
    align-items: center;
}

.hero-copy { min-width: 0; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 28px;
    padding: 7px 13px;
    border: 1px solid rgba(59, 130, 246, .55);
    border-radius: 999px;
    color: #93c5fd;
    background: rgba(30, 64, 175, .32);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.hero-eyebrow svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #fbbf24;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-eyebrow b { font-weight: 700; }

.section-kicker {
    margin: 0 0 18px;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 700px;
    margin: 0 0 24px;
    color: #ffffff;
    font-size: clamp(38px, 3.55vw, 48px);
    font-weight: 800;
    line-height: 1.24;
    letter-spacing: -.025em;
}

.hero-copy h1 .hero-location-gradient {
    color: transparent;
    background: linear-gradient(90deg, #3b82f6 0%, #38bdf8 43%, #a7f3d0 72%, #fbbf24 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    max-width: 700px;
    margin: 0 0 30px;
    color: #e2e8f0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7;
}

.hero-speed {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: #f59e0b;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}

.hero-metric {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    padding: 12px 13px;
    border: 1px solid #1e293b;
    border-radius: 13px;
    background: rgba(15, 23, 42, .82);
}

.hero-metric svg {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-metric .metric-clock { stroke: #fbbf24; }
.hero-metric .metric-shield { stroke: #34d399; }
.hero-metric .metric-award { stroke: #60a5fa; }
.hero-metric span { display: grid; min-width: 0; gap: 2px; }
.hero-metric small { color: #94a3b8; font-size: 11px; line-height: 1.2; }
.hero-metric strong { color: #ffffff; font-size: 13px; line-height: 1.25; white-space: nowrap; }

.hero .hero-consultation-form { max-width: 600px; }

/* Homepage complimentary assessment */
.home-services-area { background: #f5f5f5; }

.home-offer {
    min-height: 0;
    padding: 42px 0;
    background: transparent;
}

.home-offer .callout-card {
    top: 0;
    min-height: 212px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    overflow: hidden;
    align-items: center;
    border-radius: 23px;
    background: linear-gradient(105deg, #29439f 0%, #312e81 46%, #111b4b 100%);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.22);
}

.home-offer .callout-copy {
    position: relative;
    z-index: 2;
    padding: 38px 40px;
}

.home-offer .callout-eyebrow {
    display: inline-flex;
    margin: 0 0 15px;
    padding: 6px 11px;
    border-radius: 999px;
    color: #111827;
    background: #fbbf24;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.home-offer .callout-copy h2 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
}

.home-offer .callout-copy h2 span {
    color: #fbbf24;
    font-weight: 800;
}

.home-offer .callout-copy > p:last-child {
    max-width: 760px;
    margin: 0;
    color: #f8fafc;
    font-size: 14px;
    line-height: 1.65;
}

.home-offer .callout-action {
    position: relative;
    z-index: 2;
    padding: 35px 40px 35px 0;
}

.home-offer .callout-action .button {
    width: 100%;
    min-height: 54px;
    border-color: #f59e0b;
    border-radius: 16px;
    color: #020617;
    background: #f59e0b;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.28);
    font-size: 14px;
    text-transform: none;
}

.home-offer .callout-action .button::after {
    margin-left: 12px;
    content: "→";
    font-size: 20px;
    line-height: 1;
}

.home-offer .callout-decoration {
    position: absolute;
    z-index: 1;
    top: -8px;
    right: -5px;
    width: 300px;
    height: auto;
    overflow: visible;
    fill: none;
    stroke: rgba(255, 255, 255, 0.13);
    stroke-width: 22;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Existing services design retained */
.services {
    min-height: 860px;
    margin-top: 1px;
    padding: 70px 20px 40px;
    background: transparent;
}

.services-wrap { width: min(100%, 1248px); margin: 0 auto; }
.services-heading { max-width: 820px; margin: 0 auto 42px; text-align: center; }
.services-title { margin: 0 0 12px; color: var(--ink); font-size: 36px; font-weight: 700; line-height: 1.2; }
.services-heading p { margin: 0; color: #64748b; font-size: 17px; line-height: 1.6; }
.services-split-grid { display: grid; grid-template-columns: 660px 476px; gap: 24px; }
.services-stack { display: grid; gap: 20px; }
.offering-card { position: relative; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 10px 30px rgba(18, 28, 45, .08); transition: box-shadow .22s ease, transform .22s ease; }
.offering-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(18, 28, 45, .18); }
.featured-card { height: 652px; padding: 42px; border: 1px solid rgba(47, 93, 169, .1); background: radial-gradient(circle at bottom right, rgba(37, 99, 235, .1), transparent 34%), linear-gradient(135deg, #fff 0%, #f4f9ff 100%); }
.featured-card img { width: 574px; height: 361px; margin: 0; object-fit: cover; }
.offering-card h3 { margin: 0 0 12px; color: var(--card-ink); font-size: 17px; font-weight: 700; line-height: 21.25px; text-transform: uppercase; transition: color .22s ease; }
.offering-card:hover h3 { color: #2563eb; }
.featured-card h3 { margin: 0 0 18px; font-size: 38px; line-height: 41.8px; }
.offering-card p { margin: 0 0 18px; color: #4a556d; font-size: 16px; line-height: 25.6px; }
.featured-card p { margin-bottom: 30px; font-size: 18px; line-height: 29.7px; }
.minicard { padding: 26px 28px; border-top: 4px solid transparent; }
.minicard:nth-child(1), .minicard:nth-child(3) { height: 212px; }
.minicard:nth-child(2) { height: 187px; }
.minicard-a { border-top-color: var(--orange); }
.minicard-b { border-top-color: var(--green); }
.minicard-c { border-top-color: var(--purple); }
.card-link { color: #2563eb; font-size: 15px; font-weight: 700; text-decoration: none; }
.card-link::after { margin-left: 8px; content: "→"; }
.featured-card .button { border-color: #bfdbfe; color: #2563eb; background: #eff6ff; }
.featured-card .button:hover, .featured-card .button:focus-visible { border-color: #93c5fd; color: #1d4ed8; background: #dbeafe; }

/* Shared homepage section headings */
.section-heading { max-width: 940px; margin-bottom: 42px; }
.section-heading-centered { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading h2 { margin: 0 0 12px; color: #0f172a; font-size: clamp(28px, 3vw, 36px); line-height: 1.2; letter-spacing: -.02em; }
.section-heading h2 span { color: #2563eb; }
.section-heading p { margin: 0; color: #475569; font-size: 15px; line-height: 1.6; }

/* Four reasons */
.home-reasons { padding: 82px 0 88px; background: #eef3f9; }
.reason-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.reason-card { position: relative; min-height: 218px; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 24px; align-items: start; padding: 32px; overflow: hidden; border: 1px solid #d8e0ea; border-radius: 20px; background: #fff; box-shadow: 0 2px 3px rgba(15, 23, 42, .1); transition: transform .2s ease, box-shadow .2s ease; }
.reason-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 23, 42, .09); }
.reason-card > span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; color: #fff; background: linear-gradient(145deg, #2d75ff, #1254ed); box-shadow: 0 9px 16px rgba(37, 99, 235, .28); font-size: 18px; font-weight: 800; line-height: 1; }
.reason-card h3 { margin: 4px 0 10px; color: #0f172a; font-size: 18px; line-height: 1.35; }
.reason-card p { margin: 0; color: #475569; font-size: 14px; line-height: 1.65; }

/* Five pillars */
.pillars { padding: 82px 0 88px; background: #f8fafc; }
.pillar-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 24px; }
.modern-pillar { grid-column: span 2; min-height: 216px; padding: 25px 26px; border: 1px solid #d8e0ea; border-radius: 20px; color: #475569; background: #fff; box-shadow: 0 2px 3px rgba(15, 23, 42, .09); }
.modern-pillar:nth-child(4) { grid-column: 2 / span 2; }
.modern-pillar:nth-child(5) { grid-column: 4 / span 2; }
.modern-pillar .pillar-icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 11px; color: #2563eb; background: #dbeafe; }
.modern-pillar:nth-child(2) .pillar-icon { color: #059669; background: #d1fae5; }
.modern-pillar:nth-child(3) .pillar-icon { color: #ea580c; background: #ffedc2; }
.modern-pillar:nth-child(4) .pillar-icon { color: #4f46e5; background: #e0e7ff; }
.modern-pillar:nth-child(5) .pillar-icon { color: #0284c7; background: #dbeef8; }
.modern-pillar .pillar-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.modern-pillar h3 { margin: 0 0 11px; color: #0f172a; font-size: 17px; line-height: 1.35; }
.modern-pillar p { margin: 0; font-size: 14px; line-height: 1.65; }

/* Testimonials and FAQ */
.home-testimonials { padding: 95px 0; background: #f8fafc; }
.home-testimonials .testimonial-card { padding: 32px; border: 1px solid #e2e8f0; border-radius: 20px; box-shadow: none; }
.home-testimonials .quote-mark { height: 42px; color: #2563eb; font-family: Georgia, serif; font-size: 64px; line-height: .9; }
.home-testimonials .testimonial-card > p:not(.testimonial-author) { color: #475569; font-size: 15px; line-height: 1.75; }
.home-testimonials .testimonial-author { padding-top: 18px; border-top: 1px solid #e2e8f0; }
.home-testimonials .testimonial-author strong { color: #0f172a; }
.home-testimonials .testimonial-author span { margin-top: 4px; color: #64748b; font-size: 13px; }
.home-faq { padding: 95px 0; }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 85px; }
.home-faq .section-heading { margin-bottom: 0; }
.home-faq .faq-item { border: 1px solid #e2e8f0; border-radius: 14px; margin-bottom: 12px; padding: 0 20px; }
.home-faq .faq-toggle { align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; color: #0f172a; font-family: "Open Sans", sans-serif; font-size: 17px; line-height: 1.45; }
.home-faq .faq-toggle span { color: #2563eb; font-size: 25px; font-weight: 400; }
.home-faq .faq-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.home-faq .faq-answer { overflow: hidden; color: #64748b; transition: max-height .25s ease; }
.home-faq .faq-answer p { margin: 0; padding: 0 34px 20px 0; font-size: 15px; line-height: 1.7; }

@media (max-width: 1100px) {
    .hero-row { grid-template-columns: minmax(0, 1fr) 380px; gap: 35px; }
    .services-split-grid { grid-template-columns: 1.2fr .9fr; }
    .featured-card, .featured-card img { width: 100%; }
}

@media (max-width: 991px) {
    .hero { padding: 55px 0 125px; background-position: center center; }
    .hero-row { grid-template-columns: 1fr; }
    .hero-copy h1 { font-size: 42px; }
    .hero-consultation-form { max-width: 600px; }
    .services { min-height: 0; padding: 60px 15px 40px; }
    .services-split-grid { grid-template-columns: 1fr; }
    .services-stack { grid-template-columns: 1fr; }
    .featured-card { height: auto; padding: 24px; }
    .featured-card h3 { font-size: 28px; line-height: 34px; }
    .featured-card p { font-size: 16px; }
    .minicard:nth-child(n) { height: auto; }
    .pillar-grid { grid-template-columns: repeat(2, 1fr); }
    .modern-pillar, .modern-pillar:nth-child(4), .modern-pillar:nth-child(5) { grid-column: span 1; }
    .modern-pillar:last-child { grid-column: 1 / -1; }
    .faq-layout { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 720px) {
    .home-offer { padding: 28px 0; }
    .home-offer .callout-card { grid-template-columns: 1fr; }
    .home-offer .callout-copy { padding: 30px 24px 18px; }
    .home-offer .callout-copy h2 { font-size: 24px; }
    .home-offer .callout-action { padding: 0 24px 30px; }
    .home-offer .callout-decoration { top: 40px; right: -90px; }
    .hero-copy h1 { font-size: 34px; }
    .hero-lead { font-size: 16px; }
    .hero-metrics { grid-template-columns: 1fr; }
    .hero-metric strong { font-size: 14px; }
    .home-testimonials .testimonials-action .button { width: 100%; padding-right: 16px; padding-left: 16px; white-space: normal; }
    .reason-grid, .pillar-grid { grid-template-columns: 1fr; }
    .modern-pillar:last-child { grid-column: auto; }
    .reason-card { min-height: 0; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 24px; }
    .reason-card > span { width: 52px; height: 52px; border-radius: 15px; }
    .section-heading h2 { font-size: 32px; }
}

@media (max-width: 480px) {
    .hero { padding-top: 40px; }
    .hero-eyebrow { margin-bottom: 22px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .reason-card { transition: none; }
    .home-faq .faq-answer { transition: none; }
}
