/* SWISS INTERNATIONAL WAYFINDING SYSTEM */

:root {
    --c-paper: #F2EFE9;
    --c-ink: #141414;
    --c-yellow: #FFC400;
    --c-blue: #0057B8;
    
    --font-display: 'Archivo', sans-serif;
    --font-wayfinding: 'Barlow Condensed', sans-serif;
    
    --rule-thickness: 2px;
    --border-ink: var(--rule-thickness) solid var(--c-ink);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--c-paper);
    color: var(--c-ink);
    font-family: var(--font-wayfinding);
    font-size: 18px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-stretch: expanded;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

a {
    color: var(--c-ink);
    text-decoration: none;
}

/* HAZARD STRIPE SEPARATOR */
.hazard-stripe {
    height: 12px;
    width: 100%;
    background: repeating-linear-gradient(
        -45deg,
        var(--c-yellow),
        var(--c-yellow) 15px,
        var(--c-ink) 15px,
        var(--c-ink) 30px
    );
    border-bottom: var(--border-ink);
    border-top: var(--border-ink);
}

/* LAYOUT & GRIDS */
.section-border {
    border-bottom: var(--border-ink);
}

.grid-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* BUTTONS AS SIGN PLATES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--c-yellow);
    color: var(--c-ink);
    font-family: var(--font-wayfinding);
    font-weight: 700;
    font-size: 1.25rem;
    padding: 12px 24px;
    border-radius: 4px;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn span { margin-left: 12px; font-weight: 900; }
