/*
Theme Name: Dynamis Creative 2026
Theme URI: https://dynamiscreative.com
Author: Dynamis Creative
Description: Tema moderno para agencia de desarrollo enfocada en diseno, producto y tecnologia.
Version: 1.0.2
License: GNU General Public License v2 or later
Text Domain: dynamiscreative
*/

:root {
  --bg: #eff3f9;
  --surface: #ffffff;
  --surface-soft: #f6f8fc;
  --ink: #062c60;
  --ink-deep: #032451;
  --muted: #4e6484;
  --line: #dae3f0;
  --brand: #062c60;
  --accent: #f6b24c;
  --accent-2: #57cbd0;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(6, 44, 96, 0.1);
  --brand-dynamic: #062c60;
  --accent-dynamic: #f6b24c;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(180deg, #eef3fa 0%, #f8fafd 28%, #ffffff 100%);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
}

body::before {
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  left: -12%;
  top: 18vh;
  background: rgba(87, 203, 208, 0.2);
}

body::after {
  width: min(36vw, 460px);
  height: min(36vw, 460px);
  right: -10%;
  top: 52vh;
  background: rgba(246, 178, 76, 0.18);
}

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

h1,
h2,
h3 {
  font-family: "Syne", "Manrope", sans-serif;
  line-height: 1.1;
  margin: 0;
}

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

.link-btn {
  background: none;
  border: none;
  color: #0a4b86;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  font-size: inherit;
}

.intent-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));
  overflow: hidden;
  pointer-events: auto;
}

.has-intent .intent-modal {
  display: none;
}

.intent-modal.is-hidden {
  display: none;
}

body.intent-gate-active {
  overflow: hidden;
}

body.intent-gate-active .dc-main,
body.intent-gate-active .site-header {
  filter: blur(2px) saturate(0.92);
  transition: filter 0.25s ease;
}

.intent-modal.closing .intent-panel {
  animation: modalClose 0.25s ease forwards;
}

.intent-modal.closing .intent-backdrop {
  animation: backdropFade 0.25s ease forwards;
}

.intent-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 44, 96, 0.6);
  backdrop-filter: blur(5px);
  pointer-events: auto;
}

.intent-panel {
  position: relative;
  z-index: 1000;
  max-width: 600px;
  width: 90%;
  max-height: min(92dvh, 760px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 32px 64px rgba(6, 44, 96, 0.24);
  pointer-events: auto;
  animation: slideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.intent-panel h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
  color: var(--ink-deep);
}

.intent-panel > p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.intent-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.intent-option {
  border: 2px solid #d9e3f0;
  border-radius: 16px;
  background: #ffffff;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.24s ease;
}

.intent-option:hover {
  border-color: var(--accent);
  background: linear-gradient(170deg, #ffffff 0%, #fffbf5 100%);
  box-shadow: 0 12px 24px rgba(246, 178, 76, 0.15);
  transform: translateY(-4px);
}

.intent-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.intent-option strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.intent-option small {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.intent-skip {
  text-align: center;
  font-size: 0.9rem;
  margin: 0;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.74);
  border-bottom: 1px solid rgba(6, 44, 96, 0.1);
  backdrop-filter: blur(14px) saturate(1.2);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand img {
  width: clamp(96px, 15vw, 146px);
  height: auto;
  object-fit: contain;
  max-height: 48px;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.15rem;
  align-items: center;
}

.menu-list a {
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  position: relative;
  padding-bottom: 0.2rem;
}

.menu-list a:hover {
  color: var(--ink);
}

.menu-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #57cbd0, #f6b24c);
  transition: width 0.24s ease;
}

.menu-list a:hover::after {
  width: 100%;
}

.reset-intent-btn {
  background: linear-gradient(135deg, var(--accent-dynamic), rgba(87, 203, 208, 0.7));
  border: 1px solid var(--accent-dynamic);
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  padding: 0.4rem 0.8rem;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.4rem;
  max-width: 15rem;
  min-width: 0;
  white-space: nowrap;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(87, 203, 208, 0.25);
}

.reset-intent-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--accent-dynamic);
  background: linear-gradient(135deg, rgba(87, 203, 208, 0.5), rgba(58, 167, 174, 0.6));
}

.intent-badge {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.4rem;
  min-width: 0;
}

#intentBadgeText {
  display: inline-block;
  max-width: 8.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.intent-fab {
  position: fixed;
  left: auto;
  right: calc(0.8rem + env(safe-area-inset-right));
  bottom: calc(0.95rem + env(safe-area-inset-bottom));
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid rgba(6, 44, 96, 0.2);
  background: linear-gradient(145deg, #f9ca75, #f6b24c);
  color: #1f2a37;
  font-size: 1rem;
  line-height: 1;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(6, 44, 96, 0.22);
  cursor: pointer;
  z-index: 120;
  display: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.intent-fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(6, 44, 96, 0.26);
}

.menu-link {
  background: none;
  border: none;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  position: relative;
  padding-bottom: 0.2rem;
  cursor: pointer;
}

.menu-link:hover {
  color: var(--ink);
}

.menu-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #57cbd0, #f6b24c);
  transition: width 0.24s ease;
}

