@import 'variables.css';

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1rem; }

/* ----- Header ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: transparent;
  transition: background var(--transition);
}
.site-header.scrolled { background: rgba(10, 10, 10, 0.95); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.header-nav-wrap { display: flex; align-items: center; gap: 2rem; }
.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.logo:hover .logo-stabel,
.logo:hover .logo-studio { opacity: 0.9; }
.logo-stabel { color: var(--text); }
.logo-studio { color: var(--accent); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition);
}
.nav-toggle:hover { border-color: var(--accent); background: var(--bg-soft); }
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  margin-inline: auto;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-main { display: flex; align-items: center; gap: 2rem; font-size: 0.9375rem; font-weight: 500; color: var(--text); }
.nav-main a:hover { color: var(--accent); }
.lang-switcher { display: flex; gap: 0.25rem; align-items: center; }
.lang-switcher button {
  padding: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-light);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.lang-switcher button:hover { color: var(--text); }
.lang-switcher button.active { color: var(--accent); border-color: var(--accent); }

@keyframes langHintPulse {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(248, 124, 33, 0.6);
    border-color: var(--accent);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(248, 124, 33, 0.15);
    border-color: var(--accent);
    transform: scale(1.05);
  }
}
.lang-switcher--hint button[data-lang="sk"] {
  animation: langHintPulse 1s ease-in-out 2;
  color: var(--accent);
}

/* ----- Animations (keyframes) ----- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes squiggleMove {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
}
@keyframes graphicFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-4px) rotate(0.5deg); }
  66% { transform: translateY(2px) rotate(-0.3deg); }
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes shapeFloatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}
@keyframes shapeFloatX {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(18px); }
}
@keyframes shapeRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes shapePulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}
@keyframes shapePulseDiamond {
  0%, 100% { opacity: 0.7; transform: rotate(45deg) scale(1); }
  50% { opacity: 1; transform: rotate(45deg) scale(1.15); }
}
@keyframes shapeDrift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(12px, -10px); }
  66% { transform: translate(-8px, 8px); }
}

.hero-title-script--float { animation: float 4s ease-in-out infinite; }
.squiggle--animate { animation: squiggleMove 3s ease-in-out infinite; }
.squiggle--hero-r.squiggle--animate { animation-delay: 0s; }
.squiggle--hero-l.squiggle--animate { animation-delay: 0.5s; }
.squiggle--graphics.squiggle--animate { animation-delay: 0.3s; }
.squiggle--about.squiggle--animate { animation-delay: 0.2s; }
.squiggle--thank.squiggle--animate { animation-delay: 0.4s; }
.pagination-dots--animate .dot--active { animation: dotPulse 2s ease-in-out infinite; }

/* ----- Squiggles ----- */
.squiggle {
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.9;
  pointer-events: none;
}
.squiggle::after {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 40px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.6;
}
.squiggle--hero-r { top: 50%; right: 5%; transform: rotate(-15deg); }
.squiggle--hero-l { bottom: 15%; left: 5%; transform: rotate(10deg); }
.squiggle--about { top: 20%; right: 8%; transform: rotate(5deg); }
.squiggle--skills { bottom: 10%; left: 8%; }
.squiggle--testimonials { top: 15%; right: 10%; transform: rotate(-10deg); }
.squiggle--thank { bottom: 20%; right: 8%; }
.squiggle--graphics { top: 20%; left: 5%; transform: rotate(-5deg); }

