/* ============================================
   NOVACORE MINERALS — MAIN STYLESHEET
   Color palette: Charcoal/Slate + Gold/Amber
   Typography: Outfit (headings) + DM Sans (body)
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
    /* Brand Colors */
    --gold:          #c9a227;
    --gold-light:    #e0c358;
    --gold-dark:     #a07f10;
    --charcoal:      #1a1a2e;
    --charcoal-mid:  #16213e;
    --slate:         #0f3460;
    --slate-light:   #1a4a7a;
    --dark:          #0d0d1a;
    --dark-surface:  #141428;

    /* Neutrals */
    --white:         #ffffff;
    --off-white:     #f7f6f2;
    --cream:         #f0ede4;
    --gray-100:      #e8e6e0;
    --gray-200:      #d1cfc7;
    --gray-300:      #a8a59d;
    --gray-400:      #7a7770;
    --gray-500:      #52504a;
    --gray-600:      #3a3935;
    --gray-700:      #2a2926;

    /* Typography */
    --font-heading:  'Outfit', sans-serif;
    --font-body:     'DM Sans', sans-serif;

    /* Sizing */
    --container:     1240px;
    --section-pad:   100px;
    --nav-height:    80px;
    --radius:        8px;
    --radius-lg:     16px;
    --radius-xl:     24px;

    /* Shadows */
    --shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:     0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg:     0 20px 60px rgba(0,0,0,0.18);
    --shadow-gold:   0 4px 20px rgba(201,162,39,0.25);

    /* Transitions */
    --ease:          cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
    --duration:      0.4s;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    background: var(--off-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--duration) var(--ease);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
}

::selection {
    background: var(--gold);
    color: var(--charcoal);
}

/* ---- Utility ---- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-pad) 0;
}

.section--dark {
    background: var(--charcoal);
    color: var(--gray-200);
}

.section__tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 16px;
}

.section__tag--light {
    color: var(--gold-light);
}

.section__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 20px;
    max-width: 700px;
}

.section__title em {
    font-style: normal;
    color: var(--gold-dark);
}

.section__title--light {
    color: var(--white);
}

.section__desc {
    font-size: 17px;
    max-width: 600px;
    line-height: 1.8;
    color: var(--gray-400);
}

.section__desc--light {
    color: var(--gray-300);
}

.section__header--center {
    text-align: center;
    margin-bottom: 60px;
}

.section__header--center .section__title,
.section__header--center .section__desc {
    margin-left: auto;
    margin-right: auto;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease);
    cursor: pointer;
    white-space: nowrap;
}

.btn--primary {
    background: var(--gold);
    color: var(--charcoal);
}

.btn--primary:hover {
    background: var(--gold-light);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn--outline {
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--white);
    background: rgba(255,255,255,0.05);
}

.btn--outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201,162,39,0.08);
}

.btn--lg {
    padding: 18px 40px;
    font-size: 16px;
}

.btn--full {
    width: 100%;
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader__inner {
    text-align: center;
}

.preloader__logo {
    width: 80px;
    height: auto;
    margin-bottom: 24px;
    animation: pulse 1.5s ease infinite;
}

.preloader__bar {
    width: 160px;
    height: 3px;
    background: var(--gray-600);
    border-radius: 3px;
    overflow: hidden;
}

.preloader__fill {
    width: 0;
    height: 100%;
    background: var(--gold);
    border-radius: 3px;
    animation: preloaderFill 1.8s var(--ease-out) forwards;
}

@keyframes preloaderFill {
    to { width: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.5; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: all var(--duration) var(--ease);
}

.header.scrolled {
    background: rgba(26,26,46,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav__logo img {
    height: 50px;
    width: auto;
    transition: transform var(--duration) var(--ease);
}

.nav__logo:hover img {
    transform: scale(1.05);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease);
    position: relative;
}

.nav__link:hover,
.nav__link.active {
    color: var(--white);
}

.nav__link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.nav__link--cta {
    background: var(--gold);
    color: var(--charcoal) !important;
    font-weight: 600;
    margin-left: 8px;
}

.nav__link--cta:hover {
    background: var(--gold-light);
    box-shadow: var(--shadow-gold);
}

.nav__link--cta.active::after { display: none; }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13,13,26,0.92) 0%,
        rgba(26,26,46,0.85) 40%,
        rgba(15,52,96,0.75) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 80px;
}

.hero__badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    padding: 10px 20px;
    border: 1px solid rgba(201,162,39,0.3);
    border-radius: 100px;
    margin-bottom: 28px;
    background: rgba(201,162,39,0.06);
}

.hero__title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 24px;
    max-width: 800px;
    letter-spacing: -1px;
}

.hero__title--accent {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255,255,255,0.65);
    max-width: 580px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero__stat {
    display: flex;
    flex-direction: column;
}

.hero__stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.hero__stat-suffix {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
}

.hero__stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 6px;
    font-weight: 500;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.4);
    z-index: 2;
}

.hero__scroll-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    writing-mode: vertical-rl;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: var(--gold);
    opacity: 0.5;
    animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__images {
    position: relative;
}

.about__img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__img-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about__img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 5px solid var(--off-white);
    box-shadow: var(--shadow-md);
}

.about__img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__img-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    opacity: 0.3;
    z-index: -1;
}

.about__text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--gray-500);
}

.about__pillars {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about__pillar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about__pillar-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201,162,39,0.1);
    color: var(--gold-dark);
    border-radius: var(--radius);
}

.about__pillar strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--charcoal);
    margin-bottom: 2px;
}

.about__pillar span {
    font-size: 14px;
    color: var(--gray-400);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products__showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--dark-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all var(--duration) var(--ease);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201,162,39,0.2);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.product-card__image {
    height: 260px;
    overflow: hidden;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-card__image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform var(--duration) var(--ease);
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__content {
    padding: 28px;
}

.product-card__tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    background: rgba(201,162,39,0.1);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.product-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.product-card__desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.product-card__specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 16px;
}

.product-card__specs li {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.product-card__specs li span {
    color: var(--gray-400);
}

.product-card__specs li strong {
    color: var(--gray-200);
    font-weight: 600;
}

.products__additional {
    margin-top: 60px;
    text-align: center;
}

.products__additional-title {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 24px;
}

.products__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.products__tag-item {
    font-size: 14px;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    color: var(--gray-300);
    transition: all var(--duration) var(--ease);
}

.products__tag-item:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201,162,39,0.06);
}

/* ============================================
   FEATURE BANNER
   ============================================ */
