/* ==========================================================================
   FERRODEI
   GLOBAL STYLESHEET
   Consolidated version
   ========================================================================== */


/* ==========================================================================
   01. VARIABLES
   ========================================================================== */

:root {
    --violet: #330456;
    --violet-deep: #21012F;
    --violet-mid: #54206F;
    --violet-reflection: #70418A;

    --black-soft: #16181B;
    --graphite: #4E5257;

    --steel: #858A90;
    --steel-light: #D1D4D6;

    --background: #F6F6F7;
    --surface: #FFFFFF;
    --border: #D9DBDE;

    --text-primary: #16181B;
    --text-secondary: #4E5257;
    --text-muted: #858A90;

    --primary: #330456;
    --metallic-gray: #858A90;

    --container-width: 1320px;
    --header-height: 78px;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-soft:
        0 18px 50px rgba(22, 24, 27, 0.06);

    --shadow-medium:
        0 28px 70px rgba(22, 24, 27, 0.11);

    --shadow-violet:
        0 20px 50px rgba(51, 4, 86, 0.18);

    --transition:
        180ms ease;

    --transition-slow:
        420ms cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


/* ==========================================================================
   02. RESET
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;

    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;

    margin: 0;

    display: flex;
    flex-direction: column;

    overflow-x: hidden;

    background: var(--background);

    color: var(--text-primary);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;
    line-height: 1.5;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg,
video {
    display: block;

    max-width: 100%;
}

a {
    color: inherit;

    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

button:not(:disabled) {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
}

[hidden] {
    display: none !important;
}

::selection {
    background: var(--violet);
    color: #FFFFFF;
}


/* ==========================================================================
   03. ACCESSIBILITY
   ========================================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline:
        2px solid
        var(--violet-reflection);

    outline-offset: 3px;
}


/* ==========================================================================
   04. TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;

    color: var(--text-primary);

    font-weight: 600;

    line-height: 1.06;

    letter-spacing: -0.035em;
}

h1 {
    font-size:
        clamp(
            48px,
            6vw,
            88px
        );
}

h2 {
    font-size:
        clamp(
            34px,
            3.8vw,
            56px
        );
}

h3 {
    font-size:
        clamp(
            20px,
            1.8vw,
            27px
        );
}

p {
    margin-top: 0;

    color: var(--text-secondary);
}

.section-eyebrow,
.home-hero__eyebrow {
    margin-bottom: 16px;

    color: var(--violet);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}

.section-eyebrow--light {
    color: rgba(255, 255, 255, 0.74);
}


/* ==========================================================================
   05. GLOBAL BUTTONS
   ========================================================================== */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 22px;

    border:
        1px solid transparent;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    transition:
        transform var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.button:active {
    transform: scale(0.98);
}

.button--primary {
    background: var(--violet);

    color: #FFFFFF;
}

.button--primary:hover {
    background: var(--violet-mid);
}

.button--secondary {
    border-color: var(--border);

    background: transparent;

    color: var(--text-primary);
}

.button--secondary:hover {
    background: var(--surface);
}


/* ==========================================================================
   06. TEXT LINK
   ========================================================================== */

.text-link {
    position: relative;

    display: inline-flex;

    padding-bottom: 4px;

    color: var(--violet);

    font-size: 14px;
    font-weight: 600;
}

.text-link::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: var(--violet);

    transform: scaleX(0.35);

    transform-origin: left;

    transition:
        transform var(--transition-slow);
}

.text-link:hover::after {
    transform: scaleX(1);
}


/* ==========================================================================
   07. HEADER
   ========================================================================== */

.site-header {
    position: relative;

    z-index: 1000;

    width: 100%;

    background:
        rgba(255, 255, 255, 0.95);

    border-bottom:
        1px solid
        rgba(217, 219, 222, 0.90);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-header__inner {
    position: relative;

    width:
        min(
            calc(100% - 40px),
            var(--container-width)
        );

    height: var(--header-height);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr);

    align-items: center;

    column-gap: 52px;
}


/* ==========================================================================
   08. BRAND
   ========================================================================== */

.site-brand {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 0;

    margin: 0;

    transition:
        opacity var(--transition),
        transform var(--transition);
}

.site-brand:hover {
    opacity: 0.82;
}

.site-brand:active {
    transform: scale(0.98);
}

.site-brand--center {
    grid-column: 2;

    justify-self: center;
}

.site-brand__symbol {
    display: block;

    width: auto;
    height: auto;

    max-width: 38px;
    max-height: 44px;

    object-fit: contain;
}


/* ==========================================================================
   09. DESKTOP NAV
   ========================================================================== */

.site-nav--desktop {
    display: flex;

    align-items: center;

    gap: 2px;

    min-width: 0;
}

.site-nav--left {
    grid-column: 1;

    justify-self: end;
    justify-content: flex-end;
}

.site-nav--right {
    grid-column: 3;

    justify-self: start;
    justify-content: flex-start;
}

.site-nav__link {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 0 12px;

    border-radius: 999px;

    color: var(--text-secondary);

    font-size: 13px;
    font-weight: 500;

    white-space: nowrap;

    transition:
        background-color var(--transition),
        color var(--transition);
}

.site-nav__link:hover {
    color: var(--violet);

    background:
        rgba(51, 4, 86, 0.06);
}

.site-nav__link.is-active {
    color: var(--violet);

    background:
        rgba(51, 4, 86, 0.09);
}

.site-nav__cta {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 42px;

    margin-left: 8px;

    padding: 0 19px;

    border-radius: 999px;

    background: var(--violet);

    color: #FFFFFF;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;

    box-shadow:
        0 10px 26px
        rgba(51, 4, 86, 0.16);

    transition:
        background-color var(--transition),
        transform var(--transition);
}

.site-nav__cta:hover {
    background: var(--violet-mid);
}

.site-nav__cta:active {
    transform: scale(0.97);
}


/* ==========================================================================
   10. MOBILE MENU
   ========================================================================== */

.menu-toggle {
    display: none;

    position: relative;

    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    padding: 0;
    margin: 0;

    border:
        1px solid
        var(--border);

    border-radius: 50%;

    background: var(--surface);
}

.menu-toggle__line {
    position: absolute;

    left: 50%;

    width: 18px;
    height: 2px;

    margin-left: -9px;

    border-radius: 999px;

    background: var(--violet);

    transition:
        transform var(--transition-slow),
        opacity var(--transition);
}

.menu-toggle__line:nth-child(1) {
    top: 14px;
}

.menu-toggle__line:nth-child(2) {
    top: 20px;
}

.menu-toggle__line:nth-child(3) {
    top: 26px;
}

.menu-toggle.is-open
.menu-toggle__line:nth-child(1) {
    top: 20px;

    transform: rotate(45deg);
}

.menu-toggle.is-open
.menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open
.menu-toggle__line:nth-child(3) {
    top: 20px;

    transform: rotate(-45deg);
}

.mobile-navigation {
    display: none;
}

.mobile-navigation[hidden] {
    display: none !important;
}

.mobile-navigation__inner {
    width: 100%;

    display: flex;
    flex-direction: column;
}

.mobile-navigation__link {
    width: 100%;

    min-height: 52px;

    display: flex;
    align-items: center;

    padding: 0 16px;

    border-radius: var(--radius-sm);

    color: var(--text-secondary);

    font-size: 15px;
}

.mobile-navigation__link:hover,
.mobile-navigation__link.is-active {
    color: var(--violet);

    background:
        rgba(51, 4, 86, 0.07);
}

.mobile-navigation__cta {
    width: 100%;

    min-height: 52px;

    margin-top: 8px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: var(--radius-sm);

    background: var(--violet);

    color: #FFFFFF;

    font-weight: 600;
}


/* ==========================================================================
   11. MAIN / CONTAINER
   ========================================================================== */

.site-main {
    width: 100%;

    flex: 1;
}

.site-main > section {
    width:
        min(
            calc(100% - 40px),
            var(--container-width)
        );

    margin: 0 auto;
}


/* ==========================================================================
   12. HOME HERO
   ========================================================================== */

.home-hero {
    padding: 28px 0 50px;
}

.home-hero__banner {
    position: relative;

    width: 100%;

    height:
        clamp(
            470px,
            60vh,
            610px
        );

    min-height: 470px;

    overflow: hidden;

    border-radius: var(--radius-xl);

    background: var(--black-soft);

    box-shadow: var(--shadow-medium);
}

.home-hero__image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.01);

    transition:
        transform 1.1s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}

.home-hero__banner:hover
.home-hero__image {
    transform: scale(1.035);
}

.home-hero__overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(20, 12, 25, 0.86) 0%,
            rgba(33, 1, 47, 0.73) 25%,
            rgba(33, 1, 47, 0.35) 52%,
            rgba(22, 24, 27, 0.08) 78%,
            rgba(22, 24, 27, 0.12) 100%
        );
}

.home-hero__content {
    position: absolute;

    z-index: 3;

    top: 50%;

    left:
        clamp(
            34px,
            5vw,
            72px
        );

    width:
        min(
            640px,
            calc(100% - 70px)
        );

    transform: translateY(-50%);
}

.home-hero__eyebrow {
    color:
        rgba(255, 255, 255, 0.76);
}

.home-hero__title {
    max-width: 660px;

    margin-bottom: 22px;

    color: #FFFFFF;

    font-size:
        clamp(
            48px,
            5.6vw,
            82px
        );
}

.home-hero__title span {
    display: block;

    color: #FFFFFF;
}

.home-hero__description {
    max-width: 500px;

    margin-bottom: 30px;

    color:
        rgba(255, 255, 255, 0.82);

    font-size:
        clamp(
            17px,
            1.4vw,
            20px
        );

    line-height: 1.6;
}

.home-hero__actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

.button--hero-primary {
    background: #FFFFFF;

    color: var(--violet);
}

.button--hero-primary:hover {
    background: var(--steel-light);
}

.button--hero-secondary {
    border-color:
        rgba(255, 255, 255, 0.45);

    background:
        rgba(255, 255, 255, 0.07);

    color: #FFFFFF;

    backdrop-filter: blur(10px);
}

.button--hero-secondary:hover {
    background:
        rgba(255, 255, 255, 0.14);
}

.home-hero__signature {
    position: absolute;

    z-index: 3;

    right: 32px;
    bottom: 26px;

    display: flex;

    align-items: center;

    gap: 10px;

    color:
        rgba(255, 255, 255, 0.78);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.15em;
}

.home-hero__signature-line {
    width: 26px;
    height: 1px;

    background:
        rgba(255, 255, 255, 0.65);
}


/* ==========================================================================
   13. HOME INTRO
   ========================================================================== */

.home-intro {
    padding: 100px 0;

    border-bottom:
        1px solid
        var(--border);
}

.home-intro__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(280px, 0.85fr);

    gap:
        clamp(
            50px,
            8vw,
            120px
        );

    align-items: end;
}

.home-intro__heading h2 {
    max-width: 760px;

    margin-bottom: 0;
}

.home-intro__heading h2 span {
    color: var(--violet);
}

.home-intro__content {
    max-width: 500px;
}

.home-intro__content p {
    margin-bottom: 26px;

    font-size:
        clamp(
            17px,
            1.4vw,
            19px
        );

    line-height: 1.7;
}


/* ==========================================================================
   14. SECTION HEADINGS
   ========================================================================== */

.section-heading {
    max-width: 780px;

    margin-bottom: 48px;
}

.section-heading--split {
    max-width: none;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;
}

.section-heading--split > div {
    max-width: 760px;
}

.section-heading h2 {
    margin-bottom: 0;
}


/* ==========================================================================
   15. HOME PRODUCTS
   ========================================================================== */

.home-products {
    padding: 92px 0 105px;
}

.home-products__grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 16px;
}

.home-product-card {
    min-width: 0;
}

.home-product-card__media {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    border-radius: var(--radius-md);

    background: var(--steel-light);
}

.home-product-card__media img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform var(--transition-slow);
}

.home-product-card:hover
.home-product-card__media img {
    transform: scale(1.05);
}

.home-product-card__content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding: 14px 3px 0;
}

.home-product-card__content span {
    color: var(--violet);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.home-product-card h3 {
    margin: 0;

    font-size: 20px;
}


/* ==========================================================================
   16. HOME VALUES
   ========================================================================== */

.home-values {
    padding: 95px 0 105px;

    border-top:
        1px solid
        var(--border);
}

.value-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);
}

