@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@200;300;400;500;600&display=swap');

/*
 * HYBRIMED - Brand Stylesheet
 * Medical Aesthetics Website
 * https://hybrimed.gr
 *
 * Brand Colors (extracted from logo):
 * - Primary:    #143c82 (deep navy blue)
 * - Secondary:  #3cbed2 (bright cyan/teal)
 * - Accent:     #0a96dc (bright blue)
 * - Dark:       #0f172a (dark navy for text/footers)
 * - Light:      #f0f9ff (very light blue tint)
 *
 * Fonts (from live demo):
 * - Headings:   Cormorant Garamond (serif)
 * - Body:       Montserrat (sans-serif)
 */

/* ============ CSS VARIABLES ============ */
:root {
    /* Primary Brand Colors */
    --color-primary: #143c82;
    --color-primary-light: #1e4d9e;
    --color-primary-dark: #0e2d5f;
    --color-secondary: #3cbed2;
    --color-secondary-light: #5fcfe0;
    --color-secondary-dark: #2aa8bc;
    --color-accent: #0a96dc;
    
    /* Neutrals */
    --color-dark: #0f172a;
    --color-gray-900: #1e293b;
    --color-gray-800: #334155;
    --color-gray-700: #475569;
    --color-gray-600: #64748b;
    --color-gray-500: #94a3b8;
    --color-gray-400: #cbd5e1;
    --color-gray-300: #e2e8f0;
    --color-gray-200: #f1f5f9;
    --color-gray-100: #f8fafc;
    --color-white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #143c82 0%, #0a96dc 100%);
    --gradient-secondary: linear-gradient(135deg, #3cbed2 0%, #0a96dc 100%);
    --gradient-hero: linear-gradient(135deg, rgba(20, 60, 130, 0.85) 0%, rgba(10, 150, 220, 0.7) 100%);
    --gradient-footer: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-heading: 'Cormorant Garamond', serif;
    
    /* Spacing */
    --container-max: 1200px;
    --header-height: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(60, 190, 210, 0.3);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

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

video, iframe, embed, object {
    max-width: 100%;
}

table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-secondary);
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1.25rem;
    color: var(--color-gray-700);
}

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

.section {
    padding: 100px 0;
}

.section-light {
    background-color: var(--color-gray-100);
}

.section-gradient {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.section-gradient h2,
.section-gradient h3,
.section-gradient p {
    color: var(--color-white);
}

/* ============ HEADER ============ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(20, 60, 130, 0.1);
    transition: all var(--transition-normal);
}

/* Backdrop blur only on desktop to avoid creating a containing block
   for the fixed-position mobile menu (which would clip it to header height) */
@media (min-width: 1025px) {
    header {
        backdrop-filter: blur(10px);
    }
}

header.scrolled {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    position: relative;
}

.header-content nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-contact {
    padding: 10px 24px;
    background: var(--gradient-secondary);
    color: var(--color-white) !important;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}

.header-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    color: var(--color-white) !important;
}

.logo {
    display: inline-block;
    flex-shrink: 0;
}

.logo img {
    height: 70px;
    height: 50px;
    width: auto;
    transition: height var(--transition-normal);
}

header.scrolled .logo img {
    height: 70px;
    height: 45px;
}

/* ============ NAVIGATION ============ */
nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

/* Hide contact CTA from desktop nav list (shown separately as .header-contact) */
.nav-contact-item {
    display: none;
}

/* Mobile-only contact CTA inside nav menu */
.nav-mobile-contact {
    display: none;
}

nav a {
    color: var(--color-gray-700);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 8px 0;
    position: relative;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: width var(--transition-normal);
}

nav a:hover,
nav a.active {
    color: var(--color-primary);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    padding-right: 20px;
}

.dropdown-toggle::before {
    content: '▼';
    font-size: 10px;
    margin-right: 6px;
    opacity: 0.6;
    display: inline-block;
    transition: transform var(--transition-normal);
}

.dropdown:hover .dropdown-toggle::before {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    min-width: 240px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    padding: 12px 0;
    z-index: 1001;
    list-style: none;
    border: 1px solid var(--color-gray-200);
}

/* Invisible bridge to keep hover active across the gap */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--color-gray-700) !important;
    font-size: 0.9rem;
}

.dropdown-menu li a:hover {
    background: var(--color-gray-100);
    color: var(--color-primary) !important;
}

