:root {
  --ink: #0c1b28;
  --blue: #006b99;
  --blue-hover: #00557a;
  --mist: #edf4f7;
  --cream: #f8f8f5;
  --line: #d5e0e5;
  --muted: #576d7e;
  --white: #ffffff;
  --card-shadow: 0 4px 18px -2px rgba(12, 27, 40, 0.05), 0 2px 6px rgba(12, 27, 40, 0.03);
  --card-hover-shadow: 0 16px 32px -4px rgba(0, 107, 153, 0.15), 0 4px 12px rgba(12, 27, 40, 0.04);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: radial-gradient(circle at 10% 12%, rgba(0, 107, 153, 0.035) 0%, transparent 45%),
              radial-gradient(circle at 90% 88%, rgba(12, 27, 40, 0.03) 0%, transparent 50%),
              var(--cream);
  color: var(--ink);
  font: 400 1rem/1.55 "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure {
  margin: 0;
}

p + p {
  margin-top: 1em;
}

h1, h2, h3, h4 {
  line-height: 1.1;
  text-wrap: balance;
  color: var(--ink);
  font-weight: 750;
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

p {
  max-width: 65ch;
}

a {
  color: inherit;
}

a, button, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #1687ba;
  outline-offset: 3px;
}

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

a.button {
  text-decoration: none;
}

button {
  cursor: pointer;
}

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

.wrap {
  width: min(90%, 1300px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(38px, 5.5vw, 76px);
}

.eyebrow {
  display: block;
  color: var(--blue);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  font-weight: 750;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.skip {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  background: white;
  padding: 12px 18px;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: transform 0.2s;
  font-weight: 600;
}

.skip:focus {
  transform: none;
}

/* ============================================================
   HEADER & NAVIGATION (Desktop 77px, Mobile 67px)
   ============================================================ */
header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  min-height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img.brand-logo {
  height: 52px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
}

nav > a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
  transition: color 0.15s ease;
  position: relative;
}

nav > a:hover {
  color: var(--blue);
}

nav > a[aria-current="page"] {
  color: var(--blue);
  font-weight: 700;
}

nav > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.nav-chevron {
  transition: transform 0.2s ease;
}

nav > a:hover .nav-chevron {
  transform: translateY(1px);
}

.menu {
  display: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  line-height: 1.15;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #0082b8 0%, #006b99 50%, #00567a 100%);
  color: white;
  border-radius: 16px;
  padding: 11px 22px;
  font-weight: 700;
  font-size: 0.94rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 107, 153, 0.22);
}

.button:hover {
  background: linear-gradient(135deg, #0093cf 0%, #0077aa 50%, #005d84 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 107, 153, 0.35);
  color: white;
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 107, 153, 0.25);
}

.button.outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: white;
}

.button.outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.button.outline-dark {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  font-weight: 600;
}

.button.outline-dark:hover {
  background: var(--mist);
  border-color: var(--blue);
  color: var(--blue);
}

.button.light {
  background: var(--mist);
  color: var(--ink);
  border-color: var(--line);
}

.button.light:hover {
  background: #dceaf0;
  color: var(--blue);
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink);
  color: white;
  overflow: hidden;
}

.slide {
  min-height: clamp(520px, 46vw, 650px);
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  animation: fade 0.48s ease-out;
}

.slide .photo,
.slide::after {
  position: absolute;
  inset: 0;
}

.slide .photo {
  z-index: -2;
  overflow: hidden;
}

