/* =========================================================
   KEMSKY CONNECTIONS LIMITED
   PROFESSIONAL WEBSITE STYLESHEET
   ========================================================= */

:root {
    --gold: #c9972b;
    --gold-dark: #a87918;
    --navy: #101820;
    --navy-light: #182530;
    --white: #ffffff;
    --off-white: #f8f8f6;
    --text: #20262d;
    --muted: #68727c;
    --border: #e4e7e9;
    --shadow: 0 18px 45px rgba(16, 24, 32, .08);
    --radius: 14px;
    --container: 1180px;
}

/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

/* =========================================================
   GLOBAL
   ========================================================= */

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 16px;
    color: var(--navy);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
}

.section-heading p {
    color: var(--muted);
    font-size: 16px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    transition: .25s ease;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.5);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}


/* =========================================================
   HERO SERVICE SELECTOR
   ========================================================= */

.service-selector {
    position: relative;
    display: inline-block;
    z-index: 50;
}

.service-selector-button {
    gap: 12px;
    min-width: 190px;
    border: 0;
}

.service-selector-arrow {
    font-size: 16px;
    line-height: 1;
    transition: transform .2s ease;
}

.service-selector.open .service-selector-arrow {
    transform: rotate(180deg);
}

.service-selector-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: min(360px, 88vw);
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(16, 24, 32, .22);
    max-height: 420px;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 2147483647;
}

.service-selector-menu[hidden] {
    display: none;
}

.service-selector-menu button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    padding: 13px 18px 13px 15px;
    border: 0;
    border-bottom: 1px solid rgba(16, 24, 32, .10);
    border-radius: 0;
    background: transparent;
    color: var(--text);
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
}

.service-selector-menu button:first-child {
    border-radius: 16px 16px 0 0;
}

.service-selector-menu button:last-child {
    border-bottom: 0;
    border-radius: 0 0 16px 16px;
}

.service-selector-menu button:hover,
.service-selector-menu button:focus-visible {
    background: var(--off-white);
    color: var(--gold-dark);
    outline: none;
}

.service-option-radio {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    margin-left: 18px;
    border: 2px solid #777;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.service-selector-menu button[aria-selected="true"] .service-option-radio {
    border-color: var(--gold-dark);
    box-shadow: inset 0 0 0 4px #fff;
    background: var(--gold-dark);
}

.service-selector-menu button[aria-selected="true"] {
    background: rgba(201, 151, 43, .07);
}

.service-card[id] {
    scroll-margin-top: 100px;
}

.service-card-highlight {
    animation: serviceCardHighlight 1.4s ease;
}

@keyframes serviceCardHighlight {
    0%, 100% {
        box-shadow: var(--shadow);
    }
    35% {
        box-shadow: 0 0 0 4px rgba(201,151,43,.25), var(--shadow);
    }
}

@media (max-width: 600px) {
    .service-selector {
        width: 100%;
    }

    .service-selector-button {
        width: 100%;
    }

    .service-selector-menu {
        width: min(360px, calc(100vw - 24px));
    }
}

.hero {
    overflow: visible;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    overflow: hidden;
    border: 2px solid var(--gold);
    border-radius: 50%;
    background: var(--white);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    color: var(--navy);
    font-size: 18px;
    letter-spacing: 1.5px;
}

.brand-text small {
    margin-top: 4px;
    color: var(--gold-dark);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav > a {
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.main-nav > a:not(.nav-cta):hover {
    color: var(--gold);
}

.nav-cta {
    padding: 12px 19px;
    border-radius: 7px;
    background: var(--navy);
    color: var(--white) !important;
}

.nav-cta:hover {
    background: var(--gold);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--navy);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 30%, rgba(201,151,43,.18), transparent 30%),
        linear-gradient(135deg, #101820, #182530);
    color: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 80px;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    margin-bottom: 24px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -2px;
}

.hero h1 span {
    display: block;
    color: var(--gold);
}

.hero-content > p {
    max-width: 600px;
    margin-bottom: 32px;
    color: rgba(255,255,255,.74);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.hero-trust {
    display: flex;
    gap: 30px;
    margin-top: 48px;
}

.hero-trust div {
    display: flex;
    flex-direction: column;
}

.hero-trust strong {
    font-size: 14px;
}

.hero-trust span {
    color: rgba(255,255,255,.55);
    font-size: 12px;
}

.hero-card {
    padding: 28px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.07);
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
    backdrop-filter: blur(15px);
}

.hero-card-top,
.hero-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.hero-card-top {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.65);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-status {
    color: #d9b75c;
}

.hero-card-main {
    padding: 45px 0;
}

.hero-card-icon {
    width: 65px;
    height: 65px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border-radius: 14px;
    background: var(--gold);
}

.hero-card-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--white);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-card h3 {
    margin-bottom: 14px;
    font-size: 27px;
    line-height: 1.2;
}

