:root {
  --primary-dark: #06101f;
  --secondary-dark: #09182b;
  --deep-navy: #0b1c33;
  --blue: #1479ff;
  --cyan: #08bfff;
  --light-blue: #7ddcff;
  --white: #ffffff;
  --soft: #f5f8fc;
  --soft-2: #eef4fb;
  --soft-grey: #aab6c7;
  --muted: #64748b;
  --dark-text: #0b1730;
  --border-light: rgba(255, 255, 255, 0.1);
  --border-dark: rgba(11, 23, 48, 0.1);
  --gradient: linear-gradient(135deg, #1479ff, #08bfff);
  --gradient-soft: linear-gradient(135deg, rgba(20, 121, 255, 0.16), rgba(8, 191, 255, 0.08));
  --shadow-soft: 0 18px 50px rgba(7, 23, 48, 0.12);
  --shadow-dark: 0 24px 70px rgba(0, 8, 20, 0.45);
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--dark-text);
  background: var(--white);
  font-family: Inter, Manrope, "Plus Jakarta Sans", Sora, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: var(--white);
  background: var(--blue);
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 2000;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  transition: transform 250ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
  position: relative;
}

.section-light {
  background: var(--white);
}

.section-soft {
  background:
    radial-gradient(circle at 12% 15%, rgba(8, 191, 255, 0.09), transparent 32%),
    linear-gradient(180deg, #f8fbff, var(--soft));
}

.section-dark {
  color: var(--white);
  background: var(--primary-dark);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 5rem;
  font-weight: 900;
}

h1 span,
h2 span,
.brand-text strong {
  color: transparent;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
}

h2 {
  margin-bottom: 18px;
  color: inherit;
  font-size: 3.35rem;
  font-weight: 850;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 800;
}

.section-heading p,
.split-copy > p,
.hero-lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-dark .section-heading p,
.section-dark .split-copy > p,
.section-dark .hero-lead {
  color: rgba(222, 232, 244, 0.78);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 260ms var(--ease),
    border-color 260ms var(--ease),
    background 260ms var(--ease),
    color 260ms var(--ease),
    box-shadow 260ms var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 260ms var(--ease);
}

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

.btn:hover svg {
  transform: translateX(3px);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(125, 220, 255, 0.75);
  outline-offset: 3px;
}

.btn-primary {
  color: var(--white);
  background: var(--gradient);
  box-shadow: 0 14px 34px rgba(20, 121, 255, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 18px 42px rgba(8, 191, 255, 0.38);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
}

.btn-secondary:hover {
  color: var(--light-blue);
  border-color: rgba(125, 220, 255, 0.55);
  background: rgba(8, 191, 255, 0.08);
}

.btn-outline {
  color: var(--blue);
  background: rgba(20, 121, 255, 0.06);
  border-color: rgba(20, 121, 255, 0.18);
}

.btn-outline:hover {
  color: var(--white);
  background: var(--gradient);
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(20, 121, 255, 0.22);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 86px;
  color: var(--white);
  transition:
    height 260ms var(--ease),
    background 260ms var(--ease),
    border-color 260ms var(--ease),
    box-shadow 260ms var(--ease);
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(6, 16, 31, 0.82);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 900;
  transition: transform 260ms var(--ease);
}

.brand:hover {
  transform: scale(1.02);
}

.brand-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(125, 220, 255, 0.3);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 18%, rgba(125, 220, 255, 0.45), rgba(20, 121, 255, 0.15) 42%, rgba(255, 255, 255, 0.04));
  box-shadow: 0 12px 28px rgba(8, 191, 255, 0.17);
}

.brand-icon img {
  width: 110%;
  height: 110%;
  object-fit: cover;
  object-position: 50% 30%;
  transform: scale(1.9);
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--white);
  font-size: 1.24rem;
  letter-spacing: 0;
}

.brand-text strong {
  font-weight: 950;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 750;
  transition: color 220ms var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 999px;
  background: var(--gradient);
  transition: transform 260ms var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
}

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

.nav-cta {
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 260ms var(--ease), opacity 260ms var(--ease);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: 90vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px 0 86px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 10, 22, 0.97) 0%, rgba(3, 10, 22, 0.82) 42%, rgba(3, 10, 22, 0.35) 75%, rgba(3, 10, 22, 0.2) 100%),
    url("assets/images/hero-mediterranean-resort.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(180deg, transparent, var(--primary-dark));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  max-width: 710px;
}

