/* Import modern typography from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Geologica:wght@300;400;500;600;700&display=swap');

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

:root {
    /* Color Tokens - Light Theme */
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.75);
    --border-glass: rgba(255, 255, 255, 0.4);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    
    --color-primary: hsl(196, 90%, 15%);
    --color-primary-light: hsl(196, 75%, 25%);
    --color-secondary: hsl(155, 75%, 40%);
    --color-secondary-light: hsl(155, 70%, 50%);
    --color-accent: hsl(38, 90%, 48%);
    --color-accent-light: hsl(38, 90%, 58%);
    --danger: hsl(0, 85%, 60%);
    
    /* Layout Tokens */
    --font-primary: 'Outfit', 'Geologica', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 8px -2px rgba(15,23,42,0.05), 0 1px 3px -1px rgba(15,23,42,0.03);
    --shadow-md: 0 12px 20px -8px rgba(15,23,42,0.08), 0 4px 12px -2px rgba(15,23,42,0.03);
    --shadow-lg: 0 20px 25px -5px rgba(15,23,42,0.1), 0 10px 10px -5px rgba(15,23,42,0.04);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.06);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    --header-height: 108px;
    --hero-overlay: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, transparent 16%), linear-gradient(to right, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.42) 42%, rgba(0,0,0,0.12) 68%, transparent 100%);
}

/* Dark Mode Tokens */
[data-theme="dark"] {
    --bg-primary: #090f1d;
    --bg-secondary: #111a2e;
    --bg-glass: rgba(17, 26, 46, 0.75);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-light: #64748b;
    
    --color-primary: hsl(196, 90%, 75%);
    --color-primary-light: hsl(196, 90%, 85%);
    --color-secondary: hsl(155, 75%, 45%);
    --color-secondary-light: hsl(155, 70%, 55%);
    
    --shadow-sm: 0 2px 8px -2px rgba(0,0,0,0.3);
    --shadow-md: 0 12px 20px -8px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.5);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --hero-overlay: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 16%), linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.55) 42%, rgba(0,0,0,0.18) 68%, transparent 100%);
}

html {
    scroll-behavior: smooth;
    zoom: 0.9;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: var(--radius-sm);
    border: 2px solid var(--bg-secondary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

/* Common Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 60px 0;
}

/* Glass Panel Utility */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
    border-radius: var(--radius-md);
}

/* Gradient Background Text Utility */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .gradient-text {
    background: linear-gradient(135deg, #38bdf8, var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-bounce);
    gap: 8px;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(1, 39, 65, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px 0 rgba(1, 39, 65, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(0, 208, 132, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px 0 rgba(0, 208, 132, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary-light);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--color-primary-light);
    color: #ffffff;
    transform: translateY(-3px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(200, 140, 0, 0.2);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px 0 rgba(200, 140, 0, 0.3);
}

/* Fixed Header Navbar */
.header {
    position: fixed;
    top: 36px;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: var(--bg-glass);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    height: 60px;
}

/* 4-column grid: [nav-left 1fr] [logo auto] [nav-right 1fr] [actions auto]
   display:contents on nav-mobile-wrap makes nav-left/nav-right direct grid children */
.header .container {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    align-items: center;
}

.nav-mobile-wrap {
    display: contents;
}

/* Col 1 — links justify toward center (right-aligned) */
.nav-left {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 36px;
    padding-right: 28px;
}

/* Col 2 — logo; sits between equal 1fr columns = true center */
.header .logo {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Col 3 — links justify toward center (left-aligned) */
.nav-right {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 36px;
    padding-left: 28px;
}

/* Col 4 — icons + hamburger */
.header .nav-actions {
    grid-column: 4;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 12px;
}

/* Header gradient when over the hero so nav/logo are readable */
.header:not(.scrolled) {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 70%, transparent 100%);
}

.header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.88);
}

.header:not(.scrolled) .nav-link:hover,
.header:not(.scrolled) .nav-link.active {
    color: #ffffff;
}

.header:not(.scrolled) .nav-link::after {
    background-color: #ffffff;
}

.header:not(.scrolled) .ctrl-btn {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.header:not(.scrolled) .hamburger span {
    background-color: #ffffff;
}

.logo img {
    height: 104px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}

.header.scrolled .logo img {
    height: 62px;
    filter: none;
}



.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-smooth);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Control Buttons (Theme, Cart) */
.ctrl-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition-bounce);
    color: var(--text-primary);
}

.ctrl-btn:hover {
    transform: scale(1.1);
    background: var(--color-secondary);
    color: #ffffff;
    border-color: transparent;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--bg-primary);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.cart-badge.bump {
    animation: bumpBadge 0.3s ease-out;
}

@keyframes bumpBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.theme-toggle .sun-icon { display: block; }
.theme-toggle .moon-icon { display: none; }

[data-theme="dark"] .theme-toggle .sun-icon { display: none; }
[data-theme="dark"] .theme-toggle .moon-icon { display: block; }

/* Hamburger Menu for Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    width: 30px;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .hero {
    background: radial-gradient(circle at 80% 20%, rgba(0, 208, 132, 0.12) 0%, rgba(56, 189, 248, 0.03) 60%, transparent 100%);
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 208, 132, 0.1) 0%, transparent 80%);
    top: -100px;
    right: -100px;
    filter: blur(50px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

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

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.15) 0%, rgba(1, 39, 65, 0.05) 100%);
    filter: blur(20px);
    z-index: -1;
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-badge-float {
    position: absolute;
    bottom: 20px;
    left: -20px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatBadge 4s ease-in-out infinite;
}

.hero-badge-float.top-right {
    bottom: auto;
    left: auto;
    top: 20px;
    right: -20px;
    animation-delay: 2s;
}

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

.hero-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-secondary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-badge-float.top-right .hero-badge-icon {
    background: var(--color-primary-light);
}

.hero-badge-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.hero-badge-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
}

.hero-image {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-glass);
    transition: var(--transition-smooth);
}

.hero-image:hover {
    transform: scale(1.02) rotate(1deg);
}

/* Medicines Catalog Section */
.section-title-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.catalog-controls {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.search-bar-wrap {
    position: relative;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 16px 24px 16px 54px;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    color: var(--text-primary);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition-smooth);
    outline: none;
    box-shadow: var(--shadow-sm);
}

.search-input:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(0, 208, 132, 0.15);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.catalog-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-light);
}

