@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --aeromag-bg: #050914;
    --aeromag-surface: #0B1324;
    --aeromag-surface-elevated: #121C33;
    --aeromag-primary: #0F3F7A;
    --aeromag-primary-hover: #17529B;
    --aeromag-accent: #C1121F;
    --aeromag-accent-hover: #A10E19;
    --aeromag-text-primary: #F8FAFC;
    --aeromag-text-secondary: #94A3B8;
    --aeromag-border: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'IBM Plex Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--aeromag-bg);
    color: var(--aeromag-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

ul, ol {
    list-style: none;
}

/* ============================================
   Utilities
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 3rem;
    }
}

.overline {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--aeromag-accent);
}

.accent-line {
    width: 60px;
    height: 3px;
    background-color: var(--aeromag-accent);
}

.text-secondary {
    color: var(--aeromag-text-secondary);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--aeromag-accent);
    color: white;
}

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

.btn-primary .btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Header
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(5, 9, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--aeromag-border);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.site-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

@media (min-width: 768px) {
    .site-logo img {
        height: 48px;
    }
}

.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.main-nav a {
    font-size: 0.875rem;
    color: var(--aeromag-text-secondary);
    font-weight: 500;
    letter-spacing: 0.025em;
}

.main-nav a:hover {
    color: white;
}

.header-right {
    display: none;
}

@media (min-width: 1024px) {
    .header-right {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--aeromag-text-secondary);
}

.header-phone:hover {
    color: white;
}

.header-phone svg {
    width: 14px;
    height: 14px;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--aeromag-bg);
    padding: 1.5rem;
    z-index: 99;
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
    color: var(--aeromag-text-secondary);
    border-bottom: 1px solid var(--aeromag-border);
}

.mobile-menu a:hover {
    color: white;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
}

@media (min-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    background: var(--aeromag-bg);
    order: 2;
}

@media (min-width: 1024px) {
    .hero-content {
        padding: 0 3rem 0 5rem;
        order: 1;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-title strong {
    font-weight: 700;
    display: block;
}

.hero-title span {
    color: var(--aeromag-text-secondary);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--aeromag-text-secondary);
    max-width: 32rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--aeromag-border);
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-stat-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--aeromag-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-stat-label svg {
    width: 16px;
    height: 16px;
    color: var(--aeromag-accent);
}

.hero-stat-value {
    font-weight: 600;
    color: white;
}

.hero-image {
    position: relative;
    height: 50vh;
    order: 1;
}

@media (min-width: 1024px) {
    .hero-image {
        height: auto;
        order: 2;
    }
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, transparent, rgba(5, 9, 20, 0.3));
}

.hero-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(11, 19, 36, 0.8);
    backdrop-filter: blur(16px);
    padding: 1rem 1.5rem;
    border: 1px solid var(--aeromag-border);
    z-index: 10;
}

.hero-badge-label {
    font-size: 0.75rem;
    color: var(--aeromag-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.hero-badge-text {
    font-weight: 700;
    color: white;
    font-size: 1.125rem;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 6rem 0;
    background: var(--aeromag-surface);
}

@media (min-width: 768px) {
    .about-section {
        padding: 8rem 0;
    }
}

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

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-images {
    position: relative;
}

.about-image-main {
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

.about-image-small {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 10rem;
    height: 10rem;
    border: 4px solid var(--aeromag-surface);
    overflow: hidden;
}

@media (min-width: 768px) {
    .about-image-small {
        width: 16rem;
        height: 16rem;
    }
}

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

.about-stat-box {
    position: absolute;
    top: 2rem;
    left: -1rem;
    background: var(--aeromag-accent);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .about-stat-box {
        left: -2rem;
    }
}

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

.about-stat-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.about-content {
    padding-right: 0;
}

@media (min-width: 1024px) {
    .about-content {
        padding-left: 2rem;
    }
}

.about-title {
    font-size: 2rem;
    font-weight: 300;
    color: white;
    margin-bottom: 1.5rem;
}

.about-title strong {
    font-weight: 700;
    display: block;
}

@media (min-width: 768px) {
    .about-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .about-title {
        font-size: 3rem;
    }
}

.about-text {
    color: var(--aeromag-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-text strong {
    color: white;
}

.about-highlights {
    margin-top: 2rem;
}

.about-highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.about-highlight-icon {
    width: 24px;
    height: 24px;
    background: rgba(193, 18, 31, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-highlight-icon svg {
    width: 16px;
    height: 16px;
    color: var(--aeromag-accent);
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    padding: 6rem 0;
    background: var(--aeromag-bg);
}

@media (min-width: 768px) {
    .services-section {
        padding: 8rem 0;
    }
}

.services-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .services-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.services-title {
    font-size: 2rem;
    font-weight: 300;
    color: white;
}

.services-title strong {
    font-weight: 700;
    display: block;
}

@media (min-width: 768px) {
    .services-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .services-title {
        font-size: 3rem;
    }
}

.services-desc {
    color: var(--aeromag-text-secondary);
    max-width: 28rem;
}

.services-scroll {
    display: grid;
	grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.services-scroll::-webkit-scrollbar {
    display: none;
}

.service-card {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 500px;
    flex-shrink: 0;
    scroll-snap-align: start;
    border: 1px solid var(--aeromag-border);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

@media (max-width: 768px) {
	.services-scroll {
		display: flex;
		flex-direction:column;
	}
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.service-card-image {
    position: absolute;
    inset: 0;
}

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

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

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--aeromag-bg) 0%, rgba(5, 9, 20, 0.5) 50%, transparent 100%);
}

.service-card-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--aeromag-accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    letter-spacing: 0.05em;
    z-index: 10;
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 10;
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.service-card-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.service-card-subtitle {
    font-size: 0.875rem;
    color: var(--aeromag-text-secondary);
}

.service-card-desc {
    color: var(--aeromag-text-secondary);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.service-card-link:hover {
    gap: 1rem;
}

.service-card-link svg {
    width: 16px;
    height: 16px;
}

.services-aircraft {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(11, 19, 36, 0.5);
    border: 1px solid var(--aeromag-border);
}

.services-aircraft-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--aeromag-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.services-aircraft-text {
    font-size: 0.875rem;
    color: var(--aeromag-text-secondary);
    line-height: 1.7;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-section {
    padding: 6rem 0;
    background: var(--aeromag-surface);
    overflow: hidden;
}

@media (min-width: 768px) {
    .gallery-section {
        padding: 8rem 0;
    }
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-title {
    font-size: 2rem;
    font-weight: 300;
    color: white;
}

.gallery-title strong {
    font-weight: 700;
}

@media (min-width: 768px) {
    .gallery-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .gallery-title {
        font-size: 3rem;
    }
}

.gallery-rows {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gallery-row {
    display: flex;
    gap: 1.5rem;
}

.gallery-row--marquee {
    animation: marquee 30s linear infinite;
}

.gallery-row--marquee-reverse {
    animation: marquee-reverse 30s linear infinite;
}

.gallery-rows:hover .gallery-row {
    animation-play-state: paused;
}

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

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

.gallery-item {
    flex-shrink: 0;
    height: 200px;
    min-width: 280px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .gallery-item {
        height: 250px;
        min-width: 350px;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.5s ease;
}

.gallery-item:hover img {
    filter: grayscale(0%);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .contact-section {
        padding: 8rem 0;
    }
}

.contact-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.contact-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 9, 20, 0.9);
}

.contact-inner {
    position: relative;
    z-index: 10;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-title {
    font-size: 2rem;
    font-weight: 300;
    color: white;
    margin-bottom: 1rem;
}

.contact-title strong {
    font-weight: 700;
}

@media (min-width: 768px) {
    .contact-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .contact-title {
        font-size: 3rem;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 2fr 3fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(193, 18, 31, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
    color: var(--aeromag-accent);
}

.contact-info-label {
    font-size: 0.875rem;
    color: var(--aeromag-text-secondary);
    margin-bottom: 0.25rem;
}

.contact-info-value {
    color: white;
    font-weight: 500;
}

.contact-info-value a:hover {
    color: var(--aeromag-accent);
}

.contact-hours {
    padding: 1.5rem;
    background: rgba(11, 19, 36, 0.5);
    border: 1px solid var(--aeromag-border);
}

.contact-hours-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--aeromag-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.contact-hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.contact-hours-day {
    color: var(--aeromag-text-secondary);
}

.contact-hours-time {
    color: white;
    font-weight: 500;
}

.contact-form-wrapper {
    background: rgba(11, 19, 36, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--aeromag-border);
    padding: 2rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .contact-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: transparent;
    border: 1px solid var(--aeromag-border);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--aeromag-text-secondary);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--aeromag-accent);
}

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

.form-submit {
    width: 100%;
    margin-top: 1rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    font-size: 0.875rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ============================================
   Location Section
   ============================================ */
.location-section {
    padding: 6rem 0;
    background: var(--aeromag-surface);
}

@media (min-width: 768px) {
    .location-section {
        padding: 8rem 0;
    }
}

.location-header {
    text-align: center;
    margin-bottom: 4rem;
}

.location-title {
    font-size: 2rem;
    font-weight: 300;
    color: white;
    margin-bottom: 1rem;
}

.location-title strong {
    font-weight: 700;
}

@media (min-width: 768px) {
    .location-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .location-title {
        font-size: 3rem;
    }
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .location-grid {
        grid-template-columns: 1fr 2fr;
    }
}

.location-card {
    padding: 2rem;
    background: var(--aeromag-bg);
    border: 1px solid var(--aeromag-border);
}

.location-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.location-card-icon {
    width: 56px;
    height: 56px;
    background: var(--aeromag-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-card-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.location-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.location-card-subtitle {
    font-size: 0.875rem;
    color: var(--aeromag-text-secondary);
}

.location-address {
    color: var(--aeromag-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.location-address strong {
    color: white;
    display: block;
    margin-bottom: 0.25rem;
}

.location-desc {
    font-size: 0.875rem;
    color: var(--aeromag-text-secondary);
    padding-top: 1.5rem;
    border-top: 1px solid var(--aeromag-border);
    margin-bottom: 1rem;
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--aeromag-accent);
    font-weight: 500;
}

.location-link:hover {
    color: white;
}

.location-link svg {
    width: 16px;
    height: 16px;
}

.location-map {
    height: 400px;
    border: 1px solid var(--aeromag-border);
    overflow: hidden;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: invert(90%) hue-rotate(180deg) grayscale(50%);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--aeromag-bg);
    border-top: 1px solid var(--aeromag-border);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 28rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: var(--aeromag-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-badges {
    display: flex;
    gap: 0.75rem;
}

.footer-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    letter-spacing: 0.05em;
}

.footer-badge--primary {
    background: var(--aeromag-accent);
    color: white;
}

.footer-badge--outline {
    border: 1px solid var(--aeromag-border);
    color: white;
}

.footer-nav-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-nav a {
    display: block;
    color: var(--aeromag-text-secondary);
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.footer-nav a:hover {
    color: white;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--aeromag-text-secondary);
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.footer-contact a:hover {
    color: white;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    color: var(--aeromag-accent);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--aeromag-border);
    font-size: 0.875rem;
    color: var(--aeromag-text-secondary);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger animations */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-item:nth-child(5) { transition-delay: 0.5s; }
.stagger-item:nth-child(6) { transition-delay: 0.6s; }

/* ============================================
   Loading States
   ============================================ */
.btn.is-loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.is-loading .btn-text {
    visibility: hidden;
}

.btn.is-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Screen Reader Only
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   Magneti Page Styles
   ============================================ */
.magneti-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
}

.magneti-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.magneti-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.magneti-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 9, 20, 0.95) 0%, rgba(5, 9, 20, 0.7) 100%);
}

.magneti-hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.magneti-hero-title {
    font-size: 3rem;
    font-weight: 300;
    color: white;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .magneti-hero-title {
        font-size: 4rem;
    }
}

.magneti-hero-subtitle {
    font-size: 1.25rem;
    color: var(--aeromag-text-secondary);
    margin-bottom: 2rem;
}

/* Magneti Tabs */
.magneti-tabs-section {
    background: var(--aeromag-surface);
    border-bottom: 1px solid var(--aeromag-border);
    position: sticky;
    top: 64px;
    z-index: 40;
}

.magneti-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none;
}

