/* ==========================================================================
   Base & Variables  (layout scale: design 790px content -> 1185px, k = 1.5)
   ========================================================================== */
:root {
    --primary-color: #e30613;
    --primary-hover: #b8000d;
    --text-color: #1a1a1a;
    --text-light: #666666;
    --bg-page: #ffffff;
    --white: #ffffff;
    --border-color: #e6e6e6;
    --footer-bg: #2b2b2d;
    --footer-text: #d6d6d6;

    --font-main: 'Be Vietnam Pro', sans-serif;
    --transition: all 0.3s ease;
    --container-max-width: 1225px;
    --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.5;
    background-color: var(--bg-page);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Common elements
   ========================================================================== */
.highlight-line {
    display: block;
    width: 32px;
    height: 2px;
    background-color: var(--primary-color);
    margin-bottom: 12px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    color: #111;
}

.section-title--inline {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    line-height: 1.3;
}
.section-title--inline .highlight-line { margin-bottom: 0; width: 32px; }
.section-title--sm { font-size: 19px; }

.section-desc {
    color: #777;
    font-size: 13px;
    line-height: 1.65;
    width: 486px;
    max-width: 100%;
    padding-bottom: 4px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    height: 38px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    border-radius: 5px;
}
.btn--primary { background-color: var(--primary-color); color: var(--white); }
.btn--primary:hover { background-color: var(--primary-hover); }
.btn--white { background-color: var(--white); color: #111; }
.btn--pill { border-radius: 30px; height: 32px; font-size: 12px; font-weight: 600; padding: 0 20px; }
.btn--white:hover { background-color: #f0f0f0; }
.btn--outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: var(--white);
    height: 37px;
    font-size: 12px;
    padding: 0 18px;
    border-radius: 6px;
}
.btn--outline:hover { background-color: var(--primary-color); color: var(--white); }
.btn i { font-size: 11px; }

/* arrows laid over photographs */
.img-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 15px;
    text-shadow: 0 1px 4px rgba(0,0,0,.35);
    pointer-events: none;
}
.img-arrow--left { left: 12px; }
.img-arrow--right { right: 12px; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    background-color: var(--white);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
}

.header__logo img { height: 42px; width: auto; }

.header__nav { display: flex; margin-left: 38px; margin-right: auto; }
.nav__list { display: flex; gap: 28px; }

.nav__item {
    position: relative;
    height: 66px;
    display: flex;
    align-items: center;
}

.nav__link {
    font-size: 13px;
    font-weight: 500;
    color: #222;
    white-space: nowrap;
}
.nav__link:hover { color: var(--primary-color); }

/* dropdown (same style as footer columns) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 100;
}
.nav__item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: #333;
    font-size: 13px;
    white-space: nowrap;
}
.dropdown-menu a:hover { background-color: #f6f6f6; color: var(--primary-color); }

/* chevrons after the two dropdown labels (drawn in CSS) */
.has-dropdown > .nav__link::after {
    content: '';
    display: inline-block;
    width: 5px; height: 5px;
    border-right: 1.3px solid #333;
    border-bottom: 1.3px solid #333;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 9px;
    transition: transform .3s;
}
.has-dropdown:hover > .nav__link::after { transform: rotate(-135deg) translate(-1px, -1px); border-color: var(--primary-color); }

.header__actions { display: flex; align-items: center; gap: 0; }

.search-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 170px;
    height: 36px;
    background: var(--white);
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 0 12px;
    margin-right: 20px;
}
.search-bar__input {
    border: none; background: transparent; outline: none;
    width: 100%;
    font-family: inherit; font-size: 11px; color: #333;
}
.search-bar__input::placeholder { color: #999; }
.search-bar__icon { color: #aaa; font-size: 12px; }

.language-switch {
    font-size: 11px;
    font-weight: 500;
    color: #333;
    margin-right: 29px;
    white-space: nowrap;
}
.language-switch a { color: #333; }
.language-switch .active { font-weight: 700; }

.header__cta { width: 135px; height: 38px; font-size: 12px; white-space: nowrap; }

.mobile-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-color); margin-left: 15px; }

/* ==========================================================================
   Hero + quick links  (white strip at top)
   ========================================================================== */
.top-area { background: var(--white); padding-top: 2px; padding-bottom: 25px; }

.hero__grid {
    display: grid;
    grid-template-columns: 477fr 303fr;
    gap: 10px;
}

.hero__main {
    display: block;
    aspect-ratio: 477 / 255;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    background: #d9cdbd;
}

/* ---- Main slider ---- */
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.03);
    transition: opacity .8s ease, transform 5s ease, visibility .8s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.hero-slide::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(60,42,28,.62) 0%, rgba(60,42,28,.3) 38%, rgba(60,42,28,0) 65%);
}
.hero-slide__content { position: relative; z-index: 2; padding: 0 35px; color: var(--white); }
.hero-slide__title { font-size: 40px; font-weight: 700; line-height: 1.22; margin-bottom: 14px; color: var(--white); }
.hero-slide__desc { font-size: 17px; font-weight: 400; margin-bottom: 20px; color: #f4efe9; }
.hero-slide__content .btn { height: 32px; font-size: 11px; }

.hero-slider__dots { position: absolute; left: 35px; bottom: 14px; display: flex; gap: 6px; z-index: 3; }
.hero-slider__dot {
    width: 8px; height: 5px; border: none; border-radius: 3px;
    background: rgba(255,255,255,.85); cursor: pointer; padding: 0;
    transition: all .3s;
}
.hero-slider__dot.is-active { background: var(--primary-color); width: 14px; }

/* ---- Side cards: text + image ---- */
.hero__side { display: grid; grid-template-rows: 120fr 124fr; gap: 11px; }
.hero__side-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--radius);
    background: linear-gradient(90deg, #f3f0ec 0%, #ece8e3 100%);
    position: relative;
    overflow: hidden;
    padding: 0 17px 12px;
    transition: box-shadow .3s, transform .3s;
}
.hero__side-item:hover { box-shadow: 0 8px 20px rgba(0,0,0,.12); transform: translateY(-2px); }
.hero__side-text { position: relative; z-index: 2; }
.hero__side-text h2 { font-size: 20px; font-weight: 700; line-height: 1.3; color: #111; margin-bottom: 4px; }
.hero__side-text p { font-size: 11.5px; line-height: 1.5; color: #444; margin-bottom: 8px; }
.hero__side-img {
    position: absolute;
    right: 0; top: 0;
    width: 66%; height: 100%;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
    z-index: 1;
}
.hero__side-item:nth-child(2) .hero__side-img { width: 52%; }
.hero__side-item .img-arrow { z-index: 3; }
.icon-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--primary-color); color: var(--white); font-size: 10px;
    transition: transform .3s;
}
.hero__side-item:hover .icon-link { transform: translateX(4px); }

