:root {
  --ink: #04111d;
  --ink-2: #071d30;
  --ink-3: #0b2c46;
  --blue: #1677b8;
  --cyan: #45c9df;
  --cyan-soft: #83e6f2;
  --white: #ffffff;
  --muted: #b8cad7;
  --muted-2: #829bad;
  --line: rgba(190, 218, 233, 0.14);
  --line-bright: rgba(69, 201, 223, 0.38);
  --panel: rgba(255, 255, 255, 0.045);
  --green: #25d366;
  --green-dark: #1ebd5a;
  --max: 1240px;
  --radius: 1.6rem;
  --shadow: 0 32px 100px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 3%, rgba(69, 201, 223, .14), transparent 30rem),
    radial-gradient(circle at 8% 38%, rgba(22, 119, 184, .11), transparent 32rem),
    linear-gradient(145deg, #020b13 0%, var(--ink) 48%, #082139 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: absolute; left: -9999px; top: 1rem; z-index: 100; padding: .75rem 1rem; background: white; color: black; }
.skip-link:focus { left: 1rem; }

.site-header {
  position: sticky;
  top: .8rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 2rem), var(--max));
  margin: .8rem auto 0;
  padding: .72rem .8rem .72rem 1rem;
  background: rgba(5, 20, 33, .78);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
}
.brand { display: flex; align-items: center; gap: .72rem; font-weight: 780; letter-spacing: -.025em; text-decoration: none; }
.brand img { width: 2.35rem; height: 2.35rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 24px rgba(69,201,223,.28); }
nav { display: flex; align-items: center; gap: 1.35rem; }
nav a { color: var(--muted); font-size: .9rem; text-decoration: none; transition: color .2s ease, background .2s ease; }
nav a:hover, nav a:focus-visible { color: white; }
.nav-cta { padding: .62rem 1rem; color: white; border: 1px solid var(--line-bright); border-radius: 999px; background: rgba(69,201,223,.06); }
.menu-button { display: none; }

