:root{
    --primary:#78c51f;
    --primary-dark:#050505;
    --primary-soft:#eaf7dc;
    --accent:#5fb817;
    --accent-dark:#3f850c;
    --light:#f4f6f2;
    --text:#151515;
    --muted:#6f756b;
    --white:#ffffff;
    --black:#000000;
    --border:#d9dfd3;
    --shadow:0 14px 35px rgba(0,0,0,0.14);
    --shadow-soft:0 8px 24px rgba(0,0,0,0.08);
    --radius:22px;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    color:var(--text);
    background:var(--white);
    line-height:1.6;
}

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

a{
    color:inherit;
    text-decoration:none;
}

.container{
    width:min(1200px, calc(100% - 40px));
    margin:0 auto;
}

/* ===== HEADER / NAVIGATION ===== */

.site-header{
    position:sticky;
    top:0;
    z-index:999;
    background:var(--white);
    box-shadow:0 8px 24px rgba(0,0,0,0.08);
}

.topbar{
    background:var(--primary-dark);
    color:#d7d7d7;
    font-size:13px;
}

.topbar-inner{
    min-height:38px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.topbar-left{
    font-weight:600;
    letter-spacing:0.03em;
}

.topbar-right{
    display:flex;
    gap:16px;
}

.topbar-right a{
    color:#d7d7d7;
    font-weight:600;
    transition:0.2s ease;
}

.topbar-right a:hover{
    color:var(--primary);
}

.navbar{
    background:var(--white);
}

.nav-inner{
    min-height:92px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.logo img{
    height:76px;
    width:auto;
}

.nav-menu{
    flex:1;
    display:flex;
    justify-content:flex-end;
}

.nav-menu ul{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:28px;
    flex-wrap:nowrap;
}

.nav-menu a{
    display:inline-flex;
    align-items:center;
    padding:10px 0;
    color:#111;
    font-size:15px;
    font-weight:800;
    white-space:nowrap;
    transition:0.25s ease;
}

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

.nav-cta{
    background:linear-gradient(135deg, var(--primary), var(--accent-dark));
    color:#fff !important;
    padding:13px 24px !important;
    border-radius:999px;
    box-shadow:0 10px 24px rgba(95,184,23,0.28);
}

.nav-cta:hover{
    transform:translateY(-2px);
    color:#fff !important;
}

/* ===== HERO ===== */

.hero{
    position:relative;
    min-height:720px;
    display:flex;
    align-items:center;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.70) 48%, rgba(0,0,0,0.35) 100%),
        url('/assets/img/galabau-hero.jpg') center center / cover no-repeat;
    overflow:hidden;
}

.hero::after{
    content:"";
    position:absolute;
    inset:auto -80px -160px auto;
    width:420px;
    height:420px;
    background:rgba(120,197,31,0.18);
    border-radius:50%;
    filter:blur(4px);
}

.hero-content{
    position:relative;
    z-index:2;
    padding:110px 0;
}

.hero-text{
    max-width:760px;
    color:#fff;
}

.hero-logo{
    width:150px;
    height:auto;
    margin-bottom:24px;
    filter:drop-shadow(0 10px 18px rgba(0,0,0,0.35));
}

.hero-kicker,
.section-kicker{
    display:inline-block;
    margin-bottom:14px;
    color:var(--primary);
    font-size:14px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.09em;
}

.hero h1{
    margin:0 0 22px;
    font-size:clamp(40px, 6vw, 66px);
    line-height:1.05;
    font-weight:900;
}

.hero p{
    margin:0 0 32px;
    max-width:690px;
    color:#eeeeee;
    font-size:19px;
}

/* ===== BUTTONS ===== */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:none;
    cursor:pointer;
    padding:14px 26px;
    border-radius:999px;
    font-weight:900;
    font-size:16px;
    transition:0.25s ease;
}

