/* =========================
   HATTUSHA — CLEAN CSS (v1)
   Single-source, no conflicts
========================= */

/* ---------- Tokens ---------- */
:root{
  /* Layout */
  --container: 1180px;
  --gutter: 40px;
  --radius: 18px;

  /* Dark */
  --bg:#070A0F;
  --panel: rgba(255,255,255,.04);
  --panelSolid:#0B1020;
  --ink:#E9ECF5;
  --muted:#A6AFC3;
  --muted2:#7E879C;
  --stroke: rgba(255,255,255,.10);

  /* Brand (default: modern accent) */
  --brand:#D80621;
  --brand2:#B1051A;

  /* Effects */
  --shadow: 0 24px 70px rgba(0,0,0,.45);

  /* Typography */
  --font: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --serif: "Playfair Display", ui-serif, Georgia, serif;

  /* Controls */
  --controlH: 44px;
  --controlR: 14px;
}

/* Light theme */
[data-theme="light"]{
  --bg:#F7F8FB;
  --panel: rgba(10,15,25,.04);
  --panelSolid:#FFFFFF;
  --ink:#0E1322;
  --muted:#4C556A;
  --muted2:#6B768F;
  --stroke: rgba(10,15,25,.12);
  --shadow: 0 24px 70px rgba(16,24,40,.14);
}

/* Swiss preset (optional later)
   just set:
   --brand:#D80621; --brand2:#B1051A;
*/

/* ---------- Base Reset ---------- */
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:
    radial-gradient(900px 520px at 82% 0%, rgba(216,6,33,.10), transparent 60%),
    radial-gradient(1100px 700px at 10% 20%, rgba(14,19,34,.08), transparent 60%),
    radial-gradient(1200px 700px at 50% 120%, rgba(0,0,0,.04), transparent 60%),
    var(--bg);
}

a{ color:inherit; text-decoration:none; }
button, input, textarea{ font-family:var(--font); }

.container{
  width: min(var(--container), calc(100% - var(--gutter)));
  margin: 0 auto;
}

/* ---------- Topbar ---------- */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--stroke);
  background: rgba(7,10,15,.62);
}
[data-theme="light"] .topbar{ background: rgba(247,248,251,.78); }

.topbar__inner{
  min-height: 74px;
  display:flex;
  align-items:center;
  gap:14px;
}

/* left */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  flex: 0 0 auto;
}

.brand__mark{
  width:40px; height:40px;
  border-radius: 14px;
  display:grid; 
  place-items:center;
  font-weight: 900;
  letter-spacing:.4px;
  background:
    radial-gradient(120px 60px at 20% 20%, rgba(255,255,255,.10), transparent 60%),
    rgba(216,6,33,.10);
  border: 1px solid rgba(216,6,33,.22);
}

.brand__text{ line-height:1.05; }
.brand__text strong{ font-weight:900; letter-spacing:.4px; }
.brand__text span{ opacity:.9; margin-left:4px; }
.brand__text em{
  display:block;
  margin-top:2px;
  font-style:normal;
  font-size:12px;
  color:var(--muted2);
}

/* middle nav */
.nav{
  flex: 1 1 auto;
  min-width: 0;
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 18px;
}

