@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap");

:root {
  --ink: #1A2E38;
  --ink-soft: #2C4552;
  /* Мягкое чередование в гамме бренда #01AFF1 / #87d1ed */
  --paper: #EAF7FC;
  --paper-alt: #C5E9F6;
  --card: #FFFFFF;
  --line: rgba(10, 79, 110, 0.14);
  --line-strong: rgba(10, 79, 110, 0.24);
  --gold: #AD7B2A;
  --gold-dark: #875F1E;
  --teal: #0A4F6E;
  --cyan: #01AFF1;
  --muted: #4A6572;
  --radius: 3px;
  --wrap: 1200px;
  --shadow-sm: 0 2px 10px rgba(1, 80, 120, 0.06);
  --shadow-md: 0 8px 28px rgba(1, 80, 120, 0.09);
  --shadow-lg: 0 16px 48px rgba(1, 80, 120, 0.12);
  --shadow-hover: 0 14px 40px rgba(1, 80, 120, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--ink);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
}
.mono { font-family: "IBM Plex Mono", monospace; }

:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 3000;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.btn-block { width: 100%; justify-content: center; }
.btn-submit { align-self: flex-start; }

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

body.menu-open { overflow: hidden; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  font-family: "IBM Plex Sans", sans-serif;
}
.btn:disabled { opacity: 0.65; cursor: not-allowed; }
.btn-primary {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 14px rgba(173, 123, 42, 0.28);
}
.btn-primary:hover:not(:disabled) {
  background: var(--gold-dark);
  box-shadow: 0 8px 22px rgba(173, 123, 42, 0.35);
  transform: translateY(-1px);
}
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}
.btn-wa {
  background: #1F7A4D;
  color: #fff;
  box-shadow: 0 4px 14px rgba(31, 122, 77, 0.28);
}
.btn-wa:hover {
  background: #17633E;
  color: #fff;
  box-shadow: 0 8px 22px rgba(31, 122, 77, 0.35);
  transform: translateY(-1px);
}
.btn-wa i { font-size: 1.15em; }
.btn-ghost { color: var(--ink-soft); border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }

/* Header */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 252, 248, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
#header.scrolled {
  background: rgba(251, 252, 248, 0.98);
  border-bottom-color: rgba(20, 55, 75, 0.14);
  box-shadow: 0 8px 28px rgba(1, 80, 120, 0.1);
}

