/* ===================================================================
   Slovenská Marketingová Asociácia — promo web
   Farby a typografia podľa identity z briefu.
   =================================================================== */

:root {
  --red:        #E30613;
  --red-dark:   #c00410;
  --blue:       #0038D8;
  --blue-dark:  #002bab;
  --navy:       #111827;
  --grey-text:  #1F2937;
  --grey-muted: #5b6577;
  --grey-light: #F5F7FA;
  --grey-line:  #e6e9ef;
  --white:      #ffffff;

  --maxw: 1160px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(17,24,39,.06), 0 6px 18px rgba(17,24,39,.05);
  --shadow-md: 0 10px 30px rgba(17,24,39,.10);

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--grey-text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: .85rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .6rem 1.05rem; font-size: .9rem; }

.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color:#fff; }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--grey-line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--grey-line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 88px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 60px; width: auto; }

.main-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .95rem;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width .22s ease;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--grey-muted);
  padding: 4px 6px;
  border-radius: 6px;
  font: inherit;
}
.lang-btn.is-active { color: var(--red); }
.lang-btn:hover { color: var(--navy); }
.lang-sep { color: var(--grey-line); }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--grey-light) 100%);
  padding: 72px 0 80px;
}
.hero-arc {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .12;
  pointer-events: none;
}
.hero-arc--red {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--red) 0%, transparent 65%);
  top: -180px; right: -120px;
}
.hero-arc--blue {
  width: 460px; height: 460px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 65%);
  bottom: -220px; left: -140px;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 56px;
}
.hero-visual { display: flex; justify-content: center; }
.hero-logo {
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 22px 45px rgba(17,24,39,.16));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: 1.08rem;
  color: var(--grey-muted);
  max-width: 56ch;
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===================== SECTIONS ===================== */
.section { padding: 84px 0; }
.section--grey { background: var(--grey-light); }
.section--navy { background: var(--navy); color: #d8dde7; }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--mt { margin-top: 72px; }
.kicker {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 12px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  position: relative;
  padding-bottom: 16px;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 3px;
  background: var(--blue);
  border-radius: 2px;
}
.section-head--light h2,
.section--navy h3 { color: #fff; }
.section-lead { font-size: 1.05rem; color: var(--grey-muted); margin: 14px 0 0; }
.section--navy .section-lead { color: #aab2c2; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}
.about-text p { margin: 0 0 18px; color: var(--grey-muted); font-size: 1.05rem; }
.about-card {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  border-top: 4px solid var(--red);
}
.about-card-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--blue);
  background: rgba(0,56,216,.08);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.about-card h3 { font-size: 1.2rem; }
.about-card p { color: var(--grey-muted); margin: 0; }

/* ---------- Cards (expertise) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,56,216,.25);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0,56,216,.10), rgba(227,6,19,.10));
  color: var(--blue);
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { margin: 0; color: var(--grey-muted); font-size: .98rem; }

/* ---------- International (navy panel + map) ---------- */
.section--tight { padding: 40px 0 84px; }

.intl-panel {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  background: radial-gradient(120% 140% at 80% 0%, #1c2b4a 0%, #111827 60%);
  border-radius: 28px;
  padding: 56px clamp(28px, 5vw, 64px) 52px;
  color: #cdd4e1;
}
.intl-panel-map {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.intl-panel-map-box {
  position: absolute;
  right: -3%;
  top: 50%;
  transform: translateY(-50%);
  width: 68%;
  max-width: 720px;
}
.intl-panel-map .world-map {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .16;
}
.world-map { width: 100%; height: auto; }

/* body na mape (relatívne k boxu mapy) */
.map-dot {
  position: absolute;
  width: 11px; height: 11px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.map-dot--red  { background: var(--red);  box-shadow: 0 0 0 5px rgba(227,6,19,.30); }
.map-dot--blue { background: #4d7bff;     box-shadow: 0 0 0 5px rgba(77,123,255,.28); }
.map-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: .5;
  animation: pulse 2.6s ease-out infinite;
}
.map-dot--red::after  { color: var(--red); }
.map-dot--blue::after { color: #4d7bff; }
@keyframes pulse {
  0%   { transform: scale(.6); opacity: .7; }
  100% { transform: scale(2.4); opacity: 0; }
}

.intl-panel-inner { position: relative; z-index: 1; }
.intl-panel-head { max-width: 760px; }
.intl-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .05em;
  color: #fff;
  background: var(--red);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.kicker--light { color: #6f9bff; }
.intl-panel-head h2 { color: #fff; padding-bottom: 16px; position: relative; }
.intl-panel-head h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 3px;
  background: var(--red);
  border-radius: 2px;
}
.intl-lead { color: #aeb7c9; font-size: 1.05rem; margin: 14px 0 0; }

.intl-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.intl-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.intl-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.08);
  border-color: rgba(109,155,255,.4);
}
.intl-card-ico {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(109,155,255,.16);
  color: #6f9bff;
  margin-bottom: 16px;
}
.intl-card-ico svg { width: 24px; height: 24px; }
.intl-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.intl-card p { color: #9aa3b8; font-size: .95rem; margin: 0; }

/* ---------- Partners ---------- */
.partner-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.partner-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.partner-list li:hover {
  transform: translateY(-4px);
  border-color: rgba(0,56,216,.25);
  box-shadow: var(--shadow-md);
}
.partner-ico {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0,56,216,.10), rgba(227,6,19,.08));
  color: var(--blue);
}
.partner-ico svg { width: 25px; height: 25px; }
.partner-body h3 {
  font-size: 1.04rem;
  margin: 2px 0 6px;
  color: var(--navy);
}
.partner-body p {
  margin: 0;
  font-size: .92rem;
  color: var(--grey-muted);
  line-height: 1.5;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.activity {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.activity:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.activity-media {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  border-top: 4px solid var(--red);
}
.activity-media svg { width: 38%; height: auto; opacity: .96; }
.activity-media--marketing { background: linear-gradient(135deg, #E30613, #ff5a4d); }
.activity-media--research  { background: linear-gradient(135deg, #0038D8, #3f74ff); }
.activity-media--education  { background: linear-gradient(135deg, #6b1f9e, #b14cff); }
.activity-media--business  { background: linear-gradient(135deg, #0a7d5a, #2bd49b); }
.activity-body { padding: 22px 24px 26px; }
.activity h3 { font-size: 1.12rem; margin-bottom: 8px; }
.activity p { margin: 0; color: var(--grey-muted); font-size: .96rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.contact-text > p { color: var(--grey-muted); font-size: 1.05rem; }
.contact-meta {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.contact-meta li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-ico {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(227,6,19,.08);
  color: var(--red);
}
.contact-ico svg { width: 21px; height: 21px; }
.contact-meta-text { display: grid; gap: 2px; }
.contact-meta-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--grey-muted);
}
.contact-meta-text a,
.contact-meta-text > span:last-child { color: var(--navy); font-weight: 500; }
.contact-meta-text a:hover { color: var(--blue); }

.contact-form {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: grid;
  gap: 7px;
}
.field-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  color: var(--navy);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  padding: 12px 14px;
  border: 1.5px solid var(--grey-line);
  border-radius: var(--radius-sm);
  background: var(--grey-light);
  color: var(--grey-text);
  transition: border-color .2s, background .2s;
  resize: vertical;
  width: 100%;
}
.contact-form textarea { min-height: 150px; line-height: 1.55; }
.contact-form ::placeholder { color: #9aa3b4; opacity: 1; }
.label-message { width: 100%; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}
.contact-form .btn { justify-self: start; }
.form-note { font-size: .82rem; color: var(--grey-muted); margin: 0; font-weight: 400; }
.form-note--ok { color: #0a7d5a; font-weight: 500; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: .9rem;
  color: var(--grey-muted);
  cursor: pointer;
}
.checkbox input {
  flex: none;
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
  cursor: pointer;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--navy);
  color: #aab2c2;
  padding: 48px 0 36px;
}
.footer-inner { display: grid; gap: 16px; text-align: center; justify-items: center; }
.footer-logo {
  height: 44px;
  width: auto;
  background: #fff;
  padding: 8px 14px;
  border-radius: 10px;
}
.footer-tagline {
  font-family: var(--font-head);
  font-weight: 500;
  color: #d8dde7;
  margin: 0;
  font-size: 1rem;
}
.footer-copy { margin: 0; font-size: .9rem; color: #7e889a; }
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
  margin-top: 4px;
}
.footer-links a { color: #9aa3b4; }
.footer-links a:hover { color: #fff; }
.footer-sep { color: #4b5566; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1000px) {
  .partner-list { grid-template-columns: repeat(2, 1fr); }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .intl-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero-visual { order: -1; }
  .hero-logo { max-width: 260px; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .intl-panel-map-box { width: 90%; right: -20%; opacity: .6; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    inset: 88px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--grey-line);
    padding: 8px 24px 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--grey-line); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-actions .btn-sm { display: none; }
  .card-grid,
  .activity-grid,
  .intl-cards,
  .partner-list,
  .form-row { grid-template-columns: 1fr; }
  .intl-panel { padding: 40px 24px 36px; }
  .intl-panel-map { display: none; }
  .section { padding: 60px 0; }
  .section--tight { padding: 20px 0 60px; }
  .hero { padding: 48px 0 56px; }
  .brand-logo { height: 48px; }
  .header-inner { height: 72px; }
  .main-nav { inset: 72px 0 auto 0; }
}

/* ===================== LANG VISIBILITY ===================== */
/* Default: SK shown, EN hidden. JS toggles the data-lang on <html>. */
[data-lang-current="en"] [data-sk]:not([data-en]) { /* fallback keeps text */ }