.tab-btn.active {
    background: var(--color-primary-light);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-sm);
}

/* Medicine Cards Grid */
.medicine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.med-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.med-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary-light);
}

.med-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--color-primary-light);
    transition: var(--transition-smooth);
}

.med-card:hover::before {
    background-color: var(--color-secondary);
    height: 50%;
}

.med-category-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 12px;
    display: inline-block;
}

.med-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.med-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.med-compounds {
    background: var(--bg-secondary);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.med-compounds-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.med-compounds-list {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.med-action {
    width: 100%;
}

/* No Results Message */
.no-results {
    text-align: center;
    grid-column: 1 / -1;
    padding: 40px;
    display: none;
}

.no-results svg {
    margin-bottom: 16px;
    color: var(--text-light);
}

/* Dermocosmetics Section */
.dermo-section {
    background: radial-gradient(circle at 20% 80%, rgba(0, 208, 132, 0.05) 0%, transparent 80%);
}

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

.prod-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    height: 100%;
    transition: var(--transition-smooth);
}

.prod-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent-light);
}

.prod-img-wrap {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--bg-secondary);
    position: relative;
}

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

.prod-card:hover .prod-img {
    transform: scale(1.08);
}

.prod-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-accent);
    color: #ffffff;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.prod-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.prod-stars {
    display: flex;
    gap: 4px;
    color: #eab308; /* yellow-500 */
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.prod-stars-text {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-left: 6px;
}

.prod-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.prod-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.prod-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    border-top: 1px solid var(--border-glass);
    padding-top: 20px;
}

.prod-price {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* Quality & Certifications Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feat-card {
    padding: 35px 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.feat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--bg-glass);
    border-color: var(--color-secondary-light);
}

.feat-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 208, 132, 0.1);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: var(--transition-smooth);
}

.feat-card:hover .feat-icon-wrap {
    background: var(--color-secondary);
    color: #ffffff;
}

.feat-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feat-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* About & Contact Section */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

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

.contact-text h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.form-label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 18px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    outline: none;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(0, 208, 132, 0.1);
}

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

