/* =========================================================
   Optimum Mali Müşavirlik — Tasarım sistemi
   Renkler logodan alınmıştır: lacivert + mercan çizgi
   ========================================================= */
:root {
  --navy: #0b2a3f;
  --navy-900: #061a28;
  --navy-700: #14405e;
  --coral: #e8575a;
  --coral-600: #d24346;
  --ink: #1b2730;
  --muted: #5a6a77;
  --line: #e1e6eb;
  --soft: #f4f6f8;
  --white: #ffffff;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  --radius: 10px;
  --shadow: 0 10px 30px rgba(11, 42, 63, 0.08);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .6em;
}
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--soft { background: var(--soft); }

/* Bölüm başlıkları — logodaki mercan çizgiyi tekrarlar */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: .9rem;
}
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; }
.section-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: var(--coral);
  margin-top: 18px;
}
.section-head--center h2::after { margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: .9rem 1.6rem;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--coral); color: var(--white); }
.btn--primary:hover { background: var(--coral-600); }
.btn--outline { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); }

/* Üst bilgi şeridi */
.topbar { background: var(--navy-900); color: #b9c6d1; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; flex-wrap: wrap; }
.topbar a:hover { color: var(--white); }
.topbar__group { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.topbar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; fill: var(--coral); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.header__logo img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .95rem;
  color: var(--navy);
  position: relative;
  padding: .3rem 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--coral); transition: width .25s;
}
.nav a:not(.btn):hover::after, .nav a.active::after { width: 100%; }
.nav .btn { padding: .7rem 1.3rem; color: var(--white); }
.nav a.lang {
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  border: 1.5px solid var(--navy); border-radius: 999px; padding: .3rem .75rem;
  transition: background .2s, color .2s;
}
.nav a.lang::after { display: none; }
.nav a.lang:hover { background: var(--navy); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 6px 0; transition: .25s; }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 85% 20%, rgba(232,87,90,.12), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy) 55%, var(--navy-700));
  color: #d6e0e8;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
  padding: 110px 0 120px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -.01em;
}
.hero h1 em { font-style: normal; color: var(--coral); }
.hero__lead { font-size: 1.2rem; max-width: 560px; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 32px;
  backdrop-filter: blur(6px);
}
.hero__card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 1.2rem; }
.hero__card ul { list-style: none; padding: 0; margin: 0; }
.hero__card li {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero__card li:last-child { border-bottom: 0; }
.check {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--coral); display: grid; place-items: center; margin-top: 2px;
}
.check svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 3; fill: none; }

/* Hizmet kartları */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  position: relative;
}
.service::before {
  content: ""; position: absolute; left: 30px; top: 0;
  width: 40px; height: 3px; background: var(--coral); border-radius: 0 0 3px 3px;
}
.service:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.service__icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: var(--soft); display: grid; place-items: center; margin-bottom: 1.3rem;
}
.service__icon svg { width: 26px; height: 26px; stroke: var(--navy); stroke-width: 1.7; fill: none; }
.service h3 { font-size: 1.15rem; font-weight: 600; }
.service p { color: var(--muted); margin: 0; }

/* Öne çıkan geniş hizmet kartı */
.service--wide {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: var(--navy); border-color: var(--navy); color: #cfdae3;
}
.service--wide .service__icon { margin: 0; background: rgba(255,255,255,.08); }
.service--wide .service__icon svg { stroke: var(--white); }
.service--wide h3 { color: var(--white); }
.service--wide p { color: #cfdae3; }
.service__more { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--coral); white-space: nowrap; }
@media (max-width: 640px) {
  .service--wide { grid-template-columns: 1fr; gap: 16px; }
}

/* Neden biz */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 28px; }
.why__item h4 { font-size: 1.02rem; font-weight: 600; display: flex; align-items: center; gap: .6rem; }
.why__item h4::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--coral); flex: none; }
.why__item p { color: var(--muted); margin: 0; font-size: 1rem; }
.why__panel {
  background: var(--navy);
  color: #cfdae3;
  border-radius: 14px;
  padding: 48px 44px;
  position: relative;
}
.why__panel::after {
  content: ""; position: absolute; left: 44px; right: 44px; bottom: 0;
  height: 4px; background: var(--coral); border-radius: 4px 4px 0 0;
}
.why__panel blockquote {
  margin: 0 0 1.4rem;
  font-family: var(--font-head);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--white);
  font-weight: 500;
}

/* Süreç */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--line);
  display: block;
  line-height: 1;
  margin-bottom: .8rem;
}
.step h3 { font-size: 1.08rem; font-weight: 600; }
.step p { color: var(--muted); font-size: 1rem; margin: 0; }

/* Blog / mevzuat kartları */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: box-shadow .25s;
}
.post:hover { box-shadow: var(--shadow); }
.post__tag {
  align-self: flex-start;
  font-family: var(--font-head);
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--coral);
  background: rgba(232,87,90,.08);
  padding: .3rem .7rem; border-radius: 4px;
  margin: 26px 26px 0;
}
.post__body { padding: 14px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.post h3 { font-size: 1.1rem; font-weight: 600; }
.post p { color: var(--muted); font-size: .98rem; flex: 1; }
.post__more { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); }
.post__more:hover { color: var(--coral); }
.posts-foot { text-align: center; margin-top: 44px; }

/* CTA bandı */
.cta { background: var(--navy); color: #cfdae3; }
.cta .container {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 64px 0; flex-wrap: wrap;
}
.cta h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; margin-bottom: .3rem; }
.cta p { margin: 0; }