.btn-primary{
    background:linear-gradient(135deg, var(--primary), var(--accent-dark));
    color:#fff;
    box-shadow:0 12px 28px rgba(95,184,23,0.28);
}

.btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 38px rgba(95,184,23,0.34);
}

.btn-secondary{
    background:rgba(255,255,255,0.12);
    color:#fff;
    border:1px solid rgba(255,255,255,0.35);
}

.btn-secondary:hover{
    background:rgba(255,255,255,0.20);
    transform:translateY(-2px);
}

.btn-light{
    background:#fff;
    color:#111;
}

.btn-light:hover{
    transform:translateY(-2px);
}

/* ===== SECTIONS ===== */

.intro-section,
.services-section,
.advantages-section,
.project-section,
.info-section,
.process-section,
.target-section,
.numbers-section,
.usp-section,
.future-section,
.contact-section,
.page-section{
    padding:95px 0;
}

.services-section,
.process-section,
.numbers-section,
.contact-section,
.page-light{
    background:var(--light);
}

.section-head{
    margin-bottom:42px;
}

.section-head.center{
    text-align:center;
    max-width:850px;
    margin-left:auto;
    margin-right:auto;
}

.section-head h2,
.intro-text-block h2,
.project-text h2,
.info-text-block h2,
.usp-text-block h2{
    margin:0 0 16px;
    color:#111;
    font-size:clamp(30px, 4vw, 44px);
    line-height:1.15;
    font-weight:900;
}

.section-head p,
.intro-text-block p,
.project-text p,
.info-text-block p,
.usp-text-block p{
    margin:0 0 16px;
    color:var(--muted);
}

/* ===== GRIDS ===== */

.intro-grid,
.project-grid,
.info-grid,
.usp-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:48px;
    align-items:center;
}

.intro-image img,
.project-image img,
.info-image-block img,
.usp-image-block img{
    width:100%;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    object-fit:cover;
}

/* ===== CARDS ===== */

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

.service-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow:var(--shadow-soft);
    transition:0.25s ease;
}

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

.service-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.service-card-body{
    padding:26px;
}

.service-card-body h3,
.advantage-box h3,
.process-card h3,
.target-card h3,
.usp-item h3{
    margin:0 0 12px;
    color:#111;
    font-size:23px;
    line-height:1.2;
    font-weight:900;
}

.service-card-body p,
.advantage-box p,
.process-card p,
.target-card p,
.usp-item p{
    margin:0;
    color:var(--muted);
}

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

.advantage-box,
.target-card,
.process-card,
.usp-item,
.admin-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:30px;
    box-shadow:var(--shadow-soft);
}

.advantage-box{
    border-top:5px solid var(--primary);
}

/* ===== PROCESS / STEPS ===== */

.process-grid,
.workflow-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:24px;
}

.process-number,
.workflow-step-number{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:44px;
    height:44px;
    border-radius:999px;
    background:var(--primary-dark);
    color:var(--primary);
    font-weight:900;
    margin-bottom:16px;
}

/* ===== PAGE HERO ===== */

.page-hero{
    padding:110px 0 85px;
    color:#fff;
    background:
        linear-gradient(135deg, rgba(0,0,0,0.92), rgba(26,26,26,0.82)),
        url('/assets/img/galabau-hero.jpg') center center / cover no-repeat;
}

.page-hero-content{
    max-width:850px;
}

.page-hero h1{
    margin:0 0 18px;
    font-size:clamp(38px, 6vw, 62px);
    line-height:1.08;
    font-weight:900;
}

.page-hero p{
    margin:0;
    max-width:760px;
    color:#ededed;
    font-size:18px;
}

/* ===== CTA ===== */

.cta-section{
    padding:95px 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(120,197,31,0.28), transparent 30%),
        linear-gradient(135deg, #000, #202020);
}

.cta-box,
.future-box{
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.14);
    color:#fff;
    border-radius:30px;
    padding:56px 42px;
    text-align:center;
    box-shadow:var(--shadow);
    backdrop-filter:blur(12px);
}

