/* Mellora Solutions — kurumsal site. Renkler logodan: orman yeşili + altın yaprak. */
:root {
  --green-950: #062a20;
  --green-900: #0a3a2c;
  --green-800: #0f4a3a;
  --green-700: #17604b;
  --green-600: #1f7559;
  --green-500: #2d8c69;
  --green-200: #cfe3d6;
  --sage-100: #e9f2ec;
  --sage-50: #f4f8f5;
  --gold-600: #a77d3c;
  --gold-500: #c49a52;
  --gold-300: #e5c98f;
  --ink: #12261e;
  --ink-2: #3d5249;
  --muted: #5e7168;
  --line: #d9e5dd;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(6, 42, 32, 0.06), 0 8px 24px rgba(6, 42, 32, 0.07);
  --font-head: 'Marcellus', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.65 var(--font-body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-600); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; color: var(--green-900); line-height: 1.2; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.ic { flex: none; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }
.center { text-align: center; }
.muted { color: var(--muted); }
.fineprint { font-size: .86rem; color: var(--muted); margin-top: 1.25rem; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--green-900); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; }

/* --- Butonlar ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.25rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--green-800); color: #fff; }
.btn-primary:hover { background: var(--green-700); color: #fff; box-shadow: 0 6px 18px rgba(15, 74, 58, .25); }
.btn-gold { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--green-950); }
.btn-gold:hover { color: var(--green-950); box-shadow: 0 6px 18px rgba(196, 154, 82, .35); }
.btn-outline { border-color: var(--green-800); color: var(--green-800); background: transparent; }
.btn-outline:hover { background: var(--green-800); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; color: var(--green-700); }
.link-arrow .ic { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* --- Üst bar ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; flex: none; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-size: 1.45rem; letter-spacing: .08em; color: var(--green-800); }
.brand-sub { font-size: .62rem; letter-spacing: .42em; color: var(--ink-2); margin-top: .3rem; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: var(--green-200); }

.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav ul { display: flex; align-items: center; gap: .15rem; }
.site-nav ul a {
  display: block; padding: .5rem .7rem; border-radius: 8px; text-decoration: none;
  color: var(--ink-2); font-weight: 600; font-size: .93rem; white-space: nowrap;
}
.site-nav ul a:hover { color: var(--green-800); background: var(--sage-100); }
.site-nav ul a[aria-current='page'] { color: var(--green-800); box-shadow: inset 0 -2px 0 var(--gold-500); border-radius: 8px 8px 0 0; }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.lang-switch {
  display: inline-flex; align-items: center; gap: .3rem; min-height: 40px; padding: 0 .6rem;
  border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: .85rem;
}
.lang-switch:hover { background: var(--sage-100); color: var(--green-800); }
.lang-switch .ic { width: 18px; height: 18px; }
.btn-login { background: var(--green-800); color: #fff; min-height: 42px; padding: .55rem 1rem; }
.btn-login:hover { background: var(--green-700); color: #fff; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--green-800); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle .ic { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded='true'] .i-open { display: none; }
.nav-toggle[aria-expanded='true'] .i-close { display: inline-flex; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem 16px 1.5rem;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(6, 42, 32, .12);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav ul a { padding: .8rem .75rem; font-size: 1rem; }
  .site-nav ul a[aria-current='page'] { box-shadow: inset 3px 0 0 var(--gold-500); border-radius: 0 8px 8px 0; background: var(--sage-50); }
  .nav-actions { justify-content: space-between; border-top: 1px solid var(--line); padding-top: 1rem; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 1.2rem; }
  .brand img { width: 38px; height: 38px; }
}

/* --- Hero ----------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #e8f1ec;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(45, 140, 105, .45), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(196, 154, 82, .18), transparent 60%),
    linear-gradient(160deg, var(--green-800), var(--green-950));
}
.hero::after {
  content: ''; position: absolute; right: -120px; bottom: -140px; width: 520px; height: 520px;
  background: url('/emblem.png') center / contain no-repeat; opacity: .07; pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; padding: 4.5rem 16px 5rem; align-items: center; }
@media (min-width: 720px) { .hero-grid { padding: 5.5rem 28px 6rem; } }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { font-size: 1.12rem; color: #cfe1d7; max-width: 58ch; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 1rem; }
.eyebrow-dark { color: var(--gold-600); }

.hero-visual { display: flex; justify-content: center; }
.mock-card {
  width: 100%; max-width: 380px; padding: 1.25rem; border-radius: 18px; color: var(--ink);
  background: rgba(255, 255, 255, .97); box-shadow: 0 30px 60px rgba(0, 0, 0, .28); transform: rotate(-1.5deg);
}
.mock-head { display: flex; align-items: center; gap: .6rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); margin-bottom: .75rem; }
.mock-head img { width: 28px; height: 28px; }
.mock-head span { display: flex; flex-direction: column; line-height: 1.2; }
.mock-head small { color: var(--muted); font-size: .75rem; }
.mock-list li { display: flex; align-items: center; gap: .6rem; padding: .6rem .2rem; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.mock-ic { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center; }
.mock-ic .ic { width: 16px; height: 16px; }
.is-yes .mock-ic { background: #e3f3e6; color: #0b7d0b; }
.is-no .mock-ic { background: #fbe7e7; color: #b42f2f; }
.mock-code { font-weight: 700; color: var(--green-900); }
.mock-res { margin-left: auto; color: var(--ink-2); font-size: .82rem; }
.mock-bar { height: 8px; border-radius: 99px; background: var(--sage-100); margin: 1rem 0 .4rem; overflow: hidden; }
.mock-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green-600), var(--green-500)); }
.mock-foot { color: var(--muted); }

/* --- Bölümler ------------------------------------------------------------------- */
.section { padding: 4.5rem 0; }
@media (max-width: 719px) { .section { padding: 3.25rem 0; } }
.section-tint { background: var(--sage-50); border-block: 1px solid var(--sage-100); }
.section-head { max-width: 680px; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card p { color: var(--ink-2); }
.card-ic {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--sage-100); color: var(--green-800); margin-bottom: 1rem;
}
.card-ic .ic { width: 24px; height: 24px; }
.card-ic-lg { width: 60px; height: 60px; border-radius: 16px; }
.card-ic-lg .ic { width: 30px; height: 30px; }
.service-card { display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s, border-color .18s; }
.service-card:hover { transform: translateY(-3px); border-color: var(--green-200); }
.service-card .link-arrow { margin-top: auto; }
.card-dark { background: linear-gradient(160deg, var(--green-800), var(--green-950)); border-color: var(--green-900); color: #dfeee6; }
.card-dark h2 { color: #fff; }
.card-dark p { color: #cfe1d7; }

.chips { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.75rem; }
.chips li {
  padding: .6rem 1.1rem; border-radius: 999px; background: #fff; border: 1px solid var(--green-200);
  color: var(--green-800); font-weight: 700; font-size: .92rem;
}

/* AgriQMS */
.agri-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .agri-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.product-title { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .8rem; }
.product-title h2 { margin: 0; }
.product-full { color: var(--muted); font-size: .9rem; letter-spacing: .04em; margin: .25rem 0 1rem; }
.agri-headline { font-size: 1.35rem; color: var(--green-700); }
.badge {
  display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px;
  background: #fdf3df; color: #7a5520; border: 1px solid #ecd3a3; font-size: .78rem; font-weight: 700; letter-spacing: .02em;
}
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
.badge-soft { background: var(--sage-100); color: var(--green-700); border-color: var(--green-200); }
.badge-soft::before { background: var(--green-500); }
.features { display: grid; gap: 1rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
.features-4 { margin: 1.75rem 0 .5rem; }
@media (min-width: 1040px) { .features-4 { grid-template-columns: repeat(4, 1fr); } }
.feature { display: flex; gap: .9rem; padding: 1.15rem; border-radius: var(--radius); background: var(--sage-50); border: 1px solid var(--sage-100); }
.feature strong { display: block; color: var(--green-900); margin-bottom: .2rem; }
.feature > span:last-child > span { color: var(--ink-2); font-size: .92rem; }
.feature-ic { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--green-800); color: var(--gold-300); }
.feature-ic .ic { width: 22px; height: 22px; }
.features-4 .feature { flex-direction: column; }

.product-panel { border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: var(--shadow); background: #fff; }
.product-panel-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.product-panel-head img { width: 64px; height: 64px; }
.lead-dark { font-size: 1.08rem; color: var(--ink-2); max-width: 70ch; }

/* Adımlar */
.steps { display: grid; gap: 1.25rem; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 1.5rem 1.5rem 1.25rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step-no {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-800); color: var(--gold-300); font-family: var(--font-head); font-size: 1.2rem; margin-bottom: .9rem;
}
.step p { color: var(--ink-2); margin: 0; }

/* Çağrı bandı */
.cta-band { background: linear-gradient(120deg, var(--green-800), var(--green-700)); color: #e3efe8; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 3rem; }
.cta-inner h2 { color: #fff; margin-bottom: .3rem; }
.cta-inner p { margin: 0; color: #cfe1d7; max-width: 60ch; }

/* İç sayfa başlığı */
.page-hero {
  color: #dcebe3; padding: 3.75rem 0 3.25rem;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(45, 140, 105, .45), transparent 60%),
    linear-gradient(160deg, var(--green-800), var(--green-950));
}
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero .lead { max-width: 70ch; font-size: 1.08rem; margin: 0; color: #cfe1d7; }

/* Hakkımızda */
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.2fr .8fr; } }
.prose p { font-size: 1.06rem; color: var(--ink-2); }
.about-logo { margin: 0; padding: 1.5rem; border-radius: 20px; background: var(--sage-50); border: 1px solid var(--sage-100); }
.mv-card h2 { font-size: 1.5rem; }
.value-card h3 { margin-bottom: .35rem; }
.value-mark { display: inline-flex; color: var(--gold-600); margin-bottom: .6rem; }
.value-mark .ic { width: 26px; height: 26px; }

/* Hizmetler */
.service-row { padding: 3.5rem 0; border-bottom: 1px solid var(--sage-100); }
.service-row.is-alt { background: var(--sage-50); }
.service-row-grid { display: grid; gap: 1.5rem 3rem; align-items: start; }
@media (min-width: 860px) { .service-row-grid { grid-template-columns: 1fr 1fr; } }
.check-list { display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.check-list .ic { color: var(--green-600); margin-top: 2px; }

/* Yönetim sistemleri */
.system-group + .system-group { margin-top: 2.75rem; }
.system-group > h2 { font-size: 1.45rem; padding-bottom: .6rem; border-bottom: 2px solid var(--sage-100); margin-bottom: 1.25rem; }
.system-card { border-top: 3px solid var(--green-700); }
.system-card h3 { color: var(--green-800); }
.future-card h3 { margin-top: .8rem; margin-bottom: 0; }

/* İletişim */
.contact-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.5fr 1fr; } }
.contact-aside { display: grid; gap: 1.25rem; }
.contact-aside h2, .form-card h2 { font-size: 1.45rem; }
.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; color: var(--ink); }
.req { color: #b42f2f; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .75rem .85rem; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(31, 117, 89, .18); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b42f2f; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .fineprint { margin: 0; }
.form-status:empty { display: none; }
.form-status { padding: .85rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-status.is-ok { background: #e3f3e6; color: #0b5e0b; border: 1px solid #b9dfbf; }
.form-status.is-err { background: #fbe7e7; color: #8f2424; border: 1px solid #f0c4c4; }
.form .btn { justify-self: start; }
.contact-list { display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; }
.contact-list a { color: inherit; font-weight: 600; word-break: break-word; }
.contact-ic { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--sage-100); color: var(--green-800); }
.contact-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* --- Alt bilgi ---------------------------------------------------------------- */
.site-footer { background: var(--green-950); color: #b9cfc3; font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; padding-block: 3.5rem 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand p { margin-top: 1rem; max-width: 36ch; }
.footer-title { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-300); margin-bottom: .9rem; }
.footer-links { display: grid; gap: .45rem; }
.site-footer a { color: #dcebe3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .muted { color: #9fb8ab; }
.site-footer .contact-ic { background: rgba(255, 255, 255, .08); color: var(--gold-300); }
.site-footer .contact-label { color: #9fb8ab; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-block: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #8fa99c; }
.footer-tagline { letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