.menu-link:hover::after {
  width: 100%;
}

.cta-mini {
  border-radius: 999px;
  border: 1px solid rgba(6, 44, 96, 0.2);
  background: linear-gradient(90deg, var(--accent), #f9ca75);
  color: #1f2a37;
  font-weight: 800;
  padding: 0.47rem 0.85rem;
  font-size: 0.83rem;
}

.dc-main {
  position: relative;
}

.section {
  padding: clamp(3rem, 5.5vw, 5.5rem) 0;
  position: relative;
}

.section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 44, 96, 0.1), transparent);
}

.hero-future {
  position: relative;
  isolation: isolate;
  padding: clamp(3.4rem, 7vw, 6rem) 0 2.4rem;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(6, 44, 96, 0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.orb-a {
  width: 260px;
  height: 260px;
  top: 2%;
  right: 7%;
  background: rgba(246, 178, 76, 0.35);
}

.orb-b {
  width: 220px;
  height: 220px;
  left: 3%;
  top: 36%;
  background: rgba(87, 203, 208, 0.3);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1rem, 4vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.2rem 0.62rem;
  border: 1px solid #c8d7eb;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  max-width: 11.5ch;
  letter-spacing: -0.03em;
}

.hero-title span {
  color: #2f5487;
  display: block;
}

.hero-lead {
  margin: 1rem 0 0;
  max-width: 54ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  border-radius: 12px;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.93rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(100deg, #06397c, #052f69);
  color: #fff;
  box-shadow: 0 12px 24px rgba(5, 41, 88, 0.3);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(5, 41, 88, 0.36);
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.btn-secondary {
  border-color: #c9d8eb;
  color: #113867;
  background: #fff;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(6, 44, 96, 0.14);
}

.hero-tags {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-tags span {
  background: #ffffff;
  border: 1px solid #d7e2f1;
  border-radius: 999px;
  color: #2f4f7d;
  padding: 0.28rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-stage {
  position: relative;
  border-radius: 30px;
  border: 1px solid #d9e3f1;
  background: linear-gradient(140deg, #0e356e 0%, #052e65 55%, #044a72 100%);
  min-height: 420px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-stage-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(#ffffff 1px, transparent 1px),
    linear-gradient(90deg, #ffffff 1px, transparent 1px);
  background-size: 25px 25px;
}

.hero-stage-panel {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.93);
  border-radius: 16px;
  border: 1px solid #d4dff0;
  padding: 1rem;
}

.hero-stage-panel p {
  margin: 0;
  text-transform: uppercase;
  color: #55739d;
  letter-spacing: 0.08em;
  font-size: 0.73rem;
  font-weight: 700;
}

.hero-stage-panel h3 {
  margin: 0.3rem 0 0.5rem;
  font-size: 1.34rem;
}

.hero-stage-panel ul {
  margin: 0;
  padding-left: 1rem;
  color: #486486;
}

.ticker-wrap {
  border-top: 1px solid #d8e1ef;
  border-bottom: 1px solid #d8e1ef;
  background: #fff;
  overflow: hidden;
}

.ticker-track {
  width: max-content;
  display: flex;
  gap: 0.8rem;
  padding: 0.7rem 0;
  animation: ticker 60s linear infinite;
}

.ticker-track span {
  border: 1px solid #d9e3f0;
  border-radius: 999px;
  color: #365786;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  padding: 0.32rem 0.64rem;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.break-section {
  padding-top: clamp(2.4rem, 5vw, 4rem);
  padding-bottom: clamp(2.6rem, 6vw, 5rem);
}

.break-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 40%),
    linear-gradient(130deg, #072f67 0%, #042755 45%, #021a3c 100%);
  min-height: 540px;
  box-shadow: 0 26px 58px rgba(2, 19, 46, 0.46);
  transition: background 0.42s ease, border-color 0.42s ease, box-shadow 0.42s ease;
}

.break-controls {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  right: 0.8rem;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.6rem;
}

.break-phases {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.phase {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 248, 255, 0.7);
}

.phase.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(246, 178, 76, 0.55);
}

.phase[data-phase="1"].is-active {
  background: rgba(231, 79, 79, 0.24);
  border-color: rgba(255, 120, 120, 0.72);
  color: #ffd8d8;
}

.phase[data-phase="2"].is-active {
  background: rgba(70, 196, 131, 0.24);
  border-color: rgba(120, 231, 176, 0.64);
  color: #d7ffe9;
}

.break-skip {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(5, 16, 38, 0.6);
  color: #f5f8ff;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.break-progress {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  top: 2.8rem;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 8;
  overflow: hidden;
}

.break-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #57cbd0, #f6b24c);
  transition: background 0.4s ease;
}

.break-noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.25;
  pointer-events: none;
}

.break-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 40%, transparent 35%, rgba(1, 8, 20, 0.44) 100%);
}

.break-scene {
  position: absolute;
  inset: 1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(10, 21, 43, 0.72), rgba(6, 13, 29, 0.96));
  transition: background 0.42s ease, border-color 0.42s ease;
}

.break-alert {
  position: absolute;
  top: auto;
  left: auto;
  right: 0.9rem;
  bottom: 1rem;
  transform: none;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(3, 14, 33, 0.9);
  color: rgba(245, 250, 255, 0.98);
  padding: 0.28rem 0.62rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(1, 8, 20, 0.42);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  pointer-events: none;
}

.break-alert.state-stable {
  border-color: rgba(130, 233, 181, 0.44);
}

.break-alert.state-critical {
  border-color: rgba(255, 110, 110, 0.74);
  background: rgba(58, 10, 14, 0.92);
  color: #ffe0e0;
  box-shadow: 0 10px 24px rgba(58, 10, 14, 0.5);
}

.break-alert.state-recovering {
  border-color: rgba(137, 239, 188, 0.62);
  background: rgba(8, 32, 24, 0.88);
  color: #ddffec;
  box-shadow: 0 10px 24px rgba(8, 32, 24, 0.42);
}

.alert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5ad88f;
  box-shadow: 0 0 10px rgba(90, 216, 143, 0.55);
}

