/* ==========================================================================
   MyEasySpace — Modern Theme
   ========================================================================== */

:root {
    --navy: #1f2337;
    --navy-soft: #2d3250;
    --navy-tint: #565b78;
    --amber: #ffb118;
    --amber-dark: #e69d00;
    --bg: #ffffff;
    --bg-soft: #f7f8fb;
    --bg-soft-2: #fff8ea;
    --text: #333747;
    --text-muted: #6b7080;
    --line: #e9eaf0;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 10px 30px rgba(31, 35, 55, .08);
    --shadow-lg: 0 20px 45px rgba(31, 35, 55, .14);
    --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    margin: 0 0 .6em;
    line-height: 1.25;
    font-weight: 600;
}

p { margin: 0 0 1em; }

.es-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.es-eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--amber-dark);
    background: var(--bg-soft-2);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.es-section { padding: 88px 0; }
.es-section.soft { background: var(--bg-soft); }
@media (max-width: 768px) { .es-section { padding: 56px 0; } }

.es-section-head { max-width: 640px; margin: 0 0 48px; }
.es-section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.es-section-head h2 { font-size: 34px; }
.es-section-head p { color: var(--text-muted); font-size: 16.5px; }
.es-section-head .es-accent { color: var(--amber-dark); }

/* Buttons */
.es-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 100px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    white-space: nowrap;
}
.es-btn-primary { background: var(--amber); color: var(--navy); box-shadow: 0 10px 24px rgba(255, 177, 24, .35); }
.es-btn-primary:hover { background: var(--amber-dark); transform: translateY(-2px); }
.es-btn-ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.es-btn-ghost:hover { background: rgba(255,255,255,.12); }
.es-btn-dark { background: var(--navy); color: #fff; }
.es-btn-dark:hover { background: var(--navy-soft); transform: translateY(-2px); }
.es-btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.es-btn-outline:hover { background: var(--navy); color: #fff; }
.es-btn-block { width: 100%; justify-content: center; }
.es-btn small { font-weight: 400; opacity: .8; font-size: 12px; }

/* ==========================================================================
   Top utility bar
   ========================================================================== */
.es-topbar {
    background: var(--navy);
    color: #cfd2e2;
    font-size: 13.5px;
}
.es-topbar .es-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 9px;
    padding-bottom: 9px;
    gap: 16px;
    flex-wrap: wrap;
}
.es-topbar ul { display: flex; gap: 22px; flex-wrap: wrap; }
.es-topbar li { display: flex; align-items: center; gap: 7px; }
.es-topbar a:hover { color: var(--amber); }
.es-topbar i { color: var(--amber); }
.es-topbar-right { display: flex; gap: 22px; }
.es-topbar-right .es-wa { color: #6be08a; }
.es-topbar-right .es-wa i { color: #6be08a; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.es-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.es-header .es-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}
.es-logo img { height: 42px; width: auto; }

.es-nav { display: flex; align-items: center; gap: 2px; }
.es-nav a.es-nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: var(--navy);
    padding: 10px 13px;
    border-radius: 100px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .15s ease, color .15s ease;
}
.es-nav a.es-nav-link:hover,
.es-nav a.es-nav-link.active { background: var(--bg-soft-2); color: var(--amber-dark); }

.es-nav-dropdown { position: relative; }
.es-nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .18s ease;
}
.es-nav-dropdown:hover .es-nav-dropdown-menu,
.es-nav-dropdown:focus-within .es-nav-dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.es-nav-dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    color: var(--text);
}
.es-nav-dropdown-menu a:hover { background: var(--bg-soft); color: var(--amber-dark); }

