@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-600.ttf') format('truetype'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-700.ttf') format('truetype'); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-800.ttf') format('truetype'); font-style: normal; font-weight: 800; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-400.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-500.ttf') format('truetype'); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-600.ttf') format('truetype'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-700.ttf') format('truetype'); font-style: normal; font-weight: 700; font-display: swap; }

:root {
    --red: #da1726;
    --red-dark: #aa0f1b;
    --ink: #111214;
    --charcoal: #1b1d20;
    --steel: #636870;
    --line: #dfe1e4;
    --mist: #f3f4f5;
    --white: #fff;
    --max: 1240px;
    --shadow: 0 20px 60px rgba(13, 15, 18, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, Arial, sans-serif; font-size: 16px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { max-width: 820px; }
.section { padding: 110px 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--red); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { width: 34px; height: 2px; background: currentColor; content: ''; }
.eyebrow.light { color: #ff7c85; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Barlow Condensed', Impact, sans-serif; line-height: .98; text-transform: uppercase; }
h2 { margin-bottom: 26px; font-size: clamp(2.75rem, 5vw, 5rem); letter-spacing: -.025em; }
p { color: #555a61; }

.site-header { position: sticky; top: 0; z-index: 100; height: 84px; border-bottom: 1px solid rgba(17, 18, 20, .08); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.header-inner { width: min(calc(100% - 40px), 1380px); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { width: min(355px, 31vw); }
.brand img { width: 100%; height: auto; }
.main-nav { height: 100%; display: flex; align-items: center; gap: 30px; font-size: .85rem; font-weight: 700; text-transform: uppercase; }
.main-nav > a:not(.nav-contact), .nav-dropdown > button { position: relative; height: 100%; display: flex; align-items: center; border: 0; background: transparent; cursor: pointer; }
.main-nav > a:not(.nav-contact)::after, .nav-dropdown > button::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .25s ease; content: ''; }
.main-nav > a:hover::after, .main-nav > a.active::after, .nav-dropdown:hover > button::after { transform: scaleX(1); }
.nav-contact { padding: 12px 18px; background: var(--red); color: var(--white); transition: background .2s ease; }
.nav-contact:hover { background: var(--red-dark); }
.nav-dropdown { position: relative; height: 100%; }
.nav-dropdown button span { margin-left: 6px; font-size: 1rem; }
.dropdown-menu { position: absolute; top: calc(100% + 1px); left: 50%; width: 290px; padding: 12px; background: var(--ink); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: .2s ease; }
.dropdown-menu a { display: block; padding: 11px 13px; color: rgba(255,255,255,.8); text-transform: none; }
.dropdown-menu a:hover { background: var(--red); color: #fff; }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown.open .dropdown-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 0; background: var(--ink); cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: #fff; transition: .25s ease; }

.hero { position: relative; min-height: calc(100vh - 84px); display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero-bg, .hero-shade { position: absolute; inset: 0; }
.hero-bg { background: url('../img/foto-principal-ok222-scaled.jpeg') 62% center/cover no-repeat; transform: scale(1.01); }
.hero-shade { background: linear-gradient(90deg, rgba(12,13,15,.97) 0%, rgba(12,13,15,.9) 42%, rgba(12,13,15,.28) 73%, rgba(12,13,15,.08) 100%); }
.hero-content { position: relative; z-index: 2; min-height: 650px; display: flex; align-items: center; justify-content: space-between; gap: 60px; padding-block: 80px 110px; }
.hero-copy { max-width: 810px; color: #fff; }
.hero-copy h1 { max-width: 900px; margin-bottom: 28px; font-size: clamp(4rem, 7vw, 7rem); letter-spacing: -.035em; }
.hero-copy h1 em { display: block; color: var(--red); font-style: normal; }
.hero-copy > p { max-width: 690px; margin-bottom: 34px; color: rgba(255,255,255,.76); font-size: 1.1rem; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.btn { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 13px 24px; border: 1px solid transparent; font-size: .83rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.experience-card { width: 230px; flex: 0 0 auto; align-self: flex-end; margin-bottom: 5vh; padding: 25px; border-left: 4px solid var(--red); background: rgba(10,11,13,.74); color: #fff; backdrop-filter: blur(8px); }
.experience-card strong { display: block; font-family: 'Barlow Condensed', Impact, sans-serif; font-size: 5.5rem; line-height: .8; }
.experience-card strong span { color: var(--red); }
.experience-card p { margin: 18px 0 0; color: rgba(255,255,255,.7); font-size: .85rem; line-height: 1.5; }
.scroll-cue { position: absolute; left: max(20px, calc((100vw - var(--max))/2)); bottom: 24px; z-index: 2; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.58); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue span { width: 40px; height: 1px; background: var(--red); }

.services-section { background: var(--mist); }
.split-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 80px; margin-bottom: 55px; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { margin: 0 0 8px; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 350px; gap: 0; }
.service-card { position: relative; grid-column: span 1; overflow: hidden; background: #222; color: #fff; }
.service-card.featured { grid-column: 1 / -1; height: 390px; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.75,.2,1); }
.service-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(10,11,13,.92) 100%); transition: background .3s; }
.service-card:hover img { transform: scale(1.045); }
.service-card:hover .service-overlay { background: linear-gradient(180deg, rgba(218,23,38,.04) 10%, rgba(10,11,13,.96) 100%); }
.service-number { position: absolute; top: 20px; left: 22px; color: rgba(255,255,255,.72); font: 700 .8rem Inter, sans-serif; }
.service-content { position: absolute; right: 25px; bottom: 24px; left: 25px; display: grid; grid-template-columns: 1fr auto; gap: 5px 20px; align-items: end; }
.service-content strong { display: block; font: 700 clamp(1.9rem, 3vw, 3rem)/.95 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.service-content small { grid-column: 1; color: rgba(255,255,255,.72); font-size: .82rem; }
.service-content i { grid-column: 2; grid-row: 1 / span 2; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; font-style: normal; transition: background .2s; }
.service-card:hover .service-content i { border-color: var(--red); background: var(--red); }

.about-section { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(50px, 8vw, 120px); align-items: center; }
.about-image { position: relative; min-height: 660px; }
.about-image::before { position: absolute; z-index: -1; right: -40px; top: -40px; width: 62%; height: 56%; background: var(--red); content: ''; }
.about-image img { width: 100%; height: 660px; object-fit: cover; }
.image-label { position: absolute; right: -1px; bottom: 0; padding: 15px 22px; background: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.about-copy > p { max-width: 650px; font-size: 1.05rem; }
.values { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 40px; }
.values span { padding: 8px 13px; border: 1px solid var(--line); font-size: .76rem; font-weight: 700; text-transform: uppercase; }
.about-copy h3 { font-size: 1.45rem; letter-spacing: .02em; }
.sector-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 24px; margin: 0; padding: 0; list-style: none; }
.sector-list li { position: relative; padding-left: 18px; color: #4e5359; font-size: .9rem; }
.sector-list li::before { position: absolute; left: 0; top: .7em; width: 7px; height: 2px; background: var(--red); content: ''; }

.contact-section { color: #fff; background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.contact-copy { position: sticky; top: 130px; }
.contact-copy h2 { margin-bottom: 24px; }
.contact-copy p { color: rgba(255,255,255,.62); }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-top: 22px; }
.contact-links a { display: inline-block; color: #fff; font-weight: 700; border-bottom: 2px solid var(--red); }
.form-card { padding: clamp(26px, 5vw, 55px); background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.contact-form label { display: block; margin-bottom: 20px; }
.contact-form label > span { display: block; margin-bottom: 7px; font-size: .78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #ced1d5; border-radius: 0; background: #fafafa; color: var(--ink); outline: none; transition: border .2s, box-shadow .2s; }
.contact-form input:not([type="checkbox"]), .contact-form select { height: 50px; padding: 0 14px; }
.contact-form textarea { padding: 13px 14px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(218,23,38,.1); }
.privacy { display: grid !important; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.privacy input { margin-top: 4px; accent-color: var(--red); }
.privacy span { margin: 0 !important; color: #696e75; font-size: .72rem !important; font-weight: 500 !important; line-height: 1.5; text-transform: none !important; }
.submit-btn { width: 100%; }
.form-note { margin: 13px 0 0; color: #858a90; font-size: .7rem; text-align: center; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-alert { margin-bottom: 22px; padding: 14px 16px; border-left: 4px solid; font-size: .88rem; }
.form-alert.success { border-color: #1f9d60; background: #e9f7f0; color: #176f47; }
.form-alert.error { border-color: var(--red); background: #fff0f1; color: #95111b; }

.page-hero { min-height: calc(100svh - 84px); display: flex; align-items: center; overflow: hidden; padding: 34px 0; background: var(--mist); }
.page-hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(45px, 8vw, 110px); }
.page-intro h1 { margin-bottom: 22px; font-size: clamp(3.5rem, 5vw, 5.4rem); letter-spacing: -.035em; }
.page-intro > p { max-width: 650px; margin-bottom: 32px; font-size: 1.04rem; }
.back-link { display: block; margin-bottom: 30px; color: #767b82; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.page-cover { position: relative; height: clamp(410px, calc(100svh - 190px), 590px); min-height: 0; }
.page-cover::before { position: absolute; top: -24px; right: -24px; width: 48%; height: 36%; background: var(--red); content: ''; }
.page-cover::after { position: absolute; left: -16px; bottom: -16px; width: 100px; height: 100px; border-left: 16px solid var(--ink); border-bottom: 16px solid var(--ink); content: ''; }
.page-cover img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow); }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.gallery-heading h2 { margin: 0; }
.gallery-heading p { flex: 0 0 auto; margin-bottom: 8px; font-size: .8rem; text-transform: uppercase; }
.project-gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 260px; gap: 13px; }
.gallery-item { position: relative; grid-column: span 4; padding: 0; overflow: hidden; border: 0; background: #ddd; cursor: zoom-in; }
.gallery-item.item-1, .gallery-item.item-7 { grid-column: span 7; }
.gallery-item.item-2, .gallery-item.item-6 { grid-column: span 5; }
.gallery-item.item-3 { grid-column: span 4; }
.gallery-item.item-4 { grid-column: span 4; }
.gallery-item.item-5 { grid-column: span 4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.gallery-item span { position: absolute; right: 0; bottom: 0; padding: 8px 12px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(100%); transition: .25s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item:hover span { opacity: 1; transform: translateY(0); }
.project-cta { padding: 65px 0; background: var(--red); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta-inner h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 4.5rem); }
.cta-inner .eyebrow { margin-bottom: 12px; color: rgba(255,255,255,.75); }
.lightbox { width: min(94vw, 1200px); max-width: none; height: min(90vh, 850px); padding: 0; overflow: visible; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(5,6,7,.92); backdrop-filter: blur(5px); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-close { position: absolute; top: -42px; right: 0; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: transparent; color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.error-page { min-height: 70vh; display: grid; place-items: center; padding: 100px 0; }
.error-page h1 { font-size: clamp(4rem, 9vw, 8rem); }

.site-footer { padding-top: 72px; background: #0c0d0f; color: #fff; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 45px; padding-bottom: 60px; }
.footer-main h3 { margin-bottom: 20px; color: #fff; font-size: .95rem; letter-spacing: .08em; }
.footer-main a { display: block; margin: 9px 0; color: rgba(255,255,255,.6); font-size: .82rem; }
.footer-main a:hover { color: #fff; }
.footer-brand img { width: min(100%, 360px); padding: 0; background: transparent; filter: grayscale(1) brightness(0) invert(1); opacity: .96; }
.footer-brand p { max-width: 340px; margin-top: 22px; color: rgba(255,255,255,.55); font-size: .84rem; }
.footer-bottom { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.42); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; }

@media (max-width: 1050px) {
    .site-header { height: 74px; }
    .brand { width: 300px; max-width: calc(100vw - 100px); }
    .menu-toggle { display: block; }
    .main-nav { position: fixed; inset: 74px 0 auto; height: calc(100vh - 74px); display: block; padding: 30px 20px; overflow-y: auto; background: #fff; opacity: 0; pointer-events: none; transform: translateY(-12px); transition: .25s ease; }
    .main-nav.open { opacity: 1; pointer-events: auto; transform: none; }
    .main-nav > a:not(.nav-contact), .nav-dropdown > button { width: 100%; height: auto; justify-content: space-between; padding: 15px 5px; border-bottom: 1px solid var(--line); }
    .main-nav > a::after, .nav-dropdown > button::after { display: none; }
    .nav-contact { display: flex; margin-top: 22px; justify-content: center; }
    .nav-dropdown { height: auto; }
    .dropdown-menu { position: static; width: 100%; padding: 0 0 0 18px; background: #f4f4f4; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; display: none; }
    .nav-dropdown.open .dropdown-menu { display: block; transform: none; }
    .dropdown-menu a { color: #41454a; border-bottom: 1px solid #ddd; }
    .hero { min-height: calc(100svh - 74px); }
    .hero-content { min-height: 650px; }
    .hero-copy { max-width: 760px; }
    .experience-card { display: none; }
    .split-heading, .contact-grid { grid-template-columns: 1fr; gap: 35px; }
    .contact-copy { position: static; }
    .page-hero-grid { gap: 55px; }
    .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
    .footer-main > div:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
    .container { width: min(calc(100% - 30px), var(--max)); }
    .section { padding: 75px 0; }
    .hero-bg { background-position: 67% center; }
    .hero-shade { background: linear-gradient(90deg, rgba(12,13,15,.96), rgba(12,13,15,.72)); }
    .hero-content { min-height: calc(100svh - 74px); padding-block: 70px 90px; }
    .hero-copy h1 { font-size: clamp(3.35rem, 14vw, 5rem); }
    .hero-copy > p { font-size: .96rem; }
    .btn { width: 100%; }
    .services-grid { display: block; }
    .service-card, .service-card.featured { width: 100%; height: 330px; display: block; margin-bottom: 0; }
    .about-grid, .page-hero-grid { grid-template-columns: 1fr; }
    .about-image, .about-image img { min-height: 0; height: 470px; }
    .about-image::before { right: -15px; top: -15px; }
    .sector-list, .field-row { grid-template-columns: 1fr; gap: 0; }
    .page-hero { padding-top: 55px; }
    .back-link { margin-bottom: 35px; }
    .page-intro h1 { font-size: clamp(3.5rem, 15vw, 5.5rem); }
    .page-cover { min-height: 0; height: 440px; }
    .page-cover::before { right: -15px; top: -15px; }
    .gallery-heading { display: block; }
    .project-gallery { grid-template-columns: 1fr; grid-auto-rows: 270px; }
    .gallery-item, .gallery-item.item-1, .gallery-item.item-2, .gallery-item.item-3, .gallery-item.item-4, .gallery-item.item-5, .gallery-item.item-6, .gallery-item.item-7 { grid-column: auto; }
    .cta-inner { display: block; }
    .cta-inner .btn { margin-top: 28px; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-main > div:last-child { grid-column: auto; }
    .footer-bottom { display: block; padding: 20px 0; }
    .footer-bottom span { display: block; margin: 4px 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
