/* SILEST FINANCIAL CONSULTING S.L. — Minimal B/W + Orange */

:root {
  --bg: #0b0b0c;
  --surface: #111114;
  --surface-2: #16161a;
  --text: #f6f7f8;
  --muted: rgba(246, 247, 248, 0.72);
  --muted-2: rgba(246, 247, 248, 0.56);
  --border: rgba(246, 247, 248, 0.12);
  --shadow: rgba(0, 0, 0, 0.35);

  --accent: #ff6a1a;
  --accent-2: #ff8a4d;

  --radius: 16px;
  --radius-sm: 12px;
  --max: 1160px;

  --font: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";

  --ease: 220ms cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(1200px 700px at 20% -10%, rgba(255, 106, 26, 0.18), transparent 50%),
    radial-gradient(900px 520px at 90% 10%, rgba(255, 255, 255, 0.08), transparent 55%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.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;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 106, 26, 0.15);
  border: 1px solid rgba(255, 106, 26, 0.4);
  color: var(--text);
  transform: translateY(-200%);
  transition: transform var(--ease);
  z-index: 9999;
}

.skip-link:focus {
  transform: translateY(0);
  outline: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Header / Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(11, 11, 12, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  color: var(--text);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand__name {
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.1;
}

.brand__sub {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60vw;
}

.nav__toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
}

.nav__toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav__toggle:focus-visible {
  outline: 3px solid rgba(255, 106, 26, 0.35);
  outline-offset: 2px;
}

.nav__bars {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  position: relative;
  border-radius: 999px;
}

.nav__bars::before,
.nav__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform var(--ease), top var(--ease), opacity var(--ease);
}

.nav__bars::before {
  top: -6px;
}

.nav__bars::after {
  top: 6px;
}

.nav__toggle[aria-expanded="true"] .nav__bars {
  background: transparent;
}

.nav__toggle[aria-expanded="true"] .nav__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav__link:focus-visible {
  outline: 3px solid rgba(255, 106, 26, 0.35);
  outline-offset: 2px;
}

.nav__link--cta {
  color: var(--text);
  border-color: rgba(255, 106, 26, 0.35);
  background: rgba(255, 106, 26, 0.12);
}

.nav__link--cta:hover {
  background: rgba(255, 106, 26, 0.18);
  border-color: rgba(255, 106, 26, 0.55);
}

/* Layout helpers */
main section {
  scroll-margin-top: 88px;
}

.muted {
  color: var(--muted);
}

.section {
  padding: 76px 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__head {
  max-width: 720px;
  margin-bottom: 28px;
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

h2 {
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.15;
}

h3 {
  font-size: 18px;
  line-height: 1.25;
}

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

/* Hero */
.hero {
  padding: 58px 0 44px;
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 22px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.hero__lead {
  color: var(--muted);
  font-size: 16px;
  max-width: 58ch;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 106, 26, 0.35);
  background: rgba(255, 106, 26, 0.12);
  color: rgba(246, 247, 248, 0.92);
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 14px;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 106, 26, 0.2);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: transform var(--ease), background var(--ease), border-color var(--ease);
  user-select: none;
}

.btn:focus-visible {
  outline: 3px solid rgba(255, 106, 26, 0.35);
  outline-offset: 2px;
}

.btn--primary {
  background: linear-gradient(180deg, rgba(255, 106, 26, 1), rgba(255, 106, 26, 0.9));
  color: #0b0b0c;
  border-color: rgba(255, 106, 26, 0.55);
}

.btn--primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(255, 138, 77, 1), rgba(255, 106, 26, 0.95));
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.btn--ghost:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

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