.magneti-tabs::-webkit-scrollbar {
    display: none;
}

.magneti-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--aeromag-border);
    border-radius: 8px;
    color: var(--aeromag-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.magneti-tab:hover,
.magneti-tab.is-active {
    background: rgba(193, 18, 31, 0.1);
    border-color: var(--aeromag-accent);
    color: white;
}

.magneti-tab svg {
    flex-shrink: 0;
}

/* Magneti Content */
.magneti-content-section {
    padding: 4rem 0;
    background: var(--aeromag-bg);
}

.magneti-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .magneti-content-grid {
        grid-template-columns: 1fr 2fr;
    }
}

.magneti-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.magneti-services-list {
    list-style: none;
}

.magneti-services-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--aeromag-text-secondary);
    border-bottom: 1px solid var(--aeromag-border);
}

.magneti-services-list li:last-child {
    border-bottom: none;
}

.magneti-services-list svg {
    color: var(--aeromag-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Magneti Types */
.magneti-types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .magneti-types-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.magneti-type-card {
    background: var(--aeromag-surface);
    border: 1px solid var(--aeromag-border);
    padding: 2rem;
}

.magneti-type-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.magneti-type-subtitle {
    font-size: 0.875rem;
    color: var(--aeromag-accent);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--aeromag-border);
}

.magneti-type-list {
    list-style: none;
}

.magneti-type-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--aeromag-text-secondary);
    font-size: 0.9375rem;
}

