/* ═══════════════════════════════════════════════════
   Atria Teknoloji — Design System v2
   Light default · Dark toggle · Plesk/IIS compatible
   ═══════════════════════════════════════════════════ */

@font-face {
  font-family: 'Gotham';
  src: url('/assets/fonts/Gotham-Book.woff2') format('woff2'),
       url('/assets/fonts/Gotham-Book.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── Light theme (default) ── */
:root {
  --font-display: 'Gotham', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Gotham', 'Segoe UI', system-ui, sans-serif;

  --bg: #F8F6F3;
  --bg-elevated: #FFFFFF;
  --bg-subtle: #EBE8E2;
  --bg-card: #FFFFFF;
  --border: rgba(20, 20, 30, 0.09);
  --border-strong: rgba(20, 20, 30, 0.16);

  --text: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted: #737373;

  --atria-gold: #B09B7A;
  --atria-gold-dark: #9C8E77;
  --atria-red: #C8102E;

  --accent: #B09B7A;
  --accent-hover: #9C8E77;
  --accent-soft: rgba(176, 155, 122, 0.14);
  --accent-glow: rgba(176, 155, 122, 0.28);

  --warm: #B09B7A;
  --warm-soft: rgba(176, 155, 122, 0.12);

  --header-bg: rgba(255, 255, 255, 0.94);
  --shadow-sm: 0 1px 3px rgba(20,20,30,0.06);
  --shadow-md: 0 8px 32px rgba(20,20,30,0.08);
  --shadow-lg: 0 24px 64px rgba(20,20,30,0.12);

  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --container: 1180px;
  --header-h: 76px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Dark theme ── */
[data-theme="dark"] {
  --bg: #0A0A0A;
  --bg-elevated: #141414;
  --bg-subtle: #1C1C1C;
  --bg-card: #111111;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #F2F2F2;
  --text-secondary: #B8B8B8;
  --text-muted: #808080;

  --accent: #B09B7A;
  --accent-hover: #C4AE8C;
  --accent-soft: rgba(176, 155, 122, 0.15);
  --accent-glow: rgba(176, 155, 122, 0.3);

  --warm: #B09B7A;
  --warm-soft: rgba(176, 155, 122, 0.12);

  --header-bg: rgba(10, 10, 10, 0.96);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.5);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 15px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ── Header ── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

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

.logo-img {
  height: 42px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

.footer-brand .logo-img {
  height: 36px;
  max-width: 150px;
}

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

.nav-desktop a {
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg-elevated);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  transition: all var(--transition);
  font-size: 1rem;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.lang-switch a {
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: all var(--transition);
}

.lang-switch a.active {
  background: var(--atria-gold);
  color: #0A0A0A;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--atria-red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.28);
}

.btn-primary:hover {
  background: #A30D26;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}

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

.btn-ghost {
  background: var(--accent-soft);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  cursor: pointer;
  padding: 0.45rem;
  width: 38px;
  height: 38px;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--bg-elevated);
  padding: 1.25rem;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid var(--border);
  overflow-y: auto;
  z-index: 199;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-mobile a:hover { background: var(--accent-soft); color: var(--accent); }

/* ── Homepage Hero ── */
.hero-home {
  padding: calc(var(--header-h) + 3.5rem) 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-home::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 55%;
  height: 100%;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
}

.hero-home::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 1.25rem;
}

.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--warm);
  border-radius: 2px;
}

.hero-home h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  margin-bottom: 1.25rem;
  color: var(--warm);
}

.hero-home h1 span {
  color: var(--atria-gold);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

.hero-visual-wrap {
  position: relative;
}

.hero-visual-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-glow), transparent 50%);
  z-index: -1;
}

