/* ============================================================
   Somogyi Kaputechnika Kft. – styles.css
   Color palette: deep navy #0d1b2a, graphite #1e2d3d,
   steel gray #4a5568, light gray #e8ecf0, white #ffffff,
   accent orange #e07b2a, accent blue #2a6db5
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #ffffff;
  color: #1e2d3d;
  line-height: 1.65;
}

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

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

ul { list-style: none; }

/* ---- Typography ---- */
h1 { font-size: clamp(1.75rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 0; }

.mono {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- Layout Utilities ---- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--dark { background: #0d1b2a; color: #ffffff; }
.section--gray { background: #f0f3f6; }
.section--graphite { background: #1e2d3d; color: #ffffff; }

.section__label {
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e07b2a;
  margin-bottom: 12px;
  border-left: 3px solid #e07b2a;
  padding-left: 10px;
}

.section--dark .section__label,
.section--graphite .section__label { color: #e07b2a; }

.section__title { margin-bottom: 16px; }
.section__intro { max-width: 680px; color: #4a5568; margin-bottom: 40px; font-size: 1.05rem; }
.section--dark .section__intro,
.section--graphite .section__intro { color: #a8b8c8; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: #e07b2a;
  color: #ffffff;
  border-color: #e07b2a;
}
.btn--primary:hover { background: #c96a1e; border-color: #c96a1e; }

.btn--outline {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.btn--outline:hover { background: #ffffff; color: #0d1b2a; }

.btn--outline-dark {
  background: transparent;
  color: #0d1b2a;
  border-color: #0d1b2a;
}
.btn--outline-dark:hover { background: #0d1b2a; color: #ffffff; }

.btn--nav {
  background: #e07b2a;
  color: #ffffff;
  border-color: #e07b2a;
  padding: 10px 20px;
  font-size: 0.88rem;
}
.btn--nav:hover { background: #c96a1e; border-color: #c96a1e; }

/* ---- Header / Navigation ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0d1b2a;
  border-bottom: 2px solid #1e2d3d;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.nav__logo-sub {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e07b2a;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__links a {
  color: #c8d6e4;
  font-size: 0.9rem;
  padding: 8px 12px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a.active { color: #ffffff; }
.nav__links a.active { border-bottom: 2px solid #e07b2a; }

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

.nav__phone {
  color: #a8b8c8;
  font-size: 0.85rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__phone span { color: #e07b2a; font-weight: 600; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  position: relative;
  background: #0d1b2a;
  color: #ffffff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(255,255,255,0.03) 39px,
      rgba(255,255,255,0.03) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(255,255,255,0.03) 39px,
      rgba(255,255,255,0.03) 40px
    );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 80px 0 60px;
}

.hero__content { max-width: 700px; }

.hero__eyebrow {
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e07b2a;
  border-left: 3px solid #e07b2a;
  padding-left: 10px;
  margin-bottom: 20px;
}

.hero h1 { color: #ffffff; margin-bottom: 20px; }

.hero__sub {
  font-size: 1.1rem;
  color: #a8b8c8;
  margin-bottom: 36px;
  max-width: 600px;
  line-height: 1.7;
}

.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero__phone-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a8b8c8;
  font-size: 0.95rem;
  padding: 13px 0;
}
.hero__phone-cta strong { color: #ffffff; }

/* ---- Image Placeholder ---- */
.img-placeholder {
  background: #1e2d3d;
  border: 1px dashed #2a6db5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #4a7fa0;
  font-size: 0.82rem;
  font-family: 'Courier New', Courier, monospace;
  line-height: 1.5;
}

.hero__image-placeholder {
  margin-top: 40px;
  height: 280px;
  width: 100%;
}

/* ---- Solution Selector ---- */
.selector {
  background: #1e2d3d;
  padding: 48px 0;
  border-top: 2px solid #2a3d52;
}

.selector__title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.selector__title::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #e07b2a;
}

.selector__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.selector__card {
  background: #0d1b2a;
  border: 1px solid #2a3d52;
  padding: 28px 24px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
  display: block;
}

.selector__card:hover {
  border-color: #e07b2a;
  background: #0f2035;
}

.selector__card-icon {
  width: 40px;
  height: 40px;
  background: #1e2d3d;
  border: 1px solid #2a6db5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.selector__card-icon svg { width: 22px; height: 22px; stroke: #2a6db5; fill: none; stroke-width: 1.8; }

.selector__card h3 { color: #ffffff; margin-bottom: 8px; font-size: 1rem; }
.selector__card p { color: #7a9ab5; font-size: 0.88rem; line-height: 1.55; }

/* ---- Credibility Band ---- */
.credibility {
  background: #f0f3f6;
  border-top: 3px solid #e07b2a;
  border-bottom: 1px solid #dde3ea;
  padding: 28px 0;
}

.credibility__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: space-between;
}

.credibility__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  flex: 1 1 160px;
}

.credibility__dot {
  width: 8px;
  height: 8px;
  background: #e07b2a;
  flex-shrink: 0;
}

.credibility__text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e2d3d;
  white-space: nowrap;
}

/* ---- Product Matrix ---- */
.matrix { overflow-x: auto; }

.matrix table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.matrix thead tr {
  background: #0d1b2a;
  color: #ffffff;
}

.matrix thead th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.matrix tbody tr {
  border-bottom: 1px solid #dde3ea;
  transition: background 0.15s;
}

.matrix tbody tr:hover { background: #f5f7fa; }

.matrix tbody td {
  padding: 16px 20px;
  vertical-align: top;
  color: #1e2d3d;
}

.matrix tbody td:first-child { font-weight: 600; }

.matrix tbody td:last-child {
  color: #4a5568;
  font-size: 0.88rem;
}

/* ---- Process Steps ---- */
.process__steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 40px;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 2px;
  background: #2a3d52;
  z-index: 0;
}

.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}

.process__step-num {
  width: 56px;
  height: 56px;
  background: #1e2d3d;
  border: 2px solid #2a6db5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2a6db5;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.process__step:nth-child(1) .process__step-num { border-color: #e07b2a; color: #e07b2a; }

.process__step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #c8d6e4;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: #0d1b2a;
  padding: 56px 0 48px;
  border-bottom: 3px solid #e07b2a;
}

.page-hero__eyebrow {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e07b2a;
  margin-bottom: 14px;
}

.page-hero h1 { color: #ffffff; margin-bottom: 16px; }

.page-hero__intro {
  color: #a8b8c8;
  font-size: 1.05rem;
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ---- Service Sections ---- */
.service-section { padding: 56px 0; border-bottom: 1px solid #e8ecf0; }
.service-section:last-of-type { border-bottom: none; }

.service-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.service-section__inner--reverse { direction: rtl; }
.service-section__inner--reverse > * { direction: ltr; }

.service-section__content {}
.service-section__label {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e07b2a;
  border-left: 3px solid #e07b2a;
  padding-left: 10px;
  margin-bottom: 12px;
  display: inline-block;
}
.service-section__title { margin-bottom: 14px; }
.service-section__text { color: #4a5568; line-height: 1.7; margin-bottom: 24px; }

.service-section__img {
  height: 260px;
  width: 100%;
}

/* ---- CTA Section ---- */
.cta-section {
  background: #e07b2a;
  padding: 56px 0;
}

.cta-section__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-section__text h2 { color: #ffffff; margin-bottom: 8px; }
.cta-section__text p { color: rgba(255,255,255,0.8); font-size: 1rem; }

.cta-section__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn--white {
  background: #ffffff;
  color: #e07b2a;
  border-color: #ffffff;
}
.btn--white:hover { background: #f5f5f5; }

.btn--outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn--outline-white:hover { background: rgba(255,255,255,0.15); }

/* ---- Contact Page ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  background: #0d1b2a;
  color: #ffffff;
  padding: 36px 32px;
}

.contact-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #e07b2a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e2d3d;
}

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-item__icon {
  width: 36px;
  height: 36px;
  background: #1e2d3d;
  border: 1px solid #2a6db5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item__icon svg { width: 18px; height: 18px; stroke: #2a6db5; fill: none; stroke-width: 1.8; }

.contact-item__label {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a9ab5;
  margin-bottom: 4px;
}

.contact-item__value {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 500;
}

.contact-item__value a { color: #ffffff; }
.contact-item__value a:hover { color: #e07b2a; }

.hours-table { width: 100%; margin-top: 8px; }
.hours-table td { padding: 3px 0; font-size: 0.88rem; color: #a8b8c8; }
.hours-table td:first-child { color: #c8d6e4; font-weight: 500; padding-right: 16px; }

/* ---- Form ---- */
.contact-form {}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e2d3d;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #c8d0d8;
  background: #ffffff;
  color: #1e2d3d;
  font-size: 0.93rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-control:focus { border-color: #2a6db5; }

select.form-control { cursor: pointer; }

textarea.form-control { resize: vertical; min-height: 110px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-note {
  font-size: 0.8rem;
  color: #7a8a9a;
  margin-top: 10px;
}

/* ---- FAQ Accordion ---- */
.faq-list { border-top: 1px solid #dde3ea; }

.faq-item { border-bottom: 1px solid #dde3ea; }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-size: 0.97rem;
  font-weight: 600;
  color: #1e2d3d;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}

.faq-question:hover { color: #2a6db5; }

.faq-icon {
  width: 22px;
  height: 22px;
  border: 1.5px solid #c8d0d8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  font-size: 1rem;
  color: #4a5568;
}

.faq-item.open .faq-icon {
  background: #e07b2a;
  border-color: #e07b2a;
  color: #ffffff;
}

.faq-answer {
  display: none;
  padding: 0 0 18px 0;
  color: #4a5568;
  font-size: 0.93rem;
  line-height: 1.7;
  max-width: 760px;
}

.faq-item.open .faq-answer { display: block; }

/* ---- Map Placeholder ---- */
.map-placeholder {
  height: 240px;
  background: #1e2d3d;
  border: 1px dashed #2a6db5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #4a7fa0;
  font-size: 0.82rem;
  font-family: 'Courier New', Courier, monospace;
  margin-top: 24px;
}

/* ---- Footer ---- */
.site-footer {
  background: #0d1b2a;
  color: #a8b8c8;
  padding: 56px 0 0;
  border-top: 3px solid #e07b2a;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.footer__brand-sub {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e07b2a;
  margin-bottom: 16px;
}

.footer__brand-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #7a9ab5;
  max-width: 260px;
}

.footer__col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1e2d3d;
}

.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a {
  font-size: 0.88rem;
  color: #7a9ab5;
  transition: color 0.2s;
}
.footer__links a:hover { color: #e07b2a; }

.footer__contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.footer__contact-item svg { width: 16px; height: 16px; stroke: #e07b2a; fill: none; stroke-width: 1.8; flex-shrink: 0; margin-top: 2px; }
.footer__contact-item span { font-size: 0.88rem; color: #7a9ab5; line-height: 1.5; }
.footer__contact-item a { color: #7a9ab5; }
.footer__contact-item a:hover { color: #e07b2a; }

.footer__bottom {
  border-top: 1px solid #1e2d3d;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom-text { font-size: 0.8rem; color: #4a5568; }
.footer__bottom-tax { font-family: 'Courier New', Courier, monospace; font-size: 0.75rem; color: #3a4d5e; }

/* ---- Brands strip ---- */
.brands-strip {
  background: #f0f3f6;
  border-top: 1px solid #dde3ea;
  border-bottom: 1px solid #dde3ea;
  padding: 20px 0;
}

.brands-strip__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.brands-strip__label {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a8a9a;
  white-space: nowrap;
  margin-right: 8px;
}

.brand-tag {
  background: #ffffff;
  border: 1.5px solid #c8d0d8;
  padding: 6px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e2d3d;
  letter-spacing: 0.04em;
}

/* ---- Mobile Menu ---- */
.mobile-nav {
  display: none;
  background: #0d1b2a;
  border-top: 1px solid #1e2d3d;
  padding: 16px 0;
}

.mobile-nav.open { display: block; }

.mobile-nav__links {
  display: flex;
  flex-direction: column;
}

.mobile-nav__links a {
  color: #c8d6e4;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-bottom: 1px solid #1e2d3d;
  transition: background 0.15s;
}
.mobile-nav__links a:hover { background: #1e2d3d; color: #ffffff; }
.mobile-nav__links a.active { color: #e07b2a; }

.mobile-nav__cta {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---- Inline notice ---- */
.notice {
  background: #f0f3f6;
  border-left: 4px solid #2a6db5;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #4a5568;
  margin-bottom: 32px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .process__steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .process__steps::before { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }

  .nav__links,
  .nav__actions .btn--nav,
  .nav__phone { display: none; }

  .nav__hamburger { display: flex; }

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

  .service-section__inner,
  .service-section__inner--reverse { grid-template-columns: 1fr; direction: ltr; }

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

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }

  .process__steps { grid-template-columns: repeat(2, 1fr); }

  .form-row { grid-template-columns: 1fr; }

  .cta-section__inner { flex-direction: column; align-items: flex-start; }

  .credibility__list { gap: 0; }
  .credibility__item { flex: 1 1 45%; }

  .matrix table { font-size: 0.85rem; }
  .matrix thead th,
  .matrix tbody td { padding: 10px 12px; }

  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; text-align: center; }
  .credibility__item { flex: 1 1 100%; }
  .process__steps { grid-template-columns: 1fr; }
}
