.dynamic-page{
    background:#f5f7fb;
}

/* ===============================
   PAGE HERO
================================ */

.page-hero{
    padding:60px 0;
    background:
        radial-gradient(circle at top left, rgba(37,99,235,.18), transparent 34%),
        linear-gradient(135deg,#0f172a,#1e293b);
    color:#fff;
    overflow:hidden;
}

.page-hero-grid{
    display:grid;
    grid-template-columns:1fr 480px;
    gap:50px;
    align-items:center;
}

.page-hero-content span{
    display:inline-flex;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.16);
    padding:8px 14px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-bottom:18px;
}

.page-hero-content h1{
    font-size:54px;
    line-height:1.08;
    font-weight:950;
    letter-spacing:-.05em;
    margin-bottom:18px;
    max-width:760px;
}

.page-hero-content p{
    font-size:17px;
    line-height:1.9;
    color:#dbeafe;
    max-width:720px;
    margin:0;
}

.page-hero-image{
    min-height:380px;
    border-radius:30px;
    overflow:hidden;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 25px 70px rgba(0,0,0,.22);
}

.page-hero-image img{
    width:100%;
    height:100%;
    min-height:380px;
    object-fit:cover;
    display:block;
}

.page-image-placeholder{
    min-height:380px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:90px;
}

/* ===============================
   ABOUT PAGE CONTENT
================================ */

.page-content-section{
    padding:75px 0;
}

.page-content-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:30px;
    padding:50px;
    box-shadow:0 18px 45px rgba(15,23,42,.07);
}

.page-content{
    font-size:17px;
    line-height:2;
    color:#334155;
}

.page-content p{
    margin-bottom:18px;
}

.page-content h2,
.page-content h3,
.page-content h4{
    color:#0f172a;
    font-weight:900;
    margin:28px 0 14px;
}

.page-content ul,
.page-content ol{
    padding-left:22px;
    margin-bottom:18px;
}

.page-content li{
    margin-bottom:8px;
}

.page-content img{
    max-width:100%;
    border-radius:22px;
    margin:20px 0;
}

/* ===============================
   CONTACT PAGE
================================ */

.contact-page-section{
    padding:75px 0;
}

.contact-grid{
    display:grid;
    grid-template-columns:420px 1fr;
    gap:28px;
    align-items:start;
}

.contact-info-card,
.contact-form-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:30px;
    padding:35px;
    box-shadow:0 18px 45px rgba(15,23,42,.07);
}

.contact-info-card h2,
.contact-form-card h2{
    font-size:28px;
    font-weight:950;
    letter-spacing:-.03em;
    color:#0f172a;
    margin-bottom:16px;
}

.contact-info-card > p{
    color:#64748b;
    line-height:1.9;
    margin-bottom:26px;
}

.contact-info-list{
    display:grid;
    gap:16px;
    margin:25px 0;
}

.contact-item{
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:18px;
    background:#f8fafc;
}

.contact-item h4{
    font-size:14px;
    color:#0f172a;
    font-weight:900;
    margin-bottom:6px;
}

.contact-item p{
    color:#64748b;
    margin:0;
    line-height:1.6;
}

.whatsapp-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:50px;
    border-radius:16px;
    background:#16a34a;
    color:#fff;
    font-weight:950;
    text-decoration:none;
    margin-top:10px;
    box-shadow:0 14px 28px rgba(22,163,74,.22);
}

.whatsapp-btn:hover{
    background:#15803d;
    color:#fff;
}

/* ===============================
   CONTACT FORM
================================ */

.contact-form-card .form-group{
    margin-bottom:16px;
}

.contact-form-card input,
.contact-form-card textarea{
    width:100%;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:14px 16px;
    background:#f8fafc;
    font-size:15px;
    outline:none;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus{
    border-color:#2563eb;
    background:#fff;
    box-shadow:0 0 0 4px rgba(37,99,235,.08);
}

.contact-form-card textarea{
    resize:vertical;
}

.contact-form-card .primary-btn{
    width:100%;
    min-height:52px;
    border:none;
    cursor:pointer;
}

.alert{
    padding:14px 16px;
    border-radius:16px;
    margin-bottom:18px;
    font-weight:800;
}

.alert p{
    margin:0;
}

.alert.success{
    background:#dcfce7;
    color:#166534;
    border:1px solid #bbf7d0;
}

.alert.error{
    background:#fee2e2;
    color:#991b1b;
    border:1px solid #fecaca;
}

/* ===============================
   MAP
================================ */

.map-card{
    margin-top:30px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:30px;
    overflow:hidden;
    box-shadow:0 18px 45px rgba(15,23,42,.07);
}

.map-card iframe{
    width:100%;
    height:430px;
    border:0;
    display:block;
}

/* ===============================
   RESPONSIVE
================================ */

@media(max-width:1100px){
    .page-hero-grid{
        grid-template-columns:1fr 400px;
        gap:35px;
    }

    .page-hero-content h1{
        font-size:46px;
    }

    .contact-grid{
        grid-template-columns:380px 1fr;
    }
}

@media(max-width:991px){
    .page-hero-grid,
    .contact-grid{
        grid-template-columns:1fr;
    }

    .page-hero-image{
        min-height:320px;
    }

    .page-hero-image img{
        min-height:320px;
    }

    .page-hero-content h1{
        font-size:40px;
    }

    .page-content-card,
    .contact-info-card,
    .contact-form-card{
        padding:32px;
    }
}

@media(max-width:576px){
    .page-hero{
        padding:42px 0;
    }

    .page-hero-content h1{
        font-size:32px;
    }

    .page-hero-content p{
        font-size:15px;
    }

    .page-hero-image,
    .page-hero-image img,
    .page-image-placeholder{
        min-height:240px;
    }

    .page-content-section,
    .contact-page-section{
        padding:48px 0;
    }

    .page-content-card,
    .contact-info-card,
    .contact-form-card{
        padding:24px;
        border-radius:24px;
    }

    .page-content{
        font-size:15px;
    }

    .contact-info-card h2,
    .contact-form-card h2{
        font-size:24px;
    }

    .map-card iframe{
        height:320px;
    }
}