.hero-copy .eyebrow {
  color: var(--light-blue);
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(236, 244, 255, 0.82);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 750;
}

.check {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(20, 121, 255, 0.95), rgba(8, 191, 255, 0.95));
  box-shadow: 0 8px 18px rgba(8, 191, 255, 0.22);
}

.check::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg) translateY(-1px);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.device-orbit {
  position: absolute;
  inset: 36px -22px 28px 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(8, 191, 255, 0.24), transparent 60%),
    radial-gradient(circle at 65% 18%, rgba(125, 220, 255, 0.18), transparent 34%);
  filter: blur(8px);
}

.device {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
  box-shadow: var(--shadow-dark);
}

.device-screen,
.desktop-screen,
.tablet-device,
.phone-device,
.new-window {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.screen-azure {
  background-image:
    linear-gradient(180deg, rgba(6, 16, 31, 0.08), rgba(6, 16, 31, 0.42)),
    url("assets/images/luxury-seaside-hotel.jpg");
}

.screen-ember {
  background-image:
    linear-gradient(180deg, rgba(6, 16, 31, 0.02), rgba(6, 16, 31, 0.72)),
    url("assets/images/ember-restaurant.jpg");
}

.screen-pine {
  background-image:
    linear-gradient(180deg, rgba(6, 16, 31, 0.04), rgba(6, 16, 31, 0.5)),
    url("assets/images/pine-glamping-camp.jpg");
}

.device-laptop {
  right: 18px;
  top: 92px;
  width: 520px;
  height: 332px;
  padding: 12px;
  border-radius: 22px;
}

.device-top,
.browser-top {
  display: flex;
  gap: 7px;
  height: 22px;
  align-items: center;
}

.device-top span,
.browser-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
}

.device-screen {
  height: calc(100% - 22px);
  border-radius: 14px;
}

.laptop-base {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -16px;
  height: 18px;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, rgba(208, 220, 235, 0.4), rgba(72, 92, 120, 0.22));
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.24));
}

.device-tablet {
  left: 4px;
  bottom: 56px;
  width: 210px;
  height: 284px;
  padding: 10px;
  border-radius: 24px;
  transform: rotate(-5deg);
}

.device-tablet .device-screen,
.device-phone .device-screen {
  height: 100%;
}

.device-phone {
  right: 18px;
  bottom: 24px;
  width: 142px;
  height: 266px;
  padding: 12px 8px 9px;
  border-radius: 28px;
  transform: rotate(6deg);
}