.break-errors {
  position: absolute;
  top: 3.65rem;
  left: 0.7rem;
  z-index: 8;
  display: grid;
  gap: 0.34rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.break-errors span {
  display: inline-block;
  width: fit-content;
  border: 1px solid rgba(255, 120, 120, 0.58);
  border-radius: 7px;
  background: rgba(67, 12, 20, 0.7);
  color: #ffd6db;
  font-size: 0.61rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.2rem 0.4rem;
}

.break-scene::before {
  content: "";
  position: absolute;
  inset: -8% -4%;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(166deg, transparent 33%, rgba(255, 255, 255, 0.5) 33.3% 34%, transparent 34.3%),
    linear-gradient(14deg, transparent 54%, rgba(255, 255, 255, 0.46) 54.2% 54.8%, transparent 55%),
    linear-gradient(122deg, transparent 70%, rgba(255, 112, 112, 0.45) 70.2% 70.8%, transparent 71%);
  mix-blend-mode: screen;
  transition: opacity 0.2s ease;
}

.break-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    repeating-linear-gradient(106deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(-78deg, rgba(87, 203, 208, 0.12) 0 1px, transparent 1px 17px);
  mix-blend-mode: screen;
  transition: opacity 0.18s ease;
}

.break-slice {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
  transform-origin: center;
}

.slice-top {
  top: 0;
  height: 30%;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.slice-mid {
  top: 27%;
  height: 42%;
  clip-path: polygon(0 8%, 100% 0, 100% 90%, 0 100%);
}

.slice-bottom {
  bottom: 0;
  height: 36%;
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
}

.break-sim {
  height: 100%;
  padding: clamp(0.6rem, 2vw, 1rem);
  background:
    radial-gradient(circle at 70% 20%, rgba(246, 178, 76, 0.16), transparent 38%),
    radial-gradient(circle at 20% 80%, rgba(87, 203, 208, 0.16), transparent 40%),
    linear-gradient(165deg, #0b3369 0%, #062956 55%, #031b3a 100%);
  transition: background 0.42s ease;
}

.sim-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.sim-nav img {
  width: clamp(102px, 16vw, 146px);
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  max-height: 34px;
}

.sim-nav span {
  display: block;
  width: 68px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.sim-hero {
  width: 64%;
  height: 28%;
  border-radius: 10px;
  margin-bottom: 0.9rem;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
}

.sim-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.sim-grid span {
  height: 76px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.sim-footer {
  width: 100%;
  height: 64%;
  margin-top: 0.6rem;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.24) 14%, transparent 14% 16%, rgba(255, 255, 255, 0.18) 16% 42%, transparent 42% 44%, rgba(255, 255, 255, 0.22) 44% 100%);
}

.break-rgb {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  filter: blur(0.6px);
}

.break-rgb-a {
  background: linear-gradient(90deg, rgba(87, 203, 208, 0.36), transparent 40%);
}

.break-rgb-b {
  background: linear-gradient(270deg, rgba(246, 178, 76, 0.38), transparent 36%);
}

.break-shards {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.break-shard {
  position: absolute;
  display: block;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.34), rgba(87, 203, 208, 0.36));
  mix-blend-mode: screen;
  opacity: 0.62;
  box-shadow: 0 0 14px rgba(87, 203, 208, 0.26);
}

.break-shard.s1 {
  width: 38%;
  height: 2px;
  left: -2%;
  top: 22%;
  transform: rotate(-9deg);
}

.break-shard.s2 {
  width: 45%;
  height: 2px;
  right: -6%;
  top: 44%;
  transform: rotate(14deg);
}

.break-shard.s3 {
  width: 2px;
  height: 80%;
  left: 62%;
  top: -10%;
  transform: rotate(8deg);
}

.break-shard.s4 {
  width: 2px;
  height: 62%;
  left: 22%;
  bottom: -8%;
  transform: rotate(-14deg);
}

.break-shard.s5 {
  width: 58%;
  height: 2px;
  left: 18%;
  top: 66%;
  transform: rotate(-4deg);
}

.break-copy {
  position: relative;
  z-index: 4;
  max-width: 70ch;
  padding: clamp(1rem, 3.2vw, 2rem);
  padding-top: clamp(14rem, 20vw, 19rem);
  color: #f5f8ff;
}

.break-copy h2 {
  margin: 0.45rem 0 0.75rem;
  font-size: clamp(1.55rem, 3.8vw, 3rem);
  max-width: 18ch;
  text-shadow: 0 2px 16px rgba(1, 8, 20, 0.38);
}

.break-line {
  display: block;
}

.break-strong {
  color: #f6c068;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 10px rgba(1, 8, 20, 0.5);
}

.break-copy p {
  margin: 0;
  color: rgba(245, 248, 255, 0.9);
  max-width: 62ch;
  text-shadow: 0 1px 10px rgba(1, 8, 20, 0.32);
}

.break-copy .btn {
  margin-top: 1rem;
}

.break-frame.is-active {
  animation: frame-glitch 0.18s steps(2) 6;
}

.break-frame.is-breaking {
  animation: frame-glitch 0.12s steps(2) infinite;
  border-color: rgba(255, 104, 104, 0.58);
  box-shadow: 0 28px 58px rgba(39, 7, 11, 0.5);
}

.break-frame.is-breaking .break-scene::after {
  opacity: 0.5;
}

.break-frame.is-breaking .break-scene::before {
  opacity: 0.72;
}

.break-frame.is-breaking .break-rgb {
  filter: blur(1.1px);
}

.break-frame.is-breaking .break-sim {
  filter: grayscale(0.75) contrast(1.22) brightness(0.8);
}

.break-frame.is-breaking .break-errors {
  opacity: 1;
  transform: translateY(0);
}

.break-frame.is-breaking .alert-dot {
  background: #f25c5c;
  box-shadow: 0 0 12px rgba(242, 92, 92, 0.65);
}

.break-frame.is-breaking .break-alert {
  animation: badge-shake 0.16s linear infinite;
}

@keyframes badge-shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-1px); }
  50% { transform: translateX(1px); }
  75% { transform: translateX(-1px); }
  100% { transform: translateX(0); }
}

