/*
  components.css
  [KPZ] PURPOSE: Reusable UI components (brand, nav, buttons, section heading, accordion, cards, forms).
  [KPZ] SCOPE: Site-wide, shared across all pages via includes/.
  [KPZ] DEPENDENCY: variables.css, layout.css
*/

/* ---------- BRAND / LOGO ---------- */
/* [KPZ] LANGUAGE: logo has no navigation behavior — "Home" is its own separate nav item. */
.brand{display:flex;align-items:center;gap:10px;}
/* [KPZ] Logo now links to home (2026-08-13) — .brand a is a plain flex wrapper only, so the
   <img>'s own size/position is unaffected; no logo dimensions/CSS below this line changed. */
.brand a{display:flex;align-items:center;}
/* [KPZ] 2026-08-13: logo asset replaced with new transparent-background artwork + sized
   up 10% site-wide per user request (46px -> 51px here; matching +10% applied to every
   other breakpoint in responsive.css so the proportion holds at all sizes). The new artwork
   is a wider aspect ratio than the old logo (~3.09:1 vs ~2.55:1). BUGFIX 2026-08-13: base.css
   has a site-wide `img{max-width:100%}` reset; combined with .nav-row's `auto` grid track
   (see layout.css/responsive.css), that percentage max-width made the browser size the auto
   track using an indefinite/zero basis instead of the image's real max-content width, so the
   logo was collapsing down to the .brand min-width floor (80-100px) and rendering squashed
   instead of at its real height. max-width:none here removes the percentage so the image's
   intrinsic aspect ratio drives sizing again, exactly like before this logo swap. */
.brand img{height:51px;width:auto;max-width:none;object-fit:contain;filter:drop-shadow(0 0 12px rgba(245,166,35,.35));}

.foot-brand{display:flex;align-items:center;gap:10px;margin-bottom:16px;}
/* [KPZ] 2026-08-14 BUGFIX: footer logo was missing the amber glow filter that the header
   logo (.brand img) has, so the two looked inconsistent. "Alt logoyu usteki gibi standart
   yap." */
.foot-brand img{height:51px;width:auto;object-fit:contain;filter:drop-shadow(0 0 12px rgba(245,166,35,.35));}

/* ---------- MAIN NAVIGATION ---------- */
nav.main-nav{display:flex;gap:44px;}
nav.main-nav > .nav-item{position:relative;padding:26px 0;font-size:13.6px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--text-dim);cursor:default;transition:color var(--transition-fast);white-space:nowrap;}
nav.main-nav > .nav-item:hover,
nav.main-nav > .nav-item.current{color:var(--text);}
nav.main-nav > .nav-item::after{content:"";position:absolute;left:0;bottom:22px;width:0;height:2px;background:linear-gradient(90deg,var(--amber-1),var(--teal-1));transition:width var(--transition-med);}
nav.main-nav > .nav-item:hover::after,
nav.main-nav > .nav-item.current::after{width:100%;}

.dropdown{position:absolute;top:100%;left:-16px;background:var(--void-2);border:1px solid var(--line-strong);border-top:2px solid var(--amber-2);min-width:230px;padding:10px 0;box-shadow:var(--shadow-soft);opacity:0;visibility:hidden;transform:translateY(6px);transition:all .18s ease;}
.nav-item:hover .dropdown{opacity:1;visibility:visible;transform:translateY(0);}
.dropdown a{display:block;padding:10px 20px;font-size:13.5px;color:var(--text-dim);}
.dropdown a:hover{background:var(--void-3);color:var(--text);}

/* ---------- HEADER ACTIONS ---------- */
.header-actions{display:flex;align-items:center;gap:16px;margin-left:36px;}

.lang-switch{display:flex;font-family:var(--font-mono);font-size:11px;margin-right:8px;border:1px solid var(--line-strong);}
.lang-switch a{padding:7px 9px;color:var(--text-dim);}
.lang-switch a:not(:last-child){border-right:1px solid var(--line-strong);}
.lang-switch a.active{color:var(--text);background:rgba(45,212,200,.1);}
.lang-switch a:hover{color:var(--text);}

/* ---------- BUTTONS ---------- */
/* [KPZ] LANGUAGE: "Request Consultation" is the only CTA label used site-wide — "Get a Quote" is not used. */
.cta-btn{position:relative;display:inline-block;background:linear-gradient(135deg,var(--amber-1),var(--amber-2));color:#12100a;font-weight:700;font-size:13.5px;padding:12px 22px;clip-path:polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);white-space:nowrap;border:none;cursor:pointer;font-family:var(--font-sans);transition:box-shadow var(--transition-med),transform var(--transition-fast);}
.cta-btn:hover{box-shadow:var(--shadow-glow-amber);transform:translateY(-1px);}
.cta-btn.ghost{background:transparent;color:var(--text);border:1.5px solid var(--line-strong);clip-path:none;border-radius:var(--radius-sm);}
.cta-btn.ghost:hover{border-color:var(--teal-1);box-shadow:var(--shadow-glow-teal);}
.nav-consult{font-size:11.5px;padding:9px 16px;}

/* ---------- BURGER / MOBILE NAV ---------- */
/* [KPZ] Light/dark theme toggle button (2026-08-13, user request). Deliberately plain/small
   so it sits quietly next to the lang switcher and KPZ SRV Login button instead of competing
   with them — see includes/navigation.php for markup, assets/js/theme.js for behavior. */
/* [KPZ] BUGFIX 2026-08-13: user reported the toggle not responding on mobile. It works in
   automated touch-emulation testing, so the most likely real-world cause is the very small
   hit target at the ≤480px breakpoint (26px, right next to the burger with only 4px of gap)
   making mis-taps easy — touch-action:manipulation also removes any browser tap delay. */
.theme-toggle{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;border:1px solid var(--line-strong);background:transparent;color:var(--text);cursor:pointer;font-size:15px;line-height:1;border-radius:var(--radius-sm);transition:border-color var(--transition-fast),color var(--transition-fast);touch-action:manipulation;}
.theme-toggle:hover{border-color:var(--teal-1);color:var(--teal-1);}
.burger{display:none;flex-direction:column;gap:5px;cursor:pointer;z-index:210;position:relative;padding:14px 10px;}
.burger span{width:24px;height:2px;background:var(--text);transition:all var(--transition-med);}
.burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.burger.open span:nth-child(2){opacity:0;}
.burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.mobile-nav{position:fixed;inset:0;background:var(--void);z-index:200;display:flex;flex-direction:column;padding:100px 32px 40px;opacity:0;visibility:hidden;transform:translateY(-8px);transition:all var(--transition-med);overflow-y:auto;}
.mobile-nav.open{opacity:1;visibility:visible;transform:translateY(0);}
.mobile-nav a{display:block;padding:16px 0;font-size:19px;font-weight:600;color:var(--text);border-bottom:1px solid var(--line);}
.mobile-nav .mobile-cta{margin-top:28px;}
/* [KPZ] BUGFIX 2026-08-14: duplicate theme toggle shown only inside the burger menu on
   narrow phones (≤480px, see responsive.css) where the header's own #themeToggle is hidden
   for space reasons. Hidden by default (desktop/tablet) since the header instance already
   covers those sizes. */
.mobile-theme-toggle{display:none;margin-top:20px;align-self:flex-start;width:44px;height:44px;font-size:17px;}
@media (max-width:480px){
  #themeToggle{display:none;}
  .mobile-theme-toggle{display:flex;}
}

/* ---------- GLOBAL SECTION HEADING ---------- */
/* [KPZ] PURPOSE: single shared "eyebrow + heading" component used on every page.
   [KPZ] SCOPE: large heading text + compact translucent GREEN box (K-030 confirmed —
   deliberately distinct from the brand's teal accent, not a reinterpretation of it). */
.section-heading{margin-bottom:var(--space-md);}
.section-tag{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--font-mono);font-size:12.5px;font-weight:600;letter-spacing:.13em;
  text-transform:uppercase;color:var(--green-1);
  background:var(--green-bg);border:1px solid var(--green-border);border-radius:var(--radius-sm);
  padding:6px 14px;margin-bottom:16px;
}
.section-heading h1,
.section-heading h2{font-size:clamp(28px,3.6vw,42px);font-weight:700;color:var(--text);margin-bottom:16px;}
.section-heading p{font-size:16.5px;color:var(--text-dim);max-width:580px;}

