:root {
  --ink: #07152f;
  --muted: #627087;
  --cyan: #20bed0;
  --cyan-dark: #0aa4b8;
  --pink: #f176b9;
  --yellow: #ffd94d;
  --mint: #8ee3cd;
  --violet: #c88bff;
  --paper: #ffffff;
  --soft: #f7f9fc;
  --line: #e8edf5;
  --shadow: 0 22px 60px rgba(7, 21, 47, 0.11);
  --font-body: "Sora", Arial, sans-serif;
  --font-display: "Sora", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 18%, rgba(32, 190, 208, 0.16), transparent 19rem),
    radial-gradient(circle at 100% 20%, rgba(241, 118, 185, 0.18), transparent 24rem),
    linear-gradient(180deg, #fff 0%, #f9fbff 100%);
  font-family: var(--font-body);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 18px 48px rgba(7, 21, 47, 0.14);
}

.nav-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(232, 237, 245, 0.9);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(7, 21, 47, 0.07);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 118px;
  height: 58px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  justify-self: center;
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #0b1832;
  transition: color 0.22s ease;
}

.main-nav a span {
  display: block;
}

.main-nav a small,
.mobile-nav-card {
  display: none;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 3px;
  background: var(--cyan);
  border-radius: 999px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--cyan-dark);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, opacity 0.22s ease;
}

.header-cta,
.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  box-shadow: 0 14px 32px rgba(32, 190, 208, 0.28);
}

.header-cta {
  min-height: 44px;
  padding: 0 20px;
}

.btn.ghost {
  color: var(--ink);
  background: #fff;
  border-color: #cbd4e1;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.menu-toggle {
  display: none;
}

main {
  overflow: hidden;
}

section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-panel {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  min-height: calc(100vh - 92px);
  gap: 48px;
  padding-top: 54px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan-dark);
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
}

h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h1::after,
.section-heading h2::after {
  display: block;
  width: 74px;
  height: 6px;
  margin-top: 18px;
  background: var(--yellow);
  border-radius: 999px;
  content: "";
}

.hero-text {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
}

.hero-visual::before {
  position: absolute;
  inset: 18px -54px auto auto;
  width: 430px;
  height: 320px;
  background: linear-gradient(135deg, rgba(241, 118, 185, 0.58), rgba(32, 190, 208, 0.28));
  border-radius: 44% 56% 48% 52%;
  content: "";
  animation: floatShape 8s ease-in-out infinite;
}

.hero-visual::after {
  position: absolute;
  right: 18px;
  bottom: 36px;
  width: 180px;
  height: 180px;
  background: rgba(255, 217, 77, 0.34);
  border-radius: 50%;
  content: "";
  filter: blur(2px);
  z-index: 0;
}

.hero-photo-card {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  margin-left: auto;
  overflow: hidden;
  background: #fff;
  border: 10px solid rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(7, 21, 47, 0.18);
  transform: perspective(1100px) rotateY(-7deg) rotateX(3deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-photo-card:hover {
  box-shadow: 0 34px 92px rgba(7, 21, 47, 0.24);
  transform: perspective(1100px) rotateY(-3deg) rotateX(1deg) translateY(-6px);
}

.hero-photo-card img {
  width: 100%;
  height: min(470px, 38vw);
  min-height: 390px;
  object-fit: cover;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 21, 47, 0.38), transparent 48%),
    linear-gradient(180deg, transparent 50%, rgba(7, 21, 47, 0.28));
  pointer-events: none;
}