.break-frame.is-active .break-shard {
  animation: shard-shift 0.2s steps(2) 7;
}

.break-frame.is-active .break-rgb {
  animation: rgb-flicker 0.14s steps(2) 8;
}

.break-frame.is-stable .break-shard {
  opacity: 0.18;
  animation: none;
}

.break-frame.is-stable .break-rgb {
  opacity: 0;
  animation: none;
}

@keyframes frame-glitch {
  0% { transform: translateX(0); filter: hue-rotate(0deg); }
  25% { transform: translateX(-3px); filter: hue-rotate(18deg); }
  50% { transform: translateX(3px); filter: hue-rotate(-8deg); }
  75% { transform: translateX(-1px); filter: hue-rotate(12deg); }
  100% { transform: translateX(0); filter: hue-rotate(0deg); }
}

@keyframes shard-shift {
  0% { transform: translateX(0) translateY(0) rotate(0deg); }
  30% { transform: translateX(-12px) translateY(4px) rotate(-5deg); }
  60% { transform: translateX(10px) translateY(-6px) rotate(6deg); }
  100% { transform: translateX(0) translateY(0) rotate(0deg); }
}

@keyframes rgb-flicker {
  0% { opacity: 0; }
  25% { opacity: 0.56; }
  50% { opacity: 0.18; }
  75% { opacity: 0.44; }
  100% { opacity: 0; }
}

.section-head {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-head::before {
  content: "";
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #57cbd0, #f6b24c);
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  max-width: 18ch;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 68ch;
}

.section-head-split {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}

.impact-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), #ffffff);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.impact-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.15rem;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(6, 44, 96, 0.12);
}

.impact-value {
  font-family: "Syne", "Manrope", sans-serif;
  font-size: 3rem;
  margin: 0;
  line-height: 1;
  color: #083c80;
}

.impact-value span + span {
  font-size: 1.2rem;
}

.impact-card h3 {
  margin: 0.5rem 0 0.45rem;
  font-size: 1.24rem;
}

.impact-card p {
  margin: 0;
  color: var(--muted);
}

.services-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  transition: background 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-areas:
    "feature a b"
    "feature c d";
  gap: 1rem;
}