.feature-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.feature-banner__bg {
    position: absolute;
    inset: 0;
}

.feature-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,13,26,0.88), rgba(15,52,96,0.82));
}

.feature-banner__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.feature-banner__title {
    font-size: clamp(24px, 3.5vw, 38px);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 16px;
}

.feature-banner__text {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 32px;
    line-height: 1.8;
}

/* ============================================
   INDUSTRIES SECTION
   ============================================ */
.industries__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.industry-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
    border: 1px solid var(--gray-100);
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201,162,39,0.2);
}

.industry-card__image {
    height: 200px;
    overflow: hidden;
}

.industry-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.industry-card:hover .industry-card__image img {
    transform: scale(1.08);
}

.industry-card__content {
    padding: 24px;
}

.industry-card__content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--charcoal);
}

.industry-card__content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-400);
}

.industry-card--highlight {
    background: linear-gradient(135deg, var(--charcoal), var(--charcoal-mid));
    border-color: transparent;
}

.industry-card--highlight .industry-card__content h3 {
    color: var(--white);
}

.industry-card--highlight .industry-card__content p {
    color: var(--gray-300);
}

.industry-card__content--full {
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    justify-content: center;
}

.industry-card__icon {
    color: var(--gold);
    margin-bottom: 20px;
}

/* ============================================
   TECHNICAL SECTION
   ============================================ */
.technical__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.technical__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-300);
    margin-bottom: 36px;
}

.technical__capabilities {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.technical__cap {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.technical__cap-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201,162,39,0.1);
    color: var(--gold);
    border-radius: var(--radius);
}

.technical__cap strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--white);
    margin-bottom: 4px;
}

.technical__cap p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
}

.technical__process {
    background: var(--dark-surface);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    border: 1px solid rgba(255,255,255,0.06);
}

.technical__step {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
}

.technical__step-num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}

.technical__step-label {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.technical__step-desc {
    font-size: 13px;
    color: var(--gray-400);
}

.technical__step-connector {
    width: 2px;
    height: 24px;
    background: linear-gradient(to bottom, var(--gold), rgba(201,162,39,0.1));
    margin: 4px 0 4px 14px;
    border-radius: 2px;
}

/* ============================================
   QUALITY SECTION
   ============================================ */
.quality__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.quality__card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--duration) var(--ease);
}

.quality__card:hover {
    border-color: rgba(201,162,39,0.25);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.quality__card-icon {
    color: var(--gold-dark);
    margin-bottom: 20px;
}

.quality__card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.quality__card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-400);
}

.quality__outcomes {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
}

