/* ============================================================================
   Modül Kamera Elektrik - solid & industrial. Navy + safety amber.
   No gradients, no glass, minimal rounding. Flat blocks and hard edges.
   ==========================================================================*/

:root {
  --navy:       #0E2438;
  --navy-2:     #163351;
  --navy-3:     #1D4166;
  --navy-deep:  #081826;
  --amber:      #F5A623;
  --amber-dark: #C97F0C;
  --wa:         #25D366;
  --wa-dark:    #1DA851;

  --ink:      #14202C;
  --body:     #47596B;
  --muted:    #6D7E8E;
  --line:     #DCE3EA;
  --line-2:   #C4CFDA;
  --surface:  #FFFFFF;
  --alt:      #F2F5F8;

  --on-dark:      #C3D2E0;
  --on-dark-soft: #93A9BD;

  --wrap: 1140px;
  --radius: 3px;

  /* faint diagonal hatch - texture on dark blocks, not a gradient look */
  --hatch: repeating-linear-gradient(
    135deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 9px);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.85rem, 4.1vw, 2.65rem); letter-spacing: -.022em; }
h2 { font-size: clamp(1.4rem, 2.9vw, 1.95rem); letter-spacing: -.015em; }
h3 { font-size: 1.1rem; letter-spacing: -.005em; }
p  { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; }

a { color: var(--navy-3); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--amber-dark); }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.wrap-narrow { max-width: 780px; }

.icon { width: 22px; height: 22px; flex: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--amber); color: var(--navy-deep);
  padding: 12px 18px; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* --- header --------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 3px solid var(--amber);
}

.header-inner { display: flex; align-items: center; gap: 24px; min-height: 66px; }

.wordmark { display: flex; align-items: center; text-decoration: none; flex: none; }
/* brand logo, 3.77:1 - height drives the size, width follows */
.site-logo { display: block; height: 42px; width: auto; }

.nav-desktop { display: flex; gap: 24px; margin-left: auto; }
.nav-desktop a {
  color: var(--on-dark); text-decoration: none; font-size: .92rem; font-weight: 500;
  padding: 5px 0; border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-desktop a:hover { color: #fff; border-bottom-color: var(--amber); }

.header-actions { display: flex; align-items: center; gap: 11px; flex: none; }

.lang-switch {
  color: var(--on-dark); text-decoration: none; font-weight: 700; font-size: .82rem;
  border: 1px solid var(--navy-3); padding: 7px 11px; border-radius: 2px;
  letter-spacing: .05em; transition: background-color .15s ease, color .15s ease;
}
.lang-switch:hover { color: var(--navy-deep); background: var(--amber); border-color: var(--amber); }

.nav-mobile { display: none; }

/* --- buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1;
  padding: 15px 24px; border-radius: var(--radius);
  text-decoration: none; border: 2px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 15px; font-size: .89rem; }
.btn-sm .icon { width: 17px; height: 17px; }

.btn-primary { background: var(--amber); color: var(--navy-deep); border-color: var(--amber); }
.btn-primary:hover { background: #FFB63F; border-color: #FFB63F; color: var(--navy-deep); }

.btn-whatsapp { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn-whatsapp:hover { background: var(--wa-dark); border-color: var(--wa-dark); color: #fff; }

.cta-row { display: flex; flex-wrap: wrap; gap: 11px; }
.cta-lg .btn { padding: 16px 27px; font-size: 1.02rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; text-decoration: none; color: var(--navy-3);
  border-bottom: 2px solid var(--amber); padding-bottom: 3px;
}
.link-arrow:hover { color: var(--amber-dark); }

/* --- hero ----------------------------------------------------------------- */

.hero {
  background-color: var(--navy);
  background-image: var(--hatch);
  color: var(--on-dark);
  padding: clamp(40px, 5.2vw, 68px) 0;
  border-bottom: 1px solid var(--navy-2);
}

.hero-grid {
  display: grid; align-items: center; gap: clamp(28px, 4vw, 52px);
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr);
}

.hero-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--amber); font-weight: 700; font-size: .79rem;
  letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px;
}
.hero-kicker .icon { width: 16px; height: 16px; }