.service-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.service-card {
  border: 1px solid #d8e2f0;
  border-radius: var(--radius);
  background: #fff;
  padding: 1.2rem;
  box-shadow: 0 10px 26px rgba(6, 44, 96, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(6, 44, 96, 0.13);
}

.service-card.service-active {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.service-card.service-inactive {
  opacity: 0.38;
  transform: scale(0.96);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.service-card-feature {
  background: linear-gradient(160deg, #08397a, #0d4a88);
  color: #fff;
}

.card-kicker {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4c709f;
  font-weight: 800;
}

.service-card-feature .card-kicker {
  color: #ffd693;
}

.service-card h3 {
  margin: 0.48rem 0 0.55rem;
  font-size: 1.3rem;
}

.service-card p {
  margin: 0;
  color: #516985;
}

.service-card-feature p,
.service-card-feature h3 {
  color: #fff;
}

.capabilities-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(87, 203, 208, 0.09), transparent 34%),
    radial-gradient(circle at 92% 86%, rgba(246, 178, 76, 0.11), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.capability-card {
  border: 1px solid #d9e4f2;
  border-radius: var(--radius);
  background: linear-gradient(170deg, #ffffff 0%, #f9fbff 100%);
  padding: 1.1rem;
  box-shadow: 0 10px 26px rgba(6, 44, 96, 0.08);
}

.capability-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.04rem;
  line-height: 1.35;
  color: #072f67;
}

.capability-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.capability-card li {
  padding: 0.38rem 0.55rem;
  border: 1px solid rgba(6, 44, 96, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #29496f;
}

.capability-extra {
  display: none;
}

.capability-card.is-expanded .capability-extra {
  display: block;
}

.capability-toggle {
  margin-top: 0.75rem;
  border: 1px solid rgba(6, 44, 96, 0.18);
  background: #ffffff;
  color: #0a3f7a;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.34rem 0.66rem;
  cursor: pointer;
}

.capability-toggle:hover {
  background: rgba(6, 44, 96, 0.04);
}

.projects-section {
  background:
    radial-gradient(circle at 14% 12%, rgba(87, 203, 208, 0.13), transparent 36%),
    radial-gradient(circle at 88% 85%, rgba(246, 178, 76, 0.14), transparent 38%),
    #ffffff;
}

.projects-filter-header {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(6, 44, 96, 0.03), rgba(87, 203, 208, 0.02));
  border: 1px solid rgba(6, 44, 96, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(4px);
}

.projects-filter-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(6, 44, 96, 0.66);
  font-weight: 700;
}

.projects-filter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 0.95rem;
}

.projects-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(6, 44, 96, 0.18);
  color: #062c60;
  background: rgba(6, 44, 96, 0.06);
}

.projects-filter-pill-ghost {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(6, 44, 96, 0.12);
}

.filter-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem;
  width: 100%;
}

.filter-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(6, 44, 96, 0.15);
  background: #ffffff;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 500;
  font-size: 0.88rem;
  color: #062c60;
  box-shadow: 0 2px 8px rgba(6, 44, 96, 0.04);
}

.filter-tab:hover {
  border-color: var(--brand-dynamic, rgba(6, 44, 96, 0.3));
  background: rgba(6, 44, 96, 0.02);
  transform: translateY(-2px);
}

