/* ============================================
   Asociácia výrobcov certifikovaných sklenených zábradlí
   Premium Design - Navy & Gold Color Scheme
   ============================================ */

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

:root {
    /* Navy & Gold Color Scheme - Updated to match design */
    --color-navy: #002f56;
    --color-navy-dark: #001f3d;
    --color-navy-light: #003d70;
    --color-gold: #b3a369;
    --color-gold-light: #c4b57a;
    --color-gold-dark: #9a8c5a;
    --color-cream: #f5f0e8;
    --color-cream-light: #faf8f4;

    /* Success & Status */
    --color-success: #2e7d32;
    --color-success-bg: #e8f5e9;
    --color-warning: #c5a572;
    --color-danger: #c62828;

    /* Neutrals */
    --color-text: #1a2744;
    --color-text-light: #5a6a7a;
    --color-text-muted: #8a9aaa;
    --color-bg: #FFFFFF;
    --color-bg-light: #f8f9fa;
    --color-border: #e0e4e8;
    --color-border-gold: rgba(197, 165, 114, 0.3);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.7;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(26, 39, 68, 0.05);
    --shadow-md: 0 4px 12px rgba(26, 39, 68, 0.08);
    --shadow-lg: 0 8px 24px rgba(26, 39, 68, 0.12);
    --shadow-xl: 0 16px 48px rgba(26, 39, 68, 0.16);
    --shadow-gold: 0 4px 20px rgba(197, 165, 114, 0.25);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: var(--font-family-sans);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-bg);
}

h1,
h2,
h3 {
    font-family: var(--font-family);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.header {
    background-color: var(--color-bg);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--color-navy);
}

.logo-image {
    height: 65px;
    width: auto;
}

.logo-badge {
    width: 94px;
    height: 94px;
    object-fit: contain;
    margin: -12px 0;
    position: relative;
    z-index: 10;
}

.nav {
    display: flex;
    /* gap: var(--spacing-lg); */
    gap: 20px;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s;
    position: relative;
    padding: var(--spacing-xs) 0;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-gold);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-navy);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    color: white;
    padding: var(--spacing-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    opacity: 1;
    z-index: 0;
}

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

.hero-content {
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    letter-spacing: -0.5px;
    white-space: nowrap;
    margin-left: -10px;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
    font-weight: 400;
    margin-bottom: -20px;
}

.hero-subtitle strong {
    /* color: var(--color-gold); */
    color: white;
}

.search-box {
    margin: var(--spacing-xl) 0;
}

.search-form {
    max-width: 550px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    background: white;
    /* border-radius: var(--radius-xl); */
    border-radius: 10px;
    padding: 6px;
    box-shadow: var(--shadow-xl);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.search-input {
    flex: 1;
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
    outline: none;
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--color-text);
}

.search-input::placeholder {
    color: var(--color-text-muted);
}

.search-button {
    background: var(--color-gold);
    color: white;
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    /* border-radius: 0 var(--radius-xl) var(--radius-xl) 0; */
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all 0.3s;
}

.search-button img {
    filter: brightness(0) invert(1);
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(197, 165, 114, 0.4);
}

.hero-note {
    margin-top: var(--spacing-lg);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: -20px;
}

.hero-note a {
    color: var(--color-gold-light);
    text-decoration: none;
    text-underline-offset: 2px;
    color: white;
}

.hero-note a:hover {
    color: var(--color-gold);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: white;
    box-shadow: var(--shadow-gold);
}

.cta-text a {
    text-decoration: none !important;
    color: white;
    /* font-weight: 500; */
}

.cta-text a:hover {
    /* text-decoration: underline; */
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(197, 165, 114, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--color-navy);
    color: white;
}

.cta-box .btn-outline {
    background-color: white;
    color: var(--color-navy);
    border: 2px solid white;
    width: 270px;
}

.cta-box .btn-outline:hover {
    background-color: transparent;
    color: white;
}

.cta-box .btn-primary {
    background: var(--color-navy);
    color: white;
    width: 270px;
}

.cta-box .btn-primary:hover {
    background: var(--color-navy-dark);
}

.btn-outline-light {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--color-navy);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1rem;
}

/* Values Section */
.values {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-bg);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 600;
    text-align: center;
    /* margin-bottom: var(--spacing-sm); */
    color: var(--color-navy);
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--color-text-light);
    /* margin-bottom: var(--spacing-2xl); */
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.value-card {
    background: #f5f5f5;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: left;
    border: none;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: #eeeeee;
}

