﻿* { font-family: 'Inter', system-ui, -apple-system, sans-serif; }
:root { --red: #c1121f; --red-dark: #a4161a; --black: #0b090a; }
body { background: #ffffff; scroll-behavior: smooth; }
html { scroll-padding-top: var(--header-offset, 120px); }
.container-content { max-width: 1366px; margin: 0 auto; width: 100%; padding-left: 1.5rem; padding-right: 1.5rem; }
.site-header { transition: box-shadow 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1), background-color 0.3s ease; background: rgba(255,255,255,0.98); border-bottom: 1px solid #eaeaea; }
.header-top { max-height: 120px; opacity: 1; overflow: hidden; transform: translateY(0); transition: max-height 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease, padding 0.55s ease, margin 0.55s ease, transform 0.55s ease; will-change: max-height, opacity, transform; }
.header-brand { display: flex; align-items: center; min-height: 74px; flex: 1 1 auto; min-width: 0; }
.header-logo { width: auto; height: auto; max-width: 100%; max-height: 78px; object-fit: contain; object-position: left center; }
.site-header.is-compact .header-top { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; margin: 0; transform: translateY(-8px); pointer-events: none; }
.site-header.is-compact { box-shadow: 0 10px 30px -12px rgba(0,0,0,0.12); }
.menu-row { background: var(--black); }
.menu-row nav a { color: #f5f5f5; font-weight: 600; letter-spacing: -0.2px; position: relative; padding-bottom: 4px; }
.menu-row nav a:hover { color: #ffffff; }
.menu-row nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0%; height: 2px; background: var(--red); transition: 0.25s; border-radius: 4px; }
.menu-row nav a:hover::after { width: 100%; }
.contact-chip { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: #262626; font-weight: 600; }
.contact-chip i { width: 34px; height: 34px; border-radius: 8px; background: var(--red); color: white; display: inline-flex; align-items: center; justify-content: center; }
.hero-section { position: relative; width: 100%; height: 70vh; min-height: 550px; max-height: 800px; overflow: hidden; margin-top: var(--hero-offset, 108px); }
.hero-motion { position: absolute; inset: 0; z-index: 20; pointer-events: none; overflow: hidden; }
.hero-motion::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(90deg, transparent 0 49.6%, rgba(255,255,255,0.16) 49.6% 54.2%, transparent 54.2% 100%), linear-gradient(90deg, transparent 0 54%, rgba(255,255,255,0.12) 54% 58.2%, transparent 58.2% 100%); background-size: 220% 100%, 220% 100%; background-repeat: no-repeat; mix-blend-mode: screen; animation: heroBarsSweep 34s linear infinite; }
.hero-motion::after,
.hero-motion .line,
.hero-motion .dot { display: none !important; }
@keyframes heroBarsSweep {
  0% { background-position: -140% 0, -170% 0; }
  100% { background-position: 160% 0, 130% 0; }
}
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 0.9s cubic-bezier(0.2, 0.9, 0.4, 1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0.4), rgba(0,0,0,0.6)); }
.hero-content { position: absolute; inset: 0; display: flex; align-items: center; }
.section-bg-light { background-image: url('media/bg-light.webp'); background-size: cover; background-position: center; background-attachment: fixed; position: relative; }
.section-bg-light::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.78); backdrop-filter: blur(1px); }
.section-bg-light::after { content: none; }
.section-bg-dark { background-image: url('media/bg-dark.webp'); background-size: cover; background-position: center 30%; background-attachment: fixed; position: relative; }
.section-bg-dark::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.75); }
.section-bg-dark::after { content: none; }
.section-bg-texture-black { background-color: #090909; background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 32px 32px; position: relative; }
.service-card { transition: all 0.25s; border: 1px solid #ececec; background: white; display: flex; flex-direction: column; height: 100%; }
.service-card:hover { box-shadow: 0 18px 30px -12px rgba(193,18,31,0.12); background: #fefefe; transform: translateY(-2px); }
.service-card p { margin: 0 0 16px; min-height: 7.6em; }
.whatsapp-float { transition: 0.2s; box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.whatsapp-float:hover { transform: scale(1.08); background: #25d366; }
.indicator-dot { transition: all 0.2s ease; cursor: pointer; }
.project-table-wrapper { overflow-x: auto; max-height: 560px; overflow-y: auto; scrollbar-width: thin; border: 1px solid #e8e8e8; border-radius: 14px; background: #fff; }
.project-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.project-table th, .project-table td { padding: 0.78rem 0.95rem; text-align: left; border-bottom: 1px solid #efefef; vertical-align: top; }
.project-table th { background: linear-gradient(180deg, #1b1b1b, #0f0f0f); color: #fff; position: sticky; top: 0; z-index: 2; letter-spacing: .02em; text-transform: uppercase; font-size: 0.72rem; }
.project-table tr:hover { background: rgba(255,255,255,0.05); }
.project-filters { display: grid; grid-template-columns: 1fr 200px; gap: 10px; }
.project-filters input, .project-filters select { width: 100%; border: 1px solid #d4d4d4; background: #fff; border-radius: 10px; padding: 10px 12px; font-size: 0.9rem; }
.projects-shell { border: 1px solid rgba(193,18,31,0.2); box-shadow: 0 18px 40px rgba(0,0,0,0.08); }
.projects-shell { background-image: radial-gradient(rgba(193,18,31,0.06) 1px, transparent 1px); background-size: 26px 26px; }
.projects-meta { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin: 0 0 16px; }
.projects-meta .meta { background: #fff; border: 1px solid #ececec; border-left: 4px solid var(--red); border-radius: 10px; padding: 10px 12px; }
.projects-meta .label { font-size: 0.72rem; color: #737373; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.projects-meta .value { font-size: 1.25rem; font-weight: 800; color: #111; line-height: 1.2; }
.project-table { background: #fff; border-radius: 12px; overflow: hidden; }
.project-table tbody tr:nth-child(odd) { background: #fcfcfc; }
.project-table tbody tr:nth-child(even) { background: #ffffff; }
.project-table td { color: #222; }
.project-table td:first-child { font-weight: 700; color: #111; }
.project-table td:last-child { font-weight: 700; color: var(--red-dark); }
.project-table td:nth-child(2), .project-table td:nth-child(3) { color: #3f3f46; font-size: 0.82rem; }
.project-table td:last-child { white-space: nowrap; text-align: right; }
.project-table td:nth-child(3) { transition: color .2s ease, text-shadow .2s ease; }
.project-table tr { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.project-table tr:hover { transform: translateX(4px); box-shadow: inset 4px 0 0 var(--red); background: #fff4f4; }
.project-table tr:hover td:nth-child(3) { color: #8b111a; text-shadow: 0 0 0 rgba(0,0,0,0); }
.projects-view-toggle { display: inline-flex; gap: 8px; margin: 0 0 14px; background: #fff; padding: 6px; border-radius: 999px; border: 1px solid #e5e5e5; }
.projects-view-toggle button { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 0.82rem; color: #555; }
.projects-view-toggle button.active { background: #111; color: #fff; }
.projects-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 16px; }
.project-card { background: #fff; border: 1px solid #ececec; border-radius: 12px; padding: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.06); }
.project-card .year { display: inline-block; padding: 3px 8px; border-radius: 999px; background: #fef0f0; color: #8b111a; font-size: 0.72rem; font-weight: 800; margin-bottom: 8px; }
.project-card h4 { font-size: 0.94rem; font-weight: 800; color: #111; line-height: 1.3; margin: 0 0 6px; }
.project-card p { margin: 0; font-size: 0.8rem; color: #555; }
.project-card p + p { margin-top: 4px; }
.hidden-view { display: none; }
.service-cta { display: inline-flex; align-items: center; justify-content: center; margin-top: auto; background: var(--black); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 0.8rem; font-weight: 700; transition: 0.2s; }
.service-cta:hover { background: var(--red); transform: translateY(-1px); }
.logo-marquee { overflow-x: hidden; overflow-y: visible; position: relative; padding-top: 4px; }
.logo-marquee::before, .logo-marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 72px; z-index: 2; pointer-events: none; }
.logo-marquee::before { left: 0; background: linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0)); }
.logo-marquee::after { right: 0; background: linear-gradient(to left, rgba(255,255,255,0.95), rgba(255,255,255,0)); }
.logo-track { display: flex; width: max-content; gap: 18px; animation: logos-scroll 52s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-card { background: rgba(255,255,255,0.92); border: 1px solid #ececec; border-radius: 14px; min-height: 136px; min-width: 198px; display: flex; align-items: center; justify-content: center; padding: 24px 14px; box-shadow: 0 10px 24px rgba(0,0,0,0.08); line-height: 0; overflow: hidden; }
.logo-card img { max-width: 162px; max-height: 62px; width: auto; height: auto; filter: none; opacity: 0.98; object-fit: contain; }
.logo-chip { font-size: 0.78rem; color: #333; font-weight: 700; text-align: center; line-height: 1.25; }
.logo-card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.logo-card:hover { transform: translateY(0); box-shadow: 0 14px 28px rgba(193,18,31,0.14); border-color: rgba(193,18,31,0.32); }
.logo-card:hover img { filter: none; opacity: 1; }
@keyframes logos-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mobile-menu { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease, opacity .25s ease; background: #111; }
.mobile-menu.is-open { max-height: 380px; opacity: 1; }
.mobile-menu a { display: block; color: #fff; padding: 10px 18px; border-top: 1px solid rgba(255,255,255,0.08); font-weight: 600; }
.team-photo { width: 108px; height: 108px; object-fit: cover; border-radius: 999px; border: 3px solid #fff; box-shadow: 0 10px 24px rgba(0,0,0,0.16); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1024px) { .header-brand { min-height: 68px; } .header-logo { max-height: 66px; } .contact-chip { font-size: 0.8rem; } .contact-chip i { width: 28px; height: 28px; } }
@media (max-width: 640px) { .header-brand { min-height: 58px; } .header-logo { max-height: 54px; } }
@media (max-width: 768px) { .container-content { padding-left: 1rem; padding-right: 1rem; } }
@media (max-width: 768px) { .project-filters { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .projects-meta { grid-template-columns: 1fr; } }
@media (max-width: 1024px) { .projects-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .projects-cards { grid-template-columns: 1fr; } }

.contact-shell { border: 1px solid rgba(193,18,31,0.18); box-shadow: 0 20px 42px rgba(0,0,0,0.1); }
.contact-badges { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.contact-badge { background: #fff7f7; border: 1px solid #ffdede; border-radius: 10px; padding: 10px; font-size: 0.8rem; color: #7f1d1d; font-weight: 700; }
.contact-form input, .contact-form textarea, .contact-form select { border: 1px solid #d4d4d4; border-radius: 10px; padding: 11px 12px; width: 100%; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: 2px solid rgba(193,18,31,0.22); border-color: #c1121f; }
.contact-grid-pro { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-map { border: 0; width: 100%; min-height: 220px; border-radius: 12px; }
@media (max-width: 900px) { .contact-badges, .contact-grid-pro { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .logo-marquee::before, .logo-marquee::after { width: 28px; } .logo-track { gap: 10px; animation-duration: 34s; } .logo-card { min-width: 145px; min-height: 108px; padding: 16px 10px; } .logo-card img { max-height: 48px; max-width: 132px; } }