.filter-tab.is-active {
  border-color: var(--brand-dynamic, #57cbd0);
  background: linear-gradient(135deg, var(--brand-dynamic, #57cbd0), var(--brand-dynamic, #57cbd0));
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(87, 203, 208, 0.25);
  transform: translateY(-2px);
}

.filter-icon {
  font-size: 1.4rem;
  display: inline-block;
}

.filter-label {
  font-size: 0.85rem;
  font-weight: 600;
}

.projects-filter-hint {
  margin: 0.95rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(6, 44, 96, 0.82);
  max-width: 72ch;
}

.case-stack {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.case-card {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: linear-gradient(170deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #d2deef;
  border-radius: 20px;
  padding: 0.82rem;
  box-shadow: 0 16px 34px rgba(6, 44, 96, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.35s ease;
  opacity: 1;
}

.case-card.is-featured {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
  padding: 1rem;
}

.case-card.is-featured .case-copy {
  position: relative;
}

.case-card.is-featured .card-kicker::after {
  display: inline-flex;
  margin-left: 0.55rem;
  padding: 0.1rem 0.48rem;
  border-radius: 999px;
  font-size: 0.63rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(6, 44, 96, 0.09);
  border: 1px solid rgba(6, 44, 96, 0.16);
  color: rgba(6, 44, 96, 0.78);
  vertical-align: middle;
}

.case-stack.template-web-conversion .case-card.is-featured {
  border: 1px solid rgba(87, 203, 208, 0.45);
  background:
    radial-gradient(circle at 86% 12%, rgba(87, 203, 208, 0.14), transparent 30%),
    linear-gradient(170deg, #ffffff 0%, #f3fbfd 100%);
}

.case-stack.template-web-conversion .case-card.is-featured .card-kicker::after {
  background: rgba(87, 203, 208, 0.16);
  border-color: rgba(87, 203, 208, 0.45);
  color: #0b4e5a;
}

.case-stack.template-web-conversion .case-card.is-featured .case-result {
  border-top-color: rgba(87, 203, 208, 0.35);
}

.case-stack.template-redesign .case-card.is-featured {
  border: 1px solid rgba(246, 178, 76, 0.42);
  background:
    linear-gradient(165deg, rgba(246, 178, 76, 0.11), rgba(255, 255, 255, 0.95) 45%),
    repeating-linear-gradient(
      -12deg,
      rgba(6, 44, 96, 0.03) 0,
      rgba(6, 44, 96, 0.03) 1px,
      transparent 1px,
      transparent 11px
    );
}

.case-stack.template-redesign .case-card.is-featured .card-kicker::after {
  background: rgba(246, 178, 76, 0.2);
  border-color: rgba(246, 178, 76, 0.5);
  color: #7a4a00;
}

.case-stack.template-redesign .case-card.is-featured .case-copy h3 {
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.case-stack.template-mobile-app .case-card.is-featured {
  border: 1px solid rgba(123, 104, 238, 0.42);
  background:
    radial-gradient(circle at 16% 88%, rgba(123, 104, 238, 0.16), transparent 38%),
    linear-gradient(170deg, #fcfbff 0%, #f7f4ff 100%);
}

.case-stack.template-mobile-app .case-card.is-featured .card-kicker::after {
  background: rgba(123, 104, 238, 0.18);
  border-color: rgba(123, 104, 238, 0.5);
  color: #3a2e8a;
}

.case-stack.template-mobile-app .case-card.is-featured figure {
  border-radius: 24px;
}

.case-stack.template-infrastructure .case-card.is-featured {
  border: 1px solid rgba(16, 185, 129, 0.48);
  background:
    linear-gradient(170deg, #f9fffc 0%, #eefaf4 100%);
  box-shadow: 0 18px 34px rgba(2, 79, 50, 0.14);
}

.case-stack.template-infrastructure .case-card.is-featured .card-kicker::after {
  background: rgba(16, 185, 129, 0.17);
  border-color: rgba(16, 185, 129, 0.48);
  color: #0c5b43;
}

.case-stack.template-infrastructure .case-card.is-featured .case-copy {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

.case-stack.template-all .case-card.is-featured {
  border: 1px solid rgba(6, 44, 96, 0.18);
}

.case-card.project-visible {
  opacity: 1;
  visibility: visible;
}

.case-card.project-hidden {
  display: none;
}

.case-card:hover {
  transform: translateY(-6px) scale(1.005);
  box-shadow: 0 26px 46px rgba(6, 44, 96, 0.16);
}

.case-card.reverse {
  direction: ltr;
}

.case-card figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  min-height: 185px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.case-card.is-featured figure {
  min-height: 290px;
}

.case-visual {
  position: relative;
  display: grid;
  place-items: center;
  background: linear-gradient(165deg, #082f64 0%, #0a447f 65%, #056488 100%);
}

.case-live img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.35) contrast(1.05) brightness(0.84);
  transform: scale(1.01);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.case-live::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(87, 203, 208, 0.3), transparent 38%),
    radial-gradient(circle at 82% 80%, rgba(246, 178, 76, 0.26), transparent 42%),
    linear-gradient(145deg, rgba(6, 44, 96, 0.5), rgba(6, 44, 96, 0.28));
  mix-blend-mode: screen;
  pointer-events: none;
}

.case-card:hover .case-live img {
  transform: scale(1.045);
  filter: saturate(0.42) contrast(1.08) brightness(0.88);
}

.case-visual::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.case-visual span {
  position: absolute;
  display: block;
  border-radius: 999px;
}

.case-visual span:nth-child(1) {
  width: 62%;
  height: 9px;
  top: 18%;
  left: 14%;
  background: rgba(255, 255, 255, 0.62);
}

.case-placeholder {
  background:
    radial-gradient(circle at 18% 20%, rgba(87, 203, 208, 0.32), transparent 38%),
    radial-gradient(circle at 82% 75%, rgba(246, 178, 76, 0.28), transparent 42%),
    linear-gradient(145deg, rgba(6, 44, 96, 0.92), rgba(8, 62, 119, 0.88));
}

.placeholder-shell {
  position: relative;
  z-index: 2;
  width: min(88%, 360px);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(5px);
  color: #ffffff;
  text-align: left;
}

.placeholder-shell strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.3rem;
}

.placeholder-shell p {
  margin: 0;
  font-size: 0.84rem;
  opacity: 0.92;
}

.placeholder-shell span {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.case-visual span:nth-child(2) {
  width: 36%;
  height: 9px;
  top: 26%;
  left: 14%;
  background: rgba(255, 255, 255, 0.36);
}

.case-visual span:nth-child(3) {
  width: 70%;
  height: 70px;
  bottom: 16%;
  left: 14%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.case-copy {
  padding: 0.3rem 0.35rem;
}

.case-copy h3 {
  font-size: 1.18rem;
  margin-bottom: 0.45rem;
  line-height: 1.24;
}

.case-card.is-featured .case-copy h3 {
  font-size: 1.45rem;
}

.case-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.case-copy .card-kicker {
  color: #3a5e89;
  font-size: 0.78rem;
  margin-bottom: 0.35rem;
}

.case-copy ul {
  margin: 0.65rem 0 0;
  padding-left: 1rem;
  color: #305178;
  font-size: 0.9rem;
}

.case-card:not(.is-featured) .case-copy ul {
  display: none;
}

.case-card:not(.is-featured) .case-copy p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-copy li + li {
  margin-top: 0.3rem;
}

.case-result {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e0eaf5;
}

.result-badge {
  display: inline-block;
  background: linear-gradient(90deg, #57cbd0, #c8f0f3);
  color: #005a63;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.decision-section {
  background: linear-gradient(180deg, #f4f8fd 0%, #ffffff 100%);
}

.decision-shell {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid #d8e2ef;
  border-radius: 20px;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 12px 26px rgba(6, 44, 96, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.decision-shell:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(6, 44, 96, 0.14);
}

.decision-shell h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  max-width: 15ch;
}

.decision-list {
  margin: 0;
  padding-left: 1rem;
  color: #3d5d86;
}

.decision-list li + li {
  margin-top: 0.35rem;
}

.funnel-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.funnel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.funnel-card {
  border: 1px solid #d7e3f2;
  border-radius: 18px;
  background: linear-gradient(170deg, #ffffff 0%, #f8fbff 100%);
  padding: 1rem;
  box-shadow: 0 12px 26px rgba(6, 44, 96, 0.08);
  display: grid;
  align-content: start;
  gap: 0.5rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.funnel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px rgba(6, 44, 96, 0.14);
}

.funnel-card h3 {
  font-size: 1.22rem;
}

.funnel-card p {
  margin: 0;
  color: #4b6686;
}

.funnel-card .btn {
  margin-top: 0.35rem;
  width: 100%;
}

.funnel-card .btn-secondary {
  background: #f7fbff;
  border-color: #c8dbf1;
}

.ai-section {
  background: linear-gradient(130deg, #072f67 0%, #043a6e 60%, #04527a 100%);
  color: #f2f7ff;
}

.trust-strip {
  padding-top: clamp(1.4rem, 3vw, 2.3rem);
  padding-bottom: clamp(1.4rem, 3vw, 2.3rem);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.trust-shell {
  display: grid;
  gap: 0.7rem;
}

.trust-shell p {
  margin: 0;
  color: #48678f;
  font-weight: 700;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.trust-list span {
  border: 1px solid #d8e4f4;
  border-radius: 999px;
  background: #ffffff;
  color: #31567f;
  padding: 0.3rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.ai-shell {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  padding: clamp(1.2rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.ai-shell .card-kicker {
  color: #ffd695;
}

.ai-shell p {
  color: rgba(242, 247, 255, 0.85);
}

.ai-points {
  display: grid;
  gap: 0.85rem;
}

.ai-points article {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
}

.ai-points h3 {
  font-size: 1.08rem;
  margin-bottom: 0.3rem;
}

.ai-points p {
  margin: 0;
}

.process-section {
  background: var(--surface-soft);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.step {
  border: 1px solid #d9e3f0;
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 22px rgba(6, 44, 96, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(6, 44, 96, 0.14);
}

.step strong {
  color: #f6b24c;
  letter-spacing: 0.08em;
}

.step h3 {
  font-size: 1.08rem;
  margin: 0.42rem 0;
}

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

.offer-section {
  background: #ffffff;
}

.offer-shell {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 1rem;
  align-items: center;
  border-radius: 20px;
  border: 1px solid #d5e0ef;
  background: linear-gradient(115deg, #083974, #0b457f 55%, #0a5586);
  color: #f3f8ff;
  padding: 1rem;
}

.offer-shell h2 {
  font-size: clamp(1.5rem, 2.7vw, 2.3rem);
}

.offer-shell p {
  margin: 0.55rem 0 0;
  color: rgba(243, 248, 255, 0.85);
}

.offer-shell ul {
  margin: 0;
  padding-left: 1rem;
  color: rgba(243, 248, 255, 0.92);
}

.offer-shell li + li {
  margin-top: 0.3rem;
}

.offer-shell .btn-primary {
  background: linear-gradient(100deg, #f6b24c, #ffd07a);
  color: #203046;
}

.section-contact {
  background: #fff;
}

.contact-panel {
  border: 1px solid #d7e2ef;
  border-radius: 24px;
  background: linear-gradient(180deg, #f9fbfe 0%, #f4f8fd 100%);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  margin: 0.35rem 0 0.55rem;
}

.contact-panel > p {
  margin: 0;
  color: var(--muted);
}

.form-status {
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status.success {
  background: #d9f4ea;
  color: #155440;
  border: 1px solid #9fdbbf;
}

.form-status.error {
  background: #ffe8e8;
  color: #8b1a1a;
  border: 1px solid #f5b9b9;
}

.contact-form {
  margin-top: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.form-grid label {
  font-size: 0.83rem;
  color: #33547d;
  font-weight: 700;
  display: grid;
  gap: 0.35rem;
}

.form-grid label.full {
  grid-column: span 2;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  border: 1px solid #c7d7ea;
  border-radius: 10px;
  background: #fff;
  padding: 0.65rem 0.74rem;
  color: #0c3569;
  font-family: inherit;
  font-size: 0.94rem;
}

.channel-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.channel-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #c9d9ec;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  color: #30557e;
}

.channel-options input {
  margin: 0;
  accent-color: #0a4b86;
}

.contact-form .btn {
  margin-top: 0.8rem;
}

.contact-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.contact-chip {
  border-radius: 999px;
  border: 1px solid #d0dff1;
  background: #fff;
  color: #234a7c;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(6, 44, 96, 0.12);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: #607b9f;
  background: #fff;
  padding: 1.2rem 0 1.6rem;
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-motion [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-tilt] {
  transition: transform 0.22s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalClose {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.92);
  }
}

@keyframes backdropFade {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.intent-toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #57cbd0, #3ba7ae);
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 24px rgba(87, 203, 208, 0.3);
  font-size: 0.95rem;
  z-index: 100;
  transition: bottom 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: auto;
}

.intent-toast.show {
  bottom: 2rem;
}

.intent-toast span {
  font-size: 1.3rem;
}

@media (max-width: 980px) {
  .intent-modal {
    align-items: center;
    justify-content: center;
    padding: calc(10px + env(safe-area-inset-top)) 10px calc(10px + env(safe-area-inset-bottom));
  }

  .intent-panel {
    width: min(96vw, 560px);
    max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 20px);
    border-radius: 22px;
    padding: 1.15rem 1rem 1.05rem;
  }

  .intent-panel > p {
    margin-bottom: 1rem;
  }

  .intent-options {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .intent-option {
    padding: 0.85rem;
  }

  .intent-option small {
    font-size: 0.76rem;
  }

  .menu-list {
    display: none;
  }

  .hero-layout,
  .section-head-split,
  .impact-grid,
  .decision-shell,
  .funnel-grid,
  .service-grid,
  .service-grid-full,
  .ai-shell,
  .process-timeline,
  .offer-shell,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-areas:
      "feature"
      "a"
      "b"
      "c"
      "d";
  }

  .case-card,
  .case-card.reverse,
  .case-card.is-featured {
    grid-column: span 12;
    grid-template-columns: 1fr;
  }

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

  .case-stack {
    grid-template-columns: 1fr;
  }

  .case-card figure,
  .case-card.is-featured figure {
    min-height: 220px;
  }

  .projects-filter-hint {
    font-size: 0.88rem;
  }

  .form-grid label.full {
    grid-column: span 1;
  }

  .form-grid label {
    font-size: 0.9rem;
  }

  .form-grid input,
  .form-grid textarea,
  .form-grid select {
    padding: 0.95rem 0.85rem;
    font-size: 1.05rem;
  }

  .form-grid select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230c3569' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.2rem;
  }

  .hero-stage {
    min-height: 360px;
  }

  .break-frame {
    min-height: 290px;
  }

  .break-scene {
    inset: 0.65rem;
  }

  .break-controls {
    top: 0.55rem;
    left: 0.55rem;
    right: 0.55rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.45rem;
  }

  .break-alert {
    top: auto;
    left: auto;
    right: 0.55rem;
    bottom: 0.75rem;
    transform: none;
    font-size: 0.62rem;
    padding: 0.22rem 0.48rem;
    max-width: calc(100% - 1.4rem);
  }

  .break-phases {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0.32rem;
    padding-bottom: 0.08rem;
  }

  .break-phases::-webkit-scrollbar {
    display: none;
  }

  .phase {
    white-space: nowrap;
    font-size: 0.62rem;
    padding: 0.16rem 0.42rem;
  }

  .break-skip {
    font-size: 0.66rem;
    padding: 0.2rem 0.54rem;
  }

  .break-progress {
    left: 0.55rem;
    right: 0.55rem;
    top: 2.45rem;
  }

  .break-copy {
    padding-top: clamp(11rem, 25vw, 13.5rem);
  }

  .sim-nav span {
    width: 30px;
    height: 6px;
    flex: 0 0 auto;
  }

  .sim-nav {
    gap: 0.35rem;
    flex-wrap: nowrap;
  }

  .sim-nav img {
    width: clamp(78px, 20vw, 108px);
    height: auto;
    max-height: 26px;
  }

  .sim-grid span {
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
