/* Dijital Eon — Design System */
:root {
  --ink: #12131a;
  --ink-2: #1c1d26;
  --ink-3: #2a2b36;
  --paper: #fbfbfc;
  --paper-2: #f0f1f4;
  --line: rgba(18, 19, 26, 0.08);
  --muted: #454754;
  --accent: #e11d62;
  --accent-2: #c41654;
  --teal: #1ec8c8;
  --grad: linear-gradient(115deg, #ff4d8d 0%, #e11d62 42%, #7b2ff7 100%);
  --grad-soft: linear-gradient(135deg, rgba(225, 29, 98, 0.12), rgba(30, 200, 200, 0.1));
  --shadow: 0 18px 50px rgba(18, 19, 26, 0.12);
  --shadow-sm: 0 8px 24px rgba(18, 19, 26, 0.08);
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1140px;
  --header-h: 72px;
  --topbar-h: 42px;
  --chrome-h: calc(var(--topbar-h) + var(--header-h));
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-script: "Caveat", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h, 72px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

/* Fixed chrome (topbar + header) — always visible while scrolling */
.site-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--ink);
}

.site-chrome-spacer {
  height: var(--chrome-h);
}

/* Top bar */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  position: relative;
  z-index: 2;
  max-height: 120px;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), opacity 0.35s var(--ease), padding 0.35s var(--ease);
}

.site-chrome.is-scrolled .topbar {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0;
  flex-wrap: nowrap;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.5s var(--ease);
  min-width: 0;
}

.topbar a:first-child {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar a:last-child {
  flex: 0 0 auto;
  font-weight: 600;
  white-space: nowrap;
}

.topbar a:hover {
  color: #fff;
}

.topbar svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Header */
.site-header {
  position: relative;
  z-index: 2;
  padding-bottom: 0.55rem;
  background: var(--ink);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: var(--ink);
  box-shadow: none;
}

.site-header.is-scrolled .header-shell {
  background: var(--ink-2);
  box-shadow: var(--shadow-sm);
  margin-top: 0.45rem;
  margin-bottom: 0;
  border-radius: 999px;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--ink-2);
  color: #fff;
  margin-top: 0.45rem;
  padding: 0.7rem 1.1rem 0.7rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.35s var(--ease), border-radius 0.35s var(--ease);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo img {
  display: block;
  width: auto;
  height: 36px;
  max-width: min(200px, 42vw);
  object-fit: contain;
  object-position: left center;
}

.site-footer .logo img {
  height: 40px;
  max-width: 220px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.5s var(--ease), background 0.5s var(--ease);
  white-space: nowrap;
}

.nav .btn {
  margin-left: 0.35rem;
  padding: 0.7rem 1.1rem;
  font-size: 0.875rem;
}

.nav a:hover:not(.btn),
.nav a[aria-current="page"]:not(.btn) {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav a.btn--primary:hover,
.nav a.btn--primary:focus-visible {
  color: #fff;
  background: var(--grad);
  filter: brightness(1.12);
}

.nav a[aria-current="page"]::after {
  content: "↗";
  margin-left: 0.35rem;
  color: var(--accent);
  font-size: 0.8em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background 0.3s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition:
    background 0.5s var(--ease),
    background-color 0.5s var(--ease),
    border-color 0.5s var(--ease),
    color 0.5s var(--ease),
    filter 0.5s var(--ease);
}

.btn--primary {
  background: var(--grad);
  color: #fff;
}

.btn--primary:hover {
  filter: brightness(1.12);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  filter: brightness(1.2);
}

.btn--light {
  background: #fff;
  color: var(--ink);
}

.btn--light:hover {
  background: #f0f1f4;
}

.btn--outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(18, 19, 26, 0.18);
}

.btn--outline:hover {
  background: var(--paper-2);
  border-color: rgba(18, 19, 26, 0.32);
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-script), var(--font-body);
  font-size: 1.35rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.65rem;
}

