/* AcademStudio — design system & layout */
:root {
  --ink: #0b1820;
  --ink-soft: #132833;
  --deep: #1a3a45;
  --teal: #2d9b88;
  --teal-bright: #3cb89f;
  --teal-dim: #1e6b5c;
  --amber: #c9922a;
  --amber-soft: #e0b45a;
  --sand: #d9d0c0;
  --mist: #8fa3ae;
  --paper: #f4f1eb;
  --white: #ffffff;
  --danger: #c44b4b;
  --success: #2f8f6b;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 18px 50px rgba(11, 24, 32, 0.18);
  --shadow-soft: 0 8px 28px rgba(11, 24, 32, 0.1);
  --container: 1120px;
  --header-h: 76px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal-dim);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--teal);
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--amber);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 24, 32, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 208, 192, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--paper);
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-text span {
  color: var(--amber-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  color: rgba(244, 241, 235, 0.78);
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 450;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  margin-left: 0.5rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--paper);
  border-radius: var(--radius);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius);
  font-weight: 560;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(201, 146, 42, 0.28);
}

.btn-primary:hover {
  background: var(--amber-soft);
  color: var(--ink);
}

.btn-secondary {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(244, 241, 235, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  border-color: rgba(244, 241, 235, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(11, 24, 32, 0.22);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal-dim);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}

.btn-teal:hover {
  background: var(--teal-bright);
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  background:
    linear-gradient(160deg, rgba(11, 24, 32, 0.55) 0%, rgba(19, 40, 51, 0.72) 45%, rgba(11, 24, 32, 0.88) 100%),
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(45, 155, 136, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(201, 146, 42, 0.18), transparent 50%),
    linear-gradient(135deg, #0b1820 0%, #1a3a45 50%, #0f2a28 100%);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.9;
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-visual svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-content {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
  max-width: 38rem;
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.1s forwards;
}

.brand-hero em {
  font-style: italic;
  font-weight: 500;
  color: var(--amber-soft);
}

.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(244, 241, 235, 0.82);
  max-width: 32rem;
  margin-bottom: 2rem;
  font-weight: 350;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.28s forwards;
}

.hero .btn-group {
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.45s forwards;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Sections ——— */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-tight {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-deep {
  background: linear-gradient(180deg, var(--ink-soft) 0%, var(--deep) 100%);
  color: var(--paper);
}

.section-sand {
  background:
    linear-gradient(180deg, rgba(244, 241, 235, 0.97), rgba(232, 226, 214, 0.95)),
    radial-gradient(ellipse at top right, rgba(45, 155, 136, 0.08), transparent 50%);
}

.section-header {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-dark .eyebrow,
.section-deep .eyebrow {
  color: var(--amber-soft);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-desc {
  color: rgba(11, 24, 32, 0.68);
  font-size: 1.05rem;
}

.section-dark .section-desc,
.section-deep .section-desc {
  color: rgba(244, 241, 235, 0.7);
}

/* ——— Service grid ——— */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-item {
  padding: 0;
  border: none;
  background: transparent;
}

.service-item h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}

.service-item p {
  color: rgba(11, 24, 32, 0.65);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.service-item .link-arrow {
  font-weight: 550;
  color: var(--teal-dim);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-item .link-arrow::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.service-item .link-arrow:hover::after {
  transform: translateX(4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  color: var(--teal);
}

/* ——— Split / process ——— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(217, 208, 192, 0.15);
  counter-increment: step;
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  min-width: 2.2rem;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.step p {
  color: rgba(244, 241, 235, 0.68);
  font-size: 0.98rem;
}

/* ——— Stats strip ——— */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(11, 24, 32, 0.08);
  border-bottom: 1px solid rgba(11, 24, 32, 0.08);
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 650;
  color: var(--teal-dim);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.trust-item span {
  font-size: 0.92rem;
  color: rgba(11, 24, 32, 0.58);
}

/* ——— Pricing ——— */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.price-tier {
  padding: 2rem 1.75rem;
  border: 1px solid rgba(11, 24, 32, 0.1);
  border-radius: var(--radius-lg);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}

.price-tier:hover {
  border-color: rgba(45, 155, 136, 0.45);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.price-tier.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  position: relative;
}

.price-tier.featured::before {
  content: "Най-избиран";
  position: absolute;
  top: -0.7rem;
  left: 1.5rem;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius);
}

.price-tier h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.price-tier .tier-desc {
  font-size: 0.92rem;
  color: rgba(11, 24, 32, 0.55);
  margin-bottom: 1.5rem;
}

.price-tier.featured .tier-desc {
  color: rgba(244, 241, 235, 0.6);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 650;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.price-amount small {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.65;
}

.price-note {
  font-size: 0.85rem;
  opacity: 0.55;
  margin-bottom: 1.5rem;
}

.price-features {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.price-features li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.price-features li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--teal);
}

.price-tier.featured .price-features li::before {
  background: var(--amber);
}

.price-tier .btn {
  width: 100%;
}

/* Calculator */
.calc-panel {
  background: var(--white);
  border: 1px solid rgba(11, 24, 32, 0.1);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-soft);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.form-row {
  margin-bottom: 1.15rem;
}

.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 550;
  margin-bottom: 0.4rem;
  color: rgba(11, 24, 32, 0.75);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid rgba(11, 24, 32, 0.14);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45, 155, 136, 0.18);
  background: var(--white);
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row .error-msg {
  display: none;
  color: var(--danger);
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea {
  border-color: var(--danger);
}

.form-row.has-error .error-msg {
  display: block;
}

.calc-result {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.calc-result h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.calc-result .estimate {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 650;
  color: var(--amber-soft);
  line-height: 1.1;
  margin: 1rem 0 0.35rem;
}

.calc-result .estimate-note {
  font-size: 0.88rem;
  color: rgba(244, 241, 235, 0.55);
  margin-bottom: 1.5rem;
}

.range-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.range-wrap input[type="range"] {
  flex: 1;
  padding: 0;
  accent-color: var(--teal);
  background: transparent;
  border: none;
}

.range-value {
  font-weight: 600;
  min-width: 3.5rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ——— Testimonials ——— */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.quote {
  padding-top: 0.5rem;
}

.quote blockquote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.quote cite {
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(11, 24, 32, 0.55);
  display: block;
}

.quote cite strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* ——— FAQ ——— */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid rgba(11, 24, 32, 0.1);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 0;
  font-weight: 560;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-body {
  padding: 0 0 1.35rem;
  color: rgba(11, 24, 32, 0.68);
  font-size: 0.98rem;
}

/* ——— Page hero (inner) ——— */
.page-hero {
  background:
    linear-gradient(145deg, rgba(11, 24, 32, 0.94), rgba(26, 58, 69, 0.9)),
    radial-gradient(ellipse at 80% 0%, rgba(45, 155, 136, 0.3), transparent 50%);
  color: var(--paper);
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.85rem;
  max-width: 18ch;
}

.page-hero p {
  max-width: 36rem;
  color: rgba(244, 241, 235, 0.72);
  font-size: 1.1rem;
}

/* ——— Contact form ——— */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: rgba(11, 24, 32, 0.65);
  margin-bottom: 1.5rem;
}

.contact-channels {
  display: grid;
  gap: 1rem;
}

.channel {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.channel strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.15rem;
}

.channel a,
.channel span {
  color: rgba(11, 24, 32, 0.65);
  text-decoration: none;
  font-size: 0.98rem;
}

.channel a:hover {
  color: var(--teal);
}

.form-panel {
  background: var(--white);
  border: 1px solid rgba(11, 24, 32, 0.08);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
}

.form-hint {
  font-size: 0.85rem;
  color: rgba(11, 24, 32, 0.5);
}

.form-success {
  display: none;
  padding: 1.25rem;
  background: rgba(47, 143, 107, 0.1);
  border: 1px solid rgba(47, 143, 107, 0.35);
  border-radius: var(--radius);
  color: var(--success);
  margin-bottom: 1rem;
}

.form-success.visible {
  display: block;
  animation: fadeUp 0.4s var(--ease);
}

.checkbox-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: rgba(11, 24, 32, 0.65);
  margin-bottom: 1.15rem;
}

.checkbox-row input {
  margin-top: 0.3rem;
  accent-color: var(--teal);
  width: auto;
}

/* ——— Content pages ——— */
.prose {
  max-width: 680px;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 2rem 0 0.75rem;
}

.prose h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.prose p,
.prose li {
  color: rgba(11, 24, 32, 0.72);
  margin-bottom: 0.85rem;
}

.prose ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.prose ul li {
  list-style: disc;
}

.prose a {
  color: var(--teal-dim);
}

/* ——— Team / about ——— */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.feature-list li {
  padding-left: 1.25rem;
  border-left: 3px solid var(--teal);
}

.feature-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

.feature-list p {
  font-size: 0.95rem;
  color: rgba(11, 24, 32, 0.62);
}

.panel-accent {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.panel-accent h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.panel-accent p {
  color: rgba(244, 241, 235, 0.7);
  margin-bottom: 1.25rem;
}

/* ——— CTA band ——— */
.cta-band {
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(45, 155, 136, 0.22), transparent 55%),
    var(--ink);
  color: var(--paper);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 0.85rem;
  max-width: 16ch;
  margin-inline: auto;
}

.cta-band p {
  color: rgba(244, 241, 235, 0.68);
  max-width: 32rem;
  margin: 0 auto 1.75rem;
}

.cta-band .btn-group {
  justify-content: center;
}

/* ——— Footer ——— */
.site-footer {
  background: #071218;
  color: rgba(244, 241, 235, 0.65);
  padding: 3.5rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 28ch;
  line-height: 1.55;
}

.footer-col h4 {
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(244, 241, 235, 0.58);
  text-decoration: none;
  padding: 0.28rem 0;
}

.footer-col a:hover {
  color: var(--amber-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 241, 235, 0.08);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(244, 241, 235, 0.5);
  text-decoration: none;
  margin-left: 1rem;
}

.footer-bottom a:hover {
  color: var(--paper);
}

/* ——— Reveal on scroll ——— */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ——— Table ——— */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.data-table th,
.data-table td {
  padding: 0.95rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid rgba(11, 24, 32, 0.07);
}

.data-table th {
  background: var(--ink);
  color: var(--paper);
  font-weight: 550;
  font-size: 0.88rem;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: rgba(45, 155, 136, 0.05);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ——— Floating help (mobile CTA) ——— */
.mobile-cta {
  display: none;
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .mobile-cta {
    display: inline-flex;
  }
}

/* ——— Focus visible ——— */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.btn:focus-visible,
.nav a:focus-visible {
  outline-offset: 2px;
}

/* ——— 404 ——— */
.error-page {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ——— Breadcrumb ——— */
.breadcrumb {
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  color: rgba(244, 241, 235, 0.5);
}

.breadcrumb a {
  color: rgba(244, 241, 235, 0.65);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--amber-soft);
}

.breadcrumb span {
  margin: 0 0.4rem;
  opacity: 0.4;
}

/* ——— Subjects chips ——— */
.subject-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.subject-cloud span {
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(11, 24, 32, 0.12);
  border-radius: var(--radius);
  font-size: 0.9rem;
  background: var(--white);
  color: rgba(11, 24, 32, 0.75);
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .service-grid,
  .price-grid,
  .quote-grid,
  .trust-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .calc-grid,
  .contact-layout,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .calc-result {
    position: static;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(11, 24, 32, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
    border-bottom: 1px solid rgba(217, 208, 192, 0.08);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0.75rem;
  }

  .nav-cta {
    margin: 0.5rem 0 0;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .service-grid,
  .price-grid,
  .quote-grid,
  .trust-row,
  .footer-grid,
  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: none;
  }

  .brand-hero {
    max-width: 10ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Print */
@media print {
  .site-header,
  .site-footer,
  .menu-toggle,
  .mobile-cta,
  .sticky-bar,
  .cta-band .btn-group {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}
/* Hero ambient motion */
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-1.5%, 1%, 0) scale(1.03); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

.hero-visual svg {
  animation: drift 18s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual svg {
    animation: none;
  }
}

/* Selection color */
::selection {
  background: rgba(45, 155, 136, 0.28);
  color: var(--ink);
}


/* Blog article meta */
.article-meta {
  font-size: 0.9rem;
  color: rgba(244, 241, 235, 0.55);
  margin-top: 0.5rem;
}

/* Sticky order bar on service pages */
.sticky-bar {
  position: sticky;
  bottom: 0;
  z-index: 50;
  background: rgba(11, 24, 32, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(217, 208, 192, 0.1);
  padding: 0.85rem 0;
}

.sticky-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.sticky-bar p {
  color: rgba(244, 241, 235, 0.7);
  font-size: 0.95rem;
  margin: 0;
}

/* Comparison checklist */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}

.check-grid li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.98rem;
  color: rgba(11, 24, 32, 0.72);
}

.check-grid li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .check-grid {
    grid-template-columns: 1fr;
  }
}

/* Floating contact buttons — WhatsApp + Viber */
.contact-floats {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.chat-float {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s var(--ease);
  text-decoration: none;
}

.chat-float:hover {
  transform: translateY(-3px);
  color: #fff;
}

.wa-float {
  background: #25d366;
}

.viber-float {
  background: #7360f2;
}

@media (max-width: 768px) {
  .contact-floats {
    bottom: 5.25rem;
  }

  .mobile-cta {
    right: 1rem;
    bottom: 1rem;
    z-index: 90;
  }
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

