/* Actual DTVM — consultoronlinedbym.online */

:root {
  --ink: #07111c;
  --navy: #0c1a2e;
  --steel: #16324f;
  --line: #d5dee8;
  --line-soft: #e7eef6;
  --mist: #eef3f8;
  --paper: #f6f8fb;
  --muted: #5a6b7d;
  --text: #1c2a3a;
  --white: #ffffff;
  --accent: #1a5f8a;
  --gold: #b08a3c;
  --ok: #0d6b5c;
  --err: #b42318;
  --font: "Source Sans 3", system-ui, sans-serif;
  --display: "Source Serif 4", Georgia, serif;
  --max: 1120px;
  --header: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 14px 40px rgba(7, 17, 28, 0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(26, 95, 138, 0.18); color: var(--ink); }

a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header);
  background: rgba(246, 248, 251, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header__inner {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.logo:hover { text-decoration: none; }

.logo__mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--ink), var(--steel));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-align: center;
}

.logo__name {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.logo__sub {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 500;
}

.nav {
  display: none;
  gap: 22px;
  align-items: center;
  margin-left: auto;
}

.nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.header__cta {
  display: none;
  padding: 11px 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header__cta:hover {
  background: var(--steel);
  text-decoration: none;
  color: var(--white);
}

.menu-toggle {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
  margin-left: auto;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 6px 22px 18px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 13px 0;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile a:last-child { border-bottom: 0; }

/* Company bar */
.company-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.55;
}
.company-bar strong { color: var(--ink); }
.company-bar a { color: var(--accent); font-weight: 600; }
.company-bar__inner { display: flex; flex-direction: column; gap: 3px; }

@media (min-width: 980px) {
  .company-bar__inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .company-bar__sep::before {
    content: "·";
    margin: 0 11px;
    color: #9aabbc;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: clamp(58px, 9vw, 104px) 0 clamp(68px, 10vw, 112px);
  background:
    radial-gradient(ellipse 70% 55% at 88% 12%, rgba(176, 138, 60, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 8% 85%, rgba(26, 95, 138, 0.28) 0%, transparent 50%),
    linear-gradient(155deg, #050c16 0%, #0c1a2e 45%, #16324f 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 88%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero__brand {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.5vw, 2.05rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.15;
  animation: rise 0.7s var(--ease) both;
}

.hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4b07a;
  font-weight: 700;
  margin-bottom: 18px;
  animation: rise 0.7s var(--ease) 0.08s both;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 900px;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  animation: rise 0.75s var(--ease) 0.14s both;
}

.hero .lead {
  font-family: var(--font);
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  max-width: 740px;
  margin-bottom: 20px;
  line-height: 1.55;
  animation: rise 0.75s var(--ease) 0.22s both;
}

.hero .body {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  max-width: 780px;
  margin-bottom: 26px;
  line-height: 1.75;
  animation: rise 0.75s var(--ease) 0.3s both;
}

.disclaimer-box {
  background: rgba(255,255,255,0.06);
  border-left: 3px solid rgba(176, 138, 60, 0.75);
  border: 1px solid rgba(255,255,255,0.12);
  border-left-width: 3px;
  border-left-color: rgba(176, 138, 60, 0.75);
  padding: 16px 18px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.84);
  max-width: 840px;
  margin-bottom: 32px;
  line-height: 1.65;
  animation: rise 0.75s var(--ease) 0.38s both;
}

.disclaimer-box strong { color: #dcc896; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise 0.75s var(--ease) 0.46s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--light {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.btn--light:hover {
  background: #eef3f9;
  text-decoration: none;
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.06);
  text-decoration: none;
  color: #fff;
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
  width: 100%;
}
.btn--dark:hover { background: var(--steel); text-decoration: none; color: var(--white); }
.btn--dark:disabled { opacity: 0.65; cursor: not-allowed; }
.btn--inline { width: auto; display: inline-flex; }

/* Sections */
.section {
  padding: clamp(56px, 8vw, 88px) 0;
  background: var(--white);
}
.section--mist {
  background: linear-gradient(180deg, var(--mist), var(--paper));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section h2,
.page h1 {
  font-family: var(--display);
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.22;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.section p, .page p, .page li {
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.75;
}

.section-intro {
  color: var(--muted);
  max-width: 680px;
  font-size: 1.02rem;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.scope-list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.scope-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.scope-item h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.scope-item p {
  margin-bottom: 0;
  color: var(--muted);
  max-width: 68ch;
}

.regulators {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.regulator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.regulator:hover {
  border-color: var(--steel);
  background: var(--mist);
  text-decoration: none;
}
.regulator span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}

/* Pages */
.page {
  padding: clamp(48px, 7vw, 72px) 0 clamp(64px, 9vw, 96px);
  background: var(--white);
  min-height: 50vh;
}

.page .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.page h2 {
  font-family: var(--display);
  font-size: 1.28rem;
  color: var(--ink);
  margin: 36px 0 12px;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.page ul { padding-left: 22px; margin-bottom: 18px; }
.page li { margin-bottom: 8px; }

.notice {
  background: var(--mist);
  border-left: 3px solid var(--steel);
  padding: 16px 18px;
  margin: 24px 0;
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 36px;
  margin-top: 8px;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow);
}

.panel h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-body > .hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(26, 95, 138, 0.12);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error { border-color: var(--err); }

.form-error {
  display: none;
  color: var(--err);
  font-size: 0.78rem;
  margin-top: 5px;
  font-weight: 600;
}
.form-error.visible { display: block; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--mist);
  border: 1px solid var(--line);
  margin: 10px 0 18px;
}
.consent.error { border-color: var(--err); background: #fff5f4; }
.consent input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--ink);
}
.consent label {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  cursor: pointer;
}

.form-success { display: none; text-align: center; padding: 40px 16px; }
.form-success.visible { display: block; animation: rise 0.5s var(--ease); }
.form-body.hidden { display: none; }

.channels {
  list-style: none;
  background: var(--mist);
  border: 1px solid var(--line);
  padding: 8px 24px;
}
.channels li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.channels li:last-child { border-bottom: 0; }
.channels strong {
  display: block;
  color: var(--ink);
  margin-bottom: 5px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.channels span, .channels a {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.55;
}

/* Footer */
.footer {
  background:
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(176, 138, 60, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #0a1422 0%, #060d18 100%);
  color: #a4b3c4;
  padding: 48px 0 28px;
  font-size: 0.9rem;
  line-height: 1.75;
}

.footer strong { color: var(--white); }
.footer a { color: #c2cedb; }
.footer a:hover { color: var(--white); }

.footer__legal { margin-bottom: 28px; max-width: 920px; }

.footer__nav {
  display: grid;
  gap: 28px;
  margin: 0 0 28px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__nav h4 {
  color: var(--white);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.footer__nav ul { list-style: none; }
.footer__nav li { margin-bottom: 10px; }

.footer__regs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.footer__regs a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.footer__regs a:hover {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.05);
  text-decoration: none;
}

.footer__disclaimer {
  font-size: 0.8rem;
  color: #8596a9;
  margin-bottom: 18px;
  max-width: 920px;
  line-height: 1.7;
}

.footer__copy { font-size: 0.8rem; color: #6f8296; }

@media (min-width: 640px) {
  .header__cta { display: inline-flex; }
  .menu-toggle { margin-left: 0; }
  .regulators { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: start;
  }
  .footer__nav { grid-template-columns: 1fr 1fr 1fr; }
}

@media (min-width: 980px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

@media (max-width: 480px) {
  .logo__sub { display: none; }
  .logo__name { font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
