/* -------------------------------------------------------------
   #1 RESET / BASIS
   ------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #0f172a;
    background: #f8fafc;
    min-width: 320px;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

/* -------------------------------------------------------------
   #2 LAYOUT HELFER
   ------------------------------------------------------------- */

.tg-section {
    padding: 80px 0;
}

.tg-section--sm {
    padding: 56px 0;
}

.tg-section--lg {
    padding: 110px 0;
}

.tg-main {
    min-height: 60vh;
}

.tg-grid {
    display: grid;
    gap: 24px;
}

.tg-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tg-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tg-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* -------------------------------------------------------------
   #3 TYPOGRAFIE
   ------------------------------------------------------------- */

.tg-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #06b6d4;
}

.tg-title {
    font-size: clamp(2rem, 2vw, 3.5rem);
    line-height: 1.1;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
}

.tg-title--md {
    font-size: clamp(1.6rem, 2.2vw, 2.4rem);
}

.tg-text {
    font-size: 1.04rem;
    color: #475569;
}

.tg-text--lg {
    font-size: 1.12rem;
}

/* -------------------------------------------------------------
   #4 BUTTONS
   ------------------------------------------------------------- */

.tg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 14px;
    border: 0;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tg-btn--primary {
background: linear-gradient(135deg, #0d89ff, #18d0d0);
color: #ffffff;
    box-shadow: 0 10px 25px rgba(200, 171, 55, 0.22);
}

.tg-btn--primary:hover {
    transform: translateY(-1px);
   box-shadow: 0 10px 25px rgba(13, 137, 255, 0.25);
    
}

.tg-btn--secondary {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.tg-btn--secondary:hover {
    background: #f8fafc;
}

/* -------------------------------------------------------------
   #5 CARDS
   ------------------------------------------------------------- */

.tg-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.tg-card--dark {
    background: #0f172a;
    color: #f8fafc;
}

/* -------------------------------------------------------------
   #6 UTILITIES
   ------------------------------------------------------------- */

.tg-text-center {
    text-align: center;
}

.tg-hidden {
    display: none !important;
}

/* -------------------------------------------------------------
   #7 RESPONSIVE
   ------------------------------------------------------------- */

@media (max-width: 992px) {
    .tg-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tg-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .tg-section {
        padding: 64px 0;
    }

    .tg-section--sm {
        padding: 44px 0;
    }

    .tg-section--lg {
        padding: 80px 0;
    }

    .tg-grid--2,
    .tg-grid--3,
    .tg-grid--4 {
        grid-template-columns: 1fr;
    }

    .tg-title {
        margin-bottom: 14px;
    }
}

@media (max-width: 420px) {
    .tg-card {
        padding: 18px;
        border-radius: 18px;
    }

    .tg-btn {
        width: 100%;
    }
}

.tg-footer__socials svg {
    width: 18px;
    height: 18px;
}
