/* ============================================
   TechOne Telecommunication Services, Inc.
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap");

:root {
    --purple-900: #1a0630;
    --purple-800: #2d0a52;
    --purple-700: #4a1080;
    --purple-600: #6d1aa8;
    --magenta: #e619b3;
    --magenta-light: #ff8ce0;
    --violet: #9b23c9;
    --violet-dark: #7c1aa8;
    --gray-50: #f8f6fb;
    --gray-100: #efeaf5;
    --gray-300: #d6cce6;
    --gray-500: #786f8c;
    --gray-700: #372f47;
    --white: #ffffff;

    --font-head: "Poppins", "Inter", sans-serif;
    --font-body: "Inter", sans-serif;

    --shadow-sm: 0 2px 8px rgba(7, 18, 41, 0.08);
    --shadow-md: 0 8px 24px rgba(7, 18, 41, 0.12);
    --shadow-lg: 0 20px 50px rgba(7, 18, 41, 0.18);

    --radius: 14px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    color: var(--purple-900);
    line-height: 1.2;
    font-weight: 700;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--magenta);
    background: rgba(230, 25, 179, 0.1);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.section {
    padding: 90px 0;
}
.section-alt {
    background: var(--gray-50);
}

.section-head {
    max-width: 680px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 14px;
}
.section-head p {
    color: var(--gray-500);
    font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--violet);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(155, 35, 201, 0.35);
}
.btn-primary:hover {
    background: var(--violet-dark);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}
.btn-navy {
    background: var(--purple-800);
    color: var(--white);
}
.btn-navy:hover {
    background: var(--purple-900);
    transform: translateY(-2px);
}
.btn-block {
    width: 100%;
}
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: var(--container);
    margin: 0 auto;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-head);
}
.brand-mark {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand-text strong {
    font-size: 1.08rem;
    color: var(--purple-900);
}
.brand-text span {
    font-size: 0.68rem;
    color: var(--gray-500);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}
.nav-links a {
    font-weight: 600;
    font-size: 0.94rem;
    color: var(--purple-800);
    position: relative;
    padding: 6px 0;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background: var(--magenta);
    transition: width 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-links a.active {
    color: var(--magenta);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--purple-900);
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background:
        radial-gradient(circle at 15% 20%, #5b1487 0%, var(--purple-900) 55%),
        var(--purple-900);
    color: var(--white);
    overflow: hidden;
    padding: 110px 0 100px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 30% 30%, black, transparent 70%);
    opacity: 0.6;
}
.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}
.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--white);
    margin-bottom: 20px;
}
.hero h1 span {
    color: var(--magenta-light);
}
.hero p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.12rem;
    max-width: 520px;
    margin-bottom: 32px;
}
.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}
.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--magenta-light);
}

.hero-visual {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(6px);
}
.hero-visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.hv-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 18px;
}
.hv-card strong {
    display: block;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 4px;
}
.hv-card span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

/* ---------- Brand strip ---------- */
.brand-strip {
    background: var(--purple-800);
    padding: 20px 0;
}
.brand-strip .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.brand-strip span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.brand-strip .marks {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.brand-mark-item {
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    opacity: 0.9;
    letter-spacing: 0.02em;
}

/* ---------- Cards / Grids ---------- */
.grid {
    display: grid;
    gap: 28px;
}
.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple-800), var(--magenta));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}
.icon-box svg {
    width: 26px;
    height: 26px;
    stroke: white;
}

.card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.card p {
    color: var(--gray-500);
    font-size: 0.95rem;
}
.card a.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-weight: 600;
    color: var(--magenta);
    font-size: 0.9rem;
}

/* ---------- Why choose us ---------- */
.why-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.why-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 22px;
}
.why-item .check {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(230, 25, 179, 0.12);
    color: var(--magenta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.why-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--purple-900);
}
.why-item p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ---------- CTA banner ---------- */
.cta-banner {
    background: linear-gradient(120deg, var(--purple-900), var(--purple-700));
    color: var(--white);
    border-radius: 24px;
    padding: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-banner h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.cta-banner p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 480px;
}