/* ----- Geometrické tvary: málo, ale výrazne sa hýbu ----- */
.shapes-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.shape-pos {
  position: absolute;
  pointer-events: none;
}
.shape-pos--r-20 { transform: rotate(-20deg); }
.shape-pos--r15 { transform: rotate(15deg); }
.shape-pos--r10 { transform: rotate(10deg); }
.shape {
  display: block;
  pointer-events: none;
  /* žiadny inline transform – animácia môže meniť transform */
}
.shape--line {
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.85;
}
.shape--line-lg { width: 70px; }
.shape--line-v { width: 3px; height: 50px; }
.shape--circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.9;
}
.shape--circle-lg { width: 20px; height: 20px; }
.shape--ring {
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.7;
}
/* Portrétový štýl: vlnky, bodkovaná mriežka, oblúk, čiarky, diamant */
.shape--wavy-lines {
  width: 24px;
  height: 56px;
  display: flex;
  gap: 4px;
  justify-content: center;
  opacity: 0.9;
}
.shape--wavy-line {
  width: 4px;
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  flex-shrink: 0;
  opacity: 0.9;
}
.shape--wavy-lines .shape--wavy-line:nth-child(1) { transform: scaleY(0.85); }
.shape--wavy-lines .shape--wavy-line:nth-child(2) { transform: scaleY(1); }
.shape--wavy-lines .shape--wavy-line:nth-child(3) { transform: scaleY(0.9); }
.shape--dotted-grid {
  width: 28px;
  height: 28px;
  background-image: radial-gradient(circle, var(--accent) 1.8px, transparent 1.8px);
  background-size: 8px 8px;
  background-position: 0 0;
  opacity: 0.9;
}
.shape--arc {
  width: 64px;
  height: 64px;
  border: 5px solid var(--accent);
  border-radius: 50%;
  border-color: transparent transparent var(--accent) var(--accent);
  opacity: 0.85;
}
.shape--arc-right {
  border-color: var(--accent) var(--accent) transparent transparent;
}
.shape--dashed-line {
  width: 70px;
  height: 0;
  border-top: 2px dashed var(--accent);
  opacity: 0.8;
}
.shape--diamond {
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent);
  background: transparent;
  transform: rotate(45deg);
  opacity: 0.9;
}
.shape--diamond.shape--pulse { animation: shapePulseDiamond 2.5s ease-in-out infinite; }
.shape--float-y { animation: shapeFloatY 3.2s ease-in-out infinite; }
.shape--float-x { animation: shapeFloatX 4s ease-in-out infinite; }
.shape--rotate { animation: shapeRotate 14s linear infinite; }
.shape--pulse { animation: shapePulse 2.5s ease-in-out infinite; }
.shape--drift { animation: shapeDrift 5s ease-in-out infinite; }
.shape--delay-1 { animation-delay: 0.4s; }
.shape--delay-2 { animation-delay: 0.9s; }
.shape--white { background: var(--text-light); border-color: var(--text-light); }
.shape--white.shape--line { background: var(--text-light); }