.value-icon {
    width: 48px;
    height: 48px;
    margin: 0 0 var(--spacing-md) 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.value-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-navy);
    font-family: var(--font-family);
    text-align: left;
}

.value-text {
    color: var(--color-text-light);
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: left;
}

/* Why Important Section */
.why-important {
    /* padding: var(--spacing-3xl) 0; */
    background-color: var(--color-bg-light);
}

.why-important-box {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl) var(--spacing-2xl) var(--spacing-2xl);
    color: white;
    position: relative;
    margin-bottom: 30px;
}

.why-important-box .section-title {
    color: white;
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.why-important-box .lead-text {
    text-align: center;
    /* color: rgba(255, 255, 255, 0.75); */
    color: white;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1rem;
    line-height: 1.6;
}

.importance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md) var(--spacing-2xl);
    margin-bottom: var(--spacing-md);
}

.importance-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

/* Filled gold circle with white checkmark */
.importance-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    border: 2px solid var(--color-gold);
    border-radius: 40%;
}

.importance-icon img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

/* Gold colored headings */
.importance-content h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    /* color: var(--color-gold); */
    color: white;
    font-family: var(--font-family);
}

.importance-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Floating gold pill button for importance section */
.importance-cta {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.importance-cta .btn-primary {
    background: #b3a369;
    color: white;
    border-radius: 4px;
    padding: var(--spacing-md) var(--spacing-2xl);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    font-weight: 600;
    min-width: 280px;
    text-align: center;
    margin-bottom: -20px;
}

/* Updated 2026-01-29 - Button styling refined */
.importance-cta .btn-primary:hover {
    background: #c4b57a;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  
}

/* Standards Section */
.standards {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-bg);
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.standard-card {
    background: #fafafa;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    /* border: 1px solid #e0e0e0; */
    transition: all 0.3s;
}

.standard-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: #c0c0c0;
}

.standard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    gap: var(--spacing-sm);
}

.standard-code {
    font-weight: 700;
    /* color: var(--color-navy); */
    color: var(--color-gold);
    font-size: 1rem;
    font-family: var(--font-family);
}

.standard-badge {
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.standard-badge-required {
    background-color: #1FED9A;
    color: white;
}

.standard-badge-conditional {
    background-color: #001f3d;
    color: white;
}

.standard-name {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-navy);
    font-family: var(--font-family);
    line-height: 1.3;
}

.standard-description {
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.standard-features {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: var(--spacing-sm);
}

.standard-features li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.standard-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    /* color: var(--color-navy); */
    color: var(--color-gold);
    font-weight: bold;
}

.standards-cta {
    text-align: center;
    padding-top: var(--spacing-lg);
}

/* Gold button for standards section */
.standards-cta .btn-primary {
    background: #b3a369;
    color: white;
    border-radius: 4px;
    padding: var(--spacing-md) var(--spacing-2xl);
    box-shadow: none;
    font-weight: 600;
    margin-top: -45px;
}

.standards-cta .btn-primary:hover {
    background: #c4b57a;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Membership Preview Section */
.membership-preview {
    /* padding: var(--spacing-3xl) 0; */
    background-color: var(--color-bg-light);
}

.membership-box {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl) var(--spacing-3xl) var(--spacing-3xl);
    color: white;
    display: grid;
    grid-template-columns: 1fr auto;
    /* gap: var(--spacing-2xl); */
    align-items: center;
    position: relative;
    overflow: visible;
    margin-bottom: 30px;
}

.membership-bg-clipper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
}

/* Logo watermark background effect */
/* Logo watermark background effect */
.membership-bg-clipper::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 80px;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-2xl);
    background-image: url('../img/badge.svg');
    background-size: 500px;
    background-repeat: no-repeat;
    background-position: 100% 55%;
    opacity: 0.1;
    transform: rotate(8deg);
    pointer-events: none;
    z-index: 0;
    clip-path: inset(0 round var(--radius-2xl));


}

.membership-content {
    position: relative;
    z-index: 1;
}

.membership-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: white;
}

.membership-subtitle {
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
}

.membership-subtitle strong {
    /* color: var(--color-gold); */
    color: white;
}

.membership-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm) var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.membership-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
}

.membership-feature .check-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--color-gold);
    border-radius: 35%;
}

.membership-feature .check-icon img {
    width: 12px;
    height: 12px;
}

.membership-note {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    margin: var(--spacing-md) 0 0;
}

.membership-badge {
    position: absolute;
    top: -35px;
    right: 20px;
    z-index: 10;
    transform: rotate(15deg);
}

