/* ── EuroServe — app.css (Bootstrap 5 + Brand overrides) ─────────────────── */

/* ── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
    --es-primary:        #144876;
    --es-primary-dark:   #1e3f5c;
    --es-primary-darker: #0f2438;
    --es-primary-light:  #eef4f9;
    --es-accent:         #e8922a;
    --es-accent-dark:    #c97a1f;
    --es-text:           #1a2b3c;
    --es-muted:          #5c7a94;
    --es-border:         #c8dae8;
    --es-bg-light:       #f0f5f9;
    --font-heading:      'Plus Jakarta Sans', sans-serif;
    --font-body:         'Inter', sans-serif;
}

/* ── Base ──────────────────────────────────────────────────────────────────── */
body {
    font-family: var(--font-body);
    color: var(--es-text);
    line-height: 1.7;
}

main {
    padding-bottom: 48px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--es-primary-darker);
}

a { color: var(--es-primary); }
a:hover { color: var(--es-primary-dark); }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.es-btn-primary {
    background: var(--es-primary);
    color: #fff;
    border: 2px solid var(--es-primary);
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px 24px;
    transition: background .2s, border-color .2s;
}

.es-btn-primary:hover {
    background: var(--es-primary-dark);
    border-color: var(--es-primary-dark);
    color: #fff;
}

.es-btn-outline {
    background: transparent;
    color: var(--es-primary);
    border: 2px solid var(--es-primary);
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px 24px;
    transition: background .2s, color .2s;
}

.es-btn-outline:hover {
    background: var(--es-primary);
    color: #fff;
}

.es-btn-accent {
    background: var(--es-accent);
    color: #fff;
    border: 2px solid var(--es-accent);
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px 24px;
    transition: background .2s;
}

.es-btn-accent:hover {
    background: var(--es-accent-dark);
    border-color: var(--es-accent-dark);
    color: #fff;
}

.es-btn-dark {
    background: var(--es-primary-darker);
    color: #fff;
    border: 2px solid var(--es-primary-darker);
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px 24px;
    transition: background .2s;
}

.es-btn-dark:hover {
    background: var(--es-primary-dark);
    border-color: var(--es-primary-dark);
    color: #fff;
}

.es-btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.5);
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px 24px;
    transition: background .2s, border-color .2s;
}

.es-btn-outline-light:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
    color: #fff;
}

/* ── Navbar ────────────────────────────────────────────────────────────────── */
.es-navbar {
    background: #fff;
    box-shadow: 0 1px 0 var(--es-border);
    padding: 0;
}

.es-navbar .navbar-brand { padding: 10px 0; }

.es-navbar .nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--es-text) !important;
    padding: 8px 14px !important;
    border-radius: 6px;
    transition: background .15s, color .15s;
}

.es-navbar .nav-link:hover,
.es-navbar .nav-link.active {
    background: var(--es-primary-light);
    color: var(--es-primary) !important;
}

.es-dropdown {
    border-radius: 10px !important;
    border: 1px solid var(--es-border) !important;
    padding: 8px 0;
    min-width: 230px;
}

.es-dropdown .dropdown-item {
    font-size: 14px;
    color: var(--es-text);
    padding: 9px 18px;
    font-family: var(--font-body);
}

.es-dropdown .dropdown-item:hover {
    background: var(--es-primary-light);
    color: var(--es-primary);
}

/* ── Sections ──────────────────────────────────────────────────────────────── */
.es-section { padding: 80px 0; }

.es-section-title {
    font-size: clamp(24px, 3.5vw, 36px);
    color: var(--es-primary-darker);
    margin-bottom: 12px;
}

.es-section-sub {
    font-size: 16px;
    color: var(--es-muted);
    max-width: 600px;
    margin: 0 auto;
}

.es-text-primary { color: var(--es-primary); }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.es-hero {
    background: #f4f8fc;
    background-image: radial-gradient(circle at 80% 50%, #ddeaf5 0%, transparent 60%);
    border-bottom: 1px solid var(--es-border);
}

.min-vh-hero { min-height: 70vh; }

.es-hero-heading {
    font-size: clamp(30px, 4.5vw, 52px);
    line-height: 1.18;
    color: var(--es-primary-darker);
    margin-bottom: 20px;
}

.es-hero-divider {
    width: 52px;
    height: 4px;
    background: var(--es-accent);
    border-radius: 2px;
    margin-bottom: 20px;
}

.es-hero-sub {
    font-size: 18px;
    color: var(--es-muted);
    margin-bottom: 32px;
}

/* USP badges */
.es-usp-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.es-usp-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--es-text);
    font-family: var(--font-heading);
    line-height: 1.3;
}