.value-card {
    position: relative;

    min-width: 0;

    padding: 30px 25px 34px;

    overflow: hidden;

    border-right:
        1px solid
        var(--border);

    transition:
        background-color var(--transition-slow),
        transform var(--transition-slow);
}

.value-card:last-child {
    border-right: 0;
}

.value-card::before {
    content: '';

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--violet),
            var(--violet-reflection)
        );

    transform: scaleX(0);

    transform-origin: left;

    transition:
        transform var(--transition-slow);
}

.value-card:hover {
    background: var(--surface);

    transform: translateY(-2px);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card__number {
    display: block;

    margin-bottom: 46px;

    color: var(--violet);

    font-size: 11px;
    font-weight: 700;
}

.value-card h3 {
    margin-bottom: 14px;

    font-size: 22px;
}

.value-card__lead {
    margin-bottom: 8px;

    color: var(--text-primary);

    font-weight: 600;
}

.value-card > p:last-child {
    margin-bottom: 0;

    font-size: 14px;

    line-height: 1.6;
}


/* ==========================================================================
   17. HOME QUALITY
   ========================================================================== */

.home-quality {
    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    max-height: 440px;

    margin-bottom:
        100px !important;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: var(--radius-xl);

    background: var(--surface);

    box-shadow: var(--shadow-soft);
}

.home-quality__media {
    position: relative;

    height: 440px;

    overflow: hidden;

    background: var(--steel-light);
}

.home-quality__media img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.home-quality__content {
    display: flex;

    flex-direction: column;
    justify-content: center;

    padding:
        clamp(
            38px,
            5vw,
            68px
        );
}

.home-quality__content h2 {
    margin-bottom: 22px;
}

.home-quality__content
> p:not(.section-eyebrow) {
    max-width: 470px;

    margin-bottom: 26px;

    font-size: 17px;

    line-height: 1.65;
}


/* ==========================================================================
   18. HOME CTA
   ========================================================================== */

.home-cta {
    margin-bottom:
        90px !important;

    overflow: hidden;

    border-radius: var(--radius-xl);

    background:
        linear-gradient(
            135deg,
            var(--violet-deep),
            var(--violet) 55%,
            var(--violet-mid)
        );

    box-shadow: var(--shadow-violet);
}

.home-cta__inner {
    position: relative;

    min-height: 320px;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    padding:
        clamp(
            40px,
            5vw,
            68px
        );
}

.home-cta__inner::before {
    content: '';

    position: absolute;

    width: 380px;
    height: 380px;

    right: -100px;
    top: -190px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.07);
}

.home-cta .section-eyebrow {
    position: relative;

    color: var(--steel-light);
}

.home-cta h2 {
    position: relative;

    max-width: 700px;

    margin-bottom: 0;

    color: #FFFFFF;
}

.home-cta__actions {
    position: relative;

    z-index: 2;

    flex: 0 0 auto;

    display: flex;

    flex-direction: column;

    gap: 9px;
}

.home-cta
.button--primary {
    background: #FFFFFF;

    color: var(--violet);
}

.home-cta
.button--secondary {
    border-color:
        rgba(255, 255, 255, 0.30);

    color: #FFFFFF;
}


/* ==========================================================================
   19. INTERNAL HERO
   ========================================================================== */

.inner-hero {
    padding: 28px 0 70px;
}

.inner-hero__media {
    position: relative;

    height:
        clamp(
            420px,
            52vh,
            560px
        );

    overflow: hidden;

    border-radius: var(--radius-xl);

    background: var(--black-soft);
}

.inner-hero__media img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.inner-hero__overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(33, 1, 47, 0.88),
            rgba(33, 1, 47, 0.50) 48%,
            rgba(22, 24, 27, 0.10)
        );
}

.inner-hero__content {
    position: absolute;

    z-index: 2;

    left:
        clamp(
            32px,
            5vw,
            70px
        );

    bottom:
        clamp(
            38px,
            6vw,
            72px
        );

    max-width: 680px;
}

.inner-hero__content h1 {
    margin-bottom: 22px;

    color: #FFFFFF;

    font-size:
        clamp(
            46px,
            5.5vw,
            78px
        );
}

.inner-hero__content h1 span {
    display: block;
}

.inner-hero__content > p:last-child {
    max-width: 520px;

    margin-bottom: 0;

    color:
        rgba(255, 255, 255, 0.80);

    font-size: 18px;
}


/* ==========================================================================
   20. PAGE HEADING
   ========================================================================== */

.page-heading {
    padding: 90px 0 70px;
}

.page-heading h1 {
    max-width: 950px;

    margin-bottom: 26px;
}

.page-heading h1 span {
    display: block;

    color: var(--violet);
}

.page-heading > p:last-child {
    max-width: 600px;

    margin-bottom: 0;

    font-size: 19px;

    line-height: 1.7;
}


/* ==========================================================================
   21. ABOUT LEGACY
   ========================================================================== */

.about-intro {
    display: grid;

    grid-template-columns:
        1.1fr
        0.9fr;

    gap:
        clamp(
            50px,
            8vw,
            120px
        );

    padding: 70px 0 100px;
}

.about-intro__heading h2 {
    max-width: 720px;

    margin-bottom: 0;
}

.about-intro__text {
    max-width: 520px;
}

.about-intro__text p {
    font-size: 18px;

    line-height: 1.7;
}

.about-pillars {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    padding-bottom: 100px;
}

.about-pillar {
    padding: 30px 25px;

    border-top:
        1px solid
        var(--border);

    border-right:
        1px solid
        var(--border);
}

.about-pillar:last-child {
    border-right: 0;
}

.about-pillar > span {
    display: block;

    margin-bottom: 40px;

    color: var(--violet);

    font-size: 11px;
    font-weight: 700;
}

.about-pillar h3 {
    margin-bottom: 14px;
}

.about-pillar p {
    margin-bottom: 0;

    font-size: 14px;

    line-height: 1.6;
}

.about-mission {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 18px;

    padding-bottom: 100px;
}

.about-mission__block {
    padding:
        clamp(
            34px,
            5vw,
            60px
        );

    border:
        1px solid
        var(--border);

    border-radius: var(--radius-lg);

    background: var(--surface);
}

.about-mission__block h2 {
    font-size:
        clamp(
            30px,
            3.2vw,
            46px
        );
}

.about-mission__block > p:last-child {
    margin-bottom: 0;

    line-height: 1.7;
}


/* ==========================================================================
   22. ABOUT CURRENT / COMPACT
   ========================================================================== */

.page-about .site-main {
    overflow: hidden;
}

.about-page {
    width:
        min(
            calc(100% - 48px),
            var(--container-width)
        );

    margin: 0 auto;

    padding: 64px 0 110px;
}

.about-section-title {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 32px;

    margin-bottom: 28px;
}

.about-section-title h2 {
    margin: 0;

    font-size:
        clamp(
            27px,
            3vw,
            39px
        );

    line-height: 1.05;

    font-weight: 600;

    letter-spacing: -0.035em;

    color: var(--text-primary);
}

.about-summary {
    display: grid;

    grid-template-columns:
        minmax(210px, 0.34fr)
        minmax(0, 1fr);

    gap:
        clamp(
            42px,
            6vw,
            90px
        );

    padding-bottom: 62px;

    border-bottom:
        1px solid
        var(--border);
}

.about-summary__header h1 {
    margin: 13px 0 0;

    font-size:
        clamp(
            34px,
            4vw,
            50px
        );

    line-height: 1;

    font-weight: 600;

    letter-spacing: -0.045em;

    color: var(--text-primary);
}

.about-summary__content {
    max-width: 850px;
}

.about-summary__lead {
    max-width: 760px;

    margin: 0 0 34px;

    font-size:
        clamp(
            19px,
            2vw,
            24px
        );

    line-height: 1.5;

    letter-spacing: -0.015em;

    color: var(--text-primary);
}

.about-summary__columns {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 42px;
}

.about-summary__columns p {
    margin: 0;

    font-size: 15px;

    line-height: 1.7;

    color: var(--text-secondary);
}

.about-purpose {
    padding: 64px 0;

    border-bottom:
        1px solid
        var(--border);
}

.about-purpose__grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 16px;
}

.about-purpose-card {
    padding: 30px 32px;

    border:
        1px solid
        var(--border);

    border-radius: 14px;

    background: #FFFFFF;
}

.about-purpose-card__top {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-bottom: 22px;
}

.about-purpose-card__top span {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    border-radius: 50%;

    background:
        rgba(51, 4, 86, 0.07);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.08em;

    color: var(--violet);
}

.about-purpose-card h3 {
    margin: 0;

    font-size: 24px;

    line-height: 1.1;

    font-weight: 600;

    letter-spacing: -0.025em;

    color: var(--text-primary);
}

.about-purpose-card > p {
    max-width: 580px;

    margin: 0;

    font-size: 14px;

    line-height: 1.72;

    color: var(--text-secondary);
}

.about-values-compact {
    padding-top: 64px;
}

.about-values-compact__grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 12px;
}

.about-value-card {
    appearance: none;

    position: relative;

    width: 100%;
    min-width: 0;
    min-height: 168px;

    display: flex;

    flex-direction: column;

    align-items: stretch;
    justify-content: space-between;

    padding: 22px;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    background: #FFFFFF;

    text-align: left;

    transition:
        border-color 180ms ease,
        transform 180ms ease,
        background 180ms ease;
}

.about-value-card__number {
    display: block;

    margin-bottom: 36px;

    font-size: 9px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: 0.12em;

    color: var(--violet);
}

.about-value-card h3 {
    max-width: 220px;

    margin: 0 0 8px;

    font-size: 18px;

    line-height: 1.15;

    font-weight: 600;

    letter-spacing: -0.025em;

    color: var(--text-primary);
}

.about-value-card__action {
    display: block;

    font-size: 11px;

    color: var(--text-secondary);
}

.about-value-card__arrow {
    position: absolute;

    top: 18px;
    right: 18px;

    font-size: 16px;

    color: var(--metallic-gray);
}

@media (hover: hover) and (pointer: fine) {

    .about-value-card:hover {
        transform: translateY(-3px);

        border-color:
            rgba(51, 4, 86, 0.34);

        background: #FBF9FC;
    }
}


/* ==========================================================================
   23. ABOUT MODAL
   ========================================================================== */

.about-modal {
    position: fixed;

    inset: 0;

    z-index: 99990;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 24px;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 180ms ease,
        visibility 180ms ease;
}

.about-modal.is-open {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}

.about-modal__backdrop {
    position: absolute;

    inset: 0;

    background:
        rgba(15, 15, 17, 0.56);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.about-modal__dialog {
    position: relative;

    z-index: 2;

    width:
        min(
            100%,
            520px
        );

    padding: 38px;

    border-radius: 18px;

    background: #FFFFFF;

    box-shadow:
        0 24px 80px
        rgba(0, 0, 0, 0.18);
}

.about-modal__close {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    padding: 0;

    border:
        1px solid
        var(--border);

    border-radius: 50%;

    background: #FFFFFF;

    font-size: 24px;

    line-height: 1;

    color: var(--text-primary);
}

.about-modal__number {
    display: inline-block;

    margin-bottom: 28px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.14em;

    color: var(--violet);
}

.about-modal__dialog h2 {
    max-width: 390px;

    margin: 0 0 20px;

    font-size:
        clamp(
            28px,
            4vw,
            38px
        );

    line-height: 1.05;

    font-weight: 600;

    letter-spacing: -0.035em;

    color: var(--text-primary);
}

.about-modal__dialog p {
    margin: 0;

    font-size: 16px;

    line-height: 1.72;

    color: var(--text-secondary);
}

body.about-modal-open {
    overflow: hidden;
}


/* ==========================================================================
   24. SERVICES
   ========================================================================== */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 16px;

    padding-bottom: 90px;
}

.service-card {
    min-height: 300px;

    padding:
        clamp(
            30px,
            4vw,
            48px
        );

    border:
        1px solid
        var(--border);

    border-radius: var(--radius-lg);

    background: var(--surface);

    transition:
        transform var(--transition-slow),
        box-shadow var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-3px);

    box-shadow: var(--shadow-soft);
}

.service-card__number {
    display: block;

    margin-bottom: 52px;

    color: var(--violet);

    font-size: 11px;

    font-weight: 700;
}

.service-card h2 {
    margin-bottom: 18px;

    font-size:
        clamp(
            27px,
            3vw,
            40px
        );
}

