/* ============================================================
   Santek Group — Corporate Website
   Brand color extracted from logo: #342D70 (deep indigo)
   ============================================================ */

:root {
  --brand:        #342D70;
  --brand-dark:   #241E52;
  --brand-deep:   #1A1540;
  --brand-light:  #4A4196;
  --brand-tint:   #ECEAF6;
  --accent:       #C9A24B;   /* refined gold — evokes metals & commodities */
  --accent-light: #E3C77F;
  --ink:          #1C1B29;
  --muted:        #5C5B6B;
  --line:         #E4E3EC;
  --bg:           #FFFFFF;
  --bg-soft:      #F7F7FB;
  --white:        #FFFFFF;
  --radius:       14px;
  --radius-sm:    9px;
  --shadow:       0 10px 30px rgba(26,21,64,.08);
  --shadow-lg:    0 24px 60px rgba(26,21,64,.16);
  --maxw:         1200px;
  --ease:         cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; line-height: 1.15; font-weight: 700; color: var(--brand-deep); letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 100px; font-weight: 600; font-size: .95rem;
  cursor: pointer; border: none; transition: all .3s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(52,45,112,.28); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(52,45,112,.4); }
.btn-gold { background: var(--accent); color: var(--brand-deep); }
.btn-gold:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-tint); }
.btn-lg { padding: 17px 36px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: all .4s var(--ease);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(26,21,64,.07); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 38px; width: auto; }
.brand-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.18rem; color: var(--brand-deep); letter-spacing: -.01em; line-height: 1; }
.brand-sub { display: block; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a { padding: 9px 16px; border-radius: 8px; font-weight: 500; font-size: .94rem; color: var(--ink); transition: all .2s; }
.nav-links a:hover { color: var(--brand); background: var(--brand-tint); }

.nav-right { display: flex; align-items: center; gap: 14px; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 100px;
  background: var(--bg-soft); border: 1px solid var(--line); cursor: pointer; font-weight: 600; font-size: .85rem; color: var(--ink);
  transition: all .2s;
}
.lang-btn:hover { border-color: var(--brand-light); }
.lang-btn svg { width: 14px; height: 14px; transition: transform .25s; }
.lang-switch.open .lang-btn svg { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .25s var(--ease); list-style: none;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-weight: 500; font-size: .9rem; transition: background .15s; }
.lang-menu li:hover { background: var(--brand-tint); }
.lang-menu li.active { color: var(--brand); font-weight: 700; }
.lang-menu .flag { font-size: 1.1rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--brand-deep); border-radius: 2px; transition: all .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background:
    linear-gradient(135deg, rgba(26,21,64,.94) 0%, rgba(52,45,112,.86) 55%, rgba(74,65,150,.78) 100%),
    url("../img/hero.jpg") center/cover no-repeat;
  color: #fff; overflow: hidden; padding-top: 76px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 75% 30%, rgba(201,162,75,.16), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px; border-radius: 100px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 28px; backdrop-filter: blur(4px); }
.hero .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4rem); margin-bottom: 22px; }
.hero h1 .gold { color: var(--accent-light); }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.86); max-width: 620px; margin-bottom: 38px; font-weight: 300; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 44px; margin-top: 64px; flex-wrap: wrap; }
.hero-stats .stat .num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stats .stat .num .gold { color: var(--accent-light); }
.hero-stats .stat .label { font-size: .85rem; color: rgba(255,255,255,.7); margin-top: 8px; letter-spacing: .03em; }

/* ---------- Section primitives ---------- */
.section { padding: 110px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head.left { text-align: left; margin-left: 0; }
.eyebrow-line { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 700; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.eyebrow-line::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Trust / sectors strip ---------- */
.sectors-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.sector-pill { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; transition: all .3s var(--ease); }
.sector-pill:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-light); }
.sector-pill .ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-tint); color: var(--brand); }
.sector-pill .ico svg { width: 26px; height: 26px; }
.sector-pill h4 { font-size: 1rem; color: var(--brand-deep); }
.sector-pill p { font-size: .82rem; color: var(--muted); }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 28px; }
.product-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: all .4s var(--ease);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card .media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--brand-tint); }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .media img { transform: scale(1.07); }
.product-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,21,64,.5), transparent 55%); }
.product-card .cat-tag { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 14px; border-radius: 100px; background: rgba(255,255,255,.92); color: var(--brand); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(4px); }
.product-card .body { padding: 26px 26px 28px; }
.product-card .body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.product-card .body p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.product-card .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.product-card .chips span { padding: 6px 13px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .8rem; color: var(--brand-dark); font-weight: 500; }