/* Pagination dots */
.pagination-dots { position: absolute; bottom: 2rem; left: 2rem; display: flex; gap: 0.5rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text-light); transition: background var(--transition); }
.dot--active { background: var(--accent); }

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 5rem 0 4rem;
  text-align: center;
}
.hero-inner { position: relative; z-index: 1; }
.hero-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-title {
  font-size: clamp(3rem, 12vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0 0 0.1em;
  line-height: 0.95;
  text-transform: uppercase;
}
.hero-title-script {
  display: block;
  font-family: var(--font-script);
  font-size: 0.35em;
  font-weight: 700;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
  margin-top: -0.05em;
}
.hero-tagline {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 38ch;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-outline { border: 2px solid var(--text); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-accent { background: var(--accent); color: var(--bg); border: none; }
.btn-accent:hover { background: #f0b020; color: var(--bg); }
.btn--large { padding: 0.875rem 1.75rem; font-size: 1rem; }

/* ----- Block titles (big + script) ----- */
.block-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.15em;
  line-height: 1.05;
  position: relative;
}
.block-title-script {
  display: block;
  font-family: var(--font-script);
  font-size: 0.45em;
  font-weight: 700;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
}
.block-title--center { text-align: center; }

/* ----- Section ----- */
.section { padding: 4rem 0; position: relative; }

/* ----- Svetlé sekcie: všetok text a bordúry musia byť tmavé (čitateľnosť) ----- */
.section--light {
  background:
    radial-gradient(circle at top left, rgba(248,124,33,0.08), transparent 50%),
    var(--light-bg);
  color: var(--light-text);
}
.section--light .block-title {
  color: var(--light-text);
}
.section--light .block-title-script {
  color: var(--accent);
}
.section--light p,
.section--light li {
  color: var(--light-text-muted);
  line-height: 1.65;
}
/* Skills v light sekcii – karty a text */
.section--light .skill-card {
  border-top-color: var(--light-border);
}
.section--light .skill-card p {
  color: var(--light-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}
.section--light .skill-title {
  color: #c2610a;
}
.section--light .skill-num {
  color: var(--accent);
}
/* Cenník v light sekcii – poznámka pod kartou */
.section--light .pricing-note {
  color: var(--light-text-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
}
/* Ak by v light sekcii boli ďalšie prvky */
.section--light .conclusion-text,
.section--light .thinking-text {
  color: var(--light-text-muted);
}
.section--light .thinking-list li::before {
  background: var(--accent);
}
/* MÔJ prístup (journey) na bielom – karty a pill */
.section--light.section--journey {
  border-top-color: var(--light-border);
  border-bottom-color: var(--light-border);
  background: radial-gradient(circle at top left, rgba(248,124,33,0.08), transparent 50%), var(--light-bg);
}
.section--light.section--journey .journey-lead { color: var(--light-text-muted); }
.section--light.section--journey .pill {
  border-color: var(--light-border);
  background: rgba(0,0,0,0.04);
  color: var(--light-text-soft);
}
.section--light.section--journey .journey-step {
  background: #fff;
  border-color: var(--light-border);
}
.section--light.section--journey .journey-step:hover { border-color: var(--accent); }
.section--light.section--journey .journey-step-title { color: var(--light-text); }
.section--light.section--journey .journey-step-text { color: var(--light-text-muted); }
/* Moji klienti na bielom */
.section--light.section--clients .client-logo--text { color: var(--accent); }
.section--light.section--clients .client-logo--text:hover { color: #1a1a1a; }

/* ----- About ----- */
.section--about { padding: 4rem 0; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.about-text { color: var(--text-muted); }
.about-text p { margin: 0 0 1rem; font-size: 1rem; line-height: 1.65; }
.about-highlight { color: var(--accent) !important; font-weight: 600; }
.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.about-image-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* ----- Journey (O mne doplnok) ----- */
.section--journey {
  padding: 4rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(248,124,33,0.06), transparent 65%);
}
.journey-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2.5rem;
  align-items: start;
}
.journey-lead {
  color: var(--text-muted);
  max-width: 54ch;
  margin: 1rem 0 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
}
.journey-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text-light);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.journey-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.journey-step {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1.1rem;
  transition: transform var(--transition), border-color var(--transition);
}
.journey-step:hover {
  transform: translateY(-4px);
  border-color: rgba(248,124,33,0.75);
}
.journey-step-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.journey-step-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.journey-step-text {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ----- Moje úspechy (karty s vectorovými ikonami) ----- */
.section--successes { padding: 4rem 0; }
.successes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.success-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.success-card:hover {
  transform: translateY(-4px);
  border-color: rgba(248,124,33,0.5);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.success-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--accent);
}
.success-card-icon svg {
  width: 100%;
  height: 100%;
}
.success-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.success-card-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.success-card-text strong { color: rgba(255,255,255,0.95); font-weight: 600; }
@media (min-width: 900px) {
  .successes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .successes-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ----- Thinking (Ako nad projektmi) ----- */
.section--thinking { padding: 4rem 0; }
.thinking-text { max-width: 52ch; color: var(--text-muted); }
.thinking-text p { margin: 0 0 1rem; font-size: 1rem; line-height: 1.65; }
.thinking-list {
  margin: 1rem 0 1.5rem;
  padding-left: 1.5rem;
}
.thinking-list li {
  position: relative;
  margin-bottom: 0.5rem;
  list-style: none;
  padding-left: 0;
}
.thinking-list li::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ----- Skills (numbered 01–04) ----- */
.section--skills { padding: 4rem 0; }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.skill-card {
  padding: 1.5rem 0 0;
  border-top: 2px solid var(--border);
}
.skill-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
.skill-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.skill-card p {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ----- Pricing ----- */
.section--pricing { padding: 4rem 0; }
.pricing-card {
  max-width: 480px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--bg-soft);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  text-align: center;
}
.pricing-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.pricing-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
}
.pricing-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}
.pricing-note {
  font-size: 0.9375rem;
  color: var(--text-light);
  text-align: center;
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.6;
}

/* ----- Recenzie (carousel – čitateľné, čistý dizajn, fade animácia) ----- */
.section--testimonials {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, #faf9f7 0%, #f0eeeb 100%);
  color: #1a1a1a;
}
.section--testimonials .block-title { color: #1a1a1a; }
.section--testimonials .block-title-script { color: var(--accent); }
.testimonials-intro {
  text-align: center;
  max-width: 36ch;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  color: #444;
  line-height: 1.65;
}
.testimonials-carousel {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.testimonials-track {
  position: relative;
  min-height: 280px;
}
.testimonial-slide {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.testimonial-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.testimonial-card {
  margin: 0;
  padding: 2.25rem 2rem 2rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  border-left: 4px solid var(--accent);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  text-align: left;
  display: flex;
  flex-direction: column;
}
.testimonial-icon {
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 0.25rem;
}
.testimonial-quote {
  font-size: 1.1875rem;
  color: #1a1a1a;
  line-height: 1.75;
  margin: 0 0 1.5rem;
  flex: 1;
  font-weight: 400;
}
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(248,124,33,0.25);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.testimonial-avatar--initials span { display: block; }
.testimonial-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  font-style: normal;
  margin-bottom: 0.2rem;
}
.testimonial-role {
  font-size: 0.875rem;
  color: #555;
}
.carousel-nav {
  position: absolute;
  top: 50%;
  left: -1rem;
  right: -1rem;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  justify-content: space-between;
}
@media (min-width: 900px) {
  .carousel-nav { left: -2.5rem; right: -2.5rem; }
}
.carousel-btn {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  color: #333;
  font-size: 1.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.carousel-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #fff;
  box-shadow: 0 6px 20px rgba(248,124,33,0.2);
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.15);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.carousel-dot:hover {
  background: rgba(0,0,0,0.3);
  transform: scale(1.1);
}
.carousel-dot--active {
  background: var(--accent);
  transform: scale(1.25);
}

/* ----- Contact / Záver ----- */
.section--contact { padding: 4rem 0; }
.conclusion-text { max-width: 56ch; margin: 0 auto 2rem; text-align: center; color: var(--text-muted); }
.conclusion-text p { margin: 0 0 1rem; font-size: 1rem; line-height: 1.65; }
.conclusion-cta { font-weight: 600; color: var(--text) !important; }
.contact-box { text-align: center; }
.contact-box .btn { margin-bottom: 0.75rem; }
.contact-hint { font-size: 0.9375rem; color: var(--text-muted); margin: 0; }

/* ----- Thank you ----- */
.section--thank {
  padding: 4rem 0;
  text-align: center;
  position: relative;
}
.thank-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.15em;
  line-height: 0.95;
}
.thank-title-script {
  display: block;
  font-family: var(--font-script);
  font-size: 0.4em;
  font-weight: 700;
  color: var(--accent);
  text-transform: none;
}
.section--thank .btn { margin-top: 1rem; }

/* ----- Modal (kontaktný formulár) ----- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}
.modal-content {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.modal-close:hover { color: var(--text); background: var(--border); }
.modal-title { font-size: 1.5rem; font-weight: 700; color: var(--accent); margin: 0 0 0.5rem; }
.modal-desc { font-size: 0.9375rem; color: var(--text-muted); margin: 0 0 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
.form-label input,
.form-label textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.form-label input:focus,
.form-label textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-label textarea { resize: vertical; min-height: 100px; }
.btn--block { width: 100%; }
.modal-note { font-size: 0.8125rem; color: var(--text-light); margin: 1rem 0 0; }
.contact-form-error { font-size: 0.875rem; color: #b91c1c; margin: 0.5rem 0 0; padding: 0.5rem 0; }

/* ----- Klienti ----- */
.section--clients { padding: 4rem 0; }
.section-intro.section-intro--center {
  text-align: center;
  max-width: 44ch;
  margin: 0 auto 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.clients-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 80px;
  padding: 1rem 1.5rem;
  background: #fff;
  border: 2px solid var(--light-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), color var(--transition);
}
.client-logo:hover { border-color: rgba(0,0,0,0.25); }
/* Textové logá – oranžové, pri hover čierne */
.client-logo--text {
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}
.client-logo--text:hover { color: #1a1a1a; border-color: rgba(0,0,0,0.25); }
.client-logo-label { display: block; }

/* ----- Projekty (karty s jemným gradientom sekcie) ----- */
.section--projects {
  padding: 4rem 0;
  background: linear-gradient(180deg, #0a0a0a 0%, rgba(20,18,16,0.97) 50%, #0a0a0a 100%);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.project-card:hover {
  border-color: rgba(248, 124, 33, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.project-card-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.35rem 0.65rem;
  background: rgba(10, 10, 10, 0.75);
  border-radius: 6px;
}
.project-card-image {
  position: relative;
  aspect-ratio: 5/3;
  overflow: hidden;
}
.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card-image img {
  transform: scale(1.06);
}
.project-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--border);
  transition: border-top-color var(--transition);
}
.project-card:hover .project-card-body {
  border-top-color: var(--accent);
}
.project-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.project-card-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 1rem;
  flex: 1;
}
.project-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: color var(--transition), transform var(--transition);
}
.project-card:hover .project-card-link {
  color: #ff9a4d;
}

/* ----- Vzorové weby (browser mockup, svetlý pás) ----- */
.section--samples {
  padding: 4rem 0;
  background: linear-gradient(180deg, #f5f3f0 0%, #ebe8e4 100%);
  color: #1a1a1a;
}
.section--samples .block-title { color: #1a1a1a; }
.section--samples .block-title-script { color: var(--accent); }
.samples-intro {
  text-align: center;
  max-width: 42ch;
  margin: 0 auto 0.5rem;
  font-size: 0.9375rem;
  color: #555;
  line-height: 1.6;
}
.samples-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}
.samples-grid--three {
  grid-template-columns: repeat(3, 1fr);
}
.samples-grid--four {
  grid-template-columns: repeat(4, 1fr);
}
.sample-card {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.sample-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12), 0 8px 16px rgba(248,124,33,0.15);
}
.sample-card-browser {
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  border-bottom: none;
}
.sample-card-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: #e8e6e3;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.sample-card-dots {
  display: flex;
  gap: 6px;
}
.sample-card-dots i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0ceca;
}
.sample-card-dots i:nth-child(1) { background: #ff5f57; }
.sample-card-dots i:nth-child(2) { background: #febc2e; }
.sample-card-dots i:nth-child(3) { background: #28c840; }
.sample-card-url {
  font-size: 0.75rem;
  color: #666;
  font-family: var(--font);
}
.sample-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.sample-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.sample-card:hover .sample-card-image img { transform: scale(1.04); }
.sample-card-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
}
.sample-card-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.1rem;
  color: #1a1a1a;
  background: #fff;
}
.sample-card-price {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0 1.1rem 0.85rem;
  color: var(--accent);
  background: #fff;
}

/* ----- Grafiky (bento grid, galéria) ----- */
.section--graphics {
  padding: 4rem 0;
  position: relative;
  background: linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 100%);
}
.graphics-intro {
  text-align: center;
  max-width: 40ch;
  margin: 0 auto 2rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.graphics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
  margin-top: 0;
}
.graphics-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.graphics-item--large {
  grid-column: span 2;
  grid-row: span 2;
}
.graphics-item--wide {
  grid-column: span 2;
}
.graphics-item:hover {
  border-color: rgba(248,124,33,0.6);
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.graphics-item-inner {
  overflow: hidden;
  border-radius: inherit;
  position: relative;
  height: 100%;
  min-height: 200px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.graphics-item-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
  transition: opacity var(--transition);
}
.graphics-item:hover .graphics-item-inner::after { opacity: 0.85; }
.graphics-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}
.graphics-item:hover img { transform: scale(1.05); }
.graphics-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  padding: 0.6rem 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75));
  z-index: 1;
}
.graphics-item--large .graphics-item-inner,
.graphics-item--wide .graphics-item-inner { min-height: 100%; }
.graphics-item--large img,
.graphics-item--wide img { object-fit: contain; }
/* Grafiky – tlačidlo (lightbox) */
button.graphics-item {
  cursor: pointer;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: 1px solid var(--border);
  text-align: left;
  width: 100%;
}

