/* SilverDesign Bt. – silverdesign.hu
   Színek, betűk és elrendezés. A betűtípusok saját tárhelyről töltődnek (assets/fonts). */

@font-face {
  font-family: "Jura";
  src: url("../fonts/jura-light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jura";
  src: url("../fonts/jura-medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --silver: #E4E7EB;
  --silver-light: #EEF0F3;
  --mist: #F1F3F5;
  --graphite: #1F252C;
  --steel: #56616D;
  --rule: #B9C0C8;
  --violet: #5A3FCF;
  --violet-deep: #4630A6;
  --footer-text: #C9CED4;
  --footer-muted: #929CA7;

  --font-display: "Jura", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 7vw, 5.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--silver);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.1;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--violet);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--violet-deep);
}

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--graphite);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 10;
}

.skip:focus {
  top: 1rem;
  color: #fff;
}

/* ---------------------------------------------------------------- fejléc */

.site-header {
  padding: 1.25rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
}

.brand img {
  height: 40px;
  width: auto;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--graphite);
  text-decoration: none;
  font-size: 0.9375rem;
}

.site-nav a:hover {
  color: var(--violet);
  text-decoration: underline;
}

/* ---------------------------------------------------------------- SilverLens (nyitó rész) */

.hero {
  background: linear-gradient(180deg, var(--silver-light) 0%, var(--silver) 70%);
  border-bottom: 1px solid var(--rule);
  padding: clamp(2.5rem, 6vw, 5rem) 0 var(--section);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0.3rem 0.9rem 0.3rem 0.7rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--mist);
  font-size: 0.875rem;
  color: var(--graphite);
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--violet);
}

.hero h1 {
  font-weight: 300;
  font-size: clamp(3.25rem, 7.4vw, 5.75rem);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.lead {
  font-size: clamp(1.1875rem, 2vw, 1.375rem);
  line-height: 1.45;
  max-width: 30ch;
  margin-bottom: 1.25rem;
}

.hero-text > p:not(.status):not(.lead) {
  color: var(--steel);
  max-width: 46ch;
}

.actions {
  margin-top: 2rem;
}

.button {
  display: inline-block;
  background: var(--violet);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
}

.button:hover {
  background: var(--violet-deep);
  color: #fff;
}

.actions-note {
  margin: 0.9rem 0 0;
  font-size: 0.9375rem;
  color: var(--steel);
}

.hero-figure {
  margin: 0;
}

.focus {
  width: 100%;
  height: auto;
  overflow: visible;
}

.focus text {
  font-family: var(--font-body);
}

/* ---------------------------------------------------------------- funkciók */

.features {
  padding: var(--section) 0;
}

.features h2,
.about h2,
.contact h2 {
  font-weight: 300;
  font-size: clamp(1.875rem, 3.4vw, 2.5rem);
}

.feature-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 3vw, 2.5rem);
}

.feature-list li {
  border-top: 1px solid var(--graphite);
  padding-top: 1.25rem;
}

.feature-list h3 {
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.feature-list p {
  color: var(--steel);
  margin: 0;
  max-width: 34ch;
}

.note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 3rem 0 0;
  font-size: 0.9375rem;
  color: var(--steel);
}

.note img {
  width: 28px;
  height: 28px;
  flex: none;
}

/* ---------------------------------------------------------------- rólunk */

.about {
  border-top: 1px solid var(--rule);
  padding: var(--section) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 1.5rem clamp(2rem, 5vw, 4.5rem);
}

.about-text {
  max-width: 58ch;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------- kapcsolat */

.contact {
  background: var(--mist);
  border-top: 1px solid var(--rule);
  padding: var(--section) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 2rem clamp(3rem, 8vw, 7rem);
  margin-top: 2.5rem;
}

.contact-label {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  color: var(--steel);
}

.contact-value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.6vw, 2.25rem);
  line-height: 1.2;
  color: var(--graphite);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  overflow-wrap: anywhere;
}

.contact-value:hover {
  color: var(--violet);
  border-bottom-color: var(--violet);
}

.contact-note {
  margin: 0.6rem 0 0;
  font-size: 0.9375rem;
  color: var(--steel);
}

/* ---------------------------------------------------------------- lábléc, cégadatok */

.site-footer {
  background: var(--graphite);
  color: var(--footer-text);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  font-size: 0.9375rem;
}

.footer-logo {
  height: 34px;
  width: auto;
  margin-bottom: 2.5rem;
}

.footer-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin: 0 0 1.25rem;
}

.company {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 2.5rem;
  margin: 0;
}

.company div {
  min-width: 0;
}

.company dt {
  color: var(--footer-muted);
  margin-bottom: 0.15rem;
}

.company dd {
  margin: 0;
  color: var(--footer-text);
  overflow-wrap: anywhere;
}

.company a {
  color: var(--footer-text);
}

.company a:hover {
  color: #fff;
}

.site-footer :focus-visible {
  outline-color: #fff;
}

.copyright {
  margin: 2.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid #39424C;
  color: var(--footer-muted);
}

/* ---------------------------------------------------------------- tördelés kisebb képernyőn */

@media (max-width: 900px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-figure {
    max-width: 36rem;
  }

  .feature-list,
  .company {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }

  .brand img {
    height: 34px;
  }

  .site-nav ul {
    gap: 1.25rem;
  }

  .feature-list,
  .company,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

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