/* ---------- ACCORDION (About Us) ---------- */
.acc-item{border:1px solid var(--line);background:var(--void-2);margin-bottom:12px;}
.acc-header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:22px 26px;background:none;border:none;cursor:pointer;text-align:left;}
.acc-header .acc-num{font-family:var(--font-mono);font-size:12px;color:var(--green-1);margin-right:14px;}
.acc-header h3{font-size:16.5px;font-weight:600;color:var(--text);flex:1;}
.acc-icon{width:18px;height:18px;position:relative;flex-shrink:0;}
.acc-icon::before,.acc-icon::after{content:"";position:absolute;background:var(--text-dim);transition:transform var(--transition-med);}
.acc-icon::before{width:100%;height:2px;top:50%;left:0;transform:translateY(-50%);}
.acc-icon::after{width:2px;height:100%;left:50%;top:0;transform:translateX(-50%);}
.acc-item.open .acc-icon::after{transform:translateX(-50%) scaleY(0);}
.acc-panel{max-height:0;overflow:hidden;transition:max-height var(--transition-med);}
.acc-item.open .acc-panel{max-height:1400px;}
.acc-content{padding:0 26px 26px 62px;}
/* [KPZ] 2026-08-14 user request: Our Team page sections should not be an accordion (no
   open/close) — same visual header as .acc-header, but static (no button, no toggle icon,
   no click affordance). Used by team.php only; other .acc-item pages (About Us, KPZ SRV
   dashboard row 2) still use the real .acc-header and are unaffected. */
.team-section-header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:22px 26px;background:none;border:none;cursor:default;text-align:left;}
.team-section-header h3{font-size:16.5px;font-weight:600;color:var(--text);flex:1;}
/* [KPZ] 2026-08-13: readability cap — the wide-left container is intentionally wide, but
   prose text inside it needs its own line-length limit or it reads as one long line.
   [KPZ] 2026-08-14, user request: About page cards (Who We Are / Our Mission / Our Vision /
   How We Work Together / Our Values) left a lot of empty space on the right at 720px —
   widened to 900px so the existing prose actually fills the card width. */
.acc-content p,.acc-content .acc-values,.acc-content .acc-quote,.acc-content .acc-tagline{max-width:900px;}
.acc-content p{margin-bottom:12px;}
.acc-subheading{font-size:17px;font-weight:600;color:var(--text);margin-bottom:8px;}
.acc-tagline{color:var(--text-dim);font-weight:500;margin-bottom:14px;}
.acc-quote{font-style:italic;color:var(--teal-1);border-left:2px solid var(--teal-1);padding-left:16px;margin-top:16px;margin-bottom:0;}
/* [KPZ] 2026-08-14, user request: Open Positions grouped by country (career/job listings
   scaffold — ready for real postings; each country shows its jobs or a "no openings" note). */
.careers-countries-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;}
.careers-country-card{border:1px solid var(--line);border-radius:var(--radius-md);padding:22px 26px;background:var(--void-2);}
.careers-country-card h3{font-size:15.5px;font-weight:600;color:var(--text);margin-bottom:10px;display:flex;align-items:center;gap:8px;}
.careers-country-flag{font-size:18px;}
.careers-no-openings{color:var(--text-dim);font-size:13.5px;}
.careers-job-list{list-style:none;display:flex;flex-direction:column;gap:6px;}
.careers-job-list li{font-size:13.5px;color:var(--text);padding-left:14px;position:relative;}
.careers-job-list li::before{content:'';position:absolute;left:0;top:8px;width:5px;height:5px;border-radius:50%;background:var(--teal-1);}

/* [KPZ] 2026-08-14, user request: Privacy Policy / Application Consent page, linked from every
   consent-checkbox label so applicants can read the actual notice before checking the box. */
.legal-dates{color:var(--text-dim);font-size:13px;margin-bottom:10px;}
.legal-content{max-width:820px;color:var(--text-dim);font-size:14.5px;line-height:1.75;}
.legal-content h2{color:var(--text);font-size:19px;font-weight:700;margin:36px 0 12px;}
.legal-content h2:first-child{margin-top:0;}
.legal-content p{margin-bottom:12px;}
.legal-content ul{margin:0 0 12px 20px;}
.legal-content li{margin-bottom:6px;}
.legal-content strong{color:var(--text);}
.legal-content a{color:var(--teal-1);}
.legal-divider{border:none;border-top:1px solid var(--line);margin:40px 0;}
.legal-back-top{margin-top:32px;}
.legal-back-top a{color:var(--teal-1);font-size:13.5px;}
/* Checkbox labels that link out to the Privacy Policy / consent notice content. */
.consent-notice-link{color:var(--teal-1);text-decoration:underline;text-underline-offset:2px;}
.consent-notice-link:hover{color:var(--amber-1);}
.acc-values{list-style:none;padding:0;margin:0;}
.acc-values li{margin-bottom:12px;padding-left:0;}
.acc-values li strong{color:var(--text);}

/* ---------- CARDS (Team / Services) ---------- */
.team-card{background:var(--void-2);border:1px solid var(--line);padding:24px;text-align:center;}
/* [KPZ] 2026-08-14, user request: team/profile photo areas were "cok buyuk" (too big) —
   shrink by 40%. Was width:100% (full card width); 60% is the 40%-smaller equivalent.
   Centered via margin auto since the image no longer spans the card. */
.team-photo{width:60%;aspect-ratio:1/1;object-fit:cover;margin:0 auto 16px;background:var(--void-3);}
/* [KPZ] 2026-08-14, user request (Our Team page only — "resim bolumlerini buyut" chain of
   requests, ending at "resim bolumunu %20 buyut"): scoped to .team-wrap (team.php's own
   accordion wrap) so the Home page's Referanslar carousel — which shares the same
   .team-photo/.team-card/.team-track classes — is not affected. */
.team-wrap .team-photo{width:258px;height:283px;aspect-ratio:auto;}
/* [KPZ] 2026-08-14, user request: a declared-but-missing photo file must render as a plain
   empty tile ("resim alanımı boş bırak"), not a broken <img> icon — see
   includes/language.php kpz_team_photo_src(). No dashed border/icon here on purpose: that
   treatment is reserved for "coming soon" headcount placeholders, not real people. */
.team-photo-empty{display:block;}
.team-name{font-size:15.5px;font-weight:700;color:var(--text);}
.team-role{font-family:var(--font-mono);font-size:11.5px;color:var(--teal-1);margin-top:4px;}
.partner-logo{object-fit:contain;padding:20px;background:var(--void-3);}
.partner-logo-placeholder{width:60%;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;background:var(--void-3);border:1px dashed var(--line-strong);color:var(--text-dim);font-weight:600;font-size:14px;text-align:center;padding:12px;}
.team-wrap .partner-logo-placeholder{width:258px;height:283px;aspect-ratio:auto;}
.partner-card .team-role{font-family:var(--font-sans);font-size:12.5px;color:var(--text-dim);}

/* [KPZ] 2026-08-14, user request: square LinkedIn badge (matches the Follow Us
   .social-icon-badge.li treatment — same brand blue) shown on every person card, real or
   "coming soon" placeholder alike, so the slot is always present like the photo slot is —
   only becomes a real clickable link once that person's linkedin URL is filled in. */
.team-linkedin-badge{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--radius-sm);background:#0A66C2;margin-top:10px;transition:opacity .2s ease;}
a.team-linkedin-badge:hover{opacity:.85;}
.team-linkedin-badge.is-empty{opacity:.3;cursor:default;}

