/**
 * Qiblatain Tours — Home Page Styles
 * Hero · Stats · Packages · About · Services · Testimonials · FAQ · Contact
 */

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 520px;
    max-height: 780px;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-mid) 60%, var(--charcoal) 100%);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    overflow: visible; /* allow form to overflow below */
}

.hero-mobile-swiper {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-mobile-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Primary dark overlay */
.hero-overlay-primary {
    position: absolute;
    inset: 0;
    background: rgba(28, 28, 46, 0.72);
    z-index: 1;
}

/* Directional gradient overlay (darker at bottom for form contrast) */
.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(28,28,46,0.15) 0%,
        rgba(28,28,46,0.45) 65%,
        rgba(28,28,46,0.88) 100%
    );
    z-index: 2;
}

/* Islamic geometric pattern overlay */
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50 12 L58 36 L84 36 L63 52 L71 76 L50 60 L29 76 L37 52 L16 36 L42 36 Z' fill='none' stroke='%23C4963A' stroke-opacity='0.08' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='42' fill='none' stroke='%23C4963A' stroke-opacity='0.04' stroke-width='1' stroke-dasharray='3 7'/%3E%3C/svg%3E");
    background-size: 100px 100px;
    z-index: 2;
    animation: heroPatternDrift 60s linear infinite;
    pointer-events: none;
}

@keyframes heroPatternDrift {
    from { background-position: 0 0; }
    to   { background-position: 100px 100px; }
}

/* Hero body — main text area */
.hero-body {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 48px 0 56px;
}

/* Hero text content */
.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 780px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
    background: rgba(196,150,58,0.12);
    padding: 7px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(196,150,58,0.22);
}

.hero-eyebrow i { font-size: 0.85rem; }

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.8vw, 3.25rem);
    font-weight: 700;
    line-height: 1.12;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
    min-height: 2.3em;
}

.hero-title-accent {
    color: var(--gold) !important;
    display: inline-block;
    position: relative;
    font-size: 0.84em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero-swiper-prev,
.hero-swiper-next,
.hero-swiper-pagination {
    display: none !important;
}

.hero-title-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
    border-radius: 1px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.18rem);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
    min-height: 3.2em;
}

.hero-text-empty {
    visibility: hidden;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--emerald);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 28px rgba(196,150,58,0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(196,150,58,0.55);
    color: var(--emerald);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(6px);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.7);
    color: var(--white);
    transform: translateY(-3px);
}

/* ——— Floating Search Form ——— */
.hero-form-float {
    position: relative;
    z-index: 10;
    margin-top: 5%;
    padding: 0 0 0;
    width: 100%;
}

.hero-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(26,60,52,0.2), 0 4px 16px rgba(196,150,58,0.12);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(196,150,58,0.15);
}

.hero-search-form {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
}

.hero-form-field {
    flex: 1;
    padding: 16px 20px 14px;
    min-width: 0;
    position: relative;
}

.hero-form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 6px;
}

.hero-form-label i { color: var(--gold); font-size: 0.75rem; }

.hero-form-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-primary);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--charcoal);
    padding: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.hero-form-input::placeholder { color: #9CA3AF; }

select.hero-form-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A3C34' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 16px;
}

.hero-form-divider {
    width: 1px;
    background: var(--ivory-dark);
    align-self: stretch;
    flex-shrink: 0;
    margin: 12px 0;
}

.hero-form-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 32px;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-mid) 100%);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--transition-smooth);
    flex-shrink: 0;
    white-space: nowrap;
}

.hero-form-btn:hover {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--emerald);
}

.hero-form-btn i { font-size: 1rem; }

/* ==========================================
   STATS BAR
   ========================================== */
.stats-bar {
    padding: 48px 0 !important;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-mid) 100%) !important;
    position: relative;
    margin-top: 60px; /* space for floating form */
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.stat-bar-item {
    text-align: center;
    padding: 8px 48px;
    flex: 1;
    min-width: 160px;
}

.stat-bar-number {
    display: inline;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}

.stat-bar-suffix {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--gold-light);
    font-weight: 700;
}

.stat-bar-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.72);
    margin: 6px 0 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.stat-bar-divider {
    width: 1px;
    height: 52px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* ==========================================
   PACKAGES GROUP
   ========================================== */
.packages-group {
    margin-bottom: 56px;
}

.packages-group:last-child { margin-bottom: 0; }

.packages-group-header {
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.packages-group-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--ivory-dark), transparent);
}

.packages-group-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-muted);
    white-space: nowrap;
    padding: 5px 14px;
    background: var(--gold-pale);
    border-radius: var(--radius-pill);
    border: 1px solid rgba(196,150,58,0.25);
}

/* Package image placeholder */
.package-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--emerald-pale), var(--ivory-mid));
}

.package-image-placeholder i {
    font-size: 4rem;
    color: rgba(26,60,52,0.2);
}

.section-cta-center {
    text-align: center;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--ivory-dark);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background: var(--emerald-pale);
}

.about-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-img-frame:hover img { transform: scale(1.04); }