.magneti-type-list svg {
    color: var(--aeromag-accent);
    flex-shrink: 0;
}

/* Magneti Delivery */
.magneti-delivery {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--aeromag-surface);
    border: 1px solid var(--aeromag-border);
    border-left: 4px solid var(--aeromag-accent);
}

.magneti-delivery-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.magneti-delivery-text {
    color: var(--aeromag-text-secondary);
    line-height: 1.7;
}

/* Magneti CTA */
.magneti-cta-section {
    padding: 4rem 0;
    background: var(--aeromag-surface);
}

.magneti-cta {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--aeromag-accent), #8B0D14);
    border-radius: 0;
}

@media (min-width: 768px) {
    .magneti-cta {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.magneti-cta h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.magneti-cta p {
    color: rgba(255, 255, 255, 0.8);
}

.magneti-cta .btn {
    background: white;
    color: var(--aeromag-accent);
    flex-shrink: 0;
}

.magneti-cta .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ============================================
   Magneti Highlight Section (Homepage)
   ============================================ */
.magneti-highlight-section {
    position: relative;
    padding: 5rem 0 6rem;
    background: linear-gradient(180deg, var(--aeromag-bg) 0%, var(--aeromag-surface) 100%);
    overflow: hidden;
    border-top: 1px solid var(--aeromag-border);
    border-bottom: 1px solid var(--aeromag-border);
}

.magneti-highlight-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 20%, rgba(193, 18, 31, 0.10), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(15, 63, 122, 0.18), transparent 50%);
    z-index: 0;
}