/* İletişim */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: stretch; }
.contact__info { display: grid; gap: 22px; align-content: start; }
.contact__row { display: flex; gap: 1rem; align-items: flex-start; }
.contact__row .ic {
  flex: none; width: 46px; height: 46px; border-radius: 10px;
  background: var(--navy); display: grid; place-items: center;
}
.contact__row .ic svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 1.8; }
.contact__row strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .95rem; }
.contact__row span, .contact__row a { color: var(--muted); }
.contact__row a:hover { color: var(--coral); }
.map {
  border-radius: 14px; overflow: hidden; min-height: 360px;
  border: 1px solid var(--line);
}
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* Footer */
.footer { background: var(--navy-900); color: #93a5b4; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 72px 0 48px; }
.footer__brand {
  display: inline-block; background: var(--white); padding: 10px 14px; border-radius: 8px; margin-bottom: 1.1rem;
}
.footer__brand img { height: 46px; width: auto; }
.footer h4 { color: var(--white); font-size: .95rem; font-weight: 600; margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0; font-size: .85rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

/* ---------- İç sayfa başlığı ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy) 60%, var(--navy-700));
  color: #cfdae3;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--coral);
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 600; margin-bottom: .4rem; }
.page-hero p { max-width: 640px; font-size: 1.12rem; margin: 0; }
.breadcrumb { font-size: .88rem; margin-bottom: 1rem; color: #93a5b4; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Yaklaşan tarihler (ana sayfa) ---------- */
.dues { display: grid; gap: 14px; }
.due {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; transition: box-shadow .2s, border-color .2s;
}
.due:hover { box-shadow: var(--shadow); border-color: transparent; }
.due__date {
  width: 66px; text-align: center; border-radius: 8px; background: var(--navy); color: var(--white);
  padding: 8px 0; font-family: var(--font-head);
}
.due__date strong { display: block; font-size: 1.5rem; line-height: 1.1; }
.due__date span { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #b9c6d1; }
.due__body h3, .cal-item__body h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: .2rem; }
.due__body p, .cal-item__body p { color: var(--muted); font-size: .96rem; margin: 0; }
.due__left {
  font-family: var(--font-head); font-size: .82rem; font-weight: 600; white-space: nowrap;
  color: var(--navy); background: var(--soft); padding: .45rem .8rem; border-radius: 999px;
}
.due__left.is-urgent { color: var(--white); background: var(--coral); }
.tax-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }

/* ---------- Vergi takvimi sayfası ---------- */
.cal-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.cal-nav h2 { margin: 0; font-size: 1.6rem; font-weight: 600; }
.cal-nav button {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy);
  background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: .6rem 1rem; cursor: pointer;
}
.cal-nav button:hover { border-color: var(--navy); }
.cal-list { display: grid; gap: 14px; }
.cal-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: start;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: var(--white);
}
.cal-item.is-past { opacity: .55; }
.cal-item__cat {
  font-family: var(--font-head); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--coral);
}
.cal-item__body small { display: block; margin-top: .5rem; color: var(--muted); font-size: .86rem; }
.layout-aside { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.aside-card {
  background: var(--soft); border-radius: 12px; padding: 28px; position: sticky; top: 110px;
}
.aside-card h3 { font-size: 1.1rem; }
.aside-card p { color: var(--muted); font-size: .98rem; }
.note {
  font-size: .9rem; color: var(--muted); border-left: 3px solid var(--coral);
  padding: .6rem 1rem; background: var(--soft); border-radius: 0 6px 6px 0; margin-top: 28px;
}

/* ---------- Hizmet detayları ---------- */
.svc-detail {
  display: grid; grid-template-columns: 72px 1fr; gap: 28px;
  padding: 44px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px;
}
.svc-detail:last-child { border-bottom: 0; }
.svc-detail .service__icon { width: 64px; height: 64px; background: var(--navy); }
.svc-detail .service__icon svg { stroke: var(--white); }
.svc-detail h2 { font-size: 1.5rem; font-weight: 600; }
.svc-detail p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.5rem; }
.ticks li { position: relative; padding-left: 1.5rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 2px; background: var(--coral);
}

/* ---------- Metin sayfaları ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.45rem; font-weight: 600; margin-top: 2rem; }
.prose p, .prose li { color: #34434f; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }

/* ---------- Form ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--navy); margin-bottom: .4rem; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid #cdd5dc; border-radius: 6px; padding: .8rem .95rem; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,42,63,.12);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; color: var(--muted); }
.form .consent input { width: auto; margin-top: .3rem; }
.form .consent a { color: var(--navy); text-decoration: underline; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 36px; box-shadow: var(--shadow); }
.hidden { display: none; }

@media (max-width: 1024px) {
  .tax-split, .layout-aside { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .due, .cal-item { grid-template-columns: auto 1fr; }
  .due__left { grid-column: 2; justify-self: start; }
  .svc-detail { grid-template-columns: 1fr; gap: 16px; }
  .ticks, .form { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
}

/* Duyarlı (mobil) düzen */
@media (max-width: 1024px) {
  .hero .container, .why, .contact { grid-template-columns: 1fr; }
  .services, .posts { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 84px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; justify-content: center; border-bottom: 0; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .services, .posts, .why__list, .steps, .footer__grid { grid-template-columns: 1fr; }
  .hero .container { padding: 72px 0 80px; }
  .header__logo img { height: 48px; }
  .topbar__group--right { display: none; }
  .why__panel { padding: 36px 28px; }
}