.eyebrow::before {
  content: "✦";
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

/* Hero Home */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 4.5rem 0 5rem;
  min-height: 34rem;
  display: grid;
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

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

.hero__media picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero__media img,
.hero__media picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(251, 251, 252, 0.97) 0%,
    rgba(251, 251, 252, 0.93) 36%,
    rgba(251, 251, 252, 0.7) 54%,
    rgba(251, 251, 252, 0.28) 72%,
    rgba(251, 251, 252, 0.08) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.hero .eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero .eyebrow::before {
  content: none;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--accent);
  margin: 0 0 1.15rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink-2);
  max-width: 28ch;
  margin: 0 0 1rem;
}

.hero__lead {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

/* Page hero (inner) */
.page-hero {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: end center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(18, 19, 26, 0.45), rgba(18, 19, 26, 0.85)),
    image-set(
      url("../img/page/hero-bg.webp") type("image/webp"),
      url("../img/page/hero-bg.jpg") type("image/jpeg")
    ) center/cover no-repeat;
  padding: 4rem 0 3.5rem;
  margin-top: 0;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: #fff;
  margin-bottom: 0.85rem;
}

.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.55rem;
  max-width: min(100%, 52rem);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(18, 19, 26, 0.55);
  backdrop-filter: blur(8px);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.35;
}

.breadcrumb a,
.breadcrumb__current {
  white-space: nowrap;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb__sep {
  color: var(--accent);
  font-size: 0.65rem;
  line-height: 1;
}

/* Sections */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section--dark {
  background: var(--ink);
  color: #fff;
}

.section--dark p {
  color: rgba(255, 255, 255, 0.82);
}

.section--muted {
  background: var(--paper-2);
}

.section__head {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.section__head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

.section--dark .section__head h2 {
  color: #fff;
}

.section__head--center {
  text-align: center;
  margin-inline: auto;
}

/* Services */
.services-rail {
  position: relative;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.services-rail::before {
  display: none;
}

.services-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: #16171f;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(18, 19, 26, 0.06);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
  box-shadow: 0 12px 32px rgba(18, 19, 26, 0.08);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(18, 19, 26, 0.1);
  box-shadow: 0 20px 44px rgba(18, 19, 26, 0.14);
}

.section--dark .service-card {
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.section--dark .service-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.4);
}

.service-card__media {
  aspect-ratio: 16 / 10.5;
  background: var(--ink-3);
  position: relative;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(22, 23, 31, 0.55) 100%);
  pointer-events: none;
}

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

.service-card__body {
  padding: 1.2rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1.15rem;
  color: rgba(255, 255, 255, 0.58);
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.92);
  margin-top: auto;
  transition: color 0.3s var(--ease);
}

.service-card__link span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.service-card:hover .service-card__link {
  color: #ff7eb3;
}

.service-card:hover .service-card__link span {
  transform: translateX(3px);
  background: rgba(225, 29, 98, 0.28);
}