.magneti-highlight-section .container {
    position: relative;
    z-index: 1;
}

.magneti-highlight-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

@media (min-width: 1024px) {
    .magneti-highlight-header {
        grid-template-columns: 1.3fr 1fr;
        gap: 4rem;
    }
}

.magneti-highlight-overline {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--aeromag-accent);
    font-weight: 600;
    letter-spacing: 0.18em;
}

.magneti-highlight-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--aeromag-accent);
    box-shadow: 0 0 0 0 rgba(193, 18, 31, 0.7);
    animation: magneti-pulse 2s infinite;
}

@keyframes magneti-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(193, 18, 31, 0.7); }
    70%  { box-shadow: 0 0 0 12px rgba(193, 18, 31, 0); }
    100% { box-shadow: 0 0 0 0 rgba(193, 18, 31, 0); }
}

.magneti-highlight-title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    margin: 1rem 0 1.25rem;
    color: var(--aeromag-text-primary);
    font-weight: 300;
}

.magneti-highlight-title strong {
    font-weight: 700;
    background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.magneti-highlight-title span {
    display: block;
    color: var(--aeromag-accent);
    font-style: italic;
    font-weight: 400;
}

.magneti-highlight-desc {
    color: var(--aeromag-text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 560px;
}

.magneti-highlight-image {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--aeromag-border);
}

.magneti-highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.magneti-highlight-image:hover img {
    transform: scale(1.04);
}

.magneti-highlight-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--aeromag-accent);
    color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    box-shadow: 0 8px 20px -6px rgba(193, 18, 31, 0.6);
}

