:root {
    --green-logo: #2FAE3E;
    --blue: #5FAF6A;
    --blue-hover: #4C9657;
    --blue-tint: #EAF5EC;
    --bg: #FFFFFF;
    --bg-section: #F6F7FE;
    --card: #FFFFFF;
    --border: #ECEEF7;
    --text-primary: #12141F;
    --text-secondary: #5B5F73;
    --green-600: #16a34a;
    --green-500: #1fb457;

    --max-w: 1260px;
    --radius-lg: 22px;
    --radius-md: 14px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --sp-6: 64px;
    --sp-8: 110px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

button {
    font-family: inherit;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

@media(min-width:900px) {
    .container {
        padding: 0 40px;
    }
}

.eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--blue);
    display: inline-block;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.14;
    color: var(--text-primary);
}

p {
    margin: 0;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    padding: 15px 28px;
    border-radius: 100px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease), box-shadow 220ms var(--ease);
    white-space: nowrap;
} */

.btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
    background: var(--green-600);
    color: #fff;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: transform .2s, background .2s, box-shadow .2s;
    box-shadow: 0 10px 24px -10px rgba(22, 163, 74, .55);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: skewX(-20deg);
    animation: shine 3.4s ease-in-out infinite;
}

@keyframes shine {
    0% {
        left: -60%;
    }

    35% {
        left: 130%;
    }

    100% {
        left: 130%;
    }
}


.btn:hover {
    transform: translateY(-2px);
    background: var(--green-500);
}

.btn .arrow {
    transition: transform .2s;
}

.btn:hover .arrow {
    transform: translateX(3px);
}

.btn-solid {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 14px 26px -14px rgba(95, 175, 106, .55);
}

.btn-solid:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
}

.btn-solid:active {
    transform: scale(.97);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}

.btn-outline:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline:active {
    transform: scale(.97);
}

.btn .arrow {
    transition: transform 220ms var(--ease);
}

.btn:hover .arrow {
    transform: translateX(4px);
}

section {
    position: relative;
}

.section-pad {
    padding: var(--sp-8) 0;
}

@media(max-width:900px) {
    .section-pad {
        padding: 64px 0;
    }
}

.section-head {
    max-width: 680px;
    margin: 0 auto var(--sp-6);
    text-align: center;
}

.section-head h2 {
    font-size: clamp(28px, 3.8vw, 42px);
}

.section-head p {
    margin-top: 14px;
    font-size: 16.5px;
}

.section-head.left {
    text-align: left;
    margin-left: 0;
}

/* ============ TOP BAR ============ */
.top-bar {
    background: #14161F;
    color: rgba(255, 255, 255, .85);
    font-size: 13.5px;
    text-align: center;
    padding: 9px 12px;
}

.top-bar a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ============ HERO ============ */
.page-hero {
    padding: 76px 0 90px;
    overflow: hidden;
}

.page-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 44px;
    align-items: center;
}

@media(min-width:960px) {
    .page-hero-inner {
        grid-template-columns: 1.05fr .95fr;
    }
}

.page-hero-crumb {
    color: var(--text-secondary);
    font-size: 13.5px;
    margin-bottom: 20px;
}

.page-hero-crumb a:hover {
    color: var(--blue);
}

.page-hero h1 {
    font-size: clamp(34px, 4.6vw, 52px);
    max-width: 620px;
}

.page-hero h1 b {
    color: var(--text-primary);
}

.page-hero p.lede {
    margin-top: 22px;
    font-size: 17px;
    max-width: 500px;
    line-height: 1.75;
}

.page-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(95, 175, 106, .14), transparent 70%);
    filter: blur(10px);
    z-index: -1;
}

.hero-visual img {
    animation: floatY 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.hero-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
    opacity: .7;
    animation: dotFloat 5s ease-in-out infinite;
}

.hero-dot.d1 {
    top: 10%;
    left: 6%;
    animation-delay: 0s;
}

.hero-dot.d2 {
    top: 78%;
    left: 2%;
    width: 7px;
    height: 7px;
    animation-delay: 1.2s;
    background: var(--green-logo);
}