.cta-box h2,
.future-box h2{
    margin:0 0 14px;
    font-size:clamp(30px, 4vw, 42px);
    line-height:1.15;
    font-weight:900;
}

.cta-box p,
.future-box p{
    margin:0 0 26px;
    color:#e5e5e5;
}

/* ===== FOOTER ===== */

.footer{
    background:#050505;
    color:#fff;
    padding:60px 0 24px;
}

.footer-content{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr;
    gap:32px;
    padding-bottom:34px;
}

.footer-brand img,
.footer-logo{
    width:118px;
    height:auto;
    margin-bottom:18px;
}

.footer h3,
.footer h4{
    margin:0 0 14px;
    color:#fff;
    font-weight:900;
}

.footer p,
.footer li,
.footer a{
    color:#d6d6d6;
}

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

.footer li{
    margin-bottom:10px;
}

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

.footer-social{
    margin-top:20px;
}

.social-links{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.12);
    padding-top:20px;
    color:#cfcfcf;
}

/* ===== KONTAKT / FORMULAR ===== */

.contact-form{
    max-width:900px;
    margin:0 auto;
    background:#fff;
    border:1px solid var(--border);
    border-radius:26px;
    padding:42px;
    box-shadow:var(--shadow);
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:22px;
}

.form-group{
    display:flex;
    flex-direction:column;
}

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

.form-group label,
.admin-form label{
    margin-bottom:8px;
    color:#111;
    font-weight:900;
}