.magneti-highlight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .magneti-highlight-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .magneti-highlight-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.magneti-highlight-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    background: var(--aeromag-surface-elevated);
    border: 1px solid var(--aeromag-border);
    border-radius: 1rem;
    color: var(--aeromag-text-primary);
    text-decoration: none;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    overflow: hidden;
    isolation: isolate;
}

.magneti-highlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(193, 18, 31, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.magneti-highlight-card:hover {
    transform: translateY(-6px);
    border-color: rgba(193, 18, 31, 0.5);
    background: var(--aeromag-surface);
}

.magneti-highlight-card:hover::before {
    opacity: 1;
}

.magneti-highlight-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(193, 18, 31, 0.12);
    color: var(--aeromag-accent);
    margin-bottom: 1.25rem;
    transition: background 0.35s ease, color 0.35s ease;
}

.magneti-highlight-card:hover .magneti-highlight-card-icon {
    background: var(--aeromag-accent);
    color: #fff;
}

.magneti-highlight-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--aeromag-text-primary);
}

.magneti-highlight-card-desc {
    font-size: 0.9rem;
    color: var(--aeromag-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.magneti-highlight-card-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--aeromag-accent);
    transition: transform 0.3s ease;
}

.magneti-highlight-card:hover .magneti-highlight-card-arrow {
    transform: translateX(6px);
}

.magneti-highlight-cta {
    margin-top: 3rem;
    text-align: center;
}

.magneti-highlight-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 2.25rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.magneti-highlight-cta-btn .btn-arrow {
    transition: transform 0.3s ease;
}

.magneti-highlight-cta-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ============================================
   Highlight "Magneti" item u glavnoj navigaciji
   ============================================ */
.main-nav a.nav-magneti,
.mobile-menu a.nav-magneti {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--aeromag-text-primary);
    font-weight: 600;
    position: relative;
}

.main-nav a.nav-magneti::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: var(--aeromag-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.main-nav a.nav-magneti:hover::after {
    transform: scaleX(1);
}

.nav-magneti-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--aeromag-accent);
    box-shadow: 0 0 0 0 rgba(193, 18, 31, 0.7);
    animation: magneti-pulse 2.4s infinite;
    flex-shrink: 0;
}

/* ============================================
   Magneti Page - Tabs & Panels (functional)
   ============================================ */
.magneti-panels-section {
    padding: 3rem 0 5rem;
    background: var(--aeromag-bg);
}

.magneti-panel {
    display: none !important;
    animation: magneti-fade-in 0.35s ease;
}

.magneti-panel.is-active {
    display: block !important;
}

@keyframes magneti-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.magneti-tab {
    background: var(--aeromag-surface);
    border: 1px solid var(--aeromag-border);
    cursor: pointer;
    font-family: inherit;
}

.magneti-tab:hover,
.magneti-tab.is-active {
    background: var(--aeromag-accent);
    border-color: var(--aeromag-accent);
    color: #fff;
}

.magneti-panel-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .magneti-panel-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 3.5rem;
    }
}

.magneti-panel-main {
    color: var(--aeromag-text-primary);
}

.magneti-rich-text {
    color: var(--aeromag-text-secondary);
    line-height: 1.75;
    font-size: 1.02rem;
}

.magneti-rich-text p {
    margin-bottom: 1rem;
}

.magneti-rich-text strong {
    color: var(--aeromag-text-primary);
}

.magneti-rich-text a {
    color: var(--aeromag-accent);
    text-decoration: underline;
}

.magneti-rich-text ul,
.magneti-rich-text ol {
    margin: 1rem 0 1rem 1.25rem;
    color: var(--aeromag-text-secondary);
}

.magneti-rich-text li {
    margin-bottom: 0.4rem;
}

.magneti-panel-aside {
    background: var(--aeromag-surface);
    border: 1px solid var(--aeromag-border);
    border-radius: 1rem;
    padding: 2rem 1.75rem;
    position: sticky;
    top: 6rem;
}

.magneti-aside-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--aeromag-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.magneti-services-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem 0;
    color: var(--aeromag-text-primary);
    list-style: none;
    border-bottom: 1px solid var(--aeromag-border);
}

.magneti-services-list li:last-child { border-bottom: 0; }