.header-inner {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  column-gap: 16px;
  min-height: 72px;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  min-width: max-content;
  transition: opacity 0.2s var(--ease);
}
.brand:hover { opacity: 0.88; }
.brand-logo {
  width: 44px;
  height: 44px;
  max-width: none !important;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-short {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: 0.02em;
}
.brand-full {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.25;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-width: 148px;
  font-weight: 500;
}
@media (min-width: 1100px) {
  .brand-full { max-width: 168px; font-size: 0.72rem; }
}

nav.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 0;
  flex-wrap: nowrap;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  box-shadow: var(--shadow-sm);
}
nav.primary-nav a {
  position: relative;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 9px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
nav.primary-nav a::after { display: none; }
nav.primary-nav a:hover {
  color: var(--ink);
  background: var(--paper-alt);
}
nav.primary-nav a.active {
  color: var(--ink);
  background: rgba(0, 174, 239, 0.12);
  box-shadow: none;
}
@media (min-width: 1360px) {
  nav.primary-nav a {
    font-size: 0.86rem;
    padding: 9px 11px;
  }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.header-phone i {
  font-size: 0.72rem;
  color: var(--cyan);
}
.header-phone:hover {
  border-color: var(--cyan);
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 174, 239, 0.15);
}

.btn-header {
  padding: 9px 16px;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 999px;
  letter-spacing: 0.02em;
  min-height: 40px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  height: 40px;
}
.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 11px;
  height: 100%;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active {
  background: #0A4F6E;
  color: #fff;
}
.lang-switch-mobile {
  width: 100%;
  justify-content: stretch;
  margin-top: 4px;
  height: auto;
}
.lang-switch-mobile .lang-btn {
  flex: 1;
  padding: 12px 10px;
  text-align: center;
  height: auto;
}

/* Compact header earlier to avoid overlap */
@media (max-width: 1280px) {
  .header-phone span { display: none; }
  .header-phone {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}
@media (max-width: 1180px) {
  nav.primary-nav { display: none; }
  .header-phone { display: none; }
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
}

.burger {
  display: none;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  width: 42px;
  height: 40px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.burger:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
@media (max-width: 1180px) { .burger { display: block; } }
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 3px auto;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 18px 40px rgba(30, 42, 34, 0.12);
  animation: menu-drop 0.28s var(--ease);
}
@keyframes menu-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-menu.open { display: block; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu nav a {
  padding: 16px 28px;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.mobile-menu nav a:hover,
.mobile-menu nav a.active {
  background: var(--paper);
  color: var(--ink);
  padding-left: 34px;
}
.mobile-menu nav a.active {
  box-shadow: inset 3px 0 0 var(--cyan);
}
.mobile-menu-footer {
  padding: 20px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--paper);
}
.mobile-phone,
.mobile-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 0;
}
.mobile-wa { color: #128C7E; }

/* Sections */
section { padding: 88px 0; }
@media (max-width: 700px) { section { padding: 58px 0; } }

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

.kicker {
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin: 0 0 10px;
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }

/* Hero */
.hero { padding: 76px 0 60px; }
.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 5px 12px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.12;
  max-width: 18ch;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 24px 0 34px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 8px; }
.hero-note { font-size: 0.88rem; color: var(--muted); margin-top: 14px; }

.hero-photo {
  margin: 0;
  position: relative;
  width: 100%;
  max-width: none;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--card);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.hero-photo:hover {
  box-shadow: 0 20px 50px rgba(30, 42, 34, 0.16);
  transform: translateY(-3px);
}
.hero-photo img {
  width: 100%;
  height: auto;
  min-height: 380px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 62% 35%;
  display: block;
}
.hero-photo-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(251, 252, 248, 0.96);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.hero-photo-label {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--cyan);
  background: rgba(0, 174, 239, 0.1);
  border: 1px solid rgba(0, 174, 239, 0.25);
  border-radius: 999px;
  padding: 4px 10px;
  flex-shrink: 0;
}

/* Situations */
.situations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
@media (max-width: 760px) { .situations { grid-template-columns: 1fr; } }
.situation {
  background: var(--card);
  padding: 24px 26px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.situation:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--line-strong);
}
.situation-mark {
  font-family: "IBM Plex Mono", monospace;
  color: var(--cyan);
  font-weight: 600;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  margin-top: 2px;
}
.situation p { margin: 0; color: var(--ink-soft); }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
}

.service {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 28px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--cyan);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.service:hover {
  border-color: var(--line-strong);
  border-top-color: var(--gold);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.service:target {
  border-color: var(--teal);
  border-top-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46, 107, 87, 0.18), var(--shadow-md);
  scroll-margin-top: 96px;
}
@media (max-width: 680px) {
  .service { padding: 22px 20px 20px; }
}

.service-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 14px;
  margin-bottom: 14px;
  min-width: 0;
  position: static;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  box-shadow: none;
  z-index: auto;
}

.service-num {
  grid-column: 1;
  grid-row: 1;
  display: block;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.85rem;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--cyan);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
@media (max-width: 680px) { .service-num { font-size: 1.55rem; } }

.service-title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.service-lead {
  margin: 0 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.35;
}

.service .desc {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.7;
  flex: 1;
}

.service-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
@media (max-width: 560px) {
  .service-meta { grid-template-columns: 1fr; }
}
.service-meta strong {
  color: var(--ink);
  font-weight: 700;
}