.phone-speaker {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  width: 38px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.device-phone .device-screen {
  border-radius: 20px;
}

.screen-nav,
.screen-title,
.screen-row,
.screen-chip,
.screen-stack,
.screen-button {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.screen-nav {
  top: 18px;
  left: 22px;
  width: 45%;
  height: 8px;
}

.screen-title {
  left: 22px;
  bottom: 64px;
  width: 58%;
  height: 16px;
}

.screen-title.small {
  bottom: 46px;
  width: 68%;
  height: 12px;
}

.screen-title.tiny {
  left: 14px;
  bottom: 54px;
  width: 72%;
  height: 10px;
}

.screen-row {
  left: 22px;
  right: 22px;
  bottom: 28px;
  display: flex;
  gap: 8px;
  height: 24px;
  background: transparent;
}

.screen-row span,
.screen-stack span {
  display: block;
  flex: 1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.screen-chip {
  left: 16px;
  top: 20px;
  width: 56px;
  height: 8px;
}

.screen-stack {
  left: 16px;
  right: 16px;
  bottom: 18px;
  display: flex;
  gap: 7px;
  height: 18px;
  background: transparent;
}

.screen-button {
  left: 14px;
  bottom: 24px;
  width: 72px;
  height: 18px;
  background: var(--gradient);
}

.hero-decoration .glow {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(34px);
}

.glow-one {
  right: 14%;
  top: 18%;
  width: 190px;
  height: 190px;
  background: rgba(8, 191, 255, 0.18);
}

.glow-two {
  left: 6%;
  bottom: 14%;
  width: 130px;
  height: 130px;
  background: rgba(20, 121, 255, 0.16);
}

.curve {
  position: absolute;
  z-index: 1;
  right: 34%;
  top: 22%;
  width: 180px;
  height: 180px;
  border-top: 1px solid rgba(125, 220, 255, 0.32);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.particle {
  position: absolute;
  z-index: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(125, 220, 255, 0.75);
  box-shadow: 0 0 18px rgba(125, 220, 255, 0.8);
}

.p1 { left: 11%; top: 27%; }
.p2 { right: 29%; top: 68%; }
.p3 { right: 10%; top: 36%; }

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 3;
  width: 28px;
  height: 44px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
}

.scroll-indicator span {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 5px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--light-blue);
  animation: scrollDot 1.8s infinite;
}

.trust-bar {
  color: var(--white);
  background: linear-gradient(180deg, var(--primary-dark), var(--secondary-dark));
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-bar-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.trust-bar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.category-strip span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.category-strip span:last-child {
  border-right: 0;
  padding-right: 0;
}

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

.service-card {
  position: relative;
  min-height: 286px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(7, 23, 48, 0.06);
  transition:
    transform 300ms var(--ease),
    border-color 300ms var(--ease),
    box-shadow 300ms var(--ease);
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(20, 121, 255, 0.34);
  box-shadow: var(--shadow-soft);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--blue);
  border-radius: 16px;
  background: rgba(20, 121, 255, 0.08);
  transition: background 300ms var(--ease), color 300ms var(--ease);
}

.service-card:hover .service-icon {
  color: var(--white);
  background: var(--gradient);
}

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

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

.service-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 850;
}

.industries {
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(8, 191, 255, 0.16), transparent 32%),
    linear-gradient(180deg, var(--secondary-dark), var(--primary-dark));
}

.industries .section-heading {
  max-width: 850px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 255px;
  gap: 18px;
}

.industry-card {
  position: relative;
  grid-column: span 2;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: #12243a;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.industry-large {
  grid-column: span 3;
  grid-row: span 2;
}

.industry-card:nth-child(2),
.industry-card:nth-child(3) {
  grid-column: span 3;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 520ms var(--ease);
}

.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 16, 31, 0.08), rgba(6, 16, 31, 0.84));
}

.industry-card div {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 28px;
}

.industry-card h3,
.industry-card p {
  color: var(--white);
}