/* Footer Section */
.footer {
    background: #011627;
    color: #cbd5e1;
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer h1, .footer h2, .footer h3, .footer h4 {
    color: #ffffff;
}

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

.footer-col-desc {
    max-width: 320px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-col-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-link:hover {
    color: var(--color-secondary-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: #64748b;
}

/* Slide-out Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    z-index: 200;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-glass);
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 190;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-title {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.close-cart:hover {
    color: var(--danger);
    transform: scale(1.1);
}

.cart-items-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-empty-msg {
    text-align: center;
    margin: auto;
    color: var(--text-light);
}

.cart-item {
    display: flex;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 16px;
}

.cart-item-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
}

.cart-item-ctrl {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid var(--border-glass);
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.qty-btn:hover {
    background: var(--color-secondary);
    color: #ffffff;
    border-color: transparent;
}

.qty-val {
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 16px;
    text-align: center;
}

.remove-item {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    margin-left: auto;
    transition: var(--transition-smooth);
}

.remove-item:hover {
    color: var(--danger);
    transform: scale(1.1);
}

.cart-summary {
    padding: 24px;
    border-top: 1px solid var(--border-glass);
    background: var(--bg-secondary);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.summary-row.total {
    margin-top: 16px;
    border-top: 1px solid var(--border-glass);
    padding-top: 16px;
    font-size: 1.2rem;
    font-weight: 800;
}

.cart-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Modals Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(6px);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    width: 100%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.close-modal:hover {
    color: var(--danger);
}

.modal-header h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Success Checkmark Animation */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px auto;
    position: relative;
}

.success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid var(--color-secondary);
}

.success-checkmark .check-icon::before,
.success-checkmark .check-icon::after {
    content: '';
    position: absolute;
    background: var(--bg-glass);
    z-index: 1;
}

.success-checkmark .check-icon .icon-line {
    height: 5px;
    background-color: var(--color-secondary);
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.success-checkmark .check-icon .icon-line.line-tip {
    top: 43px;
    left: 19px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.success-checkmark .check-icon .icon-line.line-long {
    top: 38px;
    right: 15px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

@keyframes icon-line-tip {
    0% { width: 0; left: 1px; top: 19px; }
    54% { width: 0; left: 1px; top: 19px; }
    70% { width: 50px; left: 19px; top: 37px; }
    84% { width: 17px; left: 21px; top: 48px; }
    100% { width: 25px; left: 19px; top: 43px; }
}

@keyframes icon-line-long {
    0% { width: 0; right: 46px; top: 54px; }
    65% { width: 0; right: 46px; top: 54px; }
    84% { width: 55px; right: 0px; top: 35px; }
    100% { width: 47px; right: 15px; top: 38px; }
}

/* ── Service cards with photo ── */
.serv-card {
    padding: 0;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
}
.serv-card-img {
    width: 100%;
    height: 210px;
    overflow: hidden;
}
.serv-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.serv-card:hover .serv-card-img img {
    transform: scale(1.06);
}
.serv-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* ── Quiénes Somos split ── */
.qs-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 60px;
}
.qs-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.qs-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
}
.qs-img-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.qs-img-badge strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-secondary);
}
.qs-img-badge span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.qs-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.mv-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
}

/* ── Valores grid ── */
.valores-wrap {
    padding-top: 20px;
}
.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}
.valor-item {
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition-smooth);
}
.valor-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.valor-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    margin-top: 4px;
}
.valor-item p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ── ¿Por qué? section ── */
.pq-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}
.pq-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.pq-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.pq-img-wrap:hover .pq-img {
    transform: scale(1.03);
}
.pq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}
.pq-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.pq-check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--color-secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 2px;
}
.pq-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 3px;
}
.pq-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .qs-split, .pq-split {
        grid-template-columns: 1fr;
    }
    .qs-img { height: 300px; }
    .pq-img { height: 300px; }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-content p {
        margin: 0 auto 40px auto;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-visual {
        order: -1;
    }
    .contact-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    /* Mobile: switch to flex, logo and nav-actions visible, nav-left/right inside overlay */
    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .header .logo {
        grid-column: unset;
        grid-row: unset;
    }
    .header .nav-actions {
        grid-column: unset;
        grid-row: unset;
        padding-left: 0;
    }
    .logo img {
        height: 80px;
    }
    .header.scrolled .logo img {
        height: 52px;
    }
    .section {
        padding: 60px 0;
    }
    .hero-content h1 {
        font-size: 2.4rem;
    }
    .nav-mobile-wrap {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: calc(36px + var(--header-height));
        left: -100%;
        width: 100%;
        height: calc(100vh - 36px - var(--header-height));
        background: var(--bg-primary);
        transition: var(--transition-smooth);
        z-index: 99;
        gap: 8px;
    }
    .nav-mobile-wrap.active {
        left: 0;
    }
    /* override the hero-white color — mobile menu has light bg */
    .nav-mobile-wrap.active .nav-link {
        color: var(--text-primary);
    }
    .nav-mobile-wrap.active .nav-link:hover,
    .nav-mobile-wrap.active .nav-link.active {
        color: var(--color-secondary);
    }
    .nav-left, .nav-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 28px;
        width: 100%;
        padding: 16px 0;
        padding-left: 0;
        padding-right: 0;
        justify-content: center;
    }
    .nav-left {
        border-bottom: 1px solid var(--border-glass);
    }
    .hamburger {
        display: flex;
    }
    .tab-btn {
        width: 100%;
        text-align: center;
    }
}