.slide .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.slide::after {
  content: "";
  background: linear-gradient(90deg, #080f1be8 0%, #080f1ba7 38%, #080f1b20 88%);
  pointer-events: none;
  z-index: -1;
}

.slide .photo figcaption {
  display: none;
}


.hero-glass-box {
  background: linear-gradient(135deg, rgba(12, 27, 40, 0.82) 0%, rgba(6, 15, 24, 0.92) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: clamp(24px, 4vw, 38px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hero .button.outline {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
}

.hero .button.outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.slidecopy {
  padding-block: 64px 88px;
  position: relative;
  max-width: 620px;
}

.slidecopy .eyebrow {
  color: #b9eaff;
  margin-bottom: 14px;
}

.slidecopy h1,
.slidecopy h2 {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 1.08;
  color: #ffffff;
}

.slidecopy p {
  font-size: 1.125rem;
  margin: 18px 0 28px;
  color: #f0f5f9;
  line-height: 1.5;
  max-width: 52ch;
}

.slide-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.controls {
  display: flex;
  align-items: center;
  gap: 5px;
  position: absolute;
  bottom: 22px;
  left: max(5%, calc((100vw - 1300px) / 2));
  z-index: 2;
}

.controls button {
  border: 0;
  border-radius: 4px;
  min-height: 42px;
  min-width: 42px;
  display: grid;
  place-items: center;
  background: rgba(17, 29, 45, 0.7);
  color: #fff;
  font-size: 1.6rem;
  transition: background 0.18s;
}

.controls button:hover {
  background: rgba(17, 29, 45, 0.95);
}

.controls button[data-slide] {
  min-width: 32px;
}

.controls button[data-slide]::after {
  content: "";
  background: rgba(255, 255, 255, 0.45);
  width: 9px;
  height: 9px;
  border-radius: 100%;
  transition: background 0.2s, transform 0.2s;
}

.controls button[aria-pressed="true"]::after {
  background: #ffffff;
  transform: scale(1.3);
}

.hero::after {
  content: "Konsept görsel";
  position: absolute;
  right: max(5%, calc((100vw - 1300px) / 2));
  bottom: 24px;
  color: #f2f6fa;
  background: rgba(12, 27, 40, 0.82);
  padding: 4px 9px;
  border-radius: 3px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   PLANNER / QUOTE TOOL (Desktop 1.35:1)
   ============================================================ */
.planner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(24px, 4vw, 48px);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  box-shadow: 0 6px 30px -4px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.planner p,
.finder p,
.intro p,
.split p,
.section details p {
  margin: 12px 0 20px;
  color: var(--muted);
  line-height: 1.55;
}

form {
  display: grid;
  gap: 14px;
  max-width: 580px;
}

form .button {
  justify-self: start;
  margin-top: 6px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

input, select, textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #b6c6cf;
  border-radius: 4px;
  background: #ffffff;
  padding: 9px 12px;
  color: var(--ink);
  font-size: 0.96rem;
  transition: border-color 0.18s, box-shadow 0.18s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 107, 153, 0.18);
  outline: none;
}

textarea {
  resize: vertical;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fields-opt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.result {
  padding: clamp(24px, 3.5vw, 42px);
  background: linear-gradient(145deg, #f0f7fa 0%, #e1eff5 100%);
  border: 1px solid rgba(0, 113, 227, 0.18);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px -4px rgba(0, 113, 227, 0.08), inset 0 1px 0 #ffffff;
  position: relative;
  overflow: hidden;
}

.result::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0071e3 0%, #34c759 100%);
}

.result-body {
  margin-bottom: 20px;
}

.result strong {
  display: block;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  letter-spacing: -0.05em;
  line-height: 1.08;
  color: var(--ink);
  margin: 6px 0 10px;
}

.result small {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result p {
  margin: 6px 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.warn-msg {
  color: #9c4c00 !important;
  font-weight: 600;
  background: #fff5eb;
  padding: 10px 14px;
  border-radius: 4px;
  border: 1px solid #ffd8b3;
}

.whatsapp-btn {
  border-radius: 980px;
  background: linear-gradient(180deg, #34C759 0%, #28A745 100%);
  color: #ffffff;
  border: 1px solid rgba(34, 139, 34, 0.35);
  box-shadow: 0 4px 16px rgba(40, 167, 69, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.whatsapp-btn:hover {
  background: linear-gradient(180deg, #38D660 0%, #2CB34B 100%);
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(40, 167, 69, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.whatsapp-btn:active {
  transform: scale(0.97);
}

/* ============================================================
   SHOWCASE SECTION: Two photos + 3x2 Shortcuts
   ============================================================ */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.section-head .section-sub {
  color: var(--muted);
  max-width: 48ch;
  font-size: 1rem;
  margin: 0;
}

.showcase {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  position: relative;
  text-decoration: none;
  overflow: hidden;
  border-radius: 16px;
  min-height: 200px;
  background: var(--ink);
  color: white;
  border: 1px solid var(--line);
  display: block;
}

.feature-card .photo {
  height: 100%;
  aspect-ratio: 1.58 / 1;
  position: relative;
  overflow: hidden;
}

.feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(12, 27, 40, 0.92));
  pointer-events: none;
}

.feature-card:hover img {
  transform: scale(1.05);
}

.feature-card strong {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feature-card figcaption {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(12, 27, 40, 0.8);
  color: white;
  padding: 3px 7px;
  border-radius: 3px;
  font-size: 0.72rem;
}

.system-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.system-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 16px 8px;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 650;
  line-height: 1.2;
  font-size: 0.875rem;
  color: var(--ink);
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.15s, box-shadow 0.18s;
}

.system-tile:hover {
  background: var(--mist);
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 107, 153, 0.08);
}

.tile-icon {
  color: var(--blue);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.system-tile:hover .tile-icon {
  transform: scale(1.1);
}

/* ============================================================
   COMPARISON BAR & FINDER
   ============================================================ */
.comp-bar {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: clamp(20px, 3.5vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
}

.comp-title-group h3 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.comp-title-group p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 4px 0 0;
}

.comp-pillars {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(16px, 2.5vw, 36px);
}

.pillar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pillar-icon {
  width: 26px;
  height: 26px;
  color: var(--blue);
  flex-shrink: 0;
}

.pillar-text strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.15;
}

.pillar-text small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.25;
}

.finder {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(24px, 4vw, 48px);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  margin-top: 24px;
  box-shadow: 0 6px 30px -4px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
}

#matches {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.match-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 113, 227, 0.08);
  color: #0071e3;
  border: 1px solid rgba(0, 113, 227, 0.2);
  padding: 8px 16px;
  border-radius: 980px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  transition: all 0.22s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.match-pill:hover {
  background: #0071e3;
  color: #ffffff;
  border-color: #0071e3;
  transform: scale(1.03);
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.3);
}

/* ============================================================
   APPLICATIONS SECTION
   ============================================================ */
.applications {
  display: grid;
  grid-template-columns: 1fr 3.4fr;
  gap: 24px;
  align-items: flex-start;
}

.apps-intro h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.apps-intro p {
  margin: 12px 0 20px;
  color: var(--muted);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.app-card {
  text-decoration: none;
  display: block;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(12, 27, 40, 0.08);
  border-color: var(--blue);
}

.app-card .photo {
  aspect-ratio: 1.58 / 1;
  overflow: hidden;
  position: relative;
  background: var(--ink);
}

.app-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.app-card:hover .photo img {
  transform: scale(1.06);
}

.app-card .photo figcaption {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(12, 27, 40, 0.8);
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.7rem;
}

.app-card h3 {
  font-size: 0.96rem;
  padding: 12px 14px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ============================================================
   SPLIT SECTION (Teras Vitrini)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.split .photo {
  aspect-ratio: 1.58 / 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: var(--ink);
  border: 1px solid var(--line);
}

.split .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.split .photo figcaption {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(12, 27, 40, 0.8);
  color: white;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.72rem;
}

/* ============================================================
   STEPS & FAQ
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.steps > div {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  position: relative;
}

.steps h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.steps p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
}

details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
  margin-top: 12px;
  transition: border-color 0.18s;
}

details[open] {
  border-color: #b3c9d4;
}

summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  font-size: 1.05rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--blue);
  line-height: 1;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 12px 0 4px;
  color: var(--muted);
}

/* ============================================================
   CONTACT NAVY BANNER ("Projenizi konuşalım.")
   ============================================================ */
.contact {
  background: var(--ink);
  color: white;
  padding-block: clamp(40px, 6vw, 76px);
  margin-top: 30px;
}

.contact .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.contact-copy h2 {
  color: white;
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.05em;
}

.contact-copy p {
  color: #cfdce6;
  margin-top: 10px;
  font-size: 1.05rem;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   CATALOG CARDS (for /sistemler/ page)
   ============================================================ */
.intro {
  padding-top: clamp(30px, 4vw, 50px);
}

.intro h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  letter-spacing: -0.05em;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filters button {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 9px 18px;
  border-radius: 4px;
  font-weight: 650;
  font-size: 0.92rem;
  transition: all 0.18s;
}

.filters button:hover {
  background: var(--mist);
}

.filters button[aria-pressed="true"] {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(12, 27, 40, 0.08);
  border-color: var(--blue);
}

.card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.card .photo {
  aspect-ratio: 1.58 / 1;
  overflow: hidden;
  position: relative;
  background: var(--ink);
}

.card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.card:hover .photo img {
  transform: scale(1.05);
}

.card .photo figcaption {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(12, 27, 40, 0.8);
  color: white;
  padding: 3px 7px;
  border-radius: 3px;
  font-size: 0.72rem;
}

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content h3 {
  font-size: 1.25rem;
  margin: 4px 0 8px;
}

.card-content p {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0 0 16px;
  flex-grow: 1;
}

.card-content strong {
  color: var(--blue);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Informational note for ALC candidate systems */
.candidate-note {
  background: #ffffff;
  border: 1px dashed #b8cdd6;
  border-radius: 16px;
  padding: 24px 28px;
  margin-top: 36px;
}

.candidate-note h3 {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.candidate-note p {
  font-size: 0.94rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.candidate-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.candidate-tag {
  background: var(--mist);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid #d5e0e5;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #e9eff1;
  padding: 50px 0 90px;
  border-top: 1px solid var(--line);
}

.foot {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 28px;
}

.foot b {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--ink);
}

.foot p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 8px 0 12px;
}

.foot a {
  display: block;
  padding: 5px 0;
  min-height: 36px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.94rem;
  transition: color 0.15s;
}

.foot a:hover {
  color: var(--blue);
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.floatwa {
  position: fixed;
  bottom: max(18px, env(safe-area-inset-bottom));
  right: max(18px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 18px;
  background: #127840;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  z-index: 90;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}

.floatwa:hover {
  background: #095d31;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

/* ============================================================
   LOADER ANIMATION (650ms, once per session, reduced motion support)
   ============================================================ */
.loader {
  position: fixed;
  display: grid;
  place-items: center;
  inset: 0;
  background: var(--cream);
  pointer-events: none;
  z-index: 1000;
  animation: loader 650ms both;
}

.loader img {
  width: 120px;
  height: auto;
  animation: logoflow 650ms both;
}

@keyframes fade {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

@keyframes loader {
  0%, 48% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes logoflow {
  0% { transform: translateY(18px); opacity: 0; }
  35%, 65% { transform: none; opacity: 1; }
  100% { transform: translateY(-12px); opacity: 0; }
}

/* ============================================================
   RESPONSIVE DESIGN (Tablets & Mobile 800px)
   ============================================================ */
@media (max-width: 800px) {
  .menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--line);
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
  }

  .nav {
    min-height: 67px;
  }

  .brand img.brand-logo {
    height: 44px;
    max-width: 140px;
  }

  nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    padding: 14px 5% 22px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid var(--line);
  }

  nav.open {
    display: grid;
    gap: 4px;
  }

  nav > a {
    min-height: 44px;
    font-size: 1rem;
    border-bottom: 1px solid #f0f4f7;
  }

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

  nav .button {
    justify-self: start;
    margin-top: 10px;
  }

  .slide {
    min-height: 510px;
  }

  .slide::after {
    background: linear-gradient(90deg, #080f1be8 0%, #080f1bb0 65%, #080f1b50 100%);
  }

  .slide .photo img {
    object-position: 66% center;
  }

  .showcase {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .comp-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .comp-pillars {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .planner,
  .finder,
  .split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

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

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

  .floatwa {
    width: 50px;
    height: 50px;
    min-height: 50px;
    padding: 0;
    border-radius: 50%;
  }

  .floatwa span {
    display: none;
  }

  .hero::after {
    right: 5%;
    bottom: 74px;
  }
}

/* ============================================================
   RESPONSIVE DESIGN (Mobile 510px and down)
   ============================================================ */
@media (max-width: 510px) {
  .cards,
  .steps,
  .foot,
  .fields,
  .fields-opt,
  .featured,
  .apps-grid {
    grid-template-columns: 1fr;
  }

  .system-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .system-tile {
    padding: 12px 4px;
    font-size: 0.8rem;
  }

  .comp-pillars {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section {
    padding-block: 34px;
  }

  
.hero-glass-box {
  background: linear-gradient(135deg, rgba(12, 27, 40, 0.82) 0%, rgba(6, 15, 24, 0.92) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: clamp(24px, 4vw, 38px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hero .button.outline {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
}

.hero .button.outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.slidecopy {
    padding-top: 44px;
    padding-bottom: 110px;
  }

  .slidecopy p {
    max-width: 32ch;
    font-size: 1rem;
  }

  .slidecopy h1,
  .slidecopy h2 {
    font-size: 2.15rem;
  }

  .hero::after {
    left: 5%;
    right: auto;
    bottom: 70px;
  }

  .controls {
    bottom: 16px;
  }

  .planner,
  .finder {
    padding: 18px;
  }

  .contact-actions {
    flex-direction: column;
    width: 100%;
  }

  .contact-actions .button {
    width: 100%;
  }
}

/* ============================================================
   REDUCED MOTION SUPPORT
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .loader {
    display: none !important;
  }
}



/* ============================================================
   APPLE CUPERTINO OPTION PICKER & CARD SYSTEM
   ============================================================ */
.apple-system-selector {
  margin-bottom: 22px;
}

.apple-selector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
  flex-wrap: wrap;
}

.apple-selector-head .field-heading {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #86868b;
  margin: 0;
}

.apple-selected-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0071e3;
  background: rgba(0, 113, 227, 0.08);
  padding: 4px 12px;
  border-radius: 980px;
  border: 1px solid rgba(0, 113, 227, 0.2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.apple-opt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.apple-opt-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 14px 12px;
  background: #fbfbfc;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  min-height: 92px;
  transition: all 0.24s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  position: relative;
}

.apple-opt-card:hover {
  background: #ffffff;
  border-color: rgba(0, 113, 227, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.apple-opt-card.active {
  background: #ffffff;
  border-color: #0071e3;
  border-width: 2px;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.16), 0 1px 3px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.apple-opt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 8px;
}

.apple-opt-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.04);
  display: grid;
  place-items: center;
  color: #424245;
  transition: all 0.2s;
}

.apple-opt-card:hover .apple-opt-icon,
.apple-opt-card.active .apple-opt-icon {
  background: rgba(0, 113, 227, 0.1);
  color: #0071e3;
}

.apple-opt-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.apple-radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #d2d2d7;
  display: grid;
  place-items: center;
  color: transparent;
  transition: all 0.2s;
  flex-shrink: 0;
}

.apple-opt-card:hover .apple-radio-circle {
  border-color: #0071e3;
}

.apple-opt-card.active .apple-radio-circle,
.finder-opt-card.active .apple-radio-circle {
  background: #0071e3;
  border-color: #0071e3;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(0, 113, 227, 0.5);
}

.apple-opt-main strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 650;
  color: #1d1d1f;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 3px;
}

.apple-opt-desc {
  display: block;
  font-size: 0.76rem;
  color: #86868b;
  line-height: 1.25;
}

/* Apple Select Bar */
.apple-select-bar {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 980px;
  padding: 4px 14px;
  display: flex;
  align-items: center;
  transition: all 0.2s;
  margin-top: 6px;
}

.apple-select-bar:hover,
.apple-select-bar:focus-within {
  background: #ffffff;
  border-color: #0071e3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.apple-select-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  cursor: pointer;
}

.apple-select-icon {
  color: #0071e3;
  display: grid;
  place-items: center;
}

.apple-select-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #86868b;
  white-space: nowrap;
}

.apple-custom-select {
  flex: 1;
  border: none !important;
  background: transparent !important;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1d1d1f;
  padding: 6px 8px;
  cursor: pointer;
  min-height: auto;
  box-shadow: none !important;
  outline: none !important;
}

/* Input Fields Apple Polish */
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap input {
  padding-right: 48px;
  border-radius: 10px;
  background: #fbfbfc;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.2s;
}

.input-wrap input:focus {
  border-color: #0071e3;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}

.unit-badge {
  position: absolute;
  right: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #86868b;
  background: rgba(0, 0, 0, 0.04);
  padding: 2px 8px;
  border-radius: 6px;
  pointer-events: none;
}

/* System Tiles Apple Polish */
.system-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 20px 10px;
  text-decoration: none;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  font-weight: 650;
  line-height: 1.25;
  font-size: 0.88rem;
  color: #1d1d1f;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.28s cubic-bezier(0.25, 1, 0.5, 1);
}

.tile-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 113, 227, 0.07);
  display: grid;
  place-items: center;
  color: #0071e3;
  transition: all 0.28s cubic-bezier(0.25, 1, 0.5, 1);
  flex-shrink: 0;
}

.tile-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.tile-arrow {
  font-size: 0.85rem;
  color: #0071e3;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.24s cubic-bezier(0.25, 1, 0.5, 1);
}

.system-tile:hover {
  background: #ffffff;
  border-color: #0071e3;
  color: #0071e3;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -4px rgba(0, 113, 227, 0.16), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.system-tile:hover .tile-icon-wrap {
  background: linear-gradient(180deg, #0077ED 0%, #0066CC 100%);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0, 119, 237, 0.35);
}

.system-tile:hover .tile-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Modern Finder Cards */
.finder-cards {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.finder-opt-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: #fbfbfc;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.24s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.finder-opt-card:hover {
  background: #ffffff;
  border-color: rgba(0, 113, 227, 0.4);
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.finder-opt-card.active {
  background: #ffffff;
  border-color: #0071e3;
  border-width: 2px;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.15);
  transform: translateX(4px);
}

.finder-opt-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: all 0.24s;
}

.finder-opt-card:hover .finder-opt-icon,
.finder-opt-card.active .finder-opt-icon {
  background: #0071e3;
  color: #ffffff;
}

.finder-opt-info {
  flex: 1;
}

.finder-opt-info strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 650;
  color: #1d1d1f;
}

.finder-opt-info small {
  display: block;
  font-size: 0.8rem;
  color: #86868b;
  margin-top: 2px;
}

.finder-matches-card {
  background: #fbfbfc;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 22px;
  margin-top: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.matches-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #86868b;
  margin-bottom: 12px;
}

/* Steps Badges */
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(180deg, #0077ED 0%, #0066CC 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(0, 119, 237, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.steps > div {
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  padding: 26px 22px;
  position: relative;
  transition: all 0.28s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.steps > div:hover {
  transform: translateY(-3px);
  border-color: #0071e3;
  box-shadow: 0 12px 28px -4px rgba(0, 113, 227, 0.15);
}

/* Modern Contact Navy Banner */
.contact {
  background: radial-gradient(circle at 85% 45%, rgba(0, 113, 227, 0.35) 0%, transparent 60%),
              linear-gradient(135deg, #06111a 0%, #0c1b28 50%, #0e2940 100%);
  color: white;
  padding-block: clamp(44px, 6vw, 80px);
  margin-top: 30px;
  border-top: 1px solid rgba(0, 113, 227, 0.25);
}

/* Mobile responsive rules */
@media (max-width: 800px) {
  .apple-opt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 510px) {
  .apple-opt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .apple-opt-card {
    padding: 10px;
    min-height: 82px;
  }
  .apple-opt-main strong {
    font-size: 0.85rem;
  }
}

/* Option picker robustness fixes */
.apple-opt-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));}
.apple-opt-card{font:inherit;color:#1d1d1f;width:100%;min-width:0;align-items:stretch;gap:0;}
.apple-opt-card.active{border-width:1.5px;outline:1px solid #0071e3;}
.apple-opt-top{gap:8px;}
.apple-opt-tag{display:none;}
.apple-opt-main{min-width:0;}
.apple-opt-main strong{white-space:normal;overflow-wrap:anywhere;}
.apple-select-bar{min-height:44px;}
.apple-select-inner{display:flex !important;grid-template-columns:none;font-weight:600;}
.apple-custom-select{width:auto;min-width:0;appearance:none;-webkit-appearance:none;text-align:left;}
.apple-selector-head{flex-wrap:wrap;}
@media (max-width:510px){.apple-opt-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.apple-select-title{display:none;}}