.service-preview-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.service-preview-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--bg-subtle);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.service-preview-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.service-preview-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.service-preview-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.service-preview-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Stats strip ── */
.stats-strip {
  padding: 2.5rem 0;
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

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

.stat-item {
  text-align: center;
  padding: 0.5rem;
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--warm);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Section common ── */
.section { padding: 5.5rem 0; }

.section-head {
  margin-bottom: 3rem;
}

.section-head.center {
  text-align: center;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.85rem;
  color: var(--text);
}

.section-head p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ── Service cards (homepage + listing) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card:hover::after { transform: scaleX(1); }

.service-card.featured {
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--accent-soft) 100%);
}

.service-card-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  letter-spacing: 0;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card-link:hover { gap: 0.6rem; }

/* ── Why section ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 1rem;
}

.why-content > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.why-list { display: flex; flex-direction: column; gap: 1rem; }

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-num {
  width: 32px;
  height: 32px;
  background: var(--atria-gold);
  color: #0A0A0A;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.why-item h4 { font-size: 0.925rem; font-weight: 600; margin-bottom: 0.2rem; }
.why-item p { font-size: 0.85rem; color: var(--text-muted); }

.why-visual {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.ecosystem-diagram {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.eco-node {
  padding: 1rem 1.25rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.eco-node.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.eco-connector {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ── References ── */
.ref-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.ref-tag {
  padding: 0.6rem 1.15rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ── CTA ── */
.cta-block {
  padding: 4rem 0 5.5rem;
}

.cta-inner {
  background: #0A0A0A;
  border: 1px solid rgba(176, 155, 122, 0.25);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(176, 155, 122, 0.15) 0%, transparent 60%);
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--atria-gold);
  letter-spacing: 0;
  margin-bottom: 0.5rem;
}

.cta-inner p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

.cta-inner .btn {
  background: var(--atria-red);
  color: #fff;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.cta-inner .btn:hover {
  background: #A30D26;
  transform: translateY(-1px);
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 280px;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ══════════════════════════════════════
   SERVICE DETAIL PAGES
   ══════════════════════════════════════ */

.page-hero-service {
  padding: calc(var(--header-h) + 2.5rem) 0 3rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }

.page-hero-service h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 1rem;
  max-width: 720px;
  color: var(--warm);
}

.page-hero-service .lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-tag {
  padding: 0.35rem 0.85rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Service page layout */
.service-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3.5rem;
  padding: 3.5rem 0 5rem;
  align-items: start;
}

.service-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.sidebar-nav {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.sidebar-nav h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.sidebar-nav a {
  display: block;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: all var(--transition);
  border-left: 2px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--accent);
  background: var(--accent-soft);
  border-left-color: var(--accent);
}

.sidebar-cta {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.sidebar-cta p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.sidebar-cta .btn { width: 100%; font-size: 0.82rem; padding: 0.65rem; }

/* Prose content blocks */
.service-content section {
  margin-bottom: 3.5rem;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.service-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--atria-gold);
}

.service-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 0.65rem;
}

.service-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.75;
}

.service-content ul, .service-content ol {
  list-style: none;
  margin-bottom: 1.25rem;
}

.service-content ul li,
.service-content ol li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.service-content ol { counter-reset: ol-counter; }

.service-content ol li {
  counter-increment: ol-counter;
  padding-left: 2rem;
}

.service-content ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.4rem;
  height: 1.4rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* Feature grid on service pages */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.feature-box {
  padding: 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature-box h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* Spec table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.875rem;
}

.spec-table th,
.spec-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.spec-table th {
  background: var(--bg-subtle);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.spec-table td { color: var(--text-secondary); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.65rem; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
}

.faq-q {
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-q::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-item.open .faq-a { display: block; }

/* Related services */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.related-card {
  padding: 1.15rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
}

.related-card:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Highlight callout */
.callout {
  padding: 1.25rem 1.5rem;
  background: var(--warm-soft);
  border-left: 3px solid var(--warm);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.callout p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.callout strong { color: var(--warm); }

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  padding: 3.5rem 0 5rem;
}

.contact-info-block { margin-bottom: 1.75rem; }

.contact-info-block h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.contact-info-block p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-form {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}

.form-row { margin-bottom: 1.15rem; }

.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--accent);
}

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

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