.nav a{
  font-size:14px;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  line-height:1;
  position:relative;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav a:hover{
  color: var(--ink);
  background: rgba(216,6,33,.06);
  transform: translateY(-1px);
}

.nav a:hover::after{
  content:"";
  position:absolute;
  left:12px; right:12px; bottom:6px;
  height:2px;
  border-radius:2px;
  background: linear-gradient(90deg, rgba(216,6,33,.85), rgba(216,6,33,.20));
}

/* right actions */
.actions{
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}

/* Controls (Theme / Lang / CTA / Burger) */
.btn, .ghost, .lang__btn, .burger{
  height: var(--controlH);
  border-radius: var(--controlR);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}

/* Primary button */
.btn{
  padding: 0 16px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  border: 1px solid rgba(216,6,33,.30);
  box-shadow: 0 18px 45px rgba(216,6,33,.20);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(216,6,33,.26);
}
.btn--full{ width:100%; }

/* Ghost button */
.ghost, .lang__btn, .burger{
  background: rgba(255,255,255,.02);
  border: 1px solid var(--stroke);
  color: var(--muted);
  padding: 0 14px;
  cursor:pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.ghost:hover, .lang__btn:hover, .burger:hover{
  background: rgba(216,6,33,.06);
  border-color: rgba(216,6,33,.18);
  color: var(--ink);
  transform: translateY(-1px);
}

.lang{
  position: relative;
  display: inline-flex;
}
.lang__btn{ gap:8px; padding: 0 12px; }

.lang__menu{
  position: absolute;
  right: -50px;
  top: calc(100% + 10px);   /* butonun ALTINA */
  min-width: 140px;

  background: var(--panelSolid);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 8px;

  box-shadow: var(--shadow);
  z-index: 1000;

  display: none;
}
.lang__menu button{
  width:100%;
  background: transparent;
  border:0;
  padding: 10px 12px;
  border-radius: 12px;
  display: block;
  text-align:left;
  font-weight:600;
  color: var(--muted);
  cursor:pointer;
}

.lang__menu button:hover{
  background: rgba(216,6,33,.08);
  color: var(--ink);
}
.lang.is-open .lang__menu{
  display: block;
}
.burger{
  display:none;
  width: var(--controlH);
  padding:0;
}
.burger span{
  display:block;
  height:2px;
  margin:6px 10px;
  background: var(--muted);
  border-radius: 99px;
}

/* Mobile nav (IMPORTANT: hidden must win) */
.mobileNav{ display:none; }
.mobileNav[hidden]{ display:none !important; }

@media (max-width: 980px){
  .nav{ display:none; }
  .burger{ display:inline-flex; }

  .mobileNav{
    display:grid;
    gap:10px;
    padding:14px 20px 18px;
    border-top:1px solid var(--stroke);
    background: transparent;
  }
  .mobileNav a{
    padding:12px 12px;
    border-radius:14px;
    background: rgba(255,255,255,.03);
    border:1px solid var(--stroke);
    color:var(--muted);
  }
  .mobileNav a:hover{ color:var(--ink); background: rgba(255,255,255,.06); }
}

/* ---------- Hero ---------- */
.hero{ padding: 72px 0 34px; }

.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:26px;
  align-items:start;
}

.pill{
  display:inline-flex;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  border-color: rgba(216,6,33,.20);
  background: rgba(216,6,33,.05);
  color: var(--muted);
  font-size:13px;
}

.headline{
  margin:14px 0 10px;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -.3px;
  line-height: 1.08;
  font-size: clamp(34px, 4vw, 54px);
}

.subhead{
  color: var(--muted);
  font-size:16px;
  line-height:1.6;
  max-width: 62ch;
}
.intro{
  color: var(--muted2);
  font-size:15px;
  line-height:1.7;
  margin-top:12px;
  max-width: 66ch;
}

.hero__cta{
  margin-top:18px;
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
}

.ghostLink{
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.ghostLink:hover{ color: var(--ink); }

.hero__meta{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
}

.metaCard{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  border-radius:16px;
  padding:12px;
}
.metaCard strong{ display:block; font-size:13px; }
.metaCard span{ display:block; margin-top:4px; color:var(--muted2); font-size:13px; }

/* Visual */
.hero__visual{ position:relative; min-height: 430px; }

.orb{
  position:absolute;
  border-radius:999px;
  filter: blur(20px);
  opacity:.65;
}
.orb--1{ width:260px; height:260px; left:14%; top:6%; background: rgba(185,255,106,.22); }
.orb--2{ width:310px; height:310px; right:0; bottom:10%; background: rgba(122,108,255,.22); }

.glass{
  position:relative;
  margin-top:24px;
  padding:18px;
  border-radius:22px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.glass__title{
  color:var(--muted);
  font-size:13px;
  letter-spacing:.3px;
  text-transform:uppercase;
}
.miniGrid{ margin-top:12px; display:grid; gap:10px; }

.mini{
  display:flex;
  gap:12px;
  align-items:center;
  border:1px solid var(--stroke);
  border-radius:16px;
  padding:12px;
  background: rgba(255,255,255,.03);
}
.mini__ic{
  width:34px; height:34px;
  border-radius:14px;
  display:grid; place-items:center;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.05);
}
.mini strong{ display:block; font-size:14px; }
.mini em{ display:block; margin-top:2px; font-style:normal; color:var(--muted2); font-size:13px; }

.glass__note{
  margin-top:12px;
  color:var(--muted2);
  font-size:13px;
  line-height:1.6;
}

/* ---------- Sections ---------- */
.section{ padding: 56px 0; }

.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
  border-top:1px solid var(--stroke);
  border-bottom:1px solid var(--stroke);
}

.section__head h2{
  font-family: var(--serif);
  font-size: 30px;
  margin:0 0 8px;
}
.section__head p{
  margin:0;
  color: var(--muted);
  line-height:1.7;
  max-width: 72ch;
}

/* ---------- Cards ---------- */
.cards{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
}

.card{
  position:relative;
  overflow:hidden;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  border-radius: 18px;
  padding:16px;
  transition: transform .22s ease, background .22s ease;
}
.card:before{
  content:"";
  position:absolute; inset:-1px;
  background:
    radial-gradient(600px 180px at 20% 0%, rgba(216,6,33,.10), transparent 60%),
    radial-gradient(520px 220px at 90% 10%, rgba(216,6,33,.06), transparent 60%);
  opacity:0;
  transition: opacity .22s ease;
}
.card > *{ position:relative; }
.card:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,.05);
}
.card:hover:before{ opacity:1; }
.card h3{ margin:0 0 8px; font-size:16px; }
.card p{ margin:0 0 10px; color:var(--muted); line-height:1.7; font-size:14px; }
.card__link{ color:var(--muted2); font-weight:700; font-size:14px; }
.card__link:hover{ color:var(--ink); }

