:root {
  --black: #050505;
  --surface: #0c0c0c;
  --surface-2: #121212;
  --white: #f4f3ef;
  --muted: #aaa9a3;
  --dim: #777671;
  --line: #2a2a28;
  --whatsapp: #25d366;
  --shell: 1180px;
  --header: 72px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.045em; }
p { color: var(--muted); }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.eyebrow {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--white);
  color: var(--black);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #8ce8aa; outline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header);
  background: rgba(5, 5, 5, .92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 760; letter-spacing: -.02em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; background: var(--white); color: var(--black); font-size: 12px; letter-spacing: -.07em; }
.nav-menu { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 650; }
.nav-menu > a:not(.button) { color: var(--muted); }
.nav-menu > a:not(.button):hover { color: var(--white); }
.language-switch { display: flex; align-items: center; gap: 7px; color: var(--dim); }
.language-switch button { padding: 5px; border: 0; background: transparent; color: var(--dim); cursor: pointer; font-weight: 750; }
.language-switch button[aria-pressed="true"] { color: var(--white); text-decoration: underline; text-underline-offset: 5px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--black); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1px; margin: 5px auto; background: var(--white); transition: .2s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid var(--white);
  border-radius: var(--radius);
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-solid { background: var(--white); color: var(--black); }
.button-solid:hover { background: #fff; }
.button-outline { background: transparent; color: var(--white); }
.button-outline:hover { background: var(--white); color: var(--black); }
.button-small { min-height: 42px; padding: 10px 16px; font-size: 13px; }

.hero { position: relative; padding: 68px 0 64px; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 64px; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(50px, 5.5vw, 78px); font-weight: 720; }
.hero-lead { max-width: 720px; margin-bottom: 30px; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 17px; }
.reassurance { margin-bottom: 25px; color: #cac9c4; font-size: 14px; }
.work-link { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; border-bottom: 1px solid var(--dim); }
.work-link:hover { color: var(--white); }
.hero-card { position: relative; z-index: 1; padding: 30px; background: var(--white); color: var(--black); }
.hero-card .card-kicker { margin-bottom: 42px; color: #686761; font: 700 11px/1 monospace; letter-spacing: .08em; }
.hero-card h2 { margin-bottom: 28px; font-size: 38px; }
.hero-card ul { margin: 0 0 30px; padding: 0; list-style: none; border-top: 1px solid #c9c7c0; }
.hero-card li { padding: 12px 0; border-bottom: 1px solid #c9c7c0; font-weight: 650; }
.hero-card > p:last-child { margin: 0; color: #55544f; font-size: 14px; }

.proof-strip { border-block: 1px solid var(--line); background: var(--surface); }
.proof-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-list span { padding: 18px 22px; color: #d0cfca; font-size: 13px; text-align: center; border-right: 1px solid var(--line); }
.proof-list span:first-child { border-left: 1px solid var(--line); }
.proof-list span::before { content: "•"; margin-right: 10px; color: var(--white); }

.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 52px; align-items: end; margin-bottom: 42px; }
.section-heading h2, .team-intro h2, .faq-grid h2 { margin-bottom: 0; font-size: clamp(38px, 4.4vw, 60px); }
.section-heading > p { margin: 0 0 5px; font-size: 17px; }
.compact-heading { grid-template-columns: 1fr; }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.project-card { min-width: 0; background: var(--black); }
.project-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.45fr 1fr; }
.project-media { position: relative; display: block; width: 100%; min-width: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.project-media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-media:hover img { transform: scale(1.015); }
.project-media img.is-broken { display: none; }
.project-image-fallback { position: absolute; inset: 0; display: grid; align-content: center; gap: 9px; padding: 30px; background: var(--white); color: var(--black); }
.project-image-fallback strong { font-size: clamp(28px, 4vw, 52px); letter-spacing: -.05em; }
.project-image-fallback small { color: #55544f; font-size: 13px; }
.project-body { padding: 30px; }
.project-type { margin-bottom: 34px; color: var(--dim); font: 700 11px/1 monospace; letter-spacing: .09em; text-transform: uppercase; }
.project-body h3 { margin-bottom: 14px; font-size: 31px; }
.project-body > p:not(.project-type) { max-width: 530px; min-height: 52px; }
.text-link, .service-link { display: inline-block; margin-top: 8px; padding-bottom: 2px; border-bottom: 1px solid var(--dim); font-size: 14px; font-weight: 720; }
.text-link:hover, .service-link:hover { border-color: var(--white); }

.media-showcase { background: var(--surface); }
.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.media-card { min-width: 0; background: var(--black); }
.video-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #101010; }
.video-stage > img,
.video-stage > video { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; left: 24px; bottom: 24px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.55); background: rgba(5,5,5,.86); color: var(--white); cursor: pointer; font-weight: 740; backdrop-filter: blur(8px); }
.video-play:hover { background: var(--white); color: var(--black); }
.video-play:disabled { cursor: wait; opacity: .7; }
.video-play span:first-child { font-size: 12px; }
.media-badge { position: absolute; top: 18px; right: 18px; z-index: 3; padding: 6px 9px; background: rgba(5,5,5,.78); color: #d5d4cf; font: 700 10px/1 monospace; letter-spacing: .06em; text-transform: uppercase; }
.video-error { position: absolute; inset: auto 20px 20px; z-index: 4; margin: 0; padding: 16px; background: rgba(5,5,5,.9); border: 1px solid var(--line); }
.video-error strong, .video-error span { display: block; }
.video-error strong { margin-bottom: 4px; color: var(--white); }
.video-error span { color: var(--muted); font-size: 13px; }
.media-caption { padding: 27px; }
.media-caption .project-type { margin-bottom: 22px; }
.media-caption h3 { margin-bottom: 12px; font-size: 30px; }
.media-caption > p:last-child { margin-bottom: 0; }
.media-disclosure { max-width: 760px; margin: 20px 0 0; color: var(--dim); font-size: 12px; }

.services { background: var(--surface); }
.service-list { border-top: 1px solid var(--line); }
.service-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.service-number { color: var(--dim); font: 700 12px/1 monospace; }
.service-card > div { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(280px, 1fr) auto; gap: 36px; align-items: center; }
.service-card h3 { margin: 0; font-size: clamp(28px, 3.4vw, 43px); }
.service-card p { margin: 0; }
.service-card .service-priority { grid-column: 1 / -1; margin-bottom: -35px; color: var(--white); font: 700 11px/1 monospace; letter-spacing: .1em; text-transform: uppercase; }
.service-primary { padding-block: 38px; }
.service-primary h3 { font-size: clamp(34px, 4vw, 52px); }
.service-link { white-space: nowrap; }

.team-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: start; }
.team-intro { position: sticky; top: 110px; }
.team-intro h2 { margin-bottom: 24px; }
.team-intro > p:last-of-type { max-width: 480px; font-size: 16px; }
.team-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin-top: 24px; }
.team-contact a { border-bottom: 1px solid var(--dim); }
.people { border-top: 1px solid var(--line); }
.person-card { display: grid; grid-template-columns: 112px 1fr; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.person-avatar { display: grid; width: 112px; aspect-ratio: 1; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--white); font-size: 32px; font-weight: 760; letter-spacing: -.05em; }
.person-card h3 { margin-bottom: 8px; font-size: 29px; }
.person-card p { margin-bottom: 14px; }
.socials { display: flex; gap: 16px; font-size: 13px; }
.socials a { color: #d2d1cc; border-bottom: 1px solid var(--dim); }

.process { background: var(--white); color: var(--black); }
.process .eyebrow, .process h2 { color: var(--black); }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border: 1px solid #c9c7c0; }
.process-list li { min-height: 280px; padding: 26px; border-right: 1px solid #c9c7c0; display: flex; flex-direction: column; justify-content: space-between; }
.process-list li:last-child { border: 0; }
.process-list li > span { color: #6f6e68; font: 700 11px/1 monospace; }
.process-list h3 { margin-bottom: 13px; font-size: 30px; }
.process-list p { margin: 0; color: #55544f; }

.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 25px 42px 25px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 5px; font-size: 24px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 680px; padding: 0 50px 24px 0; }

.final-contact { padding: 110px 0; background: var(--white); color: var(--black); }
.final-contact .eyebrow { color: var(--black); }
.final-grid { display: grid; grid-template-columns: 1fr 390px; gap: 90px; align-items: end; }
.final-grid h2 { max-width: 760px; margin-bottom: 20px; font-size: clamp(46px, 6vw, 76px); }
.final-grid p:not(.eyebrow) { max-width: 620px; margin-bottom: 0; color: #55544f; font-size: 18px; }
.final-actions { display: flex; flex-direction: column; gap: 10px; }
.final-contact .button-solid { background: var(--black); color: var(--white); border-color: var(--black); }
.final-contact .button-outline { color: var(--black); border-color: var(--black); }
.final-contact .button-outline:hover { background: var(--black); color: var(--white); }
.email-link { margin-top: 8px; text-align: center; text-decoration: underline; text-underline-offset: 4px; }

.footer { padding: 42px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 50px; align-items: start; padding-right: 72px; }
.footer p { margin: 5px 0 0; font-size: 13px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 13px; }
.footer-nav button { margin: 0; padding: 0; border: 0; background: none; cursor: pointer; }

.mobile-contact { display: none; }
.button[data-contact="whatsapp"],
.final-contact .button[data-contact="whatsapp"] { background: var(--whatsapp); border-color: var(--whatsapp); color: #031307; }
.button[data-contact="whatsapp"]:hover,
.final-contact .button[data-contact="whatsapp"]:hover { background: #20bd5b; border-color: #20bd5b; color: #020d05; }
.service-link[data-contact="whatsapp"],
.footer-nav a[data-contact="whatsapp"] { color: #5de78b; border-color: #278c49; }
.service-link[data-contact="whatsapp"]:hover,
.footer-nav a[data-contact="whatsapp"]:hover { color: #8df0ae; border-color: currentColor; }
.floating-whatsapp {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 190;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid #55e984;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #031307;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  transition: background .18s ease, opacity .18s ease, visibility .18s ease;
}
.floating-whatsapp:hover { background: #20bd5b; }
.floating-whatsapp svg { width: 30px; height: 30px; }
html.has-open-consent .floating-whatsapp { display: none; }
.consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  max-width: 920px;
  margin: auto;
  padding: 22px;
  background: var(--surface-2);
  border: 1px solid #555;
  box-shadow: 0 16px 70px #000;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.consent:not([hidden]) { display: grid; }
.consent h2 { margin-bottom: 7px; font-size: 20px; letter-spacing: -.02em; }
.consent p { margin-bottom: 5px; font-size: 13px; }
.consent a { font-size: 13px; text-decoration: underline; }
.consent-actions { display: flex; gap: 8px; }
.consent .button { min-height: 44px; padding: 10px 16px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-menu { position: fixed; inset: var(--header) 0 auto; display: none; padding: 25px 20px 30px; background: var(--black); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .nav-menu.is-open { display: flex; }
  .nav-menu > a:not(.button) { padding: 7px 0; font-size: 17px; }
  .language-switch { padding-top: 8px; }
  .hero::after { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-card { max-width: 620px; }
  .section-heading, .team-grid, .faq-grid, .final-grid { grid-template-columns: 1fr; gap: 30px; }
  .team-intro { position: static; }
  .service-card > div { grid-template-columns: 1fr 1fr; }
  .service-card .service-priority { margin: 0 0 -26px; }
  .service-link { grid-column: 1 / -1; justify-self: start; }
  .final-actions { max-width: 430px; }
}

@media (max-width: 720px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .section { padding: 64px 0; }
  .hero { padding: 34px 0 56px; }
  .hero-grid { gap: 34px; }
  .hero h1 { margin-bottom: 18px; font-size: clamp(38px, 10.8vw, 50px); }
  .hero-lead { margin-bottom: 23px; font-size: 17px; }
  .hero-actions { display: grid; grid-template-columns: 1.35fr .75fr; gap: 8px; }
  .hero-actions .button { min-height: 50px; padding-inline: 12px; font-size: 14px; }
  .reassurance { margin-bottom: 18px; }
  .hero-card { padding: 24px; }
  .hero-card .card-kicker { margin-bottom: 36px; }
  .hero-card h2 { font-size: 34px; }
  .proof-list { grid-template-columns: 1fr; padding-block: 5px; }
  .proof-list span, .proof-list span:first-child { padding: 10px; border: 0; text-align: left; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2, .team-intro h2, .faq-grid h2 { font-size: 36px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-featured { grid-column: auto; display: block; }
  .project-body { padding: 23px; }
  .project-type { margin-bottom: 23px; }
  .project-body > p:not(.project-type) { min-height: auto; }
  .media-grid { grid-template-columns: 1fr; }
  .video-play { left: 16px; bottom: 16px; }
  .service-card { grid-template-columns: 42px 1fr; gap: 8px; padding: 32px 0; }
  .service-card > div { display: block; }
  .service-card h3 { margin-bottom: 15px; font-size: 30px; }
  .service-primary h3 { font-size: 36px; }
  .service-card p { margin-bottom: 19px; }
  .service-card .service-priority { margin: 0 0 12px; }
  .person-card { grid-template-columns: 84px 1fr; gap: 16px; padding: 18px 0; }
  .person-avatar { width: 84px; font-size: 26px; }
  .person-card h3 { font-size: 25px; }
  .socials { flex-wrap: wrap; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: 225px; border-right: 0; border-bottom: 1px solid #c9c7c0; }
  .faq-list summary { font-size: 17px; }
  .final-contact { padding: 76px 0; }
  .final-grid h2 { font-size: 45px; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .mobile-contact {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 1px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--black);
    border-top: 1px solid var(--line);
  }
  .mobile-contact a { display: grid; place-items: center; min-height: 48px; background: var(--white); color: var(--black); font-weight: 800; }
  .mobile-contact .mobile-whatsapp { background: var(--whatsapp); color: #031307; }
  .floating-whatsapp { right: max(14px, env(safe-area-inset-right)); bottom: calc(82px + env(safe-area-inset-bottom)); }
  .consent { bottom: calc(74px + env(safe-area-inset-bottom)); grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .hero-actions { grid-template-columns: 1.25fr .75fr; }
  .hero-actions .button { font-size: 13px; }
  .person-card { align-items: start; }
  .consent { left: 10px; right: 10px; padding: 17px; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

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