.service-card p {
    max-width: 480px;

    margin-bottom: 0;

    line-height: 1.7;
}

.services-feature,
.projects-feature {
    display: grid;

    grid-template-columns:
        1.1fr
        0.9fr;

    gap: 70px;

    align-items: end;

    padding: 80px 0;

    margin-bottom:
        90px !important;

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);
}

.services-feature h2,
.projects-feature h2 {
    max-width: 700px;

    margin-bottom: 0;
}

.services-feature > div:last-child,
.projects-feature > div:last-child {
    max-width: 500px;
}

.services-feature > div:last-child p,
.projects-feature > div:last-child p {
    margin-bottom: 26px;

    font-size: 18px;

    line-height: 1.7;
}


/* ==========================================================================
   25. PROJECTS
   ========================================================================== */

.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    padding-bottom: 100px;
}

.project-card {
    min-height: 300px;

    padding: 32px 26px;

    border-top:
        1px solid
        var(--border);

    border-right:
        1px solid
        var(--border);

    transition:
        background-color var(--transition-slow),
        transform var(--transition-slow);
}

.project-card:last-child {
    border-right: 0;
}

.project-card:hover {
    background: var(--surface);

    transform: translateY(-2px);
}

.project-card > span {
    display: block;

    margin-bottom: 70px;

    color: var(--violet);

    font-size: 11px;

    font-weight: 700;
}

.project-card h2 {
    margin-bottom: 16px;

    font-size:
        clamp(
            27px,
            3vw,
            38px
        );
}

.project-card p {
    margin-bottom: 0;

    line-height: 1.65;
}


/* ==========================================================================
   26. FORMS
   ========================================================================== */

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 16px;
}

.form-field {
    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-bottom: 18px;
}

.form-field label {
    color: var(--text-primary);

    font-size: 12px;

    font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    outline: none;

    background: #FFFFFF;

    color: var(--text-primary);

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.form-field input {
    min-height: 52px;

    padding: 0 16px;
}

.form-field textarea {
    resize: vertical;

    padding: 15px 16px;

    line-height: 1.6;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color:
        rgba(51, 4, 86, 0.58);

    box-shadow:
        0 0 0 4px
        rgba(51, 4, 86, 0.06);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #9A9DA1;
}


/* ==========================================================================
   27. CONTACT
   ========================================================================== */

.contact-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    gap: 18px;

    align-items: stretch;

    padding-bottom: 90px;
}

.contact-panel,
.contact-form-card {
    border:
        1px solid
        var(--border);

    border-radius: var(--radius-lg);

    background: var(--surface);
}

.contact-panel {
    padding:
        clamp(
            34px,
            5vw,
            58px
        );
}

.contact-panel h2 {
    margin-bottom: 22px;

    font-size:
        clamp(
            32px,
            3.5vw,
            48px
        );
}

.contact-panel
> p:not(.section-eyebrow) {
    max-width: 500px;

    margin-bottom: 45px;

    font-size: 17px;

    line-height: 1.7;
}

.contact-info {
    display: flex;

    flex-direction: column;

    border-top:
        1px solid
        var(--border);
}

.contact-info__item {
    display: grid;

    grid-template-columns:
        36px
        minmax(0, 1fr);

    gap: 14px;

    align-items: start;

    padding: 21px 0;

    border-bottom:
        1px solid
        var(--border);
}

.contact-info__item > span {
    color: var(--violet);

    font-size: 10px;

    font-weight: 700;
}

.contact-info__item div {
    display: flex;

    flex-direction: column;

    gap: 4px;
}

.contact-info__item small {
    color: var(--text-muted);

    font-size: 11px;
}

.contact-info__item strong {
    color: var(--text-primary);

    font-size: 15px;

    font-weight: 600;

    word-break: break-word;
}

.contact-form-card {
    padding:
        clamp(
            34px,
            5vw,
            58px
        );
}

.contact-form .button {
    margin-top: 4px;
}

.contact-quote {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 65px 0;

    margin-bottom:
        80px !important;

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);
}

.contact-quote h2 {
    margin-bottom: 0;
}


/* ==========================================================================
   28. QUOTE
   ========================================================================== */

.quote-heading {
    padding-bottom: 55px;
}

.quote-layout {
    display: grid;

    grid-template-columns:
        minmax(300px, 0.8fr)
        minmax(0, 1.2fr);

    gap: 18px;

    align-items: start;

    padding-bottom: 100px;
}

.quote-products,
.quote-form-card {
    border:
        1px solid
        var(--border);

    border-radius: var(--radius-lg);

    background: var(--surface);
}

.quote-products {
    padding: 34px;
}

.quote-product-grid {
    display: grid;

    gap: 10px;
}

.quote-product-option {
    position: relative;

    cursor: pointer;
}

.quote-product-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.quote-product-option__content {
    display: flex;

    flex-direction: column;

    min-height: 132px;

    padding: 20px;

    border:
        1px solid
        var(--border);

    border-radius: 14px;

    background: #FFFFFF;

    transition:
        border-color var(--transition),
        background-color var(--transition),
        transform var(--transition);
}

.quote-product-option:hover
.quote-product-option__content {
    border-color:
        rgba(51, 4, 86, 0.28);

    transform: translateY(-1px);
}

.quote-product-option input:checked
+
.quote-product-option__content {
    border-color: var(--violet);

    background:
        rgba(51, 4, 86, 0.045);
}

.quote-product-option__number {
    margin-bottom: auto;

    color: var(--violet);

    font-size: 10px;

    font-weight: 700;
}

.quote-product-option__content strong {
    margin-bottom: 4px;

    color: var(--text-primary);

    font-size: 20px;
}

.quote-product-option__content small {
    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.5;
}

.quote-form-card {
    padding:
        clamp(
            34px,
            5vw,
            58px
        );
}

.quote-submit {
    margin-top: 4px;
}

.quote-note {
    max-width: 600px;

    margin: 20px 0 0;

    color: var(--text-muted);

    font-size: 12px;

    line-height: 1.6;
}


/* ==========================================================================
   29. PRODUCTS / PUBLIC CATALOG
   ========================================================================== */

.page-products .products-page {
    width:
        min(
            calc(100% - 48px),
            var(--container-width)
        );

    margin: 0 auto;

    padding: 56px 0 110px;
}

.page-products .products-page__top {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    padding-bottom: 30px;

    border-bottom:
        1px solid
        var(--border);
}

.page-products
.products-page__heading {
    min-width: 0;
}

.page-products
.products-page__heading
.section-eyebrow {
    margin-bottom: 10px;
}

.page-products
.products-page__heading h1 {
    margin: 7px 0 0;

    font-size:
        clamp(
            38px,
            4vw,
            52px
        );

    line-height: 1;

    font-weight: 600;

    letter-spacing: -0.045em;

    color: var(--text-primary);
}


/* ==========================================================================
   30. PRODUCTS SEARCH
   ========================================================================== */

.page-products .products-search {
    width:
        min(
            100%,
            380px
        );

    min-height: 46px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 16px;

    border:
        1px solid
        var(--border);

    border-radius: 999px;

    background: #FFFFFF;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.page-products
.products-search:focus-within {
    border-color:
        rgba(51, 4, 86, 0.42);

    box-shadow:
        0 0 0 4px
        rgba(51, 4, 86, 0.05);
}

.page-products
.products-search svg {
    width: 17px;
    height: 17px;

    flex: 0 0 17px;

    fill: none;

    stroke: var(--text-secondary);

    stroke-width: 1.5;
}

.page-products
.products-search input {
    width: 100%;

    min-width: 0;

    height: 44px;

    padding: 0;

    border: 0;

    outline: 0;

    background: transparent;

    font: inherit;

    font-size: 14px;

    color: var(--text-primary);
}

.page-products
.products-search input::placeholder {
    color: var(--metallic-gray);
}


/* ==========================================================================
   31. PRODUCTS LAYOUT / SIDEBAR
   ========================================================================== */

.page-products .products-layout {
    display: grid;

    grid-template-columns:
        185px
        minmax(0, 1fr);

    align-items: start;

    gap:
        clamp(
            38px,
            5vw,
            70px
        );

    padding-top: 34px;
}

.page-products
.products-sidebar {
    position: sticky;

    top:
        calc(
            var(--header-height)
            +
            22px
        );

    display: flex;

    flex-direction: column;

    gap: 4px;
}

.page-products
.products-sidebar__title {
    margin: 0 0 16px;

    padding: 0 8px;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    color: var(--metallic-gray);
}

.page-products
.product-filter {
    appearance: none;

    width: 100%;

    min-height: 38px;

    padding: 9px 10px;

    border: 0;

    border-radius: 7px;

    background: transparent;

    text-align: left;

    font-family: inherit;

    font-size: 13px;

    color: var(--text-secondary);

    transition:
        background-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.page-products
.product-filter:hover {
    background:
        rgba(51, 4, 86, 0.04);

    color: var(--violet);
}

.page-products
.product-filter:active {
    transform: scale(0.985);
}

.page-products
.product-filter.is-active {
    background:
        rgba(51, 4, 86, 0.07);

    color: var(--violet);

    font-weight: 600;
}


/* ==========================================================================
   32. PRODUCTS CONTENT
   ========================================================================== */

.page-products
.products-content {
    width: 100%;

    min-width: 0;
}

.page-products
.products-content__bar {
    margin-bottom: 26px;
}

.page-products
.products-content__bar > div {
    display: flex;

    align-items: baseline;

    gap: 10px;
}

.page-products
.products-content__bar strong {
    font-size: 15px;

    font-weight: 600;

    color: var(--text-primary);
}

.page-products
.products-content__bar span {
    font-size: 11px;

    color: var(--metallic-gray);
}


/* ==========================================================================
   33. PRODUCTS CATEGORY
   ========================================================================== */

.page-products
.product-category-list {
    display: grid;

    gap: 50px;
}

.page-products
.product-category {
    display: block;

    min-width: 0;

    padding: 0;

    border: 0;

    background: transparent;
}

.page-products
.product-category__header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 18px;

    padding-bottom: 14px;

    border-bottom:
        1px solid
        var(--border);
}

.page-products
.product-category__header
> div > span {
    display: block;

    margin-bottom: 6px;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    color: var(--violet);
}

.page-products
.product-category__header h2 {
    margin: 0;

    font-size:
        clamp(
            24px,
            2.4vw,
            32px
        );

    line-height: 1.05;

    font-weight: 600;

    letter-spacing: -0.035em;

    color: var(--text-primary);
}

.page-products
.product-category__header small {
    flex: 0 0 auto;

    font-size: 10px;

    color: var(--metallic-gray);
}


/* ==========================================================================
   34. PRODUCTS IMAGE GRID
   ========================================================================== */

.page-products
.product-image-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 26px 14px;
}

.page-products
.product-image-card {
    min-width: 0;

    background: transparent;

    transition:
        transform 180ms ease;
}

.page-products
.product-image-card__media {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 0.78;

    overflow: hidden;

    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            #E6E7E9 0%,
            #D2D4D7 50%,
            #ECEEEF 100%
        );
}

.page-products
.product-image-card__media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition:
        transform 280ms ease,
        filter 280ms ease;
}

.page-products
.product-image-card__fallback {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 20px;

    text-align: center;

    opacity: 0;

    pointer-events: none;
}

.page-products
.product-image-card__media.is-missing
.product-image-card__fallback {
    opacity: 1;
}

.page-products
.product-image-card__fallback span {
    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.18em;

    color: var(--metallic-gray);
}

.page-products
.product-image-card__fallback strong {
    max-width: 180px;

    font-size: 15px;

    line-height: 1.25;

    font-weight: 600;

    color: var(--text-primary);
}

.page-products
.product-image-card__info {
    padding: 10px 2px 0;
}

.page-products
.product-image-card__info > span {
    display: block;

    margin-bottom: 4px;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.11em;

    text-transform: uppercase;

    color: var(--metallic-gray);
}

.page-products
.product-image-card__info h3 {
    margin: 0;

    font-size: 14px;

    line-height: 1.3;

    font-weight: 550;

    letter-spacing: -0.015em;

    color: var(--text-primary);
}

@media (hover: hover) and (pointer: fine) {

    .page-products
    .product-image-card:hover {
        transform: translateY(-3px);
    }

    .page-products
    .product-image-card:hover
    .product-image-card__media img {
        transform: scale(1.025);
    }
}


