/* Homepage only. Header, contacts, footer and other pages retain their styles. */
@font-face {
    font-family: 'FC Home Inter';
    src: url('fonts/inter-v20-cyrillic_latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'FC Home Inter';
    src: url('fonts/inter-v20-cyrillic_latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'FC Home Manrope';
    src: url('fonts/manrope-v20-cyrillic_latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
.fc-home .fc-home-intro,
.fc-home .fc-home-section {
    --fc-font-body: 'FC Home Inter', system-ui, sans-serif;
    --fc-font-head: 'FC Home Manrope', system-ui, sans-serif;
    --fc-radius: 10px;
    --fc-shadow: 0 2px 10px rgb(10 42 94 / 4%);
    --fc-shadow-hover: 0 4px 16px rgb(10 42 94 / 8%);
    color: var(--fc-text);
    font-size: 15px;
    line-height: 1.65;
}
.fc-home .fc-home-section { padding: 48px 0 !important; }
.fc-home .fc-home-section .fc-section-title { text-align: left; margin-bottom: 26px !important; }
.fc-home .fc-home-section .fc-section-title h2 { margin: 0; font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 700; }
.fc-home .fc-home-section .fc-section-title::after { display: none; }
.fc-home .fc-home-intro h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.2; font-weight: 700; margin-bottom: 20px; }
.fc-home .fc-home-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fc-gray); margin: 0 0 14px; }
.fc-home .fc-home-intro { background: var(--fc-bg); padding: 40px 0 0; }
.fc-home .fc-home-intro__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.fc-home .fc-home-intro__description { color: #4b5563; margin: 0 0 24px; font-size: 16px; }
.fc-home .fc-home-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fc-home .fc-home-intro__photo,
.fc-home .fc-home-wholesale__photo { margin: 0; overflow: hidden; border-radius: 10px; position: relative; }
.fc-home .fc-home-intro__photo img { width: 100%; height: 390px !important; object-fit: cover; display: block; }
.fc-home .fc-home-intro__photo figcaption { padding: 10px 14px; background: var(--fc-white); color: var(--fc-gray); font-size: 12px; }
.fc-home .fc-home-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; gap: 20px; margin: 32px 0 0; padding: 22px 0; border-top: 1px solid var(--fc-border); }
.fc-home .fc-home-benefits li { display: flex; gap: 8px; align-items: flex-start; color: var(--fc-navy); font-size: 13px; line-height: 1.5; }
.fc-home .fc-home-icon { flex: none; vertical-align: middle; color: var(--fc-navy); }
.fc-home .fc-home-benefits .fc-home-icon { width: 18px; height: 18px; margin-top: 1px; color: var(--fc-red-dark); }
.fc-home .fc-home-intro .fc-btn,
.fc-home .fc-home-section .fc-btn,
.fc-home .fc-products .woocommerce ul.products li.product .button {
    border-radius: 7px !important;
    padding: 12px 20px !important;
    min-height: 46px;
    font-size: 14px !important;
    line-height: 1.4;
    font-weight: 700;
    transition: background-color .2s, border-color .2s, color .2s;
    white-space: normal;
    max-width: 100%;
}
.fc-home .fc-home-intro .fc-btn--accent,
.fc-home .fc-home-wholesale .fc-btn--accent { background: var(--fc-red-dark); }
.fc-home .fc-home-intro .fc-btn--accent:hover,
.fc-home .fc-home-wholesale .fc-btn--accent:hover { background: #a5222e; }
.fc-home .fc-home-intro .fc-btn:hover,
.fc-home .fc-home-section .fc-btn:hover { transform: none; box-shadow: none; }
.fc-home .fc-home-intro :is(a, button, input, select, textarea):focus-visible,
.fc-home .fc-home-section :is(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--fc-red-dark); outline-offset: 4px; }
.fc-home .fc-home-wholesale :is(a, button):focus-visible { outline-color: white; }
.fc-home .fc-home-section .fc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fc-home .fc-advantages { background: var(--fc-white); }
.fc-home .fc-advantage { padding: 22px 20px; border: 1px solid var(--fc-border); border-radius: var(--fc-radius); background: var(--fc-white); }
.fc-home .fc-home-icon-box { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: var(--fc-bg); border-radius: 8px; margin-bottom: 16px; }
.fc-home .fc-advantage__title { font-size: 16px; line-height: 1.4; font-weight: 700; }
.fc-home .fc-advantage__text { font-size: 14px; color: #4b5563; }
.fc-home .fc-home-wholesale { background: var(--fc-navy); color: white; }
.fc-home .fc-home-wholesale__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; }
.fc-home .fc-home-wholesale h2 { color: white; font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 700; }
.fc-home .fc-home-wholesale .fc-home-eyebrow { color: #c7d5e8; }
.fc-home .fc-home-wholesale p { color: #e1e8f1; }
.fc-home .fc-home-wholesale__photo img { display: block; width: 100%; height: 360px !important; object-fit: cover; }
.fc-home .fc-home-wholesale__photo figcaption { padding: 10px 0 0; color: #c7d5e8; font-size: 12px; }
.fc-home .fc-home-list { margin: 18px 0 24px; padding-left: 20px; }
.fc-home .fc-home-list li { margin: 0 0 6px; padding-left: 3px; }
.fc-home .fc-home-list li::marker { color: var(--fc-red); }
.fc-home .fc-products { background: var(--fc-bg); }
.fc-home .fc-products .woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 18px !important; align-items: stretch; }
.fc-home .fc-products .woocommerce ul.products li.product { border: 1px solid var(--fc-border); min-width: 0; border-radius: 10px !important; }
.fc-home .fc-products .woocommerce ul.products li.product:hover { transform: none !important; }
.fc-home .fc-products .woocommerce ul.products li.product img { padding: 8px !important; }
.fc-home .fc-products .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 0 !important; padding: 14px 16px 8px !important; }
.fc-home .fc-products .woocommerce ul.products li.product .price { flex-wrap: wrap; gap: 6px; padding: 0 16px 14px !important; font-size: 16px !important; }
.fc-home .fc-products .woocommerce ul.products li.product .price del { color: var(--fc-gray); font-size: 13px; }
.fc-home .fc-products .woocommerce ul.products li.product .price ins { text-decoration: none; }
.fc-home .fc-products .woocommerce ul.products li.product .button { margin: auto 16px 16px !important; width: calc(100% - 32px) !important; }
.fc-home .fc-products .woocommerce ul.products li.product .button:hover { background: var(--fc-navy-dark) !important; transform: none !important; }
.fc-home .fc-products__more { margin-top: 24px; text-align: center; }
.fc-home .fc-tech { background: var(--fc-white); }
.fc-home .fc-home-section .fc-tech__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px; }
.fc-home .fc-tech__item { display: flex; flex-direction: column; border: 1px solid var(--fc-border); }
.fc-home .fc-tech__image img { height: 280px !important; object-fit: cover; }
.fc-home .fc-tech__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.fc-home .fc-tech__body p { color: #4b5563; }
.fc-home .fc-tech__body .fc-btn { align-self: flex-start; margin-top: auto; }
.fc-home .fc-how { background: var(--fc-bg); }
.fc-home .fc-how__step { text-align: left; padding: 16px 12px; }
.fc-home .fc-how__num { width: 36px; height: 36px; border-radius: 8px; font-size: 16px; margin-bottom: 14px; }
.fc-home .fc-home-works { background: white; }
.fc-home .fc-home-works .fc-works__grid { margin-top: 24px; align-items: stretch; }
.fc-home .fc-home-works .fc-work { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--fc-border); }
.fc-home .fc-home-works .fc-work.is-hidden { display: none; }
.fc-home .fc-home-works .fc-work:hover { transform: none; }
.fc-home .fc-home-works .fc-work__image img { height: 240px !important; object-fit: cover; }
.fc-home .fc-home-works .fc-work__body { padding: 18px 20px; }
.fc-home .fc-home-works .fc-works__filters { justify-content: flex-start; margin-bottom: 24px; }
.fc-home .fc-home-works .fc-works__filters button { border-radius: 7px; }
.fc-home .fc-clients { background: var(--fc-bg); }
.fc-home .fc-clients__row { gap: 36px; }
.fc-home .fc-home-form-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.fc-home .fc-home-form-copy h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; }
.fc-home .fc-home-form-copy p { color: #4b5563; }
.fc-home .fc-form.fc-home-section { background: var(--fc-bg); }
.fc-home .fc-form__box { padding: 26px; border: 1px solid var(--fc-border); border-radius: 10px; background: white; min-width: 0; }
.fc-home .fc-form__box label { display: block; color: var(--fc-navy); font-size: 14px; }
.fc-home .fc-form__box :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]), select, textarea) { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; border: 1px solid var(--fc-border); border-radius: 7px; background: white; color: var(--fc-text); font-size: 16px; padding: 11px 12px; margin: 6px 0 0; }
.fc-home .fc-form__box textarea { min-height: 110px; resize: vertical; }
.fc-home .fc-form__box input[type=file] { font-size: 13px !important; overflow: hidden; }
.fc-home .fc-form__box input[type=submit] { width: 100%; min-height: 48px; padding: 12px 18px; border: 0; border-radius: 7px; background: var(--fc-red-dark); color: white; font-size: 15px; font-weight: 600; white-space: normal; cursor: pointer; }
.fc-home .fc-form__box input[type=submit]:hover { background: #a5222e; }
.fc-home .fc-form__box input[type=submit]:disabled { opacity: .6; cursor: wait; }
.fc-home .fc-home-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fc-home .fc-home-fields > p { margin: 0; min-width: 0; }
.fc-home .fc-home-field-wide { grid-column: 1 / -1; }
.fc-home .fc-form__box .wpcf7-list-item { margin-left: 0; }
.fc-home .fc-form__box .wpcf7-response-output { margin: 16px 0 0; padding: 12px; font-size: 14px; }
.fc-home .fc-home-section .fc-animate { opacity: 1; transform: none; transition: none; }
/* Preserve contact layout; keep it aligned with the original alternating background. */
.fc-home .fc-contacts { background: transparent; }
#fc-form { scroll-margin-top: var(--fc-home-scroll-offset, 190px); }
@media (max-width: 1024px) {
    .fc-home .fc-home-intro__grid { gap: 24px; }
    .fc-home .fc-home-intro__photo img { height: 360px !important; }
    .fc-home .fc-home-section .fc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .fc-home .fc-products .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .fc-home .fc-home-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fc-home .fc-home-form-layout { gap: 28px; }
}
@media (max-width: 768px) {
    .fc-home .fc-home-section { padding: 34px 0 !important; }
    .fc-home .fc-home-intro { padding-top: 28px; }
    .fc-home .fc-home-intro__grid,
    .fc-home .fc-home-wholesale__grid,
    .fc-home .fc-home-form-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .fc-home .fc-home-intro__photo img { height: 260px !important; }
    .fc-home .fc-home-wholesale__photo img { height: 260px !important; }
    .fc-home .fc-home-section .fc-tech__grid { grid-template-columns: minmax(0, 1fr) !important; }
    .fc-home .fc-how__steps { gap: 8px; }
    .fc-home .fc-home-benefits { gap: 16px; margin-top: 24px; }
    .fc-home .fc-form__box { padding: 20px; }
    .fc-home .fc-home-fields { grid-template-columns: minmax(0, 1fr); }
    .fc-home .fc-home-actions .fc-btn { flex: 1 1 200px; }
    .fc-home .fc-home-section .fc-section-title { margin-bottom: 22px !important; }
    #fc-form { scroll-margin-top: var(--fc-home-scroll-offset, 110px); }
}
@media (max-width: 540px) {
    .fc-home .fc-home-section .fc-grid--4,
    .fc-home .fc-products .woocommerce ul.products { grid-template-columns: minmax(0, 1fr) !important; }
    .fc-home .fc-home-benefits { grid-template-columns: minmax(0, 1fr); }
    .fc-home .fc-home-wholesale .fc-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .fc-home .fc-home-section *, .fc-home .fc-home-intro * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Compact the existing live CF7 markup as well as the proposed new field grid. */
.fc-home .fc-form__box .fc-cf7 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}
.fc-home .fc-form__box .fc-cf7__row { min-width: 0; margin: 0; }
.fc-home .fc-form__box .fc-cf7__row:nth-child(n + 3),
.fc-home .fc-form__box .fc-cf7__policy { grid-column: 1 / -1; }
.fc-home .fc-form__box .fc-cf7__row p { margin: 0; }
.fc-home .fc-form__box .fc-cf7__policy { margin: 0; font-size: 12px; line-height: 1.5; }
.fc-home .fc-form__box .fc-cf7__policy a { color: var(--fc-red-dark); text-decoration: underline !important; }
.fc-home .fc-form__box textarea { height: 110px !important; min-height: 110px !important; }
.fc-home .fc-form__box .wpcf7-submit { display: block; width: 100% !important; margin: 0; }
.fc-home .fc-form__box .wpcf7-spinner { display: block; margin: 6px auto 0; }
.fc-home .fc-form__box .wpcf7-not-valid-tip { font-size: 12px; }
@media (max-width: 768px) {
    .fc-home .fc-form__box .fc-cf7 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* Company photo fills the hero frame on desktop and mobile. */
.fc-home .fc-home-intro__photo { background: #fff; }
.fc-home .fc-home-intro__photo img { object-fit: cover; object-position: center 42%; }
