/*
Theme Name: WildPro Structure TT5 Child
Theme URI: https://wildproestudio.com/
Author: WildPro
Description: Tema hijo de Twenty Twenty-Five con la misma estructura base de WildPro Studio.
Version: 1.0.0
Template: twentytwentyfive
Text Domain: wildpro-structure-tt5-child
*/

:root {
    --wildpro-bg: #ffffff;
    --wildpro-surface: #ffffff;
    --wildpro-surface-alt: #f4fbfe;
    --wildpro-text: #14212b;
    --wildpro-text-muted: #516675;
    --wildpro-accent: #17ace4;
    --wildpro-accent-strong: #0c8dbd;
    --wildpro-border: rgba(20, 33, 43, 0.1);
    --wildpro-shadow: 0 18px 40px rgba(17, 44, 63, 0.08);
    --wildpro-width: 1180px;
    --wildpro-radius: 24px;
}

html {
    background: var(--wildpro-bg);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.wildpro-landing,
body.wildpro-legal,
body.wildpro-service-page {
    margin: 0;
    background: var(--wildpro-bg) !important;
    color: var(--wildpro-text);
    font-family: "Georgia", "Times New Roman", serif;
}

.wildpro-shell {
    min-height: 100vh;
    background: var(--wildpro-bg) !important;
}

.wildpro-container {
    width: min(calc(100% - 32px), var(--wildpro-width));
    margin: 0 auto;
}

.wildpro-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(20, 33, 43, 0.08);
}

.wildpro-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.wildpro-brand img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
}

.wildpro-contact {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 24px;
    font-size: 0.95rem;
}

.wildpro-contact a,
.wildpro-footer a,
.wildpro-button {
    color: var(--wildpro-text);
    text-decoration: none;
}

.wildpro-contact a:hover,
.wildpro-footer a:hover {
    color: var(--wildpro-accent-strong);
}

.wildpro-hero {
    position: relative;
    overflow: hidden;
    min-height: 86vh;
    display: flex;
    align-items: center;
    background: #ffffff;
}

.wildpro-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.16) 68%, rgba(255, 255, 255, 0.24) 100%);
}

.wildpro-hero video,
.wildpro-banner video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    filter: saturate(1.02) brightness(0.98);
}

.wildpro-hero__content,
.wildpro-banner__content {
    position: relative;
    z-index: 1;
}

.wildpro-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid rgba(23, 172, 228, 0.22);
    border-radius: 999px;
    background: rgba(23, 172, 228, 0.08);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.74rem;
}

.wildpro-hero h1,
.wildpro-section__heading h2,
.wildpro-banner h2,
.wildpro-story h2,
.wildpro-contact-block h2 {
    margin: 0;
    font-size: clamp(1.6rem, 6vw, 1.7rem);
    /*line-height: 2.95;*/
    font-weight: 800;
    letter-spacing: -0.04em;
}

.wildpro-hero p,
.wildpro-section__heading p,
.wildpro-story p,
.wildpro-contact-note,
.wildpro-contact-block p {
    color: var(--wildpro-text-muted);
    font-size: 1.02rem;
}

.wildpro-hero__content {
    position: relative;
    z-index: 1;
    max-width: 932px;
    padding: 110px 28px 100px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.56);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 40px rgba(17, 44, 63, 0.08);
}

.wildpro-hero__content h1 {
    color: #0f1d27;
    text-shadow: none;
}

.wildpro-hero__content p {
    color: #294252;
}

.wildpro-hero__content .wildpro-kicker {
    color: #294252;
}

.wildpro-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.wildpro-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.wildpro-button--primary {
    background: var(--wildpro-accent);
    color: #ffffff;
    font-weight: 700;
}

.wildpro-button--secondary {
    background: #ffffff;
    border-color: rgba(20, 33, 43, 0.12);
    color: #14212b;
}

.wildpro-button:hover {
    transform: translateY(-1px);
}

.wildpro-section {
    padding: 88px 0;
}

.wildpro-section__heading {
    width: 100%;
    margin-bottom: 36px;
    text-align: center;
}

.wildpro-grid {
    display: grid;
    gap: 22px;
}

.wildpro-services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wildpro-card,
.wildpro-story,
.wildpro-contact-card,
.wildpro-portfolio-item {
    overflow: hidden;
    border: 1px solid var(--wildpro-border);
    border-radius: var(--wildpro-radius);
    background: var(--wildpro-surface);
    box-shadow: var(--wildpro-shadow);
}

.wildpro-story {
    display: flex;
    min-height: 100%;
}

.wildpro-story--about {
    display: block;
    max-width: 860px;
    margin: 0 auto;
}

.wildpro-story__media {
    display: flex;
}

.wildpro-story__media--inline {
    justify-content: center;
    margin: 18px 0 24px;
}

.wildpro-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.wildpro-card__body {
    padding: 22px;
}

.wildpro-card__body h3,
.wildpro-story h2,
.wildpro-contact-card h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
}

.wildpro-portfolio {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wildpro-portfolio-item video,
.wildpro-story video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
}

.wildpro-story__media--inline video {
    width: min(100%, 280px);
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    object-fit: cover;
    flex: 0 0 auto;
}

.wildpro-portfolio-item video {
    aspect-ratio: 9 / 16;
    min-height: 240px;
}

.wildpro-story-grid,
.wildpro-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.wildpro-story__body,
.wildpro-contact-card__body {
    padding: 30px;
}

.wildpro-banner {
    position: relative;
    min-height: 58vh;
    display: flex;
    align-items: center;
    background: #ffffff;
}

.wildpro-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06));
}