/* Clients / Referanslar */
.clients {
  border-block: 1px solid var(--line);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.client-logo {
  display: grid;
  place-items: center;
  min-height: 110px;
  padding: 1.35rem 1.1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.client-logo--dark {
  background: #fff;
  border-color: var(--line);
}

.client-logo img {
  max-width: 148px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 0.92;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.client-logo:hover {
  transform: translateY(-3px);
  border-color: rgba(225, 29, 98, 0.18);
  box-shadow: var(--shadow-sm);
}

.client-logo:hover img {
  opacity: 1;
  transform: scale(1.03);
}

.section--dark .client-logo,
.section--dark .client-logo--dark {
  background: #fff;
  border-color: var(--line);
}

.section--dark .client-logo img {
  filter: none;
  opacity: 0.92;
}

.section--dark .client-logo:hover img {
  opacity: 1;
}

.refs-more {
  margin: 1.75rem 0 0;
  text-align: center;
}

.refs-more .btn {
  color: var(--ink);
  border-color: rgba(18, 19, 26, 0.28);
}

.refs-more .btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split--reverse {
  grid-template-columns: 1fr 1.05fr;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  min-height: 420px;
  box-shadow: var(--shadow);
}

.split__badge {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  width: 120px;
  height: 120px;
  border-radius: 22px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  box-shadow: var(--shadow);
  animation: float 5.5s ease-in-out infinite;
}

.split__badge strong {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
}

.split__badge span {
  font-size: 0.8rem;
  opacity: 0.9;
}

.checklist {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: inherit;
  font-weight: 600;
}

.checklist li::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.15rem;
  background: var(--grad) center/12px no-repeat;
  box-shadow: inset 0 0 0 999px transparent;
  background-image: linear-gradient(115deg, #ff4d8d, #7b2ff7),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: cover, 12px;
  background-position: center, center;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.stat {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.stat span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.6rem;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.price-card--featured {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
  transform: scale(1.03);
  box-shadow: var(--shadow);
}

.price-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.price-card--featured p {
  color: rgba(255, 255, 255, 0.65);
}

.price-card__tier {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--grad-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.price-card--featured .price-card__tier {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.price-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.price-card--featured h3 {
  color: #fff;
}

.price-card__list {
  margin: 1.25rem 0 1.5rem;
  display: grid;
  gap: 0.55rem;
  flex: 1;
}

.price-card__list li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.925rem;
  color: var(--muted);
}

.price-card--featured .price-card__list li {
  color: rgba(255, 255, 255, 0.72);
}

.price-card__list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

.price-card--featured .price-card__list li::before {
  color: var(--teal);
}

.promo-chip {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(225, 29, 98, 0.12);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Contact band */
.contact-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.contact-band__info {
  background: var(--ink);
  color: #fff;
  padding: 2.25rem;
}

.contact-band__info h2 {
  color: #fff;
  font-size: 1.85rem;
}

.contact-meta {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.contact-meta h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.25rem;
}

.contact-meta a,
.contact-meta p {
  color: #fff;
  margin: 0;
}

.contact-band__form {
  padding: 2.25rem;
}

.contact-form__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.form-flash {
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
}

.form-flash--ok {
  background: rgba(30, 200, 120, 0.12);
  color: #0f7a4c;
  border: 1px solid rgba(30, 200, 120, 0.28);
}

.form-flash--error {
  background: rgba(225, 29, 98, 0.1);
  color: #a01048;
  border: 1px solid rgba(225, 29, 98, 0.28);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(225, 29, 98, 0.45);
  box-shadow: 0 0 0 4px rgba(225, 29, 98, 0.12);
  background: #fff;
}

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(18, 19, 26, 0.92), rgba(225, 29, 98, 0.72));
  color: #fff;
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.cta > :not(.cta__media) {
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  max-width: 18ch;
  margin: 0.4rem 0 0;
}

.cta p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.blog-card__media {
  aspect-ratio: 16 / 9;
  background: var(--paper-2) center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.blog-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.blog-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.blog-card__meta {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.blog-card p {
  font-size: 0.925rem;
  margin-bottom: 0.85rem;
}

/* Tabs */
.tabs {
  margin-top: 1.5rem;
}

.tabs__nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.15rem;
}

.tabs__nav button {
  border: 0;
  background: transparent;
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  position: relative;
}

.tabs__nav button.is-active {
  color: var(--ink);
}

.tabs__nav button.is-active::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -1px;
  height: 3px;
  border-radius: 999px;
  background: var(--grad);
}

.tabs__panel {
  display: none;
}

.tabs__panel.is-active {
  display: block;
  animation: rise 0.45s var(--ease);
}

/* Service detail */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.feature {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.feature p {
  margin: 0;
  font-size: 0.925rem;
}

.progress {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.progress__row {
  display: grid;
  gap: 0.4rem;
}

.progress__label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.9rem;
}

.progress__bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.progress__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--grad);
}

.section--muted .progress__bar {
  background: rgba(18, 19, 26, 0.08);
}

/* Article */
.article {
  max-width: 760px;
  margin: 0 auto;
}

.article--wide {
  max-width: 820px;
}

.article h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
}

.article h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
}

.article h4 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.4rem;
  font-family: var(--font-display);
}

.article ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.article ol {
  list-style: decimal;
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.article li {
  margin-bottom: 0.45rem;
}

.article p + h2,
.article ul + h2,
.article ol + h2 {
  margin-top: 2.5rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.process-step {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.section--dark .process-step {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.process-step p {
  margin: 0;
  font-size: 0.9rem;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.related-links a {
  display: inline-flex;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.related-links a:hover {
  border-color: rgba(225, 29, 98, 0.35);
  color: var(--accent);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.9);
  padding: 4rem 0 1.5rem;
}

.site-footer p,
.site-footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.88);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.1fr 1.25fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.site-footer .logo {
  margin-bottom: 1rem;
  display: inline-flex;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact a {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.45;
  transition: color 0.5s var(--ease);
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  color: var(--accent);
}

.footer-contact__wa:hover {
  color: #fff;
}

.footer-contact__wa svg {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.35rem;
  font-size: 0.875rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.content-defer {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-white {
  color: #fff !important;
}

/* Responsive */
@media (max-width: 980px) {
  .services-grid,
  .pricing-grid,
  .blog-grid,
  .stats,
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .split,
  .split--reverse,
  .contact-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split__badge {
    right: 1rem;
    bottom: 1rem;
  }

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

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 70;
  }

  body.nav-open .nav-toggle {
    background: rgba(255, 255, 255, 0.14);
  }

  .site-header {
    background: var(--ink);
    padding-bottom: 0.35rem;
  }

  :root {
    --topbar-h: 58px;
    --header-h: 64px;
    --chrome-h: calc(var(--topbar-h) + var(--header-h));
  }

  .topbar {
    font-size: 0.75rem;
  }

  .topbar__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.55rem 0.25rem;
    text-align: center;
  }

  .topbar a,
  .topbar a:first-child,
  .topbar a:last-child {
    flex: 0 1 auto;
    width: auto;
    max-width: 100%;
    justify-content: center;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.35;
  }

  .topbar a:first-child {
    color: rgba(255, 255, 255, 0.88);
  }

  .header-shell,
  .site-header.is-scrolled .header-shell {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0.45rem 0;
  }

  .nav {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
    z-index: 60;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    font-size: 1.25rem;
    padding: 0.85rem 1.25rem;
  }

  .nav a:not(.btn) {
    background: transparent;
  }

  .nav a[aria-current="page"]::after {
    content: none;
  }

  .nav .btn {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .services-grid,
  .pricing-grid,
  .blog-grid,
  .stats,
  .feature-list,
  .form-grid,
  .clients-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 7.5rem 0 3.5rem;
    min-height: 28rem;
  }

  .hero__media img {
    object-position: 75% center;
  }

  .hero__media::after {
    background: linear-gradient(
      180deg,
      rgba(251, 251, 252, 0.94) 0%,
      rgba(251, 251, 252, 0.88) 48%,
      rgba(251, 251, 252, 0.72) 100%
    );
  }

  .hero__content {
    max-width: 100%;
  }

  .section {
    padding: 4rem 0;
  }

  .cta {
    padding: 2rem;
  }

  .contact-band__info,
  .contact-band__form {
    padding: 1.5rem;
  }

  .page-hero {
    min-height: 0;
    padding: 3.25rem 0 2.25rem;
    place-items: end stretch;
  }

  .page-hero .container {
    display: grid;
    gap: 1rem;
    justify-items: center;
  }

  .page-hero h1 {
    font-size: clamp(1.55rem, 6.5vw, 2rem);
    margin-bottom: 0;
    text-wrap: balance;
  }

  .breadcrumb {
    width: 100%;
    max-width: 100%;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    gap: 0.35rem 0.5rem;
    font-size: 0.78rem;
  }

  .breadcrumb__current,
  .breadcrumb__sep:has(+ .breadcrumb__current) {
    display: none;
  }
}

/* Blog SEO / WhatsApp */
.article-lead {
  font-size: 1.05rem;
  color: var(--muted, #5b6570);
  margin-bottom: 1.5rem;
}
.article-cover {
  margin: 0 0 1.75rem;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
  position: relative;
}

.article-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.faq-block {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 2rem;
}
.faq-item {
  padding: 1rem 1.15rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.55);
}
.faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-acc {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.faq-acc[open] {
  border-color: rgba(225, 29, 98, 0.22);
  box-shadow: var(--shadow-sm);
}

.faq-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--ink);
  user-select: none;
}

.faq-acc summary::-webkit-details-marker {
  display: none;
}

.faq-acc__icon {
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  position: relative;
  background: var(--paper-2);
}

.faq-acc__icon::before,
.faq-acc__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.faq-acc__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.faq-acc[open] .faq-acc__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-acc__body {
  padding: 0 1.25rem 1.2rem;
}

.faq-acc__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}
.wa-cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(225, 29, 98, 0.12), rgba(123, 47, 247, 0.08));
  border: 1px solid rgba(225, 29, 98, 0.28);
}
.wa-cta p {
  margin-top: 0;
}
.btn-whatsapp {
  background: var(--grad) !important;
  border: 0 !important;
  color: #fff !important;
  gap: 0.55rem;
}
.btn-whatsapp:hover {
  filter: brightness(1.08);
}

.wa-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  padding: 1.85rem 2rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(125deg, rgba(225, 29, 98, 0.16), transparent 42%),
    linear-gradient(210deg, rgba(30, 200, 200, 0.12), transparent 48%),
    var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.wa-band__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.wa-band__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(225, 29, 98, 0.22);
}

.wa-band__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: #fff;
  max-width: 22ch;
}

.wa-band__text {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.wa-band__note {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.wa-band__action {
  display: grid;
  gap: 0.75rem;
  justify-items: end;
  flex-shrink: 0;
}

.wa-band__icon {
  flex-shrink: 0;
}

.wa-band__phone {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.5s var(--ease);
}

.wa-band__phone:hover {
  color: #fff;
}

@media (max-width: 800px) {
  .wa-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .wa-band__action {
    width: 100%;
    justify-items: stretch;
  }

  .wa-band__phone {
    text-align: center;
  }
}
.blog-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0.15rem 0 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.blog-filters .chip {
  flex: 0 0 auto;
  white-space: nowrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  text-decoration: none;
  color: inherit;
  font-size: 0.88rem;
  background: #fff;
}
.chip.is-active,
.chip:hover {
  border-color: var(--accent, #c2185b);
  color: var(--accent, #c2185b);
}
@media (max-width: 900px) {
  .section__head {
    margin-bottom: 1.1rem;
  }
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 2rem;
}
.pagination a {
  min-width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  text-decoration: none;
  color: inherit;
}
.pagination a.is-active {
  background: var(--ink, #1a1a1a);
  color: #fff;
  border-color: transparent;
}
.related-rail {
  margin-top: 3rem;
}
.related-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.blog-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .blog-grid--compact {
    grid-template-columns: 1fr;
  }
}

/* Fixed social rail — right edge, vertical center */
.social-float {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.55rem;
  background: #fff;
  border-radius: 18px 0 0 18px;
  box-shadow: -6px 10px 28px rgba(18, 19, 26, 0.12);
}

.social-float__btn {
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  transition: background 0.5s var(--ease), filter 0.5s var(--ease);
}

.social-float__btn svg {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
  shape-rendering: geometricPrecision;
}

.social-float__btn:hover {
  filter: brightness(1.1);
}

.social-float__btn--wa {
  background: var(--accent);
}

.social-float__btn--wa:hover {
  background: var(--accent-2);
  filter: none;
}

.social-float__btn--ig {
  background: var(--ink-2);
}

.social-float__btn--ig:hover {
  background: var(--ink-3);
  filter: none;
}

body.nav-open .social-float {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-toggle:focus-visible,
.social-float__btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.service-card__link,
.footer-links a,
.article a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.service-card__link:hover,
.footer-links a:hover,
.article a:hover,
.service-card__link:focus-visible,
.footer-links a:focus-visible,
.article a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .social-float__btn,
  .nav-toggle,
  .btn,
  .service-card__link,
  .footer-contact a {
    min-height: 44px;
    min-width: 44px;
  }

  .nav a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .topbar a:first-child {
    color: rgba(255, 255, 255, 0.88);
  }
}
