/* masdynamics.com - Tasarım 2. Page layouts are inline in each page; this file holds the shared parts. */
:root {
  --ink: #0c1a28;
  --text: #4a5b6b;
  --line: #e4e9ef;
  --shell: #f7f9fb;
  --teal: #0f6b59;
  --teal-2: #138a73;
  --green: #2f8f4e;
  --deep: #0f3b33;
  --mint: #eef7f3;
  --alert: #a5481f;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .wrap { padding: 0 18px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: var(--ink); padding: 8px 12px; z-index: 20; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--deep); color: #fff; }
.btn-night { background: var(--deep); }
.btn-line { background: #fff; color: var(--ink); border: 1px solid #d5dde5; }

/* Header */
.site-head { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; min-height: 76px; flex-wrap: wrap; }
.brand img { display: block; width: 236px; height: auto; }
.nav { display: flex; align-items: center; gap: 8px 30px; flex-wrap: wrap; font-size: 14.5px; font-weight: 500; }
.nav a { color: var(--text); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.btn { color: #fff; }
.nav-toggle { display: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #d5dde5; background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .brand img { width: 190px; }
  .site-head .wrap { padding-top: 14px; padding-bottom: 14px; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 16px; padding: 10px 0 8px; }
  .nav.open { display: flex; }
}

/* Footer */
.site-foot { background: var(--shell); border-top: 1px solid var(--line); color: var(--text); font-size: 15px; }
.site-foot .wrap { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-top: 56px; padding-bottom: 40px; }
.site-foot h2 { font-family: Georgia, "Times New Roman", serif; font-size: 18px; color: var(--ink); margin: 0 0 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--text); text-decoration: none; }
.site-foot a:hover { color: var(--teal); }
.site-foot address { font-style: normal; margin-top: 16px; line-height: 1.75; }
.site-foot .foot-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid var(--line); font-size: 14px; }

/* FAQ: native details */
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 16px 4px; font-weight: 600; font-size: 17.5px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; flex: none; font-size: 22px; color: var(--teal); }
details.faq[open] summary::after { content: "\2212"; }
details.faq p { margin: 0; padding: 0 4px 20px; color: var(--text); max-width: 48em; }

/* Forms */
.form-msg { min-height: 1.4em; font-weight: 600; font-size: 15px; }
.form-msg.ok { color: var(--teal); }
.form-msg.err { color: var(--alert); }
button[disabled] { opacity: 0.6; cursor: progress; }
.page-note { margin: 0; padding: 18px 0; font-size: 13.5px; color: var(--text); border-top: 1px solid var(--line); }
.page-note .wrap { display: block; }

/* Simple pages: contact, privacy, 404 */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(36px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -0.03em; margin: 0; }
.eyebrow { margin: 0 0 16px; font-size: 15px; font-weight: 600; color: var(--teal); }
.intro { color: var(--text); max-width: 40em; margin: 18px 0 32px; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.prose { max-width: 68ch; }
.muted, .small { color: var(--text); font-size: 14px; }
form.contact { display: grid; gap: 18px; max-width: 680px; margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 32px); box-shadow: 0 30px 60px -36px rgba(12, 26, 40, 0.35); }
form.contact label { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; }
form.contact .hint { font-weight: 400; color: var(--text); font-size: 14px; }
form.contact input, form.contact select, form.contact textarea { font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid #c7d3dd; border-radius: 10px; min-height: 46px; padding: 10px 14px; width: 100%; }
form.contact textarea { min-height: 150px; resize: vertical; }
.row2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.contact-side { margin-top: 40px; color: var(--text); }

/* Stat tiles (number above label): keep numbers aligned when a label wraps */
dl > div[style*="column-reverse"] { justify-content: flex-end; }

/* WhatsApp button, fixed bottom right */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(12, 26, 40, 0.45); }
.wa-float:hover { background: var(--deep); color: #fff; }
@media print { .wa-float { display: none; } }

/* Dark feature blocks run edge to edge, like the full-width dark sections */
main { overflow-x: clip; }
.band-bleed { border-radius: 0 !important; margin-bottom: 36px; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 64px max(32px, calc(50vw - 568px)) !important; }
@media (max-width: 600px) { .band-bleed { padding: 48px 18px !important; } }