.about-img-placeholder {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--emerald-pale), var(--ivory-mid));
}

.about-img-placeholder i {
    font-size: 6rem;
    color: rgba(26,60,52,0.25);
}

/* Floating trust badge */
.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 22px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--ivory-dark);
    z-index: 2;
}

.about-badge i {
    font-size: 2rem;
    color: var(--gold);
    flex-shrink: 0;
}

.about-badge strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--emerald);
    line-height: 1.1;
}

.about-badge span {
    font-size: 0.78rem;
    color: var(--slate);
    font-weight: 500;
}

/* Gold decorative ring */
.about-ring {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(196,150,58,0.25);
    z-index: -1;
}

.about-ring::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 1px dashed rgba(196,150,58,0.35);
}

/* About content */
.about-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    color: var(--emerald);
    font-weight: 700;
    line-height: 1.2;
    margin: 12px 0 20px;
}

.about-title-accent { color: var(--gold-muted); }

.about-text {
    font-size: 1.02rem;
    line-height: 1.85;
    color: #555566;
    margin-bottom: 14px;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 24px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.about-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--emerald-pale);
    color: var(--emerald);
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.about-feature-item strong {
    display: block;
    font-weight: 700;
    color: var(--emerald);
    font-size: 0.95rem;
    line-height: 1.3;
}

.about-feature-item span {
    font-size: 0.87rem;
    color: var(--slate);
    line-height: 1.5;
}

.about-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* ==========================================
   SERVICES GRID
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 8px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px 28px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(196,150,58,0.1);
    box-shadow: var(--shadow-xs);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md), var(--shadow-gold);
    border-color: rgba(196,150,58,0.25);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--emerald-pale);
    margin: 0 auto 20px;
    transition: var(--transition-smooth);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--emerald);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--emerald);
}

.service-card:hover .service-icon i { color: var(--gold-light); }

.service-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--emerald);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.service-desc {
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 8px;
}

.testimonial-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    margin: 0;
    transition: var(--transition-smooth);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 5rem;
    color: rgba(196,150,58,0.2);
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-6px);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 0.88rem;
    margin-bottom: 16px;
    display: flex;
    gap: 3px;
}

.testimonial-text {
    font-size: 0.96rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.88);
    margin: 0 0 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    font-style: normal;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(196,150,58,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-name {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--white);
    font-style: normal;
}

.testimonial-location {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    margin-top: 2px;
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 56px;
    align-items: start;
    margin-top: 8px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--ivory-dark);
}

.faq-item:first-child { border-top: 1px solid var(--ivory-dark); }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.faq-question span:first-child {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.5;
    flex: 1;
}

.faq-question:hover span:first-child { color: var(--emerald); }
.faq-open .faq-question span:first-child { color: var(--emerald); }

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--emerald-pale);
    color: var(--emerald);
    font-size: 0.72rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.faq-open .faq-icon {
    background: var(--emerald);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

.faq-answer-inner {
    padding: 0 0 20px;
}

.faq-answer-inner p {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--slate);
    margin: 0;
}

/* FAQ CTA Panel */
.faq-cta-panel {
    background: var(--emerald);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    text-align: center;
    position: sticky;
    top: 100px;
}

.faq-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(196,150,58,0.15);
    color: var(--gold-light);
    font-size: 1.6rem;
    margin: 0 auto 20px;
}

.faq-cta-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 12px;
}

.faq-cta-text {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 28px;
}

.faq-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-cta-actions .btn-primary,
.faq-cta-actions .btn-outline {
    width: 100%;
    justify-content: center;
}

.faq-cta-actions .btn-outline {
    color: var(--gold-light);
    border-color: rgba(196,150,58,0.5);
}

.faq-cta-actions .btn-outline:hover {
    background: var(--gold);
    color: var(--emerald);
    border-color: var(--gold);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--emerald);
    font-weight: 700;
    line-height: 1.2;
    margin: 12px 0 16px;
}

.contact-intro {
    font-size: 1rem;
    color: var(--slate);
    line-height: 1.85;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--ivory-dark);
    background: var(--white);
}

a.contact-detail-item:hover {
    border-color: rgba(196,150,58,0.4);
    background: var(--gold-pale);
}

.contact-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--emerald-pale);
    color: var(--emerald);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-detail-icon-wa { background: rgba(37,211,102,0.1); color: #25D366; }

.contact-detail-label {
    font-size: 0.75rem;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    margin: 0 0 3px;
}

.contact-detail-value {
    font-size: 0.95rem;
    color: var(--charcoal);
    font-weight: 600;
    margin: 0;
}

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

/* ——— Large tablet (992px) ——— */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-bar { margin-top: 52px; }
}