/* Process */
.process-list { display: flex; flex-direction: column; position: relative; }
.process-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-step {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--cyan);
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}
.process-item h3 { font-size: 1.2rem; margin-bottom: 6px; }
.process-item p { margin: 0; color: var(--ink-soft); max-width: 62ch; }

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
@media (max-width: 860px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-item {
  background: var(--card);
  padding: 30px 26px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.why-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.why-item::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--cyan);
  margin-bottom: 16px;
  transition: width 0.25s var(--ease);
}
.why-item:hover::before { width: 44px; }
.why-item h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
}
.why-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  align-items: stretch;
}
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--card);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.price-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.price-card.featured {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
  z-index: 1;
}
.price-card.featured:hover {
  box-shadow: 0 20px 50px rgba(30, 42, 34, 0.28);
  transform: scale(1.02) translateY(-3px);
}
.price-card.featured h3,
.price-card.featured .price-amount { color: #fff; }
.price-card.featured .price-desc,
.price-card.featured .price-features li { color: #C9D1BF; }
.price-card.featured .price-features li i { color: var(--gold); }
.price-card.featured .popular-tag { color: var(--gold); }

.popular-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.price-card h3 { font-size: 1.2rem; margin-bottom: 8px; font-family: "IBM Plex Sans", sans-serif; font-weight: 600; }
.price-amount {
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.price-amount span { font-size: 0.85rem; font-weight: 500; }
.price-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.price-card.featured .price-desc { border-bottom-color: rgba(255,255,255,0.15); }
.price-features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.price-features li i { color: var(--teal); margin-top: 3px; font-size: 0.75rem; }
.price-card.featured .btn-primary {
  background: var(--gold);
  color: #fff;
}
.price-card.featured .btn-primary:hover {
  background: var(--gold-dark);
}
.price-card .btn {
  margin-top: auto;
}
.price-note { font-size: 0.82rem; color: var(--muted); margin-top: 24px; text-align: center; }

/* FAQ */
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-size: 1.08rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.3rem;
  color: var(--gold-dark);
  min-width: 20px;
  text-align: center;
  transition: transform 0.2s ease;
}
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 4px 24px; color: var(--ink-soft); max-width: 70ch; }

/* CTA banner */
.cta-banner {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 48px 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.18), transparent 70%);
  top: -80px;
  right: -40px;
  pointer-events: none;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: 22ch; }
.cta-banner p { color: #C9D1BF; margin: 10px 0 0; max-width: 44ch; }
.cta-banner .btn-primary { background: var(--gold); }
.cta-banner .btn-line { border-color: #C9D1BF; color: #fff; }
.cta-banner .btn-line:hover { background: #fff; color: var(--ink); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cyan);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.contact-card-kicker {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card-title {
  margin: 0 0 22px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.contact-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:first-child { padding-top: 0; }
.contact-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 174, 239, 0.1);
  border: 1px solid rgba(0, 174, 239, 0.22);
  color: var(--cyan);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 500;
}
.contact-list p {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.45;
}
.contact-list a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
}
.contact-list a:hover { color: var(--gold-dark); }
.contact-card-note {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.contact-card-note a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}
.contact-card-note a:hover { color: var(--gold-dark); }

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.contact-form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s var(--ease);
}
.contact-form-card:focus-within {
  box-shadow: var(--shadow-lg);
}
.field label { display: block; font-size: 0.9rem; color: var(--muted); margin-bottom: 6px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--card);
  font: inherit;
  color: var(--ink);
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--gold-dark); outline: none; }
.field textarea { resize: vertical; min-height: 96px; }
.consent { font-size: 0.82rem; color: var(--muted); margin: 0; }
.consent a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.consent a:hover { color: var(--gold-dark); }

.form-message {
  display: none;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.92rem;
}
.form-message.success {
  display: block;
  background: #e8f5ef;
  border: 1px solid var(--teal);
  color: var(--teal);
}
.form-message.error {
  display: block;
  background: #fdf0f0;
  border: 1px solid #c44;
  color: #922;
}

