/* ===================================================================
   Layer Internet Services — shared stylesheet
   =================================================================== */

:root {
    --orange-primary: #f97316;
    --orange-dark:    #ea580c;
    --orange-light:   #fb923c;
    --orange-soft:    #fff7ed;
    --black:        #0a0a0a;
    --gray-600:     #525252;
    --gray-500:     #737373;
    --gray-200:     #e5e5e5;
    --white:        #ffffff;
    --gradient-text: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
    --shadow-sm: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(249, 115, 22, 0.12);
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* { scroll-behavior: smooth; }

html { overflow-x: hidden; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-font {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

p { color: var(--gray-600); line-height: 1.7; }

a { text-decoration: none; }

img { max-width: 100%; }

.section-padding { padding: 5rem 0; }

.bg-soft { background: var(--orange-soft); }
.bg-black-section { background: var(--black); }

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--orange-primary);
    display: inline-block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ---------- Navbar ---------- */
.navbar-layer {
    position: sticky;
    top: 0;
    z-index: 1050;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--orange-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--black);
}

.nav-link-custom {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}
.nav-link-custom:hover, .nav-link-custom.active { color: var(--black); }

/* ---------- Buttons ---------- */
.btn-primary-custom {
    background: var(--orange-primary);
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.625rem 1.25rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-primary-custom:hover { background: var(--orange-dark); color: #fff; transform: translateY(-1px); }

.btn-outline-custom {
    background: #fff;
    border: 1.5px solid var(--black);
    color: var(--black);
    font-weight: 600;
    border-radius: 12px;
    padding: 0.625rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-outline-custom:hover { background: var(--black); color: #fff; transform: translateY(-1px); }

.btn-lg-custom { padding: 0.875rem 1.75rem; border-radius: 14px; font-size: 1rem; }

/* Buttons and links share these classes — stop the UA button font leaking in. */
button.btn-primary-custom, button.btn-outline-custom {
    font-family: inherit;
    font-size: inherit;
    line-height: 1.5;
    cursor: pointer;
}
button.btn-lg-custom { font-size: 1rem; }
.quote-modal-close, .quote-location-btn, .quote-submit { cursor: pointer; font-family: inherit; }

/* ---------- Hero ---------- */
.hero-section {
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 60%);
    padding: 2.5rem 0 4rem;
    overflow: hidden;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--gray-600);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-checks { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.hero-check-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 500; color: var(--gray-600); }
.hero-check-item svg { color: #f97316; flex-shrink: 0; }

.hero-visual { position: relative; width: 100%; max-width: 500px; height: 500px; margin: 0 auto; }
.hero-orbit { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px dashed rgba(249, 115, 22, 0.15); }
.hero-orbit-1 { width: 340px; height: 340px; }
.hero-orbit-2 { width: 420px; height: 420px; }
.hero-orbit-3 { width: 500px; height: 500px; }

.hero-center-image {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 280px; height: 280px;
    border-radius: 50%;
    border: 6px solid #fff;
    box-shadow: var(--shadow-md);
    background: var(--gradient-text);
    overflow: hidden;
}
.hero-center-image img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    animation: float 4s ease-in-out infinite;
    font-size: 0.8rem;
    white-space: nowrap;
}
.float-card .fc-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-card .fc-num { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.1rem; line-height: 1; }
.float-card .fc-label { color: var(--gray-500); font-size: 0.72rem; }

.fc-1 { top: 0; left: -10px; animation-delay: -1s; }
.fc-2 { top: 15%; right: -30px; animation-delay: -2s; }
.fc-3 { bottom: 20%; left: -40px; animation-delay: -3s; }
.fc-4 { bottom: 0; right: 0; animation-delay: -1.5s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Stats bar ---------- */
.stats-bar { background: var(--black); padding: 2.5rem 0; }
.stat-item { text-align: center; }
.stat-number { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 2rem; color: #fff; }
.stat-label { color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; font-weight: 500; }

/* ---------- Icon chip ---------- */
.icon-chip {
    width: 52px; height: 52px;
    background: var(--orange-soft);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--orange-primary);
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}
.icon-chip.chip-orange { background: rgba(249, 115, 22, 0.1); color: #f59e0b; }
.icon-chip.chip-green { background: rgba(251, 146, 60, 0.1); color: #f97316; }
.icon-chip.chip-amber { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.icon-chip.chip-blue { background: rgba(59, 130, 246, 0.1); color: #2563eb; }

/* ---------- Cards ---------- */
.service-card, .feature-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover, .feature-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.service-card { text-align: center; }

.card-heading { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.6rem; }
.card-heading-lg { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.75rem; }

/* ---------- How it works ---------- */
.step-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 1rem;
}

/* ---------- Pricing hint ---------- */
.price-tag { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.75rem; }
.price-tag span { font-size: 0.95rem; font-weight: 500; color: var(--gray-500); }

/* ---------- Testimonials ---------- */
.testimonial-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
}
.testimonial-stars { color: #f59e0b; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-quote { font-size: 1rem; color: var(--black); margin-bottom: 1.5rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--gradient-text);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-family: 'Plus Jakarta Sans', sans-serif;
    flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.9rem; }
.author-role { font-size: 0.8rem; color: var(--gray-500); }
.illustrative-note { font-size: 0.75rem; color: var(--gray-500); font-style: italic; }

/* ---------- FAQ / Accordion ---------- */
.faq-section .accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: 16px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.faq-section .accordion-button {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: none !important;
}
.faq-section .accordion-button:not(.collapsed) {
    background: var(--orange-soft);
    color: var(--orange-primary);
}
.faq-section .accordion-button:focus { box-shadow: none; }

/* ---------- Contact CTA band ---------- */
.contact-cta { background: var(--orange-soft); text-align: center; padding: 4.5rem 0; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: rgba(255, 255, 255, 0.75); padding: 4rem 0 0; }
/* the global `p { color: var(--gray-600) }` rule wins over the inherited footer
   colour, so footer text has to be re-stated explicitly */
.footer p, .footer address, .footer li { color: rgba(255, 255, 255, 0.75); }
.footer a { color: rgba(255, 255, 255, 0.75); transition: color 0.2s; }
.footer a:hover { color: #fff; }
.footer-tagline { max-width: 34rem; margin-bottom: 1.5rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.footer-contact li {
    display: flex; align-items: flex-start; gap: 0.65rem;
    font-size: 0.92rem; line-height: 1.6;
}
.footer-contact svg { flex: 0 0 16px; margin-top: 0.22rem; color: var(--orange-light); }
.footer-contact address { margin: 0; font-style: normal; }
.footer h6 { color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; margin-bottom: 1.25rem; font-size: 0.95rem; }
.footer .footer-links { list-style: none; padding: 0; margin: 0; }
.footer .footer-links li { margin-bottom: 0.6rem; font-size: 0.9rem; }
.footer-brand-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 3rem;
    padding: 1.5rem 0;
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
    font-size: 0.85rem;
}
.footer-legal-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-fine-print { font-size: 0.78rem; padding: 1.25rem 0 2rem; }
.footer .footer-fine-print { color: rgba(255, 255, 255, 0.55); }

/* ---------- Floating support widget ---------- */
.support-widget { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1060; }
.support-toggle {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--orange-primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    border: none;
    transition: transform 0.2s;
    cursor: pointer;
}
.support-toggle:hover { transform: translateY(-2px); }
.support-menu {
    position: absolute;
    bottom: 68px; right: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 0.75rem;
    width: 240px;
    display: none;
}
.support-menu.show { display: block; animation: supportWidgetIn 0.2s ease; }
@keyframes supportWidgetIn { from { opacity: 0; transform: scale(0.95) translateY(6px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.support-option {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.6rem 0.5rem;
    border-radius: 10px;
    color: var(--black);
    transition: background 0.15s;
}
.support-option:hover { background: var(--orange-soft); color: var(--black); }
.support-option-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.support-option-title { font-weight: 600; font-size: 0.85rem; }
.support-option-sub { font-size: 0.72rem; color: var(--gray-500); }

/* ---------- Page header (inner pages) ---------- */
.page-header {
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
    padding: 3.5rem 0 3rem;
    text-align: center;
}

/* ---------- Legal pages ---------- */
.legal-content h2 { font-size: 1.35rem; font-weight: 700; margin-top: 2.25rem; margin-bottom: 0.75rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--gray-600); font-size: 0.98rem; }
.legal-content ol { padding-left: 1.25rem; }
.legal-content li { margin-bottom: 0.9rem; }
.legal-updated { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 2rem; }

/* ---------- Contact page ---------- */
.contact-info-card {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-xl);
    padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; height: 100%;
}
.contact-form-card {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-xl);
    padding: 2rem;
}
.form-control-custom {
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
}
.form-control-custom:focus {
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
    outline: none;
}
.map-embed { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--gray-200); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- Values (about page) ---------- */
.value-card { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.75rem; }
.value-card .icon-chip { margin-bottom: 0; }

/* ---------- Quote modal ---------- */
.quote-modal .modal-dialog { max-width: 540px; }
.quote-modal-content {
    border: 0;
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}
.quote-modal-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.75rem 1.75rem 1.25rem;
    background: var(--orange-soft);
    border-bottom: 1px solid var(--gray-200);
}
.quote-modal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0f6e56;
    background: #fff;
    border-radius: 100px;
    padding: 0.3rem 0.75rem;
    margin-bottom: 0.75rem;
}
.quote-modal-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}
.quote-modal-sub { font-size: 0.9rem; margin: 0; color: var(--gray-600); }
.quote-modal-close {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
}
.quote-modal-close:hover { background: #fff; color: var(--orange-dark); }
.quote-modal-body { padding: 1.5rem 1.75rem 1.75rem; }
.quote-modal-body .form-label { font-size: 0.875rem; margin-bottom: 0.35rem; }
.quote-optional { color: var(--gray-500); font-weight: 400; }
.quote-error { font-size: 0.78rem; color: #b42318; margin-top: 0.3rem; }
.form-control-custom.is-invalid-custom { border-color: #b42318; }
.form-control-custom.is-invalid-custom:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12); }

.quote-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.1rem;
    padding: 0.85rem 1rem;
    border: 1px dashed var(--gray-200);
    border-radius: var(--radius-lg);
    background: #fafafa;
}
.quote-location.has-location { border-style: solid; border-color: #25D366; background: rgba(37, 211, 102, 0.06); }
.quote-location-icon { flex-shrink: 0; color: var(--orange-primary); display: flex; }
.quote-location.has-location .quote-location-icon { color: #0f6e56; }
.quote-location-text { flex: 1; min-width: 0; }
.quote-location-status { display: block; font-size: 0.8rem; color: var(--gray-600); line-height: 1.45; }
.quote-location-map { font-size: 0.78rem; font-weight: 600; color: var(--orange-primary); }
.quote-location-btn {
    flex-shrink: 0;
    border: 1px solid var(--gray-200);
    background: #fff;
    border-radius: 100px;
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-600);
}
.quote-location-btn:hover { border-color: var(--orange-primary); color: var(--orange-primary); }
.quote-location-btn:disabled { opacity: 0.6; }

.quote-submit {
    width: 100%;
    margin-top: 1.25rem;
    border: 0;
    border-radius: 100px;
    background: #25D366;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s, transform 0.2s;
}
.quote-submit:hover { background: #1eb757; transform: translateY(-1px); }
.quote-modal-reply {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f6e56;
    margin: 0.75rem 0 0;
}
.quote-modal-fineprint { font-size: 0.75rem; color: var(--gray-500); text-align: center; margin: 0.4rem 0 0; }

@media (max-width: 575.98px) {
    .quote-modal-head { padding: 1.25rem 1.25rem 1rem; }
    .quote-modal-title { font-size: 1.25rem; }
    .quote-modal-body { padding: 1.25rem; }
    .quote-location { flex-wrap: wrap; }
    .quote-location-btn { width: 100%; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .hero-section { padding: 1.5rem 0 2rem; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-checks { justify-content: center; }
    .hero-visual { max-width: 380px; height: 380px; margin-top: 3rem; }
    .hero-orbit-1 { width: 260px; height: 260px; }
    .hero-orbit-2 { width: 320px; height: 320px; }
    .hero-orbit-3 { width: 380px; height: 380px; }
    .hero-center-image { width: 220px; height: 220px; }
    .section-padding { padding: 3.5rem 0; }
    .float-card { font-size: 0.72rem; padding: 0.6rem 0.8rem; }
}

@media (max-width: 575.98px) {
    .hero-checks { flex-direction: column; align-items: flex-start; margin-left: 1.5rem; }
    .hero-visual { max-width: 300px; height: 300px; }
    .hero-orbit-1 { width: 200px; height: 200px; }
    .hero-orbit-2 { width: 250px; height: 250px; }
    .hero-orbit-3 { width: 300px; height: 300px; }
    .hero-center-image { width: 170px; height: 170px; }
    .stat-number { font-size: 1.5rem; }
    .support-widget { bottom: 1rem; right: 1rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