.form-group input,
.form-group select,
.form-group textarea,
.admin-form input,
.admin-form select,
.admin-form textarea{
    width:100%;
    border:1px solid var(--border);
    background:#fbfdf9;
    border-radius:14px;
    padding:15px 16px;
    font-size:16px;
    font-family:inherit;
    color:#111;
    outline:none;
    transition:0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus{
    border-color:var(--primary);
    background:#fff;
    box-shadow:0 0 0 4px rgba(120,197,31,0.16);
}

.form-group textarea,
.admin-form textarea{
    resize:vertical;
    min-height:150px;
}

.form-actions,
.admin-form-actions{
    margin-top:30px;
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

.form-message{
    max-width:900px;
    margin:0 auto 24px;
    padding:16px 20px;
    border-radius:14px;
    font-weight:800;
    text-align:center;
}

.success-message{
    background:#eaf7dc;
    color:#2d6908;
    border:1px solid #bde99b;
}

.error-message{
    background:#fff0f0;
    color:#9b1111;
    border:1px solid #f0b6b6;
}

/* ===== ADMIN ===== */

.admin-page{
    padding:60px 0 90px;
    background:var(--light);
    min-height:100vh;
}

.admin-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:24px;
    margin-bottom:32px;
}

.admin-header h1{
    margin:0 0 10px;
    font-size:42px;
    line-height:1.1;
    color:#111;
}

.admin-header p{
    margin:0;
    color:var(--muted);
}

.admin-table-wrap{
    overflow-x:auto;
}

.admin-table{
    width:100%;
    border-collapse:collapse;
    min-width:900px;
}

.admin-table th{
    background:#101010;
    color:var(--primary);
    text-align:left;
    padding:16px 14px;
}

.admin-table td{
    padding:16px 14px;
    border-bottom:1px solid var(--border);
    vertical-align:top;
}

.admin-status-badge{
    display:inline-flex;
    padding:6px 12px;
    border-radius:999px;
    background:var(--primary-soft);
    color:var(--accent-dark);
    font-weight:900;
    font-size:13px;
}

.admin-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.admin-action{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 14px;
    border-radius:999px;
    font-weight:900;
    font-size:14px;
}

.admin-action.edit{
    background:var(--primary-soft);
    color:var(--accent-dark);
}

.admin-action.delete{
    background:#ffecec;
    color:#c21c1c;
}

/* ===== RESPONSIVE ===== */

@media (max-width:1100px){
    .service-cards{
        grid-template-columns:repeat(2, 1fr);
    }

    .advantage-grid,
    .target-grid{
        grid-template-columns:1fr;
    }

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

    .intro-grid,
    .project-grid,
    .info-grid,
    .usp-grid,
    .footer-content{
        grid-template-columns:1fr;
    }
}

@media (max-width:900px){
    .topbar-inner{
        flex-direction:column;
        align-items:flex-start;
        padding:9px 0;
    }

    .nav-inner{
        flex-direction:column;
        align-items:flex-start;
        min-height:auto;
        padding:18px 0;
        gap:16px;
    }

    .nav-menu{
        width:100%;
        justify-content:flex-start;
    }

    .nav-menu ul{
        flex-wrap:wrap;
        justify-content:flex-start;
        gap:14px 22px;
    }

    .logo img{
        height:64px;
    }
}

@media (max-width:768px){
    .container{
        width:min(100% - 28px, 1200px);
    }

    .hero{
        min-height:590px;
    }

    .hero-content{
        padding:80px 0;
    }

    .hero-logo{
        width:118px;
    }

    .hero p,
    .page-hero p{
        font-size:17px;
    }

    .service-cards,
    .process-grid,
    .workflow-grid,
    .form-grid{
        grid-template-columns:1fr;
    }

    .intro-section,
    .services-section,
    .advantages-section,
    .project-section,
    .info-section,
    .process-section,
    .target-section,
    .numbers-section,
    .usp-section,
    .future-section,
    .contact-section,
    .page-section{
        padding:70px 0;
    }

    .page-hero{
        padding:85px 0 65px;
    }

    .contact-form{
        padding:26px 20px;
        border-radius:20px;
    }

    .btn{
        width:100%;
    }

    .form-actions,
    .admin-form-actions{
        justify-content:center;
    }

    .cta-box,
    .future-box{
        padding:40px 24px;
    }
}

@media (max-width:520px){
    .topbar-right{
        flex-wrap:wrap;
    }

    .nav-menu ul{
        flex-direction:column;
        align-items:flex-start;
    }

    .nav-cta{
        padding:11px 20px !important;
    }

    .service-card img{
        height:210px;
    }
}
.mobile-toggle{

display:none;

background:none;

border:none;

font-size:34px;

cursor:pointer;

color:#111;

}
/* ===== HEADER FIX ===== */

.mobile-toggle{
    display:none;
}

.nav-inner{
    position:relative;
    flex-direction:row;
}

.nav-menu ul{
    display:flex;
    align-items:center;
    gap:28px;
}

.has-dropdown{
    position:relative;
}

.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    min-width:260px;
    background:#fff;
    border-radius:18px;
    padding:14px 0;
    box-shadow:0 18px 45px rgba(0,0,0,.16);
    display:none !important;
    z-index:9999;
}

.dropdown-menu li{
    width:100%;
}

.dropdown-menu a{
    display:block;
    padding:13px 22px;
}

.has-dropdown:hover .dropdown-menu{
    display:block !important;
}

/* ===== HANDY ===== */

@media(max-width:900px){

    .mobile-toggle{
        display:block;
        background:none;
        border:1px solid #ddd;
        border-radius:6px;
        padding:6px 10px;
        font-size:24px;
        cursor:pointer;
        color:#111;
    }

    .nav-inner{
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
    }

    .nav-menu{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#fff;
        padding:24px;
        box-shadow:0 14px 30px rgba(0,0,0,.12);
        display:none;
    }

    .nav-menu.active{
        display:block;
    }

    .nav-menu ul{
        flex-direction:column;
        align-items:flex-start;
        gap:16px;
    }

    .dropdown-menu{
        position:static;
        display:block !important;
        box-shadow:none;
        padding:8px 0 0 18px;
        min-width:auto;
        border-radius:0;
    }

    .nav-cta{
        margin-top:8px;
    }

    .logo img{
        height:58px;
    }
}