.es-header-actions { display: flex; align-items: center; gap: 10px; }
.es-header-call {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
}
.es-header-call i {
    background: var(--bg-soft-2);
    color: var(--amber-dark);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.es-header-call span { display: block; font-size: 11.5px; color: var(--text-muted); }
.es-header-call strong { font-size: 14.5px; color: var(--navy); }

@media (max-width: 1240px) {
    .es-header-call { display: none; }
}

.es-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.es-nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

@media (max-width: 992px) {
    .es-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 85vw);
        background: #fff; flex-direction: column; align-items: stretch; padding: 90px 24px 24px;
        box-shadow: -12px 0 40px rgba(0,0,0,.12); transition: right .25s ease; overflow-y: auto; z-index: 600; }
    .es-nav.open { right: 0; }
    .es-nav a.es-nav-link { padding: 14px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .es-nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
        display: none; padding-left: 14px; }
    .es-nav-dropdown.open .es-nav-dropdown-menu { display: block; }
    .es-header-call { display: none; }
    .es-nav-toggle { display: flex; }
    .es-nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(20,22,35,.45); z-index: 550; }
    .es-nav-backdrop.open { display: block; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.es-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 75%);
    padding: 72px 0 40px;
}
.es-hero .es-container {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
}
.es-hero-blob {
    position: absolute;
    top: -120px; right: -120px;
    width: 560px; height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--amber) 0%, rgba(255,177,24,0) 70%);
    opacity: .35;
    z-index: 0;
}
.es-hero-content { position: relative; z-index: 1; }
.es-hero h1 { font-size: 44px; letter-spacing: -.5px; }
.es-hero h1 span { color: var(--amber-dark); }
.es-hero-lead { font-size: 17px; color: var(--text-muted); max-width: 520px; }
.es-hero-ctas { display: flex; gap: 14px; margin: 28px 0 34px; flex-wrap: wrap; }

.es-hero-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.es-hero-stats div strong { display: block; font-family: 'Poppins', sans-serif; font-size: 24px; color: var(--navy); }
.es-hero-stats div span { font-size: 13px; color: var(--text-muted); }

.es-hero-media { position: relative; z-index: 1; text-align: center; }
.es-hero-media img { max-height: 460px; margin: 0 auto; }
.es-hero-badge {
    position: absolute;
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 14px 18px;
    display: flex; align-items: center; gap: 12px;
    font-family: 'Poppins', sans-serif;
}
.es-hero-badge i { color: var(--amber-dark); font-size: 20px; }
.es-hero-badge strong { display: block; font-size: 14px; color: var(--navy); }
.es-hero-badge span { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.es-hero-badge.b1 { top: 14%; left: -6%; }
.es-hero-badge.b2 { bottom: 8%; right: -4%; }

@media (max-width: 992px) {
    .es-hero .es-container { grid-template-columns: 1fr; text-align: center; }
    .es-hero-lead { margin-left: auto; margin-right: auto; }
    .es-hero-ctas, .es-hero-stats { justify-content: center; }
    .es-hero-media { margin-top: 20px; }
    .es-hero-badge.b1, .es-hero-badge.b2 { position: static; margin: 12px auto; display: inline-flex; }
    .es-hero-badge { display: none; }
}
@media (max-width: 560px) {
    .es-hero h1 { font-size: 32px; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.es-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 992px) { .es-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .es-services-grid { grid-template-columns: 1fr; } }

.es-service-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.es-service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.es-service-card figure { margin: 0; height: 130px; overflow: hidden; }
.es-service-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.es-service-card:hover figure img { transform: scale(1.06); }
.es-service-card-body { padding: 20px; position: relative; }
.es-service-card-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--bg-soft-2);
    color: var(--amber-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    position: absolute;
    top: -22px; left: 20px;
    box-shadow: var(--shadow);
    background: #fff;
}
.es-service-card-body h3 { font-size: 17px; margin-top: 14px; margin-bottom: 8px; }
.es-service-card-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
.es-service-card-body a { font-size: 13.5px; font-weight: 600; color: var(--amber-dark); }

/* ==========================================================================
   Why choose us
   ========================================================================== */
.es-why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .es-why { grid-template-columns: 1fr; } }
.es-why-media { position: relative; }
.es-why-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.es-why-media-badge {
    position: absolute; bottom: -22px; left: -22px;
    background: var(--navy); color: #fff;
    border-radius: var(--radius);
    padding: 18px 22px;
    font-family: 'Poppins', sans-serif;
    box-shadow: var(--shadow-lg);
}
.es-why-media-badge strong { display: block; font-size: 26px; color: var(--amber); }
.es-why-media-badge span { font-size: 12.5px; color: #cfd2e2; }
@media (max-width: 560px) { .es-why-media-badge { left: 12px; bottom: -18px; padding: 12px 16px; } }

.es-why-list { display: grid; gap: 18px; margin-top: 28px; }
.es-why-item { display: flex; gap: 16px; }
.es-why-item i {
    flex: none;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--bg-soft-2);
    color: var(--amber-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 19px;
}
.es-why-item h4 { font-size: 16.5px; margin-bottom: 4px; }
.es-why-item p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 0; }

