:root {
  --bg: #0a0b0d;
  --bg-2: #121418;
  --bg-3: #1a1d23;
  --line: #262a31;
  --text: #e9ecf1;
  --muted: #9aa1ac;
  --accent: #7fc4ff;
  --metal: linear-gradient(180deg, #ffffff 0%, #c9ced6 40%, #7d8591 60%, #e3e7ec 100%);
  --radius: 14px;
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: Sora, sans-serif; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 600; margin-bottom: 1.2rem; }
h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: .5rem; }
p + p { margin-top: 1rem; }
strong { color: #fff; font-weight: 500; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font: 600 .78rem/1 Sora, sans-serif;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.metal { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead, .section-lead { color: var(--muted); font-size: 1.15rem; max-width: 640px; }
.section { padding: clamp(72px, 11vw, 130px) 0; }
.section-lead { margin-bottom: 3rem; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--text); color: var(--bg);
  font: 600 .95rem/1 Sora, sans-serif; border: 1px solid var(--text);
  cursor: pointer; transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: rgba(10,11,13,.6); backdrop-filter: blur(6px); color: var(--text); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--text); border-color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .85rem; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; transition: background .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(10,11,13,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; font: 500 .92rem Sora, sans-serif; }
.nav-links a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 34px; height: 34px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 7px 4px; transition: .3s; }

/* Hero */
.hero { position: relative; background: #000; min-height: 92svh; display: flex; align-items: flex-start; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,13,.7) 0%, rgba(10,11,13,.35) 55%, rgba(10,11,13,.1) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%), linear-gradient(180deg, rgba(10,11,13,.6) 0%, transparent 25%); }
.hero-inner { position: relative; }
.hero .hero-inner { padding-top: 110px; padding-bottom: 22vh; }
.hero h1 { margin-bottom: 1.4rem; max-width: 900px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2.2rem; }

/* Clients */
.clients { border-block: 1px solid var(--line); padding: 26px 0; background: var(--bg-2); }
.clients .wrap { display: flex; gap: 30px; align-items: center; }
.clients p { font: 600 .72rem Sora; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.clients ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; font: 500 .95rem Sora; color: #cfd4db; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, transform .3s; }
.service:hover { border-color: #3b414b; transform: translateY(-4px); }
.service img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.service-body { padding: 26px 28px 30px; }
.service p { color: var(--muted); }
.num { font: 600 .8rem Sora; color: var(--accent); display: block; margin-bottom: .6rem; }

/* Band */
.band { background: linear-gradient(135deg, #16202c, #0e1116 60%); border-block: 1px solid var(--line); padding: clamp(60px, 9vw, 100px) 0; }
.band-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.band p { color: #c3c9d2; }
.band .btn { margin-top: 1.8rem; }

/* Why / Objetivos */
.why-grid, .obj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-grid img, .obj-grid img { border-radius: var(--radius); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.why p, .objetivos p { color: var(--muted); }
.obj-grid img { order: 2; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2.5rem; }
.project { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.project img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s; }
.project img.contain { object-fit: contain; background: #fff; padding: 20%; }
.project:hover img { transform: scale(1.04); }
.project > div { padding: 22px 24px 26px; position: relative; background: var(--bg-2); }
.project p { color: var(--muted); font-size: .96rem; }
.project-lg { grid-column: span 2; display: grid; grid-template-columns: 1.3fr 1fr; }
.project-lg img { aspect-ratio: auto; height: 100%; min-height: 300px; }
.project-lg > div { display: flex; flex-direction: column; justify-content: center; padding: 34px; }
.project-lg h3 { font-size: 1.6rem; }

/* Videos */
.videos { background: var(--bg-2); border-block: 1px solid var(--line); }
.yt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 2.5rem; }
.yt { position: relative; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #000 center/cover; }
.yt::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); transition: background .3s; }
.yt::after { content: ""; position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%230a0b0d'/%3E%3C/svg%3E") 55% 50%/28px no-repeat; transition: transform .3s; }
.yt:hover::before { background: rgba(0,0,0,.05); }
.yt:hover::after { transform: scale(1.1); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.playing::before, .yt.playing::after { display: none; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: start; }
.about-grid > div:first-child p { color: var(--muted); }
.depts { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.depts-title { color: var(--muted); font-size: .95rem; margin-bottom: 1.2rem; }
.depts ul { list-style: none; }
.depts li { font: 600 1.2rem Sora; padding: 18px 0; border-top: 1px solid var(--line); display: flex; gap: 18px; align-items: baseline; }
.depts li span { font-size: .8rem; color: var(--accent); }

/* Contact */
.contact { background: radial-gradient(ellipse at 80% 20%, #16202c, var(--bg) 60%); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact .section-lead { margin-bottom: 2rem; }
.contact-list { list-style: none; }
.contact-list a { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); font: 500 1.05rem Sora; transition: color .2s; }
.contact-list li:last-child a { border-bottom: 1px solid var(--line); }
.contact-list a:hover { color: var(--accent); }
.contact-list b { font-weight: 400; color: var(--muted); font-family: Inter; font-size: .95rem; }
.social { display: flex; gap: 22px; margin-top: 1.6rem; font: 500 .95rem Sora; color: var(--muted); }
.social a:hover { color: #fff; }
.form { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: .88rem; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 13px 14px; transition: border-color .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form .btn { justify-self: start; margin-top: 6px; }

/* Footer */
.footer { padding: 50px 0; border-top: 1px solid var(--line); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-logo { height: 54px; width: auto; opacity: .85; }
.footer p { color: var(--muted); font-size: .88rem; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 900px) {
  .services, .yt-grid, .band-grid, .why-grid, .obj-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .projects { grid-template-columns: 1fr 1fr; }
  .project-lg { grid-column: span 2; grid-template-columns: 1fr; }
  .project-lg img { min-height: 0; aspect-ratio: 16/9; }
  .obj-grid img { order: 0; }
  .clients .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav-links {
    position: fixed; inset: 0; background: rgba(10,11,13,.97); flex-direction: column; justify-content: center; gap: 28px;
    font-size: 1.3rem; opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; }
  .nav.open .nav-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav-logo img { height: 38px; }
  .projects { grid-template-columns: 1fr; }
  .project-lg { grid-column: auto; }
  .wrap { padding: 0 18px; }
  .service-body, .form, .depts { padding: 24px; }
  .hero { min-height: 0; }
  .hero .hero-inner { padding-top: 100px; padding-bottom: 130px; }
  .hero-video { object-position: 60% 30%; }
}
