/*
Theme Name: TeaRReglo Theme
Author: ChatGPT
Version: 2.0
*/

/* ========= VARIABLES ========= */
:root {
    --primary: #0B2545;
    --accent: #58b9ca;
    --bg: #F7F9FC;
    --text: #243040;
    --muted: #6B7280;
    --white: #f7f8fb;
    --radius: 18px;
    --shadow: 0 15px 40px rgba(0, 0, 0, .08);
    --container: 1200px;
}

/* ========= RESET ========= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: Manrope, system-ui, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block
}

a {
    text-decoration: none;
    color: inherit
}

.container {
    max-width: var(--container);
    margin: auto;
    padding: 0 24px
}

/* ========= HEADER ========= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #edf0f3;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    max-width: var(--container);
    margin: auto;
    padding: 0 24px;
}



.site-logo img {
    height: 150px;
    width: auto
}

.main-menu {
    display: flex;
    gap: 2rem;
    list-style: none
}

.main-menu a {
    font-weight: 700;
    position: relative
}

.main-menu a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: .25s;
}

.main-menu a:hover:after {
    width: 100%
}

/* ========= HERO ========= */
.hero {

    margin: 40px auto;
    border-radius: 30px;
    overflow: hidden;
    max-width: 1400px;
    min-height: 700px !important;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-image:
        linear-gradient(90deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.95) 35%,
            rgba(255, 255, 255, 0.65) 70%,
            rgba(255, 255, 255, 0) 100%),
        url("assets/img/hero-cristaareas.webp");

}

.hero__content {
    max-width: 620px;
    padding: 0px 0
}

.hero__tag {
    display: inline-block;
    background: rgba(255, 255, 255, .12);
    padding: .5rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.02;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--accent)
}

.hero p {
    font-size: 1.25rem;
    opacity: .95;
    margin-bottom: 2rem;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

/* =========================
   HERO EMPRESA
   ========================= */

.empresa-page .hero {

    margin: 40px auto;
    border-radius: 30px;
    overflow: hidden;
    max-width: 1400px;
    min-height: 700px !important;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-image:
        linear-gradient(90deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.95) 35%,
            rgba(255, 255, 255, 0.65) 70%,
            rgba(255, 255, 255, 0) 100%),
        url("assets/img/hero-empresa.webp");
}

/* =========================
   HERO SERVICIOS
   ========================= */

.servicios-page .hero {
    background-image: url("https://cristaareas.es/wp-content/uploads/2026/04/LimpiezaLocal.webp");
}

/* ========= BUTTONS ========= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    vertical-align: middle;
    transition: .25s;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    margin: 30px;
}

.btn--secondary {
    background: #fff;
    color: var(--primary);
    margin: 30px;
}

.btn:hover {
    transform: translateY(-3px)
}

/* ========= SECTIONS ========= */
section {
    padding: 5px 0
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px
}

.section-header span {
    color: var(--accent);
    font-weight: 700
}

.section-header h2 {
    font-size: 2.6rem;
    margin: .5rem 0 1rem
}

/* ========= INTRO ========= */
.intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.intro {
    padding: 15px;
}

/* ========= SERVICES ========= */
#servicios {
    padding-bottom: 50px;
}

.services {
    background: var(--bg)
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: .35s;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-8px);
}

.card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: .35s;
    max-height: 300px;
}

.card:hover img {
    transform: scale(1.05)
}

.card__body {
    padding: 24px
}

.card h3 {
    margin-bottom: 10px
}

.card__more {
    display: inline-block;
    margin-top: 18px;
    color: var(--accent);
    font-weight: 700;
}

/* ========= CTA ========= */
.cta {
    background: var(--primary);
    color: #fff;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem
}

/* ========= MODAL ========= */
.service-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;

    /* Permite desplazarse si el modal supera la pantalla */
    overflow-y: auto;
    padding: 20px;
}

.service-modal.active {
    display: flex;
}

.service-modal__box {
    width: min(900px, 92%);
    max-height: calc(100vh - 40px);
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    position: relative;

    /* Scroll cuando el contenido es demasiado largo */
    overflow-y: auto;
}