.industry-card p {
  max-width: 480px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.industry-card span {
  position: absolute;
  right: 26px;
  top: 28px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 300ms var(--ease), background 300ms var(--ease);
}

.industry-card:hover img {
  transform: scale(1.08);
}

.industry-card:hover span {
  transform: translate(4px, -4px);
  background: rgba(8, 191, 255, 0.28);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -16px 0 34px;
}

.filter-btn {
  min-width: 82px;
  padding: 10px 16px;
  border: 1px solid rgba(20, 121, 255, 0.14);
  border-radius: 999px;
  color: var(--dark-text);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 820;
  transition: color 240ms var(--ease), background 240ms var(--ease), border-color 240ms var(--ease), transform 240ms var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--white);
  border-color: transparent;
  background: var(--gradient);
  transform: translateY(-2px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(11, 23, 48, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  transition:
    opacity 300ms var(--ease),
    transform 300ms var(--ease),
    filter 300ms var(--ease);
}

.portfolio-card.is-hidden {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  filter: blur(4px);
  position: absolute;
}

.browser-mockup {
  position: relative;
  overflow: hidden;
  padding: 12px 12px 0;
  background: linear-gradient(135deg, #101a2a, #172942);
}

.theme-ember .browser-mockup {
  background: linear-gradient(135deg, #15100c, #4f3219);
}

.theme-pine .browser-mockup {
  background: linear-gradient(135deg, #0d2218, #2d5b43);
}

.browser-mockup img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
  transition: transform 520ms var(--ease);
}

.portfolio-card:hover .browser-mockup img {
  transform: scale(1.04);
}

.mobile-preview {
  position: absolute;
  right: 24px;
  bottom: 18px;
  width: 64px;
  height: 112px;
  border: 5px solid #06101f;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.theme-azure .mobile-preview {
  background-image: url("assets/portfolio/azure-coast-hotel.jpg");
}

.theme-ember .mobile-preview {
  background-image: url("assets/portfolio/ember-restaurant.jpg");
}

.theme-pine .mobile-preview {
  background-image: url("assets/portfolio/pine-escape-camp.jpg");
}

.portfolio-content {
  padding: 28px;
}

.card-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.card-kicker span,
.card-kicker strong,
.popular {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.card-kicker span {
  color: var(--blue);
  background: rgba(20, 121, 255, 0.08);
}

.card-kicker strong {
  color: #7a5a20;
  background: rgba(214, 166, 74, 0.16);
}

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

.portfolio-content .btn {
  margin-top: 6px;
}

.project-meta {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0;
  list-style: none;
}

.project-meta li {
  padding: 10px 12px;
  border: 1px solid rgba(20, 121, 255, 0.11);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(20, 121, 255, 0.045);
  font-size: 0.88rem;
}

.project-meta strong {
  display: block;
  color: var(--dark-text);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.project-link {
  width: 100%;
  margin-top: 10px;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.mockup-panel {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 42%, rgba(8, 191, 255, 0.22), transparent 52%),
    linear-gradient(135deg, #071426, #10243d);
  box-shadow: var(--shadow-soft);
}

.mockup-panel .device-laptop {
  top: 68px;
  right: 34px;
  width: 455px;
  height: 292px;
}

.mockup-panel .device-tablet {
  left: 42px;
  bottom: 64px;
}

.mockup-panel .device-phone {
  right: 74px;
  bottom: 50px;
}

.split-copy h2 {
  color: var(--dark-text);
}

.benefit-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.benefit-list article {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
}

.benefit-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.stats-row strong {
  padding: 10px 12px;
  border: 1px solid rgba(20, 121, 255, 0.14);
  border-radius: 999px;
  color: var(--deep-navy);
  background: rgba(20, 121, 255, 0.06);
  font-size: 0.86rem;
}

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

.content-card {
  padding: 26px;
  border: 1px solid rgba(11, 23, 48, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 36px rgba(7, 23, 48, 0.07);
}

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

.process {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 24%, rgba(8, 191, 255, 0.15), transparent 28%),
    linear-gradient(180deg, var(--primary-dark), #071426);
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.process-line::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 9%;
  right: 9%;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(125, 220, 255, 0.55) 50%, transparent 50%);
  background-size: 16px 2px;
  opacity: 0.52;
}

.process-line.in-view::before {
  animation: processFlow 1.8s linear infinite;
}

.process-step {
  position: relative;
  z-index: 2;
  min-height: 240px;
  padding: 0 12px;
  text-align: center;
}

.process-step span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border: 1px solid rgba(125, 220, 255, 0.38);
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, rgba(20, 121, 255, 0.96), rgba(8, 191, 255, 0.86));
  box-shadow: 0 16px 36px rgba(8, 191, 255, 0.22);
  font-weight: 900;
}

.process-step p {
  color: rgba(222, 232, 244, 0.72);
}

.responsive-showcase {
  overflow: hidden;
}

.device-stage {
  position: relative;
  min-height: 560px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 45%, rgba(20, 121, 255, 0.14), transparent 48%),
    linear-gradient(135deg, #eef6ff, #ffffff);
}

.desktop-device {
  position: absolute;
  left: 50%;
  top: 52px;
  width: 690px;
  height: 420px;
  transform: translateX(-50%);
  padding: 14px;
  border: 1px solid rgba(11, 23, 48, 0.12);
  border-radius: 24px;
  background: #111827;
  box-shadow: 0 32px 76px rgba(7, 23, 48, 0.2);
  transition: transform 300ms var(--ease);
}

.desktop-screen {
  height: 100%;
  border-radius: 15px;
}

.desktop-device::after {
  content: "";
  position: absolute;
  left: 42%;
  right: 42%;
  bottom: -54px;
  height: 54px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #263244, #111827);
}

.desktop-device span,
.tablet-device span,
.phone-device span {
  position: absolute;
  left: 50%;
  bottom: -82px;
  transform: translateX(-50%);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--deep-navy);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(7, 23, 48, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
}

.tablet-device {
  position: absolute;
  left: 90px;
  bottom: 42px;
  width: 210px;
  height: 290px;
  border: 10px solid #142033;
  border-radius: 26px;
  box-shadow: 0 28px 58px rgba(7, 23, 48, 0.18);
  transition: transform 300ms var(--ease);
}

.phone-device {
  position: absolute;
  right: 120px;
  bottom: 54px;
  width: 126px;
  height: 246px;
  border: 9px solid #111827;
  border-radius: 28px;
  box-shadow: 0 26px 58px rgba(7, 23, 48, 0.2);
  transition: transform 300ms var(--ease);
}

.desktop-device:hover {
  transform: translateX(-50%) translateY(-8px);
}

.tablet-device:hover,
.phone-device:hover {
  transform: translateY(-8px);
}

.before-after {
  padding: 86px 0;
}

.before-after-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: center;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.comparison-card {
  padding: 16px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.comparison-card > span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.old-window,
.new-window {
  height: 230px;
  border-radius: 16px;
}

.old-window {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
  background: #e8edf4;
}

.old-window i {
  display: block;
  border-radius: 10px;
  background: #cbd5e1;
}

.old-window i:first-child {
  grid-column: span 2;
  background: #94a3b8;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 22px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid rgba(11, 23, 48, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(7, 23, 48, 0.08);
}

.pricing-card.featured {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 0%, rgba(8, 191, 255, 0.22), transparent 38%),
    linear-gradient(145deg, #071426, #0d2542);
  border-color: rgba(125, 220, 255, 0.26);
  transform: translateY(-12px);
  box-shadow: 0 28px 74px rgba(6, 16, 31, 0.28);
}

.popular {
  position: absolute;
  right: 24px;
  top: 22px;
  color: var(--white);
  background: var(--gradient);
}

.plan-name {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured .plan-name {
  color: var(--light-blue);
}

.pricing-card h3 {
  font-size: 1.35rem;
}

.pricing-card h3 span {
  display: block;
  margin-top: 10px;
  font-size: 2.4rem;
  color: inherit;
}

.pricing-card > p:not(.plan-name) {
  color: var(--muted);
}

.pricing-card.featured > p:not(.plan-name) {
  color: rgba(230, 240, 255, 0.76);
}

.pricing-card ul,
.maintenance-price ul,
.modal-details ul {
  padding: 0;
  margin: 20px 0 28px;
  list-style: none;
}

.pricing-card li,
.maintenance-price li,
.modal-details li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--muted);
}

.pricing-card.featured li {
  color: rgba(230, 240, 255, 0.8);
}

.pricing-card li::before,
.maintenance-price li::before,
.modal-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-note {
  max-width: 850px;
  margin: 26px auto 0;
  color: var(--muted);
  text-align: center;
}

.maintenance {
  padding: 0 0 96px;
  background: var(--soft);
}

.maintenance-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
  padding: 38px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(125, 220, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #071426, #0b1c33);
  box-shadow: var(--shadow-dark);
}

.maintenance-card p {
  max-width: 720px;
  color: rgba(230, 240, 255, 0.78);
}

.maintenance-card small {
  color: rgba(230, 240, 255, 0.62);
}

.maintenance-price {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.maintenance-price span {
  display: block;
  color: var(--soft-grey);
  font-size: 0.86rem;
  font-weight: 800;
}

.maintenance-price strong {
  display: block;
  margin: 5px 0 12px;
  font-size: 2rem;
}

.maintenance-price li {
  color: rgba(230, 240, 255, 0.78);
}

.about-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.about-image img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.value-grid span {
  padding: 16px;
  border: 1px solid rgba(20, 121, 255, 0.12);
  border-radius: 16px;
  color: var(--deep-navy);
  background: rgba(20, 121, 255, 0.055);
  font-weight: 850;
}

.cta-banner {
  padding: 42px 0;
  color: var(--white);
  background: linear-gradient(90deg, #071426, #0c2a4b);
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.cta-banner h2 {
  margin-bottom: 0;
  font-size: 2.05rem;
}

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

.testimonial-card {
  padding: 30px;
  border: 1px solid rgba(11, 23, 48, 0.09);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(7, 23, 48, 0.07);
}

.testimonial-card p {
  color: var(--dark-text);
  font-size: 1.04rem;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  margin-top: 22px;
}

.testimonial-card span {
  color: var(--muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 54px;
  align-items: start;
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion-item {
  overflow: hidden;
  border: 1px solid rgba(11, 23, 48, 0.09);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(7, 23, 48, 0.055);
}

.accordion-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border: 0;
  color: var(--dark-text);
  background: transparent;
  text-align: left;
  font-weight: 850;
}

.accordion-item i {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: rgba(20, 121, 255, 0.08);
  transition: transform 260ms var(--ease), background 260ms var(--ease);
}

.accordion-item i::before,
.accordion-item i::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
}

.accordion-item i::after {
  transform: rotate(90deg);
}

.accordion-item button[aria-expanded="true"] i {
  transform: rotate(45deg);
  background: rgba(8, 191, 255, 0.16);
}

.accordion-panel {
  height: 0;
  overflow: hidden;
  transition: height 320ms var(--ease);
}

.accordion-panel p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.contact {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(8, 191, 255, 0.18), transparent 30%),
    linear-gradient(180deg, var(--secondary-dark), var(--primary-dark));
}

.contact-glow {
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(8, 191, 255, 0.17);
  filter: blur(44px);
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 104px;
}

.contact-copy h2 {
  font-size: 3.1rem;
}

.contact-copy > p {
  color: rgba(230, 240, 255, 0.76);
  font-size: 1.1rem;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin: 34px 0 24px;
}

.contact-details article {
  padding: 18px;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.contact-details span {
  display: block;
  margin-bottom: 4px;
  color: var(--light-blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-details p,
.contact-details a {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.social-links,
.footer-social-links {
  display: flex;
  gap: 10px;
}

.social-links a,
.footer-social-links a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 240ms var(--ease), background 240ms var(--ease), border-color 240ms var(--ease);
}

.social-links a:hover,
.footer-social-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 220, 255, 0.44);
  background: rgba(8, 191, 255, 0.16);
}

.social-links svg,
.footer-social-links svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-links a {
  width: 40px;
  height: 40px;
}

.footer-bottom .footer-social-links {
  gap: 10px;
}

.contact-form {
  padding: 30px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(18px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: var(--white);
  background: rgba(6, 16, 31, 0.56);
  padding: 13px 14px;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.field select option {
  color: var(--dark-text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(125, 220, 255, 0.55);
  background: rgba(6, 16, 31, 0.72);
  box-shadow: 0 0 0 4px rgba(8, 191, 255, 0.1);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #ff7a7a;
}

.error {
  min-height: 18px;
  display: block;
  margin-top: 6px;
  color: #ffb0b0;
  font-size: 0.78rem;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--blue);
}

.checkbox-field a {
  color: var(--light-blue);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.form-submit {
  width: 100%;
  margin-top: 16px;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--light-blue);
  font-weight: 800;
}

.form-status[data-tone="error"] {
  color: #ffb0b0;
}

.form-status[data-tone="success"] {
  color: var(--light-blue);
}

.turnstile-field {
  min-height: 65px;
}

.form-submit[disabled] {
  cursor: progress;
  opacity: 0.75;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #030914;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.8fr;
  gap: 42px;
  padding: 68px 0 42px;
}

.footer-brand p {
  max-width: 310px;
  margin: 20px 0 14px;
}

.footer-brand strong {
  color: var(--white);
}

.site-footer h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.site-footer nav,
.site-footer .footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer a {
  transition: color 220ms var(--ease);
}

.site-footer a:hover {
  color: var(--light-blue);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--border-light);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-cookie-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  transition: color 220ms var(--ease);
}

.footer-cookie-button:hover {
  color: var(--light-blue);
}

.cookie-banner {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 1700;
  width: min(560px, calc(100% - 44px));
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  color: var(--white);
  background: rgba(6, 16, 31, 0.94);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}

.cookie-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(8, 191, 255, 0.14);
}

.cookie-icon img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  transform: scale(1.7);
}

.cookie-banner h2 {
  margin-bottom: 6px;
  font-size: 1.16rem;
}

.cookie-banner p {
  margin-bottom: 10px;
  color: rgba(230, 240, 255, 0.78);
  font-size: 0.9rem;
}

.cookie-links {
  display: flex;
  gap: 14px;
}

.cookie-links a {
  color: var(--light-blue);
  font-weight: 850;
}

.cookie-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions .btn {
  min-height: 42px;
  padding: 10px 14px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms var(--ease), visibility 260ms var(--ease);
}

.cookie-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 9, 20, 0.78);
  backdrop-filter: blur(10px);
}

.cookie-modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  color: var(--dark-text);
  background: var(--white);
  box-shadow: var(--shadow-dark);
}

.cookie-modal-panel h2 {
  color: var(--dark-text);
  font-size: 2rem;
}

.cookie-modal-panel > p {
  color: var(--muted);
}

.cookie-category {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(11, 23, 48, 0.09);
}

.cookie-category h3 {
  margin-bottom: 4px;
}

.cookie-category p,
.cookie-category small {
  display: block;
  margin: 0;
  color: var(--muted);
}

.cookie-category input {
  width: 22px;
  height: 22px;
  accent-color: var(--blue);
}

.cookie-category.locked span {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(20, 121, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.subpage-hero {
  padding-top: 150px;
}

.subpage-hero h1 {
  max-width: 860px;
}

.case-study-list {
  display: grid;
  gap: 28px;
}

.case-study-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(11, 23, 48, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.case-study-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: 18px;
}

.case-study-card h2 {
  color: var(--dark-text);
  font-size: 2.25rem;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms var(--ease), visibility 260ms var(--ease);
}

.project-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 9, 20, 0.78);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  color: var(--dark-text);
  background: var(--white);
  box-shadow: var(--shadow-dark);
  transform: translateY(16px) scale(0.98);
  transition: transform 260ms var(--ease);
}

.project-modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(6, 16, 31, 0.78);
}

.modal-close span {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
}

.modal-close span:first-child {
  transform: rotate(45deg);
}

.modal-close span:last-child {
  transform: rotate(-45deg);
}

.modal-panel img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

.modal-content {
  padding: 34px;
}

.modal-content h2 {
  color: var(--dark-text);
  font-size: 2.25rem;
}

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

.modal-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.modal-details h3 {
  color: var(--dark-text);
}

.modal-details p {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.float-slow {
  animation: floatSlow 7s ease-in-out infinite;
}

.float-medium {
  animation: floatMedium 6s ease-in-out infinite;
}

.float-fast {
  animation: floatFast 5s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes floatMedium {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-5deg) translateY(-10px); }
}

@keyframes floatFast {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-14px); }
}

@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 18px); }
}