.captcha-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.captcha-question {
  display: inline-flex;
  align-items: center;
  min-width: 7rem;
  padding: 0.75rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.captcha-refresh {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  transition: all var(--transition);
}

.captcha-refresh:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.captcha-box input {
  flex: 1;
  min-width: 6rem;
  max-width: 10rem;
}

.form-status {
  margin-bottom: 0.85rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
}

.form-status.is-error {
  background: rgba(200, 16, 46, 0.1);
  color: #c8102e;
  border: 1px solid rgba(200, 16, 46, 0.25);
}

.form-status.is-ok {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(176, 155, 122, 0.35);
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* About page */
.about-layout {
  max-width: 760px;
  padding: 3.5rem 0 5rem;
}

.about-layout h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 0.85rem;
}

.about-layout p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.75;
}

/* 404 */
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.error-page p { color: var(--text-muted); margin: 1rem 0 2rem; }

/* Cookie */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 2rem), 580px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  flex-wrap: wrap;
}

.cookie-banner.hidden { display: none; }
.cookie-banner p { font-size: 0.82rem; color: var(--text-muted); flex: 1; }

/* ── References page ── */
.ref-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.ref-filter-btn {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.ref-filter-btn:hover,
.ref-filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.ref-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
}

.ref-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.ref-table th,
.ref-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.ref-table th {
  background: var(--bg-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
}

.ref-table tr:last-child td { border-bottom: none; }
.ref-table tbody tr:hover { background: var(--accent-soft); }

.ref-table td:first-child { font-weight: 600; min-width: 180px; }

.ref-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ref-service-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.ref-service-tag.hotspot { background: var(--accent-soft); color: var(--atria-gold-dark); }
.ref-service-tag.exchange { background: rgba(139,116,75,0.12); color: var(--warm); }
.ref-service-tag.mail { background: rgba(34,139,87,0.1); color: #228b57; }
.ref-service-tag.hosting { background: rgba(128,90,213,0.1); color: #7c5cbf; }
.ref-service-tag.siem { background: rgba(220,53,69,0.1); color: #c0392b; }
.ref-service-tag.microsoft { background: rgba(0,120,212,0.1); color: #0078d4; }

.ref-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.ref-intro {
  max-width: 680px;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ── Pricing ── */
.pricing-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.pricing-table-wrap {
  overflow-x: auto;
  margin-bottom: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.pricing-table th,
.pricing-table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.pricing-table th {
  background: var(--bg-subtle);
  font-weight: 600;
  color: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pricing-table tr:last-child td { border-bottom: none; }

.pricing-table td.price {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.pricing-table tbody tr:hover { background: var(--accent-soft); }

.pricing-modules {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pricing-module {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pricing-module strong { display: block; margin-bottom: 0.15rem; }

.pricing-module span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-module .mod-price {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  font-size: 0.95rem;
}

.pricing-hero-card {
  padding: 1.75rem 1.5rem;
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--accent-soft) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
}

.pricing-hero-card .price-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 0.5rem;
}

.pricing-hero-card .price-amount {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.pricing-hero-card .price-amount small {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-hero-card .price-gift {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.55rem 0.9rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-vat {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

@media (max-width: 640px) {
  .pricing-module {
    flex-direction: column;
    align-items: flex-start;
  }
}

.ref-row.hidden { display: none; }

/* ── WhatsApp floating button ── */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 280;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.1rem 0.75rem 0.85rem;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

body:has(#cookie-banner:not(.hidden)) .whatsapp-float {
  bottom: 5.5rem;
}

@media (max-width: 768px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    padding: 0.85rem;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    justify-content: center;
  }

  .whatsapp-float span { display: none; }

  body:has(#cookie-banner:not(.hidden)) .whatsapp-float {
    bottom: 5rem;
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual-wrap { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .feature-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop, .header-actions .btn { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
