/* =========================================================
   ALPINE IT SOLUTIONS - Homepage
   ========================================================= */

:root {
    --alpine-blue: #1769e8;
    --alpine-blue-dark: #0f56c7;
    --alpine-navy: #0b1b46;
    --alpine-text: #14203d;
    --alpine-muted: #667085;
    --alpine-border: #e4e9f2;
    --alpine-soft: #f5f8fc;
    --alpine-soft-blue: #f3f7ff;
    --alpine-white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--alpine-text);
    background: #fff;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

.btn {
    border-radius: 6px;
    font-weight: 650;
    padding: 11px 18px;
}

.btn-primary {
    background: var(--alpine-blue);
    border-color: var(--alpine-blue);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--alpine-blue-dark);
    border-color: var(--alpine-blue-dark);
}

.btn-outline-primary {
    color: var(--alpine-text);
    border-color: #9aa8c1;
    background: #fff;
}

.btn-outline-primary:hover {
    color: var(--alpine-blue);
    background: #fff;
    border-color: var(--alpine-blue);
}


/* ---------- Header ---------- */

.site-header {
    position: relative;
    z-index: 20;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid #eef1f6;
}

.site-header .navbar {
    min-height: 68px;
    padding: 0;
}

.alpine-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--alpine-navy);
}

.alpine-brand:hover {
    color: var(--alpine-navy);
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #fff;
    background: var(--alpine-blue);
    font-size: 22px;
    font-weight: 800;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong {
    font-size: 18px;
    letter-spacing: 1.2px;
}

.brand-copy small {
    margin-top: 4px;
    color: #7b879c;
    font-size: 9px;
    letter-spacing: 1.2px;
}

.navbar-nav .nav-link {
    color: #182544;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 5px !important;
}

.navbar-nav .nav-link:hover {
    color: var(--alpine-blue);
}

.nav-chevron {
    margin-left: 2px;
    font-size: 12px;
}

.nav-demo-btn {
    padding: 10px 21px;
}


/* ---------- Shared ---------- */

.container {
    max-width: 1180px;
}

.eyebrow {
    margin-bottom: 13px;
    color: var(--alpine-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .65px;
}

.section-heading h2 {
    max-width: 760px;
    margin: 0 auto;
    color: var(--alpine-navy);
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -.7px;
}


/* ---------- Hero ---------- */

.hero {
    padding: 56px 0 54px;
    background:
        radial-gradient(circle at 85% 10%, rgba(43, 119, 235, .09), transparent 28%),
        linear-gradient(180deg, #f7faff 0%, #f5f9ff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    align-items: center;
    gap: 48px;
}

.hero-copy h1 {
    max-width: 600px;
    margin: 0 0 18px;
    color: var(--alpine-navy);
    font-size: clamp(42px, 5vw, 60px);
    line-height: 1.05;
    letter-spacing: -1.8px;
    font-weight: 800;
}

.hero-copy h1 span {
    display: block;
    color: var(--alpine-blue);
}

.hero-lead {
    max-width: 540px;
    margin: 0 0 25px;
    color: #52617c;
    font-size: 16px;
    line-height: 1.65;
}

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

.hero-actions .btn-lg {
    font-size: 14px;
    padding: 12px 18px;
}

.btn-icon {
    margin-right: 7px;
}

.hero-benefits {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 24px;
    color: #5f6d85;
    font-size: 11px;
}

.hero-benefits b {
    margin-right: 4px;
    color: var(--alpine-blue);
}

.hero-benefits i {
    width: 1px;
    height: 15px;
    background: #d8deea;
}

.hero-visual {
    min-width: 0;
}

.product-window {
    overflow: hidden;
    border: 1px solid #dce3ef;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 35, 75, .13);
}

.hero-window {
    transform: translateY(2px);
}

.window-topbar {
    height: 37px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    border-bottom: 1px solid #e7ebf2;
    color: #263552;
    background: #fff;
    font-size: 10px;
}

.window-dots {
    display: flex;
    gap: 5px;
}

.window-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d4dbe6;
}

.product-window img {
    display: block;
    width: 100%;
    height: auto;
}


/* ---------- Product cards ---------- */

.products-intro {
    padding: 52px 0 58px;
    background: #fff;
}

.centered {
    text-align: center;
    margin-bottom: 28px;
}

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

.product-card {
    min-height: 182px;
    padding: 21px 20px 19px;
    border: 1px solid var(--alpine-border);
    border-radius: 9px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: #cbd8ef;
    box-shadow: 0 12px 30px rgba(15, 35, 75, .07);
}

.card-icon {
    width: 37px;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 50%;
    color: var(--alpine-blue);
    background: #eef4ff;
    font-size: 17px;
}

.product-card h3 {
    margin: 0 0 7px;
    color: var(--alpine-navy);
    font-size: 16px;
    font-weight: 750;
}

.product-card p {
    min-height: 61px;
    margin: 0;
    color: #6a768c;
    font-size: 12px;
    line-height: 1.55;
}

.product-card a {
    color: var(--alpine-blue);
    font-size: 11px;
    font-weight: 700;
}


/* ---------- Product feature sections ---------- */

.feature-section {
    padding: 66px 0;
}

.restaurant-feature {
    background: #f6f9fd;
}

.hotel-feature {
    background: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: center;
    gap: 58px;
}

.feature-copy h2 {
    max-width: 480px;
    margin: 0 0 15px;
    color: var(--alpine-navy);
    font-size: 38px;
    line-height: 1.12;
    letter-spacing: -.9px;
    font-weight: 800;
}

.feature-copy > p {
    max-width: 470px;
    margin: 0 0 20px;
    color: #61708a;
    font-size: 14px;
    line-height: 1.7;
}

.check-list {
    padding: 0;
    margin: 0 0 23px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #56657d;
    font-size: 12px;
    line-height: 1.5;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--alpine-blue);
    font-weight: 800;
}

.check-list strong {
    color: #273654;
}

.feature-visual {
    min-width: 0;
}

.feature-visual .product-window {
    box-shadow: 0 16px 35px rgba(15, 35, 75, .10);
}

.hotel-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 25px;
    margin: 0 0 24px;
    color: #56657d;
    font-size: 12px;
}