/* ==========================================================================
   Process
   ========================================================================== */
.es-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
@media (max-width: 900px) { .es-process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .es-process { grid-template-columns: 1fr; } }
.es-process-step { text-align: center; position: relative; padding: 0 12px; }
.es-process-step .es-step-num {
    width: 56px; height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--amber);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px;
    position: relative;
}
.es-process-step .es-step-num i { position: absolute; bottom: -10px; right: -10px; background: var(--amber);
    color: var(--navy); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 13px; box-shadow: var(--shadow); }
.es-process-step h4 { font-size: 16px; }
.es-process-step p { font-size: 13.5px; color: var(--text-muted); }

/* ==========================================================================
   Stats band
   ========================================================================== */
.es-stats {
    background: var(--navy);
    color: #fff;
    padding: 56px 0;
}
.es-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 700px) { .es-stats-grid { grid-template-columns: repeat(2, 1fr); } }
.es-stat i { color: var(--amber); font-size: 26px; margin-bottom: 10px; display: block; }
.es-stat strong { display: block; font-family: 'Poppins', sans-serif; font-size: 32px; }
.es-stat span { font-size: 13.5px; color: #cfd2e2; }

/* ==========================================================================
   Quote form
   ========================================================================== */
.es-quote { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .es-quote { grid-template-columns: 1fr; } }
.es-quote-panel {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
}
@media (max-width: 560px) { .es-quote-panel { padding: 24px; } }
.es-quote-media { text-align: center; }
.es-quote-media img { max-height: 380px; margin: 0 auto; }

.es-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .es-form-grid { grid-template-columns: 1fr; } }
.es-form-grid .full { grid-column: 1 / -1; }
.es-field label {
    display: block; font-size: 13px; font-weight: 600; color: var(--navy);
    margin-bottom: 6px; font-family: 'Poppins', sans-serif;
}
.es-field input, .es-field textarea {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    background: var(--bg-soft);
    transition: border-color .15s ease, background .15s ease;
}
.es-field input:focus, .es-field textarea:focus {
    outline: none; border-color: var(--amber); background: #fff;
}
.es-field textarea { min-height: 96px; resize: vertical; }
#msgSubmit { margin-top: 10px; font-family: 'Poppins', sans-serif; font-size: 15px; }
#msgSubmit.hidden { display: none; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.es-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .es-testimonials-grid { grid-template-columns: 1fr; } }
.es-testimonial-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    position: relative;
}
.es-testimonial-card i.fa-quote-right { position: absolute; top: 22px; right: 24px; font-size: 22px; color: var(--bg-soft-2); }
.es-testimonial-stars { color: var(--amber); font-size: 13px; margin-bottom: 12px; }
.es-testimonial-card p { font-size: 14.5px; color: var(--text); }
.es-testimonial-name { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.es-testimonial-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--navy); color: var(--amber);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif; font-weight: 700;
}
.es-testimonial-name strong { display: block; font-size: 14.5px; color: var(--navy); }
.es-testimonial-name span { font-size: 12.5px; color: var(--text-muted); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.es-cta {
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%);
    border-radius: var(--radius-lg);
    padding: 52px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    flex-wrap: wrap;
    color: #fff;
}
.es-cta h2 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.es-cta p { color: #cfd2e2; margin-bottom: 0; }
.es-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 700px) { .es-cta { padding: 32px; text-align: center; justify-content: center; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.es-footer { background: var(--navy); color: #cfd2e2; padding-top: 72px; }
.es-footer h5 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.es-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 900px) { .es-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .es-footer-grid { grid-template-columns: 1fr; } }
.es-footer p { font-size: 14px; color: #b7bad0; }
.es-footer-links li { margin-bottom: 10px; }
.es-footer-links a { font-size: 14px; color: #b7bad0; transition: color .15s ease; }
.es-footer-links a:hover { color: var(--amber); }
.es-footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14px; }
.es-footer-contact i { color: var(--amber); margin-top: 3px; }
.es-footer-social { display: flex; gap: 10px; margin-top: 18px; }
.es-footer-social a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    transition: background .15s ease;
}
.es-footer-social a:hover { background: var(--amber); color: var(--navy); }
.es-footer-bottom { padding: 22px 0; display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 10px; font-size: 13px; color: #9a9dbb; }
.es-footer-bottom a { color: #9a9dbb; }
.es-footer-bottom a:hover { color: var(--amber); }
.es-footer-bottom ul { display: flex; gap: 20px; }

/* WhatsApp float (kept from original, restyled) */
.float {
    position: fixed;
    width: 58px; height: 58px;
    bottom: 26px; right: 26px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 8px 20px rgba(37, 211, 102, .45);
    z-index: 800;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    transition: transform .15s ease;
}
.float:hover { transform: scale(1.08); color: #fff; }

/* Reveal-on-scroll is opt-in: only hides content once we know JS is
   actually running (html.js-ready, set by an inline script). No JS,
   or the script fails to load, and everything just stays visible. */
.js-ready .es-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js-ready .es-reveal.in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Page hero (interior pages: About, Service, Contact, Quote, Terms)
   ========================================================================== */
.es-pagehero {
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%);
    color: #fff;
    padding: 56px 0;
    text-align: center;
}
.es-pagehero h1 { color: #fff; font-size: 34px; margin-bottom: 10px; }
.es-breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 13.5px; color: #b7bad0; }
.es-breadcrumb a { color: #b7bad0; }
.es-breadcrumb a:hover { color: var(--amber); }
.es-breadcrumb span:not(:last-child)::after { content: '/'; margin-left: 8px; color: #565b78; }

/* ==========================================================================
   Prose (Terms & Conditions, policy content)
   ========================================================================== */
.es-prose { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 48px; }
@media (max-width: 560px) { .es-prose { padding: 24px; } }
.es-prose h2 { font-size: 24px; margin-top: 40px; }
.es-prose h2:first-child { margin-top: 0; }
.es-prose h3 { font-size: 18px; margin-top: 28px; }
.es-prose p, .es-prose li { color: var(--text-muted); font-size: 15px; }
.es-prose ul { margin: 0 0 1em; padding-left: 1.3em; list-style: disc; }
.es-prose li { margin-bottom: 8px; }
.es-prose li strong { color: var(--navy); }

/* ==========================================================================
   City / keyword tag cloud (About Us — route coverage)
   ========================================================================== */
.es-tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.es-tag-cloud a {
    font-size: 13.5px;
    padding: 8px 16px;
    border-radius: 100px;
    background: var(--bg-soft);
    color: var(--text);
    border: 1px solid var(--line);
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.es-tag-cloud a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ==========================================================================
   Gallery / project grid (Service page)
   ========================================================================== */
.es-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .es-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .es-gallery-grid { grid-template-columns: 1fr; } }
.es-gallery-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease; }
.es-gallery-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.es-gallery-card figure { margin: 0; height: 190px; overflow: hidden; }
.es-gallery-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.es-gallery-card:hover figure img { transform: scale(1.06); }
.es-gallery-card-body { padding: 22px; }
.es-gallery-card-body span.es-tagline { font-size: 12.5px; font-weight: 600; text-transform: uppercase;
    letter-spacing: .04em; color: var(--amber-dark); }
.es-gallery-card-body h3 { font-size: 18px; margin: 6px 0 8px; }
.es-gallery-card-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 0; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.es-contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .es-contact-grid { grid-template-columns: 1fr; } }
.es-contact-panel { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 40px; }
@media (max-width: 560px) { .es-contact-panel { padding: 24px; } }
.es-contact-info { display: grid; gap: 20px; }
.es-contact-info-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px;
    display: flex; gap: 16px; align-items: flex-start; }
.es-contact-info-card i { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft-2);
    color: var(--amber-dark); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.es-contact-info-card h5 { font-size: 15.5px; margin-bottom: 4px; }
.es-contact-info-card p, .es-contact-info-card a { font-size: 14px; color: var(--text-muted); }
.es-contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.es-contact-map iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ==========================================================================
   Quote form page (full-width variant of the homepage quote panel)
   ========================================================================== */
.es-field select {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    background: var(--bg-soft);
    transition: border-color .15s ease, background .15s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7080'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}
.es-field select:focus { outline: none; border-color: var(--amber); background-color: #fff; }
.es-quote-page-panel { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 44px;
    max-width: 860px; margin: 0 auto; }
@media (max-width: 560px) { .es-quote-page-panel { padding: 24px; } }

.es-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 700px) { .es-benefits-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Blog listing
   ========================================================================== */
.es-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .es-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .es-blog-grid { grid-template-columns: 1fr; } }
.es-blog-card-meta { font-size: 12.5px; color: var(--text-muted); margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.es-blog-card-meta .es-cat { color: var(--amber-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.es-blog-card-body h3 a { color: var(--navy); }
.es-blog-card-body h3 a:hover { color: var(--amber-dark); }

/* ==========================================================================
   Blog post
   ========================================================================== */
.es-post-hero {
    position: relative;
    padding: 90px 0 60px;
    background-size: cover;
    background-position: center;
    color: #fff;
}
.es-post-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(31,35,55,.75) 0%, rgba(31,35,55,.92) 100%);
}
.es-post-hero .es-container { position: relative; max-width: 820px; }
.es-post-hero .es-breadcrumb { justify-content: flex-start; margin-bottom: 18px; }
.es-post-hero h1 { color: #fff; font-size: 36px; text-align: left; margin-bottom: 16px; }
@media (max-width: 560px) { .es-post-hero h1 { font-size: 27px; } }
.es-post-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: #cfd2e2; }
.es-post-meta .es-cat { background: var(--amber); color: var(--navy); font-weight: 600; padding: 4px 12px; border-radius: 100px; font-size: 12.5px; }

.es-post-body { max-width: 760px; margin: 0 auto; }
.es-post-body h2 { font-size: 24px; margin-top: 40px; }
.es-post-body h2:first-child { margin-top: 0; }
.es-post-body h3 { font-size: 18px; margin-top: 24px; }
.es-post-body p, .es-post-body li { color: var(--text); font-size: 16px; line-height: 1.75; }
.es-post-body ul, .es-post-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.es-post-body ul { list-style: disc; }
.es-post-body li { margin-bottom: 8px; }
.es-post-body > p:first-of-type { font-size: 18px; color: var(--text-muted); }

.es-callout {
    background: var(--bg-soft-2);
    border-left: 4px solid var(--amber);
    border-radius: var(--radius-sm);
    padding: 18px 22px;
    margin: 28px 0;
}
.es-callout p { margin-bottom: 0; font-size: 15px; }
.es-callout strong { color: var(--navy); }

.es-post-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
    color: var(--text-muted); margin-bottom: 20px; }
.es-post-back:hover { color: var(--amber-dark); }

.es-post-share { display: flex; align-items: center; gap: 12px; margin-top: 40px; padding-top: 24px;
    border-top: 1px solid var(--line); }
.es-post-share span { font-size: 13.5px; color: var(--text-muted); font-weight: 600; }
.es-post-share a { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-soft);
    display: flex; align-items: center; justify-content: center; color: var(--navy); }
.es-post-share a:hover { background: var(--amber); color: var(--navy); }

.es-post-author { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.es-post-author-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--navy); color: var(--amber);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px;
    flex: none;
}
.es-post-author-name { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.es-post-author-date { font-size: 13px; color: var(--text-muted); }

.es-post-tldr {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 0 0 32px;
}
.es-post-tldr p { margin-bottom: 0; font-size: 15px; color: var(--text); }
.es-post-tldr strong { font-family: 'Poppins', sans-serif; color: var(--navy); }

.es-post-img { margin: 28px 0; }
.es-post-img img { width: 100%; border-radius: var(--radius); display: block; }
.es-post-img figcaption { font-size: 13px; color: var(--text-muted); margin-top: 10px; text-align: center; }

.es-faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.es-faq-item:first-child { padding-top: 0; }
.es-faq-item h3 { font-size: 16.5px; margin: 0 0 8px; }
.es-faq-item p { margin-bottom: 0; color: var(--text-muted); font-size: 15px; }

/* Bootstrap-datepicker re-theme to match the new design */
.datepicker.dropdown-menu {
    font-family: 'Inter', sans-serif;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 12px;
}
.datepicker table tr td.active.active,
.datepicker table tr td.today,
.datepicker table tr td.selected {
    background: var(--amber) !important;
    background-image: none !important;
    color: var(--navy) !important;
    text-shadow: none !important;
}
.datepicker table tr td.day:hover { background: var(--bg-soft-2); }
.datepicker table tr th { font-family: 'Poppins', sans-serif; color: var(--navy); }