/* Announcement Bar styles */
.announcement-bar {
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-secondary));
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    padding: 8px 16px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 101;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.announcement-track {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.announcement-track span {
    margin-right: 60px;
    display: inline-block;
}

@keyframes marquee {
    0% { transform: translateX(5%); }
    100% { transform: translateX(-100%); }
}

/* Hero Full Banner Background Slider styles */
.hero.full-banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background: none;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay);
    z-index: 3;
}

/* Hero Content and Container */
.hero-banner-container {
    position: relative;
    z-index: 4;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 100px;
}

.hero-banner-content {
    max-width: 720px;
    text-align: left;
    animation: fadeInUp 1s ease-out;
}

.hero-banner-title {
    font-size: 4.2rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.hero-banner-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
    max-width: 620px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

/* Override section-tag color inside hero for contrast on dark overlay */
.hero-banner-content .section-tag {
    color: var(--color-secondary-light);
    letter-spacing: 2.5px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.hero-banner-badges {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out;
}

.hero-banner-badges .hero-badge-float {
    position: static;
    animation: floatBadge 4s ease-in-out infinite;
    box-shadow: var(--shadow-md);
    cursor: default;
    border: 1px solid var(--border-glass);
}

.hero-banner-badges .hero-badge-float:nth-child(2) {
    animation-delay: 2s;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: 1.5px solid var(--border-glass);
    cursor: pointer;
    transition: var(--transition-smooth);
}

[data-theme="dark"] .slider-dots .dot {
    background: rgba(255, 255, 255, 0.2);
}

.slider-dots .dot.active {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--color-secondary);
}

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

@media (max-width: 992px) {
    .hero.full-banner {
        min-height: 100vh;
    }
    .hero-banner-container {
        min-height: 100vh;
        padding-top: calc(var(--header-height) + 60px);
        padding-bottom: 80px;
    }
    .hero-banner-title {
        font-size: 3rem;
    }
    .hero-banner-desc {
        font-size: 1.1rem;
    }
    .hero-banner-badges {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --hero-overlay: linear-gradient(to bottom, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.72) 50%, rgba(0,0,0,0.58) 100%);
    }
    [data-theme="dark"] {
        --hero-overlay: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.75) 50%, rgba(0,0,0,0.6) 100%);
    }
    .hero-banner-title {
        font-size: 2.4rem;
    }
    .hero-banner-desc {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .hero-banner-badges {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .hero-banner-badges .hero-badge-float {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ── Stats Strip ─────────────────────────────────────────────────────────────── */
.stats-strip {
    background: var(--color-primary);
    padding: 44px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-family: var(--font-primary);
}
.stat-label {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ── Certifications Section ──────────────────────────────────────────────────── */
.cert-section {
    background: linear-gradient(135deg, #011c33 0%, #014f82 55%, #012036 100%);
}
.cert-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.cert-img-col { position: relative; }
.cert-img-wrap { position: relative; }
.cert-main-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}
.cert-img-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
}
.cert-img-badge strong { display: block; font-size: 0.9rem; color: var(--text-primary); }
.cert-img-badge span  { font-size: 0.8rem; color: var(--text-secondary); }

.cert-content .section-tag { color: var(--color-secondary); }
.cert-content .section-title { color: #fff; }
.cert-content > p { color: rgba(255,255,255,0.7); }

.cert-badges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.cert-badge-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}
.cert-badge-item:hover {
    background: rgba(0,208,132,0.08);
    border-color: rgba(0,208,132,0.35);
    transform: translateY(-2px);
}
.cert-badge-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(0,208,132,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    position: relative;
}
.cert-badge-item h4 {
    color: #fff;
    font-size: 0.92rem;
    margin: 0 0 4px;
    font-weight: 700;
}
.cert-badge-item p {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
    .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
    .cert-layout { grid-template-columns: 1fr; gap: 48px; }
    .cert-img-wrap { margin-bottom: 24px; }
    .cert-img-badge { right: 0; bottom: -16px; }
    .cert-badges-grid { grid-template-columns: 1fr; }
}

/* Promo Banner Section Styles (Farmatodo Retail Style) */
.promo-section {
    padding: 30px 0;
}

.promo-banners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.promo-banner-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    position: relative;
    overflow: hidden;
    min-height: 240px;
    cursor: pointer;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-bounce);
}

.promo-banner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
}

