/* InsureShield landing page - 2AM Logistics.
   Base rules copied from the main site's styles.css (variables, navigation, buttons,
   sections, cards, footer) so the page matches the site; is-* rules are page-specific. */
:root {
    --lime-green: #32cd32;
    --lime-green-dark: #28a828;
    --lime-green-light: #7cfc00;
    --lime-green-bg: #f0fff0;
    --white: #ffffff;
    --off-white: #fafafa;
    --dark-gray: #1a1a1a;
    --medium-gray: #4a4a4a;
    --light-gray: #e5e5e5;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --green-text: #1f7a1f; /* darker green for small text on white (contrast) */
    --shadow-sm: 0 2px 8px rgba(50, 205, 50, 0.1);
    --shadow-md: 0 4px 16px rgba(50, 205, 50, 0.15);
    --shadow-lg: 0 8px 32px rgba(50, 205, 50, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6; color: var(--text-dark); background-color: var(--white); overflow-x: hidden;
}
sup { font-size: 0.6em; line-height: 0; }
a { color: var(--green-text); }
a[href^="tel:"] { white-space: nowrap; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navigation */
.navbar { position: fixed; top: 0; left: 0; right: 0; background: var(--white); box-shadow: var(--shadow-sm); z-index: 1000; transition: var(--transition); }
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0; }
.logo { display: flex; align-items: center; height: 120px; }
.logo a { display: inline-flex; align-items: center; height: 100%; }
.logo img { height: 100%; width: auto; max-width: 300px; object-fit: contain; display: block; transition: var(--transition); }
.logo img:hover { transform: scale(1.02); }
.nav-menu { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-link { text-decoration: none; color: var(--text-dark); font-weight: 500; font-size: 0.95rem; transition: var(--transition); position: relative; padding: 0.5rem 0; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--lime-green); transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--lime-green-dark); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 4px; background: none; border: 0; padding: 8px; }
.hamburger span { width: 25px; height: 3px; background: var(--lime-green-dark); transition: var(--transition); border-radius: 2px; }

/* Buttons */
.btn { display: inline-block; padding: 1rem 2.5rem; font-size: 1rem; font-weight: 600; text-decoration: none; border-radius: 50px; transition: var(--transition); cursor: pointer; border: none; text-align: center; }
.btn-primary { background: var(--lime-green); color: var(--white); box-shadow: 0 4px 14px 0 rgba(50, 205, 50, 0.3); font-size: 1.1rem; padding: 1.1rem 2.8rem; }
.btn-primary:hover { background: var(--lime-green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px 0 rgba(50, 205, 50, 0.4); }
.btn-secondary { background: var(--white); color: var(--lime-green-dark); border: 2px solid var(--lime-green); font-size: 1.1rem; padding: 1.1rem 2.8rem; box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1); }
.btn-secondary:hover { background: var(--lime-green); color: var(--white); transform: translateY(-2px); }
.hero-cta { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; align-items: center; }

/* Sections */
.section { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-title { font-size: 2.5rem; font-weight: 800; color: var(--text-dark); margin-bottom: 1rem; line-height: 1.2; }
.title-underline { width: 100px; height: 4px; background: linear-gradient(to right, var(--lime-green-light), var(--lime-green-dark)); margin: 0 auto 1.5rem; border-radius: 2px; }
.section-subtitle { font-size: 1.2rem; color: var(--text-light); max-width: 820px; margin: 0 auto; }

/* Cards (same as Services) */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.service-card { background: var(--white); padding: 2.5rem; border-radius: 16px; box-shadow: var(--shadow-sm); border: 2px solid transparent; transition: var(--transition); position: relative; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--lime-green); }
.service-icon { width: 56px; height: 56px; color: var(--lime-green-dark); margin-bottom: 1.25rem; }
.service-icon svg { width: 100%; height: 100%; }
.service-title { font-size: 1.4rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.75rem; }
.service-subtitle { font-size: 0.85rem; color: var(--green-text); font-weight: 600; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 1px; }
.service-description { color: var(--text-light); line-height: 1.7; }

/* ---------- Page-specific ---------- */
main { padding-top: 144px; }
.is-banner { background: var(--dark-gray); }
.is-banner img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: cover; object-position: left center; }

.is-intro { background: var(--white); }
.is-eyebrow { display: inline-block; background: var(--lime-green-bg); color: var(--green-text); padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.25rem; }
.is-intro-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: start; }
.is-copy { font-size: 1.1rem; line-height: 1.8; }
.is-copy p { margin-bottom: 1.5rem; color: var(--text-light); }
.is-copy .lead { font-size: 1.25rem; font-weight: 600; color: var(--text-dark); }
.is-tagline { font-weight: 600; color: var(--green-text) !important; padding: 1.5rem; background: var(--off-white); border-left: 4px solid var(--lime-green); border-radius: 8px; }
.is-cta-card { background: var(--lime-green-bg); border-radius: 20px; padding: 2.5rem 2rem; text-align: center; box-shadow: var(--shadow-md); position: sticky; top: 160px; }
.is-cta-card h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.75rem; }
.is-cta-card p { color: var(--text-light); margin-bottom: 1.5rem; }
.is-cta-card .btn { display: block; width: 100%; padding-left: 1rem; padding-right: 1rem; margin-bottom: 1rem; }
.is-cta-card .is-small { margin: 0.5rem 0 0; }
.is-small { font-size: 0.95rem; color: var(--text-light); }

