/* Ardentis Pharma Custom CSS & Reference Design System */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --font-sans: 'Outfit', 'Sofia Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Colors */
    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;
    --color-slate-950: #090d16;

    --color-blue-50: #eef4f8;
    --color-blue-100: #dfeaf2;
    --color-blue-600: #33587B;
    --color-blue-700: #26435f;

    --color-cyan-50: #fdebed;
    --color-cyan-500: #ED3237;

    --color-brand-dark: #33587B;
    --color-brand-light: #ED3237;

    --color-teal-50: #f0fdfa;
    --color-teal-600: #0d9488;

    --color-red-50: #fef2f2;
    --color-red-100: #fee2e2;
    --color-red-600: #ED3237;

    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    background-color: var(--color-slate-50);
    color: var(--color-slate-900);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button, input, select, textarea {
    font-family: inherit;
}

/* Container */
.container-custom {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Preloader */
#ardentis-preloader {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(51, 88, 123, 0.96), rgba(22, 35, 48, 0.98)),
        radial-gradient(circle at 50% 35%, rgba(237, 50, 55, 0.18), transparent 42%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#ardentis-preloader.hidden-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-mark {
    position: relative;
    width: 168px;
    height: 52px;
    margin-bottom: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    overflow: hidden;
}

.loader-mark::before {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
}

.loader-mark-line {
    position: absolute;
    top: 50%;
    left: 18px;
    right: 18px;
    height: 2px;
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-50%);
}

.loader-mark-dot {
    position: absolute;
    top: 50%;
    left: 18px;
    width: 24px;
    height: 24px;
    background: #ED3237;
    border: 5px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(237, 50, 55, 0.45);
    animation: ardentisLoaderSlide 1.25s ease-in-out infinite alternate;
    transform: translateY(-50%);
}

@keyframes ardentisLoaderSlide {
    from { left: 18px; }
    to { left: 126px; }
}

.loader-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0;
    margin-bottom: 0.25rem;
}

.loader-tagline {
    font-size: 0.95rem;
    color: var(--color-slate-400);
    margin-bottom: 1.5rem;
}

.loader-progress-bar {
    width: 180px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.loader-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ED3237, #ffffff, #33587B);
    border-radius: 9999px;
    transition: width 0.3s ease;
}

/* Header & Nav Capsule */
.header-sticky {
    position: fixed;
    top: 1rem;
    left: 0;
    right: 0;
    z-index: 100;
    pointer-events: none;
}

.header-container {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    min-width: 0;
    max-width: calc(100vw - 2rem);
}

.brand-logo img {
    height: 52px !important;
    width: auto;
    max-width: 230px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-slate-900);
    letter-spacing: -0.02em;
    min-width: 0;
}

.brand-logo-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #33587B, #ED3237);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(51, 88, 123, 0.25);
}

.nav-links-desktop {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background-color: var(--color-slate-100);
    padding: 0.25rem;
    border-radius: var(--radius-full);
}

.nav-link-item {
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-slate-700);
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

.nav-link-item:hover, .nav-link-item.active {
    color: var(--color-slate-900);
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.header-right-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    min-width: 0;
}

.lang-selector-pill {
    position: relative;
    display: inline-block;
    z-index: 120;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-slate-700);
    background-color: var(--color-slate-100);
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-full);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background-color: #ffffff;
    border-color: var(--color-slate-300);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    padding: 0.35rem;
    min-width: 140px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    pointer-events: auto;
}

.lang-dropdown.open {
    display: flex;
}

.lang-selector-pill:focus-within .lang-dropdown {
    display: flex;
}

.mobile-lang-native-select {
    display: none;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-slate-700);
    border-radius: var(--radius-xl);
    transition: background 0.15s ease;
}

.lang-option:hover, .lang-option.active {
    background-color: var(--color-blue-50);
    color: var(--color-blue-600);
}

.contact-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #33587B, #ED3237);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(51, 88, 123, 0.25);
    transition: all 0.25s ease;
}

.contact-nav-btn:hover {
    background: linear-gradient(135deg, #ED3237, #33587B);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(237, 50, 55, 0.28);
}

.mobile-menu-toggle {
    display: none;
    padding: 0.5rem;
    color: var(--color-slate-800);
    background: transparent;
    border: none;
    cursor: pointer;
    flex: 0 0 auto;
}

.mission-cards-grid {
    min-width: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, #f4f8fb, #ffffff 48%, #fff4f4);
    overflow: hidden;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px),
                      linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 3rem 3rem;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
    pointer-events: none;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-blue-600);
    background-color: rgba(51, 88, 123, 0.08);
    border: 1px solid rgba(51, 88, 123, 0.18);
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}

.hero-heading {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    color: var(--color-slate-900);
}