/* ==========================================================================
   35. PRODUCTS EMPTY
   ========================================================================== */

.page-products
.products-empty {
    padding: 64px 24px;

    text-align: center;

    border-top:
        1px solid
        var(--border);

    background: transparent;
}

.page-products
.products-empty strong {
    display: block;

    margin-bottom: 7px;

    font-size: 17px;

    color: var(--text-primary);
}

.page-products
.products-empty span {
    font-size: 13px;

    color: var(--text-secondary);
}


/* ==========================================================================
   36. PRODUCTS VISIBILITY SAFETY
   ========================================================================== */

.page-products
.product-category[hidden],
.page-products
.product-item[hidden],
.page-products
.products-empty[hidden] {
    display: none !important;
}


/* ==========================================================================
   FERRODEI PRODUCT MANAGER
   SELF-CONTAINED / SAFE
   ========================================================================== */

.product-manager {
    width:
        min(
            calc(100% - 48px),
            var(--container-width)
        );

    margin: 0 auto;

    padding: 54px 0 110px;
}

.product-manager__header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    padding-bottom: 28px;

    border-bottom:
        1px solid
        var(--border);
}

.product-manager__header h1 {
    margin: 8px 0;

    font-size:
        clamp(
            36px,
            4vw,
            52px
        );

    line-height: 1;

    font-weight: 600;

    letter-spacing: -0.045em;

    color: var(--text-primary);
}

.product-manager__header p:last-child {
    margin: 0;

    font-size: 13px;

    color: var(--text-secondary);
}

.product-manager__stats {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 1px;

    overflow: hidden;

    margin-top: 28px;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    background: var(--border);
}

.product-manager__stats article {
    min-height: 105px;

    display: flex;

    flex-direction: column;
    justify-content: space-between;

    padding: 20px;

    background: #FFFFFF;
}

.product-manager__stats span {
    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: var(--steel);
}

.product-manager__stats strong {
    font-size: 31px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: -0.04em;

    color: var(--text-primary);
}

.product-manager__toolbar {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin: 35px 0;
}

.product-manager__filters {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;
}

.product-manager__filters button {
    min-height: 38px;

    padding: 0 14px;

    border:
        1px solid
        var(--border);

    border-radius: 999px;

    background: #FFFFFF;

    color: var(--text-secondary);

    font: inherit;

    font-size: 11px;

    cursor: pointer;

    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        color 160ms ease;
}

.product-manager__filters button:hover {
    border-color:
        rgba(51, 4, 86, 0.34);

    color: var(--violet);
}

.product-manager__filters button.is-active {
    border-color: var(--violet);

    background: var(--violet);

    color: #FFFFFF;
}

.product-manager__toolbar input {
    width:
        min(
            100%,
            310px
        );

    min-height: 42px;

    padding: 0 15px;

    border:
        1px solid
        var(--border);

    border-radius: 999px;

    outline: 0;

    background: #FFFFFF;

    color: var(--text-primary);

    font: inherit;

    font-size: 13px;

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.product-manager__toolbar input:focus {
    border-color:
        rgba(51, 4, 86, 0.48);

    box-shadow:
        0 0 0 4px
        rgba(51, 4, 86, 0.06);
}

.product-manager__categories {
    display: grid;

    gap: 58px;
}

.product-manager-category {
    min-width: 0;
}

.product-manager-category__header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 17px;

    padding-bottom: 13px;

    border-bottom:
        1px solid
        var(--border);
}

.product-manager-category__header
> div:first-child > span {
    display: block;

    margin-bottom: 5px;

    color: var(--violet);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}

.product-manager-category__header h2 {
    margin: 0;

    color: var(--text-primary);

    font-size: 27px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: -0.035em;
}

.product-manager-category__meta {
    display: flex;

    align-items: center;

    gap: 10px;
}

.product-manager-category__meta span,
.product-manager-category__meta small {
    color: var(--steel);

    font-size: 10px;
}

.product-manager-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 25px 14px;
}

.product-manager-card {
    min-width: 0;
}

.product-manager-card__media {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 0.78;

    overflow: hidden;

    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            #E8E9EA,
            #D3D5D8
        );
}

.product-manager-card__media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}

.product-manager-card__empty {
    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 8px;

    text-align: center;
}

.product-manager-card__empty span {
    color: var(--steel);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.17em;
}

.product-manager-card__empty strong {
    color: var(--text-secondary);

    font-size: 13px;

    font-weight: 550;
}

.product-manager-card__info {
    padding: 10px 2px 0;
}

.product-manager-card__info
> div:first-child > span {
    display: block;

    margin-bottom: 4px;

    color: var(--steel);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.10em;

    text-transform: uppercase;
}

.product-manager-card__info h3 {
    margin: 0;

    color: var(--text-primary);

    font-size: 14px;

    line-height: 1.25;

    font-weight: 550;
}

.product-manager-card__actions {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 10px;
}

.product-manager-card__actions button {
    min-height: 34px;

    padding: 0 11px;

    border:
        1px solid
        var(--border);

    border-radius: 7px;

    background: #FFFFFF;

    color: var(--text-secondary);

    font: inherit;

    font-size: 10px;

    font-weight: 600;

    cursor: pointer;

    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        color 160ms ease;
}

.product-manager-card__actions
button:not(.is-danger):hover {
    border-color:
        rgba(51, 4, 86, 0.45);

    color: var(--violet);
}

.product-manager-card__actions
button.is-danger {
    color: #8C2F2F;
}

.product-manager-card__actions
button.is-danger:hover {
    border-color: #8C2F2F;

    background: #8C2F2F;

    color: #FFFFFF;
}

.product-manager__empty {
    padding: 70px 20px;

    border-top:
        1px solid
        var(--border);

    text-align: center;
}

.product-manager__empty strong {
    display: block;

    margin-bottom: 7px;

    color: var(--text-primary);

    font-size: 17px;
}

.product-manager__empty span {
    color: var(--text-secondary);

    font-size: 13px;
}

.product-manager__empty[hidden] {
    display: none !important;
}


/* ==========================================================================
   MANAGER MODALS
   ========================================================================== */

.manager-modal[hidden] {
    display: none !important;

    visibility: hidden !important;

    opacity: 0 !important;

    pointer-events: none !important;
}

.manager-modal:not([hidden]) {
    position: fixed;

    inset: 0;

    z-index: 100000;

    width: 100%;
    height: 100%;

    display: grid;

    place-items: center;

    padding: 24px;

    visibility: visible;

    opacity: 1;

    pointer-events: auto;
}

.manager-modal__backdrop {
    position: absolute;

    inset: 0;

    z-index: 0;

    background:
        rgba(13, 14, 16, 0.58);

    backdrop-filter: blur(5px);

    -webkit-backdrop-filter:
        blur(5px);

    cursor: default;
}

.manager-modal__dialog {
    position: relative;

    z-index: 2;

    width:
        min(
            100%,
            600px
        );

    max-height:
        calc(100vh - 48px);

    overflow-y: auto;

    padding: 26px;

    border:
        1px solid
        rgba(22, 24, 27, 0.08);

    border-radius: 16px;

    background: #FFFFFF;

    box-shadow:
        0 24px 80px
        rgba(0, 0, 0, 0.20);
}

.manager-modal__dialog--small {
    width:
        min(
            100%,
            470px
        );
}

.manager-modal__header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;
}

.manager-modal__header span {
    display: block;

    margin-bottom: 5px;

    color: var(--violet);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.manager-modal__header h2 {
    margin: 0;

    color: var(--text-primary);

    font-size: 23px;

    line-height: 1.15;

    font-weight: 600;

    letter-spacing: -0.025em;
}

.manager-modal__close {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: grid;

    place-items: center;

    padding: 0;

    border:
        1px solid
        var(--border);

    border-radius: 50%;

    background: #FFFFFF;

    color: var(--text-secondary);

    font-size: 22px;

    line-height: 1;

    cursor: pointer;
}

.manager-modal__close:hover {
    border-color:
        rgba(51, 4, 86, 0.32);

    color: var(--violet);
}


/* ==========================================================================
   UPLOAD AREA
   ========================================================================== */

.manager-upload {
    position: relative;

    width: 100%;

    min-height: 300px;

    display: grid;

    place-items: center;

    overflow: hidden;

    border:
        1px dashed
        #BFC2C7;

    border-radius: 13px;

    background: #F8F8F9;

    cursor: pointer;

    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}

.manager-upload:hover,
.manager-upload.is-dragging {
    border-color: var(--violet);

    background:
        rgba(51, 4, 86, 0.025);

    box-shadow:
        0 0 0 4px
        rgba(51, 4, 86, 0.04);
}

.manager-upload input[type="file"] {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    clip-path:
        inset(50%);

    white-space: nowrap;
}

.manager-upload__placeholder {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 7px;

    padding: 30px;

    text-align: center;
}

.manager-upload__placeholder strong {
    color: var(--text-primary);

    font-size: 15px;

    font-weight: 600;
}

.manager-upload__placeholder span {
    color: var(--text-secondary);

    font-size: 12px;
}

.manager-upload__placeholder small {
    margin-top: 8px;

    color: var(--steel);

    font-size: 9px;

    letter-spacing: 0.06em;
}

.manager-upload img {
    width: 100%;

    max-height: 430px;

    display: block;

    object-fit: contain;

    background: #F3F3F4;
}

.manager-upload img[hidden] {
    display: none !important;
}

.manager-modal__message {
    min-height: 18px;

    margin: 12px 0 0;

    color: #9C3838;

    font-size: 11px;

    line-height: 1.5;
}

.manager-modal__actions {
    display: flex;

    justify-content: flex-end;

    gap: 8px;

    margin-top: 20px;
}

.manager-button {
    min-height: 42px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 16px;

    border:
        1px solid transparent;

    border-radius: 8px;

    font: inherit;

    font-size: 11px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        opacity 160ms ease;
}

.manager-button--secondary {
    border-color: var(--border);

    background: #FFFFFF;

    color: var(--text-secondary);
}

.manager-button--secondary:hover {
    border-color:
        rgba(51, 4, 86, 0.35);

    color: var(--violet);
}

.manager-button--primary {
    border-color: #330456;

    background: #330456;

    color: #FFFFFF;
}

.manager-button--primary:not(:disabled):hover {
    border-color: #21012F;

    background: #21012F;

    color: #FFFFFF;
}

.manager-button--primary:disabled {
    border-color: #D1D4D6;

    background: #D1D4D6;

    color: #4E5257;

    opacity: 1;

    cursor: not-allowed;
}

.manager-button--danger {
    border-color: #8D3535;

    background: #8D3535;

    color: #FFFFFF;
}

.manager-button--danger:not(:disabled):hover {
    border-color: #762929;

    background: #762929;
}

.manager-button:disabled {
    cursor: not-allowed;
}

.manager-delete-copy {
    margin: 0 0 8px;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.6;
}

.manager-delete-copy strong {
    color: var(--text-primary);
}


/* ==========================================================================
   52. COMPACT DESKTOP
   ========================================================================== */

@media (
    min-width: 769px
)
and (
    max-width: 1180px
) {

    .site-header__inner {
        width:
            calc(100% - 28px);

        column-gap: 22px;
    }

    .site-brand__symbol {
        max-width: 32px;
        max-height: 38px;
    }

    .site-nav__link {
        padding: 0 8px;

        font-size: 12px;
    }

    .site-nav__cta {
        margin-left: 4px;

        padding: 0 13px;

        font-size: 12px;
    }

    .home-products__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 28px 16px;
    }

    .home-product-card__media {
        aspect-ratio: 16 / 9;
    }

    .value-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .value-card:nth-child(2) {
        border-right: 0;
    }

    .value-card:nth-child(-n+2) {
        border-bottom:
            1px solid
            var(--border);
    }
}


/* ==========================================================================
   53. PRODUCT RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {

    .page-products
    .products-layout {
        grid-template-columns:
            165px
            minmax(0, 1fr);

        gap: 32px;
    }

    .page-products
    .product-image-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );

        gap: 24px 12px;
    }

    .page-product-manager
    .product-manager-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }
}


/* ==========================================================================
   54. TABLET
   ========================================================================== */

@media (max-width: 980px) {

    .contact-layout,
    .quote-layout {
        grid-template-columns: 1fr;
    }

    .quote-product-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .about-summary {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .about-purpose__grid {
        grid-template-columns: 1fr;
    }

    .about-values-compact__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }
}