/* Background Gradients */
.capilar-banner {
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.05) 0%, rgba(56, 189, 248, 0.12) 100%);
}
[data-theme="dark"] .capilar-banner {
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.1) 0%, rgba(56, 189, 248, 0.18) 100%);
}

.vet-banner {
    background: linear-gradient(135deg, rgba(200, 140, 0, 0.05) 0%, rgba(15, 23, 42, 0.04) 100%);
}
[data-theme="dark"] .vet-banner {
    background: linear-gradient(135deg, rgba(200, 140, 0, 0.1) 0%, rgba(17, 26, 46, 0.3) 100%);
}

.promo-card-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-brand {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.72rem;
    color: var(--text-light);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

[data-theme="dark"] .promo-brand {
    color: var(--color-secondary);
}

.promo-card-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    color: var(--text-primary);
}

.promo-card-tagline {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin: 10px 0 0 0;
}

/* Products stack representation */
.promo-card-products {
    position: relative;
    height: 170px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-stack {
    position: absolute;
    max-height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.12));
    transition: var(--transition-bounce);
}

[data-theme="dark"] .prod-stack {
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.5));
}

/* Capilar Stack placement */
.capilar-banner .stack-1 {
    left: 8%;
    bottom: 5px;
    z-index: 1;
    transform: rotate(-10deg) scale(0.9);
}

.capilar-banner .stack-2 {
    left: 33%;
    bottom: 12px;
    z-index: 3;
    transform: scale(1.08);
}

.capilar-banner .stack-3 {
    left: 58%;
    bottom: 5px;
    z-index: 2;
    transform: rotate(10deg) scale(0.95);
}

/* Capilar hover stack animations */
.capilar-banner:hover .stack-1 {
    transform: rotate(-16deg) translateX(-15px) scale(0.92);
}

.capilar-banner:hover .stack-2 {
    transform: translateY(-10px) scale(1.12);
}

.capilar-banner:hover .stack-3 {
    transform: rotate(16deg) translateX(15px) scale(0.98);
}

/* Vet Stack placement */
.vet-banner .stack-1 {
    left: 12%;
    bottom: 5px;
    z-index: 1;
    transform: rotate(-6deg) scale(0.92);
    border-radius: var(--radius-sm);
}

.vet-banner .stack-2 {
    left: 45%;
    bottom: 8px;
    z-index: 2;
    transform: rotate(6deg) scale(0.98);
    border-radius: var(--radius-sm);
}

/* Vet hover stack animations */
.vet-banner:hover .stack-1 {
    transform: rotate(-12deg) translateX(-10px) scale(0.94);
}

.vet-banner:hover .stack-2 {
    transform: rotate(12deg) translateX(10px) translateY(-8px) scale(1.02);
}

/* Responsive grid layout */
@media (max-width: 992px) {
    .promo-banners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .promo-banner-card {
        padding: 30px;
        min-height: 220px;
    }
    
    .promo-card-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .promo-banner-card {
        grid-template-columns: 1.3fr 0.7fr;
        padding: 24px;
        min-height: 180px;
    }
    
    .promo-card-title {
        font-size: 1.3rem;
    }
    
    .promo-card-tagline {
        font-size: 0.8rem;
    }
    
    .prod-stack {
        max-height: 110px;
    }
    
    .promo-card-products {
        height: 120px;
    }
}