.hero-heading-gradient {
    background: linear-gradient(135deg, var(--color-blue-600), var(--color-cyan-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead-text {
    font-size: 1.15rem;
    color: var(--color-slate-600);
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 36rem;
}

.hero-support-text {
    font-size: 0.95rem;
    color: var(--color-slate-500);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 36rem;
}

.hero-btn-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.btn-primary-gradient {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #33587B, #ED3237);
    border-radius: var(--radius-full);
    box-shadow: 0 8px 20px -4px rgba(51, 88, 123, 0.32);
    transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -4px rgba(51, 88, 123, 0.5);
}

.btn-secondary-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-slate-800);
    background-color: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.btn-secondary-white:hover {
    background-color: var(--color-slate-50);
    border-color: var(--color-slate-300);
    transform: translateY(-1px);
}

.hero-badges-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-feature-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-slate-700);
}

.hero-feature-badge svg {
    color: var(--color-blue-600);
}

/* Hero Right Image & Floating Drops */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glow-circle {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(51, 88, 123, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.floating-drop {
    animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* About Section */
.about-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-color: #ffffff;
}

.stat-card {
    padding: 1.25rem 1.5rem;
    background-color: var(--color-slate-50);
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-2xl);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-blue-600);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-slate-600);
}

.vision-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(51, 88, 123, 0.85) 58%, rgba(13, 148, 136, 0.78));
    color: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.vision-quote-icon {
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
}

.vision-quote-text {
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 2rem;
}

/* Mission Section */
.mission-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background: linear-gradient(180deg, #f8fbff 0%, #f8fafc 55%, #ffffff 100%);
    position: relative;
}

.mission-panel {
    background-color: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-3xl);
    padding: 4rem 3rem;
    box-shadow: var(--shadow-xl);
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-color: var(--color-slate-950);
    color: #ffffff;
}

.contact-card-dark {
    background-color: var(--color-slate-900);
    border: 1px solid var(--color-slate-800);
    border-radius: var(--radius-3xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-2xl);
}

.form-control-dark {
    width: 100%;
    padding: 0.85rem 1.15rem;
    font-size: 0.95rem;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    transition: all 0.2s ease;
}

.form-control-dark:focus {
    outline: none;
    border-color: var(--color-blue-600);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(51, 88, 123, 0.2);
}

.form-label-dark {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-slate-300);
    margin-bottom: 0.4rem;
}

/* Ardentis Home */
.ardentis-hero {
    position: relative;
    overflow: hidden;
    padding: 8.5rem 0 5.5rem;
    background: linear-gradient(135deg, #f5f8fb 0%, #ffffff 48%, #fff3f3 100%);
}

.ardentis-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 4rem;
}

.ardentis-badge {
    color: #33587B !important;
    background: rgba(51, 88, 123, 0.08) !important;
    border-color: rgba(51, 88, 123, 0.18) !important;
    letter-spacing: 0 !important;
}

.ardentis-hero-title {
    margin: 0.25rem 0 1.25rem;
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.02;
    font-weight: 800;
    color: #33587B;
    overflow-wrap: anywhere;
}

.ardentis-hero-title span,
.ardentis-hero-title strong {
    display: block;
}

.ardentis-hero-title strong {
    color: #ED3237;
}

.ardentis-lead,
.ardentis-body {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 42rem;
}

.ardentis-proof-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ardentis-proof-row span {
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(51, 88, 123, 0.14);
    border-radius: 9999px;
    background: #ffffff;
    color: #33587B;
    font-size: 0.85rem;
    font-weight: 700;
}

.ardentis-hero-visual {
    display: flex;
    justify-content: center;
}

.ardentis-product-stage {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 1 / 0.82;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ardentis-product-stage::before {
    content: "";
    position: absolute;
    inset: 8% 0 0 8%;
    border: 2px solid rgba(51, 88, 123, 0.12);
    border-radius: 2rem;
    transform: rotate(-4deg);
}

.ardentis-product-stage::after {
    content: "";
    position: absolute;
    width: 42%;
    aspect-ratio: 1;
    right: 0;
    top: 0;
    border-radius: 50%;
    background: rgba(237, 50, 55, 0.1);
}

.ardentis-product-stage img {
    position: relative;
    z-index: 2;
    max-height: 430px;
    object-fit: contain;
    filter: drop-shadow(0 24px 32px rgba(51, 88, 123, 0.22));
}

.ardentis-about,
.ardentis-mission,
.ardentis-contact {
    padding: 6rem 0;
}

.ardentis-about {
    background: #ffffff;
}

.ardentis-mission {
    background: linear-gradient(180deg, #f7fafc, #ffffff);
}

.ardentis-contact {
    background: #eef4f8;
}

.ardentis-section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    align-items: center;
    gap: 4rem;
}

.ardentis-section-title {
    margin: 0 0 1.1rem;
    color: #33587B;
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.1;
    font-weight: 800;
}

.ardentis-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
    margin: 2rem 0;
}