/* [KPZ] 2026-08-14, user request: Technical Office / Field Team / Partners lists should be
   horizontally scrollable ("saga sola kaydirabilir") instead of wrapping into extra rows,
   since each section now holds 10 profiles. Track is a flex row of fixed-width cards with
   scroll-snap; prev/next buttons call assets/js/team-scroll.js's scrollBy() helper. Falls
   back gracefully to native touch/trackpad horizontal scroll if JS or buttons are unused. */
.team-scroll{position:relative;}
.team-nav{display:flex;justify-content:flex-end;gap:8px;margin-bottom:14px;}
/* [KPZ] 2026-08-14, user request "bu butonları renklendir": colorized from neutral
   gray to the brand teal accent (border + icon color); background stays void-2 at rest,
   fills with a soft teal tint on hover so the color reads as interactive, not decorative. */
.team-nav button{width:36px;height:36px;border-radius:50%;border:1px solid rgba(45,212,200,.35);background:var(--void-2);color:var(--teal-1);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:15px;transition:background .2s ease,border-color .2s ease,color .2s ease;}
.team-nav button:hover{background:rgba(45,212,200,.12);border-color:var(--teal-1);color:var(--teal-1);}
/* [KPZ] 2026-08-14, user request: hide the visible scrollbar track but keep the track
   scrollable (native touch/trackpad scroll + the new drag-to-scroll in team-scroll.js still
   work — hiding the scrollbar is purely cosmetic, overflow-x:auto below is unchanged). */
.team-track{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x proximity;padding:2px 2px 12px;scrollbar-width:none;-ms-overflow-style:none;cursor:grab;}
/* [KPZ] 2026-08-14, user request: Home's "Referanslar" strip auto-scrolls continuously
   (assets/js/team-autoscroll.js) — scroll-snap fights programmatic scrollLeft changes, so
   it's disabled only for that block. team.php's own team-scroll blocks are unaffected. */
[data-team-autoscroll] .team-track{scroll-snap-type:none;}
.team-track::-webkit-scrollbar{display:none;}
.team-track.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none;}
.team-track .team-card{flex:0 0 220px;scroll-snap-align:start;}
/* [KPZ] 2026-08-14, user request: "tablolarini 4 profil gorunecek sekilde genislet. yukseklik
   de de aralarini biraz ac" — wider cards + more breathing room between them, scoped to the
   Our Team page only (see .team-wrap note above). */
.team-wrap .team-track{gap:26px;}
.team-wrap .team-track .team-card{flex:0 0 320px;}
/* [KPZ] "coming soon" placeholder slots — used for open Technical Office / Field Team /
   Partners headcount so the site can show "10 profiles" worth of layout without inventing
   fictional people. Dashed border + muted icon distinguishes it clearly from a real profile. */
.team-card.placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;border-style:dashed;border-color:var(--line-strong);}
.team-card.placeholder .team-photo{background:var(--void-3);border:1px dashed var(--line-strong);display:flex;align-items:center;justify-content:center;color:var(--text-dim);font-size:22px;}
.team-card.placeholder .team-name{color:var(--text-dim);font-size:13.5px;font-weight:600;}
.team-card.placeholder .team-role{color:var(--text-dim);opacity:.8;}

.service-group{margin-bottom:var(--space-xl);}
.service-list{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;}
/* [KPZ] BUGFIX 2026-08-13: several pages set 3 columns on .service-list via an inline
   style="grid-template-columns:repeat(3,1fr)" attribute. Inline styles always beat a class
   selector, including the responsive.css rule that collapses .service-list to 1 column on
   mobile/tablet (max-width:980px) — so those grids stayed at 3 fixed columns on phones and
   overflowed horizontally. This class does the same 3-column layout but as a normal
   stylesheet rule, so responsive.css's mobile override (loaded after this file) can win at
   narrow widths like it already does for the default 2-column .service-list. Every inline
   `style="grid-template-columns:repeat(3,1fr)"` usage has been replaced with this class. */
.service-list-3col{grid-template-columns:repeat(3,1fr);}
.service-card{background:var(--void-2);border:1px solid var(--line);padding:24px;}
.service-card h4{font-size:15px;font-weight:600;color:var(--text);margin-bottom:8px;}
.service-card p{font-size:13.5px;}

/* ---------- FORMS (Request Consultation / Contact) ---------- */
form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px;}
form .form-row.full{grid-template-columns:1fr;}
form label{display:block;font-size:13.5px;color:var(--text-dim);margin-bottom:7px;}
/* [KPZ] BUGFIX 2026-08-14, user report ("KPZ SRV Login Password kutusu Email Address kutusu
   ile ayni olmali"): input[type=password] was missing from this shared selector, so it fell
   back to the browser's unstyled default (white box) while every other text-like field —
   including Email right above it — got the dark themed treatment. Added here so Password
   matches Email/Text/Tel exactly on every form site-wide, not just the KPZ SRV login page. */
form input[type=text],form input[type=email],form input[type=tel],form input[type=password],form select,form textarea{
  width:100%;background:var(--void-3);border:1px solid var(--line-strong);color:var(--text);
  padding:11px 14px;font-size:14.5px;font-family:var(--font-sans);border-radius:var(--radius-sm);
}
form input:focus,form select:focus,form textarea:focus{outline:none;border-color:var(--green-1);}
form textarea{resize:vertical;min-height:100px;}
form .field-error{border-color:var(--amber-1) !important;}
form input[type=file]{
  width:100%;background:var(--void-3);border:1px solid var(--line-strong);color:var(--text-dim);
  padding:11px 14px;font-size:13.5px;font-family:var(--font-sans);border-radius:var(--radius-sm);
}
form input[type=file]::file-selector-button{
  background:var(--void-2);border:1px solid var(--line-strong);color:var(--text);border-radius:var(--radius-sm);
  padding:6px 12px;font-size:13px;font-family:var(--font-sans);margin-right:12px;cursor:pointer;
}
/* [KPZ] BUGFIX 2026-08-13: native <input type=file> renders its button/filename text using
   the BROWSER's own UI language (OS/browser locale) — completely independent of this page's
   lang=, and there is no CSS/HTML way to override that text on the real control. That's why
   the Attachment field kept showing the browser's language regardless of which site language
   was selected. Fix: keep the real <input type=file> for functionality but visually hide it
   (.file-input-native), and drive a custom button + filename text ourselves from $t
   (assets/js/file-inputs.js updates the filename text on change) — now genuinely follows the
   page's language like every other label on the site. Used by contact.php's attachment field
   and careers-partner.php's company/certificate document fields. */