.membership-badge-img {
    width: 220px;
    height: auto;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.25));
    margin: 15px;
    margin-top: -10px;
}

/* Overlapping Button */
.membership-box .btn-primary {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #b3a369;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
    min-width: 280px;
    text-align: center;
    z-index: 5;
    border-radius: 4px;
    font-weight: 600;
}

.membership-box .btn-primary:hover {
    background: #c4b57a;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}


@media (max-width: 1024px) {
    .membership-box {
        padding-top: var(--spacing-3xl);
        padding-bottom: 110px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .membership-box::before {
        display: none;
    }

    .membership-badge {
        position: static;
        order: -1;
        margin-bottom: var(--spacing-md);
        transform: none;
        display: inline-block;
    }

    .membership-features {
        justify-items: left;
        grid-template-columns: repeat(1, 1fr);
        margin-bottom:40px;
    }
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-bg-light);
}

.cta-box {
    background-color: var(--color-gold);
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl) var(--spacing-3xl);
    text-align: center;
}

.cta-title {
    font-size: 1.98rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: white;
}

.cta-text a {
    color: white;
    /* text-decoration: underline; */
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    /* background: #ffffff; */
    background: #002f56;
    color: var(--color-text);
    padding: var(--spacing-xl) 0 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.footer-bg {
    display: none;
    /* Removed background image to make footer white */
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-top {
    text-align: center;
    padding-bottom: var(--spacing-md);
    border-bottom: none;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-logo-img {
    height: 60px;
    width: auto;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    font-family: var(--font-family);
}

.footer-description {
    /* color: rgba(255, 255, 255, 0.7); */
    color: white;
    font-size: 0.9375rem;
    /* max-width: 500px; */
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* gap: var(--spacing-lg); */
    padding: var(--spacing-lg) 0;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 400;
    /* color: rgba(255, 255, 255, 0.7); */
    color: white;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-family-sans);
}

/* Hide headers for first two navigation columns */
.footer-column:nth-child(1) h4,
.footer-column:nth-child(2) h4 {
    display: none;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-contact-item {
    margin-bottom: var(--spacing-sm);
}

.footer-contact-label {
    font-size: 0.8125rem;
    /* color: rgba(255, 255, 255, 0.5); */
    color: white;
    margin-bottom: 2px;
}

.footer-contact-value {
    color: var(--color-gold);
    font-size: 0.9375rem;
}

div.footer-contact-value {
    color: white;
}

.footer-contact-value a {
    color: white;
    text-decoration: none;
}

.footer-contact-value a:hover {
    text-decoration: underline;
}

.footer-operator {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.operator-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md) var(--spacing-xl);
    align-items: center;
}

.operator-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.operator-name {
    font-weight: 600;
    color: white;
    font-size: 0.9375rem;
}

.operator-details {
    display: flex;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.operator-details .separator {
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    background: #ffffff;
    color: var(--color-text);
    border-top: 1px solid #e5e7eb;
    width: 100%;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
}

.footer-copyright {
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin: 0;
}

.footer-legal a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--color-navy);
}

/* 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-width: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .standards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .membership-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .membership-badge {
        order: -1;
    }

    .membership-features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 104px;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        z-index: 99;
        overflow-y: auto;
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        padding: 12px var(--spacing-sm);
        border-bottom: 1px solid var(--color-border);
        text-align: center;
    }

    .nav-link.active::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        padding: var(--spacing-2xl) 0;
    }

    .hero-title {
        font-size: 2rem;
        white-space: normal;
        margin-left: 0;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .search-input-wrapper {
        flex-direction: column;
    }

    .search-button {
        width: 100%;
        justify-content: center;
    }

    .values-grid,
    .standards-grid {
        grid-template-columns: 1fr;
    }

    .importance-grid {
        grid-template-columns: 1fr;
    }

    .membership-features {
        grid-template-columns: 1fr;
    }

    .why-important-box,
    .cta-box {
        padding: var(--spacing-xl);
        border-radius: var(--radius-xl);
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    .operator-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .operator-details {
        flex-wrap: wrap;
    }
}
@media (max-width: 480px) {
    .nav
    {
     top:78px;   
    }
}
@media (max-width: 660px){
.membership-box
    {
        padding-left:35px;
        padding-right:35px;
    }

}
@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.value-card,
.standard-card,
.importance-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.value-card.animate-in,
.standard-card.animate-in,
.importance-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.value-card:nth-child(1) {
    transition-delay: 0s;
}

.value-card:nth-child(2) {
    transition-delay: 0.1s;
}

.value-card:nth-child(3) {
    transition-delay: 0.2s;
}

.value-card:nth-child(4) {
    transition-delay: 0.3s;
}

.standard-card:nth-child(1) {
    transition-delay: 0s;
}

.standard-card:nth-child(2) {
    transition-delay: 0.1s;
}

.standard-card:nth-child(3) {
    transition-delay: 0.2s;
}

.importance-item:nth-child(1) {
    transition-delay: 0s;
}

.importance-item:nth-child(2) {
    transition-delay: 0.1s;
}

.importance-item:nth-child(3) {
    transition-delay: 0.2s;
}

.importance-item:nth-child(4) {
    transition-delay: 0.3s;
}

/* Initial state for elements (will be animated) */
.hero-content {
    animation: fadeInUp 0.8s ease forwards;
}

.search-box {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

/* Button hover effects */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Card hover effects */
.value-card,
.standard-card {
    position: relative;
    overflow: hidden;
}

.value-card::before,
.standard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 165, 114, 0.1), transparent);
    transition: left 0.5s;
}