.hero-dot.d3 {
    top: 4%;
    right: 10%;
    width: 8px;
    height: 8px;
    animation-delay: .6s;
}

.hero-dot.d4 {
    bottom: 6%;
    right: 4%;
    animation-delay: 1.8s;
    background: var(--green-logo);
}

@keyframes dotFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: .6;
    }

    50% {
        transform: translateY(-16px) scale(1.25);
        opacity: 1;
    }
}

/* ============ FLOATING CHAT WIDGET ============ */
.chat-widget {
    position: fixed;
    left: 26px;
    bottom: 26px;
    z-index: 600;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 16px 30px -12px rgba(95, 175, 106, .6);
    animation: fadeUp .7s 1s var(--ease) both, chatPulse 2.6s ease-in-out 1.8s infinite;
}

.chat-widget svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.chat-widget .chat-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FF5A5F;
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

@keyframes chatPulse {

    0%,
    100% {
        box-shadow: 0 16px 30px -12px rgba(95, 175, 106, .6), 0 0 0 0 rgba(95, 175, 106, .4);
    }

    50% {
        box-shadow: 0 16px 30px -12px rgba(95, 175, 106, .6), 0 0 0 10px rgba(95, 175, 106, 0);
    }
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* ============ FEATURE SHOWCASE (3-col with center image) ============ */
.bg-section {
    background: var(--bg-section);
}

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media(min-width:940px) {
    .feature-showcase {
        grid-template-columns: 1fr .95fr 1fr;
        gap: 30px;
    }
}

.feature-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media(min-width:940px) {
    .feature-item:nth-child(2) {
        align-items: flex-end;
        text-align: right;
    }
}

.feature-item-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #fff;
    border: 2px solid var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 260ms var(--ease), transform 260ms var(--ease), box-shadow 260ms var(--ease);
    animation: iconBob 3.4s ease-in-out infinite;
}

.feature-item:nth-child(2) .feature-item-icon {
    animation-delay: .4s;
}

.feature-item:hover .feature-item-icon {
    background: var(--blue);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 14px 26px -12px rgba(95, 175, 106, .55);
    animation-play-state: paused;
}

.feature-item-icon img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

.feature-item:hover .feature-item-icon img {
    filter: brightness(0) invert(1);
}

.feature-item h4 {
    font-size: 18px;
}

.feature-item p {
    font-size: 14.5px;
    max-width: 230px;
}

.feature-center {
    position: relative;
}

.feature-center img {
    border-radius: var(--radius-lg);
    width: 100%;
    animation: floatY 7s ease-in-out infinite;
}

@keyframes iconBob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* ============ WHY / POINT GRIDS ============ */
.point-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media(min-width:700px) {
    .point-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.point-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}

.point-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px -28px rgba(18, 20, 31, .16);
    border-color: var(--blue);
}

.point-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--blue-tint);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    transition: background 260ms var(--ease), color 260ms var(--ease), transform 260ms var(--ease);
}

.point-card:hover .point-num {
    background: var(--blue);
    color: #fff;
    transform: scale(1.08);
}

.point-card h4 {
    font-size: 16.5px;
    margin-bottom: 6px;
}

.point-card p {
    font-size: 14.5px;
}

