/* Below-the-fold styles for OVBR.RF */

.section-padding { padding: 64px 0; }
.bg-alt { background-color: #f1f5f9; }
.bg-white { background-color: #ffffff; }

.section-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 48px auto;
}
.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--p);
    margin-bottom: 8px;
    display: inline-block;
}
.section-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 1rem;
    color: #475569;
    line-height: 1.5;
}

/* Grid & Cards */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 840px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--rounded);
    padding: 28px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}
.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: inline-block;
}
.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}
.feature-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.55;
}

/* Steps list */
.step-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--p);
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.step-content p {
    font-size: 0.85rem;
    color: #475569;
}

/* Interactive Calculator Box */
.calc-container {
    background: #ffffff;
    border: 2px solid #e0f2fe;
    border-radius: 1rem;
    padding: 32px;
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.06);
}
.calc-option-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
}
@media (min-width: 600px) {
    .calc-option-grid { grid-template-columns: repeat(2, 1fr); }
}
.calc-radio-card {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.15s ease;
}
.calc-radio-card:hover {
    border-color: var(--p);
    background: #f0f9ff;
}
.calc-radio-card input[type="radio"] {
    margin-top: 3px;
    accent-color: var(--p);
}
.calc-radio-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
}

/* TU Locator Box */
.tu-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 1rem;
    padding: 28px;
}

/* Accordion FAQ */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
details.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.15s;
}
details.faq-item[open] {
    border-color: var(--p);
}
summary.faq-question {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
summary.faq-question::-webkit-details-marker { display: none; }
summary.faq-question::after {
    content: "+";
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--p);
    transition: transform 0.2s;
}
details.faq-item[open] summary.faq-question::after {
    content: "−";
}
.faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.6;
    border-top: 1px solid #f1f5f9;
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 56px 0 32px 0;
    margin-top: auto;
    font-size: 0.85rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
.footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}
.footer-col h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-links a:hover { color: #ffffff; }
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.75rem;
}

/* Modal Dialog */
dialog.modal {
    border: none;
    border-radius: 1rem;
    padding: 0;
    margin: auto;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
dialog.modal::backdrop {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
}
.modal-box {
    padding: 28px;
    background: #ffffff;
}
.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #64748b;
}

/* Accessibility & Print */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
