/* Quick Office Pointe — public website design system.
   Colours are the original site's palette: primary blue #1e40af, secondary #1d4ed8, deep blue #1e3a8a,
   accents teal #0d9488, red #dc2626, gold #ca8a04, purple #7e22ce, green #16a34a. No build step needed. */
:root {
    --navy: #1e3a8a;          /* blue-900: footer, dark sections */
    --navy-2: #1e40af;        /* primary blue */
    --yellow: #ca8a04;        /* gold accent */
    --yellow-dark: #a16207;
    --on-dark: #bfdbfe;       /* blue-200: accents on dark backgrounds */
    --red: #dc2626;
    --green: #16a34a;
    --teal: #0d9488;
    --purple: #7e22ce;
    --blue: #1d4ed8;          /* secondary blue: links, buttons */
    --ink: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #ffffff;
    --bg-soft: #f9fafb;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 1px 2px rgba(3, 16, 48, .04), 0 8px 24px rgba(3, 16, 48, .06);
    --shadow-lg: 0 20px 50px rgba(3, 16, 48, .14);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-head: 'Plus Jakarta Sans', var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.35rem; border-radius: 999px; font-weight: 700; font-size: .97rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; text-decoration: none !important; font-family: var(--font-head); }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(29, 78, 216, .3); }
