/* =========================================================
   Oscar Plywood - Inner pages stylesheet
   Loaded after assets/css/style.css (the index.php stylesheet),
   so header, navbar, footer, about-section, why-choose-section
   keep the exact homepage look. This file only adds the
   components used on inner pages.
   Theme colour: #ff8600 (darker #e67700 used only for hover).
   ========================================================= */
:root {
    --op-primary: #ff8600;      /* theme orange */
    --op-accent: #ff8600;       /* logo orange */
    --op-primary-dark: #e67700; /* hover shade of #ff8600 */
    --op-dark: #1f1f1f;
    --op-text: #4a4a4a;
    --op-soft: #fff7ee;
    --op-border: #f3e4d2;
    --op-radius: 14px;
    --op-shadow: 0 10px 30px rgba(31, 31, 31, .08);
    --op-shadow-hover: 0 18px 40px rgba(31, 31, 31, .14);
}

body { font-family: 'Montserrat', sans-serif; overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* ---------- Page banner ---------- */
.page-banner {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
}
.page-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(17, 17, 17, .85) 0%, rgba(255, 134, 0, .35) 100%);
}
.page-banner-content { max-width: 760px; margin: 0 auto; }
.page-banner h1 {
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}
.page-banner-lead {
    font-size: clamp(.95rem, 1.6vw, 1.1rem);
    opacity: .9;
    margin-bottom: 18px;
}
.page-breadcrumb {
    display: inline-flex;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: .9rem;
    backdrop-filter: blur(4px);
}
.page-breadcrumb .breadcrumb-item a { color: #fff; text-decoration: none; }
.page-breadcrumb .breadcrumb-item a:hover { color: var(--op-accent); }
.page-breadcrumb .breadcrumb-item.active { color: var(--op-accent); font-weight: 600; }
.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .7); }

/* ---------- Generic sections ---------- */
.inner-section { padding: 80px 0; }
.bg-soft { background: var(--op-soft); }
.section-heading {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--op-dark);
    margin-bottom: 18px;
    line-height: 1.3;
}
.inner-section p { color: var(--op-text); line-height: 1.8; }
.sub-title {
    display: inline-block;
    font-weight: 600;
    color: var(--op-primary);
    margin-bottom: 10px;
    letter-spacing: .3px;
}

/* ---------- Cards ---------- */
.info-card, .process-step, .stat-card, .contact-card {
    background: #fff;
    border: 1px solid var(--op-border);
    border-radius: var(--op-radius);
    padding: 30px 26px;
    box-shadow: var(--op-shadow);
    transition: transform .3s ease, box-shadow .3s ease;
}
.info-card:hover, .process-step:hover, .stat-card:hover, .contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--op-shadow-hover);
}
.info-card h3, .process-step h3, .contact-card h3 {
    font-size: 1.15rem; font-weight: 700; color: var(--op-dark); margin-bottom: 10px;
}
.info-card p, .process-step p, .contact-card p { margin-bottom: 0; font-size: .95rem; }
.info-card-icon {
    width: 58px; height: 58px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 134, 0, .12);
    color: var(--op-primary);
    font-size: 1.4rem;
    margin-bottom: 18px;
    transition: background .3s, color .3s;
}
.info-card:hover .info-card-icon, .process-step:hover .info-card-icon, .contact-card:hover .info-card-icon {
    background: var(--op-primary); color: #fff;
}

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--op-text); }
.check-list li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: 1px; color: var(--op-primary);
}

/* Range chips (About) */
.range-chip {
    display: flex; align-items: center; gap: 12px;
    height: 100%;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--op-border);
    border-radius: 12px;
    color: var(--op-dark);
    font-weight: 600;
    font-size: .92rem;
    text-decoration: none;
    box-shadow: var(--op-shadow);
    transition: all .3s ease;
}
.range-chip i { color: var(--op-primary); font-size: 1.1rem; flex-shrink: 0; }
.range-chip:hover { background: var(--op-primary); color: #fff; transform: translateY(-4px); }
.range-chip:hover i { color: #fff; }

/* Process steps (Quality) */
.process-step { position: relative; overflow: hidden; }
.process-num {
    position: absolute; top: 12px; right: 18px;
    font-size: 2.4rem; font-weight: 700;
    color: rgba(255, 134, 0, .15);
    line-height: 1;
}
.stat-card { text-align: center; }
.stat-card i { font-size: 2rem; color: var(--op-primary); margin-bottom: 14px; }
.stat-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--op-dark); }
.stat-card p { margin: 0; font-size: .92rem; }

