/**
 * Arroyo Management Theme
 *
 * File: front-page.css
 * Description: Front page styles.
 */

.arroyo-front-page {
    background: #fff;
}

.arroyo-section {
    padding: 44px 20px;
}

.arroyo-container {
    max-width: 1280px;
    margin: 0 auto;
}

.arroyo-narrow {
    padding-left: 32px;
    padding-right: 32px;
    text-align: left;
}

/* Slider */

.arroyo-home-slider {
    position: relative;
    overflow: hidden;
}

.arroyo-hero-card {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: auto;
    max-width: 90%;
    padding: .75rem 1.75rem;

    text-align: center;
    color: #fff;

    background: rgba(0, 0, 0, .18);
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 12px;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.arroyo-hero-card h1 {
    margin: 0;
    font-size: 2.25rem;
    line-height: 1.1;
    white-space: nowrap;
}

/* Intro */

.arroyo-home-intro h2 {
    margin: 0 0 1rem;

    color: #8c8c8c;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: 1.5px;
    text-align: left;
    text-transform: uppercase;
}

.arroyo-home-intro p {
    max-width: 1180px;
    margin: 0;

    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
}

/* Services / Cards */

.arroyo-card-grid {
    display: grid;
}

.arroyo-card-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px;
    align-items: start;

    max-width: 980px;
    margin: 0 auto;
}

.arroyo-card-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.arroyo-service-card,
.arroyo-testimonial-card {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: left;
    
}

.arroyo-testimonial-card {
    padding: 8px 0 0;
}

/* Service heading row */

.arroyo-service-heading {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;

    min-height: 38px;

    margin-bottom: 18px;
    padding-bottom: 12px;

    border-bottom: 1px solid #4d7cff;
}

.arroyo-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;
}

.arroyo-service-icon i {
    display: block;
    color: var(--arroyo-blue);
    font-size: 1.2rem;
    line-height: 1;
}

.arroyo-service-card h3 {
    margin: 0;
    padding: 0;

    color: #333;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;    
}

.arroyo-service-card h3 a {
    color: inherit;
    text-decoration: none;
    
}

.arroyo-service-card h3 a:hover {
    color: var(--arroyo-blue);
}

/* Text */

.arroyo-service-card p,
.arroyo-testimonial-card p {
    margin: 0 0 24px;

    color: #555;
    font-size: .95rem;
    line-height: 1.65;
}

.arroyo-service-card .arroyo-button {
    margin-top: 8px;
}

.arroyo-contact-link {
    color: var(--arroyo-green);
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.arroyo-contact-link:hover {
    color: var(--arroyo-green-dark);
}

.arroyo-service-card .phone {
    color: var(--arroyo-blue);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.arroyo-service-card .phone:hover {
    color: var(--arroyo-blue-dark);
    text-decoration: underline;
}

/* Testimonials */

.arroyo-testimonial-card h3 {
    margin: 0 0 18px;
    padding-bottom: 18px;

    color: #333;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    text-transform: uppercase;

    border-bottom: 1px solid #4d7cff;
}

/* Image row */

.arroyo-home-image-row {
    padding: 0 20px 64px;
}

.arroyo-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;

    max-width: 980px;
    margin: 0 auto;
}

.arroyo-image-grid img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    
    border-radius: var(--arroyo-radius);

    box-shadow:
        0 4px 12px rgba(0,0,0,.35);
}

/* Testimonials */

.arroyo-section-heading {
    max-width: 980px;
    margin: 0 auto 32px;
}

.arroyo-section-heading h2 {
    margin: 0;

    color: #8c8c8c;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.arroyo-testimonials-section {
    padding-top: 44px;
    padding-bottom: 54px;
    background: #f7f7f7;
}

.arroyo-testimonials-section .arroyo-card-grid-2 {
    max-width: 980px;
    margin: 0 auto;
}

.arroyo-testimonial-card h3 span {
    color: var(--arroyo-blue);
}

.arroyo-testimonial-author {
    margin-top: 16px;

    color: var(--arroyo-green) !important;
    font-weight: 600 !important;
}

/* Mobile */

@media (max-width: 900px) {
    .arroyo-card-grid-2,
    .arroyo-image-grid {
        grid-template-columns: 1fr;
    }

    .arroyo-image-grid {
        max-width: 520px;
    }

    .arroyo-image-grid img {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .arroyo-section {
        padding: 44px 18px;
    }

    .arroyo-narrow {
        padding-left: 20px;
        padding-right: 20px;
    }

    .arroyo-hero-card {
        top: 50%;
        left: 50%;

        width: calc(100% - 32px);
        max-width: none;
        padding: .55rem .8rem;
    }

    .arroyo-hero-card h1 {
        font-size: 1.35rem;
        line-height: 1.1;
        white-space: normal;
    }

    .arroyo-home-intro h2 {
        font-size: 1.8rem;
    }
    
    /* Stack services */

    .arroyo-card-grid-3 {
        grid-template-columns: 1fr;
        gap: 42px;
        max-width: none;
    }

    .arroyo-service-card {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .arroyo-hero-card h1 {
        font-size: 1.15rem;
    }

    .arroyo-home-intro h2 {
        font-size: 1.55rem;
    }
}