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

:root {
    --ink: #1a1a2e;
    --ink-light: #4a4a5a;
    --ink-muted: #8a8a9a;
    --surface: #ffffff;
    --surface-warm: #f8f7f4;
    --surface-dark: #111118;
    --accent: #2d5a88;
    --accent-hover: #1e4068;
    --accent-light: #e8f0f8;
    --border: #e2e2e8;
    --whatsapp: #25D366;
    --radius: 6px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
    --transition: 0.25s ease;
    --max-w: 1280px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* ===== Typography ===== */
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 600; line-height: 1.2; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
    letter-spacing: 0.5px; text-transform: uppercase;
    border: 2px solid transparent; border-radius: var(--radius);
    cursor: pointer; transition: all var(--transition);
}
.btn-primary {
    background: var(--accent); color: white; border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-outline {
    background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: white; }
.btn-whatsapp {
    background: var(--whatsapp); color: white; border-color: var(--whatsapp);
}
.btn-whatsapp:hover { background: #1eb958; }
.btn-full { width: 100%; }

/* ===== Navigation ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 70px;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; letter-spacing: 3px; }
.logo-sub { font-size: 10px; font-weight: 500; letter-spacing: 6px; color: var(--ink-muted); text-transform: uppercase; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
    font-size: 14px; font-weight: 500; letter-spacing: 0.5px;
    color: var(--ink-light); transition: color var(--transition);
}
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-toggle {
    padding: 6px 16px; font-size: 13px; font-weight: 600;
    background: var(--surface-warm); border: 1px solid var(--border);
    border-radius: 20px; cursor: pointer; transition: all var(--transition);
}
.lang-toggle:hover { background: var(--accent-light); }
.nav-hamburger {
    display: none; flex-direction: column; gap: 5px; background: none;
    border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
    width: 24px; height: 2px; background: var(--ink); transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
    min-height: 90vh;
    display: flex; align-items: center;
    background: linear-gradient(135deg, var(--surface-warm) 0%, #eee9e0 100%);
    padding: 120px 24px 80px;
}
.hero-content { max-width: var(--max-w); margin: 0 auto; width: 100%; }
.hero-eyebrow {
    font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(40px, 7vw, 80px); font-weight: 700;
    line-height: 1.05; margin-bottom: 24px;
    color: var(--ink);
}
.hero-desc {
    font-size: 18px; color: var(--ink-light); max-width: 520px;
    margin-bottom: 40px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 48px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; }
.stat-label { font-size: 13px; color: var(--ink-muted); margin-top: 4px; }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-dark { background: var(--surface-dark); color: white; }
.section-dark .section-desc { color: rgba(255,255,255,0.6); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 36px; margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--ink-muted); }

/* ===== Filters ===== */
.filters {
    display: flex; justify-content: center; gap: 12px;
    margin-bottom: 24px; flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 24px; font-size: 14px; font-weight: 500;
    background: var(--surface-warm); border: 1px solid var(--border);
    border-radius: 30px; cursor: pointer; transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active {
    background: var(--accent); color: white; border-color: var(--accent);
}

/* ===== Search ===== */
.search-bar {
    display: flex; align-items: center; gap: 12px;
    max-width: 480px; margin: 0 auto 40px;
    padding: 12px 20px;
    background: var(--surface-warm);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.search-bar input {
    flex: 1; border: none; background: transparent;
    font-size: 15px; font-family: inherit; outline: none;
}
.search-count { font-size: 13px; color: var(--ink-muted); white-space: nowrap; }

/* ===== Product Grid ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
}
.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.product-card-img {
    position: relative;
    padding-top: 120%;
    background: var(--surface-warm);
    overflow: hidden;
}
.product-card-img img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-badge {
    position: absolute; top: 12px; left: 12px;
    padding: 4px 12px; font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
    background: rgba(255,255,255,0.92); border-radius: 20px;
    color: var(--accent);
}
.product-card-body { padding: 16px; }
.product-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px; font-weight: 600; margin-bottom: 6px;
}
.product-card-sizes {
    font-size: 13px; color: var(--ink-muted);
}
.product-card-placeholder {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--surface-warm); color: var(--ink-muted);
    font-size: 48px;
}

/* ===== Load More ===== */
.load-more { text-align: center; margin-top: 48px; }

/* ===== Modal ===== */
.modal {
    display: none; position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
    overflow-y: auto; padding: 40px 16px;
}
.modal.active { display: flex; align-items: flex-start; justify-content: center; }
.modal-content {
    background: var(--surface); border-radius: var(--radius-lg);
    max-width: 900px; width: 100%;
    box-shadow: var(--shadow-lg);
    position: relative;
    margin: auto;
}
.modal-close {
    position: absolute; top: 16px; right: 20px; z-index: 10;
    font-size: 28px; background: none; border: none;
    cursor: pointer; color: var(--ink-muted);
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: background var(--transition);
}
.modal-close:hover { background: var(--surface-warm); }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; }
.modal-image {
    background: var(--surface-warm);
    display: flex; align-items: center; justify-content: center;
    min-height: 400px;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    overflow: hidden;
}
.modal-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 32px; }
.modal-badge {
    display: inline-block; padding: 4px 14px;
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; color: var(--accent);
    background: var(--accent-light); border-radius: 20px;
    margin-bottom: 12px;
}
.modal-title { font-size: 28px; margin-bottom: 24px; }
.modal-sizes h4, .modal-chart h4 {
    font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; color: var(--ink-muted);
    margin-bottom: 12px;
}
.size-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.size-tag {
    padding: 6px 14px; font-size: 14px; font-weight: 500;
    background: var(--surface-warm); border: 1px solid var(--border);
    border-radius: var(--radius);
}
.chart-wrapper { overflow-x: auto; margin-bottom: 24px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.size-table th {
    padding: 8px 10px; text-align: left; font-weight: 600;
    border-bottom: 2px solid var(--ink); font-size: 12px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.size-table td {
    padding: 8px 10px; border-bottom: 1px solid var(--border);
}
.size-table tr:last-child td { border-bottom: none; }

/* ===== Features ===== */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.feature { text-align: center; }
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature h3 { font-size: 20px; margin-bottom: 10px; font-family: 'Inter', sans-serif; font-weight: 600; }
.feature p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; }
.inquiry-form {
    background: var(--surface-warm); padding: 36px;
    border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px;
    text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-light);
}
.form-group input, .form-group textarea {
    width: 100%; padding: 12px 16px;
    font-family: inherit; font-size: 15px;
    border: 1px solid var(--border); border-radius: var(--radius);
    background: white; transition: border-color var(--transition);
    outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-note {
    text-align: center; font-size: 13px; color: var(--ink-muted); margin-top: 16px;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-card {
    background: var(--surface-warm); padding: 32px;
    border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.contact-card h3 { font-size: 18px; margin-bottom: 24px; font-family: 'Inter', sans-serif; }
.contact-item { display: flex; gap: 16px; margin-bottom: 20px; }
.contact-icon { font-size: 20px; flex-shrink: 0; }
.contact-item div { display: flex; flex-direction: column; gap: 2px; }
.contact-item strong { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item a, .contact-item span { font-size: 14px; color: var(--ink-light); }
.contact-item a:hover { color: var(--accent); }

/* ===== Footer ===== */
.footer {
    background: var(--surface-dark); color: white;
    padding: 60px 0 30px;
}
.footer-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer .logo-text { color: white; }
.footer .logo-sub { color: rgba(255,255,255,0.5); }
.footer p { color: rgba(255,255,255,0.5); font-size: 14px; margin-top: 8px; }
.footer-links { display: flex; gap: 32px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover { color: white; }
.footer-bottom { text-align: center; padding-top: 24px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 90;
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--whatsapp); display: flex;
    align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== Toast ===== */
.toast {
    position: fixed; bottom: -80px; left: 50%; transform: translateX(-50%);
    padding: 14px 28px; background: var(--ink); color: white;
    border-radius: var(--radius); font-size: 14px; font-weight: 500;
    box-shadow: var(--shadow-lg); transition: bottom 0.3s ease; z-index: 300;
}
.toast.show { bottom: 32px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links { 
        display: none; position: absolute; top: 70px; left: 0; right: 0;
        background: white; flex-direction: column; padding: 20px 24px;
        border-bottom: 1px solid var(--border); gap: 16px;
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .nav-hamburger { display: flex; }
    .hero { min-height: auto; padding: 120px 24px 60px; }
    .hero-title { font-size: 36px; }
    .hero-stats { gap: 24px; }
    .hero-desc { font-size: 16px; }
    .section { padding: 60px 0; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .product-card-body { padding: 12px; }
    .product-card-title { font-size: 14px; }
    .modal-body { grid-template-columns: 1fr; }
    .modal-image { min-height: 300px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .features-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .filters { gap: 8px; }
    .filter-btn { padding: 8px 16px; font-size: 13px; }
}