.es-usp-badge img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.es-usp-sep {
    width: 1px;
    height: 36px;
    background: var(--es-border);
    flex-shrink: 0;
}

.es-hero-image-col {
    padding-right: 0;
}

.es-hero-img {
    width: 100%;
    max-width: 680px;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.es-hero-illustration {
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(44,90,132,.15);
}

/* ── Service cards ─────────────────────────────────────────────────────────── */
.es-service-card {
    border: 1px solid var(--es-border);
    border-top: 3px solid var(--es-primary);
    border-radius: 12px;
    background: #fff;
    color: var(--es-text);
    transition: box-shadow .2s, border-top-color .2s, transform .2s;
    padding: 32px 20px;
}

.es-service-card:hover {
    box-shadow: 0 12px 32px rgba(44,90,132,.12);
    border-top-color: var(--es-primary);
    transform: translateY(-4px);
    color: var(--es-text);
}

.es-service-icon {
    width: 72px;
    height: 72px;
    background: var(--es-primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.es-service-icon img {
    width: 40px;
    height: 40px;
}

.es-service-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--es-primary-darker);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.es-service-desc {
    font-size: 14px;
    color: var(--es-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}

.es-learn-more {
    font-size: 13px;
    font-weight: 700;
    color: var(--es-primary);
    font-family: var(--font-heading);
    letter-spacing: .3px;
}

/* ── Why section ───────────────────────────────────────────────────────────── */
.es-why {
    background: var(--es-primary-light);
}

.es-check-list { display: flex; flex-direction: column; gap: 14px; }

.es-check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--es-text);
    font-weight: 500;
}

.es-check-list .bi-check2 {
    color: var(--es-primary);
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Auto-add checkmark when no icon in markup */
.es-check-list li:not(:has(.bi))::before {
    content: '\F26E';
    font-family: 'bootstrap-icons';
    color: var(--es-primary);
    font-size: 18px;
    flex-shrink: 0;
}

/* Photo + stats overlay */
.es-why-photo-wrap {
    position: relative;
    z-index: 0;
    min-height: 460px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 20px 60px rgba(44, 90, 132, .18);
}

/* Subtle dark gradient at bottom so stats bar is always readable */
.es-why-photo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(10, 25, 42, .65) 100%);
    border-radius: inherit;
}

.es-why-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 36, 56, .88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    z-index: 1;
}

.es-why-stat {
    padding: 18px 12px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.1);
}

.es-why-stat:last-child { border-right: none; }

.es-why-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--es-accent);
    line-height: 1;
    margin-bottom: 4px;
}

.es-why-stat span {
    font-size: 11px;
    color: rgba(255,255,255,.75);
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 500;
}

/* ── Portfolio / Our Work ──────────────────────────────────────────────────── */
.es-work-card { cursor: pointer; }

.es-work-img {
    height: 200px;
    object-fit: cover;
}

.es-work-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--es-primary-light) 0%, #cddae6 100%);
}

.es-work-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--es-primary-darker);
}

.es-work-cat {
    font-size: 12px;
    color: var(--es-muted);
    font-weight: 500;
}

/* Carousel custom controls */
.es-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--es-border);
    box-shadow: 0 4px 12px rgba(44,90,132,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--es-primary);
    font-size: 18px;
    z-index: 10;
    transition: background .2s, color .2s;
}

.es-carousel-btn:hover {
    background: var(--es-primary);
    color: #fff;
    border-color: var(--es-primary);
}

.es-carousel-btn--prev { left: -22px; }
.es-carousel-btn--next { right: -22px; }

/* ── CTA Banner ────────────────────────────────────────────────────────────── */
.es-cta-banner {
    /* background: linear-gradient(135deg, #c4731a 0%, var(--es-accent) 100%); */
    background-color: #144876;
    padding: 80px 0;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.es-cta-banner .row {
    margin-top: 0 !important;
}

.es-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.12) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(0,0,0,.10) 0%, transparent 45%);
    pointer-events: none;
}

.es-cta-banner .container { position: relative; }