.hotel-check-grid span::first-letter {
    color: var(--alpine-blue);
}


/* ---------- Why Alpine ---------- */

.why-section {
    padding: 26px 0;
    background: #fff;
    border-top: 1px solid #e8edf4;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.why-item {
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    border-right: 1px solid #e5eaf2;
}

.why-item:last-child {
    border-right: 0;
}

.why-icon {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--alpine-blue);
    background: #eef4ff;
    font-size: 16px;
    font-weight: 800;
}

.why-item h3 {
    margin: 1px 0 5px;
    color: var(--alpine-navy);
    font-size: 13px;
    font-weight: 750;
}

.why-item p {
    margin: 0;
    color: #6a768c;
    font-size: 10px;
    line-height: 1.5;
}


/* ---------- CTA ---------- */

.demo-section {
    padding: 25px 0;
    background: var(--alpine-navy);
}

.demo-card {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 92px;
}

.demo-icon {
    width: 55px;
    height: 55px;
    flex: 0 0 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
}

.demo-copy {
    flex: 1;
}

.demo-copy h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 22px;
    font-weight: 750;
}

.demo-copy p {
    margin: 0;
    color: #d7e1f5;
    font-size: 12px;
}

.demo-card .btn-light {
    min-width: 190px;
    color: var(--alpine-navy);
    font-size: 13px;
}

.arrow {
    margin-left: 7px;
}


/* ---------- Footer ---------- */

.site-footer {
    padding: 30px 0 16px;
    background: #fff;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.65fr 1fr 1fr 1fr 1.1fr;
    gap: 35px;
    padding-bottom: 25px;
}

.footer-brand {
    margin-bottom: 13px;
}

.footer-company p {
    max-width: 270px;
    margin: 0;
    color: #6a768c;
    font-size: 11px;
    line-height: 1.55;
}

.site-footer h4 {
    margin: 0 0 12px;
    color: var(--alpine-navy);
    font-size: 12px;
    font-weight: 750;
}

.site-footer a:not(.alpine-brand) {
    display: block;
    margin-bottom: 8px;
    color: #5f6d85;
    font-size: 11px;
}

.site-footer a:not(.alpine-brand):hover {
    color: var(--alpine-blue);
}

.footer-start-text {
    margin: 0 0 9px;
    color: #6a768c;
    font-size: 11px;
    line-height: 1.5;
}

.site-footer .footer-demo-link {
    color: var(--alpine-blue);
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 14px;
    border-top: 1px solid #e8edf4;
    color: #8a94a6;
    font-size: 10px;
}

.footer-bottom a {
    display: inline !important;
    margin: 0 !important;
}

.footer-divider {
    padding: 0 8px;
    color: #c0c6d0;
}