@keyframes processFlow {
  to { background-position: 16px 0; }
}

@media (max-width: 1200px) {
  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 2.85rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 430px;
    gap: 28px;
  }

  .device-laptop {
    width: 430px;
    height: 284px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .mockup-panel .device-laptop {
    width: 390px;
  }
}

@media (max-width: 992px) {
  html {
    scroll-padding-top: 78px;
  }

  .section {
    padding: 86px 0;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .nav-cta,
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--border-light);
    border-radius: 22px;
    background: rgba(6, 16, 31, 0.96);
    box-shadow: var(--shadow-dark);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 260ms var(--ease), transform 260ms var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 12px;
    font-size: 1rem;
  }

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

  .hero {
    min-height: auto;
    padding-top: 124px;
  }

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

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 470px;
    max-width: 660px;
    width: 100%;
    margin-inline: auto;
  }

  .device-laptop {
    right: 62px;
  }

  .trust-bar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
  }

  .category-strip {
    justify-content: flex-start;
  }

  .services-grid,
  .portfolio-grid,
  .pricing-grid,
  .testimonial-grid,
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    position: relative;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
  }

  .industry-card,
  .industry-large,
  .industry-card:nth-child(2),
  .industry-card:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .split-grid,
  .faq-grid,
  .contact-grid,
  .before-after-grid,
  .case-study-card {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .process-line {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
  }

  .process-line::before {
    top: 0;
    bottom: 0;
    left: 36px;
    right: auto;
    width: 2px;
    height: auto;
    background-image: linear-gradient(180deg, rgba(125, 220, 255, 0.55) 50%, transparent 50%);
    background-size: 2px 16px;
  }

  .process-step {
    min-height: auto;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 20px;
    padding: 0 0 20px;
    text-align: left;
  }

  .process-step span {
    margin: 0;
  }

  .process-step h3 {
    margin-top: 6px;
  }

  .device-stage {
    min-height: 520px;
  }

  .desktop-device {
    width: 610px;
    height: 380px;
  }

  .tablet-device {
    left: 30px;
    bottom: 40px;
  }

  .phone-device {
    right: 52px;
  }

  .maintenance-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .site-header,
  .site-header.is-scrolled {
    height: 70px;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
  }

  .brand-text {
    font-size: 1.08rem;
  }

  .site-nav {
    top: 70px;
    left: 15px;
    right: 15px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero {
    padding: 110px 0 72px;
  }

  .hero-actions,
  .cta-banner-inner,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-banner .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 400px;
  }

  .device-laptop {
    right: 0;
    top: 50px;
    width: 88%;
    height: 252px;
  }

  .device-tablet {
    left: 0;
    width: 176px;
    height: 244px;
  }

  .device-phone {
    right: 10px;
    width: 112px;
    height: 216px;
  }

  .category-strip {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .category-strip span {
    flex: 0 0 auto;
  }

  .services-grid,
  .portfolio-grid,
  .pricing-grid,
  .testimonial-grid,
  .comparison,
  .value-grid,
  .form-row,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .industry-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 310px;
  }

  .mockup-panel {
    min-height: 430px;
  }

  .mockup-panel .device-laptop {
    top: 50px;
    right: 20px;
    width: 82%;
    height: 250px;
  }

  .mockup-panel .device-tablet {
    left: 18px;
    width: 150px;
    height: 210px;
  }

  .mockup-panel .device-phone {
    right: 28px;
    width: 100px;
    height: 198px;
  }

  .device-stage {
    min-height: 470px;
  }

  .desktop-device {
    top: 54px;
    width: calc(100% - 28px);
    height: 310px;
  }

  .tablet-device {
    width: 156px;
    height: 216px;
    left: 18px;
    bottom: 42px;
  }

  .phone-device {
    width: 104px;
    height: 210px;
    right: 26px;
    bottom: 52px;
  }

  .desktop-device span,
  .tablet-device span,
  .phone-device span {
    bottom: -58px;
  }

  .maintenance-card,
  .contact-form,
  .modal-content {
    padding: 24px;
  }

  .contact-copy h2 {
    font-size: 2.2rem;
  }

  .modal-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 72px 0;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-lead {
    font-size: 1.04rem;
  }

  .trust-points {
    display: grid;
    gap: 10px;
  }

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

  .device-laptop {
    width: 96%;
    height: 220px;
  }

  .device-tablet {
    bottom: 34px;
    width: 140px;
    height: 198px;
  }

  .device-phone {
    bottom: 18px;
    width: 96px;
    height: 186px;
  }

  .service-card,
  .portfolio-content,
  .pricing-card,
  .testimonial-card {
    padding: 24px;
  }

  .industry-grid {
    grid-auto-rows: 280px;
  }

  .industry-card div {
    padding: 22px;
  }

  .filter-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .filter-btn {
    flex: 0 0 auto;
  }

  .process-step {
    grid-template-columns: 58px 1fr;
  }

  .process-line::before {
    left: 29px;
  }

  .process-step span {
    width: 58px;
    height: 58px;
  }

  .device-stage {
    min-height: 410px;
  }

  .desktop-device {
    top: 42px;
    height: 250px;
    padding: 10px;
  }

  .tablet-device {
    width: 132px;
    height: 182px;
    border-width: 7px;
  }

  .phone-device {
    width: 84px;
    height: 172px;
    border-width: 7px;
    right: 16px;
  }

  .old-window,
  .new-window {
    height: 190px;
  }

  .maintenance-price strong {
    font-size: 1.7rem;
  }

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

  .project-modal {
    padding: 14px;
  }

  .cookie-banner {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
  }

  .cookie-actions,
  .cookie-modal-actions {
    display: grid;
  }

  .cookie-modal {
    padding: 12px;
  }

  .cookie-modal-panel {
    padding: 24px;
    border-radius: 20px;
  }

  .cookie-category {
    grid-template-columns: 1fr;
  }

  .modal-panel {
    border-radius: 20px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
