/* =========================================================
   METALS PAGE
========================================================= */

:root {
    --metals-red: #e30613;
    --metals-red-dark: #b9000a;
    --metals-black: #151515;
    --metals-dark: #222222;
    --metals-text: #555555;
    --metals-light: #f6f6f4;
    --metals-border: #dededb;
    --metals-white: #ffffff;
}


/* =========================================================
   GLOBAL
========================================================= */

.metals-page {
    width: 100%;
    overflow-x: hidden;
    background: #ffffff;
    color: var(--metals-black);
}

.metals-page *,
.metals-page *::before,
.metals-page *::after {
    box-sizing: border-box;
}

.metals-container {
    width: min(1240px, calc(100% - 80px));
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.metals-hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: #111;
}

.metals-hero-image {
    position: absolute;
    inset: 0;
}

.metals-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.metals-hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.60) 45%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

.metals-hero-content {
    position: relative;
    z-index: 2;

    width: min(1240px, calc(100% - 80px));
    min-height: 620px;

    margin: 0 auto;
    padding: 80px 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    color: #ffffff;
}

.metals-eyebrow {
    margin-bottom: 22px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.metals-eyebrow::before {
    content: "";

    display: inline-block;

    width: 42px;
    height: 2px;

    margin-right: 14px;

    vertical-align: middle;

    background: var(--metals-red);
}

.metals-hero h1 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(60px, 8vw, 110px);
    font-weight: 400;
    line-height: 0.95;

    letter-spacing: -3px;
}

.metals-hero p {
    max-width: 650px;

    margin: 30px 0 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 18px;
    line-height: 1.8;
}


/* =========================================================
   CATEGORY NAV
========================================================= */

.metals-category-nav {
    position: sticky;
    top: 0;

    z-index: 900;

    width: 100%;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid var(--metals-border);

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
}

.metals-category-nav::-webkit-scrollbar {
    display: none;
}

.metals-category-nav-inner {
    width: min(1240px, calc(100% - 80px));
    min-height: 75px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    white-space: nowrap;
}

.metals-category-link {
    position: relative;

    min-height: 75px;

    padding: 0 27px;

    display: inline-flex;
    align-items: center;

    color: #555;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.3px;
    text-transform: uppercase;

    transition: color 0.25s ease;
}

.metals-category-link::after {
    content: "";

    position: absolute;

    left: 27px;
    right: 27px;
    bottom: 0;

    height: 3px;

    background: var(--metals-red);

    transform: scaleX(0);

    transition: transform 0.25s ease;
}

.metals-category-link:hover,
.metals-category-link.active {
    color: var(--metals-red);
}

.metals-category-link:hover::after,
.metals-category-link.active::after {
    transform: scaleX(1);
}


/* =========================================================
   COMMON
========================================================= */

.metals-section-label {
    display: block;

    margin-bottom: 15px;

    color: var(--metals-red);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2.5px;
    text-transform: uppercase;
}


/* =========================================================
   INTRO
========================================================= */

.metals-intro {
    padding: 110px 0;

    background: #ffffff;
}

.metals-intro h2 {
    max-width: 850px;

    margin: 0 0 28px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(42px, 5vw, 68px);
    font-weight: 400;
    line-height: 1.08;

    letter-spacing: -1px;
}