/* .es-cta-banner .es-btn-accent {
    background: #fff;
    color: var(--es-accent);
    border-color: #fff;
}
.es-cta-banner .es-btn-accent:hover {
    background: rgba(255,255,255,.9);
    border-color: rgba(255,255,255,.9);
    color: var(--es-accent);
} */

.es-cta-title {
    font-size: clamp(22px, 3vw, 34px);
    color: #fff;
    margin-bottom: 10px;
}

.es-cta-sub {
    font-size: 16px;
    color: rgba(255,255,255,.7);
    margin: 0;
}

/* ── Blog cards ────────────────────────────────────────────────────────────── */
.es-post-card {
    border: 1px solid var(--es-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s;
}

.es-post-card:hover { box-shadow: 0 8px 24px rgba(44,90,132,.1); }

.es-post-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.es-post-placeholder {
    height: 180px;
    background: linear-gradient(135deg, var(--es-primary-light) 0%, #cddae6 100%);
}

.es-post-title {
    font-size: 16px;
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

.es-post-title a {
    color: var(--es-primary-darker);
    text-decoration: none;
}

.es-post-title a:hover { color: var(--es-primary); }

.es-post-excerpt {
    font-size: 14px;
    color: var(--es-muted);
    line-height: 1.65;
}

.es-read-more {
    font-size: 13px;
    font-weight: 700;
    color: var(--es-primary);
    text-decoration: none;
    font-family: var(--font-heading);
}

.es-read-more:hover { text-decoration: underline; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.es-footer {
    background: var(--es-primary-darker);
    color: rgba(255,255,255,.7);
    position: relative;
    z-index: 10;
}

.es-footer-text {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255,255,255,.65);
}

.es-footer-heading {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.es-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.es-footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .15s;
}

.es-footer-links a:hover { color: #fff; }

.es-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.es-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,.65);
}

.es-footer-contact i {
    color: var(--es-accent);
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.es-footer-contact a {
    color: rgba(255,255,255,.65);
    text-decoration: none;
}

.es-footer-contact a:hover { color: #fff; }

.es-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    font-size: 15px;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.es-social-icon:hover {
    background: var(--es-primary);
    color: #fff;
    border-color: var(--es-primary);
}

.es-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 18px 0;
    font-size: 13px;
    color: rgba(255,255,255,.4);
}

.es-footer-bottom a {
    color: rgba(255,255,255,.5);
    text-decoration: none;
    transition: color .15s;
}

.es-footer-bottom a:hover { color: #fff; }
.es-footer-divider { color: rgba(255,255,255,.2); }

/* ── Services index cards ──────────────────────────────────────────────────── */
.es-svc-index-card {
    background: #fff;
    border: 1px solid var(--es-border);
    border-radius: 14px;
    padding: 28px 24px;
    transition: box-shadow .2s, transform .2s;
}
.es-svc-index-card:hover {
    box-shadow: 0 12px 36px rgba(44,90,132,.1);
    transform: translateY(-3px);
}
.es-svc-index-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.es-svc-index-icon {
    width: 56px;
    height: 56px;
    background: var(--es-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.es-svc-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--es-primary);
    background: var(--es-primary-light);
    border-radius: 4px;
    padding: 3px 10px;
}
.es-svc-index-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--es-primary-darker);
    margin-bottom: 10px;
}
.es-svc-index-desc {
    font-size: 14px;
    color: var(--es-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}
.es-svc-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.es-svc-feature-list li {
    font-size: 13px;
    color: var(--es-text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.es-svc-feature-list .bi { color: var(--es-primary); font-size: 15px; flex-shrink: 0; }

/* Feature pill badges (service pages) */
.es-feature-pill {
    background: var(--es-primary-light);
    color: var(--es-primary-dark);
    border: 1px solid var(--es-border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    font-family: var(--font-heading);
}

/* ── Individual service page ───────────────────────────────────────────────── */
.es-svc-detail-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.es-process-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.es-process-num {
    width: 44px;
    height: 44px;
    background: var(--es-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
    font-family: var(--font-heading);
}
.es-process-body h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--es-primary-darker);
    margin-bottom: 4px;
}
.es-process-body p {
    font-size: 14px;
    color: var(--es-muted);
    margin: 0;
    line-height: 1.65;
}

/* ── Contact page ──────────────────────────────────────────────────────────── */
.es-contact-form-wrap {
    background: #fff;
    border: 1px solid var(--es-border);
    border-radius: 16px;
    padding: 36px 40px;
}
.es-input {
    border: 1px solid var(--es-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--es-text);
    font-family: var(--font-body);
    transition: border-color .15s, box-shadow .15s;
}
.es-input:focus {
    border-color: var(--es-primary);
    box-shadow: 0 0 0 3px rgba(44,90,132,.1);
    outline: none;
}
.es-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.es-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.es-contact-icon {
    width: 42px;
    height: 42px;
    background: var(--es-primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--es-primary);
    font-size: 16px;
    flex-shrink: 0;
}
.es-contact-info small {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--es-muted);
    font-weight: 600;
    margin-bottom: 2px;
}
.es-contact-info a,
.es-contact-info span {
    font-size: 14px;
    font-weight: 600;
    color: var(--es-text);
    text-decoration: none;
    line-height: 1.5;
}
.es-contact-info a:hover { color: var(--es-primary); }
.es-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--es-text);
    font-family: var(--font-heading);
}
.es-trust-item .bi {
    font-size: 22px;
    color: var(--es-primary);
}

/* ── About page ────────────────────────────────────────────────────────────── */
.es-about-stat-card {
    background: var(--es-primary-light);
    border: 1px solid var(--es-border);
    border-left: 4px solid var(--es-primary);
    border-radius: 10px;
    padding: 16px 20px;
    text-align: center;
}
.es-about-stat-card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--es-primary);
    line-height: 1;
}
.es-about-stat-card span {
    font-size: 12px;
    color: var(--es-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-top: 4px;
    display: block;
}
.es-about-img-wrap img {
    box-shadow: 0 20px 60px rgba(44,90,132,.15);
}

/* Mission / Vision cards */
.es-mv-card {
    background: #fff;
    border: 1px solid var(--es-border);
    border-radius: 16px;
    padding: 36px 32px;
    text-align: center;
}
.es-mv-card h4 {
    font-size: 20px;
    color: var(--es-primary-darker);
    margin-bottom: 12px;
}
.es-mv-card p {
    font-size: 15px;
    color: var(--es-muted);
    line-height: 1.8;
    margin: 0;
}
.es-mv-icon {
    width: 64px;
    height: 64px;
    background: var(--es-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
    color: var(--es-primary);
}
.es-mv-icon--accent {
    background: rgba(232,146,42,.12);
    color: var(--es-accent);
}

/* Core Values cards */
.es-value-card {
    background: #fff;
    border: 1px solid var(--es-border);
    border-radius: 12px;
    padding: 28px 24px;
    transition: box-shadow .2s, transform .2s;
}
.es-value-card:hover {
    box-shadow: 0 10px 32px rgba(44,90,132,.1);
    transform: translateY(-3px);
}
.es-value-icon {
    width: 52px;
    height: 52px;
    background: var(--es-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--es-primary);
    margin-bottom: 16px;
}
.es-value-icon--accent {
    background: rgba(232,146,42,.12);
    color: var(--es-accent);
}
.es-value-card h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--es-primary-darker);
    margin-bottom: 8px;
}
.es-value-card p {
    font-size: 14px;
    color: var(--es-muted);
    line-height: 1.7;
    margin: 0;
}