.btn-primary:hover { background: var(--navy-2); }
.hero .btn-primary, .section-dark .btn-primary, .cta-band .btn-primary, .site-footer .btn-primary { background: #fff; color: var(--navy-2); box-shadow: none; }
.hero .btn-primary:hover, .cta-band .btn-primary:hover { background: #eff6ff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); }
.btn-sm { padding: .5rem 1rem; font-size: .88rem; }
.btn-block { width: 100%; }

/* Header */
.topbar { background: var(--navy); color: #bfdbfe; font-size: .83rem; }
.topbar .container { display: flex; gap: 1.25rem; justify-content: space-between; align-items: center; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: #e2e8f0; }
.topbar .links { display: flex; gap: 1rem; flex-wrap: wrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav > a, .nav .dropdown > button { color: var(--ink); font-weight: 600; font-size: .95rem; padding: .55rem .8rem; border-radius: 10px; background: none; border: 0; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: .3rem; }
.nav > a:hover, .nav .dropdown > button:hover, .nav a.active { background: var(--bg-soft); text-decoration: none; color: var(--blue); }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .5rem; display: none; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: .55rem .75rem; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .93rem; }
.dropdown-menu a:hover { background: var(--bg-soft); text-decoration: none; }
.dropdown-menu .all { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .7rem; color: var(--blue); font-weight: 700; }
.nav-cta { margin-left: .5rem; }
.nav > a.btn-primary, .nav > a.btn-primary:hover { background: var(--blue); color: #fff; }
.hero .eyebrow { color: var(--on-dark); }
.hero .eyebrow::before, .section-dark .eyebrow::before { background: var(--on-dark); }
.section-dark .step::before { color: var(--on-dark); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: .45rem .65rem; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
@media (max-width: 1020px) {
    .menu-toggle { display: inline-flex; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 16px 1.25rem; box-shadow: var(--shadow-lg); }
    .nav.open { display: flex; }
    .dropdown-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 .75rem; min-width: 0; }
    .nav-cta { margin: .5rem 0 0; }
    .topbar .hide-sm { display: none; }
}

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #dbeafe; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .75rem; font-family: var(--font-head); }
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 2px; background: var(--yellow); }
.section-dark .eyebrow { color: var(--on-dark); }
.section-head { max-width: 680px; margin: 0 auto 2.75rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head.left { margin-left: 0; text-align: left; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(29, 78, 216, .7), transparent 60%), radial-gradient(800px 400px at -10% 110%, rgba(13, 148, 136, .35), transparent 60%), var(--navy); color: #dbeafe; padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--on-dark); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 620px; color: #cbd5e1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.25rem; }
.trust { display: flex; flex-wrap: wrap; gap: 1.5rem 2.25rem; font-size: .92rem; }
.trust strong { display: block; font-size: 1.7rem; color: #fff; font-family: var(--font-head); line-height: 1.1; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 1.75rem; backdrop-filter: blur(6px); }
.hero-card h3 { color: #fff; margin-bottom: 1rem; }
.hero-card .check { display: flex; gap: .7rem; padding: .55rem 0; border-bottom: 1px dashed rgba(255,255,255,.12); color: #e2e8f0; }
.hero-card .check:last-child { border: 0; }
.hero-card .check span:first-child { color: #5eead4; font-weight: 800; }
.flag-bar { height: 5px; background: linear-gradient(90deg, #000 0 25%, var(--red) 25% 50%, var(--green) 50% 75%, var(--blue) 75%); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Page header (inner pages) */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #dbeafe; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.page-hero p { max-width: 680px; font-size: 1.1rem; margin: 0; }
.breadcrumb { font-size: .85rem; margin-bottom: .9rem; color: #94a3b8; }
.breadcrumb a { color: #e2e8f0; }

/* Grids & cards */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
a.card { color: inherit; text-decoration: none; }
a.card:hover, .card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c7d2fe; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card .more { margin-top: auto; font-weight: 700; color: var(--blue); font-size: .92rem; }
.card-media { margin: -1.6rem -1.6rem 1.25rem; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.card:hover .card-media img { transform: scale(1.04); }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #eff6ff; color: var(--blue); font-size: 1.35rem; margin-bottom: 1rem; overflow: hidden; }
.icon-badge img { width: 100%; height: 100%; object-fit: cover; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: #eef2ff; color: var(--blue); margin-bottom: .6rem; }
.tag-yellow { background: #fef9c3; color: #854d0e; }
.price { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.05rem; }

/* Process */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 3.1rem; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--yellow); }

/* Logos / tools */
.logo-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.logo-pill { display: flex; align-items: center; gap: .6rem; padding: .6rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.logo-pill img { width: 26px; height: 26px; object-fit: contain; }
.partner-logo { display: grid; place-items: center; padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 110px; }
.partner-logo img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .2s; }
.partner-logo:hover img { filter: none; opacity: 1; }

/* Testimonials */
.quote { font-size: 1.02rem; color: var(--text); }
.stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: .6rem; }
.person { display: flex; align-items: center; gap: .8rem; margin-top: auto; padding-top: 1rem; }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--bg-soft); flex-shrink: 0; display: grid; place-items: center; font-weight: 800; color: var(--blue); }
.person strong { display: block; color: var(--ink); }
.person span { font-size: .85rem; color: var(--muted); }

/* Team */
.team-card { text-align: center; align-items: center; }
.team-card .photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 4px solid #fff; box-shadow: var(--shadow); background: var(--bg-soft); }
.socials { display: flex; gap: .5rem; justify-content: center; margin-top: .75rem; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--navy); }
.socials a:hover { background: var(--blue); color: #fff; text-decoration: none; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--blue), var(--teal)); color: #dbeafe; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .35rem; }
input, select, textarea { width: 100%; padding: .78rem .95rem; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: .97rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 78, 216, .15); }
textarea { min-height: 130px; resize: vertical; }
.field-error { color: #b91c1c; font-size: .85rem; margin-top: .3rem; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .83rem; color: var(--muted); margin-top: .75rem; }

/* Alerts */
.alert { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.25rem; font-weight: 500; border: 1px solid; }
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert ul { margin: .4rem 0 0 1.1rem; padding: 0; }

/* Prose (blog posts, policies, bios) */
.prose { font-size: 1.06rem; color: var(--text); }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose blockquote { border-left: 4px solid var(--blue); margin: 1.5rem 0; padding: .5rem 1.25rem; background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--line); padding: .5rem .7rem; }
.prose pre { background: var(--navy); color: #e2e8f0; padding: 1rem; border-radius: var(--radius); overflow-x: auto; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: .8rem; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: '–'; }
.faq details p, .faq details div { margin: .8rem 0 0; color: var(--muted); }

/* Layout helpers */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-wide { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .split, .split-wide { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 100px; }
.list-check { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.list-check li { padding: .4rem 0 .4rem 1.8rem; position: relative; }
.list-check li::before { content: '✓'; position: absolute; left: 0; top: .4rem; color: var(--green); font-weight: 800; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; color: var(--ink); }
.chip.active, .chip:hover { background: var(--navy); color: #fff; border-color: var(--navy); text-decoration: none; }
.meta { font-size: .88rem; color: var(--muted); display: flex; gap: 1rem; flex-wrap: wrap; }

/* Pagination (Laravel "default" view) */
.pagination { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; justify-content: center; margin: 2.5rem 0 0; }
.pagination li > * { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .8rem; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; }
.pagination li.active > * { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination li.disabled > * { opacity: .45; }

/* Footer */
.site-footer { background: var(--navy); color: #bfdbfe; padding: 4rem 0 0; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #dbeafe; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .55rem; }
.footer-logo { background: #fff; display: inline-block; padding: .55rem .8rem; border-radius: 12px; margin-bottom: 1rem; }
.footer-logo img { height: 38px; }
.newsletter { display: flex; gap: .5rem; margin-top: .75rem; }
.newsletter input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #fff; }
.newsletter input::placeholder { color: #94a3b8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding: 1.3rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .87rem; }
.footer-socials { display: flex; gap: .5rem; margin-top: 1rem; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); }
.wa-float:hover { text-decoration: none; transform: scale(1.05); }

/* Auth pages */
.auth-wrap { min-height: calc(100vh - 160px); display: grid; place-items: center; padding: 3rem 16px; background: var(--bg-soft); }
.auth-card { width: min(460px, 100%); }
.auth-card .form-card > * + * { margin-top: 1rem; }
.check-row { display: flex; align-items: center; gap: .5rem; }
.check-row input { width: auto; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