/* ==========================================================================
   55. MOBILE
   ========================================================================== */

@media (max-width: 768px) {

    :root {
        --header-height: 68px;
    }


    /* ----------------------------------------------------------------------
       Header
       ---------------------------------------------------------------------- */

    .site-header__inner {
        width:
            calc(100% - 28px);

        height:
            var(--header-height);

        display: flex;

        align-items: center;
        justify-content: space-between;

        gap: 16px;
    }

    .site-brand,
    .site-brand--center {
        position: static;

        flex: 1 1 auto;

        justify-content: flex-start;

        margin: 0;
    }

    .site-brand__symbol {
        max-width: 31px;
        max-height: 36px;
    }

    .site-nav--desktop {
        display: none !important;
    }

    .menu-toggle {
        display: flex !important;

        align-items: center;
        justify-content: center;
    }

    .mobile-navigation:not([hidden]) {
        display: block;

        width: 100%;

        border-top:
            1px solid
            var(--border);

        background: #FFFFFF;

        box-shadow:
            0 22px 45px
            rgba(22, 24, 27, 0.08);
    }

    .mobile-navigation__inner {
        width:
            calc(100% - 28px);

        margin: 0 auto;

        padding: 10px 0 18px;

        gap: 3px;
    }

    .site-main > section {
        width:
            calc(100% - 28px);
    }


    /* ----------------------------------------------------------------------
       Home
       ---------------------------------------------------------------------- */

    .home-hero {
        padding: 18px 0 42px;
    }

    .home-hero__banner {
        height: 520px;

        min-height: 0;

        border-radius: var(--radius-lg);
    }

    .home-hero__image {
        object-position: 62% center;
    }

    .home-hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(22, 24, 27, 0.14) 0%,
                rgba(33, 1, 47, 0.25) 33%,
                rgba(33, 1, 47, 0.90) 100%
            );
    }

    .home-hero__content {
        top: auto;

        left: 26px;
        right: 26px;
        bottom: 54px;

        width: auto;

        transform: none;
    }

    .home-hero__title {
        max-width: 570px;

        margin-bottom: 18px;

        font-size:
            clamp(
                42px,
                11vw,
                64px
            );
    }

    .home-hero__description {
        margin-bottom: 24px;

        font-size: 17px;
    }

    .home-hero__signature {
        display: none;
    }

    .home-intro {
        padding: 72px 0;
    }

    .home-intro__grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .home-products {
        padding: 72px 0 80px;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .section-heading--split {
        flex-direction: column;

        align-items: flex-start;

        gap: 15px;
    }

    .home-products__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 24px 12px;
    }

    .home-product-card__media {
        aspect-ratio: 4 / 3;

        border-radius: 14px;
    }

    .home-product-card__content {
        padding-top: 11px;
    }

    .home-product-card h3 {
        font-size: 17px;
    }

    .home-values {
        padding: 72px 0 80px;
    }

    .value-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .value-card {
        padding: 25px 20px 30px;
    }

    .value-card__number {
        margin-bottom: 32px;
    }

    .home-quality {
        grid-template-columns: 1fr;

        max-height: none;

        margin-bottom:
            70px !important;

        border-radius: var(--radius-lg);
    }

    .home-quality__media {
        height: 310px;
    }

    .home-quality__content {
        padding: 38px 28px 42px;
    }

    .home-cta {
        margin-bottom:
            65px !important;
    }

    .home-cta__inner {
        min-height: auto;

        padding: 42px 28px;

        flex-direction: column;

        align-items: flex-start;

        gap: 30px;
    }

    .home-cta__actions {
        width: 100%;

        flex-direction: row;

        flex-wrap: wrap;
    }


    /* ----------------------------------------------------------------------
       Internal
       ---------------------------------------------------------------------- */

    .inner-hero {
        padding: 18px 0 55px;
    }

    .inner-hero__media {
        height: 480px;

        border-radius: var(--radius-lg);
    }

    .inner-hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(22, 24, 27, 0.10),
                rgba(33, 1, 47, 0.88)
            );
    }

    .inner-hero__content {
        left: 26px;
        right: 26px;
        bottom: 36px;
    }

    .about-intro,
    .services-feature,
    .projects-feature {
        grid-template-columns: 1fr;

        gap: 32px;
    }

    .about-pillars {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .about-pillar:nth-child(2) {
        border-right: 0;
    }

    .about-mission {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .page-heading {
        padding: 70px 0 55px;
    }

    .services-feature,
    .projects-feature {
        padding: 65px 0;

        margin-bottom:
            65px !important;
    }


    /* ----------------------------------------------------------------------
       Public products - MOBILE
       ---------------------------------------------------------------------- */

    .page-products
    .products-page {
        width:
            calc(100% - 28px);

        margin: 0 auto;

        padding:
            38px
            0
            72px;
    }

    .page-products
    .products-page__top {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 20px;

        padding-bottom: 24px;
    }

    .page-products
    .products-page__heading {
        width: 100%;
    }

    .page-products
    .products-page__heading h1 {
        margin-top: 5px;

        font-size:
            clamp(
                35px,
                10vw,
                44px
            );

        line-height: 1;
    }

    .page-products
    .products-search {
        width: 100%;

        max-width: none;

        min-height: 48px;

        padding: 0 15px;
    }

    .page-products
    .products-search input {
        height: 46px;

        font-size: 16px;
    }

    .page-products
    .products-layout {
        display: block;

        padding-top: 20px;
    }

    .page-products
    .products-sidebar {
        position: static;

        width:
            calc(100% + 28px);

        margin:
            0
            -14px
            24px;

        padding:
            0
            14px
            10px;

        display: flex;

        flex-direction: row;

        align-items: center;

        gap: 8px;

        overflow-x: auto;
        overflow-y: hidden;

        scrollbar-width: none;

        scroll-snap-type: x proximity;

        -webkit-overflow-scrolling: touch;
    }

    .page-products
    .products-sidebar::-webkit-scrollbar {
        display: none;
    }

    .page-products
    .products-sidebar__title {
        display: none;
    }

    .page-products
    .product-filter {
        width: auto;

        min-width: max-content;

        min-height: 42px;

        flex:
            0
            0
            auto;

        display: inline-flex;

        align-items: center;
        justify-content: center;

        padding:
            0
            15px;

        border:
            1px solid
            var(--border);

        border-radius: 999px;

        background: #FFFFFF;

        color: var(--text-secondary);

        text-align: center;

        white-space: nowrap;

        scroll-snap-align: start;

        font-size: 12px;
    }

    .page-products
    .product-filter.is-active {
        border-color: #330456 !important;
    
        background: #330456 !important;
    
        color: #FFFFFF !important;
    
        box-shadow:
            0 6px 16px
            rgba(51, 4, 86, 0.16);
    
        opacity: 1 !important;
    
        visibility: visible !important;
    }
    
    .page-products
    .product-filter.is-active:hover,
    .page-products
    .product-filter.is-active:focus,
    .page-products
    .product-filter.is-active:focus-visible,
    .page-products
    .product-filter.is-active:active {
        border-color: #330456 !important;
    
        background: #330456 !important;
    
        color: #FFFFFF !important;
    
        opacity: 1 !important;
    }

    .page-products
    .products-content__bar {
        margin-bottom: 24px;
    }

    .page-products
    .products-content__bar > div {
        display: flex;

        align-items: baseline;
        justify-content: space-between;

        gap: 14px;
    }

    .page-products
    .products-content__bar strong {
        font-size: 15px;
    }

    .page-products
    .products-content__bar span {
        flex:
            0
            0
            auto;

        font-size: 10px;
    }

    .page-products
    .product-category-list {
        gap: 42px;
    }

    .page-products
    .product-category__header {
        align-items: flex-end;

        gap: 12px;

        margin-bottom: 15px;

        padding-bottom: 12px;
    }

    .page-products
    .product-category__header h2 {
        font-size:
            clamp(
                22px,
                7vw,
                27px
            );
    }

    .page-products
    .product-category__header small {
        padding-bottom: 2px;

        font-size: 9px;
    }

    .page-products
    .product-image-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap:
            24px
            10px;
    }

    .page-products
    .product-image-card {
        width: 100%;

        min-width: 0;
    }

    .page-products
    .product-image-card__media {
        width: 100%;

        aspect-ratio: 4 / 3;

        border-radius: 10px;
    }

    .page-products
    .product-image-card__media img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }

    .page-products
    .product-image-card__fallback {
        padding: 14px;
    }

    .page-products
    .product-image-card__fallback strong {
        max-width: 130px;

        font-size: 12px;
    }

    .page-products
    .product-image-card__info {
        padding:
            9px
            1px
            0;
    }

    .page-products
    .product-image-card__info > span {
        margin-bottom: 3px;

        overflow: hidden;

        font-size: 7px;

        white-space: nowrap;

        text-overflow: ellipsis;
    }

    .page-products
    .product-image-card__info h3 {
        margin: 0;

        overflow-wrap: anywhere;

        font-size: 13px;

        line-height: 1.3;
    }

    .page-products
    .products-empty {
        padding:
            48px
            18px;
    }


    /* ----------------------------------------------------------------------
       Manager
       ---------------------------------------------------------------------- */

    .page-product-manager
    .product-manager {
        width:
            calc(100% - 28px);

        padding: 42px 0 80px;
    }

    .page-product-manager
    .product-manager__header {
        align-items: flex-start;

        flex-direction: column;
    }

    .page-product-manager
    .product-manager__stats {
        grid-template-columns:
            repeat(
                3,
                1fr
            );
    }

    .page-product-manager
    .product-manager__stats article {
        min-height: 90px;

        padding: 14px;
    }

    .page-product-manager
    .product-manager__stats strong {
        font-size: 25px;
    }

    .page-product-manager
    .product-manager__toolbar {
        align-items: stretch;

        flex-direction: column;
    }

    .page-product-manager
    .product-manager__toolbar input {
        width: 100%;
    }

    .page-product-manager
    .product-manager-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 22px 10px;
    }

    .page-product-manager
    .product-manager-category__header {
        align-items: flex-start;

        flex-direction: column;
    }


    /* ----------------------------------------------------------------------
       Projects
       ---------------------------------------------------------------------- */

    .projects-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        padding-bottom: 70px;
    }

    .project-card:nth-child(2) {
        border-right: 0;
    }

    .project-card:nth-child(-n+2) {
        border-bottom:
            1px solid
            var(--border);
    }


    /* ----------------------------------------------------------------------
       Contact / quote
       ---------------------------------------------------------------------- */

    .contact-layout,
    .quote-layout {
        padding-bottom: 70px;
    }

    .contact-quote {
        align-items: flex-start;

        flex-direction: column;

        gap: 26px;

        padding: 55px 0;

        margin-bottom:
            65px !important;
    }
}


/* ==========================================================================
   56. ABOUT MOBILE
   ========================================================================== */