/* Perk cards (Why Choose section) */
.es-perk-card {
    background: #fff;
    border: 1px solid var(--es-border);
    border-radius: 12px;
    padding: 24px 20px;
}
.es-perk-card > .bi {
    font-size: 28px;
    color: var(--es-primary);
    display: block;
    margin-bottom: 12px;
}
.es-perk-card h6 {
    font-size: 14px;
    font-weight: 700;
    color: var(--es-primary-darker);
    margin-bottom: 6px;
}
.es-perk-card p {
    font-size: 13px;
    color: var(--es-muted);
    line-height: 1.65;
    margin: 0;
}

/* ── Page hero (inner pages) ───────────────────────────────────────────────── */
.page-hero {
    background: var(--es-primary-darker);
    color: #fff;
    padding: 72px 0 56px;
    text-align: center;
}

.page-hero h1 { font-size: clamp(28px, 4vw, 46px); color: #fff; margin-bottom: 14px; }
.page-hero p  { font-size: 17px; color: rgba(255,255,255,.75); max-width: 580px; margin: 0 auto; }

.section-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--es-primary);
    background: var(--es-primary-light);
    border-radius: 4px;
    padding: 4px 12px;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.page-hero .section-eyebrow {
    background: rgba(255,255,255,.15);
    color: #fff;
}