.magneti-services-list svg {
    color: var(--aeromag-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.magneti-panel-image {
    margin: 2rem 0;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--aeromag-border);
    max-width: 800px;
}

.magneti-panel-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Inspekcija koraci */
.magneti-steps {
    margin-top: 2.5rem;
    list-style: none;
    counter-reset: none;
    display: grid;
    gap: 1.25rem;
}

.magneti-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 1.5rem 1.75rem;
    background: var(--aeromag-surface);
    border: 1px solid var(--aeromag-border);
    border-radius: 0.85rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.magneti-step:hover {
    border-color: rgba(193, 18, 31, 0.4);
    transform: translateX(4px);
}

.magneti-step-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--aeromag-accent);
    line-height: 1;
    min-width: 2.5rem;
}

.magneti-step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--aeromag-text-primary);
}

.magneti-step-content p {
    color: var(--aeromag-text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Montaza napomene */
.magneti-notes {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--aeromag-surface);
    border-left: 4px solid var(--aeromag-accent);
    border-radius: 0.5rem;
}

.magneti-notes-title {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--aeromag-text-primary);
}

.magneti-notes-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.magneti-notes-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: var(--aeromag-text-secondary);
}

.magneti-notes-list svg {
    color: var(--aeromag-accent);
    flex-shrink: 0;
    margin-top: 3px;
}

/* FAQ Accordion */
.magneti-faq-intro {
    color: var(--aeromag-text-secondary);
    margin-bottom: 2rem;
    max-width: 720px;
}

.magneti-faq {
    display: grid;
    gap: 0.75rem;
    max-width: 920px;
}

.magneti-faq-item {
    background: var(--aeromag-surface);
    border: 1px solid var(--aeromag-border);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.magneti-faq-item:hover {
    border-color: rgba(193, 18, 31, 0.35);
}

.magneti-faq-item[open] {
    border-color: var(--aeromag-accent);
}

.magneti-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
    color: var(--aeromag-text-primary);
    font-weight: 500;
    transition: background 0.3s ease;
}

.magneti-faq-item summary::-webkit-details-marker { display: none; }

.magneti-faq-item summary:hover {
    background: rgba(255, 255, 255, 0.02);
}

.magneti-faq-q {
    flex: 1;
    font-size: 1.02rem;
}

.magneti-faq-icon {
    color: var(--aeromag-accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.magneti-faq-item[open] .magneti-faq-icon {
    transform: rotate(180deg);
}

.magneti-faq-a {
    padding: 0 1.5rem 1.5rem;
    color: var(--aeromag-text-secondary);
    line-height: 1.7;
    border-top: 1px solid var(--aeromag-border);
    padding-top: 1.25rem;
}

.magneti-faq-a p {
    margin-bottom: 0.75rem;
}

/* ============================================
   Magneti List Section (CPT cards on /magneti/)
   ============================================ */
.magneti-list-section {
    padding: 5rem 0;
    background: var(--aeromag-surface);
    border-top: 1px solid var(--aeromag-border);
}

.magneti-list-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.magneti-list-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 1rem 0;
    color: var(--aeromag-text-primary);
}

.magneti-list-title strong {
    font-weight: 700;
}

.magneti-list-title span {
    font-weight: 300;
    color: var(--aeromag-text-secondary);
}

.magneti-list-desc {
    color: var(--aeromag-text-secondary);
    font-size: 1.05rem;
}

.magneti-list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .magneti-list-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .magneti-list-grid { grid-template-columns: repeat(3, 1fr); }
}

.magneti-list-card {
    display: flex;
    flex-direction: column;
    background: var(--aeromag-surface-elevated);
    border: 1px solid var(--aeromag-border);
    border-radius: 1rem;
    overflow: hidden;
    color: var(--aeromag-text-primary);
    text-decoration: none;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.magneti-list-card:hover {
    transform: translateY(-6px);
    border-color: rgba(193, 18, 31, 0.5);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

.magneti-list-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--aeromag-bg);
}

.magneti-list-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.magneti-list-card-image--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--aeromag-text-secondary);
    opacity: 0.4;
}