.hero-card-main p {
    color: rgba(255,255,255,.65);
    font-size: 14px;
}

.hero-card-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.45);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* =========================================================
   SERVICES
   ========================================================= */

.services {
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 30px 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 8px 25px rgba(16,24,32,.035);
    transition: .3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(201,151,43,.55);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    flex: 0 0 62px;
    margin-bottom: 25px;
    border: 1px solid rgba(201,151,43,.2);
    border-radius: 14px;
    background: #fff8e8;
    color: var(--gold-dark);
    transition: .3s ease;
}

.service-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card:hover .service-icon {
    background: var(--gold);
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 20px;
    line-height: 1.25;
}

.service-card p {
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 800;
}

.service-link span {
    transition: transform .2s ease;
}

.service-link:hover span {
    transform: translateX(4px);
}

/* =========================================================
   ABOUT
   ========================================================= */

.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content {
    max-width: 600px;
}

.about-content h2 {
    margin-bottom: 22px;
    color: var(--navy);
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.12;
}

.about-content p {
    margin-bottom: 17px;
    color: var(--muted);
    font-size: 15px;
}

.text-link {
    display: inline-flex;
    gap: 8px;
    margin-top: 15px;
    color: var(--gold-dark);
    font-weight: 800;
}

.about-panel {
    padding: 35px;
    border-radius: 18px;
    background: var(--navy);
    box-shadow: var(--shadow);
}

.about-logo {
    width: 110px;
    height: 110px;
    margin-bottom: 35px;
    overflow: hidden;
    border: 3px solid var(--gold);
    border-radius: 50%;
    background: var(--white);
}

.about-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-stat {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.1);
}

.about-stat strong {
    color: var(--gold);
    font-size: 22px;
}

.about-stat span {
    color: rgba(255,255,255,.72);
    font-size: 14px;
}

/* =========================================================
   PROCESS
   ========================================================= */

.process {
    background: var(--off-white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-card {
    position: relative;
    padding: 30px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}

.process-number {
    display: block;
    margin-bottom: 28px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
}

.process-card h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 18px;
}

.process-card p {
    color: var(--muted);
    font-size: 14px;
}

/* =========================================================
   APPLICATION
   ========================================================= */

.application {
    background: var(--navy);
    color: var(--white);
}

.application-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.application-content h2 {
    margin-bottom: 20px;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.1;
}

.application-content > p {
    max-width: 500px;
    margin-bottom: 35px;
    color: rgba(255,255,255,.65);
}

.application-contact {
    display: grid;
    gap: 20px;
}

.application-contact div {
    display: flex;
    flex-direction: column;
}

.application-contact strong {
    color: var(--gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.application-contact span {
    color: rgba(255,255,255,.8);
}

.application-form {
    padding: 32px;
    border-radius: 16px;
    background: var(--white);
    color: var(--text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 7px;
    outline: none;
    background: var(--white);
    color: var(--text);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,151,43,.12);
}

.form-submit {
    width: 100%;
    border: 0;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: .25s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #fff8e8;
    color: var(--gold-dark);
}

.contact-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-card strong {
    margin-bottom: 5px;
    color: var(--navy);
}

.contact-card span {
    color: var(--muted);
    font-size: 14px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #0b1116;
    color: var(--white);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 55px 0 35px;
}

.footer-inner strong {
    font-size: 14px;
    letter-spacing: 1px;
}

.footer-inner p {
    margin-top: 8px;
    color: rgba(255,255,255,.5);
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: rgba(255,255,255,.65);
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.4);
    font-size: 12px;
}

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

.floating-whatsapp svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .main-nav {
        gap: 18px;
    }

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

    .hero-card {
        max-width: 650px;
    }

    .about-grid,
    .application-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .section {
        padding: 75px 0;
    }

    .header-inner {
        min-height: 72px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px 4%;
        border-bottom: 1px solid var(--border);
        background: var(--white);
        box-shadow: 0 15px 30px rgba(0,0,0,.08);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav > a {
        padding: 14px 0;
    }

    .nav-cta {
        margin: 8px 0;
        text-align: center;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .hero-trust {
        flex-wrap: wrap;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
    }

    .process-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .application-form {
        padding: 23px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
    }

}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .brand-text strong {
        font-size: 15px;
    }

    .brand-text small {
        font-size: 7px;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .hero-card {
        padding: 22px;
    }

}

/* PROFESSIONAL SERVICE IMAGES */

.service-image {
    width: 100%;
    height: 180px;
    margin-bottom: 23px;
    border-radius: 12px;
    overflow: hidden;
    background: #071426;
}

.service-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.04);
}
