@font-face {
    font-family: 'Jura';
    src: url('../fonts/Jura-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Basic reset */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Jura', Arial, Helvetica, sans-serif;
    font-weight: 600;
    color: #333;
    background: #fff;
    line-height: 1.6;
}

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

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

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

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eeeeee;
    position: relative;
    z-index: 1000;
}

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

.logo {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #222;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 54px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
    font-family: 'Jura', Arial, Helvetica, sans-serif;
    font-weight: 600;
}

.main-nav > a,
.dropdown-toggle {
    color: #333;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    min-height: 78px;
    font-family: 'Jura', Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.main-nav > a:hover,
.dropdown-toggle:hover {
    color: #d71920;
}

/* Dropdown menu */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 78px;
    font-family: 'Jura', Arial, Helvetica, sans-serif;
    font-weight: 600;
}

.dropdown-toggle {
    cursor: default;
    font-family: 'Jura', Arial, Helvetica, sans-serif;
    font-weight: 600;
}

.dropdown-toggle::after {
    content: " ▾";
    font-size: 11px;
    margin-left: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 245px;
    background: #fff;
    border: 1px solid #eeeeee;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
    padding: 8px 0;
    display: none;
    z-index: 2000;
    font-family: 'Jura', Arial, Helvetica, sans-serif;
    font-weight: 600;
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: #333;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.4;
    font-family: 'Jura', Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.dropdown-menu a:hover {
    background: #f7f7f7;
    color: #d71920;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

/* Hero */
.hero {
    background: #f6f6f6;
    text-align: center;
}

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #f6f6f6;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroFade 15s infinite;
}

.slide-1 {
    background-image: url('../images/hero-laptop.jpg');
    animation-delay: 0s;
}

.slide-2 {
    background-image: url('../images/hero-laptop2.jpg');
    animation-delay: 5s;
}

.slide-3 {
    background-image: url('../images/hero-laptop3.jpg');
    animation-delay: 10s;
}

@keyframes heroFade {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 0.92;
    }

    30% {
        opacity: 0.92;
    }

    38% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.hero-espa {
    background: #fff;
    padding: 14px 0 0;
}

.hero-espa a {
    display: flex;
    justify-content: flex-end;
    width: min(1100px, 92%);
    margin: 0 auto;
}

.hero-espa img {
    max-width: 420px;
    height: auto;
    transition: opacity 0.2s ease;
}

.hero-espa a:hover img {
    opacity: 0.8;
}

.hero-slogan {
    background: #fff;
    padding: 28px 16px 34px;
    font-size: clamp(34px, 6vw, 74px);
    letter-spacing: 18px;
    color: #111;
    text-transform: lowercase;
    line-height: 1.1;
    border-bottom: 1px solid #eeeeee;
}

.hero-slogan strong {
    color: #d71920;
    font-weight: 600;
    letter-spacing: 8px;
    margin: 0 18px;
}

/* Inner hero image */
.inner-hero-image {
    width: 100%;
    height: 360px;
    overflow: hidden;
    background: #f6f6f6;
}

.inner-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Generic inner pages */
.page-hero {
    background: #fff;
    border-bottom: 1px solid #eeeeee;
    padding: 38px 0 34px;
}

.page-hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-kicker {
    display: none;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(28px, 2.8vw, 38px);
    font-weight: 600;
    color: #222;
    letter-spacing: 1px;
}

.page-content {
    padding: 70px 0;
    background: #fff;
}

/* Intro */
.intro-section {
    padding: 60px 0 40px;
    text-align: center;
}

.intro-section h1 {
    margin: 0 0 18px;
    font-size: 32px;
    letter-spacing: 4px;
    color: #222;
}

.lead {
    max-width: 820px;
    margin: 0 auto;
    font-size: 18px;
    color: #555;
}

/* Services */
.services-section {
    padding: 55px 0 70px;
    background: #f7f7f7;
}

.section-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 38px;
}

.section-title h2 {
    margin: 0 0 12px;
    font-size: 30px;
    color: #222;
}

.section-title p {
    margin: 0;
    color: #666;
}

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

.service-card {
    background: #fff;
    padding: 28px 24px;
    border: 1px solid #eeeeee;
    min-height: 285px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 46px;
    height: 46px;
    border: 1px solid #d71920;
    color: #d71920;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-bottom: 18px;
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 19px;
    color: #222;
}

.service-card p {
    margin: 0 0 18px;
    font-size: 14px;
    color: #666;
}

.service-card a {
    font-size: 14px;
    color: #d71920;
    font-weight: 600;
}