.metals-intro p {
    max-width: 750px;

    margin: 0;

    color: var(--metals-text);

    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   METAL SECTION
========================================================= */

.metal-section {
    padding: 115px 0;

    background: #ffffff;

    scroll-margin-top: 90px;
}

.metal-section-alt {
    background: var(--metals-light);
}


/* =========================================================
   METAL HEADING
========================================================= */

.metal-heading {
    display: grid;

    grid-template-columns: 160px 1fr;

    gap: 45px;

    align-items: center;

    margin-bottom: 65px;
}

.metal-symbol {
    width: 150px;
    height: 165px;

    padding: 18px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    position: relative;

    background: linear-gradient(
        145deg,
        #ffffff,
        #eeeeeb
    );

    border: 1px solid #d8d8d4;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.10);
}

.metal-symbol .atomic-number {
    position: absolute;

    top: 13px;
    left: 15px;

    color: #777;

    font-size: 15px;
}

.metal-symbol strong {
    display: block;

    color: var(--metals-red);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 64px;
    line-height: 1;

    text-align: center;
}

.metal-symbol small {
    display: block;

    margin-top: 7px;

    color: #666;

    font-size: 14px;

    text-align: center;
}

.metal-heading-content h2 {
    margin: 0 0 18px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(45px, 5vw, 68px);
    font-weight: 400;
    line-height: 1;
}

.metal-heading-content p {
    max-width: 750px;

    margin: 0;

    color: var(--metals-text);

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   CONTENT GRID
========================================================= */

.metal-content-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 45px;

    align-items: stretch;

    margin-bottom: 50px;
}


/* =========================================================
   IMAGES
========================================================= */

.metal-image,
.metal-feature-image,
.metal-image-wide {
    overflow: hidden;

    background: #ececea;
}

.metal-image {
    min-height: 400px;
}

.metal-image img,
.metal-feature-image img,
.metal-image-wide img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.metal-image:hover img,
.metal-feature-image:hover img,
.metal-image-wide:hover img {
    transform: scale(1.025);
}

.metal-feature-image {
    width: 100%;
    height: 500px;

    margin-bottom: 55px;
}

.metal-image-wide {
    width: 100%;
    max-height: 520px;

    margin: 45px 0;
}


/* =========================================================
   INFO BOX
========================================================= */

.metal-info {
    padding: 45px;

    background: var(--metals-black);

    color: #ffffff;
}

.metal-info h3 {
    margin: 0 0 30px;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 30px;
    font-weight: 400;
}

.metal-product-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.metal-product-list li {
    position: relative;

    padding: 11px 0 11px 25px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.10);

    color: rgba(255, 255, 255, 0.80);

    font-size: 14px;
    line-height: 1.65;
}

.metal-product-list li:last-child {
    border-bottom: 0;
}

.metal-product-list li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 20px;

    width: 7px;
    height: 7px;

    background: var(--metals-red);

    border-radius: 50%;
}


/* =========================================================
   SPECIFICATIONS
========================================================= */

.metal-specifications {
    margin-top: 55px;
}

.metal-specifications > h3,
.zirconium-composition h3 {
    margin: 0 0 30px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 34px;
    font-weight: 400;
}

.metal-table-wrapper {
    width: 100%;

    overflow-x: auto;

    background: #ffffff;

    border: 1px solid var(--metals-border);
}

.metal-table {
    width: 100%;

    border-collapse: collapse;

    min-width: 720px;
}

.metal-table th {
    padding: 18px 20px;

    background: var(--metals-black);

    color: #ffffff;

    text-align: left;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.5px;
}

.metal-table td {
    padding: 18px 20px;

    border-bottom: 1px solid #e2e2df;

    color: #444;

    font-size: 14px;
    line-height: 1.6;
}

.metal-table tbody tr:last-child td {
    border-bottom: 0;
}

.metal-table tbody tr:hover {
    background: #fafaf8;
}


/* =========================================================
   GRADE CARD
========================================================= */

.metal-grade-card {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    margin-top: 35px;

    border: 1px solid var(--metals-border);

    background: #ffffff;
}

.metal-grade-card > div {
    padding: 25px;

    border-right: 1px solid var(--metals-border);
}

.metal-grade-card > div:last-child {
    border-right: 0;
}

