/* ========================================
   LOCATION PAGES — location.css
   Used by: location.html + location/london.html (and all future location pages)
   Links to: service-page.css (base styles)
   ======================================== */


/* ========================================
   LOC HERO — shared across all location pages
   ======================================== */

.loc-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 5rem 1.5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.loc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.loc-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.loc-hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.loc-hero-tag i {
    margin-right: 0.4rem;
    color: var(--accent-color);
}

.loc-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.loc-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.loc-hero-btn {
    display: inline-block;
    margin-top: 0.5rem;
    background: white;
    color: var(--secondary-color) !important;
    font-weight: 700;
    padding: 1rem 2.2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.loc-hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    background: var(--accent-color);
    color: white !important;
}

@media (max-width: 768px) {
    .loc-hero h1 {
        font-size: 2rem;
    }

    .loc-hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .loc-hero h1 {
        font-size: 1.6rem;
    }
}


/* ========================================
   LOCATION GRID — location.html only
   ======================================== */

.loc-grid-section {
    background: var(--bg-light);
    padding: 5rem 1.5rem;
}

.loc-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.loc-card {
    background: white;
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    border: 2px solid transparent;
}

.loc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.loc-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.loc-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.loc-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.loc-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.loc-card:hover .loc-card-link {
    gap: 0.7rem;
}

/* Responsive: 5 → 3 → 2 → 1 columns */
@media (max-width: 1200px) {
    .loc-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .loc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .loc-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   LOC INTRO — location/london.html (and future city pages)
   ======================================== */

.loc-intro-section {
    background: white;
    padding: 5rem 1.5rem;
}

.loc-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.loc-intro-text h2 {
    text-align: left;
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

.loc-intro-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.loc-intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.loc-stat {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.loc-stat-number {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--accent-color);
}

.loc-stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

.loc-intro-img img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(11, 60, 93, 0.15);
}

@media (max-width: 1024px) {
    .loc-intro-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .loc-intro-text h2 {
        text-align: center;
    }

    .loc-intro-img {
        display: none;
    }
}

@media (max-width: 768px) {
    .loc-intro-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .loc-intro-stats {
        grid-template-columns: 1fr;
    }

    .loc-intro-text h2 {
        font-size: 1.7rem;
    }
}


/* ========================================
   LOC SERVICES — location/london.html (and future city pages)
   ======================================== */

.loc-services-section {
    background: var(--bg-light);
    padding: 5rem 1.5rem;
}

.loc-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.loc-service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.loc-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-color);
}

.loc-service-card .service-icon {
    width: 55px;
    height: 55px;
    background: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.2rem;
}

.loc-service-card h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.loc-service-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.98rem;
}

.loc-service-card p a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.loc-service-card p a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}


/* ========================================
   LOC WHO WE SERVE — location/london.html (and future city pages)
   ======================================== */

.loc-who-section {
    background: white;
    padding: 5rem 1.5rem;
}


/* ========================================
   CTA SPLIT FORM — shared (reuses service-page patterns)
   Add these if not already in cta.css / service-page.css
   ======================================== */

.cta-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.cta-image {
    position: relative;
    overflow: hidden;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cta-image-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
}

.trust-pill {
    background: white;
    color: var(--secondary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.cta-form-box {
    background: var(--bg-light);
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-form-box h2 {
    text-align: left;
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
}

.cta-subtext {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.optional-badge {
    background: var(--accent-color);
    color: white;
    font-size: 0.72rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-dark);
    background: white;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
}

#submitBtn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    font-family: inherit;
}

#submitBtn:hover {
    background: #002f68;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1rem;
}

.form-success h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .cta-split {
        grid-template-columns: 1fr;
    }

    .cta-image {
        height: 260px;
    }

    .cta-form-box {
        padding: 2.5rem 2rem;
    }

    .cta-form-box h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-form-box {
        padding: 2rem 1.5rem;
    }
}