.ytc-page-footer-custom-content {
    max-width: 1200px;
    margin: 12px auto 16px;
    padding: 20px 20px;
    color: inherit;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

body.night-mode .ytc-page-footer-custom-content,
body.dark-mode .ytc-page-footer-custom-content,
body.sheer-dark-mode .ytc-page-footer-custom-content,
[data-color-scheme="dark"] .ytc-page-footer-custom-content {
    background: rgba(18, 24, 38, 0.75) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #e2e8f0 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
}

body.night-mode .ytc-page-footer-custom-content a,
body.dark-mode .ytc-page-footer-custom-content a,
body.sheer-dark-mode .ytc-page-footer-custom-content a,
[data-color-scheme="dark"] .ytc-page-footer-custom-content a {
    color: #60a5fa !important;
}

.ytc-page-footer-custom-content p,
.ytc-page-footer-custom-content ul,
.ytc-page-footer-custom-content ol,
.ytc-page-footer-custom-content blockquote,
.ytc-page-footer-custom-content table,
.ytc-page-footer-custom-content pre {
    margin: 0 0 16px;
}

.ytc-page-footer-custom-content a {
    color: #1a73e8;
    text-decoration: none;
}

.ytc-page-footer-custom-content a:hover {
    text-decoration: underline;
}

.ytc-page-footer {
    background: var(--pfooter-bg, #1a1a2e);
    color: var(--pfooter-text, #cccccc);
    padding: 24px 0 30px;
    margin-top: 16px;
    margin-bottom: 0 !important;
    width: 100%;
    transition: background 0.3s ease, color 0.3s ease;
}

body.night-mode .ytc-page-footer,
body.dark-mode .ytc-page-footer,
body.sheer-dark-mode .ytc-page-footer,
[data-color-scheme="dark"] .ytc-page-footer {
    background: #111420 !important;
    color: #cbd5e1 !important;
}

/* Contact info bar */
.ytc-pf-info-bar {
    max-width: 1200px;
    margin: 0 auto 28px;
    padding: 0 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.ytc-pf-info-item {
    font-size: 15px;
    color: var(--pfooter-text, #cccccc);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ytc-pf-info-item a {
    color: var(--pfooter-text, #cccccc);
    text-decoration: none;
    transition: color 0.2s;
}

.ytc-pf-info-item a:hover {
    color: var(--pfooter-link, #667eea);
}

.ytc-pf-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    text-decoration: none;
    line-height: 1;
    opacity: 0.95;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ytc-pf-info-socials {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ytc-pf-social-link:hover {
    transform: translateY(-1px);
    opacity: 1;
}

.ytc-pf-social-link svg {
    width: 18px;
    height: 18px;
    display: block;
}

.ytc-pf-social-instagram svg {
    width: 19px;
    height: 19px;
}

.ytc-pf-social-youtube svg {
    width: 20px;
    height: 20px;
}

.ytc-pf-social-link .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ytc-page-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.ytc-page-footer[data-cols="3"] .ytc-page-footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
}

/* Headings */
.ytc-pf-heading {
    color: var(--pfooter-heading, #ffffff) !important;
    font-size: var(--scdev-h5-size, 18px);
    font-weight: var(--scdev-h5-weight, 700);
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--pfooter-heading-line, var(--pfooter-link, #667eea)) !important;
    display: inline-block;
}

/* Links */
.ytc-pf-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ytc-pf-nav li {
    margin-bottom: 8px;
}

.ytc-pf-nav a {
    color: var(--pfooter-text, #cccccc);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.ytc-pf-nav a:hover {
    color: var(--pfooter-link, #667eea);
    padding-left: 4px;
}

/* Contact form - step layout */
.ytc-pf-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ytc-pf-step {
    display: none;
    flex-direction: column;
    gap: 10px;
}

.ytc-pf-step.active {
    display: flex;
}

.ytc-pf-step-label {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--pfooter-step-label, var(--pfooter-text, #cccccc)) !important;
}

.ytc-pf-step-btns {
    display: flex;
    gap: 8px;
}

.ytc-pf-form input,
.ytc-pf-form textarea {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--pfooter-text, #cccccc);
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.ytc-pf-form input::placeholder,
.ytc-pf-form textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.ytc-pf-form input:focus,
.ytc-pf-form textarea:focus {
    outline: none;
    border-color: var(--pfooter-link, #667eea);
}

.ytc-pf-form textarea {
    resize: vertical;
    min-height: 90px;
}

.ytc-pf-form button,
.ytc-pf-next,
.ytc-pf-back,
.ytc-pf-form button[type="submit"] {
    background: var(--pfooter-btn-bg, var(--pfooter-link, #667eea)) !important;
    color: var(--pfooter-btn-text, #ffffff) !important;
    border: none;
    border-radius: 6px;
    padding: 11px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    align-self: flex-start;
}

.ytc-pf-form button:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.ytc-pf-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ytc-pf-back {
    background: transparent !important;
    color: var(--pfooter-text, #cccccc) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    opacity: 1 !important;
}

.ytc-pf-form-msg {
    font-size: 15px;
    min-height: 18px;
}

.ytc-pf-form-msg.success { color: #4caf50; }
.ytc-pf-form-msg.error   { color: #f44336; }

/* Map */
.ytc-pf-map-iframe {
    width: 100%;
    height: 220px;
    border: none;
    border-radius: 8px;
    display: block;
    max-width: 100%;
    box-sizing: border-box;
}

/* Responsive */
@media (max-width: 768px) {
    .ytc-page-footer-inner,
    .ytc-page-footer[data-cols="3"] .ytc-page-footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ytc-pf-info-bar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 14px;
        align-items: center;
    }

    .ytc-pf-info-socials {
        flex-basis: 100%;
        width: 100%;
        margin-top: 2px;
        justify-content: center;
    }

    .ytc-pf-social-link {
        width: 20px;
        height: 20px;
    }

    .ytc-pf-heading {
        display: block;
        width: 100%;
        text-align: center;
    }

    .ytc-pf-links {
        text-align: center;
    }

    .ytc-pf-contact {
        text-align: center;
    }

    .ytc-pf-nav {
        display: inline-block;
        text-align: left;
    }

    .ytc-pf-form {
        align-items: center;
    }

    .ytc-pf-form button,
    .ytc-pf-step-btns {
        align-self: center;
    }

    .ytc-pf-map,
    .ytc-pf-map-iframe {
        width: 100%;
        max-width: 100%;
    }

    .ytc-pf-map {
        overflow: hidden;
    }

    .ytc-pf-map-iframe {
        height: 180px;
    }
}

.ytc-page-footer {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.ytc-page-footer-inner {
    padding-bottom: 0 !important;
}

.ytc-pf-map-iframe {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    margin-bottom: 0 !important;
}