/* Service inner page */
.service-page-content {
    max-width: 980px;
    margin: 0 auto;
}

.service-page-content p {
    margin: 0 0 22px;
    font-size: 17px;
    color: #555;
    line-height: 1.8;
}

.service-page-content h2 {
    margin: 36px 0 18px;
    font-size: 28px;
    font-weight: 600;
    color: #222;
}

.custom-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.custom-list li {
    position: relative;
    margin: 0 0 14px;
    padding-left: 28px;
    font-size: 16px;
    color: #555;
    line-height: 1.75;
}

.custom-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 8px;
    height: 8px;
    background: #d71920;
}

/* Ready-made applications page */
.ready-made-content {
    max-width: 1000px;
}

.ready-made-intro {
    background: #f7f7f7;
    border-left: 5px solid #d71920;
    padding: 22px 26px;
    margin-bottom: 34px !important;
    color: #333 !important;
    font-size: 18px !important;
    line-height: 1.8;
}

.ready-app-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-left: 5px solid #d71920;
    padding: 30px 32px;
    margin-bottom: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.045);
}

.ready-app-card h2 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eeeeee;
    color: #222;
    font-size: 26px;
}

.ready-app-card p {
    margin-bottom: 18px;
}

.ready-app-card .custom-list li:last-child {
    margin-bottom: 0;
}

/* Company page */
.company-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.company-main h2 {
    margin: 0 0 24px;
    font-size: 32px;
    color: #222;
}

.company-main p {
    margin: 0 0 20px;
    font-size: 17px;
    color: #555;
    line-height: 1.8;
}

.company-main strong {
    color: #222;
}

.company-side {
    display: grid;
    gap: 22px;
}

.info-card {
    background: #222;
    color: #fff;
    padding: 30px;
}

.info-card h3 {
    margin: 0 0 12px;
    font-size: 26px;
    color: #fff;
}

.info-card p {
    margin: 0;
    color: #ddd;
}

.info-list {
    display: grid;
    gap: 14px;
}

.info-list div {
    background: #f7f7f7;
    border-left: 4px solid #d71920;
    padding: 18px 20px;
}

.info-list strong {
    display: block;
    color: #222;
    margin-bottom: 4px;
}

.info-list span {
    display: block;
    color: #666;
    font-size: 14px;
}

.company-values {
    padding: 65px 0 75px;
    background: #f7f7f7;
}

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

.value-card {
    background: #fff;
    border: 1px solid #eeeeee;
    padding: 28px 24px;
}

.value-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #222;
}

.value-card p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