.file-input-wrap{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.file-input-btn{
  display:inline-block;background:var(--void-2);border:1px solid var(--line-strong);color:var(--text);
  border-radius:var(--radius-sm);padding:9px 16px;font-size:13px;font-family:var(--font-sans);
  font-weight:600;cursor:pointer;transition:border-color var(--transition-fast),color var(--transition-fast);
}
.file-input-btn:hover{border-color:var(--teal-1);color:var(--teal-1);}
.file-input-name{font-size:13.5px;color:var(--text-dim);}
/* [KPZ] BUGFIX 2026-08-14: selector strengthened to form input[type=file].file-input-native
   (was just .file-input-native) — a plain class selector here loses the CSS specificity
   contest against the earlier "form input[type=file]{width:100%;...}" fallback-styling
   rule (attribute selectors count as class-specificity, and that rule has 2 element
   selectors + 1 attribute selector vs. this rule's 1 class selector). The real file input
   was rendering at full form width instead of staying visually hidden, pushing an invisible
   1440px-wide element off the right edge of the page and creating unwanted horizontal
   scroll on Contact/Careers. Found during QA; unrelated to the requested feature batch. */
form input[type=file].file-input-native{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.form-note{font-size:13px;color:#5a5d66;margin-top:14px;}
.form-status{margin-bottom:24px;padding:16px 20px;border-radius:var(--radius-sm);font-size:14px;}
.form-status.success{border:1px solid rgba(34,197,94,.35);background:var(--green-bg);color:var(--green-1);}
.form-status.error{border:1px solid rgba(245,166,35,.35);background:rgba(245,166,35,.08);color:var(--amber-1);}

/* ---------- CONTACT PAGE (merged Contact + Request Consultation) ---------- */
.contact-checklist{list-style:none;padding:0;margin:24px 0 0;max-width:420px;}
/* [KPZ] 2026-08-14, user request: reuse the Contact page's checklist style for the home
   hero's 4-item feature list (izlenebilir/denetlenebilir/yönetilebilir/raporlanabilir) —
   wider max-width to match the hero's own text measure (820px) instead of the narrower
   contact-page card, and a bit less vertical padding since it sits inside the hero, not a
   standalone card. */
.hero-checklist{max-width:820px;margin-top:18px;}
.hero-checklist li{padding:9px 0;}
.contact-checklist li{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);color:var(--text-dim);font-size:14px;}
.contact-checklist li:last-child{border-bottom:none;}
.check-mark{color:var(--teal-1);font-weight:700;}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start;}
.map-embed{border:1px solid var(--line);border-radius:var(--radius-sm);overflow:hidden;margin-bottom:24px;}

/* [KPZ] 2026-08-13, user request — replaced the 4-quadrant grid with a 2-column "open
   book/notebook" layout: two matching card "pages" side by side (.contact-page), a small
   gap between them like a book's spine ("tabloyu yanindaki yazayiya yanastir... arada cok
   az mesafe olmasi yeterli") instead of the old 72px quadrant gap, both starting at the
   same top line ("hero yazi alt yazilar tablo ile ayni hizada olsun... yapragi gibi
   olsun" / "ikiye ayrilmis defter gibi gorulsun"). .contact-quad-grid/.contact-grid above
   are no longer used by any page but left defined in case something still references them. */
.contact-book{display:grid;grid-template-columns:1fr 1fr;column-gap:28px;align-items:start;}
.contact-page{background:var(--void-2);border:1px solid var(--line);border-radius:var(--radius-md);padding:40px;}
.contact-slogan{font-size:28px;font-weight:700;line-height:1.35;color:var(--text);margin:0 0 8px;}
/* [KPZ] 2026-08-13: kept the Request Consultation form's own proportional shrink (narrower
   max-width, tighter field padding/spacing — user request, explicitly kept after review) but
   dropped the earlier `margin-left:-18px` hack: that was pulling the form left within the old
   full-bleed grid cell, which no longer applies now that the form lives inside a padded
   .contact-page card — the card's own padding already gives the same "pulled in" look. */
.quad-form-cell{max-width:460px;}
.quad-form-cell .form-row{gap:14px;margin-bottom:14px;}
.quad-form-cell form label{margin-bottom:6px;}
.quad-form-cell form input[type=text],
.quad-form-cell form input[type=email],
.quad-form-cell form input[type=tel],
.quad-form-cell form select,
.quad-form-cell form textarea,
.quad-form-cell form input[type=file]{padding:9px 11px;}
.quad-form-cell form textarea{min-height:78px;}
.quad-form-cell .form-note{margin-top:11px;}
.quad-form-cell .form-status{padding:13px 16px;margin-bottom:19px;}
.contact-address-line2{color:var(--text-dim);font-size:14.5px;margin:12px 0 28px;}
.social-icons{display:flex;flex-direction:column;gap:12px;margin-top:12px;margin-bottom:8px;}
.social-icon-item{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text-dim);font-size:13.5px;transition:color var(--transition-fast);}
.social-icon-item:hover{color:var(--text);}
.social-icon-badge{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:var(--radius-sm);flex-shrink:0;}
.social-icon-badge.yt{background:#FF0000;}
.social-icon-badge.ig{background:linear-gradient(135deg,#f9ce34,#ee2a7b,#6228d7);}
.social-icon-badge.li{background:#0A66C2;}
.social-icon-badge.wa{background:#25D366;}
.contact-detail-block{margin-top:24px;}
.contact-detail-block .section-tag{margin-bottom:8px;}
.contact-detail-block p{color:var(--text-dim);font-size:14.5px;}
.hours-list{list-style:none;padding:0;margin:0;}
.hours-list li{display:flex;justify-content:space-between;gap:16px;padding:6px 0;font-size:13.5px;color:var(--text-dim);border-bottom:1px solid var(--line);}
.hours-list li:last-child{border-bottom:none;}
.hours-day{color:var(--text);font-weight:500;}

/* [KPZ] Reference-image label styles for the Contact page — plain text, NOT the boxed
   .section-tag pill. "ADDRESS" / "Follow Us" are small teal caption labels; "EMAIL" /
   "PHONE" / "BUSINESS HOURS" are larger bold white sub-headings. Corrected 2026-08-12
   after user flagged that .section-tag's green box did not match the reference. */
.contact-caption{display:block;font-family:var(--font-mono);font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--teal-1);margin-bottom:8px;}
.contact-block-heading{display:block;font-size:16px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--text);margin-bottom:10px;}

/* ---------- HOME — SERVICE LOCATIONS (2026-08-13) ---------- */
/* [KPZ] Static world-map image inside a bordered card (matches .dash-mock treatment) so the
   light-colored supplied map sits in a consistent, framed panel against the dark theme rather
   than floating directly on the page background. Architecture is left simple/static on purpose
   (user: no animation/interactivity yet, but don't lock the markup against adding it later). */
/* [KPZ] 2026-08-14 user request: "haritanin boyutunu kucult altindaki yazilarida ona gore
   hizala" — map + country list both narrowed to 65% and centered so the list stays aligned
   under the smaller map; responsive overrides in responsive.css widen it back out on
   tablet/mobile so it doesn't get cramped. */
.locations-map-card{border:1px solid var(--line-strong);background:var(--void-2);border-radius:var(--radius-md);overflow:hidden;padding:16px;margin:0 auto 40px;width:65%;}
.locations-map-card img{width:100%;height:auto;display:block;border-radius:calc(var(--radius-md) - 4px);}
.locations-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;width:65%;margin:0 auto;}
.locations-col{border-top:2px solid var(--teal-1);padding-top:16px;}
.locations-col-header{display:flex;align-items:center;gap:8px;margin-bottom:14px;}
.locations-flag{font-size:18px;line-height:1;}
.locations-col-header h4{font-family:var(--font-mono);font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--text);}
.locations-col ul{list-style:none;padding:0;margin:0;}
.locations-col li{font-size:13.5px;color:var(--text-dim);padding:7px 0;border-bottom:1px solid var(--line);}
.locations-col li:last-child{border-bottom:none;}

/* ---------- SERVICES TREE DIAGRAM ---------- */
.services-tree{display:flex;flex-direction:column;align-items:center;margin:56px 0 8px;}
.tree-root{border:1px solid var(--teal-1);color:var(--teal-1);background:rgba(45,212,200,.06);font-family:var(--font-mono);font-size:12px;font-weight:600;letter-spacing:.03em;padding:12px 22px;position:relative;}
.tree-root::after{content:'';position:absolute;bottom:-28px;left:50%;width:1px;height:28px;background:var(--line-strong);}
.tree-branches{display:flex;gap:32px;margin-top:28px;position:relative;padding-top:28px;flex-wrap:wrap;justify-content:center;}
/* [KPZ] BUGFIX 2026-08-13 ("çizgilerin bütünlüğü bozulmuş" — line integrity broken): this used
   to be `min-width:180px`, which lets each node grow to fit its own text — so nodes with
   longer labels (e.g. "TECHNICAL OPERATIONS MANAGEMENT") ended up wider than shorter ones.
   Each node's vertical stub (::before below) sits at ITS OWN horizontal center (left:50%),
   and the horizontal connector below reaches exactly `100% + one gap` starting from that same
   center point — that math only lines up node-to-node when every node is the SAME width, so a
   fixed `width` (not min-width) is required, not just a floor. With variable widths the
   connector's start point (a node's true center) and the fixed-percentage math silently drifted
   out of sync, which is what read as the diagram's lines not lining up/connecting cleanly. */
.tree-node{border:1px solid var(--line-strong);font-family:var(--font-mono);font-size:11px;font-weight:600;padding:14px 16px;text-align:center;position:relative;color:var(--text);background:var(--void-2);width:250px;}
.tree-node::before{content:'';position:absolute;top:-28px;left:50%;width:1px;height:28px;background:var(--line-strong);}
/* [KPZ] BUGFIX 2026-08-13: horizontal connector now starts at left:50% (this node's own
   center — exactly where its ::before vertical stub is) instead of left:100% (this node's
   right edge). Width is `100% + 32px` (its own full width plus one gap) which, because every
   .tree-node is now the same fixed width above, lands EXACTLY on the next node's center too.
   The result is one continuous line from center to center (matching the vertical stubs both
   sides), instead of a segment that only spanned the empty gap between two node edges while
   the stubs it was supposed to meet sat further inward at each node's center — that mismatch
   was the visible "broken" gap in the diagram. */
.tree-node:not(:last-child)::after{content:'';position:absolute;top:-28px;left:50%;width:calc(100% + 32px);height:1px;background:var(--line-strong);}

/* [KPZ] DATA-FLOW ANIMATION (2026-08-13, user request) — the connector lines above (tree-root
   after, tree-node before/after) get a moving teal "pulse" traveling along them, on top of
   their normal dim line color, to read as a live data feed rather than a static diagram. Each
   pseudo-element keeps its solid var(--line-strong) as the base color; the animation swaps
   `background` to a repeating gradient sized 3x the element and shifts its position, so one
   bright segment cycles through on a loop. Vertical stubs (tree-root::after, tree-node::before)
   animate top-to-bottom; the horizontal segment (tree-node::after) animates left-to-right —
   direction always follows the diagram's actual root-to-leaf data flow. */
.tree-root::after,
.tree-node::before{
  background:linear-gradient(180deg, var(--line-strong) 0%, var(--line-strong) 15%, var(--teal-1) 25%, var(--line-strong) 35%, var(--line-strong) 100%);
  background-size:100% 300%;
  animation:kpz-flow-v 2.4s linear infinite;
}
.tree-node:not(:last-child)::after{
  background:linear-gradient(90deg, var(--line-strong) 0%, var(--line-strong) 15%, var(--teal-1) 25%, var(--line-strong) 35%, var(--line-strong) 100%);
  background-size:300% 100%;
  animation:kpz-flow-h 2.4s linear infinite;
  /* [KPZ] slight stagger per node so the pulses don't all travel in perfect lockstep —
     reads more like independent data lines than one mechanical sweep. */
  animation-delay:calc(var(--kpz-flow-i, 0) * .3s);
}
.tree-branches .tree-node:nth-child(2)::after{--kpz-flow-i:1;}
.tree-branches .tree-node:nth-child(3)::after{--kpz-flow-i:2;}
.tree-branches .tree-node:nth-child(4)::after{--kpz-flow-i:3;}
@keyframes kpz-flow-v{
  0%{background-position:0 200%;}
  100%{background-position:0 -100%;}
}
@keyframes kpz-flow-h{
  0%{background-position:200% 0;}
  100%{background-position:-100% 0;}
}

/* ---------- SERVICES FEATURE LIST (accordion item bullets) ---------- */
.feature-list{list-style:none;padding:0;margin:0;}
.feature-list li{position:relative;padding:8px 0 8px 20px;color:var(--text-dim);font-size:14px;border-bottom:1px solid var(--line);}
.feature-list li:last-child{border-bottom:none;}
.feature-list li::before{content:'';position:absolute;left:0;top:16px;width:6px;height:6px;background:var(--teal-1);border-radius:50%;}

/* ---------- HOME: KPZ SRV OPERATIONS DASHBOARD MOCKUP ---------- */
.powered-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(45,212,200,.35);background:rgba(45,212,200,.08);color:var(--teal-1);font-family:var(--font-mono);font-size:11px;font-weight:600;letter-spacing:.05em;padding:7px 14px;border-radius:var(--radius-sm);}
.powered-badge .dot{width:6px;height:6px;border-radius:50%;background:var(--teal-1);display:inline-block;}
.dash-headline{font-size:clamp(28px,4vw,44px);font-weight:800;line-height:1.15;margin-bottom:20px;color:var(--text);}
.dash-headline .grad{background:linear-gradient(90deg,var(--amber-1),var(--teal-1));-webkit-background-clip:text;background-clip:text;color:transparent;}
/* [KPZ] 2026-08-14 user request: Home "bilgi akışı" workflow/information-flow diagram, placed
   under the KPZ SRV section. Card matches .locations-map-card's treatment. */
