/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #fff;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 25px 155px;
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 85px;
    height: auto;
}

.nav {
    display: flex;
    gap: 26px;
}

.nav a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-login {
    font-size: 18px;
    color: #000;
    text-decoration: none;
}

.btn-demo {
    background: linear-gradient(90deg, #02c3ef 0%, #015bf8 100%);
    color: #fff;
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 18px;
    text-decoration: none;
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: 50px;
    padding-bottom: 250px;
    padding-left: 155px;
    padding-right: 155px;
    background: #fff;
    border-radius: 0 0 70px 70px;
    position: relative;
}

.hero-wrapper {
    max-width: 1130px;
    margin: 0 auto;
}

/* Badge */
.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-bottom: 37px;
}

.badge-text {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

.badge-star {
    width: 14px;
    height: 13px;
}

.badge-rating {
    font-size: 16px;
    font-weight: 500;
    color: #868686;
}

/* Subtitle */
.hero-subtitle {
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    color: #5b5f66;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Main Title */
.hero-title {
    font-size: 46px;
    font-weight: 800;
    text-align: center;
    color: #000;
    margin-bottom: 60px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

/* Hero Content Grid */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

/* Left: Checkmarks */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 88px;
    padding-left: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-check {
    width: 19.5px;
    height: 8px;
}

.feature-text {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

/* Right: Phone Mockup */
.hero-phone {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 852px;
}

.phone-container {
    position: relative;
    width: 393px;
    height: 852px;
}

/* Phone Status Bar */
.phone-status {
    position: absolute;
    top: 44px;
    left: 22px;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 3;
}

.status-time {
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

.status-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.signal-bars {
    display: flex;
    gap: 3px;
    align-items: flex-end;
    height: 18px;
}

.signal-bars span {
    width: 3px;
    background: #000;
    border-radius: 1px;
}

.signal-bars span:nth-child(1) {
    height: 8px;
}

.signal-bars span:nth-child(2) {
    height: 11px;
}

.signal-bars span:nth-child(3) {
    height: 13px;
}

.signal-bars span:nth-child(4) {
    height: 16px;
}

.status-icons img {
    width: auto;
    height: 22px;
}

/* Phone Screen Image */
.phone-screen {
    position: absolute;
    top: 0;
    left: -4px;
    width: 398px;
    height: 823px;
    object-fit: cover;
    z-index: 1;
}

/* Phone Screen Video -- inset within the device photo's screen area (not
   the full 398x823 photo bounds) so the phone bezel in .phone-screen stays
   visible around it; sits above the backdrop (z-index 1) but below the
   status bar (z-index 3), and is clipped to the phone's rounded corners by
   .phone-container's own overflow:hidden. */
.phone-video {
    position: absolute;
    top: 100px;
    left: 25px;
    width: 340px;
    height: 688px;
    object-fit: cover;
    border-radius: 30px;
    z-index: 2;
}

/* Phone Info Badge */
.phone-badge {
    position: absolute;
    top: 87px;
    left: 50%;
    transform: translateX(-50%);
    width: 380px;
    /* background: rgba(255, 255, 255, 0.95); */
    /* backdrop-filter: blur(10px); */
    border-radius: 15px;
    padding: 27px 25px;
    text-align: center;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); */
    z-index: 2;
}

.phone-badge h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 17px;
    line-height: 1.3;
}

.phone-badge p {
    font-size: 14px;
    font-weight: 700;
    color: #868686;
    line-height: 1.5;
}

/* Small Demo Button on Phone */
.phone-demo {
    position: absolute;
    top: 270px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #02c1ef 0%, #0165f7 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    padding: 5px 8px;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(1, 91, 248, 0.3);
    z-index: 3;
}

/* Decorative Frame */
.phone-decoration {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    z-index: 0;
}

/* ===== SEARCH BOX ===== */
.search-wrapper {
    position: relative;
    z-index: 10;
}

.search-gradient {
    /* All properties disabled per design review -- was masking content
       behind the search box with a white fade that's no longer wanted. */
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 751px;
    height: 94px !important;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0px 3px 11.7px 2px #ffb900;
    padding: 0 20px;
    margin-top: -230px;
}

.search-input {
    flex: 1;
    height: 57px;
    border: none;
    outline: none;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    font-family: 'Inter', sans-serif;
}

.search-input::placeholder {
    color: #868686;
}

.search-btn {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 14px 21px;
    height: 49px;
    background: linear-gradient(90deg, #02c3ef 0%, #0060f7 100%);
    border-radius: 7px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.search-btn img {
    width: 14.73px;
    height: 22px;
}

.search-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* Google Places Autocomplete dropdown for the hero search box. */
.grader-autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
    max-width: 751px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    z-index: 20;
    text-align: left;
    display: none;
}

.grader-autocomplete-list.open {
    display: block;
}

.grader-autocomplete-item {
    padding: 12px 24px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.grader-autocomplete-item:last-child {
    border-bottom: none;
}

.grader-autocomplete-item .name {
    font-weight: 600;
    font-size: 15px;
    color: #000;
}

.grader-autocomplete-item .addr {
    font-size: 13px;
    color: #868686;
    margin-top: 2px;
}

.grader-autocomplete-item.active {
    background: linear-gradient(90deg, #02c3ef 0%, #0060f7 100%);
}

.grader-autocomplete-item.active .name,
.grader-autocomplete-item.active .addr {
    color: #fff;
}

.grader-stub-note {
    text-align: center;
    font-size: 13px;
    color: #868686;
    margin-top: 12px;
}

.grader-search-error {
    text-align: center;
    font-size: 13px;
    color: #d32f2f;
    margin-top: 12px;
}

/* ===== TRUSTED SECTION ===== */
.trusted {
    padding: 60px 100px;
    /* background: linear-gradient(180deg, rgba(240, 234, 225, 0.34) 0%, rgba(240, 234, 225, 1) 100%); */
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    color: #000;
    margin-bottom: 60px;
}

.testimonials-slider {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    justify-content: center;
    -webkit-overflow-scrolling: touch;
}

.testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.testimonial-card-above {
    flex: 0 0 325px;
    scroll-snap-align: start;
}

.testimonial-card-above img {
    width: 325px;
    height: 412px;
    border-radius: 26px;
    object-fit: cover;
    margin-bottom: 10px;
}

.testimonial-name {
    font-size: 30px;
    font-weight: 600;
    color: #000;
    margin-bottom: 3px;
}

.testimonial-title {
    font-size: 20px;
    font-weight: 600;
    color: #868686;
}

/* ===== TABS SECTION ===== */
.tabs-section {
    padding: 60px 155px;
    background: rgba(240, 234, 225, 0.5);
}

.tabs-title {
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    color: #000;
    margin-bottom: 60px;
    line-height: 1.3;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* The 4 buttons only fit one row at ~1250px+ at this gap/padding -- below
   that (all the way down to the 768px column-stack breakpoint) flex-wrap
   was splitting them 3-then-1, an uneven leftover row instead of a clean
   layout. A 2x2 grid uses the tablet width that's available instead of
   wrapping awkwardly or stacking to a tall single column. */
@media (min-width: 768px) and (max-width: 1249px) {
    .tab-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .tab-btn {
        width: 100%;
    }
}

.tab-btn {
    position: relative;
    padding: 15px 30px;
    /* background: #000; */
    border-radius: 6px;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: #868686;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.tab-btn.active {
    /* background: #015bf8; */
    color: #000;
}

.tab-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

.tab-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #02c3ef 0%, #015bf8 100%);
    transition: width 0.1s linear;
}

.tab-btn.active .tab-fill {
    animation: fillProgress 10s linear;
}

@keyframes fillProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Mobile tab nav (current-tab label + dots + prev/next arrows), replacing
   the 4-button row below 640px -- matches the reference's mobile layout,
   where each tab is its own single-label screen instead of four pills
   competing for width. Hidden by default; the 640px block below both
   hides .tab-buttons and shows these. Kept in sync with .tab-buttons by
   the same initTabs() JS (animations.js). */
.tab-mobile-label,
.tab-mobile-controls {
    display: none;
}

.tab-content {
    max-width: 1192px;
    margin: 0 auto;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel img {
    width: 100%;
    max-height: 750px;
    object-fit: cover;
    border-radius: 40px;
    margin-bottom: 20px;
}

.tab-info {
    text-align: center;
    padding: 20px;
}

.tab-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.tab-info p {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}

.tab-info.white h3,
.tab-info.white p {
    color: #fff;
}

.tab-info.black h3,
.tab-info.black p {
    color: #000;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {

    .header,
    .hero,
    .trusted,
    .tabs-section,
    .reviews {
        padding-left: 60px;
        padding-right: 60px;
    }

    .hero-badge {
        margin-top: 35px;
    }
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .reveal.is-visible {
        display: grid;
        text-align: center;
    }

    .hero-badge {
        margin-top: 35px;
    }

    .hero-phone {
        min-height: auto;
    }

    .phone-container {
        transform: scale(0.8);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .reveal.is-visible {
        display: grid;
        text-align: center;
    }

    .hero-badge {
        margin-top: 35px;
    }

    .header,
    .hero,
    .trusted,
    .tabs-section,
    .reviews {
        padding-left: 30px;
        padding-right: 30px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .search-box {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .search-input,
    .search-btn {
        width: 100%;
    }

    .phone-container {
        transform: scale(0.7);
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        flex: 0 0 280px;
    }

    .testimonial-card img {
        width: 280px;
        height: 355px;
    }
}

@media (max-width: 480px) {
    .reveal.is-visible {
        display: grid;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-badge {
        margin-top: 35px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .section-title {
        font-size: 28px;
    }

    .tabs-title {
        font-size: 32px;
    }

    .phone-container {
        transform: scale(0.6);
    }
}


.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 80px;
}

.header-inner {
    max-width: 1240px;
    margin: auto;
}

.nav a {
    font-size: 14px;
    font-weight: 600;
}

.btn-login {
    font-size: 14px;
}

.btn-demo {
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .header {
        padding: 14px 20px;
    }

    .nav {
        display: none;
    }
}

.hero-subtitle {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 62px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 40px;
}

.hero-content {
    align-items: center;
}

.hero-features {
    gap: 30px;
}

.feature-text {
    font-size: 16px;
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-features {
        align-items: center;
    }

    .hero-phone {
        margin-top: 40px;
    }

    .phone-container {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .phone-container {
        transform: scale(0.65);
    }
}

.search-box {
    height: 94px;
    border-radius: 18px;
    box-shadow: 0px 6px 18px rgba(255, 185, 0, 0.35);
}

.search-input {
    font-size: 16px;
}

.testimonial-card {
    flex: 0 0 260px;
}

.testimonial-card img {
    /* width: 260px; */
    height: 340px;
    border-radius: 22px;
}

.testimonial-name {
    font-size: 18px;
}

.testimonial-title {
    font-size: 14px;
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 220px;
    }

    .testimonial-card img {
        width: 220px;
        height: 300px;
    }
}

.hero-content-center {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
}

/* Single continuous gradient panel behind the whole row (features +
   phone) -- previously each .hero-feature carried its own separate
   background, which read as two disconnected boxes instead of one
   panel with the phone sitting on top of it. */
.hero-content-center::before {
    content: '';
    position: absolute;
    top: 180px;
    left: 0;
    right: 0;
    height: 560px;
    z-index: 0;
    border-radius: 40px;
    background-color: #0b0f14;
    background-image:
        url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22420%22%20height%3D%22420%22%20viewBox%3D%220%200%20420%20420%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%220.14%22%20stroke-width%3D%221.5%22%3E%3Cpath%20d%3D%22M-40%20380%20C%2060%20280%2C140%20480%2C240%20380%20S%20420%20280%2C520%20380%22/%3E%3Cpath%20d%3D%22M-40%20300%20C%2060%20200%2C140%20400%2C240%20300%20S%20420%20200%2C520%20300%22/%3E%3Cpath%20d%3D%22M-40%20220%20C%2060%20120%2C140%20320%2C240%20220%20S%20420%20120%2C520%20220%22/%3E%3Cpath%20d%3D%22M-40%20140%20C%2060%2040%2C140%20240%2C240%20140%20S%20420%2040%2C520%20140%22/%3E%3Cpath%20d%3D%22M-40%2060%20C%2060%20-40%2C140%20160%2C240%2060%20S%20420%20-40%2C520%2060%22/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(155deg, #0b0f14 0%, #007ea8 55%, #00d4ff 100%);
    background-size: 420px 420px, cover;
    background-position: center, center;
    background-repeat: repeat, no-repeat;
}

/* FEATURES */
.hero-feature {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    min-height: 620px;
    padding: 36px 32px;
}

.hero-feature.left {
    justify-content: flex-end;
    text-align: right;
}

.hero-feature.right {
    justify-content: flex-start;
    text-align: left;
}

.hero-feature img {
    width: 18px;
    filter: brightness(0) invert(1);
}

/* PHONE CENTER */
.hero-phone {
    display: flex;
    justify-content: center;
}

.phone-container {
    width: 390px;
    height: 850px;
    position: relative;
    background: #fff;
    border-radius: 44px;
    overflow: hidden;
}

@media (max-width: 900px) {
    .hero-content-center {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-feature.left,
    .hero-feature.right {
        justify-content: center;
        text-align: center;
    }

    .phone-container {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .phone-container {
        transform: scale(0.65);
    }
}

.w-200px {
    width: 320px;
    margin: auto;
    margin-top: 290px;
    margin-left: 58px;
}


/* ADD THIS TO YOUR EXISTING style.css */

/* ===== TABS SECTION UPDATES ===== */

/* Tab panel container with relative positioning for overlays */
.tab-panel {
    position: relative;
}

.tab-panel img {
    width: 100%;
    max-height: 750px;
    object-fit: cover;
    border-radius: 40px;
    margin-bottom: 0;
    /* Remove bottom margin */
}

/* Text overlay on images */
.tab-text-overlay {
    position: absolute;
    max-width: 450px;
    z-index: 10;
    padding: 30px;
}

/* Tab 1: Left Top -- sits in the empty upper-left area of the photo,
   above the phone and clear of the laptop-video-container card. */
.tab-panel[data-panel="1"] .tab-text-overlay {
    left: 40px;
    top: 40px;
}

/* Tab 2: Left Center */
.tab-panel[data-panel="2"] .tab-text-overlay {
    left: 50px;
    top: 40px;
    max-width: 380px;
}

/* Tab 3: Left Center */
.tab-panel[data-panel="3"] .tab-text-overlay {
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
}

/* Tab 4: Left Top Corner */
.tab-panel[data-panel="4"] .tab-text-overlay {
    left: 50px;
    top: 55px;
}

/* Small label above the tab 1 headline */
.tab-eyebrow {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Overlay text styling */
.tab-text-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.tab-text-overlay p {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

/* White text for dark backgrounds (tabs 1, 2, 4) */
.tab-text-overlay.white h3,
.tab-text-overlay.white p {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Black text for light background (tab 3) */
.tab-text-overlay.black h3,
.tab-text-overlay.black p {
    color: #000;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* Video container for laptop screen on Tab 1 -- positioned to match the
   laptop screen area in google-traffic-graphic.jpg (screen runs from
   roughly x=650 to the image's right edge, clearing the phone in front
   of it, and y=76 to y=520 before the keyboard deck). */
.laptop-video-container {
    position: absolute;
    top: 126px;
    right: 70px;
    width: 460px;
    height: 355px;
    overflow: hidden;
    border-radius: 24px;
    background-color: #fff;
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    -ms-border-radius: 24px;
    -o-border-radius: 24px;
}

.laptop-video-container video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

/* Remove old tab-info styles */
.tab-info {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .tab-text-overlay {
        max-width: 380px;
        padding: 25px;
    }

    .tab-panel[data-panel="1"] .tab-text-overlay,
    .tab-panel[data-panel="2"] .tab-text-overlay,
    .tab-panel[data-panel="3"] .tab-text-overlay {
        left: 40px;
    }

    .tab-panel[data-panel="4"] .tab-text-overlay {
        left: 40px;
        top: 60px;
    }

    .tab-text-overlay h3 {
        font-size: 28px;
    }

    .tab-text-overlay p {
        font-size: 16px;
    }
}

/* .laptop-video-container from the 640px phone breakpoint up to where it
   matches the base desktop sizing (~1278px): a single fluid formula
   instead of a few fixed-pixel bands, calibrated off two confirmed-good
   reference points (278/236/33/75 at 768px, 370/315/44/100 at 1024px --
   both ~36% of viewport width, with height/right/top at consistent
   ratios to that width) plus a bit of extra top/right breathing room
   requested on top of that. A continuous vw-based scale means every
   width in between -- not just specific device presets -- gets a
   proportionally correct size instead of jumping at a handful of
   breakpoints. */
@media (min-width: 768px) {
    .laptop-video-container {
        width: clamp(230px, 36vw, 460px);
        height: clamp(196px, 30.6vw, 355px);
        right: clamp(30px, 4.68vw, 70px);
        top: clamp(65px, 9.8vw, 114px);
    }
}

/* Asus Zenbook Fold (853px) -- slightly less steep width/height scaling
   than the general 641px+ formula so the card doesn't crowd the laptop
   screen's edges at this specific width. */
@media (min-width: 841px) and (max-width: 864px) {
    .laptop-video-container {
        width: clamp(230px, 35vw, 460px);
        height: clamp(196px, 29.6vw, 355px);
        right: clamp(30px, 4.68vw, 70px);
        top: clamp(65px, 9.8vw, 114px);
    }
}

/* Nest Hub Max (1280x800) -- shares its 1280px width with other common
   presets (e.g. a 1280x832 MacBook Air view), so the height check keeps
   this scoped to Nest Hub Max specifically instead of also matching
   those wider/taller ones. */
@media (min-width: 1270px) and (max-width: 1290px) and (max-height: 820px) {
    .laptop-video-container {
        width: clamp(230px, 35vw, 460px);
        height: clamp(196px, 31.6vw, 376px);
        right: clamp(30px, 5.68vw, 70px);
        top: clamp(65px, 12.8vw, 130px);
    }
}

@media (max-width: 900px) {
    .tab-text-overlay {
        max-width: 100%;
        padding: 20px;
        position: static;
        transform: none;
        margin-top: 20px;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 15px;
    }

    .tab-panel[data-panel="1"] .tab-text-overlay,
    .tab-panel[data-panel="2"] .tab-text-overlay,
    .tab-panel[data-panel="3"] .tab-text-overlay,
    .tab-panel[data-panel="4"] .tab-text-overlay {
        left: 0;
        top: auto;
        transform: none;
    }

    .tab-text-overlay.black {
        background: rgba(255, 255, 255, 0.9);
    }
}

@media (max-width: 767px) {
    /* Owner.com-style unified mobile card: eyebrow + heading always render
       above the media (photo or video) inside one rounded card sharing a
       single background, regardless of each panel's DOM order -- enforced
       with `order` (rather than flex-direction:column-reverse) so it works
       whether a panel has one media child (img) or two (tab 1's img +
       laptop-video-container). Only .active gets display:flex so the
       existing display:none/.active{display:block} show/hide switch
       (initTabs() in animations.js) still controls which panel is visible. */
    .tab-panel {
        border-radius: clamp(24px, 7vw, 40px);
        overflow: hidden;
        background: #efe6d7;
    }

    .tab-panel.active {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .tab-panel[data-panel="4"] {
        background: linear-gradient(165deg, #3c2712 0%, #0c0704 78%);
    }

    .tab-panel > img,
    .laptop-video-container {
        order: 2;
        position: static;
        transform: none;
        width: 100%;
        max-width: none;
        max-height: none;
        margin: 0;
        border-radius: 0;
    }

    .tab-panel > img {
        height: 210px;
    }

    /* google-traffic-demo(-poster) is a near-square search/results mockup
       (1792x1576) that bakes its own thin rounded black border into the
       footage right at its edges -- at full frame that border reads as a
       second, separate card floating inside the tan one. Zooming the
       video itself slightly (clipped by the container's overflow:hidden)
       pushes that border just outside the visible frame, leaving only
       its light interior content butted up against the tan above. */
    .laptop-video-container {
        width: 86%;
        margin: 0 auto 24px;
        height: auto;
        aspect-ratio: 1792 / 1576;
        border-radius: 20px;
    }

    .laptop-video-container video {
        border-radius: 20px;
    }

    .laptop-video-container video {
        transform: scale(1.18);
    }

    /* Tab 1 only: on mobile the desk photo (laptop+phone composite) that
       the video sits on top of at wider widths just adds a second, mostly
       redundant visual above the video card -- drop it and let the video
       itself be the tab's only image, matching the reference's mobile
       layout (one card, one piece of media, no background photo). */
    .tab-panel[data-panel="1"] > img {
        display: none;
    }

    .tab-text-overlay {
        order: 1;
        position: static;
        max-width: 100%;
        left: auto;
        top: auto;
        transform: none;
        background: none;
        border-radius: 0;
        padding: 26px 22px 20px;
        margin-top: 0;
    }

    .tab-eyebrow {
        color: #83786a;
        text-shadow: none;
    }

    .tab-text-overlay h3,
    .tab-text-overlay p {
        text-shadow: none;
    }

    /* On mobile every panel's text sits on the card's own flat background
       instead of over the photo, so both the .white and .black overlay
       variants read as dark text -- except tab 4, kept white for its dark
       card below. text-shadow is repeated here (not just in the generic
       rule above) because the un-scoped desktop .white/.black rules carry
       a higher-specificity shadow that would otherwise still win. */
    .tab-text-overlay.white h3,
    .tab-text-overlay.white p,
    .tab-text-overlay.black h3,
    .tab-text-overlay.black p {
        color: #0b0f14;
        text-shadow: none;
    }

    .tab-panel[data-panel="4"] .tab-eyebrow {
        color: rgba(255, 255, 255, 0.75);
    }

    .tab-panel[data-panel="4"] .tab-text-overlay.white h3,
    .tab-panel[data-panel="4"] .tab-text-overlay.white p {
        color: #fff;
        text-shadow: none;
    }

    /* Swap the 4-button row for a single current-tab label above the
       card, and dots + prev/next arrows below it. */
    .tab-buttons {
        display: none;
    }

    .tab-mobile-label {
        display: block;
        margin-bottom: 22px;
    }

    .tab-mobile-label-text {
        display: block;
        font-size: 28px;
        font-weight: 700;
        letter-spacing: -0.01em;
        color: #000;
        margin-bottom: 14px;
    }

    .tab-mobile-progress {
        height: 3px;
        width: 100%;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 3px;
        overflow: hidden;
    }

    .tab-mobile-fill {
        height: 100%;
        width: 0%;
        background: linear-gradient(90deg, #02c3ef 0%, #015bf8 100%);
    }

    .tab-mobile-fill.is-animating {
        animation: fillProgress 10s linear;
    }

    .tab-mobile-controls {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        margin-top: 28px;
    }

    .tab-dots {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .tab-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #d9d9d9;
        cursor: pointer;
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .tab-dot.active {
        background: #171717;
        transform: scale(1.25);
    }

    .tab-mobile-arrows {
        display: flex;
        gap: 12px;
    }

    .tab-mobile-arrows .tab-arrow {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #f1f1f1;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        padding: 0;
        color: #171717;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .tab-mobile-arrows .tab-arrow svg {
        width: 20px;
        height: 20px;
    }

    .tab-mobile-arrows .tab-arrow:hover {
        background: #e5e5e5;
    }
}

@media (max-width: 768px) {
    .tab-text-overlay h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .tab-text-overlay p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .tab-text-overlay {
        padding: 15px;
    }

    .tab-text-overlay h3 {
        font-size: 20px;
    }

    .tab-text-overlay p {
        font-size: 13px;
    }
}

/* ===== REVIEWS SECTION ===== */
/* ===== REVIEWS SECTION - FINAL FIX ===== */

/* Background with gradient - VISIBLE */
.reviews {
    padding: 70px 120px 60px;
    background-image:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.12) 0px, rgba(255, 255, 255, 0.12) 1px, transparent 1px, transparent 16px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.12) 0px, rgba(255, 255, 255, 0.12) 1px, transparent 1px, transparent 16px),
        linear-gradient(135deg, #1a3a5c 0%, #0b0f14 100%);
    overflow: hidden;
    position: relative;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: #000;
}

.reviews .section-title {
    color: #fff;
    font-size: clamp(32px, 4vw, 46px);
}

/* New badge pills (replaces .rating-badges/.rating-badge, unused below) */
.reviews-badges {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.reviews-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 999px;
}

.reviews-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reviews-badge span:last-child {
    font-size: 12px;
    font-weight: 600;
    color: #0b0f14;
}

.reviews-summary {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0.2px;
}

.reviews-summary strong {
    color: #fff;
    font-size: 15px;
}

.reviews-summary-stars {
    color: #ffb000;
    letter-spacing: 2px;
}

/* Rating Badges (legacy, unused) */
.rating-badges {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #ddd7cf;
    border-radius: 12px;
}

.rating-badge img {
    width: 41px;
    height: 41px;
    object-fit: cover;
    border-radius: 50%;
}

.rating-badge span {
    font-size: 12px;
    font-weight: 600;
    color: #000;
    max-width: 140px;
}

.rating-tagline {
    font-size: 12px;
    font-weight: 600;
    color: #015bf8;
    text-align: center;
    margin-bottom: 60px;
}

/* ===== Reviews marquee (two rows, auto-scrolling opposite directions) ===== */
.reviews-marquee {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}

.reviews-track {
    display: flex;
    gap: 12px;
    width: max-content;
    will-change: transform;
}

.reviews-track-left {
    animation: reviews-scroll-left 28s linear infinite;
}

.reviews-track-right {
    animation: reviews-scroll-right 28s linear infinite;
}

.reviews-marquee:hover .reviews-track {
    animation-play-state: paused;
}

@keyframes reviews-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes reviews-scroll-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.marquee-card {
    flex: 0 0 250px;
    background: #dcf3da;
    padding: 20px;
    border-radius: 16px;
    height: 210px;
    display: flex;
    flex-direction: column;
}

.marquee-stars {
    font-size: 12px;
    letter-spacing: 1.5px;
    color: #0b0f14;
    margin-bottom: 8px;
}

.marquee-text {
    font-size: 14px;
    font-weight: 400;
    color: #0b0f14;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.marquee-author {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.marquee-author img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.marquee-author span {
    font-size: 13px;
    font-weight: 600;
    color: #000;
}

@media (max-width: 640px) {
    .marquee-card {
        flex: 0 0 165px;
        height: 160px;
        padding: 14px;
    }

    .reviews-track {
        gap: 8px;
    }

    .reviews-marquee {
        gap: 10px;
    }

    .reviews-badge span:last-child {
        max-width: 180px;
    }
}

/* Reviews Grid - 3 columns (legacy, unused) */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 330px));
    gap: 10px;
    max-width: 1030px;
    margin: 0 auto 60px;
}

/* Base Card - WHITE background on top of gradient */
.review-card {
    background: #ffffff;
    padding: 28px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* FIRST CARD IN EACH ROW (1, 4, 7) - Light shadow + DOWN */
.review-card:nth-child(1),
.review-card:nth-child(4),
.review-card:nth-child(7) {
    /* box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.10); */
    transform: translateY(60px);
    -webkit-transform: translateY(60px);
    -moz-transform: translateY(60px);
    -ms-transform: translateY(60px);
    -o-transform: translateY(60px);
}

/* SECOND CARD IN EACH ROW (2, 5, 8) - Strong shadow + UP (stays at top) */
.review-card:nth-child(2),
.review-card:nth-child(5),
.review-card:nth-child(8) {
    /* box-shadow: 0px 24px 60px rgba(0, 0, 0, 0.18); */
    transform: translateY(0px);
}

/* THIRD CARD IN EACH ROW (3, 6, 9) - Medium shadow + DOWN */
.review-card:nth-child(3),
.review-card:nth-child(6),
.review-card:nth-child(9) {
    /* box-shadow: 0px 10px 28px rgba(0, 0, 0, 0.12); */
    transform: translateY(60px);
    -webkit-transform: translateY(60px);
    -moz-transform: translateY(60px);
    -ms-transform: translateY(60px);
    -o-transform: translateY(60px);
}

/* Hover Effect */
.review-card:hover {
    /* transform: translateY(-10px) !important; */
    box-shadow: 0px 30px 70px rgba(0, 0, 0, 0.20) !important;
}

/* Stars */
.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 15px;
}

.review-stars img {
    width: 15px;
    height: 14px;
}

/* Review Text */
.review-text {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    line-height: 1.5;
    margin-bottom: 22px;
}

/* Author */
.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.review-author span {
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

/* See More Reviews Button */
.btn-reviews {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 180px;
    height: 48px;
    background: #000;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin: 0 auto;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    /* position: relative;
    z-index: 99;
    margin-top: -122px; */
}

.btn-reviews:hover {
    background: #1a1a1a;
    transform: scale(1.05);
}

.btn-reviews img {
    width: 6px;
    height: 10px;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 1200px) {
    .reviews {
        padding: 80px 60px 120px;
    }

    .reviews-grid {
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .reviews {
        padding: 80px 40px 100px;
    }

    /* 2 columns on tablet */
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reset transforms on tablet */
    .review-card:nth-child(1),
    .review-card:nth-child(2),
    .review-card:nth-child(3),
    .review-card:nth-child(4),
    .review-card:nth-child(5),
    .review-card:nth-child(6),
    .review-card:nth-child(7),
    .review-card:nth-child(8),
    .review-card:nth-child(9) {
        transform: translateY(0) !important;
        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.12) !important;
    }
}

@media (max-width: 768px) {
    .reviews {
        padding: 60px 30px 80px;
    }

    .section-title {
        font-size: 28px;
    }

    /* Single column on mobile */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .review-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .review-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .reviews {
        padding: 60px 20px 60px;
    }

    .section-title {
        font-size: 24px;
    }

    .review-card {
        padding: 20px;
    }

    .review-text {
        font-size: 15px;
    }
}

/* ==========================================
   REVIEW CARDS
   Masonry/Staggered Layout - 3 Columns
   ========================================== */

/* Hide old review cards if any */
.landing-page .frame-38,
.landing-page .frame-39,
.landing-page .frame-40,
.landing-page .frame-53,
.landing-page .frame-54,
.landing-page .frame-55,
.landing-page .frame-56,
.landing-page .frame-57,
.landing-page .frame-58 {
    display: none !important;
}

/* Main Container */
.review-cards-masonry {
    position: absolute;
    top: 3500px;
    /* Adjust based on your layout */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    padding: 60px 30px;
}

/* Masonry Grid - 3 Columns */
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

/* Individual Review Card */
.review-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

/* .review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
} */

/* Star Rating */
.review-stars {
    display: flex;
    gap: 4px;
}

.review-stars svg {
    width: 16px;
    height: 16px;
    fill: #000000;
}

/* Review Text */
.review-text {
    font-family: "Inter", Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    font-weight: 400;
}

/* Reviewer Info */
.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-name {
    font-family: "Inter", Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
}

/* Staggered Positioning - Column Heights */
/* Column 1 - Left */
.review-card:nth-child(3n+1) {
    margin-top: 0;
}

/* Column 2 - Center */
/* .review-card:nth-child(3n+2) {
    margin-top: 40px;
} */

/* Column 3 - Right */
.review-card:nth-child(3n+3) {
    margin-top: 0;
}

/* Different Card Heights for Natural Flow */
.review-card:nth-child(1) {
    max-height: 240px;
}

.review-card:nth-child(2) {
    max-height: 240px;
}

.review-card:nth-child(3) {
    max-height: 240px;
}

.review-card:nth-child(4) {
    max-height: 240px;
}

.review-card:nth-child(5) {
    max-height: 240px;
}

.review-card:nth-child(6) {
    max-height: 240px;
}

.review-card:nth-child(7) {
    max-height: 240px;
}

.review-card:nth-child(8) {
    max-height: 240px;
}

.review-card:nth-child(9) {
    max-height: 240px;
}

/* Fade Effect for Lower Cards */
.review-card:nth-child(n+7) {
    opacity: 0.4;
    pointer-events: none;
}

/* See More Button */
.see-more-reviews-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: #000000;
    color: #ffffff;
    border-radius: 8px;
    font-family: "Inter", Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    margin: 40px auto 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.see-more-reviews-btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.see-more-reviews-btn svg {
    width: 12px;
    height: 12px;
    fill: #ffffff;
}

/* Center the button */
.review-cards-masonry {
    display: flex;
    flex-direction: column;
}

/* Responsive */
@media (max-width: 992px) {
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reset staggering for 2 columns */
    .review-card:nth-child(2n+1) {
        margin-top: 0;
    }

    .review-card:nth-child(2n+2) {
        margin-top: 30px;
    }
}

@media (max-width: 640px) {
    .review-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .review-card {
        margin-top: 0 !important;
        padding: 24px;
    }

    .review-text {
        font-size: 15px;
    }
}



/* ============================================
   GIVE YOUR DETAIL SHOP SECTION
   ============================================ */

.proven-section {
    background: #fff;
    padding: 60px 0 70px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

.section-container {
    max-width: 1240px;
    margin: auto;
    padding: 0 24px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 60px;
    color: #000;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* ===== HEADING - left-aligned above the image, matching reference ===== */
.top-image-heading {
    text-align: left;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    margin-bottom: 24px;
}

/* ===== TOP IMAGE SECTION - real car-detailing photo + booking app
   mockup. Sized to the reference's landscape proportions instead of a
   tall/square block. ===== */
.top-image-section {
    position: relative;
    width: 100%;
    aspect-ratio: 2.15 / 1;
    min-height: 340px;
    margin-bottom: 30px;
    border-radius: 36px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3a5c 0%, #0b0f14 100%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 60px;
}

.top-image-section-photo {
    background-image: url('/main-assets/images/app-downloads-graphic.jpg');
    background-size: cover;
    background-position: center;
}

.top-image-phone-wrap {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.top-image-phone {
    position: relative;
    width: 220px;
    height: 390px;
    background: #fff;
    border-radius: 34px;
    padding: 12px;
    transform: rotate(6deg);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}

.top-image-phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 76px;
    height: 18px;
    background: #0b0f14;
    border-radius: 12px;
    z-index: 3;
}

.top-image-phone-screen {
    width: 100%;
    height: 100%;
    background: #f5f6f8;
    border-radius: 24px;
    padding: 34px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.tip-brand {
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    color: #0b0f14;
    margin-bottom: 2px;
}

.tip-book-btn {
    background: var(--primary-blue, #015bf8);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 9px;
    font-size: 11px;
    font-weight: 700;
}

.tip-points-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 4px;
}

.tip-points strong {
    font-size: 13px;
    color: #0b0f14;
}

.tip-points span {
    font-size: 10px;
    color: #0b0f14;
}

.tip-points small {
    display: block;
    font-size: 9px;
    color: #8b93a1;
}

.tip-discount {
    font-size: 9px;
    font-weight: 700;
    color: var(--primary-blue, #015bf8);
    max-width: 80px;
    text-align: right;
}

.tip-tiles {
    display: flex;
    gap: 7px;
    flex: 1;
}

.tip-tile-col {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}

.tip-tile {
    border-radius: 11px;
    flex: 1;
}

.tip-tile-cyan {
    background: var(--secondary-blue, #01d0fc);
    flex: 1 1 100%;
}

.tip-tile-gray {
    background: #e5e7eb;
}

.tip-tile-dark {
    background: #0b0f14;
}

.tip-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.tip-item strong {
    color: #0b0f14;
    font-weight: 700;
}

.tip-item span {
    color: #8b93a1;
}

.text-wrap-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 60px 40px 28px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 10;
}

.text-wrap-overlay p {
    max-width: 380px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
    margin: 0;
}

/* ===== BOTTOM GRID - 2 Columns ===== */
.design-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 24px;
    align-items: start;
}

/* ===== LEFT CARD - Video Overlay ===== */
.booking-video-card {
    position: relative;
    background: linear-gradient(135deg, #1a3a5c 0%, #0b0f14 100%);
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 540px;
}

.booking-bg-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Video Overlay Container */
.video-overlay-container {
    position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76%;
    max-width: 440px;
    z-index: 10;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-radius: inherit;
}

.booking-video {
    width: 100%;
    height: auto;
    display: block;
}

/* Bottom Text on Left Card */
.booking-bottom-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    margin-top: 0;
    padding-bottom: 10px;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 100%);
}

.booking-bottom-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.booking-bottom-text p {
    font-size: 32px;
    font-weight: 600;
    color: #181f1f;
    margin: 0;
    line-height: 1.2;
}

/* ===== RIGHT CARD - Service Cards Stack ===== */
.service-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

/* Individual Service Card */
.service-card {
    background: #fff;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr 167px;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-card-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.service-description {
    font-size: 13px;
    font-weight: 400;
    color: #868686;
    line-height: 1.5;
    margin: 0;
}

.service-price {
    font-size: 22px;
    font-weight: 600;
    color: #000;
    margin-top: 5px;
}

.service-image {
    width: 170px;
    height: 170px;
    border-radius: 18px;
    object-fit: cover;
}

/* Service Cards Footer Text */
.service-cards-footer {
    /* padding: 25px; */
    border-radius: 24px;
    margin-top: 40px;
    text-align: left;
}

.footer-main-text {
    font-size: 18px;
    font-weight: 600;
    color: #0b0f14;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.highlight-text {
    color: #000;
}

.footer-sub-text {
    font-size: 14px;
    font-weight: 500;
    color: #868686;
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .section-title {
        font-size: 36px;
    }

    .design-bottom-grid {
        grid-template-columns: 1fr;
    }

    .text-wrap-overlay {
        padding: 50px 24px 20px;
    }

    .text-wrap-overlay p {
        font-size: 14px;
        max-width: 280px;
    }

    .video-overlay-container {
        width: 80%;
    }

    .booking-bottom-text h4 {
        font-size: 14px;
    }

    .booking-bottom-text p {
        font-size: 24px;
    }

    .service-card {
        grid-template-columns: 1fr 100px;
    }

    .service-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .proven-section {
        padding: 60px 0 80px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .top-image-section {
        aspect-ratio: auto;
        min-height: 460px;
        padding: 30px 24px 120px;
        justify-content: center;
        align-items: flex-start;
        gap: 20px;
    }

    .top-image-phone {
        width: 190px;
        height: 330px;
        margin-top: 10px;
    }

    .service-card {
        padding: 20px;
    }

    .service-title {
        font-size: 16px;
    }

    .service-description {
        font-size: 12px;
    }

    .service-price {
        font-size: 18px;
    }

    .footer-main-text {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 24px;
    }

    .service-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-image {
        width: 100%;
        height: 180px;
        margin: 0 auto;
    }

    .booking-bottom-text {
        padding: 20px;
    }

    .booking-bottom-text p {
        font-size: 20px;
    }
}


/* ==========================================
   TESTIMONIALS
   Smooth slider with fade animations
   ========================================== */

/* ============================================
   OWNER TESTIMONIALS -- peek-style scroll carousel
   (text card + media card per testimonial, partial
   neighbor cards visible at each edge)
   ============================================ */
.owner-testimonials {
    background-color: #F8F5F0;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22500%22%20height%3D%22500%22%20viewBox%3D%220%200%20500%20500%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%230b0f14%22%20stroke-opacity%3D%220.06%22%20stroke-width%3D%221.5%22%3E%3Cpath%20d%3D%22M250%20500%20C%20150%20400%2C%20350%20400%2C%20250%20300%20C%20150%20200%2C%20350%20200%2C%20250%20100%20C%20150%200%2C%20350%200%2C%20250%20-50%22/%3E%3Cpath%20d%3D%22M170%20500%20C%2070%20400%2C%20270%20400%2C%20170%20300%20C%2070%20200%2C%20270%20200%2C%20170%20100%20C%2070%200%2C%20270%200%2C%20170%20-50%22/%3E%3Cpath%20d%3D%22M330%20500%20C%20230%20400%2C%20430%20400%2C%20330%20300%20C%20230%20200%2C%20430%20200%2C%20330%20100%20C%20230%200%2C%20430%200%2C%20330%20-50%22/%3E%3C/g%3E%3C/svg%3E");
    background-size: 500px 500px;
    background-repeat: repeat;
    padding: 60px 0 70px;
    position: relative;
}

.owner-testimonials-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.ot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.ot-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: #0b0f14;
    margin: 0;
    letter-spacing: -0.02em;
}

.ot-header h2 span {
    font-weight: 500;
    color: #7a7a7a;
}

.ot-nav {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.ot-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0b0f14;
    transition: background 0.2s ease, color 0.2s ease;
}

.ot-nav-btn:hover {
    background: #0b0f14;
    color: #fff;
}

.ot-nav-btn svg {
    width: 18px;
    height: 18px;
}

/* Scroll viewport -- native horizontal scroll + snap so drag/trackpad/
   touch all work for free, buttons just scrollBy() one card. */
.ot-viewport {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ot-viewport::-webkit-scrollbar {
    display: none;
}

.ot-track {
    display: flex;
    gap: 24px;
    padding: 4px 0 12px;
}

/* Text + media card for one testimonial sit flush together as a
   single visual unit (no gap) -- the 24px gap on .ot-track only
   separates different testimonials from each other. */
/* Text + media card render as ONE seamless card -- rounding, clipping
   and the shadow all live on the shared .ot-pair wrapper instead of
   each child, so there's no visible seam/gap between them. */
.ot-pair {
    display: flex;
    gap: 0;
    scroll-snap-align: center;
    flex-shrink: 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.ot-card {
    flex-shrink: 0;
    height: 566px;
}

.ot-card--text {
    width: min(630px, 84vw);
    background: #fff;
    padding: 46px 48px;
    display: flex;
    flex-direction: column;
}

.ot-quote {
    font-size: 24px;
    font-weight: 700;
    color: #0b0f14;
    line-height: 1.35;
    margin: 0 0 24px;
}

.ot-meta {
    font-size: 15px;
    color: #6c6f75;
    margin: 0 0 28px;
}

.ot-meta strong {
    color: #0b0f14;
    font-weight: 700;
}

.ot-learn-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    background: linear-gradient(90deg, #02c1ef 0%, #0165f7 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ot-learn-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(1, 101, 247, 0.35);
}

.ot-learn-btn svg {
    width: 15px;
    height: 15px;
}

.ot-stats {
    display: flex;
    gap: 40px;
    margin-top: auto;
    padding-top: 32px;
}

.ot-stat-value {
    font-size: 30px;
    font-weight: 800;
    color: #0b0f14;
    line-height: 1;
    margin-bottom: 6px;
}

.ot-stat-label {
    font-size: 13px;
    color: #6c6f75;
    line-height: 1.4;
}

.ot-card--media {
    width: min(600px, 88vw);
    position: relative;
    overflow: hidden;
}

.ot-card--media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ot-play {
    position: absolute;
    bottom: 28px;
    left: 28px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ot-play svg {
    width: 18px;
    height: 18px;
    margin-left: 2px;
}

.ot-media-caption {
    position: absolute;
    bottom: 32px;
    right: 32px;
    text-align: right;
}

.ot-media-caption span {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.ot-media-caption .ot-caption-sub {
    font-size: 15px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .owner-testimonials-container {
        padding: 0 20px;
    }

    .ot-header h2 {
        font-size: 28px;
    }

    .ot-card {
        height: 460px;
    }

    .ot-card--text {
        padding: 32px 28px;
    }

    .ot-quote {
        font-size: 19px;
    }

    .ot-stats {
        gap: 28px;
    }

    .ot-stat-value {
        font-size: 24px;
    }
}

/* ============================================
   TESTIMONIALS CAROUSEL
   ============================================ */

.testimonials-carousel {
    background: #f6f1e9;
    padding: 60px 0;
    /* border-radius: 70px; */
    position: relative;
    overflow: visible;
}

.carousel-container {
    max-width: 1440px;
    margin: auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

/* DECORATIVE BACKGROUND IMAGES - FIXED POSITION */
.bg-left,
.bg-right {
    position: absolute;
    width: 132px;
    z-index: 1;
}

.bg-left {
    left: 155px;
    top: 112px;
}

.bg-right {
    right: 155px;
    top: 117px;
}

/* SLIDER WRAPPER */
.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* CAROUSEL TRACK - SLIDING CONTAINER */
.carousel-track {
    display: flex;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 40px 0;
    will-change: transform;
}

/* TESTIMONIAL SLIDE WRAPPER */
.testimonial-slide {
    min-width: 100%;
    flex-shrink: 0;
}

/* MAIN CARD */
.testimonial-card {
    background: #fff;
    border-radius: 40px;
    display: grid;
    grid-template-columns: 420px 1fr;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 1176px;
    margin: 0 auto;
}

/* LEFT IMAGE */
.testimonial-image {
    position: relative;
    height: 100%;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-labels {
    position: absolute;
    bottom: 20px;
    left: 40px;
}

.label {
    color: #fff;
    display: block;
    width: fit-content;
    margin-bottom: 6px;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.label-sub {
    color: #fff;
    display: block;
    width: fit-content;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* RIGHT CONTENT */
.testimonial-content {
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 0px;
}

.testimonial-content1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 600;
    margin-bottom: 156px;
    color: #333;
}

/* STATS */
.stats {
    display: flex;
    gap: 50px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: 32px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* BUTTON */
.story-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #efebe3;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    width: fit-content;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    margin-top: 20px;
    justify-content: end;
}

.story-btn:hover {
    background: #e5dfd4;
    transform: translateX(5px);
}

.story-btn img {
    transition: transform 0.3s ease;
    width: 8px;
    height: 12px;
}

.story-btn:hover img {
    transform: translateX(3px);
}

/* PAGINATION DOTS */
.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d4cec1;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.carousel-dots .dot:hover {
    transform: scale(1.3);
    background: #999;
}

.carousel-dots .dot.active {
    width: 40px;
    border-radius: 5px;
    background: #e8e4dc;
    animation: dotPulse 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Progress Bar Inside Active Dot */
.carousel-dots .dot.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #4a90e2 0%, #357abd 100%);
    border-radius: 5px;
    animation: progressBar 5s linear forwards;
}

@keyframes dotPulse {
    0% {
        transform: scale(0.8);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes progressBar {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* MOBILE */
@media (max-width: 1024px) {
    .testimonial-card {
        grid-template-columns: 320px 1fr;
    }

    .testimonial-content {
        padding: 30px 40px;
    }

    .bg-left {
        left: 50px;
    }

    .bg-right {
        right: 50px;
    }
}

@media (max-width: 768px) {
    .testimonials-carousel {
        padding: 60px 0;
        /* border-radius: 40px; */
    }

    .carousel-container {
        padding: 0 15px;
    }

    .testimonial-card {
        height: auto;
        grid-template-columns: 1fr;
    }

    .testimonial-image {
        height: 280px;
    }

    .image-labels {
        left: 30px;
        bottom: 20px;
    }

    .testimonial-content {
        padding: 30px;
    }

    .stats {
        gap: 30px;
    }

    .stat-item h3 {
        font-size: 26px;
    }

    .bg-left,
    .bg-right {
        width: 80px;
    }

    .bg-left {
        left: 20px;
        top: 40px;
    }

    .bg-right {
        right: 20px;
        top: 40px;
    }
}

/* ================= GUIDED SECTION ================= */

.guides-section {
    padding: 60px 120px 0;
    background: #fff;
}

/* ================= TOP ================= */
.guided-section-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 24px;
}

.guides-top {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.guides-subtitle {
    font-size: 46px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 14px;
}

.guides-desc {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    color: #555;
    margin-bottom: 32px;
    line-height: 1.6;
}

.founder {
    display: flex;
    align-items: end;
    gap: 14px;
}

.founder img {
    width: 70px;
    height: 50px;
    border-radius: 15%;
    -webkit-border-radius: 15%;
    -moz-border-radius: 15%;
    -ms-border-radius: 15%;
    -o-border-radius: 15%;
}

.founder strong {
    display: block;
    font-size: 14px;
}

.founder span {
    font-size: 12px;
    color: #777;
}

/* RIGHT */

.guides-right .principle {
    margin-bottom: 36px;
}

.guides-right h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.guides-right p {
    font-size: 14px;
    line-height: 1.7;
    color: #878787;
}

/* ================= BOTTOM ================= */

.guides-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.guides-header h2 {
    font-size: 46px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.blog-btn {
    background: #000;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
}

/* CARDS -- one tall featured card (col 1, spans both rows) + two
   regular cards (row 1, col 2/3) + a CTA card under them (row 2,
   col 2/3), matching the owner.com reference layout. */

.guides-cards {
    display: grid;
    grid-template-columns: 2.05fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.guide-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    height: 100%;
}

.guide-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
}

.guide-card:not(.guide-card--big) {
    aspect-ratio: 296 / 426;
}

.guide-card--big {
    grid-column: 1;
    grid-row: 1 / 3;
}

.guide-card--big span {
    right: 90px;
}

/* Absolute so the image contributes nothing to intrinsic sizing --
   otherwise the tall spanning card's image inflates the auto rows and
   the CTA card underneath grows far past its content height. */
.guide-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.guide-card span {
    position: absolute;
    z-index: 1;
    bottom: 28px;
    left: 33px;
    right: 33px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.15;
}

.guide-play {
    position: absolute;
    z-index: 1;
    bottom: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.guide-play svg {
    width: 15px;
    height: 15px;
    margin-left: 2px;
}

.guide-cta {
    grid-column: 2 / 4;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #b6ecf9;
    border-radius: 28px;
    padding: 34px;
    text-decoration: none;
    color: #0b0f14;
}

.guide-cta strong {
    display: block;
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 5px;
}

.guide-cta p {
    font-size: 15px;
    color: #4a4a4a;
    margin: 0;
}

.guide-cta-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0b0f14;
}

.guide-cta-arrow svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 900px) {
    .guides-cards {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .guide-card--big {
        grid-column: 1;
        grid-row: auto;
        aspect-ratio: 4 / 3;
    }

    .guide-cta {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 1024px) {
    .guides-section {
        padding: 80px 40px 0;
    }

    .guides-top {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 640px) {
    .guides-section {
        padding: 60px 20px 0;
    }

    .guides-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .guides-header h2 {
        font-size: 26px;
    }
}

.founder-img {
    position: relative;
    width: 135px;
}

.founder-img img:first-child {
    width: 135px;
    height: 170px;
    border-radius: 16px;
    object-fit: cover;
}

.signature {
    position: absolute;
    bottom: -12px;
    left: -10px;
    width: 70px;
}

.principle-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 32px 0;
    margin-bottom: 0;
    border-top: 1px solid #e5e0d8;
}

.principle-tag {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.principle-row h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.principle-row p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
    margin-bottom: 8px;
}

@media (max-width: 1024px) {
    .principle-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}


/* ===========================
   OWNER-LIKE INFINITE TRUSTED
   =========================== */

.trusted.trusted-infinite {
    /* padding: 80px 0 90px; */
    background: #fff;
}

.trusted-title {
    max-width: 1240px;
    margin: 0 auto 28px;
    padding: 0 40px;
    font-size: 45px;
    font-weight: 750;
    letter-spacing: -0.02em;
    color: #000;
    text-align: left;
}

/* viewport hides overflow */
.trusted-viewport {
    margin: 0 auto;
    padding: 0 18px;
    overflow: hidden;
}

/* track moves via JS */
.trusted-track {
    display: flex;
    gap: 18px;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    user-select: none;
    touch-action: pan-y;
    /* keep vertical scroll */
    cursor: grab;
}

.trusted-track.is-dragging {
    cursor: grabbing;
}

/* card sizing similar to owner */
.trusted-card {
    position: relative;
    flex: 0 0 auto;
    width: clamp(320px, 26vw, 460px);
    border-radius: 22px;
    overflow: hidden;
}

.trusted-card img {
    width: 100%;
    height: clamp(420px, 34vw, 560px);
    border-radius: 22px;
    object-fit: cover;
    display: block;
}

/* dark gradient overlay with stat + name, matching the reference's
   photo-card treatment (was: plain photo + black text below it) */
.trusted-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px 24px;
    background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.8) 100%);
    border-radius: 22px;
}

.trusted-stat {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.trusted-stat-value {
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}

.trusted-stat-label {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
}

.trusted-meta {
    padding: 0;
}

.trusted-name {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #fff;
}

.trusted-role {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 1024px) {
    .trusted-title {
        font-size: 38px;
        padding: 0 24px;
    }
}

@media (max-width: 640px) {
    .trusted-title {
        font-size: 30px;
    }

    .reveal.is-visible {
        display: grid;
        text-align: center;
    }

}