.metal-grade-card span {
    display: block;

    margin-bottom: 8px;

    color: #888;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.metal-grade-card strong {
    color: #222;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   ZIRCONIUM GALLERY
========================================================= */

.metal-gallery {
    display: grid;

    grid-template-columns: 1.35fr 0.65fr;

    gap: 20px;

    min-height: 500px;

    margin-bottom: 40px;
}

.metal-gallery-main,
.metal-gallery-secondary {
    overflow: hidden;

    background: #ddd;
}

.metal-gallery img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.metal-gallery-main:hover img,
.metal-gallery-secondary:hover img {
    transform: scale(1.025);
}

.zirconium-composition {
    margin-top: 45px;

    padding: 40px;

    background: var(--metals-black);

    color: #ffffff;
}

.zirconium-composition h3 {
    color: #ffffff;
}

.zirconium-composition p {
    max-width: 850px;

    margin: 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   CTA
========================================================= */

.metals-cta {
    padding: 110px 0;

    background: var(--metals-black);

    color: #ffffff;
}

.metals-cta-content {
    max-width: 850px;
}

.metals-cta h2 {
    margin: 0 0 25px;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(42px, 5vw, 65px);
    font-weight: 400;
    line-height: 1.08;
}

.metals-cta p {
    max-width: 650px;

    margin: 0 0 35px;

    color: rgba(255, 255, 255, 0.70);

    font-size: 16px;
    line-height: 1.8;
}

.metals-cta-button {
    display: inline-flex;

    align-items: center;

    gap: 20px;

    padding: 16px 25px;

    background: var(--metals-red);

    color: #ffffff;

    text-decoration: none;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.6px;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.metals-cta-button span {
    font-size: 20px;
}

.metals-cta-button:hover {
    background: var(--metals-red-dark);

    transform: translateY(-2px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .metals-container,
    .metals-hero-content {
        width: calc(100% - 50px);
    }

    .metal-heading {
        grid-template-columns: 135px 1fr;
        gap: 30px;
    }

    .metal-symbol {
        width: 130px;
        height: 145px;
    }

    .metal-symbol strong {
        font-size: 55px;
    }

    .metal-grade-card {
        grid-template-columns: repeat(2, 1fr);
    }

    .metal-grade-card > div:nth-child(2) {
        border-right: 0;
    }

    .metal-grade-card > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--metals-border);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .metals-container,
    .metals-hero-content {
        width: calc(100% - 36px);
    }

    .metals-hero,
    .metals-hero-content {
        min-height: 520px;
    }

    .metals-hero h1 {
        font-size: 58px;
    }

    .metals-hero p {
        font-size: 15px;
    }

    .metals-category-nav {
        position: relative;
    }

    .metals-category-nav-inner {
        width: max-content;
        min-width: 100%;

        justify-content: flex-start;
    }

    .metals-category-link {
        min-height: 62px;

        padding: 0 18px;

        font-size: 9px;
    }

    .metals-category-link::after {
        left: 18px;
        right: 18px;
    }

    .metals-intro {
        padding: 75px 0;
    }

    .metal-section {
        padding: 75px 0;

        scroll-margin-top: 20px;
    }

    .metal-heading {
        grid-template-columns: 1fr;

        gap: 30px;

        margin-bottom: 45px;
    }

    .metal-symbol {
        width: 115px;
        height: 130px;
    }

    .metal-symbol strong {
        font-size: 48px;
    }

    .metal-heading-content h2 {
        font-size: 44px;
    }

    .metal-content-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .metal-info {
        padding: 30px 25px;
    }

    .metal-image {
        min-height: 300px;
    }

    .metal-feature-image {
        height: 350px;
    }

    .metal-gallery {
        grid-template-columns: 1fr;

        min-height: auto;
    }

    .metal-gallery-main,
    .metal-gallery-secondary {
        height: 300px;
    }

    .metal-grade-card {
        grid-template-columns: 1fr;
    }

    .metal-grade-card > div {
        border-right: 0;
        border-bottom: 1px solid var(--metals-border);
    }

    .metal-grade-card > div:last-child {
        border-bottom: 0;
    }

    .metal-grade-card > div:nth-child(2) {
        border-bottom: 1px solid var(--metals-border);
    }

    .zirconium-composition {
        padding: 30px 25px;
    }

    .metals-cta {
        padding: 75px 0;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .metals-container,
    .metals-hero-content {
        width: calc(100% - 28px);
    }

    .metals-hero h1 {
        font-size: 50px;
    }

    .metals-intro h2,
    .metal-heading-content h2,
    .metals-cta h2 {
        font-size: 38px;
    }

    .metal-info {
        padding: 27px 20px;
    }

    .metal-info h3 {
        font-size: 26px;
    }

    .metal-feature-image {
        height: 280px;
    }

    .metal-gallery-main,
    .metal-gallery-secondary {
        height: 250px;
    }

}