.workflow-diagram-card{border:1px solid var(--line-strong);background:var(--void-2);border-radius:var(--radius-md);padding:28px 24px;overflow-x:auto;}
.workflow-diagram-card svg{display:block;width:100%;height:auto;min-width:640px;}
.wf-box{fill:var(--void-3);stroke:var(--teal-1);stroke-width:1.5;}
.wf-label{font-family:var(--font-mono);font-size:11px;font-weight:600;letter-spacing:.05em;fill:var(--text);text-anchor:middle;}
.wf-dot{fill:var(--teal-1);}
.wf-line path{stroke-dasharray:6 5;animation:wf-flow 1.1s linear infinite;}
@keyframes wf-flow{to{stroke-dashoffset:-22;}}
@media (prefers-reduced-motion:reduce){ .wf-line path{animation:none;} }
/* [KPZ] 2026-08-14 user request: reused the .dash-headline gradient-text treatment for the
   Home hero H1 ("Her Lokasyonu Kontrol Edin. gibi yaznin beli bir yerini renklendir") —
   generalized to an unscoped rule so it works outside .dash-headline too. */
.grad{background:linear-gradient(90deg,var(--amber-1),var(--teal-1));-webkit-background-clip:text;background-clip:text;color:transparent;}
.dash-mock{border:1px solid var(--line-strong);background:var(--void-2);border-radius:var(--radius-md);overflow:hidden;}
.dash-mock-top{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--line);background:var(--void-3);}
.dash-dots{display:flex;gap:6px;}
.dash-dots i{width:8px;height:8px;border-radius:50%;background:var(--line-strong);display:inline-block;}
.dash-title{font-family:var(--font-mono);font-size:11px;font-weight:600;letter-spacing:.05em;color:var(--text-dim);}
.dash-live{display:flex;align-items:center;gap:6px;font-family:var(--font-mono);font-size:11px;font-weight:700;color:var(--teal-1);}
.dash-live .dot{width:6px;height:6px;border-radius:50%;background:var(--teal-1);display:inline-block;}
.dash-mock-body{display:grid;grid-template-columns:1fr 1fr;gap:0;}
.dash-ticket{padding:28px 32px;border-right:1px solid var(--line);}
.dash-ticket-id{font-family:var(--font-mono);font-size:11.5px;color:var(--teal-1);margin-bottom:8px;}
.dash-ticket-title{font-size:17px;font-weight:700;color:var(--text);margin-bottom:20px;}
.dash-timeline{list-style:none;padding:0;margin:0;}
.dash-timeline li{position:relative;padding:0 0 22px 24px;font-family:var(--font-mono);font-size:12px;color:var(--text-dim);letter-spacing:.03em;}
.dash-timeline li::before{content:'';position:absolute;left:2px;top:3px;width:8px;height:8px;border-radius:50%;background:var(--amber-1);}
.dash-timeline li::after{content:'';position:absolute;left:5px;top:13px;width:1px;height:calc(100% - 13px);background:var(--line-strong);}
.dash-timeline li:last-child::after{display:none;}
.dash-timeline li.current{color:var(--amber-1);font-weight:700;}
.dash-timeline li.current::before{background:transparent;border:2px solid var(--amber-1);width:6px;height:6px;}
.dash-stats{padding:28px 32px;}
.dash-stats-label{font-family:var(--font-mono);font-size:11px;font-weight:600;letter-spacing:.05em;color:var(--text-dim);margin-bottom:18px;}
.dash-metric{display:grid;grid-template-columns:100px 1fr 34px;align-items:center;gap:12px;margin-bottom:16px;}
.dash-metric:last-child{margin-bottom:0;}
.dash-metric-label{font-size:12.5px;color:var(--text-dim);}
.dash-metric-bar{display:block;height:6px;background:var(--void-3);border-radius:var(--radius-full);overflow:hidden;}
.dash-metric-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--teal-2),var(--teal-1));border-radius:var(--radius-full);}
.dash-metric-value{font-family:var(--font-mono);font-size:12px;font-weight:700;color:var(--text);text-align:right;}