.dropdown-menu li a::after {
    display: none;
}

/* ============ OPERA IMAGE BLOCKS (customer photos, 13 Oct 2026) ============ */
.opera-bands {
    display: grid;
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto 2.5rem;
}

.opera-bands img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid var(--color-gray-200);
    background: var(--color-white);
}

/* treatment-areas photo under each face filler's specs */
.product-zone {
    margin-top: 18px;
    padding: 14px;
    background: var(--color-gray-100);
    border-radius: 12px;
}

.product-zone img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: contain;
}

/* generic photo grid used by Lip / Body / Skinbooster sections */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 2rem auto 0;
}

.photo-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    border-radius: 14px;
    background: var(--color-gray-100);
}

/* K-Surgery MED dropdown intro (customer request, 13 Oct 2026) */
.dropdown-menu-wide {
    min-width: 350px;
}

.dropdown-menu li.dropdown-intro {
    width: 350px;
    max-width: calc(100vw - 40px);
    padding: 16px 20px 14px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--color-gray-200);
}

.dropdown-tagline {
    margin: 0 0 10px;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--color-gray-600);
}

.dropdown-badge {
    display: block;
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.01em;
}

/* ============ MOBILE MENU ============ */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1002;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ============ MOBILE NAV MENU ============ */
#nav-menu .header-contact {
    display: inline-block;
    text-align: center;
    margin-top: 24px;
    padding: 14px 32px;
}

/* ============ SPLASH BANNER ============ */
.splash-banner {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Light-to-dark overlay so the white text stays readable */
.splash-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(10, 18, 38, 0.90) 0%,
        rgba(20, 60, 130, 0.78) 45%,
        rgba(10, 18, 38, 0.90) 100%);
}

.splash-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 820px;
    width: 100%;
    animation: fadeInUp 1.2s ease-out both;
}

.splash-title {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.splash-subtitle {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: clamp(0.7rem, 1.5vw, 0.95rem);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 0.4rem;
}

.splash-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.6rem 0;
}

.splash-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-secondary), transparent);
}

.splash-diamond {
    width: 8px;
    height: 8px;
    border: 1px solid var(--color-secondary);
    transform: rotate(45deg);
    animation: pulse 3s ease-in-out infinite;
}

.splash-coming {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.9);
}

.splash-banner.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 600px) {
    .splash-title { letter-spacing: 0.15em; }
    .splash-subtitle { letter-spacing: 0.28em; }
    .splash-line { width: 50px; }
}

/* ============ HERO SECTION ============ */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-hero) center/cover no-repeat;
    background-color: var(--color-primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(60, 190, 210, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(10, 150, 220, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 24px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    padding: 8px 24px;
    border: 1px solid rgba(60, 190, 210, 0.3);
    border-radius: 50px;
    background: rgba(60, 190, 210, 0.1);
    backdrop-filter: blur(10px);
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--color-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    color: var(--color-white);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ============ CARDS ============ */
.card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-secondary);
}

/* ============ ABOUT SECTION ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.values-grid--single {
    grid-template-columns: 1fr;
}

@media (max-width: 1024px) {
    .values-grid--single {
        grid-template-columns: 1fr;
    }
}

.value-card {
    background: var(--color-white);
    padding: 28px;
    border-radius: 16px;
    border-left: 4px solid var(--color-secondary);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--color-primary);
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.value-card p {
    font-size: 0.95rem;
    color: var(--color-gray-600);
    margin-bottom: 0;
}

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

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--color-primary);
}

.contact-details p {
    margin: 0;
    color: var(--color-gray-600);
}

.contact-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-gray-700);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-gray-300);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
    background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(60, 190, 210, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============ FOOTER ============ */
footer {
    background: var(--gradient-footer);
    color: var(--color-white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 120px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-section h3 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-secondary);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-tagline {
    font-size: 1.1rem;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============ PRODUCTS GRID ============ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Homepage products - 2x2 grid */
#products .products-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--color-gray-200);
}

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

.product-card-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 3rem;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

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

.product-card-content {
    padding: 24px;
}

.product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.product-card p {
    font-size: 0.95rem;
    color: var(--color-gray-600);
    margin-bottom: 16px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.product-link:hover {
    color: var(--color-primary);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out forwards;
}


/* ============ CONTENT BLOCKS / LISTS ============ */
.features-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.features-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: var(--color-gray-700);
    line-height: 1.5;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-secondary);
    font-weight: 700;
}

.content-block {
    background: var(--color-gray-100);
    border-radius: 16px;
    padding: 24px 28px;
    margin-top: 1.5rem;
    border-left: 4px solid var(--color-secondary);
}

.content-block h3 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-weight: 500;
}

