  :root { --primary: #e94560; --primary-dark: #c73650; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Space Grotesk', sans-serif; background: #0d0d1a; color: #e0e0e0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

nav { background: rgba(0,0,0,.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid #1e1e3a; padding: 20px 0; position: sticky; top: 0; z-index: 100; }
nav .container { display: flex; justify-content: space-between; align-items: center; }
.logo { color: var(--primary); font-size: 1.4rem; font-weight: 800; text-decoration: none; letter-spacing: -0.5px; }
nav a { color: #aaa; text-decoration: none; font-size: 0.9rem; transition: color .2s; }
nav a:hover { color: var(--primary); }
nav .nav-links { display: flex; gap: 28px; }

/* HERO */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--primary) 12%, transparent) 0%, transparent 60%),
        linear-gradient(225deg, rgba(112,99,233,.1) 0%, transparent 60%),
        linear-gradient(rgba(13,13,26,.78), rgba(13,13,26,.78)),
        url('https://loremflickr.com/1600/900/technology,office?lock=2') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}
/* Tech dot grid */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, color-mix(in srgb, var(--primary) 25%, transparent) 1px, transparent 1px);
    background-size: 32px 32px;
}
/* Diagonal red slash */
.hero::after {
    content: '';
    position: absolute;
    right: 0; top: 0;
    width: 45%; height: 100%;
    background: linear-gradient(135deg, transparent 30%, color-mix(in srgb, var(--primary) 6%, transparent) 100%);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}
.hero .container { text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; line-height: 1.1; color: #fff; position: relative; z-index: 1; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.2rem; color: #888; margin-top: 20px; max-width: 500px; line-height: 1.7; position: relative; z-index: 1; margin-left: auto; margin-right: auto; }
.btn { display: inline-block; margin-top: 36px; background: var(--primary); color: #fff; padding: 16px 40px; border-radius: 4px; font-weight: 700; text-decoration: none; font-size: 1rem; transition: background .2s, transform .2s; position: relative; z-index: 1; }
.btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

section { padding: 100px 0; }
section h2 { font-size: 2.2rem; font-weight: 800; color: #fff; margin-bottom: 16px; }
.accent-line { width: 50px; height: 4px; background: var(--primary); margin-bottom: 40px; border-radius: 2px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 40px; }
.service-card { background: #1a1a2e; border: 1px solid #2a2a4a; border-radius: 8px; padding: 28px; transition: border-color .2s, transform .2s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), #ff8070); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { color: var(--primary); font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.service-card p { color: #888; font-size: 0.9rem; line-height: 1.6; }

#o-nas { background: #111122; }
#o-nas p { color: #aaa; line-height: 1.9; font-size: 1.05rem; max-width: 700px; }

.contact { background: #1a1a2e; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.contact-info p { margin-bottom: 14px; color: #ccc; font-size: 0.95rem; }
.contact-info a { color: var(--primary); text-decoration: none; }
.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-links a { background: #0d0d1a; color: var(--primary); border: 1px solid var(--primary); padding: 8px 20px; border-radius: 4px; text-decoration: none; font-size: 0.85rem; transition: all .2s; }
.social-links a:hover { background: var(--primary); color: #fff; }

.map iframe { width:100%;height:420px;border:0;display:block;filter:grayscale(80%) invert(90%) hue-rotate(180deg); }

/* O NAS PHOTO */
.o-nas-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.o-nas-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; filter: brightness(0.9) saturate(0.85); }
@media (max-width: 700px) { .o-nas-inner { grid-template-columns: 1fr; } }

footer { background: #080810; border-top: 1px solid #1e1e3a; padding: 30px 0; text-align: center; color: #555; font-size: 0.85rem; }
footer strong { color: var(--primary); }

/* ── Modern animations ────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.hero .container > * { animation: fadeUp .7s ease both; }
.hero .container > *:nth-child(1) { animation-delay: .05s; }
.hero .container > *:nth-child(2) { animation-delay: .15s; }
.hero .container > *:nth-child(3) { animation-delay: .25s; }
.hero .container > *:nth-child(4) { animation-delay: .35s; }
.hero .container > *:nth-child(5) { animation-delay: .45s; }

/* ── Typography quality ───────────────────────────── */
html { -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

/* ── Mobile hamburger nav ─────────────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    border-radius: 6px;
    color: #aaa;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}
.nav-toggle:hover { opacity: .75; }
.nav-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    nav .container { flex-wrap: wrap; }
    nav .nav-links {
        order: 9;
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 8px 0 12px;
        border-top: 1px solid rgba(128,128,128,.18);
        margin-top: 8px;
    }
    nav .nav-links.is-open { display: flex; }
    nav .nav-links a {
        padding: 11px 0;
        font-size: .95rem;
        letter-spacing: 0;
        text-transform: none;
        border-bottom: 1px solid rgba(128,128,128,.1);
        width: 100%;
        display: block;
    }
    nav .nav-links a:last-child { border-bottom: none; }
}