/* Lightbox – zväčšenie grafiky */
.graphics-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.graphics-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.graphics-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}
.graphics-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 48px;
  height: 48px;
  padding: 0;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}
.graphics-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.graphics-lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.graphics-lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ----- Projekt detail (podstránka) ----- */
.project-detail { padding: 6rem 0 4rem; }
.project-back {
  display: inline-block;
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}
.project-back:hover { color: var(--accent); }
.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}
.project-detail-content p { color: var(--text-muted); margin: 0 0 1rem; }
.project-detail-content .btn { margin-top: 1rem; }
.project-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.project-detail-image img { width: 100%; height: auto; display: block; }
.project-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.project-detail-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
@media (max-width: 768px) {
  .project-detail-grid { grid-template-columns: 1fr; }
  .project-detail-image { order: -1; }
  .project-detail-gallery { grid-template-columns: 1fr; }
}

/* ----- Vzorový web – detail stránka (galéria, úspechy) ----- */
.sample-web-page {
  letter-spacing: 0.025em;
}
.sample-web-page .project-back { margin-bottom: 1rem; }
.sample-web-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 1.5rem;
}
.sample-web-intro { color: var(--text-muted); line-height: 1.75; font-size: 1rem; }
.sample-web-intro p { margin: 0 0 0.75rem; }
.sample-web-gallery {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0a0a;
}
.sample-web-gallery-stage {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.sample-web-gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease;
}
.sample-web-gallery-stage img[hidden] { display: none; }
.sample-web-gallery-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.06);
  border-top: 1px solid var(--border);
}
.sample-web-gallery-nav button {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
}
.sample-web-gallery-nav button:hover { opacity: 0.9; transform: scale(1.02); }
.sample-web-gallery-nav button:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.sample-web-gallery-counter {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.sample-web-sections {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.sample-web-box {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.sample-web-box h3 {
  font-size: 1.0625rem;
  margin: 0 0 1rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.sample-web-box p { margin: 0; color: var(--text-muted); line-height: 1.75; font-size: 1rem; }
/* Zoznamy s odrážkami – prehľadné UI */
.sample-web-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sample-web-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.75rem;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
  letter-spacing: 0.02em;
  font-size: 0.9375rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sample-web-list li:last-child { border-bottom: none; }
.sample-web-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(248,124,33,0.25);
}
.sample-web-box--work .sample-web-list li::before { background: var(--accent); }
.sample-web-box--results .sample-web-list li::before { background: #28c840; box-shadow: 0 0 0 2px rgba(40,200,64,0.2); }
.sample-web-price {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text);
}
.sample-web-price--highlight {
  background: linear-gradient(135deg, rgba(248,124,33,0.12) 0%, rgba(248,124,33,0.06) 100%);
  border: 1px solid rgba(248,124,33,0.35);
  color: var(--text);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
}
.sample-web-price--highlight strong { color: var(--accent); }
.sample-web-price--highlight small {
  display: block;
  margin-top: 0.35rem;
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.sample-web-cta { margin-top: 2.5rem; text-align: center; }
.sample-web-cta .btn { display: inline-flex; align-items: center; gap: 0.5rem; }
.sample-web-cta-hint {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-light);
  letter-spacing: 0.03em;
  animation: cta-hint-pulse 2.5s ease-in-out infinite;
}
@keyframes cta-hint-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.sample-web-cta-hint.hidden { display: none; }
.sample-web-intro--block { margin-top: 1rem; margin-bottom: 2rem; }
/* Video v projekte – pomer 9:16 (vertikálne) */
.project-video-section { margin-top: 2.5rem; }
.project-video-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}
.project-video-ratio {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  margin-left: 0.35rem;
  vertical-align: middle;
}
.project-video-desc {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 50ch;
}
.project-video-wrap {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0a0a;
}
.project-video-wrap--9-16 {
  aspect-ratio: 9 / 16;
}
.project-video-wrap iframe,
.project-video-wrap .project-video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-video-wrap .project-video-player {
  display: block;
}
.project-video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
}
.project-video-fallback code {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--accent);
  word-break: break-all;
}
/* Tlačidlo „Prejsť na živý web“ – animácia pri kliknutí */
.btn-open-site {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-open-site:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(248,124,33,0.35); }
.btn-open-site .btn-open-site-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.btn-open-site:hover .btn-open-site-arrow { transform: translateX(4px); }
.btn-open-site.is-opening {
  animation: btn-open-site-pulse 0.5s ease forwards;
  pointer-events: none;
}
.btn-open-site.is-opening .btn-open-site-arrow {
  animation: btn-open-site-arrow-out 0.5s ease forwards;
}
@keyframes btn-open-site-pulse {
  0% { transform: scale(1); opacity: 1; }
  40% { transform: scale(1.08); opacity: 0.95; }
  70% { transform: scale(0.98); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes btn-open-site-arrow-out {
  0% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(8px); opacity: 0.6; }
  100% { transform: translateX(12px); opacity: 0; }
}
@media (max-width: 768px) {
  .sample-web-hero { grid-template-columns: 1fr; }
  .sample-web-gallery { order: -1; }
}

/* ----- Footer ----- */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-brand { max-width: 280px; }
.footer-logo { font-weight: 700; font-size: 1.125rem; color: var(--accent); display: block; margin-bottom: 0.5rem; }
.footer-company { font-size: 0.8125rem; color: var(--text-light); line-height: 1.6; margin: 0; }
.footer-address { font-style: italic; }
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
  max-width: 320px;
}
.footer-nav { display: flex; gap: 1.5rem; font-size: 0.9375rem; color: var(--text-muted); }
.footer-nav a:hover { color: var(--accent); }
.footer-contact {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.footer-contact-label { font-weight: 500; }
.footer-contact a {
  color: var(--accent);
  font-weight: 500;
}
.footer-contact a:hover { text-decoration: underline; }
.footer-copy { width: 100%; margin: 0; font-size: 0.8125rem; color: var(--text-light); text-align: center; order: 10; }

/* ----- Reveal ----- */
.reveal-pop {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-pop.revealed { opacity: 1; transform: translateY(0); }

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-image-wrap { max-width: 400px; margin-inline: auto; order: -1; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .container { padding-inline: 1.25rem; }
  .journey-inner { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .projects-grid,
  .samples-grid { grid-template-columns: repeat(2, 1fr); }
  .samples-grid--three { grid-template-columns: repeat(3, 1fr); }
  .samples-grid--four { grid-template-columns: repeat(2, 1fr); }
  .graphics-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }
  .graphics-item--large { grid-column: span 2; grid-row: span 2; }
  .graphics-item--wide { grid-column: span 2; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-main {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 100vw);
    height: 100vh;
    background: var(--bg-soft);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 5rem 1.5rem 2rem;
    font-size: 1rem;
    z-index: 99;
    transform: translateX(100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow-y: auto;
  }
  .nav-main.is-open { transform: translateX(0); box-shadow: -8px 0 24px rgba(0,0,0,0.3); }
  .nav-main a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .header-nav-wrap .lang-switcher { margin-left: 0; }
  .header-nav-wrap .lang-switcher button { min-height: 44px; min-width: 44px; padding: 0.5rem 0.75rem; }
  .hero-title { font-size: clamp(2.25rem, 10vw, 2.75rem); }
  .hero { padding: 5.5rem 0 3rem; min-height: 100svh; }
  .hero-tagline { font-size: 0.9375rem; padding-inline: 0.5rem; }
  .skills-grid { grid-template-columns: 1fr; }
  .projects-grid,
  .samples-grid,
  .samples-grid--three,
  .samples-grid--four { grid-template-columns: 1fr; }
  .graphics-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .graphics-item--large,
  .graphics-item--wide { grid-column: auto; grid-row: auto; }
  .journey-steps { grid-template-columns: 1fr; }
  .squiggle { display: none; }
  .shapes-wrap { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-brand { max-width: none; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
  .section { padding: 3rem 0; }
  .block-title { font-size: clamp(1.75rem, 5vw, 2.5rem); }
  .pricing-card { padding: 1.5rem; margin: 1.5rem auto; }
  .btn { min-height: 44px; padding: 0.75rem 1.25rem; }
  .modal-content { margin: 0.5rem; max-height: 85vh; padding: 1.5rem; }
  .clients-row { gap: 1rem; }
  .client-logo { min-width: 120px; height: 64px; padding: 0.75rem 1rem; font-size: 0.875rem; }
}
@media (max-width: 480px) {
  .container { padding-inline: 1rem; }
  .hero { padding-top: 5rem; padding-bottom: 2.5rem; }
  .section { padding: 2.5rem 0; }
  .hero-title-script--float { animation-duration: 5s; }
  .graphics-item { animation-duration: 6s; }
  .about-image-wrap img { aspect-ratio: 3/4; }
  .project-card-image { aspect-ratio: 5/3; }
  .sample-card-image { aspect-ratio: 16/10; }
  .pagination-dots { bottom: 1.25rem; left: 1rem; }
}
@media (max-width: 360px) {
  .hero-title { font-size: 2rem; }
  .block-title { font-size: 1.5rem; }
  .footer-nav { flex-direction: column; }
  .footer-company { font-size: 0.75rem; }
}
/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-title-script--float,
  .squiggle--animate,
  .pagination-dots--animate .dot--active,
  .graphics-item,
  .shape--float-y,
  .shape--float-x,
  .shape--rotate,
  .shape--pulse,
  .shape--diamond.shape--pulse,
  .shape--drift { animation: none !important; }
  .graphics-item:hover { transform: translateY(-4px); }
}