@media (max-width: 640px) {

    .about-page {
        width:
            calc(100% - 28px);

        padding: 46px 0 76px;
    }

    .about-summary {
        gap: 24px;

        padding-bottom: 46px;
    }

    .about-summary__header h1 {
        font-size: 37px;
    }

    .about-summary__lead {
        margin-bottom: 28px;

        font-size: 18px;
    }

    .about-summary__columns {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .about-summary__columns p {
        font-size: 14px;
    }

    .about-purpose {
        padding: 46px 0;
    }

    .about-section-title {
        display: block;

        margin-bottom: 22px;
    }

    .about-section-title
    .section-eyebrow {
        margin-bottom: 10px;
    }

    .about-section-title h2 {
        font-size: 28px;
    }

    .about-purpose-card {
        padding: 25px 23px;

        border-radius: 12px;
    }

    .about-purpose-card h3 {
        font-size: 22px;
    }

    .about-purpose-card > p {
        font-size: 14px;
    }

    .about-values-compact {
        padding-top: 46px;
    }

    .about-values-compact__grid {
        grid-template-columns:
            1fr 1fr;

        gap: 9px;
    }

    .about-value-card {
        min-height: 145px;

        padding: 18px;
    }

    .about-value-card__number {
        margin-bottom: 29px;
    }

    .about-value-card h3 {
        padding-right: 8px;

        font-size: 15px;
    }

    .about-value-card__action {
        font-size: 10px;
    }

    .about-value-card__arrow {
        top: 15px;
        right: 15px;

        font-size: 14px;
    }

    .about-modal {
        align-items: flex-end;

        padding: 12px;
    }

    .about-modal__dialog {
        width: 100%;

        padding:
            34px
            24px
            30px;

        border-radius: 18px;
    }

    .about-modal__number {
        margin-bottom: 23px;
    }

    .about-modal__dialog h2 {
        padding-right: 30px;

        font-size: 29px;
    }

    .about-modal__dialog p {
        font-size: 15px;
    }


    /* ----------------------------------------------------------------------
       Manager modal
       ---------------------------------------------------------------------- */

    .page-product-manager
    .manager-modal {
        align-items: end;

        padding: 16px;
    }

    .page-product-manager
    .manager-modal__dialog {
        width: 100%;

        max-height:
            calc(100vh - 32px);

        padding: 20px;

        border-radius: 15px;
    }

    .page-product-manager
    .manager-upload {
        min-height: 230px;
    }

    .page-product-manager
    .manager-modal__actions {
        display: grid;

        grid-template-columns:
            1fr 1fr;
    }

    .page-product-manager
    .manager-button {
        min-height: 45px;
    }
}


/* ==========================================================================
   57. SMALL MOBILE
   ========================================================================== */

@media (max-width: 520px) {

    .site-header__inner,
    .mobile-navigation__inner,
    .site-main > section,
    .site-footer__inner {
        width:
            calc(100% - 24px);
    }

    .site-brand__symbol {
        max-width: 29px;

        max-height: 34px;
    }


    /* ----------------------------------------------------------------------
       Home
       ---------------------------------------------------------------------- */

    .home-hero__banner {
        height: 470px;

        border-radius: 20px;
    }

    .home-hero__content {
        left: 22px;
        right: 22px;
        bottom: 34px;
    }

    .home-hero__title {
        font-size:
            clamp(
                39px,
                12vw,
                54px
            );
    }

    .home-hero__actions {
        width: 100%;
    }

    .home-hero__actions
    .button {
        width: 100%;
    }

    .home-intro {
        padding: 62px 0;
    }

    .home-products {
        padding: 62px 0 70px;
    }

    .home-products__grid {
        gap: 22px 10px;
    }

    .home-product-card__media {
        aspect-ratio: 1 / 1;
    }

    .home-product-card__content {
        align-items: flex-start;

        flex-direction: column;

        gap: 3px;
    }

    .home-product-card h3 {
        font-size: 16px;
    }

    .home-values {
        padding: 62px 0 70px;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        border-right: 0;

        border-bottom:
            1px solid
            var(--border);
    }

    .value-card:last-child {
        border-bottom: 0;
    }

    .home-quality__media {
        height: 260px;
    }

    .home-quality__content {
        padding: 34px 22px 38px;
    }

    .home-cta {
        border-radius: var(--radius-lg);
    }

    .home-cta__inner {
        padding: 36px 22px;
    }

    .home-cta__actions {
        flex-direction: column;
    }

    .home-cta__actions
    .button {
        width: 100%;
    }


    /* ----------------------------------------------------------------------
       Internal
       ---------------------------------------------------------------------- */

    .inner-hero__media {
        height: 430px;
    }

    .inner-hero__content h1 {
        font-size: 43px;
    }

    .about-intro {
        padding: 55px 0 70px;
    }

    .about-pillars {
        grid-template-columns: 1fr;
    }

    .about-pillar {
        border-right: 0;

        border-bottom:
            1px solid
            var(--border);
    }

    .about-mission {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
    }


    /* ----------------------------------------------------------------------
       Public products - SMALL MOBILE
       ---------------------------------------------------------------------- */

    .page-products
    .products-page {
        width:
            calc(100% - 24px);

        padding:
            32px
            0
            60px;
    }

    .page-products
    .products-page__top {
        gap: 17px;

        padding-bottom: 20px;
    }

    .page-products
    .products-page__heading
    .section-eyebrow {
        margin-bottom: 8px;
    }

    .page-products
    .products-page__heading h1 {
        font-size: 36px;
    }

    .page-products
    .products-sidebar {
        width:
            calc(100% + 24px);

        margin-left: -12px;
        margin-right: -12px;

        padding-left: 12px;
        padding-right: 12px;
    }

    .page-products
    .product-category-list {
        gap: 38px;
    }

    .page-products
    .product-category__header {
        align-items: flex-start;

        flex-direction: column;

        gap: 5px;
    }

    .page-products
    .product-category__header small {
        order: 2;
    }

    .page-products
    .product-image-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap:
            22px
            9px;
    }

    .page-products
    .product-image-card__media {
        aspect-ratio:
            1 / 0.86;

        border-radius: 9px;
    }

    .page-products
    .product-image-card__info h3 {
        font-size: 12px;
    }


    /* ----------------------------------------------------------------------
       Projects
       ---------------------------------------------------------------------- */

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: 0;

        border-right: 0;

        border-bottom:
            1px solid
            var(--border);
    }

    .project-card:last-child {
        border-bottom: 0;
    }

    .project-card > span {
        margin-bottom: 40px;
    }


    /* ----------------------------------------------------------------------
       Forms
       ---------------------------------------------------------------------- */

    .form-grid {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .contact-panel,
    .contact-form-card,
    .quote-products,
    .quote-form-card {
        padding: 26px 22px;

        border-radius: 18px;
    }

    .quote-product-grid {
        grid-template-columns: 1fr;
    }

    .quote-product-option__content {
        min-height: 115px;
    }

    .contact-form .button,
    .quote-form .button {
        width: 100%;
    }


    /* ----------------------------------------------------------------------
       Manager
       ---------------------------------------------------------------------- */

    .page-product-manager
    .product-manager__stats article {
        padding: 12px;
    }

    .page-product-manager
    .product-manager__stats span {
        font-size: 8px;
    }

    .page-product-manager
    .product-manager__stats strong {
        font-size: 23px;
    }
}


/* ==========================================================================
   58. VERY SMALL
   ========================================================================== */

@media (max-width: 390px) {

    .about-values-compact__grid {
        grid-template-columns: 1fr;
    }

    .about-value-card {
        min-height: 130px;
    }

    .page-product-manager
    .product-manager-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .page-product-manager
    .manager-modal__actions {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   58.1 EXTRA SMALL PUBLIC PRODUCTS
   ========================================================================== */

@media (max-width: 350px) {

    .page-products
    .product-image-grid {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .page-products
    .product-image-card__media {
        aspect-ratio: 16 / 10;
    }

    .page-products
    .product-image-card__info h3 {
        font-size: 14px;
    }
}


/* ==========================================================================
   59. DESKTOP HARD RESET
   ========================================================================== */

@media (min-width: 769px) {

    .menu-toggle {
        display: none !important;
    }

    .mobile-navigation {
        display: none !important;
    }

    .site-nav--desktop {
        display: flex !important;
    }
}


/* ==========================================================================
   60. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration:
            0.01ms !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;
    }
}
/* ==========================================================================
   FERRODEI HOME - FULL WIDTH BANNER
   ========================================================================== */

.page-home .home-reference-banner {
    width: 100% !important;
    max-width: none !important;

    margin: 0 0 76px !important;
    padding: 0 !important;
}


/* ==========================================================================
   BANNER FRAME
   ========================================================================== */

.page-home .home-reference-banner__frame {
    position: relative;

    width: 100%;
    height: clamp(560px, 48vw, 820px);

    overflow: hidden;

    border-radius: 0;

    background: #08050D;

    box-shadow: none;
}


/* ==========================================================================
   BANNER IMAGE
   ========================================================================== */

.page-home .home-reference-banner__image {
    width: 100%;
    height: 100%;

    display: block;

    margin: 0;

    object-fit: cover;
    object-position: center center;

    user-select: none;

    -webkit-user-drag: none;
}


/* ==========================================================================
   SEO TITLE
   ========================================================================== */

.page-home .home-reference-banner__seo-title {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* ==========================================================================
   FEATURED PRODUCTS
   ========================================================================== */

.page-home .home-featured-products {
    width:
        min(
            calc(100% - 40px),
            var(--container-width)
        ) !important;

    margin: 0 auto !important;

    padding: 8px 0 105px;
}


.page-home .home-featured-products__header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 30px;
}


.page-home .home-featured-products__header h2 {
    max-width: 720px;

    margin: 0;

    font-size:
        clamp(
            34px,
            3.8vw,
            54px
        );

    line-height: 1;

    letter-spacing: -0.04em;
}


.page-home .home-featured-products__link {
    flex: 0 0 auto;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 19px;

    border:
        1px solid
        var(--border);

    border-radius: 999px;

    background: #FFFFFF;

    color: var(--violet);

    font-size: 13px;
    font-weight: 600;

    transition:
        color var(--transition),
        border-color var(--transition),
        background-color var(--transition),
        transform var(--transition);
}


.page-home .home-featured-products__link:hover {
    border-color: var(--violet);

    background: var(--violet);

    color: #FFFFFF;

    transform: translateY(-1px);
}


/* ==========================================================================
   FEATURED PRODUCTS GRID
   ========================================================================== */

.page-home .home-featured-products__grid {
    display: grid;

    grid-template-columns:
        repeat(
            5,
            minmax(0, 1fr)
        );

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);
}


.page-home .home-featured-product-card {
    position: relative;

    min-width: 0;
    min-height: 235px;

    display: flex;

    flex-direction: column;

    padding: 25px 22px 28px;

    border-right:
        1px solid
        var(--border);

    background: transparent;

    transition:
        background-color var(--transition-slow),
        transform var(--transition-slow);
}


.page-home .home-featured-product-card:last-child {
    border-right: 0;
}


.page-home .home-featured-product-card:hover {
    background: #FFFFFF;

    transform: translateY(-2px);
}


.page-home .home-featured-product-card__number {
    display: block;

    margin-bottom: auto;

    color: var(--violet);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.14em;
}


.page-home .home-featured-product-card h3 {
    margin: 0 0 12px;

    color: var(--text-primary);

    font-size:
        clamp(
            21px,
            1.7vw,
            27px
        );

    line-height: 1;

    letter-spacing: -0.035em;
}


.page-home .home-featured-product-card p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.6;
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 980px) {

    .page-home .home-reference-banner__frame {
        height: clamp(470px, 64vw, 650px);
    }


    .page-home .home-featured-products__grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );

        border-bottom: 0;
    }


    .page-home .home-featured-product-card {
        border-bottom:
            1px solid
            var(--border);
    }


    .page-home .home-featured-product-card:nth-child(3) {
        border-right: 0;
    }

}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 768px) {

    .page-home .home-reference-banner {
        margin-bottom: 58px !important;
    }


    .page-home .home-reference-banner__frame {
        height: auto;

        min-height: 0;

        overflow: hidden;
    }


    .page-home .home-reference-banner__image {
        width: 100%;
        height: auto;

        object-fit: contain;
        object-position: center top;
    }


    .page-home .home-featured-products {
        width:
            calc(100% - 28px) !important;

        padding: 0 0 78px;
    }


    .page-home .home-featured-products__header {
        align-items: flex-start;

        flex-direction: column;

        gap: 18px;

        margin-bottom: 24px;
    }


    .page-home .home-featured-products__header h2 {
        font-size:
            clamp(
                33px,
                9vw,
                43px
            );
    }


    .page-home .home-featured-products__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        border-bottom:
            1px solid
            var(--border);
    }


    .page-home .home-featured-product-card {
        min-height: 190px;

        padding: 20px 17px 22px;

        border-right:
            1px solid
            var(--border);

        border-bottom:
            1px solid
            var(--border);
    }


    .page-home .home-featured-product-card:nth-child(2n) {
        border-right: 0;
    }


    /*
    |--------------------------------------------------------------------------
    | En celular mostramos solamente los primeros cuatro.
    |--------------------------------------------------------------------------
    */

    .page-home
    .home-featured-product-card:nth-child(5) {
        display: none;
    }


    .page-home .home-featured-product-card__number {
        margin-bottom: 42px;
    }


    .page-home .home-featured-product-card h3 {
        font-size: 20px;
    }


    .page-home .home-featured-product-card p {
        font-size: 12px;

        line-height: 1.5;
    }

}


/* ==========================================================================
   SMALL MOBILE
   ========================================================================== */