.eyebrow { margin: 0 0 1rem; color: var(--cyan); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
.section { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 7.5rem 0; }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem 5rem; align-items: end; margin-bottom: 3.5rem; }
.section-heading h2, .social-copy h2, .contact-section h2 { margin: 0; font-size: clamp(2.3rem, 4.8vw, 4.8rem); line-height: .98; letter-spacing: -.052em; }
.section-heading > p, .social-copy > p:last-child { margin: 0; color: var(--muted); font-size: 1.04rem; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.25rem; padding: .84rem 1.3rem; border-radius: 999px; font-weight: 760; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #03131f; background: var(--cyan); box-shadow: 0 14px 38px rgba(69,201,223,.2); }
.button-secondary { color: white; border: 1px solid var(--line); }
.button-secondary:hover { border-color: var(--line-bright); }
.button-light { color: var(--ink); background: white; }
.button-whatsapp { color: #062c18; background: var(--green); box-shadow: 0 14px 36px rgba(37,211,102,.24); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  align-items: center;
  width: min(calc(100% - 2rem), var(--max));
  min-height: 760px;
  margin: 0 auto;
  padding: 6rem 0 7rem;
  gap: 5rem;
}
.hero-copy { position: relative; z-index: 3; }
h1 { max-width: 820px; margin-bottom: 1.5rem; font-size: clamp(3.3rem, 7vw, 7rem); line-height: .9; letter-spacing: -.072em; }
h1 span { color: transparent; background: linear-gradient(110deg, #fff 5%, var(--cyan-soft) 54%, #238dcb); background-clip: text; -webkit-background-clip: text; }
.hero-text { max-width: 670px; color: var(--muted); font-size: clamp(1.06rem, 1.5vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0; }
.hero-points { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; margin: 0; padding: 0; color: var(--muted); font-size: .9rem; list-style: none; }
.hero-points li::before { content: ""; display: inline-block; width: .42rem; height: .42rem; margin-right: .55rem; border-radius: 50%; background: var(--cyan); }
.hero-visual { position: relative; z-index: 2; align-self: end; color: var(--muted); font-size: .7rem; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.mascot-stage { position: relative; width: min(44vw, 590px); min-width: 430px; margin: 0 auto; aspect-ratio: 1 / 1.08; }
.orbit { position: absolute; border: 1px solid rgba(69,201,223,.22); border-radius: 50%; }
.orbit-one { inset: 4% 2% 10%; border-left-color: var(--cyan); animation: spin 24s linear infinite; }
.orbit-two { inset: 15% 13% 21%; border-right-color: var(--blue); animation: spin 18s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.mascot-brand { position: absolute; z-index: 4; top: 5%; right: 0; width: clamp(72px, 7vw, 104px); padding: .28rem; border: 1px solid rgba(122,229,244,.42); border-radius: 28%; background: rgba(6,26,42,.76); box-shadow: 0 16px 42px rgba(0,0,0,.36), 0 0 0 6px rgba(69,201,223,.07); backdrop-filter: blur(10px); }
.mascot-brand img { display: block; width: 100%; border-radius: 24%; }
.mascot-reveal { position: absolute; z-index: 1; right: -5%; bottom: -1%; width: 112%; pointer-events: none; filter: drop-shadow(0 35px 55px rgba(0,0,0,.62)); animation: mascot-arrival .9s cubic-bezier(.2,.8,.2,1) both; }
.mascot-reveal::after { content: ""; position: absolute; inset: 18% 7% 2%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(69,201,223,.2), transparent 66%); filter: blur(24px); }
.mascot-reveal img { display: block; width: 100%; height: auto; }
.mascot-caption { position: relative; z-index: 3; margin: -.4rem 0 0; color: rgba(192,211,224,.76); }
@keyframes mascot-arrival { from { opacity: 0; transform: translate3d(8%, 8%, 0) scale(.94); } to { opacity: .94; transform: none; } }

.statement { border-block: 1px solid var(--line); background: rgba(255,255,255,.022); }
.statement p { width: min(calc(100% - 2rem), 1020px); margin: 0 auto; padding: 4.7rem 0; color: var(--muted); font-size: clamp(1.55rem, 3vw, 2.7rem); line-height: 1.22; letter-spacing: -.038em; }
.statement strong { color: white; font-weight: 620; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; padding: 1.65rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(circle at 90% 5%, rgba(69,201,223,.1), transparent 13rem), var(--panel); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(69,201,223,.34); background-color: rgba(255,255,255,.065); }
.service-card.featured { transform: translateY(-1rem); background: radial-gradient(circle at 90% 8%, rgba(69,201,223,.19), transparent 14rem), linear-gradient(150deg, rgba(22,119,184,.26), rgba(69,201,223,.06)); }
.service-card.featured:hover { transform: translateY(-1.3rem); }
.service-top { display: flex; align-items: center; justify-content: space-between; }
.service-number { color: var(--cyan); font-size: .76rem; letter-spacing: .14em; }
.service-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; color: var(--cyan); border: 1px solid var(--line); border-radius: 50%; }
.service-label { margin-bottom: .55rem; color: var(--cyan); font-size: .73rem; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.service-card h3 { margin-bottom: .8rem; font-size: 1.6rem; line-height: 1.13; letter-spacing: -.028em; }
.service-card p:not(.service-label) { color: var(--muted); }
.service-card ul { display: grid; gap: .42rem; margin: 1.3rem 0 0; padding: 0; color: var(--muted); font-size: .89rem; list-style: none; }
.service-card li::before { content: "—"; margin-right: .45rem; color: var(--cyan); }

.portfolio-section { border-block: 1px solid var(--line); background: radial-gradient(circle at 74% 12%, rgba(69,201,223,.1), transparent 32rem), rgba(2,11,18,.56); }
.portfolio-inner { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 8rem 0; }
.featured-project { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr); min-height: 650px; overflow: hidden; border: 1px solid var(--line-bright); border-radius: 2rem; background: linear-gradient(145deg, rgba(22,119,184,.2), rgba(255,255,255,.035)); box-shadow: var(--shadow); }
.project-main .video-shell { display: grid; place-items: center; padding: 2rem; background: radial-gradient(circle, rgba(69,201,223,.12), #01070c 70%); }
.project-main .video-shell video { width: min(100%, 330px); height: 590px; min-height: 0; aspect-ratio: 9 / 16; object-fit: contain; border-radius: 1rem; box-shadow: 0 24px 70px rgba(0,0,0,.48); }
.video-shell { position: relative; overflow: hidden; background: #01070c; }
.video-shell video { width: 100%; height: 100%; min-height: 280px; object-fit: contain; background: #01070c; }
.project-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.7rem, 4vw, 3.5rem); }
.project-content > div:first-child { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .65rem; }
.project-category, .project-duration { color: var(--cyan); font-size: .72rem; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; }
.project-duration { color: var(--muted-2); }
.project-content h3 { margin: 1rem 0; font-size: clamp(2.3rem, 5vw, 4.8rem); line-height: .94; letter-spacing: -.055em; }
.project-content > p { max-width: 650px; color: var(--muted); font-size: 1.04rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.project-tags li { padding: .43rem .72rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.project-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.04); transition: transform .25s ease, border-color .25s ease; }
.project-card:hover { transform: translateY(-5px); border-color: var(--line-bright); }
.project-card .video-shell { aspect-ratio: 16 / 10; }
.project-card .video-shell video { min-height: 0; object-fit: contain; }
.project-card .project-content { flex: 1; justify-content: flex-start; padding: 1.6rem; }
.project-card .project-content h3 { font-size: clamp(1.8rem, 3vw, 2.65rem); }
.project-card .project-content > p { font-size: .95rem; }
.portfolio-note { display: grid; grid-template-columns: .35fr 1fr; gap: 2rem; margin-top: 2rem; padding: 1.4rem 0; border-block: 1px solid var(--line); }
.portfolio-note span { color: var(--cyan); font-size: .72rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.portfolio-note p { max-width: 650px; margin: 0; color: var(--muted); }

.process-section { display: grid; grid-template-columns: .88fr 1.12fr; gap: 5rem; }
.process-section .section-heading { display: block; margin: 0; }
.process-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.process-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--cyan); font-size: .78rem; }
.process-list h3 { margin-bottom: .25rem; font-size: 1.18rem; }
.process-list p { margin: 0; color: var(--muted); }

.social-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: end; }
.social-links { border-top: 1px solid var(--line); }
.social-links a { display: grid; grid-template-columns: 1fr 1.5fr auto; align-items: center; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.social-links strong { transition: color .2s ease; }
.social-links a:hover strong { color: var(--cyan); }
.social-links span { color: var(--muted); font-size: .88rem; }
.social-links b { font-size: 1.2rem; font-weight: 400; }

.contact-section { width: min(calc(100% - 2rem), var(--max)); margin: 2rem auto 5rem; padding: clamp(2.5rem, 7vw, 6rem); color: #03121e; text-align: center; border-radius: 2rem; background: radial-gradient(circle at 90% 0%, rgba(255,255,255,.34), transparent 19rem), linear-gradient(125deg, #1477b8, #27abc7 68%, #52d4e5); box-shadow: 0 30px 90px rgba(0,0,0,.25); }
.contact-section .eyebrow { color: #03121e; }
.contact-section h2 { max-width: 900px; margin: 0 auto 1.2rem; }
.contact-section > p:not(.eyebrow) { max-width: 700px; margin: 0 auto 2rem; font-size: 1.06rem; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 2.7rem 0 6rem; gap: 2rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .85rem; }
.footer-brand { color: white; font-size: 1rem; font-weight: 780; text-decoration: none; }
footer p { margin: 0; }

.whatsapp-float { position: fixed; right: 1.35rem; bottom: 1.35rem; z-index: 60; display: inline-flex; align-items: center; gap: .62rem; min-height: 3.55rem; padding: .78rem 1.15rem; color: white; background: var(--green); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; box-shadow: 0 16px 45px rgba(0,0,0,.34), 0 0 0 6px rgba(37,211,102,.1); font-size: .92rem; font-weight: 780; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.02); background: var(--green-dark); }
.whatsapp-float svg { width: 1.55rem; height: 1.55rem; fill: currentColor; }

@media (max-width: 1000px) {
  .featured-project { grid-template-columns: 1fr; }
  .project-main .video-shell video { height: min(70vh, 620px); }
  .project-content { min-height: 330px; }
}
@media (max-width: 860px) {
  .site-header { border-radius: 1.2rem; }
  .menu-button { display: inline-flex; padding: .6rem .9rem; color: white; background: transparent; border: 1px solid var(--line); border-radius: 999px; font: inherit; }
  nav { position: absolute; top: 4.5rem; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; padding: 1rem; background: rgba(5,20,33,.985); border: 1px solid var(--line); border-radius: 1rem; }
  nav.open { display: flex; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 5.5rem 0; gap: 3rem; }
  .hero-visual { width: 100%; max-width: 590px; margin: -1rem auto 0; }
  .mascot-stage { width: min(92vw, 560px); min-width: 0; }
  .mascot-brand { top: 7%; right: 3%; width: clamp(64px, 18vw, 88px); }
  .mascot-reveal { right: -3%; width: 106%; }
  .section-heading, .process-section, .social-section { grid-template-columns: 1fr; gap: 2rem; }
  .service-grid, .project-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 350px; }
  .service-card.featured, .service-card.featured:hover { transform: none; }
  .portfolio-note { grid-template-columns: 1fr; gap: .5rem; }
  footer { grid-template-columns: 1fr; gap: .5rem; }
}
@media (max-width: 560px) {
  h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-actions, .contact-actions { display: grid; }
  .button { width: 100%; }
  .section, .portfolio-inner { padding: 5rem 0; }
  .featured-project, .project-card { border-radius: 1.25rem; }
  .project-main .video-shell { padding: 1rem; }
  .project-main .video-shell video { width: 100%; height: auto; max-height: 68vh; }
  .project-content { min-height: auto; padding: 1.5rem; }
  .social-links a { grid-template-columns: .8fr 1.2fr auto; }
  .contact-section { border-radius: 1.4rem; }
  .whatsapp-float { right: 1rem; bottom: 1rem; width: 3.6rem; padding: 0; justify-content: center; }
  .whatsapp-float span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .mascot-reveal { transform: none !important; opacity: .94 !important; }
}
