/* ==========================================================================
   GIFGYM — kintamieji ir bazė
   ========================================================================== */
:root {
  --bg: #05060a;
  --bg-alt: #0b0d15;
  --surface: #12141f;
  --surface-2: #171a28;
  --border: #242737;

  --text: #f4f6fb;
  --muted: #9aa1b4;

  --purple: #7c6cf0;
  --blue: #4fb3ff;
  --teal: #34e0b0;

  --gradient: linear-gradient(90deg, var(--purple), var(--blue), var(--teal));
  --gradient-soft: linear-gradient(135deg, rgba(124,108,240,.16), rgba(79,179,255,.12), rgba(52,224,176,.16));

  --shadow-glow: 0 0 40px rgba(79,179,255,.25);
  --radius: 16px;
  --radius-sm: 10px;

  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Oswald', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

svg { fill: currentColor; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

section[id] {
  scroll-margin-top: 110px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; margin-bottom: 16px; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }

p { color: var(--muted); }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-lead {
  max-width: 620px;
  font-size: 1.05rem;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #05060a;
  box-shadow: 0 8px 24px rgba(79,179,255,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(79,179,255,.4); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  width: 100%;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

.btn-block { width: 100%; }

.btn-nav { display: inline-flex; }

/* ==========================================================================
   Announce bar
   ========================================================================== */
.announce-bar {
  background: var(--gradient);
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  padding: 10px 16px;
}
/* Specifiškai perrašo globalias .p/.a spalvų taisykles (var(--muted) /
   inherit), kurios čia darė tekstą pilką ir sunkiai įskaitomą ant
   spalvoto fono. */
.announce-bar p {
  color: #05060a;
}
.announce-bar a {
  color: #05060a;
  text-decoration: underline;
  white-space: nowrap;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

/* Blur/background gyvena ::before, o ne pačiame .site-header, nes
   backdrop-filter ant elemento, kuriame yra position:fixed vaikų
   (mobilus .nav), Safari/Chrome sukuria naują containing block —
   dėl to fiksuotas meniu buvo pozicionuojamas header ribose, o ne
   per visą ekraną, ir atrodė be fono. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5,6,10,.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 1.1rem;
}
.brand-name em { font-style: normal; color: var(--teal); }

.nav-list {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s ease;
  position: relative;
}
.nav-link:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 100px 0 90px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .35;
  z-index: 0;
  pointer-events: none;
}
.hero-glow-1 { background: var(--purple); top: -160px; left: -120px; }
.hero-glow-2 { background: var(--teal); bottom: -200px; right: -140px; }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-lead {
  margin-top: 20px;
  font-size: 1.1rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--muted);
}
.hero-badges .icon { color: var(--teal); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 640px; margin-bottom: 48px; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 64px;
  align-items: start;
}

.checklist { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 500;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient);
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-card-alt {
  background: var(--gradient-soft);
  border-color: transparent;
}
.about-card-value {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-card-label { color: var(--muted); font-size: .9rem; }

/* Cards / paslaugos */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--blue); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; color: var(--blue); }

.card p { font-size: .95rem; }

.card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--teal);
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.why-list { display: flex; flex-direction: column; gap: 28px; }
.why-list li { display: flex; gap: 18px; align-items: flex-start; }
.why-list .icon {
  width: 24px; height: 24px;
  color: var(--purple);
  margin-top: 2px;
  flex-shrink: 0;
}
.why-list strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.why-list span { color: var(--muted); font-size: .92rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 28px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon {
  width: 22px; height: 22px;
  color: var(--teal);
  margin-top: 3px;
  flex-shrink: 0;
}
.contact-list strong { display: block; font-size: .85rem; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.contact-list a, .contact-list span { font-size: 1rem; font-weight: 600; }
.contact-list a:hover { color: var(--blue); }

.socials { display: flex; gap: 12px; margin-bottom: 28px; }
.social-link {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, color .2s ease;
}
.social-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.social-link:hover { border-color: var(--blue); color: var(--blue); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) invert(.9) contrast(.9); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: .85rem; font-weight: 600; color: var(--muted); }

.form-row input, .form-row textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  resize: vertical;
  transition: border-color .2s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: #5b6072; }

.form-status {
  font-size: .88rem;
  min-height: 1.2em;
}
.form-status.success { color: var(--teal); }
.form-status.error { color: #ff6b6b; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-top: 56px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .brand-logo { width: 44px; height: 44px; }
.footer-brand p { font-size: .85rem; margin-top: 6px; }

.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--muted); font-size: .92rem; transition: color .2s ease; }
.footer-nav a:hover { color: var(--blue); }

.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a, .footer-contact span { color: var(--muted); font-size: .92rem; }
.footer-contact a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p { font-size: .82rem; }

/* ==========================================================================
   FAB (mobile quick CTA)
   ========================================================================== */
.fab {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(79,179,255,.4);
  z-index: 90;
}
.fab svg { width: 24px; height: 24px; color: #05060a; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .btn-nav { display: none; }
  .nav {
    position: fixed;
    inset: 0 0 0 30%;
    top: 0;
    background: var(--bg-alt);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 99;
    padding: 100px 32px 32px;
  }
  .nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; gap: 24px; }
  .nav-link { font-size: 1.1rem; }
  .nav-toggle { display: flex; }

  .cards-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .fab { display: flex; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
}