.value-card:hover::before,
.standard-card:hover::before {
    left: 100%;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
.search-input:focus,
.search-button:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* Selection styling */
::selection {
    background-color: var(--color-gold);
    color: white;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-dark);
}

/* ========================================
   SUBPAGE STYLES - O asociácii
   ======================================== */

/* Hero Subpage */
.hero-subpage {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    padding: var(--spacing-2xl) 0;
}

.hero-subpage .hero-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.hero-subpage .hero-subtitle {
    margin-bottom: 0;
    opacity: 0.9;
}

/* About Intro Section */
.about-intro {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-bg);
}

.about-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    align-items: start;
}

.about-row:last-child {
    margin-bottom: 0;
}

.about-heading h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.4;
}

.about-text p {
    color: var(--color-text-light);
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Values Subpage */
.values-subpage {
    background-color: var(--color-bg);
    padding-top: 0;
}

.values-header {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
    align-items: start;
    border-bottom: none;
}

.values-heading h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.3;
    margin-bottom: -20px;
}

.values-heading h2::after {
    display: none !important;
}

.values-text p {
    color: var(--color-text-light);
    font-size: 1.125rem;
    line-height: 1.7;
}

.section-title-left {
    text-align: left;
    margin-top: -40px;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 700;
    /* position: relative; */
    /* padding-bottom: var(--spacing-md); */
}

.section-title-left::after {
    display: none;

}

.section-subtitle-left {
    text-align: left;
    margin-left: 0;
    margin-bottom: -30px;
}

.values-subpage .value-card {
    padding: var(--spacing-lg);
}

.values-subpage .value-text {
    display: none;
}

/* Goals Section */
.goals-section {
    padding: var(--spacing-xl) 0 var(--spacing-3xl);
    background-color: var(--color-bg);
}

.goals-section .section-title-left::after {
    display: none;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.goal-card {
    padding: var(--spacing-lg);
    border-radius: 16px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.goal-card-navy {
    background: var(--color-navy);
    color: white;
}

.goal-card-gold {
    background: var(--color-gold);
    color: var(--color-navy);
}

.goal-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.goal-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.goal-icon img {
    width: 80%;
    height: 100%;
    object-fit: contain;
}

.goal-card-navy .goal-icon img {
    filter: brightness(0) saturate(100%) invert(68%) sepia(17%) saturate(745%) hue-rotate(11deg) brightness(92%) contrast(88%);
}

.goal-card-gold .goal-icon img {
    filter: brightness(0) saturate(100%) invert(15%) sepia(47%) saturate(1406%) hue-rotate(182deg) brightness(97%) contrast(103%);
}

.goal-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.goal-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0;
    font-family: var(--font-family);
}

.goal-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

/* Criteria Section */
.criteria-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-bg-light);
}

.criteria-header {
    margin-bottom: var(--spacing-xl);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.criteria-header .section-title-left {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.criteria-header .section-title-left::after {
    display: none;
}

.criteria-header .section-subtitle-left {
    margin: 0;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.criteria-card {
    background: #fcfcfc;
    padding: var(--spacing-xl);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    border: 1px solid #edf2f7;
    transition: all 0.3s;
    position: relative;
}

.criteria-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-gold);
}

.criteria-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.criteria-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-family);
}

.criteria-content p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.criteria-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0;
}

.criteria-badge-required {
    background-color: #00f59b;
    /* Neon green from image */
}

.criteria-badge-conditional,
.criteria-badge-recommended {
    background-color: var(--color-navy);
}