.service-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    border: none;
    background: none;
    font-size: 2rem;
    cursor: pointer;
}

/* ========= FOOTER ========= */
/* Footer */
.site-footer {
    background: #0f172a;
    color: #e5e7eb;
    padding: 2.5rem 0;
}

.footer-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding: 0;
    margin: 0 0 1rem;
}

.footer-menu a {
    color: #e5e7eb;
    font-weight: 500;
}

.footer-menu a:hover {
    text-decoration: underline;
}

.footer-copy {
    text-align: center;
    font-size: 0.9rem;
    color: #94a3b8;
}

.service-modal__link.service-modal__contact {
    background: var(--accent);
    color: #fff;
    margin: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 700;
    transition: .25s;
}

.service-modal__link.service-modal__contact:hover {
    transform: translateY(-3px)
}

/* ==========================================
   PROJECT CARD
   ========================================== */

.project-card {
    width: 100%;
    height: auto;
    min-height: 0 !important;

    margin: 0;
    padding: 0 !important;

    overflow: hidden;

    border-radius: 20px;

    cursor: pointer;

    box-sizing: border-box;
}


/* ==========================================
   IMAGEN - ESCRITORIO
   ========================================== */

.project-card .card__image {
    width: 100%;
    height: 550px;

    margin: 0;
    padding: 0;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px 20px 0 0;
}

.project-card .card__image img {
    width: 100%;
    height: auto;
    max-height: 600px !important;
    display: block;
    object-fit: cover;
    object-position: center;
}


/* ==========================================
   CUERPO
   ========================================== */

.project-card .card__body {
    width: 100%;
    height: auto;
    min-height: 0 !important;

    padding: 25px 30px 30px !important;

    box-sizing: border-box;
}

.project-card .card__body h3 {
    margin: 0 0 8px;
}

.project-card .card__body p {
    margin: 0 0 15px;
}

.project-card .card__more {
    display: inline-block;
}

/* ==========================================
   PROYECTOS SWIPER
   ========================================== */

.projects-wrapper {
    position: relative;
    width: 100%;
}

.projects-swiper {
    overflow: hidden;
    width: 100%;
}

.projects-swiper .swiper-slide {
    width: 100% !important;
}


/* ==========================================
   FLECHAS
   ========================================== */