/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
    .site-header .navbar {
        min-height: 64px;
    }

    .navbar-collapse {
        padding: 14px 0 18px;
    }

    .nav-demo-btn {
        display: inline-block;
        margin-top: 6px;
    }

    .hero-grid,
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

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

    .hero-copy h1 {
        font-size: 48px;
    }

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

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

    .why-item:nth-child(2) {
        border-right: 0;
    }

    .why-item:nth-child(3),
    .why-item:nth-child(4) {
        border-top: 1px solid #e5eaf2;
    }

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

    .footer-company {
        grid-column: span 2;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding: 42px 0;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

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

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

    .hero-benefits {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .hero-benefits i {
        display: none;
    }

    .products-intro,
    .feature-section {
        padding: 50px 0;
    }

    .product-grid,
    .why-grid,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-company {
        grid-column: auto;
    }

    .why-item {
        border-right: 0;
        border-bottom: 1px solid #e5eaf2;
    }

    .why-item:last-child {
        border-bottom: 0;
    }

    .hotel-check-grid {
        grid-template-columns: 1fr;
    }

    .demo-card {
        flex-wrap: wrap;
        padding: 8px 0;
    }

    .demo-copy {
        flex-basis: calc(100% - 75px);
    }

    .demo-card .btn-light {
        width: 100%;
    }

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


/* ---------- Homepage V2 refinements ---------- */

.section-heading.centered p {
    max-width: 650px;
    margin: 10px auto 0;
    color: #6a768c;
    font-size: 13px;
    line-height: 1.6;
}

.product-card {
    min-height: 205px;
    padding: 22px 21px 20px;
}

.card-icon {
    width: auto;
    min-width: 39px;
    padding: 0 9px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .3px;
}

.product-card h3 {
    font-size: 17px;
}

.product-card p {
    min-height: 63px;
}

.feature-visual .product-window {
    max-width: 690px;
    margin-left: auto;
    margin-right: auto;
}

.operations-section {
    padding: 70px 0;
    background: #f7f9fc;
    border-top: 1px solid #e8edf4;
    border-bottom: 1px solid #e8edf4;
}

.operations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 32px;
}

.operations-grid article {
    padding: 26px 25px;
    border: 1px solid #e0e6ef;
    border-radius: 10px;
    background: #fff;
}

.operation-number {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--alpine-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.operations-grid h3 {
    margin: 0 0 9px;
    color: var(--alpine-navy);
    font-size: 17px;
}

.operations-grid p {
    margin: 0;
    color: #65728a;
    font-size: 12px;
    line-height: 1.65;
}

.why-section {
    padding: 62px 0;
    background: #fff;
}

.why-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 30px;
}

.why-intro h2 {
    max-width: 600px;
    margin: 0;
    color: var(--alpine-navy);
    font-size: 31px;
    line-height: 1.18;
    letter-spacing: -.6px;
}

.why-intro > p {
    max-width: 330px;
    margin: 0 0 2px;
    color: #69768c;
    font-size: 13px;
    line-height: 1.6;
}

.why-grid {
    border: 1px solid #e2e7ef;
    border-radius: 10px;
    overflow: hidden;
}

.why-item {
    min-height: 122px;
    padding: 25px 22px;
}

.why-item:nth-child(3),
.why-item:nth-child(4) {
    border-top: 0;
}

@media (max-width: 991.98px) {
    .operations-grid {
        grid-template-columns: 1fr;
    }

    .why-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 575.98px) {
    .operations-section,
    .why-section {
        padding: 50px 0;
    }

    .why-intro h2 {
        font-size: 27px;
    }
}


/* ---------- Restaurant POS landing page ---------- */

.product-hero {
    padding: 74px 0 68px;
    background: linear-gradient(135deg, #f5f9ff 0%, #eef5ff 100%);
    border-bottom: 1px solid #e2e9f3;
}

.product-hero-grid,
.showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    gap: 58px;
    align-items: center;
}

.product-hero h1 {
    max-width: 650px;
    margin: 0 0 20px;
    color: var(--alpine-navy);
    font-size: clamp(40px, 4.4vw, 62px);
    line-height: 1.04;
    letter-spacing: -1.5px;
}

.product-lead {
    max-width: 590px;
    margin: 0 0 27px;
    color: #65728a;
    font-size: 16px;
    line-height: 1.7;
}

.product-hero-shot .product-window {
    box-shadow: 0 24px 55px rgba(22, 43, 78, .16);
}

.product-summary,
.workflow-section,
.why-product {
    padding: 76px 0;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-top: 34px;
}

.feature-cards article {
    min-height: 190px;
    padding: 25px;
    border: 1px solid #dfe6ef;
    border-radius: 10px;
    background: #fff;
}

.feature-cards span {
    color: var(--alpine-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.feature-cards h3 {
    margin: 21px 0 9px;
    color: var(--alpine-navy);
    font-size: 18px;
}

.feature-cards p {
    margin: 0;
    color: #68758a;
    font-size: 12px;
    line-height: 1.65;
}

.product-showcase {
    padding: 76px 0;
    background: #f6f8fb;
    border-top: 1px solid #e7ebf1;
    border-bottom: 1px solid #e7ebf1;
}

.product-showcase.alternate {
    background: #fff;
}

.showcase-copy h2 {
    margin: 0 0 17px;
    color: var(--alpine-navy);
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -.7px;
}

.showcase-copy > p {
    max-width: 540px;
    color: #65728a;
    font-size: 14px;
    line-height: 1.75;
}

.showcase-image .product-window {
    box-shadow: 0 20px 45px rgba(22, 43, 78, .13);
}

.workflow-section {
    background: #fff;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-top: 34px;
}

.workflow-grid > div {
    padding: 25px;
    border: 1px solid #dfe6ef;
    border-radius: 10px;
}

.workflow-grid b {
    color: var(--alpine-blue);
    font-size: 11px;
}

.workflow-grid h3 {
    margin: 17px 0 8px;
    color: var(--alpine-navy);
    font-size: 17px;
}

.workflow-grid p {
    margin: 0;
    color: #68758a;
    font-size: 12px;
    line-height: 1.65;
}

.why-product {
    background: #f7f9fc;
    border-top: 1px solid #e5eaf1;
}

.why-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
    margin-top: 34px;
}

.why-product-grid > div {
    padding: 26px 23px;
    background: #fff;
    border: 1px solid #dfe6ef;
    border-radius: 10px;
}

.why-product-grid h3 {
    margin: 0 0 10px;
    color: var(--alpine-navy);
    font-size: 16px;
}

.why-product-grid p {
    margin: 0;
    color: #68758a;
    font-size: 12px;
    line-height: 1.65;
}

@media (max-width: 991.98px) {
    .product-hero-grid,
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

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

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

    .product-hero-shot {
        max-width: 780px;
    }
}

@media (max-width: 575.98px) {
    .product-hero {
        padding: 52px 0 48px;
    }

    .product-hero h1 {
        font-size: 39px;
    }

    .product-lead {
        font-size: 14px;
    }

    .feature-cards,
    .workflow-grid,
    .why-product-grid {
        grid-template-columns: 1fr;
    }

    .product-summary,
    .workflow-section,
    .why-product,
    .product-showcase {
        padding: 52px 0;
    }

    .showcase-copy h2 {
        font-size: 29px;
    }
}


/* ---------- Hotel Management landing page ---------- */

.hotel-services-section {
    padding: 76px 0;
    background: #fff;
    border-top: 1px solid #e7ebf1;
}

.hotel-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
    margin-top: 34px;
}

.hotel-services-grid > div {
    min-height: 185px;
    padding: 25px;
    border: 1px solid #dfe6ef;
    border-radius: 10px;
}

.service-number {
    color: var(--alpine-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.hotel-services-grid h3 {
    margin: 21px 0 9px;
    color: var(--alpine-navy);
    font-size: 18px;
}

.hotel-services-grid p {
    margin: 0;
    color: #68758a;
    font-size: 12px;
    line-height: 1.65;
}

@media (max-width: 991.98px) {
    .hotel-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .hotel-services-grid {
        grid-template-columns: 1fr;
    }

    .hotel-services-section {
        padding: 52px 0;
    }
}

/* =========================================================
   FOOTER SOCIAL LINKS
   ========================================================= */

.footer-connect {
    min-width: 0;
}

.footer-connect-text {
    max-width: 220px;
    margin: 0 0 18px;
    color: #9aa8bd;
    font-size: 13px;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
}

.footer-social {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 6px;
    background: rgba(255, 255, 255, .04);
    color: #c5d0df;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

    .footer-social span {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
    }

    .footer-social:hover {
        transform: translateY(-2px);
        background: rgba(255, 255, 255, .10);
        border-color: rgba(255, 255, 255, .30);
        color: #fff;
        text-decoration: none;
    }

.footer-connect .footer-demo-link {
    display: inline-block;
    margin-top: 2px;
    color: #8bb7ff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

    .footer-connect .footer-demo-link:hover {
        color: #fff;
        text-decoration: none;
    }


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

@media (max-width: 767px) {

    .footer-socials {
        margin-bottom: 15px;
    }

    .footer-social {
        width: 36px;
        height: 36px;
    }

    .footer-connect-text {
        max-width: 280px;
    }
}
