/*
Theme Name: Shoretos Custom
Theme URI: https://shoretoshorelandcare.com
Author: Logic Web Media
Description: Custom WordPress theme — exact clone of Shore to Shore Land Care Elementor site
Version: 1.0.0
Text Domain: shoretos-custom
*/

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: #000;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s, opacity 0.2s; }
ul { list-style: none; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* =============================================
   EXACT COLORS FROM LIVE SITE
   ============================================= */
:root {
    --blue:       #506fab;   /* primary — buttons, header, blue sections */
    --blue-dark:  #3a5490;   /* hover state */
    --white:      #FFFFFF;
    --black:      #111111;
    --near-black: #000000;
    --text-dark:  #1e293b;
    --gray-light: #F0F5FA;
    --gray-mid:   #D1D5DB;
    --max-width:  1240px;
    --header-h:   80px;
    /* NO GREEN — source site uses blue for all sections/buttons */
}

/* =============================================
   TYPOGRAPHY — Jost (body + headings, exact match)
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--near-black);
}

/* =============================================
   LAYOUT
   ============================================= */
.s2s-container {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}
/* Prevent any child from busting out */
* { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }
.s2s-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* =============================================
   BUTTONS
   ============================================= */
.s2s-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    border: 0;
    white-space: nowrap;
    text-decoration: none;
}
.s2s-btn-primary { background: var(--blue); color: #fff; }   /* primary = #506fab blue */
.s2s-btn-primary:hover { background: #3a5490; color: #fff; }
.s2s-btn-white { background: #fff; color: var(--blue); }
.s2s-btn-white:hover { background: var(--gray-light); }
/* CTA banner button — blue on dark bg */
.s2s-btn-cta-green {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--blue); color: #fff;
    padding: 15px 30px; font-size: 1rem; font-weight: 500;
    border-radius: 4px; border: none; transition: background 0.2s;
    text-decoration: none; font-family: 'Jost', sans-serif;
}
.s2s-btn-cta-green:hover { background: var(--blue-dark); color: #fff; }
.s2s-btn-outline {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}
.s2s-btn-outline:hover { background: var(--blue); color: #fff; }

/* =============================================
   HEADER — blue bg #506fab, exact match to screenshot
   ============================================= */
.s2s-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--blue);
    transition: box-shadow 0.3s;
}
.s2s-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.25); }
.s2s-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 32px;
}
.s2s-logo { flex-shrink: 0; }
.s2s-logo img { height: 48px; width: auto; }
.s2s-nav { flex: 1; display: flex; justify-content: center; }
.s2s-menu { display: flex; align-items: center; gap: 0; }
.s2s-menu > li { position: relative; }
.s2s-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 20px;
    height: var(--header-h);
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.01em;
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s;
}
.s2s-menu > li > a:hover,
.s2s-menu > li.current > a { border-bottom-color: #fff; color: #fff; }
.s2s-menu > li > a .fa-angle-down { font-size: 0.7rem; opacity: 0.7; transition: transform 0.2s; margin-left: 2px; }
.s2s-menu > li:hover > a .fa-angle-down { transform: rotate(180deg); }
.s2s-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 230px;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border-top: 3px solid var(--blue);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 100;
}
.s2s-menu > li:hover .s2s-dropdown,
.s2s-menu > li:focus-within .s2s-dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.s2s-dropdown li a {
    display: block;
    padding: 10px 18px;
    font-size: 0.875rem;
    color: var(--text-dark);
    transition: background 0.15s, color 0.15s;
}
.s2s-dropdown li a:hover { background: var(--gray-light); color: var(--blue); }
.s2s-header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.s2s-header-phone {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    font-size: 1.3rem;
    color: #fff;
    transition: background 0.2s;
}
.s2s-header-phone:hover { background: rgba(255,255,255,0.25); }
.s2s-btn-header {
    background: #fff;
    color: var(--blue);
    border: 2px solid #fff;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
}
.s2s-btn-header:hover { background: transparent; color: #fff; }
/* =============================================
   HAMBURGER BUTTON
   ============================================= */
.s2s-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    cursor: pointer;
    margin-left: auto;
    padding: 0;
    gap: 0;
    transition: background 0.2s;
}
.s2s-mobile-toggle:hover { background: rgba(255,255,255,0.22); }
.s2s-hamburger {
    display: flex; flex-direction: column;
    gap: 5px; width: 22px;
}
.s2s-hamburger span {
    display: block; width: 100%; height: 2px;
    background: #fff; border-radius: 2px;
    transition: transform 0.35s cubic-bezier(.77,0,.18,1), opacity 0.25s;
    transform-origin: center;
}
.s2s-mobile-toggle.open .s2s-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.s2s-mobile-toggle.open .s2s-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.s2s-mobile-toggle.open .s2s-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   MOBILE FULLSCREEN NAV
   ============================================= */