.content-block p:last-child,
.content-block ul:last-child {
    margin-bottom: 0;
}

.study-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 24px 28px;
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

.study-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.study-card h3 {
    color: var(--color-primary);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.study-card .study-ref {
    font-size: 0.85rem;
    color: var(--color-gray-500);
    font-style: italic;
    margin-bottom: 0;
}

.spec-row {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.spec-row:last-child { border-bottom: none; }

.spec-row .spec-label {
    min-width: 140px;
    font-weight: 600;
    color: var(--color-primary);
}

.spec-row .spec-value {
    color: var(--color-gray-700);
}

/* ============ UTILITIES ============ */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .about-grid { gap: 40px; }
    .contact-grid { gap: 40px; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }
    
    /* CRITICAL: remove transform/absolute centering on mobile —
       transform creates a containing block that traps the fixed-position
       #nav-menu inside the small <nav> box (making the menu tiny). */
    .header-content nav {
        position: static;
        transform: none;
        left: auto;
        order: 2;
    }
    .logo { order: 1; }
    .menu-toggle { order: 3; }
    .header-contact { order: 4; }
    
    .hero { min-height: 100vh; }
    .hero h1 { font-size: 2.25rem; }
    .hero p { font-size: 1.1rem; }
    
    nav ul { display: none; }
    #nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-white);
        z-index: 999;
        padding: 100px 24px 40px;
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    #nav-menu.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }
    #nav-menu li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid var(--color-gray-200);
    }
    #nav-menu li a {
        display: block;
        padding: 16px 0;
        font-size: 1.1rem;
        color: var(--color-dark) !important;
    }
    #nav-menu .dropdown-menu {
        position: static;
        display: none;
        background: var(--color-gray-100);
        border-radius: 0;
        box-shadow: none;
        padding: 8px 0 8px 16px;
        margin: 0;
        border: none;
    }
    #nav-menu .dropdown.active .dropdown-menu {
        display: block;
    }
    #nav-menu .dropdown-menu.dropdown-menu-wide {
        min-width: 0;
    }
    #nav-menu .dropdown-menu li.dropdown-intro {
        width: auto;
        max-width: none;
    }
    #nav-menu .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #nav-menu .dropdown-toggle::after {
        content: '▼';
        font-size: 10px;
        margin-left: 8px;
        transition: transform 0.3s ease;
    }
    #nav-menu .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    #nav-menu .header-contact {
        display: inline-block;
        text-align: center;
        margin-top: 24px;
        padding: 14px 32px;
    }
    
    /* Show mobile-only contact CTA in the mobile menu */
    .nav-mobile-contact {
        display: block;
        border-bottom: none !important;
        margin-top: 24px;
    }
    .nav-mobile-contact .mobile-contact-btn {
        display: block;
        text-align: center;
        padding: 14px 32px !important;
        background: var(--gradient-secondary);
        color: var(--color-white) !important;
        border-radius: 50px;
        font-weight: 500;
        font-size: 1rem !important;
        text-decoration: none;
        box-shadow: var(--shadow-md);
    }
    .nav-mobile-contact .mobile-contact-btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }
    .menu-toggle { display: block; order: 3; margin-left: auto; }
    
    /* Mobile: hide external CTA, show contact in nav menu */
    .header-contact { display: none !important; }
    .nav-contact-item { display: list-item; }
    .nav-contact-item .header-contact {
        display: inline-block !important;
        text-align: center;
        margin-top: 16px;
        width: 100%;
    }
    
    .section { padding: 60px 0; }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    #products .products-grid {
        grid-template-columns: 1fr;
        max-width: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.875rem; }
    .hero p { font-size: 1rem; }
    h2 { font-size: 1.75rem; }
    .container { padding: 0 16px; }
}

/* ============ PRINT STYLES ============ */
@media print {
    header, footer, .menu-toggle, .mobile-menu-overlay {
        display: none;
    }
    body { font-size: 12pt; }
    a { color: var(--color-dark); text-decoration: underline; }
}