.fact {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.fact dt {
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: 0.2px;
}

.fact dd {
  margin: 2px 0 0;
  font-weight: 600;
  color: rgba(246, 247, 248, 0.92);
  font-size: 13px;
}

.hero__panel {
  position: relative;
}

.panel {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px var(--shadow);
  padding: 18px;
}

.panel__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel__row:last-of-type {
  border-bottom: none;
}

.panel__k {
  font-size: 12px;
  color: var(--muted-2);
}

.panel__v {
  font-size: 13px;
  color: rgba(246, 247, 248, 0.9);
  font-weight: 600;
}

.panel__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 10px 0;
}

.panel__note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 70% 40%, rgba(255, 106, 26, 0.18), transparent 60%),
    radial-gradient(520px 320px at 15% 70%, rgba(255, 255, 255, 0.07), transparent 65%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.95;
}

/* Cards / grid */
.grid {
  display: grid;
  gap: 14px;
}

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

.card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform var(--ease), border-color var(--ease), background var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 106, 26, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.card--flat:hover {
  transform: none;
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 106, 26, 0.25);
  background: rgba(255, 106, 26, 0.10);
  color: var(--text);
  margin-bottom: 10px;
}

.card__title {
  margin: 0 0 6px;
}

.card__text {
  margin: 0;
  color: var(--muted);
}

/* Pills */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(246, 247, 248, 0.86);
  font-size: 13px;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.address {
  font-style: normal;
  color: rgba(246, 247, 248, 0.88);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  border-radius: var(--radius);
  margin-top: 10px;
}

.map {
  padding: 18px;
}

.map__inner {
  display: flex;
  gap: 12px;
  align-items: center;
}

.map__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 106, 26, 0.18);
}

.map__title {
  font-weight: 700;
}

.map__sub {
  color: var(--muted);
  font-size: 13px;
}

.map__note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
}

.contact-card__title {
  margin: 0 0 12px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contact-list__item {
  display: grid;
  gap: 4px;
}

.contact-list__k {
  color: var(--muted-2);
  font-size: 12px;
}

.contact-list__v {
  color: rgba(246, 247, 248, 0.9);
  font-weight: 600;
  font-size: 13px;
}

.contact-card__note {
  margin: 14px 0 0;
  font-size: 13px;
}

.form {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 18px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field label {
  font-size: 13px;
  color: rgba(246, 247, 248, 0.92);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 11, 12, 0.35);
  color: var(--text);
  font: inherit;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

input:hover,
textarea:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(255, 106, 26, 0.6);
  box-shadow: 0 0 0 4px rgba(255, 106, 26, 0.18);
  background: rgba(11, 11, 12, 0.5);
}

.field__error {
  margin: 0;
  min-height: 18px;
  color: rgba(255, 106, 26, 0.95);
  font-size: 12px;
}

.is-invalid {
  border-color: rgba(255, 106, 26, 0.8) !important;
}

.form__row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4px;
}

.form__fineprint {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted-2);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: rgba(11, 11, 12, 0.72);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.7fr;
  gap: 12px;
  align-items: start;
}

.footer__name {
  font-weight: 700;
}

.footer__meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.footer__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

.footer__links a {
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.footer__links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.footer__copy {
  text-align: right;
  font-size: 13px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: min(440px, calc(100% - 32px));
  z-index: 9999;
}

.toast__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 106, 26, 0.35);
  background: rgba(11, 11, 12, 0.88);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

.toast__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 106, 26, 0.18);
}

.toast__text {
  color: rgba(246, 247, 248, 0.92);
  font-weight: 600;
  font-size: 13px;
  flex: 1;
}

.toast__close {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 12px;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
}

.toast__close:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

.toast__close:focus-visible {
  outline: 3px solid rgba(255, 106, 26, 0.35);
  outline-offset: 2px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .footer__copy {
    text-align: left;
  }
}

@media (max-width: 820px) {
  .nav__toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 10px;
    margin: 0;
    display: none;
    flex-direction: column;
    gap: 6px;
    background: rgba(11, 11, 12, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
  }

  .nav__menu.is-open {
    display: flex;
  }

  .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

