/* =============================================
   PROMRD s.r.o. - Professional Styles
   Lighthouse Optimized (Performance, A11y, SEO)
   ============================================= */

/* CSS Variables */
:root {
    --primary: #1a365d;
    --primary-dark: #0f2942;
    --primary-light: #2c5282;
    --gold: #d69e2e;
    --gold-light: #ecc94b;
    --gold-dark: #b7791f;
    --text: #1a202c;
    --text-light: #4a5568;
    --text-muted: #718096;
    --white: #ffffff;
    --gray-50: #f7fafc;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-800: #2d3748;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.2s ease;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Accessibility - Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius);
    z-index: 9999;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 10px;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

a:hover { color: var(--gold-dark); }

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

ul { list-style: none; }

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(214, 158, 46, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 158, 46, 0.5);
    color: var(--primary-dark);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.btn-nav {
    background: var(--gold);
    color: var(--primary-dark);
    padding: 10px 20px;
}

.btn-nav:hover {
    background: var(--gold-light);
    color: var(--primary-dark);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-arrow {
    transition: transform var(--transition);
}

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

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L30 60M0 30L60 30' stroke='%23d69e2e' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: baseline;
    text-decoration: none;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -1px;
}

.logo-suffix {
    font-size: 0.9rem;
    color: var(--gold);
    margin-left: 4px;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    opacity: 0.9;
}

.nav-links a:hover {
    color: var(--gold);
    opacity: 1;
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px 80px;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(214, 158, 46, 0.15);
    border: 1px solid rgba(214, 158, 46, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
}

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

.hero-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.title-small {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.title-main {
    font-size: clamp(3.5rem, 12vw, 8rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -3px;
    line-height: 1;
}

.title-main .gold { color: var(--gold); }

.title-tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--gold);
    margin-top: 12px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    max-width: 550px;
    margin-bottom: 32px;
    line-height: 1.7;
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 40px;
    padding: 24px 40px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero Trust */
.hero-trust {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.trust-logos {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 12px;
}

.trust-item {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255,255,255,0.4);
    border-bottom: 2px solid rgba(255,255,255,0.4);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(8px); }
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
}

.section-intro {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
}

.section-intro em {
    color: var(--gold-dark);
    font-style: normal;
    font-weight: 600;
}

/* =============================================
   ABOUT / CEO SECTION
   ============================================= */
.about {
    background: var(--gray-50);
}

.ceo-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    align-items: center;
}

.ceo-image-wrapper {
    position: relative;
}

.ceo-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.ceo-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--primary-dark);
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
}

.ceo-header h3 {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.ceo-title {
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.ceo-bio {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.ceo-quote {
    background: var(--gray-50);
    border-left: 4px solid var(--gold);
    padding: 20px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 24px;
}

.ceo-quote p {
    font-style: italic;
    font-size: 1.15rem;
    color: var(--primary);
    margin: 0;
}

.ceo-achievements {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ceo-achievements li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.achievement-icon {
    font-size: 1.2rem;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border-color: var(--gold);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 4px;
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.service-features {
    text-align: left;
    margin-bottom: 24px;
}

.service-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.service-features li::before {
    content: '✓';
    color: var(--gold);
    font-weight: 700;
    flex-shrink: 0;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* =============================================
   TIPS SECTION
   ============================================= */
.tips {
    background: var(--gray-50);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tip-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.tip-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--gray-100);
    line-height: 1;
}

.tip-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    padding-right: 50px;
}

.tip-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.testimonial-rating {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    margin-bottom: 20px;
}

.testimonial-card blockquote p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
    margin: 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.author-name {
    font-weight: 600;
    color: var(--primary);
}

.author-title {
    font-size: 0.85rem;
    color: var(--gold-dark);
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.contact-item p {
    color: var(--text);
    margin: 0;
}

.contact-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition);
    background: var(--white);
}

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

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

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 12px;
}

.footer-brand p {
    opacity: 0.6;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.pro-firms {
    color: var(--gold);
    font-weight: 600;
}

.footer-disclaimer {
    max-width: 450px;
    font-size: 0.85rem;
    opacity: 0.6;
    line-height: 1.7;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .services-grid,
    .tips-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card.featured {
        transform: none;
    }

    .service-card.featured:hover {
        transform: translateY(-8px);
    }

    .ceo-card {
        grid-template-columns: 280px 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px 20px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-xl);
    }

    .nav-links.active {
        right: 0;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .trust-logos {
        flex-wrap: wrap;
    }

    .section {
        padding: 60px 0;
    }

    .ceo-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 20px;
    }

    .ceo-image-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }

    .ceo-quote {
        border-left: none;
        border-top: 4px solid var(--gold);
        border-radius: 0 0 var(--radius) var(--radius);
    }

    .ceo-achievements {
        align-items: center;
    }

    .services-grid,
    .tips-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-disclaimer {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .title-main {
        letter-spacing: -2px;
    }

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

    .section h2 {
        font-size: 1.75rem;
    }

    .contact-form {
        padding: 24px;
    }
}