.is-what { background: var(--off-white); }
.is-sub { text-align: center; font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; }
.is-keys { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.is-keys li { background: var(--white); border-radius: 16px; padding: 1.75rem 1.5rem 1.5rem; box-shadow: var(--shadow-sm); color: var(--text-dark); font-weight: 500; line-height: 1.6; }
.is-check { display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--lime-green); margin-bottom: 1rem; position: relative; }
.is-check::after { content: ''; position: absolute; left: 13px; top: 8px; width: 8px; height: 15px; border: solid var(--white); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.is-fnref { text-decoration: none; font-weight: 700; margin-left: 1px; }

.is-benefits { background: var(--white); padding-top: 80px; }

.is-band { background: var(--lime-green-bg); }
.is-band-box { background: var(--white); max-width: 900px; margin: 0 auto; padding: 3.5rem; border-radius: 20px; text-align: center; box-shadow: var(--shadow-md); }
.is-band-box h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1.25rem; }
.is-band-box p { color: var(--text-light); font-size: 1.1rem; margin-bottom: 1.25rem; }
.is-band-box .is-strong { color: var(--green-text); font-weight: 600; }
.is-band-box .hero-cta { margin: 2rem 0; }
.is-band-box .is-small { font-size: 0.95rem; margin-bottom: 0; }

.is-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 900px; margin: 0 auto; }
.is-contact { border: 2px solid var(--light-gray); border-left: 6px solid var(--lime-green); border-radius: 16px; padding: 2rem; }
.is-contact h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.is-contact p:last-child { font-size: 1.1rem; }
.is-questions { padding-bottom: 40px; }

.is-faq { background: var(--off-white); }
.is-faq-list { max-width: 900px; margin: 0 auto; }
.is-faq-list details { background: var(--white); border-radius: 14px; box-shadow: var(--shadow-sm); margin-bottom: 1rem; border: 2px solid transparent; transition: border-color 0.2s; }
.is-faq-list details[open] { border-color: var(--lime-green); }
.is-faq-list summary { cursor: pointer; list-style: none; padding: 1.25rem 3.5rem 1.25rem 1.5rem; font-weight: 700; font-size: 1.1rem; position: relative; }
.is-faq-list summary::-webkit-details-marker { display: none; }
.is-faq-list summary::after { content: '+'; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 600; color: var(--lime-green-dark); }
.is-faq-list details[open] summary::after { content: '\2212'; }
.is-faq-list summary:focus-visible { outline: 3px solid var(--lime-green); outline-offset: 2px; border-radius: 14px; }
.is-faq-list details p { padding: 0 1.5rem 1.25rem; color: var(--text-light); line-height: 1.7; }

.is-legal { background: var(--white); padding: 50px 0; border-top: 1px solid var(--light-gray); }
.is-legal p { font-size: 0.8rem; color: var(--text-light); line-height: 1.6; margin-bottom: 0.9rem; max-width: 1000px; }
.is-legal a { word-break: break-word; }

/* Footer */
.footer { background: var(--dark-gray); color: var(--white); padding: 4rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-section h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--lime-green-light); }
.footer-section h4.is-follow { margin-top: 18px; }
.footer-logo { font-size: 1.5rem; font-weight: 800; color: var(--lime-green-light); margin-bottom: 1rem; letter-spacing: 2px; }
.footer-tagline { font-size: 1.1rem; font-weight: 600; color: var(--lime-green-light); margin-bottom: 1rem; font-style: italic; }
.footer-section p { color: rgba(255, 255, 255, 0.7); line-height: 1.7; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: var(--transition); }
.footer-links a:hover, .footer-contact a:hover { color: var(--lime-green-light); }
.footer-links a:hover { padding-left: 5px; }
.footer-contact { list-style: none; color: rgba(255, 255, 255, 0.7); line-height: 2; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.5); }

/* Responsive (same breakpoints as the main site) */
@media (max-width: 1100px) { .nav-menu { gap: 1.4rem; } }
@media (max-width: 968px) {
    .logo { height: 65px; }
    .logo img { max-width: 200px; }
    main { padding-top: 89px; }
    html { scroll-padding-top: 100px; }
    .nav-menu { position: fixed; left: -100%; top: 89px; flex-direction: column; background: var(--white); width: 100%; text-align: center; transition: var(--transition); box-shadow: var(--shadow-md); padding: 1rem 0; gap: 0; }
    .nav-menu.active { left: 0; }
    .nav-menu li { width: 100%; padding: 0.85rem 0; }
    .hamburger { display: flex; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
    .section-title { font-size: 2rem; }
    .is-intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .is-cta-card { position: static; }
    .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    .services-grid { grid-template-columns: 1fr; }
    .is-banner img { max-height: none; }
}
@media (max-width: 640px) {
    .logo { height: 55px; }
    .logo img { max-width: 160px; }
    main { padding-top: 79px; }
    .nav-menu { top: 79px; }
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 2.5rem; }
    .section-title { font-size: 1.75rem; }
    .section-subtitle { font-size: 1.05rem; }
    .is-copy { font-size: 1rem; }
    .is-copy .lead { font-size: 1.1rem; }
    .service-card { padding: 2rem; }
    .is-band-box { padding: 2.5rem 1.5rem; }
    .is-band-box h2 { font-size: 1.5rem; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; max-width: 320px; }
    .is-faq-list summary { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