.hero h1 { color: #fff; margin-bottom: 16px; text-transform: uppercase; }
.hero-text {
  font-size: 1.05rem; max-width: 48ch; margin-bottom: 26px; color: var(--on-dark);
}

.hero-card {
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--navy-3);
  border-left: 3px solid var(--amber);
  border-radius: 2px;
  padding: 24px 24px 20px;
}
.hero-card-title {
  font-size: .74rem; font-weight: 800; letter-spacing: .15em;
  text-transform: uppercase; color: var(--amber); margin: 0 0 15px;
}
.hero-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.hero-trust li {
  display: flex; gap: 10px; align-items: flex-start;
  color: #fff; font-size: .95rem; font-weight: 500; line-height: 1.4;
}
.hero-trust .icon { width: 17px; height: 17px; color: var(--amber); stroke-width: 2.8; margin-top: 3px; }

.hero-card-note {
  display: flex; align-items: center; gap: 9px;
  margin: 18px 0 0; padding-top: 15px;
  border-top: 1px solid var(--navy-3);
  font-size: .87rem; color: var(--on-dark-soft);
}
.hero-card-note .icon { width: 16px; height: 16px; color: var(--on-dark-soft); }

/* --- sections ------------------------------------------------------------- */

.section { padding: clamp(46px, 5.8vw, 78px) 0; }
.section-alt { background: var(--alt); border-block: 1px solid var(--line); }

.section-title {
  position: relative; padding-top: 17px; margin-bottom: 12px;
  text-transform: uppercase;
}
.section-title::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 44px; height: 4px; background: var(--amber);
}
.section-lead { font-size: 1.04rem; max-width: 62ch; margin-bottom: 30px; }
.section-more { margin: 28px 0 0; }

/* --- service groups (landing page) ---------------------------------------- */

.service-group + .service-group { margin-top: clamp(40px, 5vw, 62px); }

/* --- service cards -------------------------------------------------------- */

.grid-services {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
}
.card {
  background: var(--surface); padding: 28px 26px;
  transition: box-shadow .16s ease, background-color .16s ease;
}
.card:hover { box-shadow: inset 0 3px 0 var(--amber); }
.card h3 { margin-bottom: 8px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card:hover h3 a { color: var(--amber-dark); }
.card p { margin: 0; font-size: .95rem; }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 16px;
  background: var(--navy); color: var(--amber); border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(245, 166, 35, .28);
}
.card-icon .icon { width: 24px; height: 24px; }

/* --- steps ---------------------------------------------------------------- */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 30px 26px;
  grid-template-columns: repeat(auto-fit, minmax(226px, 1fr));
}
.step { border-top: 3px solid var(--navy); }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: .94rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin: -18px 0 13px;
  background: var(--amber); color: var(--navy-deep);
  font-weight: 800; font-size: .98rem; border-radius: 2px;
}

/* --- coverage ------------------------------------------------------------- */

.coverage {
  display: grid; gap: 36px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: start;
}
.coverage .section-lead { margin-bottom: 0; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  border: 1px solid var(--line-2); border-left: 3px solid var(--amber);
  padding: 7px 13px; font-size: .89rem; font-weight: 600; color: var(--ink);
  background: var(--surface); border-radius: 2px;
}
.chips-sm li { font-weight: 500; font-size: .86rem; border-left-width: 2px; }

/* --- FAQ ------------------------------------------------------------------ */

.faq { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 17px 42px 17px 0; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1.01rem;
  transition: color .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 13px; height: 13px; margin-top: -6px;
  background:
    linear-gradient(var(--amber-dark), var(--amber-dark)) center/13px 2.5px no-repeat,
    linear-gradient(var(--amber-dark), var(--amber-dark)) center/2.5px 13px no-repeat;
  transition: background-size .18s ease;
}
/* collapse the vertical stroke: + becomes a clean minus */
.faq-item[open] summary::after {
  background:
    linear-gradient(var(--amber-dark), var(--amber-dark)) center/13px 2.5px no-repeat,
    linear-gradient(var(--amber-dark), var(--amber-dark)) center/2.5px 0 no-repeat;
}
.faq-item summary:hover { color: var(--amber-dark); }
.faq-answer { padding: 0 42px 19px 0; }
.faq-answer p { margin: 0; }

/* --- contact -------------------------------------------------------------- */