.quality__outcomes h3 {
    font-size: 20px;
    margin-bottom: 24px;
}

.quality__outcomes-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px 40px;
}

.quality__outcome {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
}

.quality__outcome svg {
    color: var(--gold-dark);
    flex-shrink: 0;
}

/* ============================================
   VISION SECTION
   ============================================ */
.vision {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.vision__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--slate) 50%, var(--charcoal-mid) 100%);
}

.vision__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(201,162,39,0.08), transparent 60%);
}

.vision__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.vision__title {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.vision__text {
    font-size: 17px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 48px;
}

.vision__pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.vision__pillar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--duration) var(--ease);
}

.vision__pillar-item:hover {
    border-color: rgba(201,162,39,0.3);
    background: rgba(201,162,39,0.05);
}

.vision__pillar-number {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: var(--gold);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-400);
    margin-bottom: 36px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact__detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact__detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201,162,39,0.1);
    color: var(--gold-dark);
    border-radius: var(--radius);
}

.contact__detail strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--charcoal);
    margin-bottom: 2px;
}

.contact__detail span,
.contact__detail a {
    font-size: 14px;
    color: var(--gray-400);
}

.contact__detail a:hover {
    color: var(--gold-dark);
}

/* Form */
.contact__form-wrap {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.contact__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form__group--full {
    grid-column: 1 / -1;
}

.form__label {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form__input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--charcoal);
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease);
    outline: none;
}

.form__input::placeholder {
    color: var(--gray-300);
}

.form__input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
    background: var(--white);
}

.form__input.error {
    border-color: #e74c3c;
}

.form__error {
    display: block;
    font-size: 12px;
    color: #e74c3c;
    margin-top: 4px;
    min-height: 16px;
}

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237a7770' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.btn__loading {
    display: none;
    animation: spin 1s linear infinite;
}

.btn.loading .btn__text { display: none; }
.btn.loading .btn__loading { display: inline-block; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

.contact__success {
    text-align: center;
    padding: 40px 20px;
}

.contact__success svg {
    color: var(--gold-dark);
    margin-bottom: 16px;
}

.contact__success h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.contact__success p {
    color: var(--gray-400);
    font-size: 15px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    padding: 60px 0 0;
    color: var(--gray-400);
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__logo {
    width: 70px;
    height: auto;
    margin-bottom: 16px;
}

.footer__tagline {
    font-size: 14px;
    line-height: 1.7;
    max-width: 300px;
    color: var(--gray-400);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer__col h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.footer__col a,
.footer__col span {
    display: block;
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 10px;
    transition: color var(--duration) var(--ease);
}

.footer__col a:hover {
    color: var(--gold);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
    color: var(--gray-500);
}

.footer__motto {
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--gold-dark);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--charcoal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--duration) var(--ease);
    box-shadow: var(--shadow-gold);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0);
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-pad: 80px;
    }

    .about__grid {
        gap: 50px;
    }

    .technical__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .industries__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quality__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vision__pillars {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-pad: 60px;
        --nav-height: 70px;
    }

    /* Mobile Nav */
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        background: var(--charcoal);
        gap: 4px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    }

    .nav__menu.open {
        transform: translateX(0);
    }

    .nav__link {
        font-size: 16px;
        padding: 12px 0;
        width: 100%;
    }

    .nav__link.active::after {
        bottom: 8px;
        left: 0;
        right: auto;
        width: 24px;
    }

    .nav__link--cta {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
    }

    .nav__toggle.open .nav__toggle-bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__toggle.open .nav__toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.open .nav__toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Hero */
    .hero__title {
        font-size: clamp(32px, 8vw, 48px);
    }

    .hero__stats {
        gap: 24px;
    }

    .hero__stat-number {
        font-size: 32px;
    }

    .hero__scroll {
        display: none;
    }

    /* About */
    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__img-secondary {
        right: 10px;
        bottom: -20px;
        width: 140px;
        height: 140px;
    }

    /* Products */
    .products__showcase {
        grid-template-columns: 1fr;
    }

    /* Industries */
    .industries__grid {
        grid-template-columns: 1fr;
    }

    /* Quality */
    .quality__grid {
        grid-template-columns: 1fr;
    }

    .quality__outcomes-grid {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    /* Vision */
    .vision__pillars {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    /* Contact */
    .contact__form {
        grid-template-columns: 1fr;
    }

    .contact__form-wrap {
        padding: 28px 20px;
    }

    /* Footer */
    .footer__links {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero__badge {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hero__stat-divider {
        display: none;
    }

    .vision__pillars {
        grid-template-columns: 1fr;
    }
}
