:root {
    --primary: #003366;
    --primary-dark: #002244;
    --accent: #e87722;
    --accent-hover: #d06a1a;
    --category-bar: #f5c518;
    --category-bar-text: #1a1a2e;
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --bg: #ffffff;
    --bg-gray: #f4f6f9;
    --border: #e5e7eb;
    --radius: 8px;
    --shadow: 0 4px 20px rgba(0,0,0,.08);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); line-height: 1.6; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: all .2s; }
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: var(--bg-gray); color: var(--primary); }
.btn--outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--primary); }
.btn--sm { padding: 8px 16px; font-size: .875rem; }
.btn--lg { padding: 14px 32px; font-size: 1rem; }

/* Topbar */
.topbar { background: var(--primary-dark); color: rgba(255,255,255,.85); font-size: .85rem; padding: 8px 0; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar__left { display: flex; gap: 20px; }
.topbar__left i, .topbar__right i { margin-right: 6px; color: var(--accent); }

/* Header */
.header { background: #fafafa; box-shadow: 0 2px 10px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 1001; }
.header__inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; padding: 12px 20px; gap: 16px; }
.header__logo img { height: 44px; width: auto; }
.header__search { display: flex; max-width: 420px; width: 100%; }
.header__search input { flex: 1; padding: 10px 16px; border: 1px solid var(--border); border-right: none; border-radius: var(--radius) 0 0 var(--radius); font-family: var(--font); font-size: .9rem; background: #fff; }
.header__search input:focus { outline: none; border-color: var(--primary); }
.header__search button { padding: 0 16px; background: var(--primary); color: #fff; border: 1px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; }
.header__search button:hover { background: var(--primary-dark); }
.header__nav ul { display: flex; list-style: none; gap: 2px; }
.header__nav a { display: block; padding: 8px 12px; color: var(--text); font-weight: 600; font-size: .875rem; border-radius: var(--radius); white-space: nowrap; }
.header__nav a:hover, .header__nav a.active { color: var(--accent); background: rgba(232,119,34,.08); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.header__toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: .3s; }

/* Category Nav (RSEA-style sticky bar) */
.category-nav { background: var(--category-bar); position: sticky; top: 68px; z-index: 1000; border-bottom: 2px solid rgba(0,0,0,.08); }
.category-nav__inner { display: flex; align-items: center; gap: 0; overflow-x: auto; scrollbar-width: none; }
.category-nav__inner::-webkit-scrollbar { display: none; }
.category-nav__all { display: flex; align-items: center; gap: 8px; padding: 12px 20px; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; color: var(--category-bar-text); background: rgba(0,0,0,.06); white-space: nowrap; flex-shrink: 0; }
.category-nav__all:hover { background: rgba(0,0,0,.12); color: var(--category-bar-text); }
.category-nav__list { display: flex; list-style: none; margin: 0; padding: 0; }
.category-nav__list a { display: block; padding: 12px 18px; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .3px; color: var(--category-bar-text); white-space: nowrap; transition: background .2s; }
.category-nav__list a:hover, .category-nav__list a.active { background: rgba(0,0,0,.1); color: var(--category-bar-text); }

/* Hero Carousel */
.hero-carousel { position: relative; min-height: 520px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; display: flex; align-items: center; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; position: relative; min-height: 520px; }
.hero-carousel__dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.hero-carousel__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; transition: background .2s; }
.hero-carousel__dot.active { background: #fff; }

/* Promo Tiles */
.promo-tiles { background: var(--bg-gray); padding: 0; margin-top: -1px; }
.promo-tiles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.promo-tile { display: flex; align-items: center; gap: 16px; padding: 28px 24px; background: #fff; border: 1px solid var(--border); color: var(--text); transition: all .2s; }
.promo-tile:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.promo-tile:hover .promo-tile__icon { background: rgba(255,255,255,.15); color: #fff; }
.promo-tile:hover .promo-tile__arrow { color: #fff; }
.promo-tile__icon { width: 48px; height: 48px; background: rgba(0,51,102,.08); color: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; transition: all .2s; }
.promo-tile h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.promo-tile p { font-size: .85rem; opacity: .75; margin: 0; }
.promo-tile__arrow { margin-left: auto; color: var(--accent); flex-shrink: 0; }

/* Hero (shared) */
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,34,68,.88) 0%, rgba(0,51,102,.75) 100%); }
.hero__content { position: relative; z-index: 1; color: #fff; max-width: 700px; padding: 80px 0; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(232,119,34,.9); padding: 6px 16px; border-radius: 50px; font-size: .85rem; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero p { font-size: 1.15rem; opacity: .9; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Sections */
.section { padding: 80px 0; }
.section--gray { background: var(--bg-gray); }
.section--dark { background: var(--primary); color: #fff; }
.section--dark h2, .section--dark p { color: #fff; }
.section__header { margin-bottom: 48px; }
.section__header--center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.section__label { display: inline-block; color: var(--accent); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.section__label--light { color: rgba(255,255,255,.7); }
.section h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: 12px; }
.section__header p { color: var(--text-muted); font-size: 1.05rem; }
.section__cta { text-align: center; margin-top: 40px; }

/* Category Pills */
.category-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.category-pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; background: #fff; border: 1px solid var(--border); border-radius: 50px; font-weight: 500; color: var(--text); transition: all .2s; }
.category-pill:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--shadow); }
.category-pill i { color: var(--accent); }

/* About Grid */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.about-grid p { color: var(--text-muted); margin-bottom: 24px; }
.about-grid__image { position: relative; }
.about-grid__image img { border-radius: 12px; box-shadow: var(--shadow); }
.about-grid__badge { position: absolute; bottom: -20px; right: -20px; background: var(--accent); color: #fff; padding: 20px 28px; border-radius: 12px; text-align: center; box-shadow: var(--shadow); }
.about-grid__badge strong { display: block; font-size: 2rem; font-weight: 800; }
.check-list { list-style: none; margin-bottom: 28px; }
.check-list li { padding: 6px 0; display: flex; align-items: flex-start; gap: 10px; }
.check-list i { color: var(--accent); margin-top: 4px; }

/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.product-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); transition: all .3s; color: var(--text); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.product-card__image { aspect-ratio: 1; overflow: hidden; background: var(--bg-gray); }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-card__image img { transform: scale(1.05); }
.product-card__body { padding: 16px; }
.product-card__cat { font-size: .75rem; color: var(--accent); font-weight: 600; text-transform: uppercase; }
.product-card h3 { font-size: 1rem; font-weight: 600; margin-top: 4px; }
.product-card__link { font-size: .85rem; color: var(--accent); font-weight: 600; margin-top: 8px; display: inline-block; }

/* Brands */
.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.brand-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 16px; text-align: center; font-weight: 600; font-size: .9rem; color: var(--primary); transition: all .2s; }
.brand-item:hover { border-color: var(--accent); color: var(--accent); }

/* Advantages */
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.advantage-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 32px; }
.advantage-card__icon { width: 56px; height: 56px; background: var(--accent); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; margin-bottom: 20px; }
.advantage-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.advantage-card p { opacity: .85; font-size: .95rem; }

/* Split Section */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
.two-col-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-bottom: 28px; }
.split-section__images { display: flex; flex-direction: column; gap: 20px; min-height: 480px; }
.split-img { width: 100%; flex: 1; min-height: 0; border-radius: 12px; box-shadow: var(--shadow); object-fit: cover; object-position: center; }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, var(--accent) 0%, #d06a1a 100%); padding: 60px 0; }
.cta-banner__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-banner h2 { color: #fff; font-size: 1.75rem; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.9); }
.cta-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Page Hero */
.page-hero { background: var(--primary); color: #fff; padding: 60px 0; text-align: center; }
.page-hero--sm { padding: 40px 0; text-align: left; }
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; }
.page-hero p { opacity: .85; margin-top: 8px; }
.breadcrumb { font-size: .9rem; margin-bottom: 12px; opacity: .8; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: #fff; }

/* Catalog */
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.catalog-sidebar { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; height: fit-content; position: sticky; top: 100px; }
.catalog-sidebar h3 { font-size: 1rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
.catalog-sidebar ul { list-style: none; }
.catalog-sidebar a { display: block; padding: 10px 12px; border-radius: var(--radius); color: var(--text); font-size: .9rem; }
.catalog-sidebar a:hover, .catalog-sidebar a.active { background: rgba(232,119,34,.1); color: var(--accent); font-weight: 600; }

/* Product Detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-detail__image { background: var(--bg-gray); border-radius: 12px; overflow: hidden; }
.product-detail__image img { width: 100%; }
.product-detail__cat { color: var(--accent); font-weight: 600; font-size: .85rem; text-transform: uppercase; }
.product-detail h2 { font-size: 2rem; margin: 8px 0 16px; }
.product-detail__cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item i { width: 44px; height: 44px; background: rgba(0,51,102,.08); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-form-wrap { background: var(--bg-gray); padding: 36px; border-radius: 12px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-family: var(--font); font-size: 1rem; transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; }
.alert--success { background: #d1fae5; color: #065f46; }
.alert--error { background: #fee2e2; color: #991b1b; }
.content-page { max-width: 800px; }
.content-page p { margin-bottom: 16px; color: var(--text-muted); }

/* Footer */
.footer { background: var(--primary-dark); color: rgba(255,255,255,.8); padding: 60px 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.footer__logo { height: 40px; margin-bottom: 16px; }
.footer__desc { font-size: .9rem; margin: 12px 0 20px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,.75); font-size: .9rem; }
.footer a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer__social a:hover { background: var(--accent); color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.footer__contact i { color: var(--accent); margin-top: 4px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: .85rem; }
.footer__credit { margin-top: 8px; font-size: .75rem; color: rgba(255,255,255,.5); }
.footer__credit a { font-size: inherit; color: rgba(255,255,255,.55); }
.footer__credit a:hover { color: var(--accent); }

/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; background: #25d366; color: #fff; padding: 12px 20px; border-radius: 50px; display: flex; align-items: center; gap: 8px; font-weight: 600; box-shadow: 0 4px 20px rgba(37,211,102,.4); z-index: 999; transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.05); color: #fff; }
.whatsapp-float i { font-size: 1.5rem; }

/* Pagination */
.pagination-wrap { margin-top: 40px; }
.pagination-wrap ul { display: flex; gap: 8px; list-style: none; justify-content: center; }
.pagination-wrap a, .pagination-wrap strong { padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius); }
.pagination-wrap strong { background: var(--primary); color: #fff; border-color: var(--primary); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card__image { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-gray); }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--text-muted); }
.blog-card__body { padding: 20px; }
.blog-card__body time { font-size: .8rem; color: var(--text-muted); }
.blog-card__body h2 { font-size: 1.05rem; margin: 8px 0 10px; line-height: 1.4; }
.blog-card__body h2 a { color: var(--text); }
.blog-card__body h2 a:hover { color: var(--primary); }
.blog-card__body p { font-size: .9rem; color: var(--text-muted); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__link { font-size: .85rem; font-weight: 600; color: var(--primary); }
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.blog-article__featured { width: 100%; border-radius: 12px; margin-bottom: 24px; }
.blog-article__header time { color: var(--text-muted); font-size: .9rem; }
.blog-article__header h1 { margin-top: 8px; font-size: 1.8rem; line-height: 1.3; }
.blog-article__content { line-height: 1.8; }
.blog-article__content h2, .blog-article__content h3 { margin: 24px 0 12px; color: var(--primary); }
.blog-article__content img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }
.blog-article__cta { margin-top: 40px; padding: 28px; background: var(--bg-gray); border-radius: 12px; text-align: center; }
.blog-article__cta h3 { margin-bottom: 8px; }
.blog-article__cta .btn { margin: 6px; }
.blog-cta-inline { margin-top: 32px; padding: 20px; background: rgba(0,51,102,.06); border-left: 4px solid var(--primary); border-radius: 0 8px 8px 0; }
.blog-sidebar { background: var(--bg-gray); padding: 24px; border-radius: 12px; position: sticky; top: 120px; }
.blog-sidebar h3 { margin-bottom: 16px; font-size: 1rem; }
.blog-sidebar ul { list-style: none; }
.blog-sidebar li { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.blog-sidebar li:last-child { border-bottom: none; }
.blog-sidebar a { font-size: .9rem; color: var(--text); line-height: 1.4; }
.blog-sidebar a:hover { color: var(--primary); }
.page-hero--sm { padding: 32px 0; }
.breadcrumb { font-size: .85rem; color: var(--text-muted); }
.breadcrumb a { color: var(--primary); }

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .split-section, .contact-grid, .product-detail, .catalog-layout { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .split-section__images { min-height: auto; }
    .split-img { flex: none; height: 220px; }
    .catalog-sidebar { position: static; }
}
@media (max-width: 992px) {
    .promo-tiles__grid { grid-template-columns: 1fr; }
    .header__inner { grid-template-columns: auto 1fr auto; }
    .header__search { display: none; grid-column: 1 / -1; order: 4; max-width: 100%; }
    .header__nav.open + .header__search,
    .header__inner:has(.header__nav.open) .header__search { display: flex; }
    .category-nav { top: 60px; }
}
@media (max-width: 768px) {
    .header__inner { grid-template-columns: auto 1fr auto; }
    .header__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: var(--shadow); padding: 16px; z-index: 1002; }
    .header__nav.open { display: block; }
    .header__nav ul { flex-direction: column; }
    .header__toggle { display: flex; }
    .hide-mobile { display: none; }
    .hero-carousel, .hero-slide.active { min-height: 440px; }
    .hero__content { padding: 60px 0; }
    .section { padding: 60px 0; }
    .two-col-list { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .cta-banner__inner { flex-direction: column; text-align: center; }
    .whatsapp-float span { display: none; }
    .whatsapp-float { padding: 14px; border-radius: 50%; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; }
}