.projects-prev,
.projects-next {
    position: absolute;

    top: 40%;
    transform: translateY(-50%);

    width: 60px;
    height: 60px;

    border: none;
    border-radius: 50%;

    background: #111;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 20;

    cursor: pointer;

    font-size: 28px;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.projects-prev {
    left: 40px;
}

.projects-next {
    right: 40px;
}

.projects-prev:hover,
.projects-next:hover {
    transform: translateY(-50%) scale(1.08);
}


/* =========================================
   CONTACTO
   ========================================= */

.contact-page {
    padding: 20px 20px;
}

.contact-page #contact-info {
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================================
   INTRO
   ========================================= */

.contact-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.contact-intro p {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.6;
}


/* =========================================
   MAPA
   ========================================= */

.contact-map {
    width: 100%;
    margin-bottom: 50px;
    overflow: hidden;
    border-radius: 18px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
}


/* =========================================
   DATOS DE CONTACTO
   ========================================= */

.contact-details {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-details h1 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.contact-role {
    margin: 0 0 30px;
    font-style: italic;
    font-weight: 400;
    opacity: .7;
}

.contact-address {
    line-height: 1.7;
}


/* =========================================
   ENLACES
   ========================================= */

.contact-details a {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}


/* =========================================
   WHATSAPP
   ========================================= */

.contact-whatsapp {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;

    padding: 10px 18px;

    border-radius: 50px;

    text-decoration: none !important;
}

.contact-whatsapp img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* =========================================
   SECCIÓN CONTACTO / PRESUPUESTO
   ========================================= */

.contact-cta {
    padding: 10px 20px;
}

.contact-cta__content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-cta__content h2 {
    margin: 15px 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.contact-cta__content>p {
    max-width: 600px;
    margin: 0 auto 35px;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: .8;
}


/* FORMULARIO */

.contact-cta__form {
    max-width: 600px;
    margin: 35px auto 0;
    padding: 35px;

    background: #f7f7f7;
    border-radius: 20px;

    text-align: center;
}


/* CAMPOS */

.contact-cta__form input,
.contact-cta__form textarea,
.contact-cta__form select {
    width: 100%;
    box-sizing: border-box;

    padding: 13px 15px;

    border: 1px solid #ddd;
    border-radius: 8px;

    font: inherit;
    background: #fff;
}

.contact-cta__form textarea {
    min-height: 120px;
    resize: vertical;
}


/* BOTÓN */

.contact-cta__form input[type="submit"] {
    width: auto;

    padding: 13px 28px;

    border: 0;
    border-radius: 50px;

    cursor: pointer;

}

.contact-cta__buttons .btn {
    width: auto !important;
    min-width: 180px;
    min-height: 48px;
    padding: 12px 20px !important;
    box-sizing: border-box;
}

.contact-cta__whatsapp img {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    margin: 0 !important;
}

.contact-cta__whatsapp img {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    object-fit: contain;
    margin: 0 !important;
}

.contact-cta__whatsapp {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto !important;
    min-height: auto !important;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================
   GOOGLE REVIEWS - CRISTAAREAS
   ========================================================== */

.google-reviews {
    width: 100%;
    padding: 80px 24px;
    background: var(--bg);
    box-sizing: border-box;
}

.google-reviews__inner {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
}


/* ==========================================================
   CABECERA
   ========================================================== */

.google-reviews__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    margin-bottom: 45px;
}

.google-reviews__heading {
    max-width: 650px;
}

.google-reviews__eyebrow {
    display: block;
    margin-bottom: 10px;

    color: var(--accent);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.google-reviews__heading h2 {
    margin: .5rem 0 1rem;

    color: var(--text);

    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.1;
}

.google-reviews__heading p {
    margin: 0;

    color: var(--muted);

    font-size: 1.05rem;
    line-height: 1.6;
}


/* ==========================================================
   VALORACIÓN
   ========================================================== */

.google-reviews__score {
    flex-shrink: 0;
    text-align: right;
}

.google-reviews__rating {
    color: var(--primary);

    font-size: 52px;
    font-weight: 800;

    line-height: 1;
}

.google-reviews__score .google-reviews__stars {
    display: flex;
    justify-content: flex-end;
    gap: 3px;

    margin: 10px 0 6px;
}

.google-reviews__stars span {
    color: var(--accent);

    font-size: 19px;
    line-height: 1;
}

.google-reviews__count {
    color: var(--muted);

    font-size: 14px;
}


/* ==========================================================
   SLIDER
   ========================================================== */

.google-reviews__slider {
    display: flex;
    align-items: center;
    gap: 15px;
}

.google-reviews__viewport {
    width: 100%;
    overflow: hidden;
}

.google-reviews__track {
    display: flex;

    transition: transform .45s ease;

    will-change: transform;
}


/* ==========================================================
   TARJETA
   ========================================================== */

.google-review {
    flex: 0 0 calc(33.333333% - 16px);

    margin-right: 24px;
    padding: 28px;

    min-height: 270px;

    box-sizing: border-box;

    background: #fff;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    display: flex;
    flex-direction: column;
}


/* ==========================================================
   CABECERA RESEÑA
   ========================================================== */

.google-review__top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;
}

.google-review__stars {
    color: var(--accent);

    font-size: 17px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.google-review__date {
    color: var(--muted);

    font-size: 12px;
    white-space: nowrap;
}


/* ==========================================================
   TEXTO
   ========================================================== */

.google-review__text {
    flex: 1;

    margin: 24px 0;

    color: var(--text);

    font-size: 15px;
    line-height: 1.7;
}


/* ==========================================================
   AUTOR
   ========================================================== */

.google-review__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.google-review__avatar {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary);
    color: #fff;

    font-weight: 700;
}

.google-review__author strong {
    display: block;

    color: var(--text);

    font-size: 14px;
}

.google-review__author span {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 12px;
}


/* ==========================================================
   FLECHAS
   ========================================================== */

.google-reviews__arrow {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: var(--primary);
    color: #fff;

    cursor: pointer;

    font-size: 30px;
    line-height: 1;

    transition:
        transform .25s ease,
        opacity .25s ease;
}

.google-reviews__arrow:hover {
    transform: scale(1.08);
}

.google-reviews__arrow:disabled {
    opacity: .25;
    cursor: default;

    transform: none;
}


/* ==========================================================
   PUNTOS
   ========================================================== */

.google-reviews__dots {
    display: flex;
    justify-content: center;

    gap: 7px;

    margin-top: 25px;
}

.google-reviews__dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #cbd5e1;

    cursor: pointer;

    transition: transform .2s ease;
}

.google-reviews__dot.is-active {
    background: var(--accent);

    transform: scale(1.4);
}


/* ==========================================================
   BOTÓN
   ========================================================== */

.google-reviews__footer {
    display: flex;
    justify-content: center;

    margin-top: 35px;
}

.google-reviews__button {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 13px 24px;

    border: 1px solid rgba(11, 37, 69, .15);
    border-radius: 999px;

    color: var(--primary);

    font-size: 14px;
    font-weight: 700;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.google-reviews__button:hover {
    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

/* ==========================================================
   GOOGLE REVIEWS - EXTRAS
   ========================================================== */

.google-review__avatar--image {
    object-fit: cover;
    display: block;
}

.google-review__author a {
    color: inherit;
    text-decoration: none;
}

.google-review__link {
    display: inline-block;
    margin-top: 15px;

    color: var(--accent);

    font-size: 12px;
    font-weight: 700;
}

.google-review__link:hover {
    text-decoration: underline;
}

.google-reviews__attribution {
    margin-top: 25px;

    text-align: center;

    color: var(--muted);

    font-size: 11px;
}

.google-reviews__empty {
    padding: 30px;

    text-align: center;

    color: var(--muted);
}

/* ==========================================
   CONTACT FORM 7
   ========================================== */

.contact-form {
    width: 100%;
}


/* CAMPOS */

.contact-form__field {
    margin-bottom: 18px;
}

.contact-form .contact-input {
    width: 100%;
    box-sizing: border-box;

    padding: 15px 17px;

    border: 1px solid #dfe4ea;
    border-radius: 12px;

    background: #fff;
    color: var(--text);

    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


/* PLACEHOLDER */

.contact-form .contact-input::placeholder {
    color: #9aa3af;
    opacity: 1;
}


/* FOCUS */

.contact-form .contact-input:focus {
    border-color: var(--accent);

    box-shadow:
        0 0 0 3px rgba(88, 185, 202, .12);

    background: #fff;
}


/* TEXTAREA */

.contact-form .contact-textarea {
    min-height: 150px;

    resize: vertical;

    line-height: 1.5;
}


/* ==========================================
   ACEPTACIÓN LEGAL
   ========================================== */

.contact-form .custom-acceptance {
    display: block;

    align-items: flex-start;

    gap: 10px;

    margin: auto;

    color: var(--muted);

    font-size: 15px;

    line-height: 1;

    cursor: pointer;
}


/* CHECKBOX */

.contact-form .custom-acceptance input[type="checkbox"] {
    width: 17px;
    height: 17px;

    flex: 0 0 17px;

    margin: 2px 0 0;

    accent-color: var(--accent);

    cursor: pointer;
}


/* ENLACES */

.contact-form .custom-acceptance a {
    color: var(--primary);

    font-weight: 700;

    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-form .custom-acceptance a:hover {
    color: var(--accent);
}


/* ==========================================
   BOTÓN
   ========================================== */

.contact-form__submit {
    display: flex;

    justify-content: left;


}

.contact-form .contact-submit {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 52px;

    padding: 14px 28px;

    border: 0;
    border-radius: 999px;

    background: var(--accent);
    color: #fff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.contact-form .contact-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(88, 185, 202, .25);
}

.contact-form .contact-submit:active {
    transform: translateY(0);
}


/* ==========================================
   MENSAJES DE CONTACT FORM 7
   ========================================== */

.contact-form .wpcf7-not-valid-tip {
    margin-top: 6px;

    font-size: 12px;

    color: #dc2626;
}

.contact-form .wpcf7-validation-errors,
.contact-form .wpcf7-acceptance-missing {
    margin: 15px 0 0;

    padding: 10px 14px;

    border-radius: 10px;

    font-size: 13px;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1000px) {

    .google-review {
        flex: 0 0 calc(50% - 12px);
    }

}


/* =========================================
   MÓVIL
   ========================================= */

@media(max-width:900px) {

    .hero {
        min-height: auto;
        display: flex;
        flex-direction: column;
        background: none;
        padding: 0;
    }

    .empresa-page .hero {
        min-height: auto;
        display: flex;
        flex-direction: column;
        background: none;
        padding: 0;
    }

    .hero::before {
        content: "";
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        background-image: url("assets/img/hero-cristaareas.webp");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .empresa-page .hero::before {
        content: "";
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        background-image: url("assets/img/hero-empresa.webp");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }



    .hero-content {
        background: #fff;
        padding: 40px 24px;
        text-align: left;
    }

    .intro__grid {
        grid-template-columns: 1fr
    }

    .hero h1 {
        font-size: 3rem
    }

    .main-menu {
        display: none
    }

    .site-footer {
        padding: 2rem 0;
    }

    .site-footer .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.6rem;
        text-align: center;
    }

    .footer-nav {
        width: 100%;
    }

    .footer-menu {
        flex-direction: column;
        gap: 0.6rem;
        align-items: center;
    }

    .footer-menu li {
        margin: 0;
    }

    .footer-menu a {
        display: block;
        padding: 0.6rem 0;
        font-size: 1rem;
    }

    .footer-copy {
        font-size: 0.85rem;
        color: #94a3b8;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        vertical-align: middle;

        padding: 15px 30px;
        border-radius: 999px;
        font-weight: 700;
        line-height: 1.2;
        text-decoration: none;
        box-sizing: border-box;
        transition: .25s;
    }

    .site-logo {
        margin: auto;
    }

    .btn--primary,
    .btn--secondary {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        margin: 10px 0;
        justify-content: center;
        align-items: center;
        text-align: center;
    }



    .project-card {
        border-radius: 14px;
    }

    .project-card .card__image {
        width: 100%;
        height: auto;
        min-height: 0;

        border-radius: 14px 14px 0 0;
    }

    .project-card .card__image img {
        width: 100%;
        height: auto;

        object-fit: contain;
    }

    .project-card .card__body {
        padding: 18px 20px 22px !important;
    }

    .project-card .card__body h3 {
        font-size: 1.25rem;
    }

    .projects-prev,
    .projects-next {
        display: none;
    }

    section {
        padding: 0px 0
    }

    .contact-page {
        padding: 15px 15px;
    }

    .contact-intro {
        margin-bottom: 30px;
    }

    .contact-intro p {
        font-size: 1.05rem;
    }

    .contact-map {
        margin-bottom: 35px;
        border-radius: 12px;
    }

    .contact-map iframe {
        height: 300px;
    }

    .contact-details h1 {
        font-size: 2rem;
    }

    .contact-cta__buttons .btn {
        width: auto !important;
    }


    .google-reviews {
        padding: 60px 18px;
    }

    .google-reviews__header {
        display: block;

        margin-bottom: 30px;
    }

    .google-reviews__score {
        margin-top: 25px;

        text-align: left;
    }

    .google-reviews__score .google-reviews__stars {
        justify-content: flex-start;
    }

    .google-reviews__rating {
        font-size: 44px;
    }

    .google-reviews__slider {
        display: block;
    }

    .google-review {
        flex: 0 0 100%;

        margin-right: 0;

        min-height: 250px;

        padding: 24px;
    }

    .google-reviews__arrow {
        display: none;
    }

    .google-reviews__heading h2 {
        font-size: 2rem;
    }

    .contact-form .contact-input {
        padding: 14px 15px;

        font-size: 16px;
    }

    .contact-form .contact-textarea {
        min-height: 130px;
    }

    .contact-form .custom-acceptance {
        font-size: 12px;

        gap: 8px;
    }

    .contact-form .contact-submit {
        min-height: 50px;
    }



}

@media (max-width: 460px) {
    .services__grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
}