.contact {
  background-color: var(--navy);
  background-image: var(--hatch);
  color: var(--on-dark);
  padding: clamp(46px, 5.8vw, 74px) 0;
  border-top: 3px solid var(--amber);
}
.contact h2 { color: #fff; text-transform: uppercase; }
.contact-text { font-size: 1.05rem; max-width: 56ch; margin-bottom: 26px; }

.contact-details {
  margin: 38px 0 0; padding: 0;
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(206px, 1fr));
}
.contact-details > div { border-left: 3px solid var(--navy-3); padding-left: 15px; }
.contact-details dt {
  display: flex; align-items: center; gap: 7px;
  color: var(--amber); font-size: .74rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 5px;
}
.contact-details dt .icon { width: 15px; height: 15px; }
.contact-details dd { margin: 0; color: #fff; font-weight: 600; font-size: .99rem; }
.contact-details dd a { color: #fff; text-decoration: none; }
.contact-details dd a:hover { color: var(--amber); text-decoration: underline; }

/* --- page head (inner pages) --------------------------------------------- */

.page-head {
  background-color: var(--navy);
  background-image: var(--hatch);
  color: var(--on-dark);
  padding: clamp(34px, 4.6vw, 58px) 0 clamp(30px, 4vw, 48px);
  border-bottom: 3px solid var(--amber);
}
.page-head h1 { color: #fff; text-transform: uppercase; margin-bottom: 14px; }
.page-lead { font-size: 1.06rem; max-width: 68ch; margin: 0; }

.breadcrumb {
  display: flex; gap: 9px; align-items: center;
  font-size: .84rem; margin-bottom: 18px; color: var(--on-dark-soft);
}
.breadcrumb a { color: var(--amber); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* --- services detail page ------------------------------------------------- */

.services-layout {
  display: grid; gap: 48px;
  grid-template-columns: 244px minmax(0, 1fr);
  align-items: start;
  padding-block: clamp(38px, 5vw, 60px);
}

.toc { position: sticky; top: 88px; border-left: 3px solid var(--amber); padding-left: 18px; }
.toc-label {
  font-size: .74rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.toc ul { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 10px; }
.toc a {
  color: var(--ink); text-decoration: none; font-size: .91rem; font-weight: 600;
  line-height: 1.35; display: block;
}
.toc a:hover { color: var(--amber-dark); }
.toc-group {
  font-size: .78rem; font-weight: 800; letter-spacing: .05em;
  color: var(--navy); margin: 18px 0 10px;
  padding-bottom: 7px; border-bottom: 2px solid var(--amber);
}
.toc-group:first-of-type { margin-top: 0; }

.services-body { display: grid; gap: clamp(44px, 5.5vw, 68px); }

/* group heading on the services page */
.service-group-detail { scroll-margin-top: 88px; }
.group-heading {
  position: relative; padding-top: 17px; margin-bottom: 10px;
  text-transform: uppercase; font-size: clamp(1.35rem, 2.7vw, 1.8rem);
}
.group-heading::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 44px; height: 4px; background: var(--amber);
}
.group-lead { font-size: 1.02rem; max-width: 64ch; margin-bottom: 34px; }
.group-services { display: grid; gap: 44px; }

.service-detail { scroll-margin-top: 88px; }
.service-detail + .service-detail { border-top: 1px solid var(--line); padding-top: 40px; }

.service-detail-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.service-detail-head h3 { margin: 0; font-size: clamp(1.22rem, 2.3vw, 1.5rem); }
.service-detail-head .card-icon { margin-bottom: 0; }

.service-intro { font-size: 1.02rem; max-width: 70ch; }

.service-cols {
  display: grid; gap: 30px; margin-top: 24px;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}
.service-col h4 {
  font-size: .76rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  margin: 0 0 13px; line-height: 1.3;
}

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.ticks .icon { width: 16px; height: 16px; color: var(--amber-dark); stroke-width: 2.8; margin-top: 4px; }

.service-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }

/* --- legal ---------------------------------------------------------------- */

.legal { padding: clamp(42px, 5.4vw, 66px) 0; }
.legal h1 { margin-bottom: 6px; }
.legal h2 { font-size: 1.2rem; margin-top: 36px; text-transform: none; }
.legal-updated { color: var(--muted); font-size: .88rem; margin-bottom: 28px; }
.legal-back { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal-back a { font-weight: 700; text-decoration: none; }
.legal-back a:hover { text-decoration: underline; }

/* --- footer --------------------------------------------------------------- */

.site-footer {
  background-color: var(--navy-deep);
  background-image: var(--hatch);
  color: var(--on-dark-soft);
  padding: 48px 0 0;
}
.footer-inner {
  display: grid; gap: 30px;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  padding-bottom: 36px;
}
.footer-logo { margin-bottom: 15px; }
.footer-logo .site-logo { height: 40px; }
.footer-brand p { font-size: .92rem; margin: 0; max-width: 42ch; }

.footer-contact, .footer-legal { display: grid; gap: 9px; align-content: start; }
.footer-contact a, .footer-legal a { color: var(--on-dark); text-decoration: none; font-size: .92rem; }
.footer-contact a:hover, .footer-legal a:hover { color: var(--amber); text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid var(--navy-2); padding-block: 19px;
  font-size: .85rem; color: #62788F;
}

/* --- floating whatsapp + mobile bar --------------------------------------- */

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(8, 24, 38, .32);
  transition: background-color .15s ease, transform .15s ease;
}
.wa-float:hover { background: var(--wa-dark); color: #fff; transform: scale(1.05); }
.wa-float .icon { width: 29px; height: 29px; }

.mobile-bar { display: none; }

/* --- responsive ----------------------------------------------------------- */

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

  .services-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .toc {
    position: static; border-left: 0; border-top: 3px solid var(--amber);
    background: var(--alt); padding: 18px 20px; border-radius: 2px;
  }
  .toc ul { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .header-actions { margin-left: auto; }
  /* the logo carries the business name, so it shrinks rather than hides */
  .site-logo { height: 36px; }

  .nav-mobile { display: block; background: var(--navy-2); border-top: 1px solid var(--navy-3); }
  .nav-mobile summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; gap: 10px;
    padding: 12px 22px; color: #fff; font-weight: 600; font-size: .91rem;
  }
  .nav-mobile summary::-webkit-details-marker { display: none; }
  .nav-mobile .bars {
    display: flex; flex-direction: column; justify-content: center;
    gap: 4px; width: 18px; height: 14px; flex: none;
  }
  .nav-mobile .bars span { display: block; width: 100%; height: 2px; background: var(--amber); }
  .nav-mobile[open] .bars span:nth-child(2) { opacity: .35; }
  .nav-mobile-links { display: grid; padding: 2px 22px 14px; }
  .nav-mobile-links a {
    color: var(--on-dark); text-decoration: none; padding: 11px 0;
    border-bottom: 1px solid var(--navy-3); font-size: .94rem;
  }
  .nav-mobile-links a:last-child { border-bottom: 0; }

  .coverage { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  body { font-size: 16px; padding-bottom: 66px; }

  .header-call span { display: none; }
  .header-call { padding: 10px 12px; }
  .site-logo { height: 31px; }
  .footer-logo .site-logo { height: 36px; }

  .hero { padding: 36px 0 40px; }
  .hero h1 { font-size: clamp(1.65rem, 7.4vw, 2rem); }
  .hero-text { font-size: 1rem; margin-bottom: 22px; }
  .cta-lg .btn { padding: 15px 20px; font-size: 1rem; flex: 1 1 100%; }
  .hero-card { max-width: none; padding: 20px 20px 17px; }

  .grid-services { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 24px 20px; }

  .service-cta .btn { flex: 1 1 100%; }
  .contact-details { gap: 18px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }

  .wa-float { display: none; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -2px 12px rgba(8, 24, 38, .22);
  }
  .mobile-bar-btn {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    padding: 16px 8px; font-weight: 700; font-size: 1rem; text-decoration: none;
  }
  .mobile-bar-btn.call { background: var(--amber); color: var(--navy-deep); }
  .mobile-bar-btn.wa   { background: var(--wa); color: #fff; }
  .mobile-bar-btn .icon { width: 20px; height: 20px; }
}

@media print {
  .site-header, .mobile-bar, .wa-float, .toc { display: none; }
  body { color: #000; padding-bottom: 0; }
}
