  :root { --primary: #0d9488; --primary-dark: #0f766e; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Space Grotesk', sans-serif; color: #1a1a1a; background: #fafaf9; line-height: 1.7; }
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }

nav { background: #fafaf9; border-bottom: 1px solid #e7e5e4; padding: 18px 0; position: sticky; top: 0; z-index: 100; }
nav .container { display: flex; align-items: center; justify-content: space-between; }
nav .logo { color: #1a1a1a; font-size: 1.2rem; font-weight: 700; text-decoration: none; letter-spacing: -.5px; }
nav .logo img { height: 38px; vertical-align: middle; margin-right: 8px; }
nav .nav-links { display: flex; gap: 32px; }
nav .nav-links a { color: #78716c; text-decoration: none; font-size: .9rem; font-weight: 500; transition: color .2s; }
nav .nav-links a:hover { color: var(--primary); }

.hero { padding: 100px 0 120px; }
.hero-meta { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 4px; color: var(--primary); margin-bottom: 24px; }
.hero h1 { font-size: 3.5rem; font-weight: 800; color: #1a1a1a; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; }
.hero p { font-size: 1.15rem; color: #78716c; max-width: 500px; margin-bottom: 36px; }
.btn { display: inline-block; background: var(--primary); color: #fff; padding: 13px 32px; border-radius: 4px; font-weight: 600; text-decoration: none; transition: background .2s, transform .2s; }
.btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { display: inline-block; border: 2px solid var(--primary); color: var(--primary); padding: 11px 30px; border-radius: 4px; font-weight: 600; text-decoration: none; margin-left: 12px; transition: background .2s; }
.btn-outline:hover { background: var(--primary); color: #fff; }

.hero-image { width: 100%; max-height: 420px; object-fit: cover; border-radius: 8px; margin-top: 48px; box-shadow: 0 16px 60px rgba(0,0,0,.1); }

section { padding: 80px 0; }
section:nth-child(even) { background: #f5f5f4; }
.section-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 4px; color: var(--primary); margin-bottom: 16px; }
h2 { font-size: 2.2rem; font-weight: 800; color: #1a1a1a; letter-spacing: -0.5px; margin-bottom: 8px; }
h2::after { content: ''; display: block; width: 32px; height: 2px; background: var(--primary); margin-top: 14px; }

.projects-list { margin-top: 32px; border-top: 1px solid #e7e5e4; }
.project-item { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid #e7e5e4; gap: 16px; }
.project-num { font-size: 1rem; font-weight: 700; color: var(--primary); opacity: .5; flex-shrink: 0; width: 32px; }
.project-name { font-size: 1.1rem; font-weight: 600; color: #1a1a1a; flex: 1; }
.project-tag { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #a8a29e; }

.o-nas-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.o-nas-inner p { color: #57534e; }
.o-nas-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }

.contact-info { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.contact-info p { display: flex; align-items: center; gap: 10px; color: #57534e; }
.contact-info a { color: var(--primary); text-decoration: none; font-weight: 600; }
.social-links { margin-top: 24px; display: flex; gap: 12px; }
.social-links a { border: 1px solid var(--primary); color: var(--primary); padding: 8px 24px; border-radius: 4px; text-decoration: none; font-weight: 600; transition: background .2s; }
.social-links a:hover { background: var(--primary); color: #fff; }

.map { padding: 0; }
.map iframe { width:100%;height:420px;border:0;display:block;filter:grayscale(20%); }

footer { background: #1a1a1a; color: #78716c; text-align: center; padding: 28px 0; font-size: .85rem; }
footer strong { color: var(--primary); }

@media (max-width: 640px) {
    .hero h1 { font-size: 2.4rem; }
    .o-nas-inner { grid-template-columns: 1fr; }
    .project-item { flex-wrap: wrap; }
}

/* ── 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: #78716c;
    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; }
}
