@font-face {
  font-family: Manrope;
  src: url("manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1b1533;
  --text: #4c4662;
  --accent: #4833d4;
  --accent-dark: #3824b3;
  --surface: #faf9ff;
  --line: #e6e1f1;
  --muted: #f2effb;
  --shell: 78rem;
  --radius: 1.65rem;
  --header-space: 5.1rem;
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
button, select, input, textarea { font: inherit; }
button { cursor: pointer; }
strong { font-weight: 800; }
p { color: var(--text); }
h1, h2, h3 { font-weight: 800; line-height: 1.12; }
h1 { letter-spacing: -.068em; }
h2 { font-size: clamp(2rem, 4.12vw, 3.7rem); letter-spacing: -.058em; text-wrap: balance; }
h3 { font-size: 1.34rem; letter-spacing: -.035em; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #7d67f6;
  outline-offset: 4px;
}
html { scroll-padding-top: calc(var(--header-space) + 1.15rem); }
:target { scroll-margin-top: .2rem; }

.shell { width: min(calc(100% - 5rem), var(--shell)); margin-inline: auto; }
.section { padding-block: clamp(3.6rem, 6vw, 6rem); }
.icon { width: 1.25rem; height: 1.25rem; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; fill: none; flex: 0 0 auto; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .72rem;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-heading { display: grid; grid-template-columns: 1.25fr minmax(17rem, .75fr); align-items: end; gap: 2rem; margin-bottom: 2.4rem; }
.section-heading h2 { text-wrap: pretty; max-width: 18ch; }
.section-heading > p { max-width: 41ch; font-size: 1.04rem; line-height: 1.72; justify-self: end; padding-bottom: .15rem; }
.single-heading { grid-template-columns: 1fr; margin-bottom: 1.7rem; }
.single-heading h2 { max-width: none; }
.skip-link { position: fixed; top: .8rem; left: .8rem; z-index: 20; transform: translateY(-190%); padding: .7rem 1rem; background: white; border-radius: .6rem; }
.skip-link:focus { transform: none; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .54rem;
  min-height: 3.28rem;
  border: 1px solid transparent;
  border-radius: .8rem;
  padding: .72rem 1.22rem;
  font-size: .94rem;
  line-height: 1.35;
  text-align: center;
  font-weight: 800;
  transition: background-color .19s ease, border-color .19s ease, box-shadow .19s ease, transform .19s ease;
}
.button-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 .52rem 1.25rem #4934d32a;
}
.button-primary:hover { background: var(--accent-dark); }
.button-light { background: #fff; color: var(--ink); border-color: #d9d2ec; }
.button-light:hover { background: #f3efff; border-color: #b7a9ed; }
.button-dark { background: #221843; color: white; }
.button-dark:hover { background: #382660; }
.button-white { background: white; color: #271949; }
.button-white:hover { background: #eeebff; }
.button-ghost { background: #ffffff09; border-color: #daceff89; color: white; }
.button-ghost:hover { background: #ffffff25; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--accent-dark); font-weight: 800; text-decoration: underline; text-decoration-color: #9d8ee4; text-underline-offset: .26em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; text-decoration-color: currentColor; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fcfbff;
  border-bottom: 1px solid #eae6f5;
}
.header-row { position: relative; min-height: var(--header-space); display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .6rem; line-height: 1.17; }
.brand img { width: 2.73rem; height: auto; border-radius: .46rem; }
.brand > span { font-size: .93rem; font-weight: 700; letter-spacing: -.024em; }
.brand strong { display: block; }
.site-nav { display: flex; align-items: center; gap: clamp(.15rem, 1vw, .9rem); }
.site-nav a { display: inline-flex; align-items: center; min-height: 2.8rem; padding: .2rem .72rem; font-size: .935rem; font-weight: 750; color: #413954; border-radius: .6rem; }
.site-nav a:hover, .site-nav a[aria-current="location"] { background: #f1ebff; color: var(--accent-dark); }
.header-cta { min-height: 2.7rem; font-size: .9rem; }
.nav-toggle, .site-nav .menu-contact { display: none; }

.hero {
  overflow: clip;
  background: radial-gradient(ellipse at 83% 24%, #ece5ff 0, #f6f2ff 34%, transparent 67%),
              linear-gradient(180deg, #fbfaff, #f6f3fd);
  border-bottom: 1px solid #e9e2f5;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(2rem, 4.3vw, 4.1rem);
  padding-block: clamp(3.1rem, 5.4vw, 5.4rem);
}
.hero-location { display: inline-flex; align-items: center; flex-wrap: wrap; column-gap: .46rem; margin-bottom: 1.05rem; font-size: .88rem; font-weight: 800; color: #4d3988; }
.hero-location .icon { width: 1.04rem; height: 1.04rem; }
.hero h1 { max-width: 12ch; font-size: clamp(3.2rem, 6.3vw, 6.05rem); line-height: .99; }
.hero h1 em {
  display: block;
  color: var(--accent);
  font-style: normal;
}
.hero-lead { max-width: 52ch; margin-top: 1.4rem; font-size: clamp(1.05rem, 1.55vw, 1.22rem); line-height: 1.66; }
.hero-lead strong { color: #302350; }
.hero .actions, .detail-hero .actions { margin-top: 1.65rem; }
.hero-person { display: inline-flex; align-items: center; gap: .72rem; margin-top: 1.85rem; border-radius: 1.5rem .5rem .5rem 1.5rem; }
.hero-person:hover strong { color: var(--accent-dark); }
.hero-avatar { width: 2.9rem; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 2px solid white; }
.hero-person strong, .hero-person small { display: block; line-height: 1.4; }
.hero-person strong { font-size: .91rem; }
.hero-person small { font-size: .79rem; color: var(--text); font-weight: 650; }

.hero-visual { position: relative; isolation: isolate; min-width: 0; padding: .52rem; border-radius: 2rem; background: linear-gradient(145deg, #fff, #e9dcff); border: 1px solid #fff; box-shadow: 0 1.65rem 3.9rem #3f286229; }
.hero-image { width: 100%; height: auto; aspect-ratio: 1.13; object-fit: cover; object-position: 59% 48%; border-radius: 1.62rem; background: #d6cbe9; }
.hero-visual::after { content: ""; position: absolute; z-index: 0; inset: .52rem; border-radius: 1.62rem; pointer-events: none; background: linear-gradient(159deg, transparent 47%, #1f123534); }
.services-section { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.14rem; }
.theme-violet { --tile-bg: #eee9ff; --tile-icon: #dcd1ff; --tile-ink: #39208d; }
.theme-mint { --tile-bg: #e8f7ef; --tile-icon: #d1eee0; --tile-ink: #175d45; }
.theme-lime { --tile-bg: #eff6e3; --tile-icon: #e0edc9; --tile-ink: #365518; }
.theme-peach { --tile-bg: #fbeee7; --tile-icon: #f5ddd0; --tile-ink: #833719; }
.theme-blue { --tile-bg: #eaf3ff; --tile-icon: #d9e9ff; --tile-ink: #20558d; }
.theme-lavender { --tile-bg: #f0ebfc; --tile-icon: #e3d8fb; --tile-ink: #543496; }
.theme-rose { --tile-bg: #fceef3; --tile-icon: #f8e0e9; --tile-ink: #873950; }
.service-card, .compact-service {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: stretch;
  min-width: 0;
  border-radius: var(--radius);
  background: var(--tile-bg);
  border: 1px solid #1c143410;
  transition: box-shadow .22s ease, transform .22s ease;
}
.service-card { grid-column: span 6; min-height: 16.25rem; padding: clamp(1.35rem, 2.77vw, 2rem); overflow: clip; }
.service-card:nth-child(1) {
  grid-column: span 7;
  color: white;
  background: radial-gradient(ellipse at 90% -15%, #7c5cf0, transparent 65%), linear-gradient(140deg, #5034d4, #352098);
  border-color: #4a2ec2;
  --tile-icon: #ffffff24;
  --tile-ink: #fff;
}
.service-card:nth-child(2) { grid-column: span 5; }
.service-card:nth-child(3) { grid-column: span 5; }
.service-card:nth-child(4) { grid-column: span 7; }
.service-card:hover, .compact-service:hover, .project-card:hover { box-shadow: 0 .85rem 2rem #2e174619; }
.service-card h3 { margin-block: .9rem .55rem; max-width: 15ch; font-size: clamp(1.45rem, 2.72vw, 2rem); line-height: 1.06; }
.service-card p { max-width: 30ch; line-height: 1.52; font-size: .96rem; }
.service-card:nth-child(1) p, .service-card:nth-child(1) .service-stack { color: #f0eaff; }
.service-copy { position: relative; z-index: 1; min-width: 0; }
.service-card .service-copy { width: 70%; }
.service-icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .82rem; background: var(--tile-icon); color: var(--tile-ink); flex: 0 0 auto; }
.service-icon .icon { width: 1.35rem; height: 1.35rem; }
.service-stack { display: block; color: var(--tile-ink); font-size: .8rem; font-weight: 800; margin-top: .85rem; line-height: 1.4; }
.service-art { position: absolute; z-index: 0; right: -.75rem; bottom: -1.25rem; width: 43%; pointer-events: none; user-select: none; }
.orders-art { transform: rotate(-11deg) translateY(-.05rem); right: -1.1rem; bottom: -1.9rem; }
.orders-window {
  display: grid;
  gap: .48rem;
  padding: .88rem;
  min-height: 10.75rem;
  border-radius: .94rem;
  color: #281953;
  background: #fcfaff;
  border: 1px solid white;
  box-shadow: 0 0 0 .38rem #9480ff62, 0 1rem 2.25rem #1a0c6b74;
}
.orders-window > div:not(.window-toolbar) { display: flex; align-items: center; justify-content: space-between; gap: .32rem; padding: .3rem .45rem; background: #f1edfd; border-radius: .3rem; color: #473763; font-size: .73rem; font-weight: 700; }
.orders-window > div i { width: 1.7rem; height: .4rem; background: #a993ee; border-radius: 5rem; }
.orders-window > div:last-child i { background: #50ab9f; }
.orders-window .window-toolbar { display: flex; gap: .22rem; align-items: center; }
.orders-window .window-toolbar i { width: .31rem; height: .31rem; background: #9482ca; }
.grid-art { transform: rotate(-13deg); right: -1.2rem; bottom: -1.35rem; width: 44%; }
.grid-art > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .26rem; padding: .52rem; border-radius: .75rem; background: #fff; box-shadow: 0 .54rem 1.45rem #294b3a2f; }
.grid-art b { grid-column: span 4; height: .93rem; background: #318b6c; border-radius: .25rem; }
.grid-art i { height: 1.06rem; background: #dcece5; border-radius: .13rem; }
.grid-art i:nth-of-type(3n) { background: #a9cdbb; }
.theme-lime .grid-art b { background: #71963d; }
.theme-lime .grid-art i { background: #e6edd9; }
.theme-lime .grid-art i:nth-of-type(3n) { background: #c3d7a3; }
.phone-art { width: 29%; right: 1.75rem; bottom: -4rem; transform: rotate(12deg); }
.phone-art .screen { display: grid; gap: .59rem; min-height: 14.3rem; border: .35rem solid #34304b; padding: .68rem .58rem; border-radius: 1.25rem; background: #fff8f4; color: #49343e; box-shadow: 0 1rem 2rem #56313536; }
.phone-art .screen span { place-self: start center; height: .25rem; width: 30%; background: #67536f; border-radius: .2rem; }
.phone-art .screen strong { font-size: .78rem; }
.phone-art .screen i { background: #f1e0dc; border-radius: .34rem; height: 1.4rem; position: relative; }
.phone-art .screen i::before { position: absolute; content: ""; top: .46rem; left: .41rem; width: .47rem; height: .47rem; border-radius: .15rem; background: #cc6d51; }
.phone-art .screen i::after { position: absolute; content: ""; top: .56rem; left: 1.13rem; right: .57rem; height: .24rem; border-radius: .15rem; background: #d6a499; }
.compact-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.14rem; margin-top: 1.14rem; }
.compact-service { padding: 1.3rem; border-radius: 1.25rem; }
.compact-service .service-copy { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .48rem .82rem; width: 100%; }
.compact-service .service-icon { grid-row: 1 / span 2; align-self: start; }
.compact-service h3 { font-size: 1.12rem; }
.compact-service p { font-size: .89rem; line-height: 1.52; grid-column: 2; }

.projects-section { background: #f6f3fc; border-block: 1px solid #eee8f8; }
.gallery-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin: -.25rem 0 1.35rem; }
.filters { display: flex; flex-wrap: wrap; gap: .49rem; }
.filters button { min-height: 2.75rem; padding: .5rem .88rem; border: 1px solid #ded6f0; background: transparent; color: #443655; border-radius: 999px; font-weight: 800; font-size: .87rem; }
.filters button:hover { background: #eae2fd; }
.filters button[aria-pressed="true"] { border-color: #4430c7; background: #4832cc; color: white; box-shadow: 0 .34rem .8rem #4c33d426; }
.gallery-count { color: #594c6c; font-size: .88rem; font-weight: 750; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.project-card { min-width: 0; overflow: clip; display: flex; flex-direction: column; border: 1px solid #e6e0f0; border-radius: 1.35rem; background: #fff; transition: box-shadow .22s ease, transform .22s ease; }
.project-photo { overflow: clip; display: block; background: #e4daef; }
.project-photo:focus-visible { outline-offset: -4px; }
.project-image { width: 100%; aspect-ratio: 1.65; object-fit: cover; transition: transform .3s ease; }
.project-card:hover .project-image { transform: scale(1.035); }
.project-copy { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 1.16rem 1.24rem 1rem; }
.project-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .66rem; font-size: .75rem; font-weight: 800; line-height: 1.35; }
.project-meta span { display: inline-flex; background: #f0eaff; color: #4c2eb5; padding: .28rem .56rem; border-radius: .35rem; }
.project-meta .demo-label { color: #6b391b; background: #f9e9d7; }
.project-copy h3 { font-size: 1.31rem; }
.project-description { font-size: .94rem; margin-block: .48rem .7rem; line-height: 1.58; }
.project-tags { flex: 1; margin: 0; color: #635773; font-size: .8rem; font-weight: 750; line-height: 1.5; }
.project-copy .text-link { margin-top: .42rem; font-size: .94rem; }
.gallery-more { display: flex; justify-content: center; margin-top: 1.9rem; }

.media-section { background: #fff; }
.media-panel {
  padding: clamp(1.5rem, 4.6vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1.4rem, 4.5vw, 3.5rem);
  color: white;
  border-radius: 2rem;
  background: radial-gradient(ellipse at 94% 19%, #513db7 0, transparent 60%), linear-gradient(130deg, #241646, #382383);
}
.media-copy h2 { max-width: 14ch; text-wrap: pretty; }
.media-copy p:not(.eyebrow) { margin-top: .85rem; max-width: 44ch; color: #f0eafa; }
.media-copy .eyebrow { color: #e8dbff; }
.media-copy .actions { margin-top: 1.45rem; }
.social-links { display: flex; flex-wrap: wrap; gap: .4rem .82rem; }
.social-link { display: inline-flex; align-items: center; gap: .36rem; min-height: 2.65rem; width: fit-content; font-size: .88rem; font-weight: 750; border-radius: .4rem; }
.social-link:hover { text-decoration: underline; text-underline-offset: .2rem; }
.social-link .icon { width: 1.03rem; height: 1.03rem; }
.media-links { color: #f5ecff; margin-top: .8rem; }
.media-links .social-link:hover { color: white; }
.video-thumb { position: relative; display: grid; place-items: center; overflow: clip; min-width: 0; aspect-ratio: 1.55; isolation: isolate; border-radius: 1.2rem; border: 1px solid #c6b8fb70; background: #4b3b72; }
.video-thumb::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, #1f133815, #1c1130aa 78%, #160f29ef); }
.video-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 48%; transition: transform .25s ease; }
.video-thumb:hover .video-image { transform: scale(1.06); }
.video-play { display: grid; place-items: center; width: clamp(3.3rem, 6vw, 5rem); aspect-ratio: 1; border-radius: 50%; background: #fff; color: #4b2cc3; box-shadow: 0 .6rem 2rem #180d39a0; }
.video-play .icon { width: 1.8rem; height: 1.8rem; }
.video-caption { position: absolute; bottom: 1rem; left: 1.12rem; color: #fff; font-weight: 800; line-height: 1.3; }
.video-caption small { display: block; margin-top: .16rem; color: #f4eaff; font-size: .78rem; }

.about-section { background: #fff; padding-top: clamp(1.25rem, 3vw, 2.6rem); }
.about-layout { display: grid; grid-template-columns: minmax(16rem, .77fr) minmax(0, 1.23fr); align-items: center; gap: clamp(1.5rem, 7vw, 6rem); }
.about-picture { position: relative; max-width: 26rem; padding: .67rem; isolation: isolate; border-radius: 1.7rem; background: #eee8fd; border: 1px solid #e5dafb; }
.about-photo { width: 100%; aspect-ratio: 1.09; object-fit: cover; object-position: 50% 48%; border-radius: 1.15rem; }
.about-picture figcaption { position: absolute; right: 1.25rem; bottom: 1.2rem; display: inline-flex; align-items: center; gap: .3rem; background: #fbf8ff; color: #3d2b64; border-radius: .54rem; padding: .4rem .64rem; font-size: .8rem; font-weight: 800; }
.about-picture .icon { width: 1rem; height: 1rem; }
.about-copy p:not(.eyebrow) { max-width: 56ch; margin-top: .84rem; }
.about-copy .about-intro { font-size: 1.16rem; }
.bullet-list { display: grid; gap: .45rem; list-style: none; padding: 0; margin: 1.35rem 0 0; }
.bullet-list li { display: flex; align-items: start; gap: .5rem; }
.bullet-list .icon { margin-top: .24em; color: var(--accent); }
.about-list { font-weight: 750; }
.method-section { background: #f6f3fc; border-block: 1px solid #eee8f8; }
.method-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.05rem; margin: 0; padding: 0; }
.method-grid li { position: relative; padding: 1.32rem 1.4rem; border-radius: 1.08rem; border: 1px solid #e4dcef; background: #fff; }
.method-grid p { margin-top: .65rem; line-height: 1.55; }

.review-section { padding-bottom: clamp(1.6rem, 3vw, 3rem); }
.review-panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: start; gap: clamp(1.3rem, 4vw, 4rem); padding: clamp(1.35rem, 4vw, 3.1rem); border: 1px solid #e3dbfa; border-radius: var(--radius); background: #f0ebff; }
.review-panel h2 { font-size: clamp(1.8rem, 3.5vw, 2.85rem); }
.review-panel p:not(.eyebrow) { margin-top: .7rem; }
.review-details { border: 1px solid #dcd0f7; background: white; border-radius: .92rem; }
.review-details summary { padding: .88rem 1rem; }
.review-details noscript { display: block; padding-inline: 1rem; }
.review-form { display: grid; gap: .52rem; padding: 0 1rem 1rem; }
.review-form .button { margin-top: .35rem; }
.testimonials { display: grid; gap: .62rem; margin-bottom: .75rem; }
.testimonials figure { padding: .88rem 1rem; border-radius: .7rem; border: 1px solid #dcd0f7; background: white; }
.testimonials blockquote { margin: 0 0 .4rem; color: var(--text); }
.testimonials figcaption { font-size: .875rem; font-weight: 800; }
.rating strong { color: var(--accent-dark); font-size: 1.2rem; margin-right: .3rem; }

.faq-section { padding-top: clamp(1.9rem, 4.5vw, 4.2rem); }
.faq-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2.5rem; align-items: start; }
.faq-list { border-top: 1px solid #dcd5eb; }
.faq-list details { border-bottom: 1px solid #dcd5eb; }
summary { display: flex; justify-content: space-between; align-items: center; gap: .7rem; border-radius: .5rem; list-style: none; cursor: pointer; padding: .96rem .28rem; font-weight: 800; line-height: 1.4; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  width: .85rem;
  height: .85rem;
  flex: 0 0 auto;
  background: linear-gradient(var(--accent-dark), var(--accent-dark)) center / 100% 2px no-repeat,
              linear-gradient(var(--accent-dark), var(--accent-dark)) center / 2px 100% no-repeat;
}
details[open] > summary::after { background-size: 100% 2px, 0 0; }
.faq-list details p { padding: 0 1.35rem 1rem .28rem; max-width: 70ch; }
.contact-section { padding-top: 0; }
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr);
  align-items: center;
  gap: clamp(1.6rem, 6vw, 5rem);
  padding: clamp(1.55rem, 5vw, 4.25rem);
  border-radius: 1.85rem;
  color: #fff;
  background: radial-gradient(ellipse at 10% 3%, #6150da, transparent 72%), linear-gradient(135deg, #4930b2, #2a1a65);
}
.contact-panel .eyebrow { color: #e7dcff; }
.contact-panel .contact-copy > p:not(.eyebrow) { max-width: 40ch; color: #f8f1ff; margin-top: .95rem; }
.contact-direct { display: flex; flex-wrap: wrap; gap: .35rem 1.02rem; margin-top: 1.05rem; }
.contact-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; font-weight: 750; max-width: 100%; overflow-wrap: anywhere; }
.contact-link:hover { text-decoration: underline; text-underline-offset: .2rem; }
.quote-form, .review-form { color: var(--ink); }
.quote-form { display: grid; gap: .45rem; background: white; padding: clamp(1.1rem, 2.3vw, 1.7rem); border-radius: 1.1rem; }
.quote-form label, .review-form label { margin-top: .17rem; font-size: .93rem; line-height: 1.35; font-weight: 800; }
.quote-form label small { font-size: .8rem; font-weight: 650; color: #675873; }
input, select, textarea { display: block; width: 100%; min-height: 2.8rem; padding: .61rem .69rem; color: var(--ink); background: #fbfaff; border: 1px solid #d9d1e9; border-radius: .55rem; line-height: 1.4; }
textarea { min-height: 5.3rem; resize: vertical; }
select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, #51416d 50%), linear-gradient(135deg, #51416d 50%, transparent 50%); background-position: calc(100% - .98rem) 52%, calc(100% - .7rem) 52%; background-size: .29rem .29rem; background-repeat: no-repeat; }
input::placeholder, textarea::placeholder { color: #675b79; opacity: 1; }
.quote-form .button { margin-top: .38rem; }
.form-note { color: #62556f; font-size: .81rem; line-height: 1.47; margin-top: .18rem; }

.site-footer { color: #f8f5ff; background: #201736; padding-top: clamp(2rem, 4.5vw, 3.7rem); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, .95fr); gap: 1.8rem; }
.footer-logo { display: inline-block; border-radius: .6rem; }
.footer-logo img { width: 14.15rem; max-width: 100%; border-radius: .52rem; }
.footer-about p { max-width: 28ch; color: #d5cae5; font-size: .94rem; margin-top: .78rem; }
.site-footer h2 { font-size: 1.08rem; letter-spacing: -.02em; text-wrap: initial; margin-bottom: .66rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .14rem .56rem; margin: 0; padding: 0; list-style: none; }
.footer-links a, .footer-contact { min-height: 2.45rem; display: inline-flex; align-items: center; color: #e2d9ef; font-size: .9rem; font-weight: 700; overflow-wrap: anywhere; }
.footer-contact { display: flex; width: fit-content; }
.footer-links a:hover, .footer-contact:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: .21em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; border-top: 1px solid #f4e6ff28; margin-top: 1.55rem; padding: 1rem 0 1.2rem; color: #d5cae5; font-size: .84rem; }
.floating-whatsapp {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 8;
  display: grid;
  grid-template-columns: auto 0fr;
  align-items: center;
  width: 3.3rem;
  min-height: 3.3rem;
  overflow: clip;
  font-size: 0;
  border: 1px solid #fff3;
  border-radius: 50%;
  background: #14654d;
  color: white;
  box-shadow: 0 .4rem 1.3rem #104d4266;
}
.floating-whatsapp .icon { width: 1.52rem; height: 1.52rem; margin-left: .83rem; }
.floating-whatsapp:hover { background: #10523e; }

.detail-hero { background: radial-gradient(ellipse at 81% 15%, #ebe4fc 0, transparent 64%), #f7f3fb; padding-block: 1.3rem clamp(2.6rem, 5.1vw, 4.35rem); border-bottom: 1px solid #eae2f6; }
.breadcrumb { display: flex; gap: .65rem; align-items: center; margin-bottom: 1.45rem; font-size: .87rem; font-weight: 800; color: #5a4877; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 2.65rem; text-decoration: underline; text-decoration-color: #a695c8; text-underline-offset: .19rem; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(1.5rem, 5.5vw, 4.5rem); }
.detail-copy h1 { font-size: clamp(2.65rem, 5.3vw, 5.05rem); line-height: 1.02; text-wrap: pretty; }
.detail-figure { min-width: 0; padding: .52rem; border-radius: 1.45rem; background: #ffffffeb; border: 1px solid white; box-shadow: 0 .9rem 2.4rem #311b561a; }
.detail-photo { width: 100%; aspect-ratio: 1.52; object-fit: cover; border-radius: 1.07rem; background: #e0d6ee; }
.detail-figure figcaption, .caption { padding: .43rem .34rem .05rem; font-size: .79rem; color: #605275; font-weight: 700; }
.detail-section { background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.14rem; }
.feature-grid article { padding: 1.32rem; border: 1px solid var(--line); background: #faf8ff; border-radius: 1.15rem; }
.feature-grid article p, .case-features article p { margin-top: .52rem; }
.example-panel { display: flex; align-items: flex-start; gap: .83rem; margin-top: 1.35rem; border: 1px solid #2b163013; padding: 1.22rem 1.3rem; border-radius: 1.15rem; background: var(--tile-bg); }
.example-panel h3 { margin: .06rem 0 .35rem; }
.detail-faq { background: #faf8ff; }
.related-section { background: #fff; padding-top: clamp(2rem, 4.5vw, 4rem); }
.case-body { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); gap: clamp(1.65rem, 6vw, 5rem); }
.case-body h2 { font-size: clamp(1.8rem, 3.2vw, 2.85rem); }
.case-intro > p:not(.eyebrow) { margin-top: .85rem; }
.case-intro .text-link { margin-top: .64rem; }
.case-features { margin-top: .9rem; border-top: 1px solid #e4ddeb; }
.case-features article { padding: 1.02rem .1rem; border-bottom: 1px solid #e4ddeb; }
.small-cta { padding-block: clamp(2rem, 4.5vw, 4.3rem); }
.small-cta-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 1.35rem; padding: clamp(1.35rem, 4.4vw, 2.8rem); color: white; background: linear-gradient(135deg, #5033c7, #34207f); border-radius: var(--radius); }
.small-cta-panel h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
.small-cta-panel p { margin-top: .48rem; color: #f2ebff; }
.small-cta-panel .actions { justify-content: flex-end; }
.error-page { padding-block: clamp(3rem, 10vw, 7rem); }
.error-page h1 { font-size: clamp(2.3rem, 6vw, 4.8rem); }
.error-page p:not(.eyebrow) { margin-top: .75rem; }
.error-page .actions { margin-top: 1rem; }

.project-dialog { border: 0; padding: 0; width: min(100% - 1.5rem, 39rem); max-height: 90dvh; color: var(--ink); background: #fff; border-radius: 1.24rem; box-shadow: 0 1.35rem 4.5rem #25173d34; }
.project-dialog::backdrop { background: #1f132eaa; }
.dialog-inner { position: relative; overflow: clip; }
.dialog-photo { width: 100%; max-height: 19rem; aspect-ratio: 1.68; object-fit: cover; }
.icon-button { display: inline-grid; place-items: center; width: 2.77rem; height: 2.77rem; padding: 0; background: white; border: 1px solid #e5dcee; border-radius: 50%; color: var(--ink); }
.dialog-close { position: absolute; top: .68rem; right: .68rem; }
.dialog-copy { padding: clamp(1.05rem, 3vw, 1.8rem); }
.dialog-copy h2 { font-size: clamp(1.65rem, 4vw, 2.65rem); text-wrap: pretty; }
.dialog-copy p:not(.eyebrow) { margin-top: .62rem; }
.dialog-copy .caption { padding-inline: 0; }
.dialog-copy .actions { margin-top: .9rem; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-card:hover, .compact-service:hover, .project-card:hover { transform: translateY(-.2rem); }
  .button:hover { transform: translateY(-1px); }
}

@media (max-width: 67rem) {
  .shell { width: min(calc(100% - 3.1rem), var(--shell)); }
  .header-row { gap: .7rem; }
  .hero h1 { font-size: clamp(3rem, 6.85vw, 4.65rem); }
  .service-card .service-copy { width: 79%; }
  .service-art { opacity: .82; right: -1.8rem; bottom: -2.15rem; }
  .phone-art { right: .12rem; bottom: -6rem; }
  .compact-service .service-copy { display: block; }
  .compact-service h3 { margin-top: .52rem; }
  .compact-service p { margin-top: .35rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 57rem) {
  :root { --header-space: 4.45rem; }
  .shell { width: min(calc(100% - 2.2rem), var(--shell)); }
  .header-row { flex-wrap: wrap; }
  .brand img { width: 2.5rem; }
  .nav-toggle { display: inline-flex; align-items: center; gap: .32rem; justify-content: center; min-height: 2.75rem; padding: .4rem .63rem; background: #fff; border: 1px solid #d9d2ec; border-radius: .65rem; color: var(--ink); font-weight: 800; font-size: .87rem; }
  .nav-toggle .icon { width: 1.1rem; height: 1.1rem; }
  .header-cta { display: none; }
  .site-nav { width: 100%; flex-wrap: wrap; gap: 0; padding-bottom: .48rem; }
  .menu-ready .site-nav { display: none; }
  .menu-ready .site-nav.is-open { display: grid; position: absolute; top: calc(100% + .52rem); right: 0; width: min(100%, 19rem); padding: .58rem; background: #fff; border: 1px solid #e0d7ef; border-radius: .9rem; box-shadow: 0 .92rem 2rem #381d5c2c; }
  .site-nav.is-open a { min-height: 2.9rem; }
  .site-nav .menu-contact { display: inline-flex; }
  .hero-layout { gap: 1.75rem; padding-block: 2.6rem 3.15rem; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); align-items: center; }
  .hero h1 { font-size: clamp(2.65rem, 7.3vw, 4.4rem); }
  .hero-lead { margin-top: 1rem; }
  .hero-image { aspect-ratio: .89; }
  .hero-person { margin-top: 1.2rem; }
  .section-heading { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .section-heading > p { max-width: 56ch; justify-self: start; }
  .service-card:nth-child(n) { grid-column: span 6; min-height: 15.2rem; }
  .service-card .service-copy { width: 87%; }
  .service-art { width: 36%; opacity: .64; }
  .orders-art { display: none; }
  .phone-art { width: 25%; right: -.66rem; bottom: -8rem; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-panel { gap: 1.28rem; }
  .about-layout { grid-template-columns: minmax(0, .81fr) minmax(0, 1.19fr); gap: 1.6rem; }
  .contact-panel { gap: 1.25rem; }
  .footer-links { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { gap: 1.35rem; }
  .detail-layout { gap: 1.35rem; }
  .small-cta-panel .actions { justify-content: flex-start; }
}

@media (max-width: 40rem) {
  .shell { width: min(calc(100% - 2rem), var(--shell)); }
  .section { padding-block: 3.45rem; }
  .section-heading { margin-bottom: 1.5rem; }
  .hero-layout, .detail-layout { grid-template-columns: minmax(0, 1fr); gap: 1.62rem; }
  .hero-layout { padding-block: 2.25rem 2.7rem; }
  .hero h1 { font-size: clamp(2.72rem, 10vw, 4.15rem); max-width: 12.5ch; letter-spacing: -.065em; }
  .hero-location { margin-bottom: .76rem; font-size: .8075rem; }
  .hero-lead { font-size: 1.035rem; }
  .hero .actions, .detail-hero .actions { margin-top: 1.16rem; }
  .hero-visual { border-radius: 1.39rem; padding: .34rem; }
  .hero-image { border-radius: 1.12rem; aspect-ratio: 1.25; object-position: 60% 46%; }
  .hero-visual::after { inset: .34rem; border-radius: 1.12rem; }
  .service-grid, .compact-services { grid-template-columns: minmax(0, 1fr); gap: .74rem; }
  .service-card:nth-child(n) { grid-column: 1; min-height: unset; padding: 1.18rem; border-radius: 1.14rem; }
  .service-card .service-copy { width: 76%; }
  .service-card h3 { margin-block: .55rem .43rem; }
  .service-card .service-icon { width: 2.4rem; height: 2.4rem; }
  .service-stack { margin-top: .6rem; }
  .service-art { width: 38%; right: -1rem; opacity: .84; }
  .orders-art { display: block; bottom: -4.4rem; }
  .phone-art { width: 30%; right: .68rem; bottom: -7.2rem; }
  .compact-services { margin-top: .74rem; }
  .compact-service .service-copy { display: grid; }
  .compact-service h3, .compact-service p { margin-top: 0; }
  .gallery-toolbar { gap: .48rem; margin-bottom: 1rem; }
  .filters { gap: .32rem; }
  .filters button { padding-inline: .71rem; }
  .project-grid { gap: .85rem; }
  .project-copy { padding: .9rem .9rem .82rem; }
  .project-meta span { font-size: .7625rem; }
  .media-section { padding-bottom: 1.5rem; }
  .media-panel, .about-layout, .faq-layout, .contact-panel, .review-panel, .case-body,
  .small-cta-panel, .method-grid, .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .media-panel, .review-panel, .contact-panel { border-radius: 1.4rem; }
  .media-panel { padding: 1.2rem; }
  .media-copy h2 { max-width: unset; }
  .about-section { padding-top: 1.6rem; }
  .about-picture { width: min(100%, 21.5rem); }
  .review-section { padding-bottom: 1.9rem; }
  .faq-section { padding-top: 1.6rem; }
  .contact-section { padding-top: .3rem; }
  .faq-layout { gap: 1.08rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
  .footer-bottom { display: block; padding-bottom: 4.15rem; }
  .footer-bottom a { display: block; width: fit-content; margin-top: .27rem; }
  .floating-whatsapp { right: max(.85rem, env(safe-area-inset-right)); bottom: max(.85rem, env(safe-area-inset-bottom)); }
  .detail-hero { padding-block: .65rem 2.1rem; }
  .breadcrumb { margin-bottom: .72rem; }
}

@media (max-width: 32rem) {
  .project-grid { grid-template-columns: minmax(0, 1fr); }
  .project-copy { padding: 1rem 1.06rem .8rem; }
  .service-card .service-copy { width: 79%; }
  .service-art { width: 32%; }
  .orders-art { right: -1.6rem; bottom: -5.9rem; }
  .phone-art { width: 25%; right: .1rem; bottom: -7.6rem; }
}
@media (max-width: 23rem) {
  .shell { width: min(calc(100% - 1.5rem), var(--shell)); }
  .hero .button { min-height: 2.95rem; padding-inline: .7rem; font-size: .875rem; }
  .actions { gap: .42rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .social-links { gap: .18rem .62rem; }
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.gallery-search { flex: 1 1 12rem; max-width: 17rem; }
.gallery-search input { background: #fff; font-size: .92rem; }
.gallery-empty { margin: 1rem 0; padding: 1.05rem 1.2rem; border-radius: .8rem; background: #eee7f9; }
.video-image { object-position: 50% 38%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (max-width: 40rem) {
  .gallery-search { max-width: none; }
}

.process-example {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(1.15rem, 4.58vw, 3.5rem);
  margin-top: 1.3rem;
  padding: clamp(1.18rem, 3.2vw, 2.22rem);
  border: 1px solid #e0d5f7;
  border-radius: 1.36rem;
  background: linear-gradient(120deg, #f0eaff, #f6f2ff);
}
.process-copy h3 { font-size: clamp(1.5rem, 3.3vw, 2.26rem); }
.process-copy > p:not(.eyebrow) { margin-top: .5rem; }
.process-copy .text-link { margin-top: .34rem; }
.comparison { min-width: 0; border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .52rem; }
.comparison label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.84rem;
  padding: .46rem .51rem;
  border: 1px solid #dcd0ef;
  border-radius: .65rem;
  color: #463658;
  background: #fcfbff;
  font-size: .87rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.comparison input:focus-visible + label { outline: 3px solid #7d67f6; outline-offset: 3px; }
.comparison input:checked + label { background: var(--accent); border-color: var(--accent); color: #fff; }
.comparison-views { display: grid; grid-column: 1 / -1; border: 1px solid #e3d8f3; border-radius: .8rem; background: #fff; }
.comparison-panel { grid-area: 1 / 1; padding: .83rem .75rem; visibility: hidden; }
.comparison-panel ul { display: grid; gap: .44rem; list-style: none; margin: 0; padding: 0; }
.comparison-panel li { display: flex; align-items: center; gap: .5rem; padding: .45rem .58rem; border-radius: .46rem; background: #f2eff8; color: #383048; font-size: .89rem; font-weight: 750; line-height: 1.45; }
.comparison-panel .icon { width: 1.01rem; height: 1.01rem; color: #635780; }
.view-sistema li { color: #234739; background: #eaf7f0; }
.view-sistema .icon { color: #14654d; }
#registro-manual:checked ~ .comparison-views .view-manual,
#registro-sistema:checked ~ .comparison-views .view-sistema { visibility: visible; }

.scroll-progress { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .project-dialog[open] { animation: enter-dialog .25s cubic-bezier(.2,.7,.32,1) both; }
  .site-nav.is-open { animation: enter-menu .22s ease-out both; }
  #registro-manual:checked ~ .comparison-views .view-manual,
  #registro-sistema:checked ~ .comparison-views .view-sistema { animation: enter-comparison .33s ease-out both; }

  @keyframes enter-dialog {
    from { opacity: .45; transform: translateY(.45rem) scale(.985); }
    to { opacity: 1; transform: none; }
  }
  @keyframes enter-menu {
    from { opacity: .35; transform: translateY(-.45rem); }
    to { opacity: 1; transform: none; }
  }
  @keyframes enter-comparison {
    from { opacity: .48; transform: translateY(.22rem); }
    to { opacity: 1; transform: none; }
  }

  @supports (animation-timeline: scroll()) {
    .scroll-progress {
      display: block;
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 2px;
      transform-origin: left;
      background: linear-gradient(90deg, #5331d5, #8077f0 73%, #63bebc);
      animation: reading-position linear both;
      animation-timeline: scroll(root block);
      pointer-events: none;
    }
    @keyframes reading-position {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }
  }
}
@media (max-width: 40rem) {
  .process-example { grid-template-columns: minmax(0, 1fr); }
  .hero .actions { gap: .5rem; }
  .hero .actions .button { min-height: 3rem; padding-inline: .77rem; font-size: .875rem; }
}
:root {
  --ink: #10243e;
  --text: #42556c;
  --accent: #4134cb;
  --accent-dark: #3224a4;
  --surface: #f8faff;
  --line: #dfe6f2;
  --muted: #eef2fc;
}
.site-header { background: #fff; border-color: #e4e9f5; }
.brand img { width: 3rem; }
.brand > span { color: #1a3150; }
.button-dark { background: #172b4d; }
.button-dark:hover { background: #243d69; }
.site-nav { gap: clamp(.05rem, .5vw, .55rem); }
.site-nav a { color: #35465d; }
.hero {
  background: radial-gradient(ellipse at 86% 15%, #e6ddfa 0, #f0edff 38%, transparent 66%),
              linear-gradient(170deg, #fdfdff, #ebf3fd);
  border-color: #dce6f7;
}
.hero-layout { padding-block: clamp(2.8rem, 5vw, 4.85rem) 2rem; }
.hero h1 { font-size: clamp(3.05rem, 5.5vw, 5rem); max-width: 15ch; line-height: 1.035; }
.hero h1 em { color: #3c32c9; }
.hero-location { padding: .38rem .63rem; border: 1px solid #dfe6f5; border-radius: .6rem; background: #ffffffc9; color: #334c78; }
.hero-lead strong { color: #263c5d; }
.hero-visual { border-radius: 1.95rem; background: linear-gradient(135deg, #fff, #b9c8f4); box-shadow: 0 1.65rem 3.4rem #3447792b; }
.hero-image { aspect-ratio: 1.21; object-position: 50% 43%; }
.hero-visual::after { display: none; }
.hero-visual figcaption { position: absolute; isolation: isolate; left: 1.2rem; bottom: 1.2rem; display: flex; align-items: center; gap: .66rem; max-width: calc(100% - 2.38rem); padding: .53rem .77rem .53rem .57rem; border-radius: .78rem; background: #fff; box-shadow: 0 .5rem 1.5rem #15295839; }
.hero-caption-icon { display: grid; width: 2rem; height: 2rem; border-radius: .45rem; place-items: center; background: #ececff; color: var(--accent-dark); }
.hero-caption-icon .icon { width: 1.03rem; height: 1.03rem; }
.hero-visual figcaption strong, .hero-visual figcaption small { display: block; line-height: 1.35; }
.hero-visual figcaption strong { font-size: .87rem; }
.hero-visual figcaption small { margin-top: .13rem; color: #4a5c75; font-size: .74rem; }
.need-shortcuts { padding-block: .25rem clamp(1.8rem, 3vw, 2.6rem); }
.need-shortcuts h2 { margin-bottom: .56rem; font-size: .88rem; letter-spacing: -.01em; }
.shortcut-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .72rem; }
.shortcut-grid a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .55rem;
  align-items: center;
  min-height: 3.65rem;
  padding: .48rem .64rem;
  border: 1px solid #dce4f6;
  border-radius: .85rem;
  background: #fff;
  line-height: 1.35;
  transition: border-color .2s, background-color .2s;
}
.shortcut-grid a:hover { border-color: #a59ae9; background: #faf9ff; }
.shortcut-grid strong { font-size: .875rem; }
.shortcut-icon { display: grid; place-items: center; width: 2.2rem; aspect-ratio: 1; border-radius: .57rem; background: #e9edff; color: #3330b2; }
.shortcut-grid a:nth-child(2) .shortcut-icon { background: #def3e9; color: #1e604e; }
.shortcut-grid a:nth-child(3) .shortcut-icon { background: #eee6fb; color: #5d3a98; }
.shortcut-grid a:nth-child(4) .shortcut-icon { background: #e1f0fb; color: #245281; }

.home .services-section { background: #f5f8ff; border-block: 1px solid #e2e8f4; }
.home .services-section .section-heading h2 { max-width: 21ch; }
.home .service-grid { gap: .95rem; }
.home .service-card { grid-column: span 6; min-height: 17.1rem; }
.home .service-card:first-child {
  background: radial-gradient(ellipse at 90% 60%, #3656a5, transparent 65%), linear-gradient(132deg,#162d50,#212b79);
  border-color: #2e477f;
}
.home .service-card:first-child p, .home .service-card:first-child .service-stack { color: #eef3ff; }
.service-icon { width: 3.25rem; height: 3.25rem; border-radius: .87rem; }
.service-icon .icon { width: 1.65rem; height: 1.65rem; stroke-width: 1.85; }
.service-action { display: inline-flex; align-items: center; gap: .28rem; color: var(--tile-ink); font-weight: 800; font-size: .89rem; margin-top: .75rem; line-height: 1.4; }
.compact-service .service-action { grid-column: 2; margin-top: .18rem; }
.service-card:hover .service-action, .compact-service:hover .service-action { text-decoration: underline; text-underline-offset: .21em; }
.home .service-card p { max-width: 34ch; }
.home .service-art { opacity: .74; }
.projects-section { background: #fff; }
.gallery-toolbar { margin-bottom: 1.32rem; }
.gallery-search { max-width: 20rem; margin-left: auto; }
.gallery-search input { min-height: 2.85rem; border-color: #cbd6ea; }
.gallery-count { min-width: 5.9rem; text-align: right; color: #42536d; }
.filters button { border-color: #cfdbed; background: #f6f8ff; color: #243a61; }
.filters button[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.project-card { border-color: #dfe7f4; box-shadow: 0 .37rem 1.15rem #2639560a; }
.project-copy .text-link { display: inline-flex; gap: .35rem; }
.contact-panel { background: radial-gradient(ellipse at 79% -10%, #4b53b4, transparent 72%), linear-gradient(130deg, #172b4d, #292888); }
.site-footer { background: #122542; }
@media (max-width: 61rem) {
  .site-nav a { padding-inline: .42rem; }
  .brand img { width: 2.56rem; }
}
@media (max-width: 50rem) {
  .hero h1 { font-size: clamp(2.67rem, 7vw, 4.35rem); }
  .shortcut-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-search { margin-left: 0; }
}
@media (max-width: 40rem) {
  .hero-layout { padding-block: 1.9rem 1.15rem; gap: 1.1rem; }
  .hero h1 { font-size: clamp(2.55rem, 9.4vw, 3.75rem); }
  .hero-person { margin-top: 1.03rem; }
  .hero-visual { border-radius: 1.34rem; }
  .hero-image { aspect-ratio: 1.42; border-radius: 1.09rem; }
  .hero-visual figcaption { left: .7rem; bottom: .67rem; max-width: calc(100% - 1.4rem); }
  .hero-visual figcaption strong { font-size: .76rem; }
  .shortcut-grid { gap: .53rem; }
  .shortcut-grid a { min-height: 3.35rem; gap: .39rem; padding-inline: .43rem; }
  .shortcut-grid strong { font-size: .805rem; }
  .shortcut-icon { width: 1.82rem; }
  .shortcut-icon .icon { width: 1.1rem; height: 1.1rem; }
  .home .service-grid { grid-template-columns: minmax(0,1fr); }
  .home .service-card { grid-column: 1; min-height: 0; }
  .gallery-count { text-align: left; }
  .gallery-search { max-width: unset; flex-basis: 100%; }
}

.value-section { background: linear-gradient(135deg, #f3f0ff, #f7fbff 67%, #eaf6f9); border-bottom: 1px solid #e2e8f4; }
.value-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.value-card, .case-benefit { padding: 1.4rem 1.35rem 1rem; border: 1px solid #dfe6f3; border-radius: 1.15rem; background: #fff; box-shadow: 0 .38rem 1.15rem #2639560b; }
.value-icon { display: grid; place-items: center; width: 3rem; aspect-ratio: 1; margin-bottom: .76rem; color: #4034bf; background: #eeebff; border-radius: .8rem; }
.value-icon .icon { width: 1.45rem; height: 1.45rem; }
.value-card:nth-child(2) .value-icon { color: #176052; background: #ddf4eb; }
.value-card:nth-child(3) .value-icon { color: #2c527e; background: #e5f1ff; }
.value-card h3, .case-benefit h3 { margin-bottom: .48rem; }
.value-card p, .case-benefit p { font-size: .95rem; line-height: 1.58; }
.value-card .text-link { margin-top: .35rem; }
.case-benefit { margin-top: 1.3rem; padding-bottom: 1.18rem; background: #f5f7ff; }
.project-benefit { background: #f1f5ff; border-left: .16rem solid #6e61dc; padding: .55rem .62rem; margin-bottom: .77rem; border-radius: .32rem; color: #243b62; font-size: .83rem; font-weight: 650; line-height: 1.5; }
@media (max-width: 40rem) {
  .value-grid { grid-template-columns: minmax(0,1fr); }
  .value-card { padding: 1.2rem 1.1rem .7rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy h1 { animation: jmvc-hero-rise .64s cubic-bezier(.2,.75,.25,1) both; }
  .hero-copy .hero-lead { animation: jmvc-hero-rise .62s .12s cubic-bezier(.2,.75,.25,1) both; }
  .hero-visual { animation: jmvc-visual-in .95s cubic-bezier(.2,.75,.25,1) both; }
  .hero-visual figcaption { animation: jmvc-caption-in .67s .26s cubic-bezier(.2,.75,.25,1) both; }
  .shortcut-grid a { animation: jmvc-hero-rise .62s .25s ease-out both; }
  .shortcut-grid a:nth-child(2) { animation-delay: .31s; }
  .shortcut-grid a:nth-child(3) { animation-delay: .37s; }
  .shortcut-grid a:nth-child(4) { animation-delay: .43s; }
  .shortcut-icon, .service-icon, .value-icon { transition: transform .3s ease; }
  .shortcut-grid a:hover .shortcut-icon, .shortcut-grid a:focus-visible .shortcut-icon,
  .service-card:hover .service-icon, .compact-service:hover .service-icon,
  .value-card:hover .value-icon, .value-card:focus-within .value-icon { transform: translateY(-3px) rotate(-5deg) scale(1.08); }
  @keyframes jmvc-hero-rise { from { transform: translateY(21px); opacity: .73; } to { transform: none; opacity: 1; } }
  @keyframes jmvc-visual-in { from { transform: translateY(13px) scale(.98); } to { transform: none; } }
  @keyframes jmvc-caption-in { from { transform: translateX(-13px); opacity: .55; } to { transform: none; opacity: 1; } }
}

.hero-visual { overflow: hidden; }
.hero-visual figcaption { z-index: 1; }
.hero-image { object-position: 50% 48%; }
.video-image { object-position: 50% 48%; }
.video-play { position: relative; }
.media-panel {
  background: radial-gradient(ellipse at 100% 0, #5550bc 0, transparent 63%),
              radial-gradient(ellipse at 5% 100%, #253472 0, transparent 58%),
              #292052;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy .actions { animation: jmvc-hero-rise .69s .18s cubic-bezier(.2,.75,.25,1) both; }
  .hero-person { animation: jmvc-hero-rise .68s .25s cubic-bezier(.2,.75,.25,1) both; }
  .hero-image { animation: jmvc-image-settle 1.22s cubic-bezier(.2,.75,.25,1) both; }
  .hero-visual::after {
    display: block;
    z-index: 0;
    background: linear-gradient(116deg, transparent 30%, #ffffff52 49%, transparent 65%);
    transform: translateX(-115%);
    animation: jmvc-frame-light 1.26s .2s ease-out both;
  }
  .video-play { transition: transform .29s cubic-bezier(.2,.75,.25,1), box-shadow .29s ease; }
  .video-thumb:is(:hover, :focus-visible) .video-play { transform: scale(1.12); box-shadow: 0 .7rem 2rem #210f70aa; }
  .video-thumb.motion-ready .video-play::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid #fff;
    border-radius: inherit;
    pointer-events: none;
    animation: jmvc-play-ring 1s .3s ease-out 2 both;
  }
  #galeria-proyectos .project-card:not([hidden]) .project-copy { animation: jmvc-project-in .46s cubic-bezier(.2,.75,.25,1) both; }
  #galeria-proyectos .project-card:nth-child(3n + 2) .project-copy { animation-delay: .055s; }
  #galeria-proyectos .project-card:nth-child(3n) .project-copy { animation-delay: .11s; }
  .faq-list details[open] > p { animation: jmvc-project-in .33s ease-out both; }
  @keyframes jmvc-image-settle { from { transform: scale(1.04); } to { transform: none; } }
  @keyframes jmvc-frame-light { 0% { transform: translateX(-115%); opacity: .85; } 100% { transform: translateX(110%); opacity: 0; } }
  @keyframes jmvc-play-ring { 0% { transform: scale(.91); opacity: .78; } 100% { transform: scale(1.62); opacity: 0; } }
  @keyframes jmvc-project-in { from { transform: translateY(8px); opacity: .62; } to { transform: none; opacity: 1; } }
}
/* Las tarjetas de portada conservan sus colores e iconos por servicio. */
.home .services-section {
  --service-gap: clamp(.9rem, 2vw, 1.4rem);
  background:
    radial-gradient(ellipse at 95% 5%, #ebeeff, transparent 56%),
    linear-gradient(165deg, #f5f8ff, #fafdff);
}

.home .services-section .service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--service-gap);
}

.home .services-section .compact-services {
  gap: var(--service-gap);
  margin-top: var(--service-gap);
}

.home .services-section :is(.service-card, .compact-service) {
  display: grid;
  grid-template-areas: "visual" "copy";
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  grid-column: auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d9e3f1;
  border-radius: clamp(1rem, 2vw, 1.5rem);
  background: #fff;
  background: linear-gradient(180deg, #fff 52%, color-mix(in srgb, var(--tile-bg) 32%, white));
  box-shadow: 0 .4rem 1.4rem #2745720e;
}

.home .services-section .service-card:first-child {
  border-color: #344a82;
  background: radial-gradient(ellipse at 90% 85%, #273975, #172c4d 78%);
}

.home .services-section .service-visual {
  position: relative;
  grid-area: visual;
  min-width: 0;
  margin: 0;
  aspect-ratio: 2.24;
  overflow: hidden;
  background: var(--tile-bg, #edf1fc);
}

.home .services-section .compact-service .service-visual {
  aspect-ratio: 2.55;
}

.home .services-section .service-visual::after {
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(transparent, #111f3d26);
  pointer-events: none;
  content: "";
}

.home .services-section .service-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.home .services-section :is(.service-card, .compact-service) .service-copy {
  grid-area: copy;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr;
  align-items: center;
  gap: .65rem .76rem;
  width: 100%;
  padding: clamp(1.05rem, 2.25vw, 1.65rem);
}

.home .services-section .compact-service .service-copy {
  grid-template-rows: auto auto 1fr;
  padding: clamp(.9rem, 1.6vw, 1.35rem);
}

.home .services-section .service-copy .service-icon {
  grid-area: 1 / 1;
  width: clamp(2.5rem, 4vw, 3.12rem);
  height: clamp(2.5rem, 4vw, 3.12rem);
  align-self: center;
}

.home .services-section .compact-service .service-icon {
  width: 2.55rem;
  height: 2.55rem;
}

.home .services-section .service-copy h3 {
  grid-area: 1 / 2;
  max-width: none;
  margin: 0;
  font-size: clamp(1.3rem, 2.36vw, 1.95rem);
  line-height: 1.15;
  text-wrap: balance;
}

.home .services-section .compact-service h3 {
  font-size: clamp(1.12rem, 1.65vw, 1.44rem);
}

.home .services-section .service-copy > :is(p, .service-stack, .service-action) {
  grid-column: 1 / -1;
  max-width: none;
  margin: 0;
}

.home .services-section .service-copy p {
  font-size: clamp(.93rem, 1.3vw, 1.02rem);
  line-height: 1.6;
}

.home .services-section .service-copy .service-stack {
  line-height: 1.45;
}

.home .services-section .service-copy .service-action {
  align-self: end;
  justify-self: start;
  margin-top: .28rem;
  padding: .37rem .67rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  background: var(--tile-icon);
}

.home .services-section .service-card:first-child .service-action {
  border-color: #ffffff46;
}

.home .services-section :is(.service-card, .compact-service):focus-visible {
  outline: 3px solid #5144cc;
  outline-offset: 4px;
}

.home .services-section :is(.service-card, .compact-service):is(:hover, :focus-visible) {
  box-shadow: 0 .92rem 2.4rem #2b478026;
}

.home .services-section :is(.service-card, .compact-service):focus-visible .service-action {
  text-decoration: underline;
  text-underline-offset: .21em;
}

@media (max-width: 47rem) {
  .home .services-section :is(.service-grid, .compact-services) {
    grid-template-columns: minmax(0, 1fr);
  }

  .home .services-section .service-visual {
    aspect-ratio: 1.95;
  }

  .home .services-section .compact-service .service-visual {
    aspect-ratio: 2.35;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home .services-section .service-photo {
    transition: transform .62s cubic-bezier(.2, .75, .25, 1);
  }

  .home .services-section :is(.service-card, .compact-service):hover .service-photo {
    transform: scale(1.065);
  }
}