@media (max-width: 520px) {

    .page-home .home-reference-banner {
        margin-bottom: 50px !important;
    }


    .page-home .home-featured-products {
        width:
            calc(100% - 24px) !important;
    }


    .page-home .home-featured-product-card {
        min-height: 175px;

        padding: 18px 15px 20px;
    }


    .page-home .home-featured-product-card__number {
        margin-bottom: 34px;

        font-size: 9px;
    }


    .page-home .home-featured-product-card h3 {
        margin-bottom: 8px;

        font-size: 18px;
    }


    .page-home .home-featured-product-card p {
        font-size: 11px;
    }

}

/* ==========================================================================
   FRAME
   ========================================================================== */

.home-reference-banner__frame {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius:
        var(--radius-xl);

    background:
        #08050D;

    box-shadow:
        var(--shadow-medium);
}


/* ==========================================================================
   IMAGE
   ========================================================================== */

.home-reference-banner__image {
    width: 100%;
    height: auto;

    display: block;

    margin: 0;

    object-fit: contain;

    object-position: center;

    user-select: none;

    -webkit-user-drag: none;
}


/* ==========================================================================
   SEO TITLE
   ========================================================================== */

.home-reference-banner__seo-title {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 768px) {

    .home-reference-banner {
        width:
            calc(100% - 28px) !important;

        margin:
            18px auto
            42px !important;
    }


    .home-reference-banner__frame {
        border-radius:
            var(--radius-lg);
    }

}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 520px) {

    .home-reference-banner {
        width:
            calc(100% - 24px) !important;

        margin:
            14px auto
            38px !important;
    }


    .home-reference-banner__frame {
        border-radius:
            18px;
    }


    .home-reference-banner__image {
        width: 100%;

        height: auto;

        object-fit: contain;
    }

}
/* =========================================================
   HOME BANNER FULL WIDTH
========================================================= */

.home-banner {
    position: relative;
    width: 100vw;
    min-height: clamp(560px, 82vh, 900px);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    background: #0b0a10;
}

.home-banner__media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.home-banner__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.home-banner__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(7, 7, 12, 0.95) 0%,
            rgba(18, 8, 36, 0.88) 18%,
            rgba(34, 8, 67, 0.72) 34%,
            rgba(29, 12, 48, 0.45) 50%,
            rgba(13, 11, 20, 0.14) 72%,
            rgba(13, 11, 20, 0.04) 100%
        );
}

.home-banner__fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 220px;
    z-index: 3;
    background:
        linear-gradient(
            to bottom,
            rgba(246, 246, 247, 0) 0%,
            rgba(246, 246, 247, 0.18) 35%,
            rgba(246, 246, 247, 0.52) 68%,
            #f6f6f7 100%
        );
}

.home-banner__content {
    position: relative;
    z-index: 4;
    max-width: 760px;
    min-height: clamp(560px, 82vh, 900px);
    padding:
        clamp(100px, 10vw, 140px)
        clamp(24px, 7vw, 80px)
        clamp(120px, 14vw, 180px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.home-banner__eyebrow {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-banner__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(3rem, 7vw, 6.4rem);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.home-banner__title span {
    color: #6d2cff;
}

.home-banner__divider {
    width: min(420px, 72%);
    height: 2px;
    margin: 26px 0 26px;
    background: linear-gradient(
        90deg,
        rgba(175, 97, 255, 0.95) 0%,
        rgba(175, 97, 255, 0.45) 55%,
        rgba(175, 97, 255, 0) 100%
    );
}

.home-banner__text {
    max-width: 520px;
    margin: 0 0 42px;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(1.1rem, 1.8vw, 2rem);
    line-height: 1.4;
    font-weight: 400;
}

.home-banner__features {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 18px;
    width: 100%;
    max-width: 880px;
}

.home-banner__feature {
    position: relative;
    padding: 0 18px 0 0;
}

.home-banner__feature:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 0;
    width: 1px;
    height: 56px;
    background: rgba(180, 125, 255, 0.35);
}

.home-banner__feature strong {
    display: block;
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.2;
}

.home-banner__feature span {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {
    .home-banner__content {
        max-width: 680px;
    }

    .home-banner__features {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
        max-width: 520px;
        gap: 20px 24px;
    }

    .home-banner__feature:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .home-banner {
        min-height: auto;
    }

    .home-banner__content {
        min-height: 720px;
        padding: 90px 22px 115px;
        max-width: 100%;
    }

    .home-banner__title {
        font-size: clamp(2.5rem, 12vw, 4.4rem);
        line-height: 0.98;
    }

    .home-banner__divider {
        width: 72%;
        margin: 22px 0;
    }

    .home-banner__text {
        font-size: 1.05rem;
        max-width: 100%;
        margin-bottom: 34px;
    }

    .home-banner__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
        gap: 18px 18px;
    }

    .home-banner__feature {
        padding-right: 0;
    }

    .home-banner__feature::after {
        display: none !important;
    }

    .home-banner__fade {
        height: 170px;
    }
}

@media (max-width: 480px) {
    .home-banner__content {
        padding: 82px 18px 105px;
        min-height: 660px;
    }

    .home-banner__eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.16em;
    }

    .home-banner__text {
        font-size: 0.98rem;
    }

    .home-banner__features {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .home-banner__feature strong {
        font-size: 0.82rem;
    }

    .home-banner__feature span {
        font-size: 0.78rem;
    }
}
/* ==========================================================================
   FERRODEI HOME HERO - IMAGE ONLY / FULL WIDTH
   ========================================================================== */


/*
|--------------------------------------------------------------------------
| HERO SECTION
|--------------------------------------------------------------------------
|
| La imagen YA contiene:
| - título
| - subtítulo
| - iconos
| - fotografía
|
| No agregamos contenido HTML encima.
|
*/

body.page-home
.site-main
> .home-hero-banner {
    position: relative;

    width: 100vw !important;
    max-width: none !important;

    margin:
        0
        calc(50% - 50vw)
        72px !important;

    padding: 0 !important;

    overflow: hidden;

    background: #0B0710;
}


/* ==========================================================================
   HERO IMAGE
   ========================================================================== */

body.page-home
.home-hero-banner__image {
    width: 100%;
    height: auto;

    display: block;

    margin: 0;

    object-fit: contain;
    object-position: center;

    transform: none;

    user-select: none;

    -webkit-user-drag: none;
}


/* ==========================================================================
   SOFT TRANSITION INTO PAGE
   ========================================================================== */

body.page-home
.home-hero-banner::after {
    content: "";

    position: absolute;

    z-index: 2;

    left: 0;
    right: 0;
    bottom: 0;

    height: clamp(70px, 8vw, 150px);

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(246, 246, 247, 0) 0%,
            rgba(246, 246, 247, 0.03) 18%,
            rgba(246, 246, 247, 0.14) 42%,
            rgba(246, 246, 247, 0.48) 72%,
            #F6F6F7 100%
        );
}


/* ==========================================================================
   LARGE DESKTOP
   ========================================================================== */

@media (min-width: 1400px) {

    body.page-home
    .home-hero-banner__image {
        width: 100%;
        height: auto;
    }

}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 768px) {

    body.page-home
    .site-main
    > .home-hero-banner {
        width: 100vw !important;

        margin:
            0
            calc(50% - 50vw)
            48px !important;
    }


    body.page-home
    .home-hero-banner__image {
        width: 100%;
        height: auto;

        object-fit: contain;
        object-position: center top;
    }


    body.page-home
    .home-hero-banner::after {
        height: 70px;
    }

}
/* ==========================================================================
   FERRODEI HOME 2026
   PREMIUM INDUSTRIAL / ALSO-INSPIRED
   ========================================================================== */


/* ==========================================================================
   HOME BASE
   ========================================================================== */

.page-home .site-main {
    overflow: hidden;
}


/* ==========================================================================
   HERO - FULL BLEED / IMAGE ONLY
   ========================================================================== */

body.page-home
.site-main
> .fd-home-hero {
    position: relative;

    width: 100vw !important;
    max-width: none !important;

    height:
        clamp(
            620px,
            72vh,
            820px
        );

    margin:
        0
        calc(50% - 50vw)
        0 !important;

    padding: 0 !important;

    overflow: hidden;

    background:
        #09060D;
}


/*
|--------------------------------------------------------------------------
| Blurred ambient layer.
| Llena pantallas muy anchas sin deformar el arte.
|--------------------------------------------------------------------------
*/

.fd-home-hero__ambient {
    position: absolute;

    inset: -35px;

    z-index: 0;

    background-image:
        url('/assets/img/hero/banner-home-principal.png');

    background-size: cover;
    background-position: center;

    filter:
        blur(30px);

    transform:
        scale(1.06);

    opacity:
        .72;
}


.fd-home-hero__ambient::after {
    content: '';

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(9, 6, 13, .45),
            rgba(9, 6, 13, .08) 50%,
            rgba(9, 6, 13, .34)
        );
}


/*
|--------------------------------------------------------------------------
| Main artwork.
|--------------------------------------------------------------------------
*/

.fd-home-hero__visual {
    position: absolute;

    z-index: 1;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;
}


.fd-home-hero__image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
    object-position: center;

    user-select: none;

    -webkit-user-drag: none;
}


/*
|--------------------------------------------------------------------------
| Fade into page background.
|--------------------------------------------------------------------------
*/

.fd-home-hero__fade {
    position: absolute;

    z-index: 3;

    left: 0;
    right: 0;
    bottom: -1px;

    height:
        clamp(
            90px,
            10vw,
            170px
        );

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(246, 246, 247, 0) 0%,
            rgba(246, 246, 247, .03) 18%,
            rgba(246, 246, 247, .18) 47%,
            rgba(246, 246, 247, .65) 78%,
            #F6F6F7 100%
        );
}


/* SEO H1 */

.fd-home-hero__seo-title {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* ==========================================================================
   INTRO
   ========================================================================== */

.fd-home-intro {
    padding:
        105px
        0
        96px;
}


.fd-home-intro__top {
    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(300px, .7fr);

    gap:
        clamp(
            60px,
            9vw,
            150px
        );

    align-items:
        end;

    padding-bottom:
        72px;
}


.fd-home-intro__top h2 {
    max-width:
        780px;

    margin: 0;

    font-size:
        clamp(
            46px,
            5vw,
            72px
        );

    line-height:
        .98;

    letter-spacing:
        -.055em;
}


.fd-home-intro__top h2 span {
    display: block;

    color:
        var(--violet);
}


.fd-home-intro__copy {
    max-width:
        470px;
}


.fd-home-intro__copy > p {
    margin:
        0
        0
        30px;

    font-size:
        17px;

    line-height:
        1.72;
}


/* ==========================================================================
   ARROW LINK
   ========================================================================== */

.fd-home-arrow-link {
    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    min-width:
        185px;

    padding:
        0
        0
        8px;

    border-bottom:
        1px solid
        var(--violet);

    color:
        var(--violet);

    font-size:
        13px;

    font-weight:
        650;

    transition:
        gap
        var(--transition-slow);
}


.fd-home-arrow-link:hover {
    gap:
        40px;
}


/* ==========================================================================
   INTRO SECTORS
   ========================================================================== */

.fd-home-intro__sectors {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);
}


.fd-home-intro__sectors > div {
    min-height:
        120px;

    display: flex;

    flex-direction: column;
    justify-content: space-between;

    padding:
        20px
        24px;

    border-right:
        1px solid
        var(--border);
}


.fd-home-intro__sectors > div:last-child {
    border-right: 0;
}


.fd-home-intro__sectors span {
    color:
        var(--violet);

    font-size:
        9px;

    font-weight:
        700;

    letter-spacing:
        .13em;
}


.fd-home-intro__sectors strong {
    color:
        var(--text-primary);

    font-size:
        17px;

    font-weight:
        600;
}


/* ==========================================================================
   SECTION HEADING
   ========================================================================== */

.fd-home-section-heading {
    display: flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    gap:
        40px;

    margin-bottom:
        42px;
}


.fd-home-section-heading h2 {
    margin: 0;

    font-size:
        clamp(
            42px,
            4.6vw,
            66px
        );

    line-height:
        .96;

    letter-spacing:
        -.05em;
}


.fd-home-section-heading h2 span {
    display: block;

    color:
        var(--violet);
}


/* ==========================================================================
   PRODUCTS
   ========================================================================== */

.fd-home-products {
    padding:
        80px
        0
        115px;
}


.fd-home-products__grid {
    display: grid;

    grid-template-columns:
        repeat(
            5,
            minmax(0, 1fr)
        );

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);
}


/* ==========================================================================
   PRODUCT
   ========================================================================== */