.hero-badge,
.hero-metric {
  position: absolute;
  display: grid;
  gap: 2px;
  color: #fff;
  background: rgba(7, 21, 47, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(7, 21, 47, 0.18);
  backdrop-filter: blur(14px);
}

.hero-badge {
  top: 24px;
  left: 24px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.hero-badge span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
}

.hero-badge p,
.hero-metric span {
  margin: 0;
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 800;
}

.hero-metric {
  right: 22px;
  bottom: 22px;
  padding: 16px 18px;
}

.hero-metric strong {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
}

.device {
  position: absolute;
  background: #101827;
  box-shadow: var(--shadow);
}

.laptop {
  right: 70px;
  bottom: 80px;
  width: min(560px, 86vw);
  padding: 18px 18px 28px;
  border-radius: 24px;
  transform: perspective(900px) rotateY(-8deg) rotateX(5deg);
}

.laptop::after {
  position: absolute;
  right: -44px;
  bottom: -20px;
  left: -44px;
  height: 24px;
  background: linear-gradient(90deg, #cdd5df, #f7f9fb 42%, #aeb9c8);
  border-radius: 0 0 38px 38px;
  content: "";
}

.phone {
  right: 0;
  bottom: 50px;
  width: 154px;
  min-height: 290px;
  padding: 12px;
  border-radius: 28px;
  animation: phoneFloat 4.8s ease-in-out infinite;
}

.browser-bar {
  height: 20px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f176b9 0 12px, #ffd94d 12px 28px, #20bed0 28px 44px, #eff4fb 44px);
}

.screen-content {
  min-height: 250px;
  padding: 34px;
  border-radius: 14px;
  background: #fff;
}

.phone .screen-content {
  min-height: 266px;
  padding: 28px 16px;
  text-align: center;
}

.screen-content span {
  display: inline-block;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 26px 16px 0 rgba(32, 190, 208, 0.32);
}

.screen-content strong {
  display: block;
  font-size: 32px;
  line-height: 1.1;
}

.screen-content p {
  color: var(--muted);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.mini-grid i {
  height: 74px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7f9fc, #eaf8fb);
}

.idea-bulb {
  position: absolute;
  top: 40px;
  left: 30px;
  width: 88px;
  height: 88px;
  border: 8px solid var(--ink);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--yellow) 0 38%, transparent 39%);
  animation: glow 2.6s ease-in-out infinite;
}

.idea-bulb::after {
  position: absolute;
  right: 22px;
  bottom: -42px;
  width: 34px;
  height: 42px;
  border: 8px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  content: "";
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.agency h2,
.contact h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading h2::after {
  margin-right: auto;
  margin-left: auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card,
.process-step,
.contact-form,
.stat,
.logo-wall figure {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(7, 21, 47, 0.06);
}

.service-card {
  position: relative;
  min-height: 300px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  perspective: 1200px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.process-step::before,
.contact-form::before,
.logo-wall figure::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.72) 42%, transparent 72%);
  content: "";
  pointer-events: none;
  transform: translateX(-120%);
}

.process-step.is-visible::before,
.contact-form.is-visible::before,
.logo-wall.is-visible figure::before {
  animation: lightSweep 1.1s ease forwards;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card:focus-visible {
  outline: 0;
}

.service-card:focus-visible .service-front,
.service-card:focus-visible .service-detail {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(32, 190, 208, 0.18), var(--shadow);
}

.service-card:hover .service-card-inner,
.service-card:focus-within .service-card-inner,
.service-card:focus-visible .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-inner {
  position: relative;
  min-height: 300px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.2, 0.72, 0.19, 1);
}

.service-front,
.service-detail {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(7, 21, 47, 0.06);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.service-card h3 {
  font-size: 17px;
  line-height: 1.25;
  text-transform: uppercase;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.service-card li::before {
  margin-right: 8px;
  color: var(--cyan-dark);
  content: "+";
  font-weight: 800;
}

.service-card.highlight p {
  color: var(--muted);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--ink);
}

.service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.service-detail {
  justify-content: center;
  gap: 10px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 21, 47, 0.94), rgba(10, 164, 184, 0.9)),
    radial-gradient(circle at 100% 0, rgba(255, 217, 77, 0.34), transparent 12rem);
  border-color: rgba(32, 190, 208, 0.38);
  box-shadow: var(--shadow);
  transform: rotateY(180deg);
}

.service-detail span {
  color: var(--yellow);
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
}

.service-detail p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.service-card.highlight .service-detail p {
  color: rgba(255, 255, 255, 0.9);
}

.cyan { background: rgba(32, 190, 208, 0.34); }
.yellow { background: rgba(255, 217, 77, 0.68); }
.pink { background: rgba(241, 118, 185, 0.46); }
.mint { background: rgba(142, 227, 205, 0.66); }
.violet { background: rgba(200, 139, 255, 0.5); }
.teal { background: rgba(32, 190, 208, 0.22); }
.gold { background: rgba(255, 217, 77, 0.5); }
.rose { background: rgba(241, 118, 185, 0.36); }