.s2s-mobile-nav {
    position: fixed; inset: 0; z-index: 10000;
    width: 100vw; height: 100dvh;
    background: linear-gradient(145deg, #0d1f2d 0%, #1a3a52 55%, #0b2a1f 100%);
    display: flex; flex-direction: column;
    opacity: 0; visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.38s cubic-bezier(.77,0,.18,1), visibility 0.38s, transform 0.38s cubic-bezier(.77,0,.18,1);
    overflow: hidden;
}
.s2s-mobile-nav.open {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.s2s-mobile-nav.closing {
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}
/* Decorative background shape */
.s2s-mnav-bg-shape {
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(80,111,171,0.25) 0%, transparent 70%);
    top: -120px; right: -120px;
    pointer-events: none;
}
.s2s-mnav-bg-shape::after {
    content: '';
    position: absolute;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(33,68,37,0.2) 0%, transparent 70%);
    bottom: -200px; left: -80px;
}
/* Close button */
.s2s-mobile-close {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; flex-shrink: 0;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff; font-size: 1rem;
    cursor: pointer;
    align-self: flex-end;
    margin-bottom: 20px;
    transition: background 0.2s, transform 0.3s cubic-bezier(.77,0,.18,1);
    position: relative; z-index: 10;
}
.s2s-mobile-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }
/* Content wrapper */
.s2s-mnav-content {
    position: relative; z-index: 2;
    display: flex; flex-direction: column;
    height: 100%; padding: 24px 32px 0;
    overflow-y: auto;
}
/* Logo in nav */
.s2s-mnav-logo {
    margin-bottom: 36px;
    opacity: 0; transform: translateY(-10px);
    transition: opacity 0.4s 0.15s, transform 0.4s 0.15s;
}
.s2s-mobile-nav.open .s2s-mnav-logo { opacity: 1; transform: translateY(0); }
.s2s-mnav-logo img { filter: brightness(0) invert(1); height: 36px; width: auto; }
/* Menu list */
.s2s-mobile-menu {
    list-style: none; margin: 0; padding: 0; flex: 1;
}
.s2s-mobile-menu > li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    opacity: 0; transform: translateX(-20px);
    transition: opacity 0.35s, transform 0.35s;
}
.s2s-mobile-nav.open .s2s-mobile-menu > li:nth-child(1) { opacity:1; transform:none; transition-delay:0.18s; }
.s2s-mobile-nav.open .s2s-mobile-menu > li:nth-child(2) { opacity:1; transform:none; transition-delay:0.23s; }
.s2s-mobile-nav.open .s2s-mobile-menu > li:nth-child(3) { opacity:1; transform:none; transition-delay:0.28s; }
.s2s-mobile-nav.open .s2s-mobile-menu > li:nth-child(4) { opacity:1; transform:none; transition-delay:0.33s; }
.s2s-mobile-nav.open .s2s-mobile-menu > li:nth-child(5) { opacity:1; transform:none; transition-delay:0.38s; }
.s2s-mobile-menu > li > a,
.s2s-mnav-parent {
    display: flex; align-items: center; gap: 14px;
    width: 100%; padding: 18px 0;
    font-size: 1.25rem; font-weight: 700;
    color: #fff; text-decoration: none;
    background: none; border: none; cursor: pointer;
    text-align: left;
    letter-spacing: 0.02em;
    transition: color 0.2s, gap 0.2s;
}
.s2s-mobile-menu > li > a:hover,
.s2s-mnav-parent:hover { color: var(--blue); gap: 18px; }
.s2s-mnav-num {
    font-size: 0.7rem; font-weight: 400;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.1em;
    min-width: 22px;
}
.s2s-mnav-parent .fa-angle-down {
    margin-left: auto; font-size: 0.9rem;
    transition: transform 0.3s;
    color: rgba(255,255,255,0.5);
}
.s2s-mnav-parent[aria-expanded="true"] .fa-angle-down { transform: rotate(180deg); }
/* Sub-menu */
.s2s-mnav-sub {
    list-style: none; margin: 0; padding: 0 0 12px 36px;
    display: none;
}
.s2s-mnav-sub.open { display: block; }
.s2s-mnav-sub li a {
    display: block; padding: 9px 0;
    font-size: 0.95rem; font-weight: 500;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.2s, padding-left 0.2s;
}
.s2s-mnav-sub li:last-child a { border-bottom: none; }
.s2s-mnav-sub li a:hover { color: #fff; padding-left: 6px; }
/* Bottom CTA strip */
.s2s-mnav-cta {
    display: flex; gap: 12px;
    padding: 24px 0 32px;
    margin-top: auto;
    opacity: 0; transform: translateY(10px);
    transition: opacity 0.4s 0.45s, transform 0.4s 0.45s;
}
.s2s-mobile-nav.open .s2s-mnav-cta { opacity: 1; transform: translateY(0); }
.s2s-mnav-cta-call,
.s2s-mnav-cta-quote {
    flex: 1; display: flex; align-items: center; justify-content: center;
    gap: 8px; padding: 14px 12px;
    border-radius: 8px;
    font-size: 0.9rem; font-weight: 700;
    text-decoration: none;
    text-transform: uppercase; letter-spacing: 0.04em;
    transition: transform 0.2s, opacity 0.2s;
}
.s2s-mnav-cta-call:active,
.s2s-mnav-cta-quote:active { transform: scale(0.97); opacity: 0.9; }
.s2s-mnav-cta-call {
    background: var(--blue, #506fab);
    color: #fff;
}
.s2s-mnav-cta-quote {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
}

/* =============================================
   S1: HERO — min-height 873px, video bg, overlay opacity 0.59
   ============================================= */
.s2s-hero {
    position: relative;
    min-height: 873px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
    text-align: center;
}
.s2s-hero-video { position: absolute; inset: 0; z-index: 0; }
.s2s-hero-video video { width: 100%; height: 100%; object-fit: cover; }
.s2s-hero-overlay { position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,0.59); }
.s2s-hero-wrap { position: relative; z-index: 2; width: 100%; }
.s2s-hero-content {
    color: #fff;
    padding: 100px 20px 0;
    max-width: 900px;
    margin: 0 auto;
}
.s2s-hero-content h2 {
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-size: 99px;
    font-weight: 600;
    line-height: 80px;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}
.s2s-hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 36px;
}
.s2s-btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);   /* primary = blue on hero */
    color: #fff;
    padding: 15px 30px;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    border: none;
    transition: background 0.2s;
    text-decoration: none;
}
.s2s-btn-hero:hover { background: #3a5490; color: #fff; }

/* Floating CTA pill */
.s2s-float-cta {
    position: fixed;
    bottom: 24px; right: 24px; z-index: 500;
    background: var(--blue); color: #fff;
    padding: 14px 22px; border-radius: 40px;
    font-size: 0.9rem; font-weight: 600;
    display: flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 20px rgba(80,107,171,0.5);
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}
.s2s-float-cta:hover { background: #3a5490; transform: translateY(-2px); color: #fff; }

/* =============================================
   S2: ABOUT — white bg, padding 50px 0
   ============================================= */
.s2s-section-about { background: #fff; padding: 50px 0; }
.s2s-video-thumb { position: relative; height: 460px; border-radius: 8px; overflow: hidden; }
.s2s-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.s2s-play-btn {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
}
.s2s-play-btn i {
    width: 68px; height: 68px;
    background: var(--blue); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.3rem; padding-left: 4px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.35);
    transition: background 0.2s, transform 0.2s;
}
.s2s-play-btn:hover i { background: var(--blue); transform: scale(1.06); }
.s2s-section-label-line { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.s2s-label-divider { width: 40px; height: 2px; background: var(--blue); flex-shrink: 0; }
.s2s-label-text { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #888; }
.s2s-split-content h2 { font-size: 45px; font-weight: 600; color: var(--near-black); margin-bottom: 16px; }
.s2s-split-content p { color: #444; font-size: 1rem; line-height: 1.7; }
.s2s-btn-group { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.s2s-btn-ghost {
    display: inline-flex; align-items: center;
    background: transparent; color: var(--near-black);
    padding: 15px 0; font-size: 1rem; font-weight: 500;
    border: none; text-decoration: none; transition: color 0.2s;
}
.s2s-btn-ghost:hover { color: var(--blue); }

/* =============================================
   S3: SERVICES — white bg, padding 40px 0, 3-col portrait grid
   ============================================= */
.s2s-section-services { background: #fff; padding: 40px 0; }
.s2s-services-header { margin-bottom: 16px; text-align: center; }
.s2s-eyebrow-label {
    display: block;
    font-size: 0.85rem; font-weight: 400; color: #555;
    margin-bottom: 4px;
    text-transform: lowercase; letter-spacing: 0.02em;
}
.s2s-services-header h2 { font-size: 50px; font-weight: 700; color: var(--near-black); }
.s2s-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 16px;
}
.s2s-service-item { position: static; overflow: visible; }
.s2s-service-item a { display: block; position: relative; overflow: hidden; }
.s2s-service-item img {
    width: 100%; height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.s2s-service-item:hover img { transform: scale(1.1); }
.s2s-service-label {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 10px 16px; text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
}
.s2s-service-label span {
    font-family: 'Jost', sans-serif;
    font-size: 22px; font-weight: 600;
    color: #fff; display: block;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    line-height: 1.3;
}

/* =============================================
   S4: CTA BANNER — black+cta.jpg bg, overlay #111 0.92, padding 120px 0
   ============================================= */
.s2s-cta-banner {
    position: relative;
    background-color: #000;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}
.s2s-cta-banner-overlay {
    position: absolute; inset: 0;
    background: #111111; opacity: 0.92;
}
.s2s-cta-inner { position: relative; z-index: 2; }
.s2s-cta-divider-line {
    width: 6%; height: 1px;
    background: #fff; margin: 0 auto 20px;
}
.s2s-cta-banner h3 {
    color: #fff;
    font-size: 4.2rem; font-weight: 700;
    line-height: 1em; letter-spacing: 1px;
    margin-bottom: 16px;
    max-width: 65%; margin-left: auto; margin-right: auto;
}
.s2s-cta-banner p {
    color: #fff;
    font-size: 1rem; line-height: 1.8em; letter-spacing: 1px;
    max-width: 50%; margin: 0 auto 28px;
}

/* =============================================
   S5: ROADMAP — var(--blue) green bg, padding 60px 0, 4-col images
   ============================================= */
.s2s-section-roadmap { background: var(--blue); padding: 60px 0; text-align: center; }
.s2s-roadmap-title { color: #fff; margin-bottom: 24px; }
.s2s-roadmap-imgs {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 10px; margin-top: 16px;
}
.s2s-roadmap-imgs img {
    width: 100%; height: 140px;
    object-fit: cover; border-radius: 4px;
}

/* =============================================
   S6: OUR WORK — white bg, padding 40px 0, 3x2 gallery
   ============================================= */
.s2s-section-ourwork { background: #fff; padding: 40px 0; }
.s2s-ourwork-header { margin-bottom: 20px; }
.s2s-ourwork-eyebrow {
    font-size: 24px; color: var(--near-black);
    text-transform: none; font-weight: 400; margin-bottom: 0;
}
.s2s-ourwork-header h1 {
    font-size: 50px; line-height: 60px;
    color: var(--near-black); margin-top: -8px;
}
.s2s-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.s2s-gallery-item {
    position: relative; overflow: hidden;
    aspect-ratio: 1; cursor: pointer;
}
.s2s-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.s2s-gallery-item:hover img { transform: scale(1.06); }
.s2s-gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(33,68,37,0.55);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.25s;
    color: #fff; font-size: 2rem;
}
.s2s-gallery-item:hover .s2s-gallery-overlay { opacity: 1; }

/* =============================================
   S7+S8: WHY CHOOSE US — var(--blue) green bg, 4x2 icon boxes
   ============================================= */
.s2s-section-why { background: var(--blue); padding: 50px 0 40px; }
.s2s-why-title {
    color: #fff; text-align: center;
    margin-bottom: 20px; font-size: 2rem; font-weight: 700;
}
.s2s-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
    overflow: hidden;
}
.s2s-why-item {
    padding: 40px 20px;
    border: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    transition: background 0.2s;
}
.s2s-why-item:hover { background: var(--blue-dark); }
.s2s-why-icon {
    width: 72px; height: 61px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
}
.s2s-why-icon i { font-size: 48px; color: #fff; }
.s2s-why-item h4 { color: #fff; font-size: 1rem; margin: 12px 0 8px; }
.s2s-why-item p { color: rgba(255,255,255,0.8); font-size: 0.875rem; line-height: 1.6; }

/* =============================================
   S9: STATS — #2D2D2D + Numbers-Speak.jpg fixed bg, padding 70px 0
   ============================================= */
.s2s-section-stats {
    position: relative;
    background-color: #2D2D2D;
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 70px 0;
    text-align: center;
}
/* Dark overlay so white text is legible over the photo */
.s2s-section-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 0;
}
.s2s-section-stats .s2s-container {
    position: relative;
    z-index: 1;
}
.s2s-stats-header { margin-bottom: 48px; }
.s2s-stats-header h2 { color: #fff; margin-bottom: 12px; }
.s2s-stats-header p { color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 640px; margin: 0 auto; }
.s2s-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
}
.s2s-stat-item {
    padding: 10px 0;
    border-right: 1px solid rgba(255,255,255,0.2);
}
.s2s-stat-item:last-child { border-right: none; }
.s2s-stat-num {
    font-size: 58px; font-weight: 500;
    color: #fff; font-family: 'Jost', sans-serif; line-height: 1;
}
.s2s-stat-divider {
    width: 40%; height: 1px;
    background: rgba(255,255,255,0.3);
    margin: 12px auto;
}
.s2s-stat-label { color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500; }

/* =============================================
   S9: LANDSCAPE CTA — 2-col: left=dark bg image+text, right=stacked 2 images
   ============================================= */
/* =============================================
   S9: LANDSCAPE CTA — white bg, left=text, right=2 side-by-side photos
   Matches live site exactly (screenshot confirmed)
   ============================================= */
.s2s-section-landscape-cta {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    min-height: 500px;
    background: #fff;
    align-items: stretch;
}
/* Left: white bg, left-aligned text, no overlay */
.s2s-landscape-left {
    background: #fff;
    display: flex;
    align-items: center;
    padding: 60px 48px;
}
.s2s-landscape-left::before { display: none; }
.s2s-landscape-left-inner {
    max-width: 380px;
}
.s2s-landscape-left-inner .s2s-eyebrow-label {
    color: #555;
    font-size: 0.85rem;
    text-transform: none;
    margin-bottom: 12px;
}
.s2s-landscape-left-inner h2 {
    color: var(--blue);  /* blue heading on white bg — matches screenshot */
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0;
    margin-top: 4px;
}
/* Dark button with arrow icon */
.s2s-btn-dark-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1e293b;
    color: #fff;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    border: none;
    text-decoration: none;
    transition: background 0.2s;
    font-family: 'Jost', sans-serif;
}
.s2s-btn-dark-arrow:hover { background: #111; color: #fff; }
.s2s-arrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 2px;
    font-size: 0.85rem;
    line-height: 1;
    flex-shrink: 0;
}
/* Right: 2 photos side by side in a row */
.s2s-landscape-right {
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding: 24px 24px 24px 0;
    align-items: stretch;
}
.s2s-landscape-photo {
    flex: 1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 4px;
    min-height: 300px;
}

/* =============================================
   GET STARTED + FOOTER
   ============================================= */
.s2s-get-started { background: var(--gray-light); padding: 60px 0; }
.s2s-get-started-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.s2s-get-started-text h2 { margin-bottom: 16px; }
.s2s-get-started-text p { color: #555; margin-bottom: 28px; }
.s2s-get-started-image img { width: 100%; border-radius: 8px; }

.s2s-footer { background: #111; color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.s2s-footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px; padding-bottom: 48px;
}
.s2s-footer-about p { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-top: 12px; }
.s2s-footer-col h6 {
    color: #fff; font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 16px; margin-top: 16px;
}
.s2s-footer-about h6 { margin-top: 20px; }
.s2s-footer-col ul li { margin-bottom: 8px; }
.s2s-footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: color 0.2s; }
.s2s-footer-col ul li a:hover { color: #fff; }
.s2s-footer-col ul li i { width: 16px; margin-right: 6px; color: var(--blue); }
.s2s-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0; text-align: center;
    font-size: 0.82rem; color: rgba(255,255,255,0.4);
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.s2s-page-hero {
    position: relative; min-height: 260px;
    display: flex; align-items: center;
    background: #111; overflow: hidden;
}
.s2s-page-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center; opacity: 0.5;
}
.s2s-page-hero-content {
    position: relative; z-index: 2;
    color: #fff; padding: 60px 0 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.s2s-page-hero-content h1 { color: #fff; margin-bottom: 12px; font-size: 42px; line-height: 1.2; font-weight: 700; }
.s2s-page-hero-content p { color: rgba(255,255,255,0.82); font-size: 1.05rem; max-width: 660px; }

/* =============================================
   CONTACT
   ============================================= */
.s2s-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.s2s-contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.s2s-contact-icon {
    width: 48px; height: 48px;
    background: #e8f2e9; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue); font-size: 1.1rem; flex-shrink: 0;
}
.s2s-contact-info-item h4 { margin-bottom: 4px; font-size: 0.95rem; }
.s2s-contact-info-item p, .s2s-contact-info-item a { font-size: 0.9rem; color: #444; }
.s2s-form .s2s-form-group { margin-bottom: 18px; }
.s2s-form label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.s2s-form input, .s2s-form textarea, .s2s-form select {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--gray-mid); border-radius: 4px;
    font-size: 0.95rem; font-family: inherit;
    color: var(--near-black); background: #fff;
    transition: border-color 0.2s;
}
.s2s-form input:focus, .s2s-form textarea:focus, .s2s-form select:focus { outline: none; border-color: var(--blue); }
.s2s-form textarea { min-height: 120px; resize: vertical; }

/* =============================================
   LIGHTBOX
   ============================================= */
.s2s-lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.92); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.s2s-lightbox.active { opacity: 1; pointer-events: all; }
.s2s-lightbox-img { max-width: 90vw; max-height: 90vh; border-radius: 4px; }
.s2s-lightbox-close {
    position: absolute; top: 20px; right: 20px;
    color: #fff; font-size: 2rem; cursor: pointer;
    background: none; border: none; line-height: 1; padding: 8px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .s2s-hero { min-height: 422px; }
    .s2s-hero-content { padding-top: 0; }
    .s2s-hero-content h2 { font-size: 55px; line-height: 55px; }
    .s2s-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .s2s-get-started-inner { grid-template-columns: 1fr; }
    .s2s-contact-grid { grid-template-columns: 1fr; }
    .s2s-section-landscape-cta { grid-template-columns: 1fr; }
    .s2s-landscape-right { min-height: 280px; }
}
@media (max-width: 768px) {
    :root { --header-h: 68px; }
    .s2s-nav, .s2s-header-actions { display: none; }
    .s2s-mobile-toggle { display: flex; }
    .s2s-hero { min-height: 500px; padding: 50px 0; }
    .s2s-hero-content { padding-top: 0; }
    .s2s-hero-content h2 { font-size: 40px; line-height: 40px; }
    .s2s-split { grid-template-columns: 1fr; gap: 32px; }
    .s2s-services-grid { grid-template-columns: 1fr; }
    .s2s-services-header h2 { font-size: 2rem; }
    .s2s-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .s2s-why-grid { grid-template-columns: repeat(2, 1fr); }
    .s2s-stats-row { grid-template-columns: repeat(2, 1fr); }
    .s2s-stat-item:nth-child(2) { border-right: none; }
    .s2s-roadmap-imgs { grid-template-columns: repeat(2, 1fr); }
    .s2s-cta-banner { padding: 60px 0; }
    .s2s-cta-banner h3 { font-size: 1.8rem; max-width: 90%; }
    .s2s-cta-banner p { max-width: 90%; }
    .s2s-section-roadmap { padding: 40px 0; }
    .s2s-footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .s2s-ourwork-header h1 { font-size: 2rem; line-height: 1.2; }
}
@media (max-width: 480px) {
    .s2s-gallery-grid { grid-template-columns: 1fr; }
    .s2s-stats-row { grid-template-columns: 1fr; }
    .s2s-stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
    .s2s-why-grid { grid-template-columns: 1fr; }
}

/* =============================================
   MOBILE OVERFLOW KILL — catches all inline grids
   ============================================= */
@media (max-width: 768px) {
    /* Global overflow guard */
    *, *::before, *::after { max-width: 100%; box-sizing: border-box; }
    .s2s-container { padding: 0 16px; }

    /* Kill every inline grid — attribute selector overrides inline style */
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    /* Exceptions: 2-col is fine on tablet/small screens for galleries */
    .s2s-gallery-grid[style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    /* Name+phone row in forms stays 2-col down to 400px */
    .s2s-form-row-2col[style*="grid-template-columns"] {
        grid-template-columns: 1fr 1fr !important;
    }

    /* CSS class grids not already handled */
    .s2s-services-grid { grid-template-columns: 1fr 1fr !important; }
    .s2s-why-grid { grid-template-columns: 1fr 1fr !important; }
    .s2s-roadmap-imgs { grid-template-columns: repeat(2, 1fr) !important; }
    .s2s-footer-grid { grid-template-columns: 1fr !important; }
    .s2s-section-landscape-cta { grid-template-columns: 1fr !important; }

    /* Prevent wide images/elements pushing layout */
    img, video, iframe, table { max-width: 100% !important; }

    /* Interior page hero split — force stack */
    .s2s-page-hero { min-height: 280px !important; }
}

@media (max-width: 480px) {
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    .s2s-gallery-grid[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    .s2s-services-grid { grid-template-columns: 1fr !important; }
    .s2s-why-grid { grid-template-columns: 1fr !important; }
    /* Form name/phone goes single col on very small screens */
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* =============================================
   INTERIOR PAGE COMPONENTS
   ============================================= */

/* Page section wrapper */
.s2s-section-about { padding: 60px 0; background: #fff; }
.s2s-section-header { margin-bottom: 40px; }

/* Service cards (grid) */
.s2s-service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.s2s-service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.14); }
.s2s-service-card-image {
    overflow: hidden;
    display: block;
    aspect-ratio: 4/5;
}
.s2s-service-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.s2s-service-card:hover .s2s-service-card-image img { transform: scale(1.06); }
.s2s-service-card-body { padding: 16px; flex: 1; }
.s2s-service-card-body h4 { font-size: 1rem; margin-bottom: 8px; }
.s2s-service-card-body p { font-size: 0.875rem; color: #555; }

/* Process steps */
.s2s-process { display: flex; flex-direction: column; }
.s2s-process-item {
    display: flex; gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-mid);
    align-items: flex-start;
}
.s2s-process-item:last-child { border-bottom: none; }
.s2s-process-num {
    width: 40px; height: 40px;
    background: var(--blue); color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.s2s-process-item h4 { margin-bottom: 4px; font-size: 0.95rem; }
.s2s-process-item p { font-size: 0.875rem; color: #555; }

/* Split layout for interior pages */
.s2s-split-image {
    overflow: hidden;
    border-radius: 8px;
}
.s2s-split-image img {
    width: 100%; height: 100%;
    object-fit: cover; border-radius: 8px;
}

/* Footer CTA section (Get Started) */
.s2s-get-started { background: var(--gray-light); padding: 60px 0; }
.s2s-get-started-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.s2s-get-started-text h2 { margin-bottom: 16px; }
.s2s-get-started-text p { color: #555; margin-bottom: 28px; }
.s2s-get-started-image img { width: 100%; border-radius: 8px; }

/* Generic section padding helpers */
.s2s-py-60 { padding: 60px 0; }
.s2s-bg-gray { background: var(--gray-light); }
.s2s-bg-dark { background: #111; }

/* Responsive interior */
@media (max-width: 768px) {
    .s2s-split { grid-template-columns: 1fr; gap: 32px; }
    .s2s-services-grid { grid-template-columns: 1fr; }
    .s2s-contact-grid { grid-template-columns: 1fr; }
    .s2s-section-landscape-cta { grid-template-columns: 1fr; }
    .s2s-landscape-right { flex-direction: column; padding: 0 0 24px; gap: 8px; }
    .s2s-landscape-photo { min-height: 200px; }
    .s2s-landscape-left { padding: 40px 24px; }
}

/* -----------------------------------------------
   STICKY MOBILE FOOTER BAR
----------------------------------------------- */
.s2s-sticky-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 8000;
    height: 60px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
}
.s2s-sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 50%;
    height: 100%;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    float: left;
    transition: opacity 0.2s;
}
.s2s-sticky-btn:active { opacity: 0.85; }
.s2s-sticky-quote {
    background: #0d1f2d;
    color: #fff;
}
.s2s-sticky-call {
    background: var(--blue, #506fab);
    color: #fff;
}
@media (max-width: 991px) {
    .s2s-sticky-footer { display: flex; }
    body { padding-bottom: 60px; }
}
