.page-hero {
    background: linear-gradient(105deg, rgba(8, 20, 33, 0.88), rgba(11, 42, 56, 0.65)), url('../images/serviciosslide.png') center/cover no-repeat;
    padding: 88px 0 72px;
    color: #fff;
}

.page-hero .container {
    display: grid;
    gap: 14px;
}

.page-hero .ey {
    width: max-content;
}

.page-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.04;
}

.page-hero p {
    color: #dde7ea;
    font-size: 18px;
    max-width: 820px;
}

.page-wrap {
    padding: 80px 0;
}

.about-intro {
    max-width: 950px;
    margin: 0 auto 26px;
    text-align: center;
}

.about-intro h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(30px, 4vw, 40px);
    margin-bottom: 10px;
}

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

.about-card {
    background: #fff;
    border: 1px solid var(--l);
    border-radius: var(--r);
    box-shadow: var(--s);
    padding: 20px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.about-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.about-card ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: var(--mute);
}

.services-intro {
    max-width: 900px;
    margin: 0 auto 26px;
    text-align: center;
}

.services-intro h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(30px, 4vw, 40px);
    margin-bottom: 10px;
}

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

.service-box {
    background: #fff;
    border: 1px solid var(--l);
    border-radius: var(--r);
    box-shadow: var(--s);
    overflow: hidden;
    display: grid;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-box .cover {
    height: 210px;
}

.service-box .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-box .body {
    padding: 18px;
    display: grid;
    gap: 10px;
    align-content: start;
}

.service-box h3 {
    font-size: 24px;
    line-height: 1.15;
}

.service-box ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 7px;
    color: var(--mute);
}

.service-box .btn {
    margin-top: auto;
    width: max-content;
}

.clients-intro {
    max-width: 860px;
    margin: 0 auto 24px;
    text-align: center;
}

.clients-intro h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(30px, 4vw, 40px);
    margin-bottom: 10px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.client-card {
    background: #fff;
    border: 1px solid var(--l);
    border-radius: 14px;
    box-shadow: var(--s);
    padding: 14px;
    display: grid;
    place-items: center;
    min-height: 132px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.client-card img {
    max-width: 170px;
    max-height: 84px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: saturate(1.04);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 16px;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--l);
    border-radius: var(--r);
    box-shadow: var(--s);
    padding: 22px;
    transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.contact-card h2,
.contact-card h3 {
    font-family: "Playfair Display", serif;
    font-size: clamp(26px, 3.4vw, 34px);
    margin-bottom: 10px;
}

.contact-card h4 {
    font-size: 20px;
    margin: 8px 0 8px;
}

.form-grid {
    display: grid;
    gap: 12px;
}

.form-grid input,
.form-grid textarea {
    width: 100%;
    border: 1px solid var(--l);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

.form-grid textarea {
    min-height: 170px;
    resize: vertical;
}

.captcha-wrap {
    margin-top: 6px;
}

.msg-success {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #79c89a;
    background: #ecf9f1;
    color: #136f3f;
    font-weight: 600;
}

.msg-error {
    margin-top: 8px;
    color: #d11e3a;
    font-size: 14px;
    font-weight: 600;
}

.contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    color: var(--mute);
}

.contact-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.contact-list i {
    color: var(--g);
    margin-top: 4px;
}

.contact-card .btn {
    width: max-content;
}

.blog-layout-premium {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 16px;
}

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

.post-card-premium {
    background: #fff;
    border: 1px solid var(--l);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--s);
    display: grid;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.post-card-premium .cover {
    position: relative;
    height: 208px;
}

.post-card-premium .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-date {
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.post-date b {
    display: block;
    background: #fff;
    color: #102633;
    padding: 5px 10px 3px;
    font-size: 18px;
}

.post-date span {
    display: block;
    background: var(--g);
    color: #fff;
    font-size: 11px;
    letter-spacing: .08em;
    padding: 3px 10px 4px;
}

.post-card-premium .body {
    padding: 16px;
    display: grid;
    gap: 10px;
}

.post-card-premium h3 {
    font-size: 24px;
    line-height: 1.2;
}

.post-card-premium p {
    font-size: 15px;
}

.post-card-premium .read {
    color: var(--g);
    font-weight: 700;
}

.sidebar-sticky {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 14px;
    height: max-content;
}

.side-card {
    background: #fff;
    border: 1px solid var(--l);
    border-radius: 14px;
    box-shadow: var(--s);
    padding: 16px;
    transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.side-card h4 {
    font-size: 21px;
    margin-bottom: 10px;
}

.recent-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.recent-list a {
    font-weight: 700;
}

.recent-list time {
    font-size: 13px;
    color: var(--mute);
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tags a {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--l);
    font-size: 13px;
    font-weight: 700;
    background: #f7fbfa;
}

.about-card:hover,
.service-box:hover,
.client-card:hover,
.post-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 34px rgba(16, 34, 39, 0.16);
    border-color: #c4d8d2;
}

.contact-card:hover,
.side-card:hover {
    box-shadow: 0 20px 34px rgba(16, 34, 39, 0.14);
    border-color: #c4d8d2;
}

@media (max-width: 1080px) {
    .about-grid,
    .services-grid-premium {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .blog-layout-premium {
        grid-template-columns: 1fr;
    }

    .sidebar-sticky {
        position: static;
    }
}

@media (max-width: 780px) {
    .clients-grid,
    .blog-posts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-hero {
        padding: 72px 0 56px;
    }

    .page-hero p {
        font-size: 16px;
    }

    .service-box .cover {
        height: 190px;
    }

    .contact-card {
        padding: 18px;
    }
}

@media (max-width: 430px) {
    .captcha-wrap {
        overflow: hidden;
        min-height: 72px;
    }

    .captcha-wrap .g-recaptcha {
        transform: scale(0.9);
        transform-origin: left top;
    }
}

@media (max-width: 360px) {
    .captcha-wrap {
        min-height: 66px;
    }

    .captcha-wrap .g-recaptcha {
        transform: scale(0.84);
    }
}