/* Benefits Section */
.benefits-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.benefits-column {
    padding: var(--spacing-xl);
    border-radius: var(--radius-sm);
}

.benefits-column-white {
    background: white;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.benefits-column-navy {
    background: var(--color-navy);
    border-radius: 20px;
    color: white;
}

.benefits-column-gold {
    background: var(--color-gold);
    border-radius: 20px;
    color: white;
}

.benefits-column h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-family);
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    font-size: 0.9375rem;
}

.benefits-list li img {
    flex-shrink: 0;
}

.benefits-column-white .benefits-list li img {
    filter: brightness(0) saturate(100%) invert(68%) sepia(17%) saturate(745%) hue-rotate(11deg) brightness(92%) contrast(88%);
}

.benefits-column-navy .benefits-list li img {
    filter: brightness(0) saturate(100%) invert(68%) sepia(17%) saturate(745%) hue-rotate(11deg) brightness(92%) contrast(88%);
}

.benefits-column-gold .benefits-list li img {
    filter: brightness(0) saturate(100%) invert(15%) sepia(47%) saturate(1406%) hue-rotate(182deg) brightness(97%) contrast(103%);
}

/* Founder Section */
.founder-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-bg-light);
}

.founder-header {
    margin-bottom: var(--spacing-lg);
}

.founder-section .section-title-left::after {
    display: none;
}

.founder-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.founder-name {
    font-size: 1.125rem;
    font-weight: 600;
    /* color: white; */
}

.founder-buttons {
    display: flex;
    gap: var(--spacing-md);
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-navy);
    color: white;
    border: 2px solid var(--color-navy);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    width: 280px;
    max-width: 100%;
    font-size: 0.9375rem;
    transition: all 0.3s;
}

.btn-outline-gold:hover {
    background-color: var(--color-navy-dark);
    border-color: var(--color-navy-dark);
    color: white;
}

/* CTA Subpage */
.cta-section-subpage .cta-box {
    padding: var(--spacing-2xl);
}