.magneti-list-card-body {
    padding: 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.magneti-list-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.magneti-list-card-subtitle {
    color: var(--aeromag-accent);
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
    font-weight: 500;
}

.magneti-list-card-desc {
    color: var(--aeromag-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.magneti-list-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.magneti-badge {
    display: inline-block;
    background: rgba(193, 18, 31, 0.15);
    color: var(--aeromag-accent);
    border: 1px solid rgba(193, 18, 31, 0.3);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.magneti-badge--large {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
}

.magneti-list-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--aeromag-accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    transition: gap 0.3s ease;
}

.magneti-list-card:hover .magneti-list-card-cta {
    gap: 0.75rem;
}

.magneti-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--aeromag-text-secondary);
    background: var(--aeromag-surface-elevated);
    border: 1px dashed var(--aeromag-border);
    border-radius: 1rem;
}

/* ============================================
   Single Magnet Page
   ============================================ */
.single-magnet-hero {
    position: relative;
    min-height: 480px;
    padding: 8rem 0 4rem;
    overflow: hidden;
    background: var(--aeromag-bg);
}

.single-magnet-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.single-magnet-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.single-magnet-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,9,20,0.3) 0%, rgba(5,9,20,0.95) 100%);
}

.single-magnet-hero .container {
    position: relative;
    z-index: 1;
}

.single-magnet-hero-content {
    max-width: 760px;
}

.single-magnet-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--aeromag-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.single-magnet-back:hover {
    color: var(--aeromag-accent);
    transform: translateX(-4px);
}

.single-magnet-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin: 1rem 0;
    color: var(--aeromag-text-primary);
}

.single-magnet-subtitle {
    color: var(--aeromag-accent);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.single-magnet-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.single-magnet-content {
    padding: 4rem 0 5rem;
    background: var(--aeromag-bg);
}

.single-magnet-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .single-magnet-grid {
        grid-template-columns: 1.6fr 1fr;
        gap: 3.5rem;
    }
}

.single-magnet-lead {
    font-size: 1.2rem;
    color: var(--aeromag-text-primary);
    line-height: 1.55;
    margin-bottom: 2rem;
    padding-left: 1.25rem;
    border-left: 3px solid var(--aeromag-accent);
}

.single-magnet-modeli {
    margin-top: 3rem;
}

.single-magnet-modeli-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .single-magnet-modeli-list { grid-template-columns: repeat(2, 1fr); }
}

.single-magnet-modeli-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    background: var(--aeromag-surface);
    border: 1px solid var(--aeromag-border);
    border-radius: 0.5rem;
    color: var(--aeromag-text-primary);
    transition: border-color 0.3s ease;
}

.single-magnet-modeli-list li:hover {
    border-color: var(--aeromag-accent);
}

.single-magnet-modeli-list svg {
    color: var(--aeromag-accent);
    flex-shrink: 0;
}

.single-magnet-gallery {
    margin-top: 3rem;
}

.single-magnet-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .single-magnet-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.single-magnet-gallery-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0.5rem;
    border: 1px solid var(--aeromag-border);
}

.single-magnet-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.single-magnet-gallery-item:hover img {
    transform: scale(1.08);
}

.single-magnet-aside {
    position: sticky;
    top: 6rem;
}

.single-magnet-card {
    background: var(--aeromag-surface);
    border: 1px solid var(--aeromag-border);
    border-radius: 1rem;
    padding: 2rem 1.75rem;
}

.single-magnet-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--aeromag-text-primary);
}

.single-magnet-card > p {
    color: var(--aeromag-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.single-magnet-card-cta {
    width: 100%;
    justify-content: center;
}

.single-magnet-card-divider {
    height: 1px;
    background: var(--aeromag-border);
    margin: 1.75rem 0;
}

.single-magnet-card-info {
    color: var(--aeromag-text-secondary);
    font-size: 0.88rem;
    line-height: 1.9;
}

.single-magnet-card-info strong {
    color: var(--aeromag-text-primary);
}

/* CPT cards u magneti-highlight na homepageu */
.magneti-highlight-card--cpt {
    padding: 0;
    overflow: hidden;
}

.magneti-highlight-card--cpt .magneti-highlight-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--aeromag-bg);
}

.magneti-highlight-card--cpt .magneti-highlight-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.magneti-highlight-card--cpt:hover .magneti-highlight-card-image img {
    transform: scale(1.05);
}

.magneti-highlight-card-body {
    padding: 1.5rem 1.5rem 1.75rem;
}

.magneti-highlight-card-subtitle {
    color: var(--aeromag-accent);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}