/* Framed image (Quality) */
.framed-image { position: relative; padding: 0 0 30px 30px; }
.framed-image::before {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 70%; height: 70%;
    border: 3px solid var(--op-primary);
    border-radius: var(--op-radius);
    z-index: 0;
}
.framed-image img { position: relative; z-index: 1; box-shadow: var(--op-shadow-hover); width: 100%; object-fit: cover; }
.framed-badge {
    position: absolute; right: 16px; bottom: 50px; z-index: 2;
    display: flex; align-items: center; gap: 10px;
    background: var(--op-primary); color: #fff;
    padding: 14px 18px; border-radius: 12px;
    font-weight: 600; font-size: .9rem; line-height: 1.3;
    box-shadow: var(--op-shadow-hover);
}
.framed-badge i { font-size: 1.8rem; }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--op-primary-dark), var(--op-primary));
    color: #fff;
    padding: 56px 0;
}
.cta-title { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; margin-bottom: 6px; color: #fff; }
.btn-cta { border-radius: 50px; padding: 12px 26px; font-weight: 600; }
.cta-band .btn-light { color: var(--op-primary-dark); }

/* ---------- FAQ ---------- */
.faq-aside { position: sticky; top: 110px; }
.aside-contact { display: grid; gap: 10px; margin-top: 22px; }
.aside-contact a {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    background: var(--op-soft);
    border: 1px solid var(--op-border);
    border-radius: 12px;
    color: var(--op-dark);
    text-decoration: none;
    font-weight: 500;
    word-break: break-word;
    transition: all .3s;
}
.aside-contact a i { color: var(--op-primary); width: 20px; text-align: center; }
.aside-contact a:hover { background: var(--op-primary); color: #fff; }
.aside-contact a:hover i { color: #fff; }

.faq-accordion .accordion-item {
    border: 1px solid var(--op-border);
    border-radius: 12px !important;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(31, 31, 31, .05);
}
.faq-accordion .accordion-header { margin: 0; }
.faq-accordion .accordion-button {
    font-weight: 600; font-size: 1rem; color: var(--op-dark);
    padding: 18px 22px; background: #fff; box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) { background: var(--op-primary); color: #fff; }
.faq-accordion .accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(255, 134, 0, .25); }
.faq-accordion .accordion-body { color: var(--op-text); line-height: 1.8; padding: 18px 22px; }
.faq-accordion .accordion-body a { color: var(--op-primary-dark); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-card { display: block; text-align: center; color: inherit; text-decoration: none; }
.contact-card p { word-break: break-word; }
.form-card {
    background: #fff;
    border: 1px solid var(--op-border);
    border-radius: var(--op-radius);
    padding: 40px;
    box-shadow: var(--op-shadow);
    height: 100%;
}
.contact-form .form-label { font-weight: 600; font-size: .9rem; color: var(--op-dark); }
.contact-form .form-label span { color: #d9534f; }
.contact-form .form-control {
    border: 1px solid var(--op-border);
    border-radius: 10px;
    padding: 12px 16px;
    background: var(--op-soft);
    font-size: .95rem;
}
.contact-form .form-control:focus {
    border-color: var(--op-primary);
    background: #fff;
    box-shadow: 0 0 0 .2rem rgba(255, 134, 0, .2);
}
@media (min-width: 576px) { .w-sm-auto { width: auto !important; } }
.contact-aside {
    background: linear-gradient(160deg, #1f1f1f, #3a2a1a);
    color: #fff;
    border-radius: var(--op-radius);
    padding: 40px;
}
.contact-aside h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 20px; color: #fff; }
.contact-aside .check-list li { color: rgba(255, 255, 255, .88); }
.contact-aside .social a, .contact-aside .social a:visited {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; margin-right: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12); color: #fff;
    text-decoration: none; transition: background .3s;
}
.contact-aside .social a:hover { background: var(--op-primary); }
.map-wrap { line-height: 0; }
.map-wrap iframe { display: block; }

/* ---------- Legal pages ---------- */
.legal-toc {
    position: sticky; top: 110px;
    background: var(--op-soft);
    border: 1px solid var(--op-border);
    border-radius: var(--op-radius);
    padding: 24px;
}
.legal-toc h3 { font-size: 1rem; font-weight: 700; color: var(--op-dark); margin-bottom: 12px; }
.legal-toc ol { padding-left: 20px; margin: 0; }
.legal-toc li { margin-bottom: 8px; font-size: .92rem; }
.legal-toc a { color: var(--op-text); text-decoration: none; }
.legal-toc a:hover { color: var(--op-primary); }
.legal-meta {
    display: inline-block;
    background: rgba(255, 134, 0, .12);
    color: var(--op-primary-dark);
    font-weight: 600; font-size: .88rem;
    padding: 6px 14px; border-radius: 50px; margin-bottom: 18px;
}
.legal-intro { font-size: 1.05rem; }
.legal-block {
    padding: 26px 0;
    border-bottom: 1px solid var(--op-border);
    scroll-margin-top: 100px;
}
.legal-block:last-child { border-bottom: 0; }
.legal-block h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; color: var(--op-dark); margin-bottom: 12px; }
.legal-block ul { padding-left: 20px; color: var(--op-text); line-height: 1.8; }
.legal-block li { margin-bottom: 6px; }
.legal-block a { color: var(--op-primary-dark); font-weight: 600; word-break: break-word; }

/* ---------- Network (location pages) ---------- */
.network-section { background: #fff7ee; padding: 18px 0; border-top: 1px solid var(--op-border); }
.network-toggle {
    width: 100%;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    background: none; border: 0; padding: 8px 0;
    font-weight: 600; color: var(--op-dark); text-align: left;
}
.network-chevron { transition: transform .3s; }
.network-toggle[aria-expanded="true"] .network-chevron { transform: rotate(180deg); }
.network-grid {
    columns: 4 220px;
    column-gap: 28px;
    padding: 18px 0 8px;
}
.network-group { break-inside: avoid; margin-bottom: 20px; }
.network-group h6 { font-weight: 700; color: var(--op-primary-dark); font-size: .9rem; margin-bottom: 8px; }
.network-group li { margin-bottom: 4px; }
.network-group a { color: var(--op-text); font-size: .85rem; text-decoration: none; }
.network-group a:hover { color: var(--op-primary); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .inner-section { padding: 64px 0; }
    .faq-aside, .legal-toc { position: static; }
    .page-banner { min-height: 280px; padding: 64px 0; }
}
@media (max-width: 767.98px) {
    .inner-section { padding: 50px 0; }
    .page-banner { min-height: 240px; padding: 54px 0; }
    .form-card, .contact-aside { padding: 26px 20px; }
    .info-card, .process-step, .stat-card, .contact-card { padding: 24px 20px; }
    .cta-band { padding: 44px 0; }
    .about-section .features { justify-content: center; }
}
@media (max-width: 575.98px) {
    .page-breadcrumb { font-size: .8rem; padding: 6px 14px; flex-wrap: wrap; justify-content: center; }
    .framed-image { padding: 0 0 18px 18px; }
    .framed-badge { right: 8px; bottom: 30px; padding: 10px 12px; font-size: .8rem; }
    .framed-badge i { font-size: 1.4rem; }
    .range-chip { padding: 12px; font-size: .82rem; gap: 8px; }
    .faq-accordion .accordion-button { font-size: .93rem; padding: 16px; }
    .faq-accordion .accordion-body { padding: 16px; }
    .btn-cta { padding: 10px 20px; }
    .map-wrap iframe { height: 300px; }
}

/* =========================================================
   Theme buttons (orange) so nothing falls back to Bootstrap blue
   ========================================================= */
.btn-primary, .btn-abt {
    --bs-btn-bg: var(--op-primary);
    --bs-btn-border-color: var(--op-primary);
    --bs-btn-hover-bg: var(--op-primary-dark);
    --bs-btn-hover-border-color: var(--op-primary-dark);
    --bs-btn-active-bg: var(--op-primary-dark);
    --bs-btn-active-border-color: var(--op-primary-dark);
    --bs-btn-focus-shadow-rgb: 255, 134, 0;
    background-color: var(--op-primary);
    border-color: var(--op-primary);
    color: #fff;
}
.btn-primary:hover, .btn-abt:hover { background-color: var(--op-primary-dark); border-color: var(--op-primary-dark); color: #fff; }
.faq-accordion { --bs-accordion-btn-focus-border-color: var(--op-primary); --bs-accordion-active-color: #fff; }
.network-toggle i:first-child, .network-toggle .fa-map-location-dot { color: var(--op-primary); }

/* =========================================================
   Responsive hardening (no horizontal scroll at any width)
   ========================================================= */
html, body { max-width: 100%; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
.row > * { min-width: 0; }
h1, h2, h3, h4, h5, h6, p, a, li, span { overflow-wrap: break-word; }

/* Navbar: the logo had a fixed 50px height, which made it wider than tiny screens */
.main-navbar .container { flex-wrap: wrap; gap: 8px; }
.main-navbar .navbar-brand { margin-right: 0; max-width: calc(100% - 64px); }
.main-navbar .navbar-brand img { height: auto !important; max-height: 50px; max-width: 100%; width: auto; }
.navbar-collapse { flex-basis: 100%; }
.dropdown-menu { max-width: 100%; }
.dropdown-item { white-space: normal; }

/* Small-screen scrolling top bar */
.topbar-small { overflow: hidden; }
.footer .subscribe input, .footer .subscribe button { width: 100%; max-width: 100%; min-width: 0; }

/* About block from index.php: keep the decorative cabin icons inside the image */
.about-section { overflow: hidden; }
.about-image { overflow: hidden; border-radius: var(--op-radius); }
.about-section .features { flex-wrap: wrap; }
.about-section .feature-item { flex: 1 1 140px; min-width: 0; }
.about-section .feature-item img { max-width: 60px; }

/* Headings coming from style.css: scale them fluidly on inner pages */
.section-title, .why-choose-title, .about-section h2 {
    font-size: clamp(1.35rem, 5.5vw, 2.4rem) !important;
    line-height: 1.25;
}
.section-subtitle { font-size: clamp(.9rem, 2.2vw, 1.05rem); }

@media (max-width: 575.98px) {
    .about-image .gear { width: 48px !important; height: auto; }
    .social-fixed-icons .icon { width: 42px; height: 42px; font-size: 1rem; }
    .footer .col-6 { flex: 0 0 100%; max-width: 100%; }
    .contact-info { font-size: .85rem; padding: 0 8px; }
}

/* Very narrow screens (Galaxy Fold 280px and below) */
@media (max-width: 359.98px) {
    .container, .container-fluid { padding-left: 12px; padding-right: 12px; }
    .page-banner { min-height: 0; padding: 40px 0; }
    .page-banner h1 { font-size: 1.5rem; }
    .page-banner-lead { font-size: .85rem; }
    .inner-section { padding: 36px 0; }
    .form-card, .contact-aside, .legal-toc { padding: 18px 14px; }
    .info-card, .process-step, .stat-card, .contact-card { padding: 20px 14px; }
    .range-chip { flex-direction: column; text-align: center; }
    .col-6 { flex: 0 0 100%; max-width: 100%; }
    .btn-cta, .cta-band .btn { width: 100%; }
    .framed-image { padding: 0; }
    .framed-image::before { display: none; }
    .framed-badge { position: static; margin-top: 12px; justify-content: center; }
    .network-grid { columns: 1; }
    .social-fixed-icons .icon { width: 36px; height: 36px; font-size: .9rem; }
    .navbar-toggler { padding: 4px 8px; }
}

/* Fixed WhatsApp / Call / Email buttons in the theme colour */
.social-fixed-icons .icon { background: var(--op-primary) !important; color: #fff !important; }
.social-fixed-icons .icon:hover { background: var(--op-primary-dark) !important; }