/* ============ SERVICES GRID ============ */
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media(min-width:700px) {
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(min-width:1100px) {
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 50px -30px rgba(18, 20, 31, .18);
}

.service-card-media {
    height: 170px;
    overflow: hidden;
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms var(--ease);
}

.service-card:hover .service-card-media img {
    transform: scale(1.06);
}

.service-card-body {
    padding: 22px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-body h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.service-card-body p {
    font-size: 14px;
    flex: 1;
}

.service-card-link {
    margin-top: 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-card-link .arrow {
    transition: transform 220ms var(--ease);
}

.service-card:hover .service-card-link .arrow {
    transform: translateX(4px);
}

/* ============ BRANDS (telephony systems) ============ */
.telbrand-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media(min-width:640px) {
    .telbrand-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(min-width:1100px) {
    .telbrand-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.telbrand-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.telbrand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 40px -28px rgba(18, 20, 31, .16);
}

.telbrand-media {
    height: 140px;
    background: var(--bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.telbrand-media img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.telbrand-body {
    padding: 18px 16px 22px;
}

.telbrand-body h4 {
    font-size: 15px;
    margin-bottom: 12px;
}

.telbrand-body a {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--blue);
}

/* ============ INDUSTRIES ============ */
.industry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media(min-width:700px) {
    .industry-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(min-width:1100px) {
    .industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.industry-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 26px;
    transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px -28px rgba(18, 20, 31, .16);
    border-color: var(--blue);
}

.industry-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--blue-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: background 260ms var(--ease), transform 260ms var(--ease);
}

.industry-card:hover .industry-icon {
    background: var(--blue);
    transform: scale(1.08) rotate(-4deg);
}

.industry-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.industry-card:hover .industry-icon img {
    filter: brightness(0) invert(1);
}

.industry-card h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.industry-card p {
    font-size: 14px;
}

/* ============ PHONE RANGE GALLERY ============ */
.phone-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media(min-width:640px) {
    .phone-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(min-width:1100px) {
    .phone-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.phone-tile {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.phone-tile:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 22px 40px -28px rgba(18, 20, 31, .16);
}

.phone-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.segment-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 32px;
}

.brand-pill {
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 11px 22px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--card);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: transform 220ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease);
}

.brand-pill:hover {
    transform: translateY(-3px);
    border-color: var(--blue);
    color: var(--blue);
}

.brand-pill .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
}

/* ============ CTA ============ */
.final-cta {
    background: radial-gradient(120% 160% at 10% 0%, #1c3826 0%, #0d1712 70%);
    border-radius: var(--radius-lg);
    padding: 56px 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.final-cta h2 {
    color: #fff;
    font-size: clamp(26px, 3.2vw, 38px);
    max-width: 480px;
}

.final-cta p {
    color: rgba(255, 255, 255, .82);
    margin-top: 12px;
    max-width: 440px;
}

.final-cta .phone {
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
}

.final-cta .phone a {
    color: #fff;
    font-weight: 600;
}

.final-cta .btn-solid {
    background: #fff;
    color: var(--blue);
    box-shadow: none;
}

.final-cta .btn-solid:hover {
    background: #EAF5EC;
}

/* ============ SCROLL PROGRESS ============ */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: var(--blue);
    z-index: 999;
    transition: width 80ms linear;
}

/* ============ ENTRANCE / SCROLL ANIMATION ============ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-hero-crumb,
.page-hero .eyebrow,
.page-hero h1,
.page-hero p.lede,
.page-hero-actions,
.hero-visual {
    opacity: 0;
}

.page-hero-crumb {
    animation: fadeUp .7s .05s var(--ease) forwards;
}

.page-hero .eyebrow {
    animation: fadeUp .7s .15s var(--ease) forwards;
}

.page-hero h1 {
    animation: fadeUp .8s .25s var(--ease) forwards;
}

.page-hero p.lede {
    animation: fadeUp .8s .38s var(--ease) forwards;
}

.page-hero-actions {
    animation: fadeUp .8s .5s var(--ease) forwards;
}

.hero-visual {
    animation: fadeUp .9s .3s var(--ease) forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger>* {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal-stagger.is-visible>* {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.is-visible>*:nth-child(1) {
    transition-delay: 0ms;
}

.reveal-stagger.is-visible>*:nth-child(2) {
    transition-delay: 60ms;
}

.reveal-stagger.is-visible>*:nth-child(3) {
    transition-delay: 120ms;
}

.reveal-stagger.is-visible>*:nth-child(4) {
    transition-delay: 180ms;
}

.reveal-stagger.is-visible>*:nth-child(5) {
    transition-delay: 240ms;
}

.reveal-stagger.is-visible>*:nth-child(6) {
    transition-delay: 300ms;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .page-hero-crumb,
    .page-hero .eyebrow,
    .page-hero h1,
    .page-hero p.lede,
    .page-hero-actions,
    .hero-visual,
    .reveal,
    .reveal-stagger>* {
        opacity: 1 !important;
        transform: none !important;
    }
}