.btn:hover { background-color: #E6B000; }
.btn-full { width: 100%; }
.btn-alt { background-color: var(--c-ink); color: var(--c-yellow); }
.btn-alt:hover { background-color: #000; }

/* HEADER & NAV */
.header {
    border-bottom: var(--border-ink);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    padding: 0 40px;
    border-right: var(--border-ink);
    background-color: var(--c-paper);
}

.logo-tile {
    background-color: var(--c-yellow);
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.logo-tile .glyph {
    color: var(--c-ink);
    font-size: 24px;
    transform: rotate(0deg);
    line-height: 1;
}

.logo-bar {
    background-color: var(--c-ink);
    color: var(--c-yellow);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu {
    display: flex;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0 30px;
    font-weight: 700;
    font-size: 1.25rem;
    border-left: var(--border-ink);
    text-transform: uppercase;
}
.nav-link:hover { background-color: var(--c-yellow); }
.nav-link.highlight { background-color: var(--c-blue); color: var(--c-paper); }
.nav-link.highlight:hover { background-color: #004494; }
.nav-link span { margin-left: 8px; font-weight: 900; }

/* HERO */
.hero {
    background-color: var(--c-paper);
}
.hero .grid-container {
    display: flex;
    min-height: 60vh;
}
.hero-left {
    flex: 1;
    padding: 80px 40px 80px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-right {
    width: 300px;
    border-left: var(--border-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--c-yellow);
}

.gate-label {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--c-blue);
    display: inline-block;
    border-bottom: var(--border-ink);
    padding-bottom: 4px;
}
.hero-left .gate-label { color: var(--c-ink); }

.headline {
    font-size: 5rem;
    margin-bottom: 30px;
    word-break: break-word;
}

.description {
    font-size: 1.5rem;
    font-weight: 500;
    max-width: 800px;
    margin-bottom: 40px;
}

.gate-number {
    font-family: var(--font-wayfinding);
    font-size: 18rem;
    font-weight: 700;
    line-height: 0.8;
    color: var(--c-ink);
    letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
}

/* FEATURES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-left: 0;
    padding-right: 0;
}
.feature-col {
    padding: 60px 40px;
}
.col-border-right {
    border-right: var(--border-ink);
}
.feature-num {
    display: inline-block;
    background: var(--c-ink);
    color: var(--c-paper);
    padding: 4px 8px;
    font-weight: 700;
    border-radius: 3px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.feature-header h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.feature-col p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* PRICING */
.section-title-bar {
    padding: 20px 40px;
    border-bottom: var(--border-ink);
    background-color: var(--c-ink);
    color: var(--c-yellow);
}
.section-title-bar h2 {
    font-size: 2.5rem;
    display: flex;
    justify-content: space-between;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-left: 0;
    padding-right: 0;
}
.price-tier {
    padding: 40px;
    display: flex;
    flex-direction: column;
}
.tier-highlight {
    background-color: rgba(255, 196, 0, 0.1);
}
.tier-label {
    font-weight: 700;
    font-size: 1.2rem;
    border-bottom: var(--border-ink);
    padding-bottom: 5px;
    margin-bottom: 15px;
}
.price-tier h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.price-val {
    font-family: var(--font-wayfinding);
    font-size: 4.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    margin-bottom: 30px;
}
.price-val .unit {
    font-size: 1.5rem;
    color: var(--c-blue);
    margin-left: 10px;
}
.tier-details {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}
.tier-details li {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(20,20,20,0.2);
}

/* NEWS CARDS */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-left: 0;
    padding-right: 0;
}
.news-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    background-color: var(--c-paper);
}
.news-meta {
    font-weight: 700;
    color: var(--c-blue);
    margin-bottom: 15px;
    border-bottom: var(--border-ink);
    padding-bottom: 5px;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
}
.news-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.news-card p {
    font-size: 1.2rem;
    font-weight: 500;
    flex-grow: 1;
    margin-bottom: 20px;
}
.news-date {
    font-weight: 700;
    color: #666;
    margin-bottom: 20px;
    font-variant-numeric: tabular-nums;
}
.news-card .btn-alt {
    align-self: flex-start;
}

/* LIST PAGE (ARCHIVE) */
.archive-list {
    display: flex;
    flex-direction: column;
}
.archive-item {
    padding: 40px;
    border-bottom: var(--border-ink);
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    gap: 30px;
    align-items: center;
}
.archive-item:hover {
    background-color: rgba(255,196,0,0.05);
}
.archive-meta {
    font-weight: 700;
    color: var(--c-blue);
    font-size: 1.2rem;
}
.archive-title h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.archive-title p {
    font-size: 1.2rem;
    color: #444;
}
.archive-action {
    text-align: right;
}

/* ARTICLE CONTENT */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 40px;
    background-color: #fff;
    border-left: var(--border-ink);
    border-right: var(--border-ink);
}
.article-header {
    border-bottom: var(--border-ink);
    margin-bottom: 40px;
    padding-bottom: 40px;
}
.article-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}
.article-meta {
    font-weight: 700;
    color: var(--c-blue);
    display: flex;
    gap: 20px;
    text-transform: uppercase;
}
.article-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #222;
}
.article-content h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin: 50px 0 20px;
    padding-bottom: 10px;
    border-bottom: var(--border-ink);
    color: var(--c-ink);
}
.article-content h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin: 30px 0 15px;
    color: var(--c-ink);
}
.article-content p {
    margin-bottom: 20px;
}
.article-content ul, .article-content ol {
    margin: 0 0 20px 30px;
    margin-bottom: 25px;
}
.article-content li {
    margin-bottom: 10px;
}
.article-content a {
    color: var(--c-blue);
    text-decoration: underline;
    font-weight: 600;
}
.article-content a:hover {
    color: var(--c-yellow);
    background-color: var(--c-ink);
    text-decoration: none;
}
.article-content .highlight-box {
    background-color: rgba(255, 196, 0, 0.15);
    border-left: 4px solid var(--c-yellow);
    padding: 20px;
    margin: 30px 0;
}