.references {
  padding-top: 70px;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.logo-wall figure {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 126px;
  place-items: center;
  margin: 0;
  padding: 20px;
  color: #23324a;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.logo-wall a {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.logo-wall figure:hover {
  border-color: rgba(32, 190, 208, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.logo-wall img {
  width: 100%;
  height: 82px;
  object-fit: contain;
  filter: saturate(0.98);
}

.logo-wall figure:nth-child(4n + 1) {
  background: linear-gradient(180deg, #fff, #f7fdff);
}

.logo-wall figure:nth-child(4n + 2) {
  background: linear-gradient(180deg, #fff, #fffdf3);
}

.logo-wall figure:nth-child(4n + 3) {
  background: linear-gradient(180deg, #fff, #fff8fc);
}

.logo-wall figure:nth-child(4n + 4) {
  background: linear-gradient(180deg, #fff, #f7fffc);
}

.references-note {
  margin: 22px 0 0;
  color: var(--muted);
  text-align: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stat {
  display: grid;
  gap: 4px;
  padding: 22px;
  border: 0;
  box-shadow: none;
  text-align: center;
}

.stat.is-visible {
  animation: softPop 0.7s ease both;
}

.stat strong {
  color: var(--cyan-dark);
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
}

.stat:nth-child(2) strong,
.stat:nth-child(3) strong {
  color: var(--pink);
}

.stat span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.agency {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.agency-copy {
  position: sticky;
  top: 132px;
}

.agency-copy p,
.contact-copy p {
  color: var(--muted);
}

.process {
  display: grid;
  gap: 18px;
}

.process-step {
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.process-step.is-visible {
  animation: slideAccent 0.75s ease both;
}

.process-step span {
  color: var(--pink);
  font-size: 13px;
  font-weight: 800;
}

.process-step h3 {
  margin: 8px 0;
  font-size: 25px;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
  padding-bottom: 88px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--soft);
  font: inherit;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.form-status.is-success {
  color: #138a64;
}

.form-status.is-error {
  color: #c7355c;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(32, 190, 208, 0.14);
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 38px;
  color: rgba(7, 21, 47, 0.78);
  background:
    radial-gradient(circle at 0 0, rgba(255, 217, 77, 0.45), transparent 20rem),
    radial-gradient(circle at 100% 0, rgba(241, 118, 185, 0.26), transparent 22rem),
    linear-gradient(135deg, #b7f4f8, #20bed0 58%, #0aa4b8);
  border: 1px solid rgba(10, 164, 184, 0.28);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(10, 164, 184, 0.22);
  font-size: 14px;
}

.site-footer img {
  width: 170px;
  border-radius: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.85fr 1fr;
  gap: 34px;
}

.footer-brand p,
.footer-column p,
.footer-seo p,
.footer-bottom p {
  margin-bottom: 0;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 18px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: rgba(7, 21, 47, 0.84);
  border: 1px solid rgba(7, 21, 47, 0.12);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  transition: transform 0.22s ease, background 0.22s ease;
}

.footer-socials a:hover {
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-3px);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 15px;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: rgba(7, 21, 47, 0.76);
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-column a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-contact p {
  margin-top: 10px;
}

.footer-seo {
  margin-top: 34px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(7, 21, 47, 0.12);
}

.footer-bottom a {
  color: var(--ink);
  font-weight: 800;
}

.whatsapp-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 18px;
  color: #fff;
  background: linear-gradient(135deg, #123a2a, #22c55e);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(18, 58, 42, 0.28);
  animation: whatsappFloat 3.4s ease-in-out infinite;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.whatsapp-widget:hover {
  box-shadow: 0 22px 54px rgba(18, 58, 42, 0.36);
  transform: translateY(-4px);
}

.whatsapp-text {
  display: grid;
  gap: 1px;
  line-height: 1.15;
}

.whatsapp-text strong {
  font-family: var(--font-display);
  font-size: 13px;
}

.whatsapp-text small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
}

.whatsapp-icon {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: #fff;
  border-radius: 50%;
}

.whatsapp-icon::before {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
  content: "";
  animation: whatsappPulse 1.9s ease-out infinite;
}

.whatsapp-icon svg {
  width: 29px;
  height: 29px;
  fill: #22c55e;
}

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.service-card.is-visible,
.logo-wall.is-visible figure,
.process-step.is-visible,
.contact-form.is-visible {
  animation: blockRise 0.75s ease both;
}

.logo-wall.is-visible figure:nth-child(3n + 2) {
  animation-delay: 0.08s;
}

.logo-wall.is-visible figure:nth-child(3n + 3) {
  animation-delay: 0.16s;
}

@keyframes floatShape {
  50% {
    transform: translateY(22px) rotate(4deg);
  }
}

@keyframes phoneFloat {
  50% {
    transform: translateY(-16px);
  }
}

@keyframes glow {
  50% {
    filter: drop-shadow(0 0 18px rgba(255, 217, 77, 0.75));
  }
}

@keyframes blockRise {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes softPop {
  0% {
    transform: translateY(18px) scale(0.94);
  }
  70% {
    transform: translateY(-4px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes slideAccent {
  0% {
    border-color: rgba(32, 190, 208, 0.08);
    transform: translateX(22px);
  }
  100% {
    border-color: var(--line);
    transform: translateX(0);
  }
}

@keyframes lightSweep {
  100% {
    transform: translateX(120%);
  }
}

@keyframes whatsappFloat {
  50% {
    transform: translateY(-5px);
  }
}

@keyframes whatsappPulse {
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes mobileMenuIn {
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: grid;
    gap: 6px;
    width: 46px;
    height: 46px;
    place-content: center;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ink), var(--cyan-dark));
    box-shadow: 0 12px 28px rgba(7, 21, 47, 0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }

  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .menu-toggle[aria-expanded="true"] {
    box-shadow: 0 16px 34px rgba(7, 21, 47, 0.22);
    transform: rotate(0deg) scale(0.98);
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    left: auto;
    display: none;
    flex-direction: column;
    gap: 10px;
    width: min(360px, calc(100vw - 28px));
    padding: 14px;
    background:
      radial-gradient(circle at 0 0, rgba(32, 190, 208, 0.13), transparent 15rem),
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
    border: 1px solid rgba(232, 237, 245, 0.95);
    border-radius: 18px;
    box-shadow: 0 26px 70px rgba(7, 21, 47, 0.18);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }

  .main-nav.is-open {
    display: flex;
    animation: mobileMenuIn 0.24s ease forwards;
  }

  .main-nav a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    justify-content: flex-start;
    min-height: 64px;
    padding: 13px 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid rgba(232, 237, 245, 0.9);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(7, 21, 47, 0.05);
  }

  .main-nav a::before {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--cyan-dark);
    background: rgba(32, 190, 208, 0.1);
    border-radius: 12px;
    content: ">";
    font-family: var(--font-display);
    font-weight: 800;
  }

  .main-nav a span {
    font-size: 15px;
  }

  .main-nav a small {
    display: block;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: none;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a.is-active {
    color: var(--ink);
    border-color: rgba(32, 190, 208, 0.36);
    box-shadow: 0 14px 30px rgba(32, 190, 208, 0.1);
    transform: none;
  }

  .mobile-nav-card {
    display: grid;
    gap: 12px;
    margin-top: 2px;
    padding: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--ink), var(--cyan-dark));
    border-radius: 16px;
  }

  .mobile-nav-card p {
    margin: 0;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
  }

  .mobile-nav-card a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: #fff;
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
  }

  .mobile-nav-card a::before {
    display: none;
  }

  .hero,
  .agency,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: auto;
    padding: 12px 0 0;
  }

  .service-grid,
  .logo-wall,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .agency-copy {
    position: static;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .nav-shell {
    padding: 9px 10px;
    border-radius: 8px;
  }

  .brand img {
    width: 104px;
  }

  section {
    width: calc(100% - 28px);
    padding: 58px 0;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual::before {
    right: -120px;
    width: 360px;
    height: 260px;
  }

  .hero-photo-card {
    border-width: 7px;
    transform: none;
  }

  .hero-photo-card:hover {
    transform: translateY(-4px);
  }

  .hero-photo-card img {
    height: 310px;
    min-height: 310px;
  }

  .hero-badge {
    top: 14px;
    left: 14px;
    padding: 10px 12px;
  }

  .hero-badge span {
    width: 34px;
    height: 34px;
  }

  .hero-metric {
    right: 14px;
    bottom: 14px;
    padding: 12px 14px;
  }

  .hero-metric strong {
    font-size: 24px;
  }

  .service-grid,
  .logo-wall,
  .stats {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card:hover .service-card-inner,
  .service-card:focus-within .service-card-inner {
    transform: none;
  }

  .service-card-inner {
    min-height: auto;
    transform: none;
  }

  .service-front,
  .service-detail {
    position: static;
    min-height: auto;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }

  .service-detail {
    margin-top: 22px;
    transform: none;
  }

  .contact-form {
    padding: 20px;
  }

  .site-footer {
    width: calc(100% - 28px);
    padding: 28px 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-widget {
    right: 14px;
    bottom: 14px;
    padding: 8px;
  }

  .whatsapp-text {
    display: none;
  }

  .whatsapp-icon {
    width: 52px;
    height: 52px;
  }
}

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