/* === Pattern S === */

.hero-s { position: relative; min-height: 340px; overflow: hidden; background: var(--primary); }

.hero-s-tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr); gap: 4px; padding: 4px; }

.hero-s-tile { background-size: cover; background-position: center; opacity: 0.5; transition: opacity 0.5s; }

.hero-s:hover .hero-s-tile { opacity: 0.7; }

.hero-s-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(19,41,75,0.4) 0%, rgba(19,41,75,0.92) 70%); }

.hero-s-text { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; padding: 5rem 2rem; text-align: center; color: white; }

.hero-s-label { display: inline-block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; opacity: 0.85; margin-bottom: 1.2rem; padding: 0.4rem 1.2rem; border: 1px solid rgba(255,255,255,0.4); border-radius: 50px; }

.hero-s h1 { font-size: 2.6rem; font-weight: 900; letter-spacing: 1px; line-height: 1.3; margin-bottom: 1rem; text-shadow: 0 2px 16px rgba(0,0,0,0.5); }

.hero-s-divider { width: 60px; height: 3px; background: var(--accent); margin: 1.2rem auto; }

.hero-s-sub { font-size: 0.95rem; opacity: 0.92; }

@media (max-width: 768px) { .hero-s-tiles { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); } .hero-s h1 { font-size: 1.8rem; } }