/* Why section */
.why-section {
    padding: 70px 0;
    background: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-section h2 {
    margin: 0 0 16px;
    font-size: 30px;
    color: #222;
}

.why-section p {
    color: #555;
    font-size: 17px;
}

.why-boxes {
    display: grid;
    gap: 16px;
}

.why-box {
    border-left: 4px solid #d71920;
    background: #f7f7f7;
    padding: 20px 22px;
}

.why-box strong {
    display: block;
    font-size: 20px;
    color: #222;
    margin-bottom: 4px;
}

.why-box span {
    color: #666;
}

/* CTA */
.contact-cta {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 58px 0;
}

.contact-cta h2 {
    margin: 0 0 12px;
    font-size: 28px;
}

.contact-cta p {
    margin: 0 0 26px;
    color: #ddd;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: #d71920;
    color: #fff;
    border-radius: 0;
    font-weight: 600;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: #b9151b;
}

/* Footer */
.site-footer {
    background: #111;
    color: #aaa;
    padding: 28px 0;
    font-size: 14px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-inner p {
    margin: 0;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
    opacity: 0.75;
    transform: translateY(-2px);
}

.social-links img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Customers page - old site style */
.customers-page {
    background: #fff;
}

.customers-title {
    margin: 0 0 45px;
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: #222;
    letter-spacing: 1px;
    text-transform: lowercase;
}

.customers-list {
    max-width: 980px;
    margin: 0 auto;
}

.customer-row {
    text-align: center;
    padding: 38px 0 52px;
    border-bottom: 1px solid #dddddd;
}

.customer-row:first-child {
    padding-top: 0;
}

.customer-row:last-child {
    border-bottom: none;
}

.customer-row a {
    display: block;
}

.customer-row h3 {
    margin: 0 0 34px;
    font-size: 18px;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.5px;
    text-transform: none;
}

.customer-row a:hover h3 {
    color: #d71920;
}

.customer-row-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
}

.customer-row-logo img {
    max-width: 360px;
    max-height: 170px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* Special logo sizing */
.customer-row-logo img[src$="1.jpg"] {
    max-height: 190px;
}

.customer-row-logo img[src$="2.jpg"] {
    max-width: 360px;
}

.customer-row-logo img[src$="3.jpg"],
.customer-row-logo img[src$="4.jpg"],
.customer-row-logo img[src$="5.jpg"],
.customer-row-logo img[src$="6.jpg"],
.customer-row-logo img[src$="7.jpg"] {
    max-width: 340px;
}
/* Contact page */
.contact-form {
    max-width: 1100px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px 30px;
}

.form-grid-message {
    align-items: start;
    margin-top: 26px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-size: 17px;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #cccccc;
    background: #fff;
    padding: 13px 14px;
    font-family: 'Jura', Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #d71920;
}

.form-group textarea {
    min-height: 125px;
    resize: vertical;
}

.message-field {
    grid-column: span 1;
}

.captcha-field {
    align-self: start;
}

.form-actions {
    text-align: center;
    margin-top: 32px;
}

.form-actions button {
    border: none;
    background: #287fa0;
    color: #fff;
    padding: 16px 42px;
    font-family: 'Jura', Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.form-actions button:hover {
    background: #1f6b87;
    transform: translateY(-2px);
}

.form-message {
    padding: 16px 20px;
    margin-bottom: 28px;
    font-size: 16px;
    text-align: center;
}

.form-message.success {
    background: #edf8ef;
    color: #247336;
    border: 1px solid #b9e4c1;
}

.form-message.error {
    background: #fff0f0;
    color: #a12b2b;
    border: 1px solid #efb4b4;
}

.contact-notice {
    max-width: 1100px;
    margin: 0 auto 28px;
    padding: 18px 22px;
    background: #f7f7f7;
    border-left: 5px solid #d71920;
    color: #333;
    font-size: 17px;
    line-height: 1.7;
}

.contact-notice p {
    margin: 0;
}

.contact-notice a {
    color: #d71920;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1000px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-slogan {
        letter-spacing: 10px;
    }

    .main-nav {
        gap: 14px;
        font-size: 13px;
    }

    .dropdown-menu {
        min-width: 220px;
    }

    .company-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 760px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 0;
        gap: 16px;
    }

    .logo img {
        max-height: 48px;
    }

    .main-nav {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        font-size: 14px;
    }

    .main-nav > a,
    .dropdown-toggle {
        min-height: auto;
        padding: 4px 0;
    }

    .nav-dropdown {
        width: 100%;
        min-height: auto;
        display: block;
    }

    .dropdown-toggle::after {
        content: "";
    }

    .dropdown-menu {
        position: static;
        display: block;
        box-shadow: none;
        border: none;
        padding: 4px 0 4px 16px;
        background: transparent;
        min-width: auto;
    }

    .dropdown-menu a {
        padding: 6px 0;
        font-size: 13px;
    }

    .hero-slideshow {
        height: 280px;
    }

    .hero-slogan {
        font-size: 34px;
        letter-spacing: 5px;
    }

    .hero-slogan strong {
        margin: 0 8px;
        letter-spacing: 4px;
    }

    .hero-espa {
        padding-top: 12px;
    }

    .hero-espa a {
        justify-content: center;
    }

    .hero-espa img {
        max-width: 220px;
    }

    .inner-hero-image {
        height: 240px;
    }

    .page-hero {
        padding: 30px 0 28px;
    }

    .page-hero-inner {
        display: block;
    }

    .page-content {
        padding: 48px 0;
    }

    .page-hero h1 {
        font-size: 30px;
    }

    .service-page-content p {
        font-size: 16px;
        line-height: 1.75;
    }

    .service-page-content h2 {
        font-size: 24px;
    }

    .custom-list li {
        font-size: 15px;
        line-height: 1.7;
    }

    .ready-app-card {
        padding: 24px 20px;
        margin-bottom: 24px;
    }

    .ready-app-card h2 {
        font-size: 22px;
    }

    .ready-made-intro {
        padding: 18px 20px;
        font-size: 16px !important;
    }

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

    .why-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .social-links img {
        width: 30px;
        height: 30px;
    }

    .customers-title {
        font-size: 30px;
        margin-bottom: 32px;
    }

    .customer-row {
        padding: 30px 0 38px;
    }

    .customer-row h3 {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .customer-row-logo {
        min-height: 120px;
    }

    .customer-row-logo img {
        max-width: 280px;
        max-height: 130px;
    }


    .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
}

    .form-grid-message {
        margin-top: 20px;
    }

    .form-actions button {
        width: 100%;
    }
}