/* ---------- ADMIN PANEL COMPONENTS ---------- */
.admin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px;padding-bottom:20px;border-bottom:1px solid var(--line);}
.admin-table{width:100%;border-collapse:collapse;}
.admin-table th,.admin-table td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);font-size:14px;}
.admin-table th{color:var(--text-dim);font-size:12px;text-transform:uppercase;letter-spacing:.05em;}
.admin-actions a{color:var(--teal-1);font-size:13px;margin-right:12px;}
.admin-logo{text-align:center;margin-bottom:24px;}
.admin-logo img{height:44px;width:auto;margin:0 auto;}

/* ---------- WHATSAPP FLOAT BUTTON ---------- */
/* [KPZ] 2026-08-14, user request: WhatsApp button on every page, fixed bottom-right,
   standard size. Markup lives in includes/footer.php (site-wide via the shared include).
   Fixed positioning is independent of theme (green brand color stays constant dark/light). */
.wa-float{
  position:fixed;bottom:24px;right:24px;z-index:200;
  width:56px;height:56px;border-radius:50%;
  background:#25D366;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 24px -6px rgba(37,211,102,.6);
  transition:transform .2s ease;
}
.wa-float:hover{transform:scale(1.08);}
@media (max-width:640px){
  .wa-float{width:50px;height:50px;bottom:18px;right:18px;}
  .wa-float svg{width:24px;height:24px;}
}

/* ---------- KPZ SRV OPERATIONS DASHBOARD v2 (home page) ---------- */
/* [KPZ] 2026-08-14, user request: replaces the old simple .dash-mock ticket/metrics visual
   with a richer, real-content bento-style operations panel — iterated live with the user as
   a standalone HTML preview before being ported in here. Prefixed "dash2-" throughout so it
   never collides with the older (still-present-but-now-unused) .dash-* classes above.
   Fully theme-aware: uses the same var(--void-2/3), var(--line), var(--text*) tokens as the
   rest of the site, so it adapts automatically to [data-theme="light"] like everything else.
   Row 1 (Facility System Efficiency + Emergency Dispatch) is always visible; row 2 (weekly
   load + performance gauges + regional index) is wrapped in the site's existing
   .acc-item/.acc-header/.acc-panel accordion pattern (assets/js/accordion.js already
   handles the click-to-toggle site-wide — no new JS needed) so it starts collapsed and
   expands on click, per "isterse tıklayarak paneli genişletebilecek". */
.dash2-frame{border:1px solid var(--line-strong);border-radius:8px;overflow:hidden;background:var(--void-2);}
.dash2-topbar{display:flex;align-items:center;justify-content:space-between;padding:9px 18px;border-bottom:1px solid var(--line);background:var(--void-3);}
.dash2-dots{display:flex;gap:6px;}
.dash2-dots i{width:8px;height:8px;border-radius:50%;background:var(--line-strong);display:inline-block;}
.dash2-topbar-title{font-family:var(--font-mono);font-size:11px;letter-spacing:.08em;color:var(--text-dim);}
.dash2-live{display:flex;align-items:center;gap:6px;font-family:var(--font-mono);font-size:10.5px;font-weight:700;color:var(--teal-1);}
.dash2-live .dot{width:6px;height:6px;border-radius:50%;background:var(--teal-1);display:inline-block;animation:dash2-pulse 1.6s infinite;}
@keyframes dash2-pulse{0%,100%{opacity:1;}50%{opacity:.3;}}
.dash2-body{padding:16px 22px;}

.dash2-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.dash2-col-stack{display:flex;flex-direction:column;gap:12px;}

.dash2-panel{background:var(--void-3);border:1px solid var(--line);border-radius:8px;padding:14px 20px;}
.dash2-panel-title{font-family:var(--font-mono);font-size:10.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-dim);margin-bottom:3px;display:flex;align-items:center;justify-content:space-between;}
.dash2-panel-title .dash2-dot{width:5px;height:5px;border-radius:50%;background:var(--teal-1);opacity:.7;}
.dash2-panel-desc{font-size:11px;color:var(--text-dim);opacity:.65;margin-bottom:10px;}

.dash2-badge{display:inline-block;font-family:var(--font-mono);font-size:9.5px;font-weight:600;padding:3px 8px;border-radius:999px;letter-spacing:.02em;white-space:nowrap;}
.dash2-badge.teal{background:rgba(45,212,200,.10);color:var(--teal-1);}
.dash2-badge.amber{background:rgba(245,166,35,.10);color:var(--amber-1);}
.dash2-badge.green{background:rgba(34,197,94,.10);color:var(--green-1);}
.dash2-badge.red{background:rgba(240,71,91,.10);color:#F0475B;}

.dash2-cat-list{display:flex;flex-direction:column;}
.dash2-cat-row{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:7px 0;border-top:1px solid var(--line);}
.dash2-cat-row:first-child{border-top:none;padding-top:0;}
.dash2-cat-name{font-size:12.5px;font-weight:600;color:var(--text);}
.dash2-cat-desc{font-size:11px;font-weight:400;color:var(--text-dim);margin-left:3px;}
.dash2-overall{margin-top:10px;padding-top:10px;border-top:1px solid var(--line-strong);display:flex;align-items:center;justify-content:space-between;}
.dash2-overall .label{font-size:12.5px;font-weight:600;color:var(--text);}
.dash2-overall .dash2-badge{font-size:11px;padding:5px 14px;}

.dash2-dispatch-item{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-top:1px solid var(--line);font-size:12.5px;}
.dash2-dispatch-item:first-child{border-top:none;padding-top:0;}
.dash2-dispatch-left{display:flex;align-items:center;gap:10px;}
.dash2-dispatch-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;}
.dash2-dispatch-count{font-family:var(--font-mono);font-weight:700;background:var(--void-3);border:1px solid var(--line);padding:2px 9px;border-radius:999px;font-size:11.5px;}

.dash2-demand-stat{display:flex;align-items:baseline;gap:10px;margin-bottom:12px;}
.dash2-demand-stat .big{font-size:24px;font-weight:700;font-family:var(--font-mono);color:var(--text);}
.dash2-demand-stat .delta{font-size:12px;color:var(--green-1);font-weight:600;}
.dash2-bar-chart{display:flex;align-items:flex-end;gap:8px;height:60px;}
.dash2-bar-chart .bar{flex:1;background:linear-gradient(180deg,var(--teal-1),var(--teal-2));border-radius:4px 4px 0 0;position:relative;min-height:6px;}
.dash2-bar-chart .bar.peak{background:linear-gradient(180deg,var(--amber-1),var(--amber-2));}
.dash2-bar-labels{display:flex;gap:8px;margin-top:8px;}
.dash2-bar-labels span{flex:1;text-align:center;font-size:9.5px;color:var(--text-dim);font-family:var(--font-mono);}