/* CONNECTIONS (RESOURCES) */
.connections {
    background-color: var(--c-blue);
    color: var(--c-paper);
}
.connections .gate-label {
    color: var(--c-yellow);
    border-color: var(--c-paper);
}
.connections-content {
    padding: 80px 0;
    max-width: 800px;
}
.connections h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--c-paper);
}
.connections p {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

/* FOOTER */
.footer {
    background-color: var(--c-ink);
    color: var(--c-paper);
    padding: 40px 0;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-links a {
    color: var(--c-paper);
    font-weight: 700;
    margin-left: 30px;
    font-size: 1.2rem;
}
.footer-links a:hover {
    color: var(--c-yellow);
}
.footer-links a span { color: var(--c-yellow); }

/* MEDIA QUERIES (RESPONSIVE) */
@media (max-width: 1024px) {
    .headline { font-size: 4rem; }
    .gate-number { font-size: 10rem; }
    .hero-right { width: 200px; }
    .archive-item { grid-template-columns: 1fr; gap: 15px; }
    .archive-action { text-align: left; }
}

@media (max-width: 768px) {
    .nav-container { flex-direction: column; height: auto; }
    .logo { border-right: none; border-bottom: var(--border-ink); padding: 15px; justify-content: center; }
    .nav-menu { flex-direction: column; }
    .nav-link { border-left: none; border-bottom: var(--border-ink); padding: 15px; justify-content: space-between; }
    
    .hero .grid-container { flex-direction: column; }
    .hero-right { width: 100%; border-left: none; border-top: var(--border-ink); padding: 40px 0; }
    
    .features-grid, .pricing-grid, .news-grid { grid-template-columns: 1fr; }
    .col-border-right { border-right: none; border-bottom: var(--border-ink); }
    
    .footer-grid { flex-direction: column; gap: 20px; text-align: center; }
    .footer-links a { display: block; margin: 15px 0 0 0; }
    
    .article-container { padding: 40px 20px; border-left: none; border-right: none; }
    .article-header h1 { font-size: 2.5rem; }
}

/* FLOATING BACK TO TOP BUTTON */
.floating-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: var(--c-yellow);
    color: var(--c-ink);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-wayfinding);
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    border: var(--border-ink);
    transition: transform 0.2s, background-color 0.2s;
    text-transform: uppercase;
}
.floating-btn:hover {
    transform: translateY(-5px);
    background-color: var(--c-ink);
    color: var(--c-yellow);
}

/* NEXT ARTICLE MODULE */
.next-article {
    margin-top: 60px;
    padding-top: 40px;
    border-top: var(--border-ink);
}
.next-article .meta-label {
    font-family: var(--font-wayfinding);
    font-weight: 700;
    color: var(--c-blue);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: block;
}
.next-article h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.next-article .btn-next {
    display: inline-flex;
    align-items: center;
    background: var(--c-ink);
    color: var(--c-paper);
    padding: 12px 24px;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
}
.next-article .btn-next:hover {
    background: var(--c-blue);
}
.next-article .btn-next span {
    margin-left: 10px;
}

/* FAQ SECTION */
.faq {
    background-color: #fff;
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
    padding-bottom: 40px;
}
.faq-item {
    border-bottom: 1px solid rgba(20,20,20,0.2);
    padding-bottom: 20px;
}
.faq-item h3 {
    font-family: var(--font-wayfinding);
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: var(--c-ink);
}
.faq-item h3::before {
    content: "Q:";
    color: var(--c-paper);
    background: var(--c-blue);
    padding: 2px 8px;
    margin-right: 15px;
    border-radius: 3px;
    font-size: 1.2rem;
}
.faq-item p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.6;
}

/* HERO IMAGE */
.hero-image-wrapper {
    margin-top: 40px;
    border: var(--border-ink);
    overflow: hidden;
    max-height: 350px;
    width: 100%;
}
.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    display: block;
}

@media (max-width: 768px) {
    .faq-grid { grid-template-columns: 1fr; gap: 20px; }
    .floating-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1rem; }
}


/* === ADDITIONAL STYLES FOR FAQ & FLOATING BUTTONS === */

/* FAQ SECTION */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    border-top: var(--border-ink);
    padding: 0;
}
.faq-item {
    display: grid;
    grid-template-columns: 1fr 3fr;
    border-bottom: var(--border-ink);
    padding: 40px;
    background-color: var(--c-paper);
}
.faq-item:hover {
    background-color: rgba(255, 196, 0, 0.05);
}
.faq-q {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--c-ink);
    padding-right: 40px;
    line-height: 1.2;
}
.faq-a {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
}

/* FLOATING BUTTONS */
.floating-actions {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}
.float-btn {
    background-color: var(--c-ink);
    color: var(--c-yellow);
    font-family: var(--font-wayfinding);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 12px 20px;
    border-radius: 4px;
    text-align: center;
    border: 2px solid var(--c-yellow);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
    transition: transform 0.2s, background-color 0.2s, color 0.2s;
    text-decoration: none;
    text-transform: uppercase;
}
.float-btn:hover {
    transform: translate(-2px, -2px);
    background-color: var(--c-yellow);
    color: var(--c-ink);
    border-color: var(--c-ink);
}

@media (max-width: 768px) {
    .faq-item { grid-template-columns: 1fr; gap: 20px; padding: 30px 20px; }
    .faq-q { padding-right: 0; }
    .floating-actions { bottom: 20px; right: 20px; }
    .float-btn { padding: 10px 15px; font-size: 1rem; }
}