/* Responsive - Subpage */
@media (max-width: 1024px) {

    .about-row,
    .values-header {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-subpage .hero-title {
        font-size: 2rem;
    }

    .goals-grid,
    .criteria-grid {
        grid-template-columns: 1fr;
    }

    .founder-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .founder-buttons {
        flex-direction: column;
        width: 100%;
    }

    .founder-buttons .btn-outline-gold {
        text-align: center;
    }

    /* About Intro Section - Mobile */
    .about-intro {
        padding: var(--spacing-xl) 0;
    }

    .about-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-lg);
    }

    .about-heading h2 {
        font-size: 1.25rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    /* Values Section - Mobile */
    .values-subpage {
        padding: var(--spacing-lg) 0;
    }

    .values-header {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }

    .values-heading h2 {
        font-size: 1.5rem;
    }

    .values-text p {
        font-size: 1rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .value-card {
        padding: var(--spacing-md);
    }

    .value-icon {
        width: 40px;
        height: 40px;
    }

    .value-title {
        font-size: 1rem;
    }

    /* Goals Section - Mobile */
    .goals-section {
        padding: var(--spacing-lg) 0 var(--spacing-xl);
    }

    .section-title-left {
        font-size: 1.5rem;
        margin-top: 0;
        margin-bottom: var(--spacing-md);
    }

    .goal-card {
        padding: var(--spacing-md);
    }

    .goal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }

    .goal-icon {
        width: 48px;
        height: 48px;
    }

    .goal-title {
        font-size: 1rem;
    }

    .goal-text {
        font-size: 0.875rem;
    }

    /* Criteria Section - Mobile */
    .criteria-section {
        padding: var(--spacing-xl) 0;
    }

    .criteria-header {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .criteria-header .section-title-left {
        font-size: 1.5rem;
    }

    .section-subtitle-left {
        margin-bottom: var(--spacing-md);
    }

    .criteria-card {
        padding: var(--spacing-md);
    }

    .criteria-badge {
        position: relative;
        top: auto;
        right: auto;
        display: inline-block;
        margin-bottom: var(--spacing-xs);
        font-size: 0.75rem;
        padding: 4px 12px;
    }

    .criteria-content h3 {
        font-size: 0.9375rem;
    }

    .criteria-content p {
        font-size: 0.8125rem;
    }

    /* Benefits Section - Mobile */
    .benefits-section {
        padding: var(--spacing-xl) 0;
    }

    .benefits-section .section-title-left {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-md);
    }

    .benefits-column {
        padding: var(--spacing-md);
    }

    .benefits-column h3 {
        font-size: 1rem;
    }

    .benefits-list li {
        font-size: 0.875rem;
    }

    /* Founder Section - Mobile */
    .founder-section {
        padding: var(--spacing-xl) 0;
    }

    .founder-section .section-title-left {
        font-size: 1.5rem;
    }

    .founder-section .section-subtitle-left {
        font-size: 0.9375rem;
    }

    .founder-name {
        font-size: 1rem;
    }

    .btn-outline-gold {
        width: 100%;
        max-width: 320px;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.875rem;
    }

    /* CTA Section - Mobile */
    .cta-section {
        padding: var(--spacing-lg) 0;
    }

    .cta-box {
        padding: var(--spacing-lg);
        border-radius: var(--radius-lg);
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .cta-text br {
        display: none;
    }

    .cta-box .btn-primary {
        width: 100%;
        max-width: 280px;
        height: auto;
        padding: var(--spacing-md) var(--spacing-lg);
    }
}

/* Extra Small Screens - 480px and below */
@media (max-width: 480px) {

    /* Header Logo adjustments */
    .logo-image {
        height: 45px;
    }

    .logo-badge {
        width: 60px;
        height: 60px;
        margin: -8px 0;
    }

    /* Hero Subpage - Extra small */
    .hero-subpage {
        padding: var(--spacing-lg) 0;
    }

    .hero-subpage .hero-title {
        font-size: 1.5rem;
        white-space: normal;
        margin-left: 0;
    }

    .hero-subpage .hero-subtitle {
        font-size: 0.9375rem;
    }

    /* About Section - Extra small */
    .about-intro {
        padding: var(--spacing-lg) 0;
    }

    .about-heading h2 {
        font-size: 1.125rem;
    }

    .about-text p {
        font-size: 0.9375rem;
    }

    /* Values Grid - Single column on very small screens */
    .values-grid {
        grid-template-columns: 1fr;
    }

    .values-heading h2 {
        font-size: 1.25rem;
    }

    /* Goals Section - Extra small */
    .section-title-left {
        font-size: 1.25rem;
    }

    .goal-title {
        font-size: 0.9375rem;
    }

    .goal-text {
        font-size: 0.8125rem;
    }

    /* Criteria Section - Extra small */
    .criteria-header .section-title-left {
        font-size: 1.25rem;
    }

    .criteria-content h3 {
        font-size: 0.875rem;
    }

    /* Benefits Section - Extra small */
    .benefits-section .section-title-left {
        font-size: 1.25rem;
    }

    .benefits-column h3 {
        font-size: 0.9375rem;
    }

    .benefits-list li {
        font-size: 0.8125rem;
    }

    /* Founder Section - Extra small */
    .founder-section .section-title-left {
        font-size: 1.25rem;
    }

    /* CTA Section - Extra small */
    .cta-title {
        font-size: 1.25rem;
    }

    .cta-text {
        font-size: 0.9375rem;
    }
}

@media (max-width: 570px){
    .membership-badge-img
    {
        width:175px;
    }
    .membership-box
    {
        padding-top:45px;
        padding-left:20px;
        padding-right:20px;
    }
    .membership-feature
    {
        font-size:12px;
    }
    .membership-box .btn-primary
    {
        font-size: 14px;
        padding-left: 20px;
        padding-right: 20px;
        min-width: initial;
        width: 211px;
    }
    .footer-main
    {
        display: block;
        padding-left:30px;
    }
    .section-title
    {
        font-size:26px;
    }
    .why-important-box, .cta-box
    {
        padding: 35px 36px;
    }
    .importance-grid
    {
       padding-bottom: 40px; 
   }
   .importance-cta
   {
        bottom: initial;
   }
   .importance-cta .btn-primary
   {
        padding: 19px 20px;
   }
   .membership-content h2
   {
    font-size:27px;
   }
   .cta-section-subpage .cta-box
    {
           padding: 57px 29px; 
    }
}
@media (max-width: 450px){
    .membership-feature
    {
       align-items: center;
        font-size: 12px;
        gap: 18px;
        text-align: left;
    }
}

/* ============================================
   Contact Section Styles
   ============================================ */
.contact-section {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.contact-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

@media (max-width: 992px) {
    .contact-grid-modern {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    margin-bottom: 40px;
}

.contact-info-item {
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

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

.contact-info-content h3 {
    font-size: 1.125rem;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.contact-info-content p, .contact-info-content a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 1rem;
}

.form-container-modern {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: var(--spacing-xl);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.9375rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    background-color: #f9fafb;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(179, 163, 105, 0.1);
}

.btn-block {
    width: 100%;
    padding: 14px;
}

/* ============================================
   Membership Form Section Styles
   ============================================ */
.membership-form-section {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-sm);
}

.radio-label, .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-weight: 400 !important;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.radio-label input, .checkbox-label input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--color-gold);
}

.form-note {
    background-color: #fef9c3;
    border-left: 4px solid #eab308;
    padding: 15px;
    margin-bottom: 30px;
    font-size: 0.875rem;
    color: #854d0e;
    border-radius: 4px;
}

.success-message {
    text-align: center;
    padding: 60px 20px;
}

.success-icon {
    font-size: 80px;
    color: #22c55e;
    margin-bottom: 24px;
}

#contact-success {
    display: none;
    padding: 20px;
    text-align: center;
    background-color: #f0fdf4;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
    margin-top: 20px;
}