.dash2-gauge-row{display:flex;justify-content:space-between;gap:12px;}
.dash2-gauge{text-align:center;flex:1;}
.dash2-gauge-ring{width:64px;height:64px;border-radius:50%;margin:0 auto 8px;display:flex;align-items:center;justify-content:center;}
.dash2-gauge-ring .hole{width:46px;height:46px;border-radius:50%;background:var(--void-2);display:flex;align-items:center;justify-content:center;font-family:var(--font-mono);font-size:12px;font-weight:700;color:var(--text);}
.dash2-gauge-label{font-size:10.5px;color:var(--text-dim);}

.dash2-ops-table{width:100%;border-collapse:collapse;font-size:12.5px;}
.dash2-ops-table td{padding:7px 10px 7px 0;border-top:1px solid var(--line);color:var(--text);}
.dash2-ops-table tr:first-child td{border-top:none;}
.dash2-site-name{font-weight:600;}
.dash2-site-sub{color:var(--text-dim);font-size:11px;}
.dash2-region-group{color:var(--text-dim);font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-family:var(--font-mono);padding:10px 0 3px;}
.dash2-region-group:first-child{padding-top:0;}
.dash2-panel-footer{margin-top:10px;padding-top:10px;border-top:1px solid var(--line);font-size:11px;color:var(--text-dim);display:flex;justify-content:space-between;}

/* Collapsible row 2 — rides on the existing .acc-item/.acc-header/.acc-panel accordion
   (accordion.js) rather than introducing new JS; only the visual chrome is custom here. */
.dash2-expand{border:none;background:none;margin:12px 0 0;}
.dash2-expand-toggle{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px 0 0;background:none;border:none;border-top:1px solid var(--line);cursor:pointer;font-family:var(--font-mono);font-size:11px;font-weight:600;letter-spacing:.06em;color:var(--teal-1);text-transform:uppercase;transition:color .2s ease;}
.dash2-expand-toggle:hover{color:var(--text);}
.dash2-expand-chevron{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .2s ease;flex-shrink:0;}
.dash2-expand.open .dash2-expand-chevron{transform:rotate(-135deg);}
.dash2-expand .show-label{display:inline;}
.dash2-expand .hide-label{display:none;}
.dash2-expand.open .show-label{display:none;}
.dash2-expand.open .hide-label{display:inline;}
.dash2-expand-content{padding:16px 0 0;}

@media (max-width:820px){
  .dash2-grid{grid-template-columns:1fr;}
}

/* ---------- CONTACT PAGE v2 (dashboard-style dark panel/table) ---------- */
/* [KPZ] 2026-08-14, user request: replaces the old 4-quadrant/"open book" Contact layout
   (contact-page/contact-book/contact-detail-block etc., left in the CSS below unused rather
   than risk missing a stray reference) with two panels in the same dark, mono-labeled visual
   language as the KPZ SRV Operations Dashboard — iterated live as a standalone mockup file
   before being ported here (contact-table-mockup.html). Left panel: Contact Information
   (email/phone/address/hours/social). Right panel: Request Consultation form, wider than the
   left panel since it holds more fields. */
.contact2-hero{background:var(--void-2);border:1px solid var(--line);border-radius:var(--radius-md);padding:18px 24px;margin-bottom:24px;}
.contact2-grid{display:grid;grid-template-columns:0.65fr 1.35fr;gap:20px;align-items:start;}
@media (max-width:900px){
  .contact2-grid{grid-template-columns:1fr;}
}

.contact2-panel{background:var(--void-2);border:1px solid var(--line);border-radius:var(--radius-md);padding:24px 26px;height:100%;}
.contact2-panel-title{font-family:var(--font-mono);font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim);margin-bottom:4px;display:flex;align-items:center;justify-content:space-between;}
.contact2-panel-title .dot{width:6px;height:6px;border-radius:50%;background:var(--teal-1);flex-shrink:0;}
.contact2-panel-desc{font-size:11.5px;color:var(--text-dim);opacity:.75;margin-bottom:18px;}

/* Contact info table */
.contact2-info-table{width:100%;border-collapse:collapse;font-size:13.5px;}
.contact2-info-table td{padding:14px 4px;border-top:1px solid var(--line);vertical-align:top;}
.contact2-info-table tr:first-child td{border-top:none;padding-top:0;}
.contact2-info-table tr:last-child td{padding-bottom:0;}
.contact2-row-label{width:150px;color:var(--text-dim);font-family:var(--font-mono);font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;padding-top:16px !important;}
.contact2-info-table tr:first-child .contact2-row-label{padding-top:0 !important;}
.contact2-row-value a{color:var(--teal-1);text-decoration:none;font-weight:500;}
.contact2-row-value a:hover{text-decoration:underline;}
.contact2-heading-row td{padding-top:22px !important;}
.contact2-row-heading{font-family:var(--font-mono);font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim);margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;width:100%;}
.contact2-row-heading .dot{width:6px;height:6px;border-radius:50%;background:var(--teal-1);flex-shrink:0;}

.contact2-hours{width:100%;font-size:12.5px;}
.contact2-hours tr td{border:none;padding:3px 0;}
.contact2-hours .day{color:var(--text-dim);}
.contact2-hours .val{text-align:right;font-family:var(--font-mono);color:var(--text);}
.contact2-hours .closed{color:var(--text-dim);}