/* ---------- About ---------- */
.twoCol{
  margin-top:18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}

.panel{
  border:1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  padding:16px;
}
.panel h3{ margin:0 0 8px; }
.muted{ color:var(--muted); line-height:1.7; }
.mt{ margin-top:18px; }

.bullets{ margin-top:10px; display:grid; gap:10px; }
.bullet{
  border:1px solid var(--stroke);
  border-radius:16px;
  padding:12px;
  background: rgba(255,255,255,.03);
}
.bullet strong{ display:block; }
.bullet span{ display:block; margin-top:4px; color:var(--muted2); line-height:1.6; font-size:14px; }

.values{ margin-top:10px; display:grid; gap:10px; }
.value{
  display:flex;
  justify-content:space-between;
  gap:12px;
  border:1px solid var(--stroke);
  border-radius:16px;
  padding:12px;
  background: rgba(255,255,255,.03);
}
.value span{ color:var(--muted2); font-size:14px; line-height:1.6; }

/* ---------- Areas ---------- */
.stack{ margin-top:18px; display:grid; gap:14px; }

.area{
  border:1px solid var(--stroke);
  border-radius: 20px;
  background: rgba(255,255,255,.03);
  padding:16px;
}
.area__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.tag{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  color:var(--muted);
}
.area p{ color:var(--muted); line-height:1.7; margin:10px 0 0; }

.area__grid{
  margin-top:12px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.miniCard{
  border:1px solid var(--stroke);
  border-radius:18px;
  background: rgba(255,255,255,.03);
  padding:14px;
}
.miniCard h4{ margin:0 0 10px; font-size:14px; }
.miniCard ul{ margin:0; padding-left:18px; color:var(--muted); line-height:1.7; }
.miniCard li{ margin:6px 0; }
.legal{ font-size:12.5px; color:var(--muted2); line-height:1.6; }

/* ---------- CTA ---------- */
.cta{
  margin-top:18px;
  border:1px solid var(--stroke);
  border-radius:22px;
  padding:16px;
  background:
    radial-gradient(900px 220px at 20% 0%, rgba(185,255,106,.10), transparent 60%),
    radial-gradient(800px 260px at 100% 20%, rgba(122,108,255,.10), transparent 60%),
    rgba(255,255,255,.03);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.cta h3{ margin:0; font-size:18px; }
.cta p{ margin:6px 0 0; color:var(--muted); }

/* ---------- Contact ---------- */
.contactGrid{
  margin-top:18px;
  display:grid;
  grid-template-columns: .8fr 1.2fr;
  gap:14px;
}
.hr{ height:1px; background: var(--stroke); margin:12px 0; }

.form .row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}

label span{
  display:block;
  font-size:13px;
  color:var(--muted);
  margin-bottom:7px;
}

input, textarea{
  width:100%;
  border-radius:14px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  padding:12px;
  color:var(--ink);
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(216,6,33,.40);
  box-shadow: 0 0 0 6px rgba(216,6,33,.10);
}

.form__actions{ margin-top:12px; display:grid; gap:10px; }

/* ---------- Footer ---------- */
.footer{ padding:28px 0 18px; }

.footer__inner{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  border-top:1px solid var(--stroke);
  padding-top:22px;
}
.brand--footer .brand__mark{ width:34px; height:34px; }

.footer__right{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.footer__right a{
  color:var(--muted);
  padding:8px 10px;
  border-radius:12px;
}
.footer__right a:hover{ color:var(--ink); background: rgba(255,255,255,.06); }

.footer__bottom{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  padding-top:14px;
  border-top:1px solid var(--stroke);
  margin-top:14px;
  color:var(--muted2);
  font-size:13px;
}
.toTop{ font-weight:800; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns:1fr; }
  .hero__visual{ min-height: 360px; }
  .hero__meta{ grid-template-columns:1fr; }
  .cards{ grid-template-columns:1fr; }
  .twoCol{ grid-template-columns:1fr; }
  .area__grid{ grid-template-columns:1fr; }
  .contactGrid{ grid-template-columns:1fr; }
  .form .row{ grid-template-columns:1fr; }
}
.mark__h{ position:relative; z-index:2; }
.mark__cross{
  position:absolute; right:-6px; top:-6px;
  width:18px; height:18px;
  border-radius:6px;
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(216,6,33,.25);
}
.mark__cross::before, .mark__cross::after{
  content:""; position:absolute; left:50%; top:50%;
  transform: translate(-50%,-50%);
  background:#fff; border-radius:2px;
}
.mark__cross::before{ width:10px; height:3px; }
.mark__cross::after{ width:3px; height:10px; }