/* ============================================
   FONTS
   ============================================ */
@font-face {
    font-family: 'Futura';
    src: url('../fonts/FuturaBT-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura';
    src: url('../fonts/FuturaBT-Heavy.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Asap Condensed';
    src: url('../fonts/AsapCondensed-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Asap Condensed';
    src: url('../fonts/AsapCondensed-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Asap Condensed';
    src: url('../fonts/AsapCondensed-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Asap Condensed';
    src: url('../fonts/AsapCondensed-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Asap Condensed';
    src: url('../fonts/AsapCondensed-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   VARIABLES
   ============================================ */
:root {
    --blue-primary: #2D7DD2;
    --blue-dark: #1B2A4A;
    --blue-navy: #1a1f5e;
    --blue-light: #4DA8F7;
    --blue-bg: #F0F7FF;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --font-heading: 'Futura', 'Asap Condensed', sans-serif;
    --font-body: 'Asap Condensed', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -2px rgba(0,0,0,.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.05);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    color: var(--blue-dark);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--blue-dark);
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-tag {
    display: inline-block;
    background: var(--blue-bg);
    color: var(--blue-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background: var(--blue-primary);
    color: var(--white);
    border-color: var(--blue-primary);
}

.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--blue-dark);
    transform: translateY(-2px);
}

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

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--blue-dark);
    color: rgba(255,255,255,.85);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-item svg {
    opacity: 0.7;
}

.top-bar-right {
    display: flex;
    gap: 12px;
}

.social-link {
    color: rgba(255,255,255,.7);
    transition: color var(--transition);
}

.social-link:hover {
    color: var(--white);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo img {
    height: 52px;
    width: auto;
}

.nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue-primary);
    background: var(--blue-bg);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: url('../images/hero-bg.jpeg') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,42,74,.92) 0%, rgba(45,125,210,.78) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 40px 0;
}

.hero h1 {
    font-size: 3.6rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: var(--blue-primary);
    padding: 0;
    margin-top: -1px;
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px;
    text-align: center;
    position: relative;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,.2);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,.75);
    margin-top: 4px;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--gray-600);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--gray-700);
}

/* ============================================
   CATALOG
   ============================================ */
.catalog {
    background: var(--white);
}

.catalog-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 22px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover {
    background: var(--blue-bg);
    border-color: var(--blue-primary);
    color: var(--blue-primary);
}

.filter-btn.active {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
    color: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

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

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

.product-card.hidden {
    display: none;
}

.product-card.featured {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 1px var(--blue-primary);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--gray-100);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--blue-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.badge-featured {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--blue-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info h3 {
    font-size: 1.1rem;
    margin: 8px 0;
    color: var(--gray-800);
    font-family: var(--font-body);
    font-weight: 600;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--blue-dark);
}

.price-unit {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--gray-400);
    font-family: var(--font-body);
}

.product-price-table {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    padding: 12px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.price-row span:first-child {
    color: var(--gray-600);
}

.price-row span:last-child {
    font-weight: 700;
    color: var(--blue-dark);
}

/* Catalog Notes */
.catalog-notes {
    margin-top: 48px;
    background: var(--blue-bg);
    border-radius: var(--radius);
    padding: 28px 32px;
    border-left: 4px solid var(--blue-primary);
}

.catalog-notes h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--blue-dark);
}

.catalog-notes ul {
    list-style: none;
}

.catalog-notes li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.catalog-notes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--blue-primary);
    border-radius: 50%;
}

/* ============================================
   PARTNERS
   ============================================ */
.partners {
    background: var(--gray-50);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner-logo {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 40px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.partner-logo:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.partner-logo img {
    max-height: 80px;
    max-width: 220px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    background: url('../images/denture-dark-bg.jpg') center/cover no-repeat;
    padding: 80px 0;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,42,74,.93) 0%, rgba(45,125,210,.88) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.4rem;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255,255,255,.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--blue-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-primary);
}

.contact-item h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: var(--gray-800);
    font-family: var(--font-body);
    font-weight: 600;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.contact-item a {
    color: var(--gray-600);
}

.contact-item a:hover {
    color: var(--blue-primary);
}

.contact-map {
    height: 440px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--gray-200);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding-top: 64px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
    height: 48px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: var(--gray-400);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--blue-primary);
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links a,
.footer-links p {
    display: block;
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--blue-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.product-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        gap: 40px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .top-bar-left {
        flex-direction: column;
        gap: 4px;
    }

    .top-bar-inner {
        flex-direction: column;
        gap: 6px;
        padding: 6px 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 4px;
    }

    .nav.open {
        display: flex;
    }

    .nav-link {
        padding: 12px 18px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

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

    .stat:not(:last-child)::after {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image img {
        height: 300px;
    }

    .section-header h2,
    .about-text h2,
    .contact-info h2,
    .cta-content h2 {
        font-size: 1.8rem;
    }

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

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

    .contact-map {
        height: 300px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .section {
        padding: 60px 0;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .stats-inner {
        grid-template-columns: 1fr 1fr;
    }

    .catalog-filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 14px 28px;
    }
}