#contact-success p {
    color: #166534;
    font-weight: 600;
}

/* ============================================
   Payment Terms Section Styles
   ============================================ */
.payment-terms {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.payment-terms h1 {
    color: #1E3A8A;
    margin-bottom: 1.5rem;
}

.payment-terms h2 {
    color: #1E3A8A;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.payment-terms h3 {
    color: #3B82F6;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.payment-terms ul, .payment-terms ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.payment-terms li {
    margin: 0.5rem 0;
}

.highlight-box {
    background: #F0F9FF;
    border-left: 4px solid #1E3A8A;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
}

.price-box {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    margin: 2rem 0;
}

.price-box .price {
    font-size: 3rem;
    font-weight: 700;
    margin: 1rem 0;
}

.price-box .period {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ============================================
   Search Results Styles
   ============================================ */
.search-results {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-light);
    min-height: 60vh;
}

.search-results-content {
    max-width: 900px;
    margin: 0 auto;
}

.search-box-inline {
    margin-bottom: var(--spacing-xl);
}

.search-form {
    display: flex;
    gap: var(--spacing-sm);
}

.search-input-wrapper {
    display: flex;
    flex: 1;
    gap: var(--spacing-sm);
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xs);
    box-shadow: var(--shadow-md);
}

.search-input {
    flex: 1;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-base);
    outline: none;
}

.search-button {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--color-gold);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Result Card */
.result-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-lg);
}

.result-success {
    border-left: 4px solid var(--color-success);
}

.result-warning {
    border-left: 4px solid var(--color-warning);
}

/* Result Header */
.result-header {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--color-border);
}

.result-icon {
    flex-shrink: 0;
}

.success-icon svg circle {
    fill: var(--color-success);
}

.warning-icon svg circle {
    fill: var(--color-warning);
}

.result-title-wrapper {
    flex: 1;
}

.result-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.result-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

.result-subtitle strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Result Badge */
.result-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-success-bg);
    color: var(--color-success);
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.badge-icon {
    font-size: 1.25rem;
}

/* Certificates List */
.certificates-list {
    margin-top: var(--spacing-xl);
}

.certificates-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-border);
}

/* Certificate Item */
.certificate-item {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.certificate-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-gold);
}

.certificate-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.certificate-code {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    padding: var(--spacing-xs) var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    border: 2px solid var(--color-gold);
}

.certificate-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    flex: 1;
}

.certificate-description {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-gold);
}

/* Certificate Tests */
.certificate-tests {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
}

.certificate-tests strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.tests-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-sm) 0 0 0;
}

.tests-list li {
    padding: var(--spacing-sm) 0 var(--spacing-sm) var(--spacing-lg);
    position: relative;
    color: var(--color-text-light);
    line-height: 1.6;
}

.tests-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
    font-size: 1.1rem;
}

.tests-list li:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

/* Certificate Info */
.certificate-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
}

.certificate-info p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.certificate-info strong {
    color: var(--color-text);
    font-weight: 600;
    display: inline-block;
    min-width: 140px;
}