/* ——— Tablet (992px) ——— */
@media (max-width: 992px) {
    /* Mobile lock: override legacy styles.css conflicts */
    .topbar {
        background: #ffffff !important;
        border-bottom: 1px solid #ececf3 !important;
        padding: 12px 0 !important;
        box-shadow: none !important;
    }

    .topbar-left,
    .topbar-right {
        display: none !important;
    }

    .topbar-inner {
        justify-content: center !important;
    }

    .topbar-mobile-logo {
        display: inline-flex !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .topbar-mobile-logo img {
        height: 66px !important;
        width: auto !important;
        max-width: 82vw !important;
    }

    .navbar {
        background: #1C1C2E !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
        box-shadow: none !important;
    }

    .navbar-brand,
    .btn-book-now {
        display: none !important;
    }

    .navbar-inner {
        height: 66px !important;
        display: flex !important;
        width: 100% !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0 !important;
    }

    .navbar-cta {
        width: 100% !important;
        display: flex !important;
        flex: 1 1 auto !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .nav-hamburger {
        display: inline-flex !important;
        background: transparent !important;
        border: 1px solid rgba(255, 255, 255, 0.28) !important;
        order: 1 !important;
        justify-self: start !important;
    }

    .hamburger-line {
        background: #ffffff !important;
    }

    .mobile-phone-cta {
        display: inline-flex !important;
        color: #ffffff !important;
        background: transparent !important;
        border: 1px solid rgba(255, 255, 255, 0.28) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 72vw !important;
        min-height: 38px !important;
        font-size: 0.74rem !important;
        padding: 8px 10px !important;
        order: 2 !important;
        margin-left: auto !important;
        justify-self: end !important;
    }

    .hero-section {
        height: auto !important;
        min-height: 0;
        max-height: none;
        overflow: hidden;
        background-image: none !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .hero-body {
        display: none !important;
    }

    .hero-search-form {
        flex-wrap: wrap;
    }

    .hero-form-field {
        flex: 1 0 calc(50% - 1px);
        min-width: 0;
    }

    .hero-form-divider:nth-child(4) { /* hide middle divider on 2-col */
        display: none;
    }

    .hero-form-btn {
        width: 100%;
        justify-content: center;
        padding: 18px 32px;
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-wrapper { max-width: 560px; margin: 0 auto; }

    .about-badge {
        bottom: -16px;
        right: 16px;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 580px;
        margin-left: auto;
        margin-right: auto;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-cta-panel { position: static; }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stat-bar-item { padding: 8px 28px; }
    .stat-bar-divider { height: 40px; }

    .hero-mobile-swiper {
        display: block;
        position: relative;
        inset: auto;
        width: 100%;
        height: min(56.25vw, 300px);
        margin-bottom: 20px;
        z-index: 0;
        border-radius: 0;
        overflow: hidden;
        background: #000;
    }

    .hero-mobile-swiper .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #000;
    }

    .hero-mobile-swiper .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
    }

.hero-swiper-prev,
.hero-swiper-next {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    background: rgba(28, 28, 46, 0.65);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff !important;
    transition: all 0.25s ease;
    z-index: 20 !important;
}

.hero-swiper-prev:hover,
.hero-swiper-next:hover {
    background: rgba(28, 28, 46, 0.9);
    transform: translateY(-1px);
}

.hero-swiper-prev::after,
.hero-swiper-next::after {
    font-size: 14px !important;
    font-weight: 800;
}

.hero-swiper-pagination {
    bottom: 14px !important;
    z-index: 20 !important;
}

.hero-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
    margin: 0 5px !important;
    transition: all 0.25s ease;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 999px;
    background: #ffffff;
}

    .hero-overlay-primary,
    .hero-overlay-gradient,
    .hero-pattern,
    .hero-content {
        display: none !important;
    }

    .hero-form-float {
        margin-top: 0;
        padding-top: 0 !important;
        z-index: 10;
    }
}

/* ——— Mobile (768px) ——— */
@media (max-width: 768px) {
    .hero-section { min-height: 420px; }

    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-eyebrow { font-size: 0.72rem; letter-spacing: 2px; }

    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn-hero-primary, .btn-hero-secondary { justify-content: center; }

    .hero-search-form { flex-direction: column; }
    .hero-form-field { flex: none; width: 100%; }
    .hero-form-divider { width: 100%; height: 1px; margin: 0; }
    .hero-form-btn { border-radius: 0 0 var(--radius-xl) var(--radius-xl); }

    .stats-bar { margin-top: 32px; padding: 36px 0 !important; }
    .stats-grid { gap: 0; }
    .stat-bar-item { padding: 12px 20px; flex: 0 0 50%; }
    .stat-bar-divider { display: none; }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .service-card { padding: 24px 18px 20px; }

    .about-badge {
        position: static;
        margin-top: 24px;
        display: inline-flex;
    }

    .about-ring { display: none; }
    .about-actions { flex-direction: column; }
    .about-actions .btn-primary,
    .about-actions .btn-outline { width: 100%; justify-content: center; }

    .faq-cta-actions .btn-primary,
    .faq-cta-actions .btn-outline { padding: 13px 20px; }
}

/* ——— Small mobile (480px) ——— */
@media (max-width: 480px) {
    .hero-title { font-size: 1.85rem; }
    .services-grid { grid-template-columns: 1fr; }
    .stat-bar-item { flex: 0 0 100%; }
}