/* Footer */
footer {
  background: #0A3D52;
  color: rgba(255, 255, 255, 0.78);
  border-top: 0;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 36px 48px;
  align-items: start;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  margin-bottom: 16px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
}
.footer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}
.footer-company {
  margin: 0 0 10px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 28ch;
}
.footer-meta {
  margin: 0 0 6px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  max-width: 34ch;
}
.footer-col-title {
  margin: 0 0 14px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-wrap: nowrap;
}
.footer-links a {
  font-size: 0.95rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  width: fit-content;
  transition: color 0.2s var(--ease);
}
.footer-links a:hover { color: #87d1ed; }
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  width: fit-content;
  transition: color 0.2s var(--ease);
}
.footer-contacts a i {
  width: 1.1em;
  color: #87d1ed;
  text-align: center;
}
.footer-contacts a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-privacy {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(135, 209, 237, 0.45);
  padding-bottom: 1px;
}
.footer-privacy:hover {
  color: #87d1ed;
  border-bottom-color: #87d1ed;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  footer { padding: 40px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom {
    margin-top: 28px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Legal / privacy page */
.legal-page .legal-wrap { max-width: 920px; }
.legal-hero {
  background:
    linear-gradient(165deg, rgba(46, 107, 87, 0.08), transparent 55%),
    var(--paper-alt);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 40px;
}
.legal-page h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  margin: 0 0 12px;
  line-height: 1.18;
  max-width: 18ch;
}
.legal-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 42rem;
}
.legal-lead a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.legal-fact {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.legal-fact-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.legal-fact-value {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}
.legal-note {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.legal-note p {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}
.legal-note p:last-child { margin-bottom: 0; }
.legal-note strong { color: var(--ink); font-weight: 600; }

.legal-body {
  padding: 40px 0 56px;
  background: var(--paper);
}
.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  max-width: 1080px;
}
.legal-toc {
  position: sticky;
  top: 88px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  box-shadow: var(--shadow-sm);
}
.legal-toc-title {
  margin: 0 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.legal-toc li {
  counter-increment: toc;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.legal-toc li:last-child { border-bottom: 0; }
.legal-toc a {
  display: block;
  padding: 8px 4px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.35;
  transition: color 0.2s var(--ease);
}
.legal-toc a::before {
  content: counter(toc) ". ";
  color: var(--teal);
  font-weight: 600;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8em;
}
.legal-toc a:hover { color: var(--ink); }

.legal-content {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 32px 28px;
  box-shadow: var(--shadow-sm);
}
.legal-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.legal-section:last-of-type { border-bottom: 0; }
.legal-content h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.22rem;
  margin: 0 0 14px;
  line-height: 1.3;
}
.legal-num {
  flex: 0 0 auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  border: 1px solid rgba(46, 107, 87, 0.35);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  translate: 0 2px;
}
.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  line-height: 1.7;
}
.legal-content p { margin: 0 0 12px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul {
  margin: 0 0 14px;
  padding-left: 1.15rem;
}
.legal-content li { margin-bottom: 8px; }
.legal-content a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-dl {
  margin: 4px 0 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.legal-dl > div {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 8px 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.legal-dl > div:last-child { border-bottom: 0; }
.legal-dl > div:nth-child(even) { background: rgba(227, 233, 216, 0.35); }
.legal-dl dt {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding-top: 2px;
}
.legal-dl dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}

.legal-contacts {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.legal-contacts li {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 8px 16px;
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.legal-contacts li:last-child { border-bottom: 0; }
.legal-contacts-label {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding-top: 2px;
}

.legal-back {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .legal-toc {
    position: static;
  }
  .legal-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
  }
  .legal-toc li { border-bottom: 0; }
  .legal-toc a { padding: 6px 2px; }
}
@media (max-width: 720px) {
  .legal-hero { padding: 40px 0 28px; }
  .legal-facts { grid-template-columns: 1fr; }
  .legal-page h1 { max-width: none; }
  .legal-content { padding: 4px 18px 22px; }
  .legal-dl > div,
  .legal-contacts li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .legal-toc ol { grid-template-columns: 1fr; }
}


/* WhatsApp */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  text-decoration: none;
  color: #fff;
}
.wa-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  animation: wa-ring 2.2s ease-out infinite;
  pointer-events: none;
}
.wa-float-btn {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #2fe472 0%, #25d366 45%, #1ebe57 100%);
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 8px 24px rgba(37, 211, 102, 0.4),
    0 2px 8px rgba(30, 42, 34, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-size: 1.75rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.wa-float-btn i { line-height: 1; translate: 0 1px; }
.wa-float-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow-md);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.wa-float-tip::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  background: var(--ink);
  transform: translateY(-50%) rotate(45deg);
  border-radius: 2px;
}
.wa-float:hover .wa-float-btn {
  transform: translateY(-3px) scale(1.06);
  box-shadow:
    0 14px 32px rgba(37, 211, 102, 0.45),
    0 4px 12px rgba(30, 42, 34, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.wa-float:hover .wa-float-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.wa-float:hover .wa-float-pulse { animation: none; opacity: 0; }
@keyframes wa-ring {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 42, 34, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.modal-overlay.open {
  display: flex;
  opacity: 1;
  animation: overlay-in 0.25s var(--ease) forwards;
}
@keyframes overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  width: min(440px, 100%);
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.97);
  animation: modal-in 0.35s var(--ease) forwards;
}
@keyframes modal-in {
  to { transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal h3 { font-size: 1.35rem; margin-bottom: 6px; }
.modal > p { font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }

/* Hero animation */
.hero-anim > * {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s ease forwards;
}
.hero-anim > *:nth-child(1) { animation-delay: 0.05s; }
.hero-anim > *:nth-child(2) { animation-delay: 0.15s; }
.hero-anim > *:nth-child(3) { animation-delay: 0.25s; }
.hero-anim > *:nth-child(4) { animation-delay: 0.35s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

.process-item {
  transition: background 0.25s var(--ease);
}
.process-item:hover {
  background: rgba(255, 255, 255, 0.35);
}

.faq-item {
  transition: background 0.2s var(--ease);
}
.faq-item:hover { background: rgba(251, 252, 248, 0.7); }
.faq-item[open] { background: var(--card); }

/* About company */
.about-block {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--cyan);
  box-shadow: var(--shadow-md);
  padding: 36px 34px;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.about-block:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.about-block-copy h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0 0 16px;
  line-height: 1.2;
}
.about-block-copy p {
  color: var(--ink-soft);
  margin: 0 0 14px;
  max-width: 62ch;
  line-height: 1.75;
}
.about-site-link {
  margin-top: 10px;
}
.about-site-link i {
  font-size: 0.8rem;
  opacity: 0.8;
}
.about-block-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.about-meta-item strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 700;
}
.about-meta-item a,
.about-meta-item span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  word-break: break-word;
}
.about-meta-item a:hover { color: var(--cyan); }
@media (max-width: 860px) {
  .about-block {
    grid-template-columns: 1fr;
    padding: 26px 20px;
  }
}

@media (max-width: 860px) {
  .price-card.featured {
    transform: none;
  }
  .price-card.featured:hover {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .wa-float { animation: none !important; }
  .wa-float-pulse { animation: none !important; display: none; }
  .mobile-menu { animation: none !important; }
  .service:hover,
  .situation:hover,
  .why-item:hover,
  .price-card:hover,
  .hero-photo:hover,
  .about-block:hover,
  .btn:hover,
  .brand:hover,
  nav.primary-nav a:hover,
  .header-phone:hover {
    transform: none !important;
  }
}

/* ========== Mobile / tablet ========== */
@media (max-width: 920px) {
  .hero { padding: 56px 0 40px; }
  .hero h1 { max-width: none; }
  .hero-sub { font-size: 1.05rem; margin: 18px 0 26px; }
  .hero-photo { max-width: 640px; margin-left: auto; margin-right: auto; }
  .hero-photo img { min-height: 280px; }
}

@media (max-width: 760px) {
  .section-head { margin-bottom: 32px; }
  .section-head p { font-size: 0.98rem; }

  .service-head {
    column-gap: 12px;
    align-items: center;
  }
  .service-title {
    font-size: 1.12rem;
  }
  .service-lead { font-size: 1rem; }
  .service .desc { font-size: 0.9rem; margin-bottom: 14px; }
  .service:hover { transform: none; }
  .situation:hover,
  .why-item:hover,
  .price-card:hover,
  .about-block:hover,
  .hero-photo:hover {
    transform: none;
  }

  .process-item {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 22px 0;
  }
  .process-item h3 { font-size: 1.08rem; }
}

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

  .header-inner {
    min-height: 64px;
    padding: 8px 0;
  }
  .brand-logo { width: 40px; height: 40px; }
  .brand-full { display: none; }
  .brand-short { font-size: 1.1rem; }

  .btn-header {
    padding: 10px 14px;
    font-size: 0.82rem;
    min-height: 40px;
  }

  .mobile-menu nav a {
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    min-height: 52px;
    display: flex;
    align-items: center;
  }
  .mobile-menu-footer { padding: 16px; gap: 12px; }
  .mobile-phone,
  .mobile-wa {
    min-height: 44px;
    padding: 12px 0;
  }

  section { padding: 48px 0; }

  .hero { padding: 40px 0 32px; }
  .hero-eyebrow {
    font-size: 0.75rem;
    padding: 5px 10px;
    margin-bottom: 16px;
    max-width: 100%;
    line-height: 1.4;
  }
  .hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1.12;
  }
  .hero-sub {
    font-size: 0.98rem;
    margin: 14px 0 22px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  .hero-note { font-size: 0.82rem; }

  .hero-photo-caption {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.78rem;
  }

  .situation { padding: 18px 16px; gap: 12px; }
  .situation p { font-size: 0.92rem; }

  .service {
    padding: 20px 16px 18px;
  }
  .service-head {
    column-gap: 10px;
    margin-bottom: 12px;
  }
  .service-num { font-size: 1.4rem; }
  .service-title {
    font-size: 1.05rem;
    line-height: 1.25;
  }
  .service-meta {
    font-size: 0.82rem;
    padding-top: 14px;
    gap: 10px;
  }

  .why-item { padding: 22px 18px; }
  .why-item h3 { font-size: 1rem; }
  .why-item p { font-size: 0.9rem; }

  .price-card { padding: 24px 18px; }
  .price-amount { font-size: 1.4rem; }
  .price-card .btn { width: 100%; justify-content: center; min-height: 46px; }

  .faq-item summary {
    font-size: 0.98rem;
    padding: 18px 0;
    gap: 12px;
    align-items: flex-start;
  }
  .faq-item .faq-a {
    font-size: 0.9rem;
    padding: 0 0 18px;
  }

  .cta-banner {
    padding: 28px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .cta-banner h2 { max-width: none; font-size: 1.4rem; }
  .cta-banner p { max-width: none; font-size: 0.92rem; }
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .contact-grid { gap: 20px; }
  .contact-card { padding: 22px 18px; }
  .contact-list li { padding: 14px 0; }
  .contact-list p,
  .contact-list a { font-size: 0.98rem; word-break: break-word; }
  .field input,
  .field textarea,
  .field select {
    padding: 14px;
    font-size: 16px; /* prevents iOS zoom */
    min-height: 48px;
  }
  .field textarea { min-height: 110px; }
  form.contact-form .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .footer-bottom { margin-top: 24px; padding-top: 16px; }

  .wa-float {
    bottom: max(18px, env(safe-area-inset-bottom));
    right: 16px;
    width: 54px;
    height: 54px;
  }
  .wa-float-btn {
    width: 54px;
    height: 54px;
    font-size: 1.55rem;
  }
  .wa-float-tip { display: none; }

  .modal-overlay { padding: 12px; align-items: flex-end; }
  .modal {
    padding: 24px 18px 20px;
    width: 100%;
    max-height: min(92vh, 640px);
    overflow-y: auto;
    border-radius: 12px 12px 3px 3px;
  }
  .modal form .btn {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 380px) {
  .btn-header { display: none; }
  .lang-btn { padding: 9px 10px; font-size: 0.72rem; }
  .hero-eyebrow { font-size: 0.7rem; }
  .service-title { font-size: 0.98rem; }
}