.quick-links { margin-top: 17px; }

.quick-links__grid {
    display: grid;
    grid-template-columns: 257fr 254fr 258fr;
    gap: 10px;
}

.quick-card {
    display: flex;
    align-items: center;
    height: 60px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    transition: var(--transition);
}
.quick-card:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.09); transform: translateY(-2px); }

.quick-card__figure { flex-shrink: 0; height: 100%; }
.quick-card__figure img { width: 80px; height: 100%; object-fit: cover; }

.quick-card__text { flex: 1; padding-left: 11px; }
.quick-card__text h3 { font-size: 11.5px; font-weight: 700; line-height: 1.4; color: #111; }
.quick-card__text p { font-size: 8.5px; color: #666; line-height: 1.5; margin-top: 3px; }

.quick-card__icon { color: var(--primary-color); font-size: 10px; margin-right: 14px; }
.quick-card:hover .quick-card__icon { transform: translateX(3px); }

/* The design is scaled up on desktop (x1.5) */
@media (min-width: 1100px) {
    .quick-card { height: 90px; border-radius: 6px; }
    .quick-card__figure img { width: 121px; }
    .quick-card__text { padding-left: 17px; }
    .quick-card__text h3 { font-size: 17px; }
    .quick-card__text p { font-size: 12.5px; margin-top: 4px; }
    .quick-card__icon { font-size: 15px; margin-right: 21px; }
    .hero__grid { gap: 15px; }
    .hero__side { gap: 16px; }
    .quick-links { margin-top: 25px; }
    .quick-links__grid { gap: 15px; }
}

/* ==========================================================================
   Ecosystem
   ========================================================================== */
.gray-area { background: #f9f9f9; padding-bottom: 28px; }
.ecosystem { padding-top: 14px; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 26px;
}
.ecosystem .highlight-line { margin-bottom: 9px; }

.ecosystem__row { display: grid; gap: 16px; }
.ecosystem__row--top { grid-template-columns: 403fr 375fr; margin-bottom: 20px; }
.ecosystem__row--bottom { grid-template-columns: 206fr 175fr 189fr 186fr; gap: 16px; }

.eco-card {
    background-color: var(--white);
    border: 1px solid #ececec;
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.eco-card:hover { box-shadow: 0 10px 22px rgba(0,0,0,0.12); transform: translateY(-3px); }

.eco-card__img-wrapper { position: relative; overflow: hidden; }
.eco-card__img-wrapper img { width: 100%; object-fit: cover; transition: transform .5s ease; }
.eco-card:hover .eco-card__img-wrapper img { transform: scale(1.04); }

.ecosystem__row--top .eco-card__img-wrapper img { height: 159px; }
.ecosystem__row--bottom .eco-card__img-wrapper img { aspect-ratio: auto; height: 171px; }

.eco-card__content {
    padding: 0 22px;
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ecosystem__row--top .eco-card__content { height: 66px; }
.eco-card__title { font-size: 16px; font-weight: 700; line-height: 1.3; color: #111; }
.eco-card__desc { font-size: 12px; color: #555; line-height: 1.5; margin-top: 2px; }
.ecosystem__row--bottom .eco-card__content { padding: 0 14px 0 17px; }
.ecosystem__row--bottom .eco-card__title { font-size: 15px; }
.ecosystem__row--bottom .eco-card__desc { font-size: 11px; }
.eco-card__link { color: var(--primary-color); font-size: 12px; }

/* ==========================================================================
   Promo
   ========================================================================== */
.promo-banner { margin-top: 20px; }
.promo-banner__inner {
    position: relative;
    aspect-ratio: 790 / 134;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--white);
}
.promo-banner__content { position: relative; z-index: 2; padding-left: 35px; }
.promo-banner__content h2 { font-size: 26px; font-weight: 700; line-height: 1.25; margin-bottom: 14px; }
.promo-banner__content p { font-size: 13px; line-height: 1.55; margin-bottom: 20px; font-weight: 400; color: #f3ece8; }

/* ==========================================================================
   Highlight products
   ========================================================================== */
.highlight-products { padding-top: 30px; }

.products-grid {
    display: grid;
    grid-template-columns: 400fr 379fr;
    gap: 15px;
    margin-top: 12px;
}

.product-card {
    background-color: var(--white);
    border: 1px solid #ececec;
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
}
.product-card:hover { box-shadow: 0 10px 22px rgba(0,0,0,0.12); transform: translateY(-3px); }
.product-card__img-wrapper { position: relative; overflow: hidden; }
.product-card__img-wrapper img { width: 100%; height: 208px; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__img-wrapper img { transform: scale(1.04); }

.product-card__content {
    padding: 0 22px;
    height: 66px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-card__title { font-size: 17px; font-weight: 700; line-height: 1.3; color: #111; }
.product-card__desc { font-size: 12px; color: #555; margin-top: 2px; }
.product-card__link { font-size: 12px; color: #333; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.product-card__link i { color: var(--primary-color); font-size: 12px; }

/* ==========================================================================
   About
   ========================================================================== */
.about { padding-top: 22px; }

.about__grid {
    display: grid;
    grid-template-columns: 285fr 504fr;
    align-items: start;
}

.about__content { padding-right: 24px; padding-top: 4px; }
.about__subtitle { font-size: 24px; font-weight: 700; line-height: 1.3; margin-top: 22px; margin-bottom: 14px; color: #111; }
.about__desc { color: #555; font-size: 14px; line-height: 1.6; margin-bottom: 16px; }

.about__images { position: relative; margin: 0; }
.about__img-main { width: 100%; border-radius: 6px; aspect-ratio: 504 / 163; object-fit: cover; }

.about__img-float {
    position: absolute;
    top: 8px;
    bottom: 2px;
    left: 59%;
    width: 44%;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 6px;
    padding: 5px 5px 0;
    box-shadow: 0 6px 22px rgba(0,0,0,0.14);
}
.about__img-float img { width: 100%; border-radius: 4px; aspect-ratio: 208 / 89; object-fit: cover; }
.about__float-text {
    flex: 1;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 10px 0 8px;
}
.about__float-text h4 { font-size: 13.5px; font-weight: 700; color: #111; line-height: 1.3; }
.about__float-text p { font-size: 11px; color: #555; margin-top: 2px; }
.about__float-text i { color: var(--primary-color); font-size: 11px; }

/* ==========================================================================
   Clients
   ========================================================================== */
.clients { padding-top: 22px; }

.clients__carousel { display: flex; align-items: center; position: relative; margin-top: 8px; height: 84px; }

.clients__logos {
    flex: 1;
    overflow: hidden;
    --visible: 6;
}
.clients__track { display: flex; transition: transform .6s ease; will-change: transform; }
.client-slot { flex: 0 0 calc(100% / var(--visible)); display: flex; justify-content: center; align-items: center; height: 84px; padding: 0 10px; }
/* Every logo is normalised to the same box and scaled to fit (no cropping) */
.client-slot img {
    width: 140px;
    height: 60px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition);
    mix-blend-mode: multiply;
}
.client-slot img:hover { transform: scale(1.06); }

.carousel-btn { background: transparent; border: none; cursor: pointer; padding: 10px 8px; display: flex; align-items: center; }
.carousel-btn__tri { width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.carousel-btn__tri--left { border-right: 10px solid #c4c4c4; }
.carousel-btn__tri--right { border-left: 10px solid #c4c4c4; }
.carousel-btn:hover .carousel-btn__tri--left { border-right-color: #888; }
.carousel-btn:hover .carousel-btn__tri--right { border-left-color: #888; }

/* ==========================================================================
   Projects
   ========================================================================== */
.projects { padding-top: 14px; padding-bottom: 30px; }

.projects__grid {
    display: grid;
    grid-template-columns: 468fr 311fr;
    gap: 7px;
    margin-top: 14px;
}
.project-card { position: relative; border-radius: 6px; overflow: hidden; display: block; }
.project-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover > img { transform: scale(1.05); }
.project-card--main { aspect-ratio: 468 / 153; }
.projects__side { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; }

.project-card__overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 0 22px 16px 27px;
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 60%;
}
.project-card__overlay h3 { font-size: 16.5px; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.project-card__overlay i { font-size: 14px; }
.project-card--main .project-card__overlay { padding: 0 28px 14px 28px; }
.project-card--main .project-card__overlay h3 { font-size: 17px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background-color: var(--footer-bg); color: var(--white); padding-top: 12px; padding-bottom: 14px; }

.footer__top {
    display: grid;
    grid-template-columns: 229fr 142fr 155fr 176fr 88fr;
    padding-bottom: 14px;
    position: relative;
}
.footer__top::after {
    content: '';
    position: absolute;
    left: 20px; right: 20px; bottom: 0;
    height: 1px;
    background: rgba(255,255,255,0.12);
}

.footer__logo { height: 48px; width: auto; filter: brightness(0) invert(1); margin-bottom: 11px; }
.footer__brand p { color: #e4e4e4; font-size: 12px; line-height: 1.75; margin-bottom: 16px; }
.footer__socials { display: flex; gap: 22px; padding-left: 4px; }
.footer__socials a { color: var(--white); font-size: 17px; display: flex; align-items: center; }
.footer__socials a:hover { color: var(--primary-color); }

.footer__col { padding-top: 9px; }
.footer__col h4 { font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.footer__col ul li { line-height: 1; margin-bottom: 3px; }
.footer__col ul a { color: var(--footer-text); font-size: 12px; font-weight: 400; display: inline-block; line-height: 1.45; }
.footer__col ul a:hover { color: var(--white); }

.footer__bottom-inner {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: #cfcfcf;
    padding-top: 12px;
}
.footer__copy { width: 229fr; flex: 0 0 29%; }
.footer__legal { flex: 1; display: flex; align-items: center; }
.footer__legal a { color: #cfcfcf; }
.footer__legal a:hover { color: var(--white); }
.footer__legal span { margin: 0 14px; color: #888; }

.footer__subscribe { display: flex; height: 36px; }
.footer__subscribe input {
    width: 243px;
    padding: 0 12px;
    border: none; outline: none;
    border-radius: 4px 0 0 4px;
    font-family: inherit; font-size: 11px;
}
.footer__subscribe button {
    width: 98px;
    border: none;
    background: var(--primary-color);
    color: var(--white);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    transition: var(--transition);
}
.footer__subscribe button:hover { background: var(--primary-hover); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .container { padding: 0 16px; }
    .section-title { font-size: 22px; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .nav__list { gap: 20px; }
    .header__nav { margin-left: 20px; }
    .language-switch { margin-right: 14px; }
    .search-bar { width: 140px; margin-right: 14px; }
    .footer__top { grid-template-columns: repeat(3, 1fr); row-gap: 25px; }
    .footer__top::after { left: 16px; right: 16px; }
    .footer__bottom-inner { flex-wrap: wrap; gap: 14px; }
    .footer__copy { flex: 0 0 100%; }
}

@media (max-width: 768px) {
    .header__nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 16px 20px;
        margin: 0;
    }
    .header__nav.active { display: block; }
    .nav__list { flex-direction: column; gap: 0; }
    .nav__item { height: auto; padding: 10px 0; }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 4px 0 0 12px; }
    .nav__item:hover .dropdown-menu { display: block; }
    .header__cta, .language-switch, .search-bar { display: none; }
    .mobile-toggle { display: block; }

    .hero__grid { grid-template-columns: 1fr; }
    .hero__side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
    .hero__side-item { aspect-ratio: 303 / 122; }
    .quick-links__grid { grid-template-columns: 1fr; }
    .ecosystem__row--top, .ecosystem__row--bottom { grid-template-columns: 1fr 1fr; }
    .products-grid, .projects__grid { grid-template-columns: 1fr; }
    .projects__side { grid-template-rows: none; }
    .project-card { aspect-ratio: 311 / 72; }
    .about__grid { grid-template-columns: 1fr; gap: 20px; }
    .about__content { padding-right: 0; }
    .promo-banner__inner { aspect-ratio: auto; min-height: 220px; }
    .promo-banner__content h2 { font-size: 20px; }
    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
    .footer__subscribe { width: 100%; }
    .footer__subscribe input { flex: 1; width: auto; }
}

@media (max-width: 480px) {
    .hero__side, .ecosystem__row--top, .ecosystem__row--bottom { grid-template-columns: 1fr; }
    .clients__logos { --visible: 2; }
    .about__img-float { position: relative; top: 0; left: 0; width: 100%; margin-top: 12px; }
}

@media (max-width: 1100px) { .clients__logos { --visible: 4; } .hero-slide__title { font-size: 28px; } .hero-slide__desc { font-size: 14px; } }
@media (max-width: 768px) {
    .clients__logos { --visible: 3; }
    .hero__main { aspect-ratio: 4 / 3; }
    .hero__side-item { aspect-ratio: 303 / 122; min-height: 140px; }
}
/* ==========================================
   Product Reviews & Forms
   ========================================== */
.rv {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 24px;
}
@media (max-width: 768px) {
    .rv {
        grid-template-columns: 1fr;
    }
}

.rv-sum {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.rv-sum__num {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color, #e3001f);
    margin-bottom: 12px;
}

.rv-stars {
    font-size: 28px;
    color: #ffc107;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.rv-sum__label {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.rv-form {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.rv-form h2 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 24px;
    font-weight: 700;
    color: #222;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.field label b {
    color: var(--primary-color, #e3001f);
}

.field input, .field textarea {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafafa;
}

.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--primary-color, #e3001f);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(227, 0, 31, 0.1);
}

.field textarea {
    min-height: 120px;
    resize: vertical;
}

.star-pick {
    display: inline-flex;
    gap: 4px;
}

.star-pick__star {
    font-size: 32px;
    color: #e0e0e0;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s, transform 0.2s;
}

.star-pick__star:hover,
.star-pick__star.is-hover,
.star-pick__star.is-selected {
    color: #ffc107;
}

.star-pick__star:active {
    transform: scale(0.9);
}

.rv-list {
    margin-bottom: 40px;
}

.rv-list:empty {
    margin-bottom: 0;
}

.rv-item {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    margin-bottom: 20px;
    transition: transform 0.2s;
}

.rv-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-msg {
    margin-top: 16px;
    font-weight: 600;
    display: none;
}
