/*
Theme Name: NaujasWeb
Theme URI: https://naujasweb.lt
Author: NaujasWeb
Description: Individuali NaujasWeb tema – svetainių ir el. parduotuvių kūrimo paslaugos.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: naujasweb
*/

/* ===== Baziniai stiliai ===== */
:root {
  --brand: #0E61D1;
  --brand-dark: #0B4FA9;
  --brand-light: #7db4f5;
  --ink: #101828;
  --body: #475467;
  --muted: #667085;
  --line: #e6ecf5;
  --bg-soft: #f6f8fc;
  --dark: #101828;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: 'Manrope', 'Helvetica Neue', sans-serif; background: #fff; color: var(--body); }
a { color: #3d3d3d; text-decoration: none; }
a:hover { color: #000; }
img { max-width: 100%; height: auto; }

@keyframes heroFadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blobFloatA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(6vw,8vh) scale(1.12); } }
@keyframes blobFloatB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-7vw,-6vh) scale(1.08); } }
@keyframes blobFloatC { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-5vw,7vh) scale(0.9); } }

/* ===== Bendri komponentai ===== */
.container { max-width: 1200px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }
.badge { display: inline-block; background: rgba(14,97,209,0.1); color: var(--brand); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; }
.badge--purple { background: rgba(127,84,179,0.12); color: #7F54B3; }
.h1 { margin: 0; font-size: 56px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.h2 { margin: 0; font-size: 42px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.h2 .accent, .h1 .accent { color: var(--brand); }
.h1 .accent-light { color: var(--brand-light); }
.lead { margin: 0; font-size: 18px; line-height: 1.65; color: var(--body); max-width: 560px; text-wrap: pretty; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; padding: 14px 28px; border-radius: 999px; border: none; cursor: pointer; font-family: inherit; transition: background 0.2s ease; }
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.35); }
.btn--ghost:hover { background: rgba(255,255,255,0.2); }
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check { display: flex; align-items: flex-start; gap: 12px; }
.check .tick { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: rgba(14,97,209,0.1); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.check .txt { font-size: 17px; color: #344054; font-weight: 500; line-height: 1.5; }
.check--sm .tick { width: 20px; height: 20px; font-size: 11px; margin-top: 1px; }
.check--sm .txt { font-size: 15px; line-height: 1.45; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 110px; padding-bottom: 110px; }
.section-white { background: #fff; }
.section-soft { background: var(--bg-soft); }
[data-fade] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
[data-fade].visible { opacity: 1; transform: translateY(0); }

/* ===== Meniu ===== */
.site-nav-wrap { position: absolute; top: 28px; left: 0; right: 0; display: flex; justify-content: center; z-index: 100; padding: 0 16px; pointer-events: none; }
.site-nav-wrap--static { position: relative; top: 0; padding-top: 28px; }
.site-nav { pointer-events: auto; display: flex; flex-direction: column; border-radius: 28px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 8px 32px rgba(0,0,0,0.35); padding: 10px 12px; }
.site-nav__row { display: flex; align-items: center; gap: 32px; }
.site-nav__logo { display: flex; align-items: center; padding-left: 8px; }
.site-nav__logo img { height: 28px; width: auto; display: block; }
.site-nav__links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.site-nav__links a.active { color: var(--brand); font-weight: 700; }
.site-nav__cta { background: var(--brand); color: #fff !important; font-weight: 600; font-size: 15px; padding: 10px 20px; border-radius: 999px; }
.site-nav__cta:hover { background: var(--brand-dark); }
.burger { display: none; border: none; background: transparent; cursor: pointer; padding: 8px; margin-left: auto; color: #111; align-items: center; justify-content: center; }
.burger svg { width: 26px; height: 26px; display: block; }
.burger .icon-close { display: none; }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 16px 8px 8px 8px; }
.mobile-menu a { color: #3d3d3d; font-size: 16px; font-weight: 600; padding: 12px 10px; border-radius: 12px; }
.mobile-menu a:hover { background: rgba(14,97,209,0.07); color: #000; }
.mobile-menu .btn { margin-top: 8px; }
.site-nav.open .mobile-menu { display: flex; animation: heroFadeIn 0.25s ease-out both; }
.site-nav.open .burger .icon-open { display: none; }
.site-nav.open .burger .icon-close { display: block; }

/* ===== Hero (pagrindinis) ===== */
.hero-main { position: relative; width: 100%; min-height: 100vh; background: #000; overflow: hidden; }
.hero-main__bg { position: absolute; inset: 0; }
.hero-main__content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; z-index: 5; pointer-events: none; padding: 0 24px; }
.hero-main__content h1 { margin: 0; max-width: 900px; color: #fff; font-size: 64px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; text-shadow: 0 4px 40px rgba(0,0,0,0.6); animation: heroFadeIn 1s ease-out both; }
.hero-main__content p { margin: 24px 0 0 0; color: rgba(255,255,255,0.6); font-size: 18px; font-weight: 500; animation: heroFadeIn 1s ease-out 0.3s both; }

/* ===== Hero (subpuslapiai) ===== */
.hero-sub { position: relative; width: 100%; min-height: 100vh; display: flex; flex-direction: column; background: #060d18; overflow: hidden; }
.hero-sub__bg { position: absolute; inset: 0; }
.hero-sub__content { position: relative; max-width: 900px; margin: 0 auto; flex: 1; padding: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 24px; }
.hero-sub__content .h1 { animation: heroFadeIn 0.8s ease-out both; }
.hero-sub__content .lead { color: rgba(255,255,255,0.72); font-size: 19px; max-width: 640px; animation: heroFadeIn 0.8s ease-out 0.15s both; }
.hero-sub__cta { display: flex; align-items: center; gap: 16px; margin-top: 12px; animation: heroFadeIn 0.8s ease-out 0.3s both; }

/* ===== Apie ===== */
.about { align-items: end; padding-top: 40px; padding-bottom: 0; }
.about__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 80px 0 100px 0; }
.about__portrait { position: relative; align-self: end; display: flex; justify-content: center; }
.about__blob { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 430px; height: 430px; background: var(--brand); border-radius: 46% 54% 52% 48% / 60% 58% 42% 40%; }
.about__photo { position: relative; display: block; width: 400px; max-width: 100%; z-index: 2; filter: drop-shadow(0 24px 40px rgba(16,40,80,0.3)); }
.float-badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 18px; box-shadow: 0 12px 32px rgba(16,40,80,0.14); }
.float-badge--l { top: 18%; left: -28px; }
.float-badge--r { bottom: 14%; right: -20px; }
.float-badge .ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(14,97,209,0.1); color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.float-badge .t1 { font-weight: 700; font-size: 15px; color: var(--ink); display: block; }
.float-badge .t2 { font-size: 13px; color: var(--muted); display: block; }

/* ===== Atsiliepimai ===== */
.testimonials { max-width: 1000px; margin: 0 auto; padding: 96px 48px 104px; display: flex; flex-direction: column; align-items: center; gap: 48px; }
.carousel { width: 100%; overflow: hidden; border-radius: 24px; }
.carousel__track { display: flex; transition: transform 0.55s cubic-bezier(0.25,0.8,0.25,1); }
.carousel__slide { flex: 0 0 100%; min-width: 100%; padding: 4px; }
.t-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 24px; padding: 44px 52px; display: flex; flex-direction: column; gap: 24px; min-height: 320px; }
.t-card .quote { color: var(--brand); font-size: 56px; line-height: 0.6; font-weight: 800; font-family: Georgia, serif; }
.t-card p { margin: 0; font-size: 17px; line-height: 1.7; color: #344054; white-space: pre-line; }
.t-card .who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.t-card .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.t-card .name { font-weight: 700; font-size: 16px; color: var(--ink); display: block; }
.t-card .role { font-size: 14px; color: var(--muted); display: block; }
.carousel__nav { display: flex; align-items: center; gap: 24px; }
.carousel__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #d0d9e8; background: #fff; color: var(--brand); font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
.carousel__arrow:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.carousel__dots { display: flex; align-items: center; gap: 10px; }
.carousel__dot { width: 10px; height: 10px; border-radius: 999px; border: none; padding: 0; cursor: pointer; background: #d0d9e8; transition: all 0.3s ease; }
.carousel__dot.active { width: 28px; background: var(--brand); }

/* ===== Projektai (scroll) ===== */
.projects { position: relative; width: 100%; height: 320vh; background: #eef2f8; }
.projects__sticky { position: sticky; top: 0; width: 100%; height: 100vh; overflow: hidden; perspective: 1200px; }
.projects__dots { position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(rgba(16,40,80,0.13) 1.5px, transparent 1.5px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 35%, transparent 78%); mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 35%, transparent 78%); }
.projects__blob { position: absolute; z-index: 0; border-radius: 50%; }
.projects__blob--a { top: -10%; left: -8%; width: 46vw; height: 46vw; background: rgba(14,97,209,0.16); filter: blur(90px); animation: blobFloatA 18s ease-in-out infinite; }
.projects__blob--b { bottom: -14%; right: -10%; width: 40vw; height: 40vw; background: rgba(14,97,209,0.13); filter: blur(90px); animation: blobFloatB 22s ease-in-out infinite; }
.projects__blob--c { top: 34%; left: 58%; width: 24vw; height: 24vw; background: rgba(96,165,250,0.14); filter: blur(70px); animation: blobFloatC 26s ease-in-out infinite; }
.projects__heading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; z-index: 1; pointer-events: none; }
.projects__heading h2 { margin: 0; color: var(--ink); font-size: 8.5vw; line-height: 0.95; font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; }
.projects__heading p { margin: 20px 0 0 0; color: var(--body); font-size: 18px; font-weight: 500; }
.p-card { position: absolute; top: 0; left: 0; width: 30vw; aspect-ratio: 16/9; z-index: 2; will-change: transform; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 48px rgba(16,40,80,0.18); border: 1px solid rgba(16,40,80,0.1); }
.p-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* ===== Logo scenos (WP/Woo/SEO) ===== */
.logo-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 440px; }
.logo-spin { will-change: transform, opacity; display: flex; align-items: center; justify-content: center; }
.logo-halo { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(14,97,209,0.14), rgba(14,97,209,0.03) 62%, transparent 75%); }
.logo-halo--purple { background: radial-gradient(circle at 50% 45%, rgba(127,84,179,0.16), rgba(127,84,179,0.04) 62%, transparent 75%); }
.seo-word { font-size: 110px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.seo-rocket { will-change: transform; width: 96px; height: 150px; position: relative; }

/* ===== Kortelės ===== */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px 36px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 16px 40px rgba(16,40,80,0.06); }
.info-card .ico { width: 52px; height: 52px; border-radius: 16px; background: rgba(14,97,209,0.1); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.info-card h3 { margin: 0; font-size: 26px; line-height: 1.25; font-weight: 800; color: var(--ink); }
.info-card p { margin: 0; font-size: 16px; line-height: 1.7; }

/* ===== Planai ===== */
.plan-toggle { display: flex; align-items: center; gap: 6px; margin-top: 8px; background: #fff; border: 1px solid #d0d9e8; border-radius: 999px; padding: 6px; }
.plan-toggle button { border: none; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 15px; padding: 12px 24px; border-radius: 999px; background: transparent; color: var(--body); transition: all 0.3s ease; }
.plan-toggle button.active { background: var(--brand); color: #fff; }
.plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px 30px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 16px 40px rgba(16,40,80,0.08); animation: heroFadeIn 0.5s ease-out both; }
.plan-card h3 { margin: 0; font-size: 22px; font-weight: 800; color: var(--ink); }
.plan-card .tagline { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan-card .price { font-size: 40px; font-weight: 800; color: var(--brand); letter-spacing: -0.02em; }
.plan-card .period { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan-card hr { border: none; height: 1px; background: var(--line); margin: 0; width: 100%; }
.plan-card .btn { margin-top: auto; }
.plan-card--dark { background: var(--dark); border-color: var(--dark); box-shadow: 0 16px 40px rgba(16,40,80,0.2); }
.plan-card--dark h3 { color: #fff; }
.plan-card--dark .tagline { color: #98a2b3; }
.plan-card--dark .price { color: var(--brand-light); }
.plan-card--dark hr { background: rgba(255,255,255,0.12); }
.plan-card--dark .check--sm .tick { background: rgba(125,180,245,0.15); color: var(--brand-light); }
.plan-card--dark .check--sm .txt { color: #d0d5dd; }
.plans-hidden { display: none !important; }

/* ===== Forma ===== */
.contact-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 24px; padding: 44px; box-shadow: 0 16px 40px rgba(16,40,80,0.08); }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field label { font-size: 14px; font-weight: 700; color: #344054; }
.form-field label .req { color: var(--brand); }
.form-field input, .form-field textarea { font-family: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #d0d9e8; border-radius: 12px; padding: 14px 16px; outline: none; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14,97,209,0.12); }
.form-field input.error { border-color: #d92d20; }
.form-error { margin: 0 0 14px 0; font-size: 14px; font-weight: 600; color: #d92d20; display: none; }
.form-success { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; min-height: 380px; }
.form-success .tick-big { width: 64px; height: 64px; border-radius: 50%; background: rgba(14,97,209,0.1); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; }
.contact-link { display: flex; align-items: center; gap: 14px; color: #344054; font-size: 17px; font-weight: 600; }
.contact-link:hover { color: var(--brand); }
.contact-link .ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; background: rgba(14,97,209,0.1); color: var(--brand); display: flex; align-items: center; justify-content: center; }

/* ===== DUK ===== */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-bottom: 14px; }
.faq-item button { width: 100%; border: none; background: transparent; cursor: pointer; font-family: inherit; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; }
.faq-item .q { font-size: 17px; font-weight: 700; color: var(--ink); }
.faq-item .plus { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: rgba(14,97,209,0.1); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; transition: transform 0.3s ease; }
.faq-item .a { margin: 0; padding: 0 24px 22px; font-size: 16px; line-height: 1.7; display: none; }
.faq-item.open .a { display: block; animation: heroFadeIn 0.25s ease-out both; }
.faq-item.open .plus { transform: rotate(45deg); }

/* ===== Footer ===== */
.site-footer { background: var(--dark); }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding-top: 72px; }
.site-footer__logo { width: 50%; display: block; filter: brightness(0) invert(1); }
.site-footer p { margin: 0; font-size: 15px; line-height: 1.65; color: #98a2b3; max-width: 320px; }
.site-footer .col-title { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.site-footer .col { display: flex; flex-direction: column; gap: 14px; }
.site-footer .col a { font-size: 15px; font-weight: 500; color: #d0d5dd; }
.site-footer .col a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 56px; padding-top: 28px; padding-bottom: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__bottom span { font-size: 14px; color: var(--muted); }

/* ===== Mobili versija ===== */
@media (max-width: 900px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .site-nav { width: 100%; }
  .site-nav__links, .site-nav__row > .site-nav__cta { display: none; }
  .burger { display: flex; }
  .h1, .hero-main__content h1 { font-size: 36px !important; }
  .h2 { font-size: 30px !important; }
  .split { grid-template-columns: 1fr !important; gap: 40px; }
  .plans-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 26px 20px; }
  .t-card { padding: 28px 22px; }
  .testimonials { padding: 64px 20px 72px; }
  .seo-word { font-size: 60px; }
  .float-badge--l { left: 0; }
  .float-badge--r { right: 0; }
  .logo-spin svg { width: 240px !important; height: auto !important; }
  .logo-halo { width: 300px; height: 300px; }
  .seo-rocket { width: 64px; height: 100px; }
  .projects__heading p { font-size: 15px; padding: 0 24px; }
  .hero-sub__cta { flex-direction: column; align-items: stretch; }
  .site-footer__grid { grid-template-columns: 1fr; }
}