/* ---------- Vision ---------- */
.vision { background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; position: relative; overflow: hidden; }
.vision::before { content: ""; position: absolute; top: -120px; right: -120px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,75,.18), transparent 70%); }
.vision .eyebrow-line { color: var(--accent-light); }
.vision .eyebrow-line::before { background: var(--accent-light); }
.vision h2 { color: #fff; }
.vision-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; position: relative; z-index: 2; }
.vision-lead { font-size: 1.5rem; font-weight: 300; line-height: 1.5; margin-bottom: 30px; color: #fff; }
.vision-lead .gold { color: var(--accent-light); font-weight: 600; }
.vision-text p { color: rgba(255,255,255,.82); margin-bottom: 18px; font-size: 1.02rem; }
.vision-values { display: grid; gap: 18px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px); transition: all .3s; }
.value-item:hover { background: rgba(255,255,255,.1); transform: translateX(6px); }
.value-item .v-ico { flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(201,162,75,.18); color: var(--accent-light); }
.value-item .v-ico svg { width: 24px; height: 24px; }
.value-item h4 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.value-item p { color: rgba(255,255,255,.74); font-size: .9rem; margin: 0; }

/* ---------- CEO ---------- */
.ceo-block { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center; }
.ceo-photo { position: relative; }
.ceo-photo .frame { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--brand-tint); box-shadow: var(--shadow-lg); }
.ceo-photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.ceo-photo .badge { position: absolute; bottom: -20px; right: -16px; background: var(--accent); color: var(--brand-deep); padding: 16px 22px; border-radius: 14px; box-shadow: var(--shadow); }
.ceo-photo .badge .b-num { font-family: 'Plus Jakarta Sans'; font-size: 1.7rem; font-weight: 800; line-height: 1; }
.ceo-photo .badge .b-lbl { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.ceo-quote { font-size: 1.45rem; font-weight: 300; line-height: 1.5; color: var(--brand-deep); font-style: italic; margin-bottom: 26px; position: relative; }
.ceo-quote::before { content: "“"; font-family: Georgia, serif; font-size: 4rem; color: var(--accent); position: absolute; top: -28px; left: -10px; opacity: .4; }
.ceo-sign .name { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 1.2rem; color: var(--brand-deep); }
.ceo-sign .role { color: var(--accent); font-weight: 600; font-size: .9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.contact-info .welcome { font-size: 1.15rem; color: var(--muted); margin-bottom: 36px; }
.contact-list { display: grid; gap: 20px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-row .c-ico { flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-tint); color: var(--brand); }
.contact-row .c-ico svg { width: 22px; height: 22px; }
.contact-row .c-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.contact-row .c-value { font-weight: 600; color: var(--brand-deep); font-size: 1.02rem; }
.contact-row .c-value a:hover { color: var(--brand); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .85rem; color: var(--brand-deep); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--ink); background: var(--bg-soft); transition: all .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-light); background: #fff; box-shadow: 0 0 0 3px rgba(74,65,150,.12); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; }
.form-success { display: none; padding: 16px; border-radius: var(--radius-sm); background: #E7F6EC; color: #1A7F45; font-weight: 600; margin-top: 16px; font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,.74); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; margin-bottom: 52px; }
.footer-brand img { height: 40px; margin-bottom: 20px; }
.footer-brand p { font-size: .92rem; line-height: 1.7; max-width: 280px; }
.footer-col h5 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 20px; font-family: 'Plus Jakarta Sans'; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: .85rem; }
.footer-bottom a:hover { color: var(--accent-light); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .vision-grid, .ceo-block, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .ceo-block { gap: 64px; }
  .ceo-photo { max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .sectors-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .4s var(--ease); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 16px; border-radius: 8px; }
  .nav-toggle { display: flex; }
  .section { padding: 76px 0; }
  .hero-stats { gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .sectors-strip { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .contact-form { padding: 26px; }
}

/* ---------- Legal pages ---------- */
.legal-hero { padding: 140px 0 60px; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color:#fff; }
.legal-hero h1 { color:#fff; font-size: clamp(2rem,4vw,2.8rem); margin-bottom:10px; }
.legal-hero p { color: rgba(255,255,255,.8); }
.legal-body { padding: 64px 0 100px; }
.legal-body .container { max-width: 860px; }
.legal-block { margin-bottom: 40px; }
.legal-block h2 { font-size: 1.3rem; color: var(--brand-deep); margin-bottom: 14px; }
.legal-block p, .legal-block .legal-line { color: var(--ink); font-size: 1rem; line-height:1.8; }
.legal-block a { color: var(--brand); text-decoration: underline; }
.legal-ph { display:inline-block; background: #FFF4D6; color:#8A6D1A; border:1px dashed #D8B24B; border-radius:6px; padding:1px 9px; font-size:.9rem; font-weight:600; }
.legal-back { display:inline-flex; margin-top: 20px; color: var(--accent-light); font-weight:600; }
.legal-back:hover { color:#fff; }