.wildpro-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.wildpro-form input,
.wildpro-form textarea {
    width: 100%;
    border: 1px solid rgba(20, 33, 43, 0.14);
    border-radius: 18px;
    background: #ffffff;
    color: var(--wildpro-text);
    padding: 15px 16px;
    font: inherit;
}

.wildpro-form textarea {
    min-height: 140px;
    resize: vertical;
}

.wildpro-contact-card__media {
    display: grid;
    place-items: center;
    padding: 32px;
    background:
        radial-gradient(circle at top, rgba(23, 172, 228, 0.14), transparent 36%),
        linear-gradient(180deg, #f7fcff, #ffffff);
}

.wildpro-contact-card__media img {
    display: block;
    width: min(100%, 340px);
    height: auto;
}

.wildpro-footer {
    padding: 42px 0 64px;
}

.wildpro-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(20, 33, 43, 0.1);
}

.wildpro-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.wildpro-legal {
    min-height: 100vh;
    color: var(--wildpro-text);
}

.wildpro-legal__wrap {
    width: min(calc(100% - 32px), 920px);
    margin: 0 auto;
    padding: 64px 0 88px;
}

.wildpro-legal__back {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--wildpro-text-muted);
    text-decoration: none;
}

.wildpro-legal__card {
    border: 1px solid var(--wildpro-border);
    border-radius: var(--wildpro-radius);
    background: var(--wildpro-surface);
    box-shadow: var(--wildpro-shadow);
    padding: 34px;
}

.wildpro-legal__card h1 {
    margin: 0 0 12px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
}

.wildpro-legal__card h2 {
    margin: 30px 0 10px;
    font-size: 1.35rem;
}

.wildpro-legal__card p,
.wildpro-legal__card li {
    color: var(--wildpro-text-muted);
}

.wildpro-legal__card ul {
    padding-left: 20px;
 }

.wildpro-service-page {
    min-height: 100vh;
    color: var(--wildpro-text);
}

.wildpro-service-page__hero {
    padding: 88px 0 44px;
}

.wildpro-service-page__hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: center;
}

.wildpro-service-page__hero h1 {
    margin: 0 0 14px;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.95;
}

.wildpro-service-page__hero p {
    color: var(--wildpro-text-muted);
    max-width: 60ch;
}

.wildpro-service-page__media,
.wildpro-service-page__panel,
.wildpro-service-page__cta {
    border: 1px solid var(--wildpro-border);
    border-radius: var(--wildpro-radius);
    background: var(--wildpro-surface);
    box-shadow: var(--wildpro-shadow);
}

.wildpro-service-page__media {
    overflow: hidden;
    min-height: 320px;
}

.wildpro-service-page__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wildpro-service-page__section {
    padding: 24px 0 80px;
}

.wildpro-service-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.wildpro-service-page__panel {
    padding: 24px;
}

.wildpro-service-page__panel h3,
.wildpro-service-page__cta h2 {
    margin: 0 0 10px;
}

.wildpro-service-page__panel p,
.wildpro-service-page__panel li,
.wildpro-service-page__cta p {
    color: var(--wildpro-text-muted);
}

.wildpro-service-page__panel ul {
    margin: 0;
    padding-left: 18px;
}

.wildpro-service-page__cta {
    margin-top: 28px;
    padding: 28px;
}

.wildpro-thankyou {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    padding: 72px 0;
}

.wildpro-thankyou__card {
    max-width: 760px;
    margin: 0 auto;
    padding: 36px;
    text-align: center;
    border: 1px solid var(--wildpro-border);
    border-radius: var(--wildpro-radius);
    background: var(--wildpro-surface);
    box-shadow: var(--wildpro-shadow);
}

.wildpro-thankyou__card h1 {
    margin: 0 0 16px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
}

.wildpro-thankyou__card p {
    color: var(--wildpro-text-muted);
}

.wildpro-thankyou__actions {
    margin: 24px 0;
}

.wildpro-thankyou__logo {
    display: inline-flex;
    margin: 10px 0 20px;
}

.wildpro-thankyou__logo img {
    width: min(100%, 220px);
    height: auto;
}

.wildpro-thankyou__contact p {
    margin: 8px 0;
}

@media (max-width: 980px) {
    .wildpro-services,
    .wildpro-story-grid,
    .wildpro-contact-grid,
    .wildpro-service-page__grid,
    .wildpro-service-page__hero-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wildpro-portfolio {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 760px) {
    .wildpro-topbar__inner,
    .wildpro-footer__inner {
        flex-direction: column;
        
    }

    .wildpro-contact {
        justify-content: flex-start;
    }

    .wildpro-services,
    .wildpro-portfolio,
    .wildpro-story-grid,
    .wildpro-contact-grid,
    .wildpro-service-page__grid,
    .wildpro-service-page__hero-grid {
        grid-template-columns: 1fr;
    }

    .wildpro-section {
        padding: 72px 0;
    }

    .wildpro-hero {
        min-height: 78vh;
    }

    .wildpro-hero__content {
        max-width: 100%;
        padding: 72px 20px 64px;
    }

    .wildpro-hero__actions {
        justify-content: center;
    }

    .wildpro-hero__actions .wildpro-button {
        width: 100%;
    }

    .wildpro-story__media video {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
        aspect-ratio: auto;
    }

    .wildpro-story__media--inline video {
        width: min(100%, 220px);
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 16 / 9;
    }

    .wildpro-story__body {
        padding: 22px;
    }

    .wildpro-portfolio-item video {
        min-height: 280px;
    }

    .wildpro-legal__card {
        padding: 24px;
    }

    .wildpro-thankyou__card {
        padding: 24px;
    }
}