.ardentis-stats div,
.ardentis-mission-card,
.ardentis-form-shell {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 14px 35px rgba(51, 88, 123, 0.08);
}

.ardentis-stats div {
    padding: 1.15rem;
    text-align: center;
}

.ardentis-stats strong {
    display: block;
    color: #ED3237;
    font-size: 2rem;
    line-height: 1;
}

.ardentis-stats span {
    display: block;
    margin-top: 0.4rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
}

.ardentis-vision {
    min-height: 320px;
    padding: 3rem;
    border-radius: 0.75rem;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(51, 88, 123, 0.96), rgba(51, 88, 123, 0.86)),
        linear-gradient(45deg, transparent 0 55%, rgba(237, 50, 55, 0.9) 55% 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 22px 50px rgba(51, 88, 123, 0.2);
}

.ardentis-vision span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ardentis-vision p {
    font-size: 1.6rem;
    line-height: 1.45;
    font-weight: 800;
}

.ardentis-centered {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.ardentis-centered .ardentis-body {
    margin-left: auto;
    margin-right: auto;
}

.ardentis-mission-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 3rem;
}

.ardentis-mission-card {
    padding: 1.65rem;
}

.ardentis-mission-card span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(237, 50, 55, 0.1);
    color: #ED3237;
    font-weight: 800;
}

.ardentis-mission-card h3 {
    color: #33587B;
    margin: 1.1rem 0 0.55rem;
}

.ardentis-mission-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

.ardentis-contact-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 2rem;
}

.ardentis-contact-list div {
    padding: 1rem 1.15rem;
    border-left: 4px solid #ED3237;
    background: #ffffff;
    border-radius: 0.75rem;
}

.ardentis-contact-list span {
    display: block;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
}

.ardentis-contact-list strong {
    color: #0f172a;
}

.ardentis-form-shell {
    padding: 2rem;
}

.ardentis-form-shell form {
    display: grid;
    gap: 1rem;
}

.ardentis-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ardentis-form-shell label {
    display: grid;
    gap: 0.4rem;
    color: #33587B;
    font-size: 0.9rem;
    font-weight: 800;
}

.ardentis-form-shell .form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.65rem;
    color: #0f172a;
    background: #ffffff;
}

.ardentis-form-shell .form-control:focus {
    outline: none;
    border-color: #33587B;
    box-shadow: 0 0 0 3px rgba(51, 88, 123, 0.12);
}

.ardentis-form-shell button {
    width: 100%;
    justify-content: center;
    border: none;
    cursor: pointer;
}

/* Product Card */
.product-card {
    background-color: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-card-image-panel {
    position: relative;
    padding: 2rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 260px;
    overflow: hidden;
}

.metallic-3d-loop {
    display: none;
}

.product-card:hover .metallic-3d-loop {
    transform: rotate(-15deg) skewX(10deg) scale(1.08);
}

.product-card-img {
    max-height: 220px;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 2;
}

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

.product-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-btn-details {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--color-slate-900);
    border-radius: var(--radius-full);
    text-align: center;
    margin-top: auto;
    transition: all 0.25s ease;
}

.product-card:hover .product-btn-details {
    background-color: var(--color-blue-600);
}

/* Footer */
.footer-public {
    background-color: #ffffff;
    border-top: 1px solid var(--color-slate-200);
    padding-top: 4rem;
    padding-bottom: 2.5rem;
}

/* Responsive Grid Rules */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; }

