/* iTommy - MODERN DESIGN SYSTEM */

:root {
    --primary: #0f172a;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --text: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --radius-lg: 24px;
    --radius-md: 12px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-main: 'Inter', sans-serif;
    --font-head: 'Montserrat', sans-serif;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden; 
}

body {
    font-family: var(--font-main);
    color: var(--text);
    line-height: 1.6;
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--primary);
    font-weight: 800;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* Navigation */
.navbar {
    height: 85px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 2000;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2100;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
}

.logo-text span {
    color: var(--accent);
}

.nav-desktop {
    display: block;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-list a {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-list a:hover {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2200;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 4px;
    transition: 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.hamburger.is-active .line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger.is-active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-white);
    z-index: 2050;
    padding: 120px 40px;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.is-open {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-nav-links a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

/* Hero */
.hero {
    padding: 100px 0;
    background: radial-gradient(at top left, #f1f5f9 0%, #ffffff 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.pre-title {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 45px;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-badges span {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    object-fit: cover;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

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

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

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

.btn-full {
    width: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    filter: brightness(1.05);
}

.btn-accent:hover {
    background: var(--accent-hover);
}

/* Shared section intro */
.section-intro {
    text-align: center;
    margin-bottom: 70px;
}

.section-intro h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

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

/* Services */
.section-services {
    padding: 120px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.s-card {
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: 0.4s;
}

.s-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.s-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    display: block;
}

.s-card h3 {
    margin-bottom: 14px;
    font-size: 1.35rem;
}

.s-card p {
    color: var(--text-light);
    font-size: 1rem;
}

.s-card.highlight {
    background: var(--primary);
    color: white;
}

.s-card.highlight h3,
.s-card.highlight p {
    color: white;
}

/* Pricing */
.section-pricing {
    padding: 120px 0;
    background: var(--bg-white);
}

.price-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 60px;
    border-radius: 40px;
    box-shadow: var(--shadow);
}

.price-column {
    display: flex;
    flex-direction: column;
}

.price-cat {
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.p-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.p-row:last-child {
    border-bottom: none;
}

.p-row span {
    color: var(--text);
    font-weight: 500;
    flex: 1;
}

.p-row strong {
    color: var(--primary);
    font-weight: 800;
    white-space: nowrap;
}

.p-row.active span,
.p-row.active strong {
    color: var(--accent);
}

.price-footer {
    margin-top: 24px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact */
.section-contact {
    padding: 120px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 480px 1fr;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(15, 23, 42, 0.15);
}

.contact-sidebar {
    background: var(--primary);
    color: white;
    padding: 70px;
}

.contact-sidebar h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-sidebar > .sidebar-content > p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.contact-info-list,
.info-list {
    display: grid;
    gap: 32px;
}

.info-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.info-item .icon {
    font-size: 1.4rem;
    color: var(--accent);
    line-height: 1.2;
}

.info-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.info-item p,
.info-item a {
    color: white;
    font-size: 1.05rem;
    font-weight: 500;
}

.contact-main {
    background: white;
    padding: 70px;
}

.contact-form h3 {
    margin-bottom: 30px;
    font-size: 2rem;
}

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

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

.field label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
    background: white;
    color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Footer */
.footer {
    padding: 80px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-logo p {
    margin-top: 10px;
    color: var(--text-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

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

/* Mobile CTA */
.mobile-cta {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: none;
    grid-template-columns: 1fr 1fr;
    z-index: 1000;
}

.m-cta {
    padding: 18px 16px;
    text-align: center;
    font-weight: 800;
    color: white;
    font-size: 1rem;
}

.m-cta.call {
    background: #16a34a;
}

.m-cta.write {
    background: var(--accent);
}

/* Cookies */
.cookie-box {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    padding: 25px;
    border-radius: 20px;
    display: none;
    z-index: 3000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cookie-box p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-box button {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-desktop,
    .btn-nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-grid,
    .price-box,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .price-box,
    .contact-sidebar,
    .contact-main {
        padding: 40px;
    }

    .mobile-cta {
        display: grid;
    }

    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 70px 0;
    }

    .section-services,
    .section-pricing,
    .section-contact {
        padding: 80px 0;
    }

    .section-intro h2 {
        font-size: 2.2rem;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1.05rem;
        margin: 0 auto 30px auto;
    }

    .price-box {
        gap: 40px;
        border-radius: 24px;
    }

    .contact-wrapper {
        border-radius: 24px;
    }

    .contact-sidebar,
    .contact-main {
        padding: 32px 24px;
    }

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

    .hero-btns {
        justify-content: center;
    }

    .hero-badges {
        justify-content: center;
        align-items: center;
    }

    .s-card {
        text-align: center;
    }

    .s-icon {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 18px;
    }

    .navbar {
        height: 76px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .mobile-menu {
        padding: 110px 24px 40px;
    }

    .mobile-nav-links a {
        font-size: 1.4rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    /* ZDE JE OPRAVENÁ SEKCE PRO MOBILNÍ ŠTÍTKY */
    .hero-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .hero-badges span {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    /* KONEC OPRAVY PRO ŠTÍTKY */

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

    .p-row {
        flex-direction: column;
        align-items: flex-start;
        background: var(--bg-light);
        padding: 16px;
        border-radius: var(--radius-md);
        margin-bottom: 12px;
        border: 1px solid var(--border) !important;
        gap: 6px;
    }

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

    .p-row span {
        font-size: 0.95rem;
        line-height: 1.4;
        width: 100%;
    }

    .p-row strong {
        font-size: 1.15rem;
        color: var(--accent);
        white-space: normal;
        margin-top: 4px;
        display: block;
    }

    .p-row.active {
        background: rgba(37, 99, 235, 0.05);
        border-color: rgba(37, 99, 235, 0.2) !important;
    }

    .price-box {
        padding: 16px;
        background: transparent;
        border: none;
        box-shadow: none;
        gap: 30px;
    }

    .price-cat {
        text-align: center;
        margin-bottom: 20px;
    }

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

    .cookie-box {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 18px;
    }

    .cookie-box p {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Skrytí mobilního menu pro desktop */
@media (min-width: 1025px) {
    .mobile-menu {
        display: none !important;
    }
}

/* Zobrazení karet vedle sebe pro desktop - specificky podle sekcí */
@media (min-width: 1200px) {
    #sluzby .services-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }

    #sluzby .s-card {
        padding: 30px 24px;
    }

    #proces .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Právní dokumenty (GDPR, VOP) */
.section-legal {
    padding: 120px 0;
    background: var(--bg-light);
}

.legal-container {
    max-width: 800px;
    background: var(--bg-white);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.legal-intro {
    text-align: left;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.legal-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.legal-intro p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

.legal-content {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.8;
}

.legal-content h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--primary);
}

.legal-content p {
    margin-bottom: 16px;
}

.legal-content ul {
    list-style-type: disc;
    margin-left: 24px;
    margin-bottom: 24px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content strong {
    color: var(--primary);
    font-weight: 700;
}

.legal-footer-note {
    margin-top: 50px;
    font-size: 0.9rem;
    color: var(--text-light);
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

@media (max-width: 768px) {
    .section-legal {
        padding: 80px 0;
    }
    
    .legal-container {
        padding: 32px 24px;
        border-radius: var(--radius-md);
    }

    .legal-intro h2 {
        font-size: 2rem;
    }
}