.fd-home-product {
    position: relative;

    min-width: 0;
    min-height: 320px;

    display: flex;

    flex-direction: column;
    justify-content: space-between;

    padding:
        25px
        22px
        30px;

    overflow: hidden;

    border-right:
        1px solid
        var(--border);

    background:
        transparent;

    transition:
        background-color
        var(--transition-slow),
        transform
        var(--transition-slow);
}


.fd-home-product:last-child {
    border-right: 0;
}


.fd-home-product::before {
    content: '';

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--violet),
            var(--violet-reflection)
        );

    transform:
        scaleX(0);

    transform-origin:
        left;

    transition:
        transform
        var(--transition-slow);
}


.fd-home-product:hover {
    background:
        #FFFFFF;

    transform:
        translateY(-3px);
}


.fd-home-product:hover::before {
    transform:
        scaleX(1);
}


.fd-home-product__top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    color:
        var(--violet);

    font-size:
        10px;

    font-weight:
        700;
}


.fd-home-product__top
span:last-child {
    font-size:
        18px;

    color:
        var(--steel);
}


.fd-home-product small {
    display: block;

    margin-bottom:
        10px;

    color:
        var(--steel);

    font-size:
        9px;

    font-weight:
        700;

    letter-spacing:
        .12em;

    text-transform:
        uppercase;
}


.fd-home-product h3 {
    margin:
        0
        0
        14px;

    font-size:
        clamp(
            24px,
            2vw,
            31px
        );

    letter-spacing:
        -.04em;
}


.fd-home-product p {
    margin: 0;

    font-size:
        13px;

    line-height:
        1.62;
}


/* ==========================================================================
   DARK VALUE SECTION
   ========================================================================== */

body.page-home
.site-main
> .fd-home-value {
    width:
        100vw !important;

    max-width:
        none !important;

    margin:
        0
        calc(50% - 50vw) !important;

    padding:
        0 !important;

    background:
        radial-gradient(
            circle at 70% 20%,
            rgba(112, 65, 138, .20),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #100C14,
            #17111B 48%,
            #090A0C
        );

    color:
        #FFFFFF;
}


.fd-home-value__inner {
    width:
        min(
            calc(100% - 48px),
            var(--container-width)
        );

    margin:
        0 auto;

    padding:
        105px
        0
        110px;
}


.fd-home-value__heading {
    max-width:
        850px;

    margin-bottom:
        62px;
}


.fd-home-value__heading h2 {
    margin: 0;

    color:
        #FFFFFF;

    font-size:
        clamp(
            43px,
            5vw,
            68px
        );

    line-height:
        .98;

    letter-spacing:
        -.05em;
}


.fd-home-value__heading h2 span {
    display: block;

    color:
        #AE87C2;
}


/* ==========================================================================
   VALUE GRID
   ========================================================================== */

.fd-home-value__grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    border-top:
        1px solid
        rgba(255, 255, 255, .14);

    border-bottom:
        1px solid
        rgba(255, 255, 255, .14);
}


.fd-home-value-card {
    min-height:
        310px;

    display: flex;

    flex-direction: column;
    justify-content: space-between;

    padding:
        24px
        24px
        30px;

    border-right:
        1px solid
        rgba(255, 255, 255, .14);
}


.fd-home-value-card:last-child {
    border-right:
        0;
}


.fd-home-value-card__number {
    color:
        #C89FE0;

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        .13em;
}


.fd-home-value-card h3 {
    margin:
        0
        0
        13px;

    color:
        #FFFFFF;

    font-size:
        23px;

    letter-spacing:
        -.03em;
}


.fd-home-value-card strong {
    display: block;

    margin-bottom:
        10px;

    color:
        rgba(255, 255, 255, .92);

    font-size:
        13px;
}


.fd-home-value-card p {
    margin: 0;

    color:
        rgba(255, 255, 255, .62);

    font-size:
        13px;

    line-height:
        1.63;
}


/* ==========================================================================
   QUALITY
   ========================================================================== */

.fd-home-quality {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(360px, .85fr);

    margin-top:
        110px !important;

    margin-bottom:
        115px !important;

    overflow:
        hidden;

    border:
        1px solid
        var(--border);

    border-radius:
        26px;

    background:
        #FFFFFF;
}


.fd-home-quality__media {
    position: relative;

    min-height:
        570px;

    overflow:
        hidden;

    background:
        var(--steel-light);
}


.fd-home-quality__media img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit:
        cover;

    transition:
        transform
        1s
        cubic-bezier(
            .22,
            1,
            .36,
            1
        );
}


.fd-home-quality:hover
.fd-home-quality__media img {
    transform:
        scale(1.025);
}


.fd-home-quality__index {
    position: absolute;

    left:
        24px;

    bottom:
        22px;

    padding:
        8px
        12px;

    background:
        rgba(10, 10, 12, .68);

    backdrop-filter:
        blur(8px);

    border-radius:
        999px;

    color:
        #FFFFFF;

    font-size:
        9px;

    font-weight:
        700;

    letter-spacing:
        .11em;
}


.fd-home-quality__content {
    display: flex;

    flex-direction: column;
    justify-content: space-between;

    padding:
        clamp(
            42px,
            5vw,
            72px
        );
}


.fd-home-quality__content h2 {
    margin:
        0;

    font-size:
        clamp(
            38px,
            4vw,
            58px
        );

    line-height:
        .98;

    letter-spacing:
        -.05em;
}


.fd-home-quality__content h2 span {
    display: block;

    color:
        var(--violet);
}


.fd-home-quality__content
> div:last-child
> p {
    max-width:
        440px;

    margin:
        0
        0
        30px;

    font-size:
        16px;

    line-height:
        1.7;
}


/* ==========================================================================
   CTA
   ========================================================================== */

body.page-home
.site-main
> .fd-home-cta {
    width:
        100vw !important;

    max-width:
        none !important;

    margin:
        0
        calc(50% - 50vw) !important;

    padding:
        0 !important;

    background:
        linear-gradient(
            120deg,
            var(--violet-deep),
            var(--violet) 55%,
            #5F2A7B
        );
}


.fd-home-cta__inner {
    width:
        min(
            calc(100% - 48px),
            var(--container-width)
        );

    min-height:
        400px;

    margin:
        0 auto;

    display: flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    gap:
        60px;

    padding:
        72px
        0;
}


.fd-home-cta__inner h2 {
    max-width:
        820px;

    margin: 0;

    color:
        #FFFFFF;

    font-size:
        clamp(
            44px,
            5vw,
            72px
        );

    line-height:
        .97;

    letter-spacing:
        -.05em;
}


.fd-home-cta__inner h2 span {
    display: block;

    color:
        #D7C0E2;
}


.fd-home-cta__actions {
    flex:
        0
        0
        auto;

    display: flex;

    flex-direction:
        column;

    gap:
        10px;
}


.fd-home-cta__primary,
.fd-home-cta__secondary {
    min-width:
        215px;

    min-height:
        50px;

    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    gap:
        24px;

    padding:
        0
        20px;

    border-radius:
        999px;

    font-size:
        12px;

    font-weight:
        700;
}


.fd-home-cta__primary {
    background:
        #FFFFFF;

    color:
        var(--violet);
}


.fd-home-cta__secondary {
    justify-content:
        center;

    border:
        1px solid
        rgba(255, 255, 255, .32);

    color:
        #FFFFFF;
}


/* ==========================================================================
   HOME TABLET
   ========================================================================== */

@media (max-width: 980px) {

    .fd-home-intro__top {
        grid-template-columns:
            1fr;

        gap:
            35px;
    }


    .fd-home-products__grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );

        border-bottom:
            0;
    }


    .fd-home-product {
        border-bottom:
            1px solid
            var(--border);
    }


    .fd-home-product:nth-child(3) {
        border-right:
            0;
    }


    .fd-home-value__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .fd-home-value-card:nth-child(2) {
        border-right:
            0;
    }


    .fd-home-value-card:nth-child(-n+2) {
        border-bottom:
            1px solid
            rgba(255, 255, 255, .14);
    }


    .fd-home-quality {
        grid-template-columns:
            1fr;
    }


    .fd-home-quality__media {
        min-height:
            430px;
    }

}


/* ==========================================================================
   HOME MOBILE
   ========================================================================== */

@media (max-width: 768px) {

    body.page-home
    .site-main
    > .fd-home-hero {
        height:
            auto;

        min-height:
            0;
    }


    .fd-home-hero__ambient {
        display:
            none;
    }


    .fd-home-hero__visual {
        position:
            relative;

        inset:
            auto;
    }


    .fd-home-hero__image {
        width:
            100%;

        height:
            auto;

        object-fit:
            contain;
    }


    .fd-home-hero__fade {
        height:
            72px;
    }


    .fd-home-intro {
        padding:
            70px
            0;
    }


    .fd-home-intro__top {
        padding-bottom:
            48px;
    }


    .fd-home-intro__top h2 {
        font-size:
            clamp(
                39px,
                11vw,
                55px
            );
    }


    .fd-home-intro__sectors {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .fd-home-intro__sectors
    > div:nth-child(2) {
        border-right:
            0;
    }


    .fd-home-intro__sectors
    > div:nth-child(-n+2) {
        border-bottom:
            1px solid
            var(--border);
    }


    .fd-home-section-heading {
        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            22px;

        margin-bottom:
            30px;
    }


    .fd-home-section-heading h2 {
        font-size:
            42px;
    }


    .fd-home-products {
        padding:
            64px
            0
            80px;
    }


    .fd-home-products__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        border-bottom:
            1px solid
            var(--border);
    }


    .fd-home-product {
        min-height:
            245px;

        padding:
            19px
            16px
            22px;

        border-right:
            1px solid
            var(--border);
    }


    .fd-home-product:nth-child(2n) {
        border-right:
            0;
    }


    /*
    |--------------------------------------------------------------------------
    | Solo 4 productos en celular.
    |--------------------------------------------------------------------------
    */

    .fd-home-product:nth-child(5) {
        display:
            none;
    }


    .fd-home-product h3 {
        font-size:
            22px;
    }


    .fd-home-product p {
        font-size:
            12px;
    }


    .fd-home-value__inner {
        width:
            calc(100% - 28px);

        padding:
            78px
            0
            82px;
    }


    .fd-home-value__heading {
        margin-bottom:
            42px;
    }


    .fd-home-value__heading h2 {
        font-size:
            42px;
    }


    .fd-home-value-card {
        min-height:
            250px;

        padding:
            20px
            17px
            23px;
    }


    .fd-home-quality {
        margin-top:
            76px !important;

        margin-bottom:
            76px !important;

        border-radius:
            20px;
    }


    .fd-home-quality__media {
        min-height:
            320px;
    }


    .fd-home-quality__content {
        gap:
            60px;

        padding:
            36px
            26px
            40px;
    }


    .fd-home-cta__inner {
        width:
            calc(100% - 28px);

        min-height:
            480px;

        align-items:
            flex-start;

        justify-content:
            space-between;

        flex-direction:
            column;

        padding:
            56px
            0;
    }


    .fd-home-cta__inner h2 {
        font-size:
            44px;
    }


    .fd-home-cta__actions {
        width:
            100%;
    }


    .fd-home-cta__primary,
    .fd-home-cta__secondary {
        width:
            100%;
    }

}


/* ==========================================================================
   SMALL MOBILE
   ========================================================================== */

@media (max-width: 520px) {

    .fd-home-intro__sectors
    > div {
        min-height:
            100px;

        padding:
            16px;
    }


    .fd-home-intro__sectors
    strong {
        font-size:
            14px;
    }


    .fd-home-product {
        min-height:
            220px;

        padding:
            17px
            14px
            19px;
    }


    .fd-home-product small {
        font-size:
            7px;
    }


    .fd-home-product h3 {
        font-size:
            20px;
    }


    .fd-home-product p {
        font-size:
            11px;
    }


    .fd-home-value__grid {
        grid-template-columns:
            1fr;
    }


    .fd-home-value-card {
        min-height:
            210px;

        border-right:
            0;

        border-bottom:
            1px solid
            rgba(255, 255, 255, .14);
    }


    .fd-home-value-card:last-child {
        border-bottom:
            0;
    }


    .fd-home-quality__media {
        min-height:
            270px;
    }


    .fd-home-quality__content h2 {
        font-size:
            39px;
    }


    .fd-home-cta__inner h2 {
        font-size:
            40px;
    }

}