:root {
    /* if your variables.css already has these, that's okay */
    --ty-green: #083248;
    --ty-yellow: #ffd35a;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.ty-hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 16px;
    background: #071a33;
}

.ty-hero__bg {
    position: absolute;
    inset: 0;
    background: url("../images/hero-family.webp") center/cover no-repeat;
    transform: scale(1.02);
    z-index: 0;
}

.ty-hero__overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(135deg, rgba(7,26,51,0.82), rgba(8,50,72,0.58));

    z-index: 1;
}

.ty-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.ty-card {
    text-align: center;
    border-radius: 26px;
    padding: 44px 34px;
    background: rgb(8, 50, 72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.ty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255, 211, 90, 0.16);
    border: 1px solid rgba(255, 211, 90, 0.35);
}

.ty-icon svg {
    width: 38px;
    height: 38px;
    fill: var(--ty-yellow);
}

.ty-title {
    color: #fff;
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 800;
    font-size: 44px;
    letter-spacing: -0.8px;
    margin: 0 0 10px;
    line-height: 1.05;
}

.ty-sub {
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: rgba(255, 255, 255, 0.90);
    max-width: 880px;
    margin: 0 auto 24px;
    font-size: 15px;
    line-height: 1.6;
}

.ty-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.ty-btn {
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0.6px;
    border: 0;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.ty-btn:active {
    transform: translateY(1px);
}

.ty-btn--primary {
    background: var(--ty-yellow);
    color: var(--ty-green);
    box-shadow: 0 16px 36px rgba(18, 178, 85, 0.25);
}

.ty-btn--primary:hover {
    opacity: 0.95;
}

.ty-btn--secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.ty-btn--secondary:hover {
    opacity: 0.95;
}

.ty-call {
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    font-size: 14px;
}

.ty-call a {
    color: var(--ty-yellow);
    text-decoration: none;
    font-weight: 900;
}

.ty-call a:hover,
.ty-call a:focus,
.split-hero__call:hover,
.split-hero__call:focus,
.split-hero__call a:hover,
.split-hero__call a:focus {
    text-decoration: none !important;
}

.ty-foot {
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .ty-card {
        padding: 34px 18px;
        border-radius: 20px;
    }

    .ty-title {
        font-size: 32px;
    }

    .ty-sub {
        font-size: 14px;
    }

    .ty-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }
}

@media (max-width: 420px) {
    .ty-title {
        font-size: 28px;
    }

    .ty-btn {
        width: 100%;
    }
}

/* ── Sticky Phone Button ── */
.sticky-phone {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ty-yellow);
    color: var(--ty-green);
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: 0.3px;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sticky-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.sticky-phone:active {
    transform: translateY(0);
}

.sticky-phone__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sticky-phone__text {
    white-space: nowrap;
}

@media (max-width: 480px) {
    .sticky-phone {
        top: 16px;
        right: 16px;
        padding: 12px 20px;
        font-size: 14px;
        gap: 8px;
    }

    .sticky-phone__icon {
        width: 18px;
        height: 18px;
    }
}

/* ── Privacy Policy Layout ── */
.policy-card{
    text-align: left;
}

.policy-topbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.policy-logo{
    height: 44px;
    width: auto;
    display: block;
}

.policy-title-wrap{
    text-align: center;
    margin-bottom: 10px;
}

.policy-title{
    margin: 0 0 10px;
}

.policy-content h2{
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #fff;
    font-weight: 900;
    font-size: 22px;
    margin: 24px 0 10px;
    letter-spacing: -0.2px;
}

.policy-content p,
.policy-content li{
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: rgba(255,255,255,0.92);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.75;
    margin: 0 0 12px;
}

.policy-content ul{
    margin: 10px 0 18px 20px;
    padding: 0;
}

.policy-content li{
    margin: 6px 0;
}

@media (max-width: 768px){
    .policy-content h2{
        font-size: 20px;
    }
}

@media (max-width: 420px){
    .policy-logo{
        height: 40px;
    }
}