/* ── Portfolio cards ───────────────────────────────────────────────────────── */
.es-portfolio-card {
    background: #fff;
    border: 1px solid var(--es-border);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.es-portfolio-card:hover {
    box-shadow: 0 12px 36px rgba(44,90,132,.12);
    transform: translateY(-3px);
}
.es-portfolio-img-wrap { overflow: hidden; }
.es-portfolio-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}
.es-portfolio-card:hover .es-portfolio-img { transform: scale(1.04); }
.es-portfolio-placeholder {
    height: 220px;
    background: linear-gradient(135deg, var(--es-primary-light) 0%, #cddae6 100%);
}
.es-portfolio-body { padding: 24px; }
.es-portfolio-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--es-primary);
    background: var(--es-primary-light);
    border-radius: 4px;
    padding: 3px 10px;
    margin-bottom: 10px;
}
.es-portfolio-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.es-portfolio-title a {
    color: var(--es-primary-darker);
    text-decoration: none;
}
.es-portfolio-title a:hover { color: var(--es-primary); }
.es-portfolio-desc {
    font-size: 14px;
    color: var(--es-muted);
    line-height: 1.7;
}

/* Case study detail meta */
.es-case-meta {
    background: var(--es-primary-light);
    border-radius: 10px;
    padding: 14px 18px;
}
.es-case-meta small {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--es-muted);
    font-weight: 600;
    margin-bottom: 4px;
}
.es-case-meta strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--es-primary-darker);
}
.es-case-results {
    background: var(--es-primary-light);
    border-left: 4px solid var(--es-primary);
    border-radius: 0 12px 12px 0;
    padding: 28px 32px;
}

/* ── Prose (blog/legal/case content) ───────────────────────────────────────── */
.es-prose { color: var(--es-text); font-size: 15px; line-height: 1.85; }
.es-prose h2 {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--es-primary-darker);
    margin: 36px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--es-primary-light);
}
.es-prose h2:first-child { margin-top: 0; }
.es-prose h3 { font-size: 18px; color: var(--es-primary-darker); margin: 28px 0 10px; }
.es-prose p  { margin-bottom: 16px; }
.es-prose ul, .es-prose ol { padding-left: 22px; margin-bottom: 16px; }
.es-prose li { margin-bottom: 8px; }
.es-prose a  { color: var(--es-primary); }
.es-prose a:hover { color: var(--es-primary-dark); }
.es-prose strong { font-weight: 700; color: var(--es-text); }

/* Blog date */
.es-blog-date { font-size: 12px; color: var(--es-muted); font-weight: 500; }

/* ── 404 page ──────────────────────────────────────────────────────────────── */
.es-404-num {
    font-family: var(--font-heading);
    font-size: clamp(80px, 15vw, 160px);
    font-weight: 800;
    color: var(--es-primary-light);
    line-height: 1;
    margin-bottom: 8px;
    -webkit-text-stroke: 3px var(--es-border);
}

/* ── Flash messages ────────────────────────────────────────────────────────── */
.flash { padding: 14px 24px; font-size: 14px; text-align: center; }
.flash--success { background: #dcfce7; color: #166534; }
.flash--error   { background: #fee2e2; color: #991b1b; }

/* ── Contact form ──────────────────────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--es-primary-darker);
    font-family: var(--font-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 14px;
    border: 1px solid var(--es-border);
    border-radius: 7px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--es-text);
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--es-primary);
    box-shadow: 0 0 0 3px rgba(44,90,132,.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .min-vh-hero { min-height: auto; }
    .es-why-stats { grid-template-columns: repeat(2, 1fr); }
    .es-carousel-btn--prev { left: 0; }
    .es-carousel-btn--next { right: 0; }
}

@media (max-width: 767px) {
    .es-section { padding: 56px 0; }
    .es-usp-sep { display: none; }
    .es-usp-row { gap: 12px; }
    .es-why-photo-wrap { min-height: 320px; border-radius: 12px; }
    .es-why-stats { position: static; border-radius: 0 0 12px 12px; margin-top: 0; }
    .es-cta-banner { padding: 64px 0; }
    .es-cta-banner .row { text-align: center; margin-top: 0 !important; }
    .es-cta-banner .col-lg-5 { justify-content: center !important; }
}