/* ---------- Page header (inner pages) ---------- */
.page-hero {
    background: linear-gradient(120deg, var(--purple-900), var(--purple-700));
    color: white;
    padding: 70px 0 60px;
    text-align: center;
}
.page-hero h1 {
    color: white;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    margin-bottom: 12px;
}
.page-hero p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 620px;
    margin: 0 auto;
}
.breadcrumb {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 18px;
}

/* ---------- Services page ---------- */
.service-detail {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 22px;
    padding: 30px 0;
    border-bottom: 1px solid var(--gray-100);
}
.service-detail:last-child {
    border-bottom: none;
}
.service-detail .num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--magenta);
}
.service-detail h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}
.service-detail p {
    color: var(--gray-500);
    margin-bottom: 12px;
}
.tag-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.tag {
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
}

/* ---------- Brands page ---------- */
.brand-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
    padding: 56px 0;
    border-bottom: 1px solid var(--gray-100);
}
.brand-panel:last-child {
    border-bottom: none;
}
.brand-panel.reverse {
    grid-template-columns: 1.1fr 0.9fr;
}
.brand-panel.reverse .brand-copy {
    order: 2;
}
.brand-logo-block {
    background: var(--purple-900);
    border-radius: 20px;
    padding: 50px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}
.brand-logo-block img {
    max-width: 70%;
    max-height: 90px;
    object-fit: contain;
}
.brand-logo-block.vigi {
    background: linear-gradient(135deg, #1a1a1a, #3a0d0d);
}
.brand-logo-block.omada {
    background: linear-gradient(135deg, #0c1e3d, #1a4478);
}
.brand-logo-block.tplink {
    background: linear-gradient(135deg, #0b3d1e, #0f5c2b);
}
.brand-logo-block.tapo {
    background: var(--white);
    border: 2px solid var(--gray-100);
}

.brand-logo-block.mini {
    min-height: auto;
    width: fit-content;
    padding: 12px 22px;
    border-radius: 10px;
    margin: 0 auto 18px;
}
.brand-logo-block.mini img {
    max-height: 32px;
    max-width: 130px;
}
.brand-logo-block.yeastar {
    background: linear-gradient(135deg, #8a3a0a, #f2751a);
}
.dealer-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 25, 179, 0.1);
    color: var(--magenta);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.brand-copy h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.brand-copy p {
    color: var(--gray-500);
    margin-bottom: 18px;
}
.product-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.product-pills span {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--purple-800);
}

/* ---------- About page ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.value-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
}
.value-list li:last-child {
    border-bottom: none;
}

/* ---------- Anti-Spam Honeypot ---------- */

.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

/* ---------- Contact page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}
.contact-info-card {
    background: var(--purple-900);
    color: white;
    border-radius: 20px;
    padding: 40px 32px;
}
.contact-info-card h3 {
    color: white;
    margin-bottom: 24px;
}
.contact-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.contact-row .icon-box {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
}
.contact-row strong {
    display: block;
    color: white;
    font-size: 0.95rem;
    margin-bottom: 3px;
}
.contact-row span,
.contact-row a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}
.social-row {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}
.social-row a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.form-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}
.field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--purple-800);
}
.field input,
.field select,
.field textarea {
    border: 1.5px solid var(--gray-300);
    border-radius: 10px;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-700);
    outline: none;
    transition: border-color 0.2s ease;
    width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--magenta);
}
.field textarea {
    resize: vertical;
    min-height: 120px;
}
/* .form-note {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin-top: 14px;
} */
.form-privacy {
    margin-top: 14px;
    color: var(--gray-500);
    font-size: 0.78rem;
    line-height: 1.6;
}

.form-privacy a {
    color: var(--magenta);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.form-success {
    display: none;
    background: rgba(230, 25, 179, 0.1);
    border: 1px solid rgba(230, 25, 179, 0.3);
    color: var(--purple-800);
    padding: 16px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.form-success.show {
    display: block;
}
.form-error {
    display: none;
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #fff1f1;
    border: 1px solid #f5b5b5;
    color: #b42318;
    font-size: 0.9rem;
}

.map-placeholder {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    height: 320px;
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-weight: 600;
    text-align: center;
    flex-direction: column;
    gap: 10px;
}

/* =========================================================
   Privacy Policy
   ========================================================= */

.privacy-content {
    max-width: 900px;
}

.privacy-updated {
    margin-bottom: 36px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.privacy-content h2 {
    margin-top: 40px;
    margin-bottom: 14px;
    color: var(--purple-900);
    font-size: 1.35rem;
}

.privacy-content p {
    margin-bottom: 16px;
    color: var(--gray-700);
    line-height: 1.8;
}

.privacy-content ul {
    margin: 16px 0 24px;
    padding-left: 24px;
    color: var(--gray-700);
}

.privacy-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.privacy-content a {
    color: var(--magenta);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-contact {
    margin-top: 20px;
    padding: 24px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
}

.privacy-contact p {
    margin: 8px 0 0;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--purple-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand p {
    margin: 16px 0 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 300px;
}
.footer-col h4 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 18px;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}
.footer-col ul li a:hover {
    color: var(--magenta-light);
}
.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

/* =========================================================
   Error Pages
   ========================================================= */

.error-page {
    min-height: 70vh;

    display: flex;
    align-items: center;

    padding: 80px 0;

    background:
        radial-gradient(
            circle at top right,
            rgba(198, 0, 126, 0.08),
            transparent 40%
        ),
        var(--white);
}

.error-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.error-code {
    display: block;

    margin-bottom: 10px;

    color: var(--magenta);

    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 800;
    line-height: 1;
}

.error-content h1 {
    margin-bottom: 16px;

    color: var(--purple-900);

    font-size: clamp(2rem, 5vw, 3rem);
}

.error-content p {
    max-width: 600px;
    margin: 0 auto 30px;

    color: var(--gray-600);
    line-height: 1.8;
}

.error-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 12px;
}

@media (max-width: 480px) {
    .error-actions {
        flex-direction: column;
    }

    .error-actions {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 12px;
    }

    .error-actions .btn {
        margin: 0;
    }
}

/* ---------- Placeholder content slots ---------- */
.placeholder-card {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    background: var(--white);
}
.icon-box-muted {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.icon-box-muted svg {
    width: 26px;
    height: 26px;
    stroke: var(--gray-500);
}
.placeholder-card h4 {
    color: var(--gray-500);
    font-size: 0.98rem;
    margin-bottom: 6px;
}
.placeholder-card span {
    color: var(--gray-500);
    font-size: 0.82rem;
}

.client-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.client-logo-slot {
    border: 2px dashed var(--gray-300);
    border-radius: 12px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 0.82rem;
    font-weight: 600;
    background: var(--white);
}

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        order: initial;
    }
    .grid-3,
    .grid-4,
    .client-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-list {
        grid-template-columns: 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .brand-panel,
    .brand-panel.reverse {
        grid-template-columns: 1fr;
    }
    .brand-panel.reverse .brand-copy {
        order: 0;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .nav-links,
    .nav-actions .btn {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-wrap.open .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-md);
    }
    .grid-3,
    .grid-4,
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .cta-banner {
        flex-direction: column;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 60px 0;
    }

    .privacy-content h2 {
        margin-top: 32px;
        font-size: 1.2rem;
    }

    .privacy-content p,
    .privacy-content li {
        font-size: 0.95rem;
    }

    .privacy-content ul {
        padding-left: 20px;
    }

    .privacy-contact {
        padding: 20px;
    }
}

/* ============================================
   Responsive navigation + tablet hero refinement
   ============================================ */
.mobile-quote {
    display: none;
}

.nav-toggle {
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    background: var(--white);
    flex-shrink: 0;
}

.nav-toggle:hover {
    background: var(--gray-50);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--magenta);
    outline-offset: 3px;
}

/* Switch to hamburger before the desktop navigation becomes cramped. */
@media (max-width: 1080px) {
    .nav-wrap {
        position: relative;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-wrap.open .nav-links {
        display: flex;
        position: absolute;
        z-index: 1000;
        top: calc(100% + 1px);
        left: 18px;
        right: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--gray-100);
        border-radius: 0 0 18px 18px;
        box-shadow: var(--shadow-lg);
        backdrop-filter: blur(14px);
    }

    .nav-wrap.open .nav-links a {
        width: 100%;
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 0.95rem;
    }

    .nav-wrap.open .nav-links a:hover,
    .nav-wrap.open .nav-links a.active {
        background: var(--gray-50);
    }

    .nav-wrap.open .nav-links a::after {
        display: none;
    }

    .nav-wrap.open .nav-links .mobile-quote {
        display: inline-flex;
        justify-content: center;
        margin-top: 8px;
        background: var(--purple-800);
        color: var(--white);
        border-radius: 999px;
    }

    .nav-wrap.open .nav-links .mobile-quote:hover {
        background: var(--purple-900);
    }

    .nav-wrap.open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-wrap.open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .nav-wrap.open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Tablet layout: hero message first, four capability cards underneath. */
@media (max-width: 980px) {
    .hero {
        padding: 76px 0 72px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero-copy p {
        max-width: 700px;
    }

    .hero-visual {
        order: initial;
        width: 100%;
        padding: 22px;
    }

    .hero-visual-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .hv-card {
        min-height: 118px;
        padding: 20px;
    }

    .hv-card strong {
        font-size: 1.15rem;
    }

    .hv-card span {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

@media (max-width: 760px) {
    .nav-wrap {
        padding: 12px 18px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .brand-text strong {
        font-size: 1rem;
    }

    .brand-text span {
        font-size: 0.58rem;
    }

    .nav-wrap.open .nav-links {
        left: 12px;
        right: 12px;
    }

    .hero {
        padding: 58px 0 60px;
    }

    .hero h1 {
        font-size: clamp(2rem, 8.5vw, 2.7rem);
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-cta {
        margin-bottom: 34px;
    }

    .hero-visual-grid {
        grid-template-columns: 1fr;
    }

    .hv-card {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .brand-text span {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-badges {
        flex-direction: column;
        align-items: flex-start;
    }
}

@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;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   Admin Authentication
   ========================================================= */

.admin-login-page {
    min-height: 100vh;
    margin: 0;

    background:
        radial-gradient(
            circle at top right,
            rgba(198, 0, 126, 0.12),
            transparent 35%
        ),
        linear-gradient(135deg, var(--purple-950), var(--purple-800));
}

.admin-login-container {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 32px 20px;
}

.admin-login-card {
    width: 100%;
    max-width: 460px;

    padding: 36px;

    background: var(--white);

    border-radius: 20px;

    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.admin-login-brand {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 32px;
}

.admin-login-brand img {
    flex-shrink: 0;
}

.admin-login-brand div {
    display: flex;
    flex-direction: column;
}

.admin-login-brand strong {
    color: var(--purple-900);

    font-size: 1.2rem;
    line-height: 1.2;
}

.admin-login-brand span {
    margin-top: 3px;

    color: var(--gray-500);

    font-size: 0.8rem;
}

.admin-login-heading {
    margin-bottom: 28px;
}

.admin-login-heading h1 {
    margin-bottom: 8px;

    color: var(--purple-900);

    font-size: 2rem;
}

.admin-login-heading p {
    margin: 0;

    color: var(--gray-600);
    line-height: 1.6;
}

.admin-login-form {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

.admin-login-form .form-group {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.admin-login-form label {
    color: var(--gray-700);

    font-size: 0.9rem;
    font-weight: 600;
}

.admin-login-form input[type="email"],
.admin-login-form input[type="password"] {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid var(--gray-200);
    border-radius: 10px;

    background: var(--white);

    color: var(--gray-800);

    font: inherit;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.admin-login-form input:focus {
    border-color: var(--magenta);

    outline: none;

    box-shadow: 0 0 0 3px rgba(198, 0, 126, 0.12);
}

.admin-remember {
    display: flex;
    align-items: center;

    gap: 9px;

    cursor: pointer;
}

.admin-remember input {
    width: 16px;
    height: 16px;
}

.admin-login-button {
    width: 100%;

    justify-content: center;

    border: none;

    cursor: pointer;
}

.admin-alert {
    margin-bottom: 22px;

    padding: 14px 16px;

    border-radius: 10px;

    font-size: 0.88rem;
    line-height: 1.5;
}

.admin-alert p {
    margin: 0;
}

.admin-alert p + p {
    margin-top: 6px;
}

.admin-alert-error {
    border: 1px solid #fecaca;

    background: #fef2f2;

    color: #991b1b;
}

.admin-login-footer {
    margin-top: 28px;

    text-align: center;
}

.admin-login-footer a {
    color: var(--purple-700);

    font-size: 0.88rem;
    font-weight: 600;

    text-decoration: none;
}

.admin-login-footer a:hover {
    color: var(--magenta);
}