/* Certificate Documents */
.certificate-documents {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.certificate-documents .btn {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

/* Result Note */
.result-note {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    background: var(--color-bg-light);
    border-left: 4px solid var(--color-success);
}

.success-note {
    background: var(--color-success-bg);
    border-left-color: var(--color-success);
}

.success-note p {
    margin: var(--spacing-sm) 0;
    color: var(--color-text);
    line-height: 1.7;
}

.success-note p:first-child {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-success);
}

/* Warning Content */
.warning-content {
    margin-top: var(--spacing-lg);
}

.warning-box {
    background: #FFF8E1;
    border: 2px solid var(--color-warning);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.warning-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

.warning-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.warning-list li {
    padding: var(--spacing-sm) 0;
    color: var(--color-text-light);
    line-height: 1.7;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs);
}

.warning-list li:not(:last-child) {
    border-bottom: 1px solid rgba(197, 165, 114, 0.2);
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.badge-inline {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-required {
    background: #FEE2E2;
    color: #991B1B;
}

.badge-conditional {
    background: #FEF3C7;
    color: #92400E;
}

.warning-consequences {
    margin: var(--spacing-xl) 0;
}

.warning-consequences h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
}

.consequences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.consequence-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    text-align: center;
}

.consequence-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.consequence-item p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.warning-recommendation {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    border: 1px solid var(--color-border);
}

.warning-recommendation h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

.warning-recommendation p {
    margin: var(--spacing-md) 0;
    color: var(--color-text-light);
    line-height: 1.7;
}

.warning-recommendation ul {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-xl);
}

.warning-recommendation li {
    margin: var(--spacing-sm) 0;
    color: var(--color-text-light);
    line-height: 1.7;
}

.warning-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--color-border);
}

.warning-cta p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

/* Responsive */
@media (max-width: 768px) {
    .result-header {
        flex-direction: column;
        text-align: center;
    }
    
    .certificate-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .certificate-info {
        grid-template-columns: 1fr;
    }
    
    .certificate-info strong {
        min-width: auto;
        display: block;
        margin-bottom: var(--spacing-xs);
    }
    
    .certificate-documents {
        flex-direction: column;
    }
    
    .certificate-documents .btn {
        width: 100%;
    }
    
    .consequences-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Inline Styles - Presunuté z PHP súborov
   ============================================ */

/* Kontakt stránka */
.contact-info-col h2,
.contact-form-col h2 {
    color: var(--color-navy);
    margin-bottom: 40px;
}

.contact-form-col h2 {
    margin-bottom: 10px;
}

.contact-form-col p {
    color: var(--color-text-light);
    margin-top: 10px;
    margin-bottom: 30px;
}

.contact-card h3 {
    color: var(--color-navy);
    margin-bottom: 20px;
    font-size: 1.125rem;
}

.contact-card p {
    color: var(--color-text-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.contact-card p:first-of-type {
    font-weight: 600;
}

.contact-card p:last-of-type {
    font-size: 0.8125rem;
    margin-top: 20px;
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-card p:nth-of-type(2) {
    font-size: 0.9375rem;
}

.contact-info-box {
    margin-top: 40px;
    padding: 20px;
    background-color: var(--color-bg-light);
    border-radius: 12px;
}

.contact-info-box h4 {
    color: var(--color-navy);
    margin-bottom: 10px;
    font-size: 1rem;
}

.contact-info-box p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.5;
}

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

.contact-form-row .form-group {
    margin-bottom: 0;
}

#contact-success {
    display: none;
    padding: 20px;
    text-align: center;
    background-color: #f0fdf4;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
    margin-top: 20px;
}

#contact-success p {
    color: #166534;
    font-weight: 600;
}

/* FAQ stránka */
.cta-section {
    padding: 60px 0;
}

/* O asociácii stránka */
.cta-box {
    background-image: url('./img/overenie_bg.webp');
}

/* Vyhľadávanie */
.search-no-results {
    margin-bottom: var(--spacing-xl);
}

/* Certifikáty stránka */
.goals-section-no-padding {
    padding-top: 0;
}

.goal-icon-number {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-gold);
    background-color: rgba(179, 163, 105, 0.1);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    margin-bottom: 0;
    line-height: 1;
}

.certificates-cta {
    margin-top: 60px;
    text-align: center;
}

/* Index stránka */
.cta-box {
    background-image: url('./img/overenie_bg.webp');
}

/* Stať sa členom stránka */
.membership-form-title {
    color: var(--color-navy);
    margin-bottom: var(--spacing-md);
}

.membership-form-subtitle {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
}

.checkbox-group-spacing {
    margin-bottom: var(--spacing-2xl);
}

.success-message {
    display: none;
}

.success-message h2 {
    color: var(--color-navy);
    margin-bottom: 10px;
}

.success-message p {
    color: var(--color-text-light);
    margin-bottom: 30px;
}

/* Footer */
.footer-contact-value-white {
    color: white;
}

/* Platobné podmienky */
.payment-note {
    margin-top: 1rem;
    opacity: 0.9;
    font-size: 0.9rem;
}

.highlight-box-spacing {
    margin-top: 3rem;
}