.contact2-social-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px;}
.contact2-social-chip{display:inline-flex;align-items:center;gap:6px;background:var(--void-3);border:1px solid var(--line-strong);border-radius:999px;padding:5px 11px 5px 5px;font-size:11.5px;color:var(--text-dim);text-decoration:none;transition:border-color .2s ease,color .2s ease;}
.contact2-social-chip:hover{border-color:var(--teal-1);color:var(--text);}
.contact2-social-chip .ic{width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.contact2-social-chip .ic.yt{background:#FF0000;}
.contact2-social-chip .ic.ig{background:radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);}
.contact2-social-chip .ic.li{background:#0A66C2;}
.contact2-social-chip .ic.wa{background:#25D366;}

.contact2-panel-footer{margin-top:18px;padding-top:14px;border-top:1px solid var(--line);font-size:11px;color:var(--text-dim);}
.contact2-badge{display:inline-block;font-family:var(--font-mono);font-size:10.5px;font-weight:600;padding:3px 9px;border-radius:999px;letter-spacing:.03em;background:var(--green-bg);color:var(--green-1);border:1px solid var(--green-border);}

/* Request consultation form table */
/* [KPZ] 2026-08-15: table-layout:fixed added so the explicit .contact2-row-label width
   below is actually honored — with the browser default (auto layout), column widths get
   recomputed from cell content across the whole table and an explicit td width is only a
   hint, which is why widening the label column previously had no visible effect. */
.contact2-req-table{width:100%;border-collapse:collapse;font-size:13.5px;table-layout:fixed;}
.contact2-req-table td{padding:11px 4px;border-top:1px solid var(--line);vertical-align:middle;}
.contact2-req-table tr:first-child td{border-top:none;padding-top:0;}
/* [KPZ] BUGFIX 2026-08-14, user request: "bunun birebir aynisini yap" — matched to the
   approved mockup's exact pixel values (was 210px/9px 12px/13.5px/70px, mockup uses
   190px/8px 11px/13px/64px). */
/* [KPZ] 2026-08-15, user request: "Country * / ... / Message * yazilarini uzalt kutulari
   kucultebilirsin ... ama bir standart olsun hizalamada" — at 190px, the longest label
   ("What can we help you with? *", measured ~192px) wrapped to 3 lines while short labels
   ("Phone", "Company") stayed on one line, so the input column's left edge didn't line up
   consistently row-to-row. Widened the label column to 230px (comfortably fits the longest
   label on one line with margin for font-rendering differences across browsers) so every
   label is exactly one line and every input/select starts at the same x position — this
   also shrinks the input column accordingly (width:100% of the remaining table width, see
   .contact2-row-value-full below), which is what makes the alignment "standard" row to row.
   Re-measured across all 4 languages after the first pass (230px) still wrapped French's
   longest label ("Comment pouvons-nous vous aider ? *", ~240px) — French and German run
   longer than English/Turkish here. Widened once more to 256px so the longest label in any
   of the 4 languages fits on one line.
   [KPZ] 2026-08-15, user follow-up: "Size nasıl yardımcı olabiliriz? * bunu asaya dogru
   sikistirip kutucuklari biraz daha uzun yapabilirsin" — reversed course specifically for
   this one label: instead of widening the whole column to fit the single longest label
   (256px, needed only by "What can we help you with?" / FR / DE equivalents), narrowed back
   to 165px — comfortably fits every OTHER label on one line in all 4 languages (widest of
   the rest is DE "Vollständiger Name *" at ~137px) — and lets just the "what can we help
   you with" question wrap to two lines ("compress downward"), giving the reclaimed width
   back to the input/select column. */
.contact2-req-table .contact2-row-label{width:165px;padding-top:11px !important;}
.contact2-req-table tr:first-child .contact2-row-label{padding-top:0 !important;}
.contact2-row-label .req{color:var(--amber-1);}
.contact2-row-value-full{width:100%;}

.contact2-req-table input[type=text],.contact2-req-table input[type=email],.contact2-req-table input[type=tel],.contact2-req-table select,.contact2-req-table textarea{
  width:100%;background:var(--void-3);border:1px solid var(--line-strong);color:var(--text);
  padding:8px 11px;font-size:13px;font-family:var(--font-sans);border-radius:6px;
}
.contact2-req-table input:focus,.contact2-req-table select:focus,.contact2-req-table textarea:focus{outline:none;border-color:var(--teal-1);}
.contact2-req-table textarea{resize:vertical;min-height:64px;}

.contact2-req-table .file-input-wrap{gap:10px;}
.contact2-req-table .file-input-btn{background:var(--void-3);border-color:var(--line-strong);padding:7px 13px;font-size:12px;}
.contact2-req-table .file-input-name{font-size:12px;}

.contact2-consent-group{display:flex;flex-direction:column;gap:10px;padding-top:14px;}
.contact2-consent-row{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:var(--text-dim);cursor:pointer;line-height:1.45;}
.contact2-consent-row input[type=checkbox]{width:16px;height:16px;flex-shrink:0;margin:1px 0 0;accent-color:var(--teal-1);cursor:pointer;}
.contact2-consent-row .req{color:var(--amber-1);}

.contact2-submit-row td{border-top:none;padding-top:16px;}
/* [KPZ] 2026-08-14, user request: "bunun birebir aynisini yap" — mockup's dedicated teal
   gradient submit button (.submit-btn), distinct from the site-wide amber .cta-btn used
   elsewhere, per the approved mockup design. */
.contact2-submit-btn{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,var(--teal-1),var(--teal-2));color:#06201d;font-weight:700;font-size:13px;padding:10px 20px;border-radius:8px;border:none;cursor:pointer;font-family:var(--font-sans);transition:opacity .2s ease;}
.contact2-submit-btn:hover{opacity:.92;}
.contact2-form-hint{font-size:11px;color:var(--text-dim);margin-top:8px;}

/* [KPZ] 2026-08-15, user request: consent-notice-link ("Personal Data Disclosure Notice" /
   "Explicit Consent Notice") now opens a small in-page popup instead of navigating to a
   whole new page/tab — markup in includes/footer.php, toggled by assets/js/privacy-modal.js. */
.privacy-modal{position:fixed;inset:0;z-index:900;display:flex;align-items:center;justify-content:center;padding:24px;}
.privacy-modal[aria-hidden="true"]{display:none;}
.privacy-modal-backdrop{position:absolute;inset:0;background:rgba(6,7,10,.72);}
[data-theme="light"] .privacy-modal-backdrop{background:rgba(20,22,26,.5);}
.privacy-modal-panel{position:relative;width:100%;max-width:720px;max-height:82vh;background:var(--void-2);border:1px solid var(--line-strong);border-radius:var(--radius-md);box-shadow:var(--shadow-soft);display:flex;flex-direction:column;overflow:hidden;}
.privacy-modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--line);flex-shrink:0;}
.privacy-modal-head h2{font-size:16.5px;font-weight:700;color:var(--text);margin:0;}
.privacy-modal-close{appearance:none;border:none;background:transparent;color:var(--text-dim);font-size:26px;line-height:1;cursor:pointer;padding:2px 8px;border-radius:6px;transition:var(--transition-fast);}
.privacy-modal-close:hover{color:var(--text);background:var(--void-3);}
.privacy-modal-body{overflow-y:auto;padding:26px 28px;max-width:none;}
.privacy-modal-body h2:first-of-type{margin-top:0;}
body.privacy-modal-open{overflow:hidden;}

/* [KPZ] 2026-08-15, user request: "About us altina sertifika bolumu acalim 5 tane kutucuk
   olsun" — 5 placeholder certificate cards on the About Us page (about.php, .certs-section). */
.certs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;}
.cert-card{border:1px solid var(--line);border-radius:var(--radius-md);padding:24px 20px;background:var(--void-2);text-align:center;transition:var(--transition-fast);}
.cert-card:hover{border-color:var(--line-strong);}
.cert-icon{width:48px;height:48px;margin:0 auto 14px;border-radius:50%;background:var(--void-3);display:flex;align-items:center;justify-content:center;color:var(--amber-1);}
.cert-title{font-size:14px;font-weight:600;color:var(--text);margin-bottom:4px;}
.cert-note{font-size:12px;color:var(--text-dim);}

/* [KPZ] 2026-08-15, user request: "about us en alta media ve duyurular kismi ekle oraya
   youtubu penceresi olustur" — YouTube-style video card on the About Us page (about.php,
   .media-section). Links out to the real channel; see about.php comment for swapping in a
   real <iframe> embed once a specific video is chosen. */
.media-video-card{max-width:640px;}
.media-video-frame{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;aspect-ratio:16/9;width:100%;border-radius:var(--radius-md);border:1px solid var(--line-strong);background:linear-gradient(135deg,var(--void-3),var(--void-2));text-decoration:none;transition:var(--transition-fast);}
.media-video-frame:hover{border-color:var(--red-1);}
.media-play-btn{width:64px;height:64px;border-radius:50%;background:var(--red-1);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px -6px rgba(240,71,91,.55);transition:var(--transition-fast);}
.media-video-frame:hover .media-play-btn{transform:scale(1.06);}
.media-video-label{font-size:13.5px;font-weight:600;color:var(--text);}

/* [KPZ] 2026-08-15, user request: "Careers & Become a Partner sayfasindaki tablolardaki
   yildiz isaretlerinin renki sari olsun. Contact deki gibi." — .req was previously only
   colored inside .contact2-row-label / .contact2-consent-row (Contact page's table); the
   Job Application / Become a Partner forms' plain <label>Text <span class="req">*</span></label>
   fields (careers-partner.php) had no color rule at all. Made .req amber site-wide so every
   required-field star is consistent regardless of which form markup wraps it. */
.req{color:var(--amber-1);}

/* [KPZ] 2026-08-15, user request: "Send Message & Submit Application butonlari yildizli
   alanlar doldurulmandan calismasin" — visual state for the disabled submit buttons that
   assets/js/forms.js now sets until every required field is filled. :disabled only matches
   real <button disabled> elements, so this doesn't affect .cta-btn <a> links used elsewhere
   on the site. */
.cta-btn:disabled,.contact2-submit-btn:disabled{opacity:.42;cursor:not-allowed;box-shadow:none;transform:none;filter:grayscale(.15);}
.cta-btn:disabled:hover,.contact2-submit-btn:disabled:hover{opacity:.42;box-shadow:none;transform:none;}
