/* ============================================================
   ORDINA-STYLE HERO SECTION
   ============================================================ */

.ordina-hero {
    --ordina-bg: #1F514A;
    --ordina-line: rgba(255, 255, 255, 0.1);
    position: relative;
    background-color: var(--ordina-bg);
    color: #ffffff;
    padding: 200px 40px 120px;
    text-align: center;
    overflow: hidden;
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Centered column with vertical guide lines on both edges */
.ordina-hero__inner {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.ordina-hero::before,
.ordina-hero::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--ordina-line);
    pointer-events: none;
}

.ordina-hero::before { left: calc(50% - 640px); }
.ordina-hero::after  { left: calc(50% + 640px); }

/* Label */
.ordina-hero__label {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #b8edd9;
    margin: 0 0 8px;
}

/* Headline */
.ordina-hero__title {
    font-size: 65px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 24px;
    font-family: "Inter Display", "Inter", sans-serif;
}

/* Sub-text */
.ordina-hero__subtitle {
    max-width: 500px;
    margin: 0 auto 32px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #ffffff;
    opacity: 0.8;
}

/* CTA row */
.ordina-hero__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.ordina-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 13px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    border: none;
}

.ordina-btn svg { width: 12px; height: 12px; }

.ordina-btn--primary {
    background-color: #CBFF97;
    color: #000000;
}

.ordina-btn--primary:hover {
    background-color: #b8f07a;
    color: #000000;
    text-decoration: none;
}

.ordina-btn--secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
}

.ordina-btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
}

/* Gartner / badge row */
.ordina-hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    font-size: 12px;
    color: #ffffff;
}

.ordina-badge__stars {
    display: inline-flex;
    gap: 1px;
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 0;
}

.ordina-badge__divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    font-size: 0;
    margin: 0 2px;
}

.ordina-badge__text {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   CARDS GRID
   ============================================================ */

.ordina-hero__cards {
    display: grid;
    grid-template-columns: 856fr 328fr;
    gap: 16px;
    align-items: stretch;
}

.ordina-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
    text-align: left;
}

/* ---- IMAGE CARD ---- */
.ordina-card__img-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ordina-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30.7% 49.2%;
    display: block;
}

.ordina-card__text {
    position: absolute;
    top: 32px;
    left: 32px;
    z-index: 2;
    max-width: 360px;
}

.ordina-card__heading {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.04em;
    color: #ffffff;
    margin: 0 0 12px;
}

.ordina-card__body {
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: -0.02em;
    max-width: 280px;
    margin: 0;
}

/* ---- TESTIMONIAL CARD ---- */
.ordina-card--testimonial {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(150, 185, 210, 0.45) 0%, rgba(150, 185, 210, 0) 60%),
        linear-gradient(180deg, #3f6685 0%, #35607f 50%, #2a5878 100%);
}

.ordina-card__quote-icon {
    position: relative;
    z-index: 1;
    display: block;
    flex-shrink: 0;
}

.ordina-card__quote {
    position: relative;
    z-index: 1;
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.04em;
    text-align: left;
    margin: auto 0 32px;
    border: none;
    padding: 0;
}

.ordina-card__author {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ordina-card__author-name {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.ordina-card__author-role {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   MARQUEE LOGO STRIP (inside hero)
   ============================================================ */

.ordina-hero__marquee {
    width: 100%;
    margin-top: 48px;
    padding: 20px 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
}

.ordina-marquee__track {
    overflow: hidden;
    width: 100%;
}

.ordina-marquee__inner {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: ordinaMarquee 30s linear infinite;
}

.ordina-marquee__inner span {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.ordina-marquee__inner span img {
    height: 26px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.5;
}

@keyframes ordinaMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1320px) {
    .ordina-hero::before { left: 24px; }
    .ordina-hero::after  { left: auto; right: 24px; }
}

@media (max-width: 1199px) {
    .ordina-hero { padding: 140px 24px 96px; }
    .ordina-hero__inner { padding: 0; }
    .ordina-hero__title { font-size: 56px; }
}

@media (max-width: 767px) {
    .ordina-hero { padding: 100px 16px 64px; }

    .ordina-hero::before { left: 8px; }
    .ordina-hero::after  { right: 8px; }

    .ordina-hero__title { font-size: clamp(36px, 11vw, 48px); }

    .ordina-hero__subtitle br,
    .ordina-hero__title br { display: none; }

    .ordina-hero__cards { grid-template-columns: 1fr; }

    .ordina-card { min-height: 420px; }

    .ordina-card__text { max-width: 70%; }

    .ordina-card--testimonial {
        min-height: 0;
        gap: 40px;
        padding: 24px;
    }

    .ordina-card__quote { margin: 0 0 24px; }
}

@media (max-width: 480px) {
    .ordina-hero__badge { gap: 6px; }

    .ordina-hero__cta { flex-direction: column; }

    .ordina-btn { width: 100%; justify-content: center; }
}