@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-heading { font-size: 2.75rem; }
    .ardentis-hero-inner,
    .ardentis-section-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .ardentis-mission-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links-desktop { display: none; }
    .mobile-menu-toggle { display: block; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .grid-12 { grid-template-columns: 1fr; }
    .grid-12 > * { grid-column: 1 / -1 !important; }
    .hero-section { padding-top: 6.5rem; text-align: center; }
    .hero-btn-row { justify-content: center; }
    .hero-badges-row { justify-content: center; gap: 0.75rem !important; }
    .container-custom { padding-left: 1rem; padding-right: 1rem; }
    .header-sticky { top: 0.75rem; }
    .header-container {
        padding: 0.55rem 0.65rem 0.55rem 0.8rem;
        gap: 0.55rem;
        width: 100%;
        max-width: min(calc(100vw - 1.5rem), 358px);
    }
    .brand-logo { flex: 1 1 auto; }
    .brand-logo img {
        height: 44px !important;
        max-width: 150px;
    }
    .header-right-actions { gap: 0.35rem; margin-left: auto; }
    .contact-nav-btn {
        display: none;
    }
    .ardentis-hero-title {
        font-size: 1.72rem !important;
        line-height: 1.08;
        max-width: 16.5rem;
        margin-left: auto;
        margin-right: auto;
        white-space: normal;
    }
    .ardentis-hero-copy,
    .ardentis-hero-visual {
        min-width: 0;
        max-width: 358px;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }
    .ardentis-proof-row {
        flex-direction: column;
        align-items: center;
    }
    .ardentis-proof-row span {
        white-space: normal;
    }
    .hero-btn-row .btn-primary-gradient,
    .hero-btn-row .btn-secondary-white {
        flex: 0 1 auto;
        justify-content: center;
        min-width: 220px;
        max-width: 260px;
    }
    .hero-btn-row {
        flex-direction: column;
        align-items: center;
    }
    .ardentis-product-stage {
        width: 100%;
    }
    .contact-nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    .lang-btn {
        padding: 0.55rem 0.75rem;
        min-height: 44px;
    }
    .hero-heading,
    .hero-heading > div,
    section h1,
    section h2 {
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .hero-heading > div {
        font-size: clamp(2.15rem, 11vw, 3.25rem) !important;
        line-height: 1.12 !important;
    }
    .mission-cards-grid {
        grid-template-columns: 1fr !important;
        overflow: visible;
        padding-bottom: 0;
        max-width: 100%;
    }
    .mission-cards-grid > div {
        min-width: 0;
        width: 100%;
    }
    .contact-section form > div:first-of-type {
        grid-template-columns: 1fr !important;
    }
    section h1,
    section h2 {
        font-size: 1.95rem !important;
        max-width: 20rem;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow-wrap: anywhere;
    }
    section p {
        max-width: 20rem;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .product-filter-bar {
        width: min(320px, calc(100vw - 2.5rem));
        max-width: min(320px, calc(100vw - 2.5rem));
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
        overflow: hidden;
    }
    .cat-pill-container {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .cat-pill {
        width: 100%;
        box-sizing: border-box;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }
    .ardentis-hero {
        padding-top: 7rem;
        text-align: center;
    }
    .ardentis-hero-copy .hero-btn-row,
    .ardentis-proof-row {
        justify-content: center;
    }
    .ardentis-lead,
    .ardentis-body {
        margin-left: auto;
        margin-right: auto;
        max-width: 17rem;
    }
    .ardentis-stats,
    .ardentis-form-grid {
        grid-template-columns: 1fr;
    }
    .ardentis-vision,
    .ardentis-form-shell {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }
    .container-custom {
        max-width: 100%;
        overflow-x: hidden;
    }
    .header-container {
        border-radius: 1.6rem;
        max-width: calc(100vw - 1rem);
        padding: 0.5rem 0.55rem 0.5rem 0.7rem;
    }
    .brand-logo img {
        height: 42px !important;
        max-width: 150px;
    }
    .contact-nav-btn {
        display: none;
    }
    .lang-selector-pill {
        z-index: 1300;
    }
    .mobile-lang-native-select {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 44px;
        opacity: 0.01;
        border: 0;
        border-radius: 9999px;
        cursor: pointer;
        z-index: 1400;
        -webkit-appearance: menulist-button;
        appearance: menulist-button;
    }
    .lang-btn {
        min-height: 44px;
        padding: 0.5rem 0.65rem;
    }
    .lang-dropdown {
        top: calc(100% + 0.35rem);
        right: -0.25rem;
        min-width: 9.5rem;
    }
    .mobile-menu-toggle { padding: 0.4rem; }
    section h1,
    section h2 {
        font-size: 1.78rem !important;
        max-width: 18rem;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow-wrap: anywhere;
    }
    section p {
        max-width: 18rem;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .product-filter-bar {
        max-width: calc(100vw - 2rem);
        overflow: hidden;
    }
    .cat-pill {
        white-space: normal !important;
        overflow-wrap: anywhere;
        line-height: 1.25 !important;
    }
    .mission-cards-grid {
        grid-template-columns: 1fr !important;
    }
    .mission-cards-grid > div {
        min-width: 0;
    }
    .product-card-image-panel {
        height: 245px;
    }
    .ardentis-about,
    .ardentis-mission,
    .ardentis-contact {
        padding: 4.25rem 0;
    }
    .ardentis-mission-cards {
        grid-template-columns: 1fr;
    }
    .ardentis-product-stage {
        aspect-ratio: 1 / 0.95;
    }
}

/* Mobile Navigation Drawer Overlay */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-color: #ffffff;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-overlay.open .mobile-drawer-content {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-slate-200);
}

.mobile-drawer-close-btn {
    background: none;
    border: none;
    color: var(--color-slate-600);
    cursor: pointer;
    padding: 0.4rem;
}

.mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.mobile-nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-slate-800);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background-color: var(--color-slate-100);
    color: var(--color-blue-600);
}
