/* =========================================================
   Skalund OÜ — Playful / Cartoonish Theme
   ========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

::selection {
  background: #ffd93d;
  color: #1a1a2e;
}

/* ===== Comic-style thick borders & shadows ===== */
.comic-border {
  border: 3px solid #1a1a2e;
}

.comic-shadow {
  box-shadow: 6px 6px 0 #1a1a2e;
}

.comic-shadow-sm {
  box-shadow: 4px 4px 0 #1a1a2e;
}

.comic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 3px solid #1a1a2e;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 5px 5px 0 #1a1a2e;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.comic-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 #1a1a2e;
}

.comic-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 #1a1a2e;
}

/* ===== Header ===== */
#site-header {
  background: transparent;
}

#site-header.scrolled {
  background: rgba(255, 248, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid #1a1a2e;
}

.nav-link {
  position: relative;
  font-weight: 700;
  color: #1a1a2e;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 4px;
  border-radius: 4px;
  background: #ff6b6b;
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-nav-link {
  display: block;
  padding: 0.7rem 0;
  font-weight: 700;
  border-bottom: 2px dashed rgba(26, 26, 46, 0.15);
  color: #1a1a2e;
}

/* ===== Decorative blobs & dots ===== */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  z-index: 0;
}

.dot-grid {
  background-image: radial-gradient(rgba(26, 26, 46, 0.15) 2px, transparent 2px);
  background-size: 22px 22px;
}

.squiggle-underline {
  position: relative;
  display: inline-block;
}

.squiggle-underline::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -6px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20'%3E%3Cpath d='M0 10 Q 15 0, 30 10 T 60 10 T 90 10 T 120 10 T 150 10 T 180 10 T 210 10' fill='none' stroke='%23FFD93D' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x;
  background-size: 100px 12px;
  z-index: -1;
}

/* ===== Section badge / tag ===== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 3px solid #1a1a2e;
  background: #fff;
  box-shadow: 3px 3px 0 #1a1a2e;
}

/* ===== Sticker rotate helpers ===== */
.sticker-rotate-1 { transform: rotate(-3deg); }
.sticker-rotate-2 { transform: rotate(2deg); }
.sticker-rotate-3 { transform: rotate(-1.5deg); }

/* ===== Value cards ===== */
.value-card {
  background: #ffffff;
  border: 3px solid #1a1a2e;
  border-radius: 1.75rem;
  padding: 1.75rem;
  box-shadow: 6px 6px 0 #1a1a2e;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translate(-3px, -5px) rotate(-1deg);
  box-shadow: 9px 9px 0 #1a1a2e;
}

.value-card .icon-badge {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  border: 3px solid #1a1a2e;
  color: #1a1a2e;
}

.value-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.value-card p {
  font-size: 0.92rem;
  color: rgba(26, 26, 46, 0.68);
  line-height: 1.55;
}

/* ===== Service cards ===== */
.service-card {
  background: #fff;
  border: 3px solid #1a1a2e;
  border-radius: 1.75rem;
  padding: 2rem;
  box-shadow: 7px 7px 0 #1a1a2e;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.service-card:hover {
  transform: translate(-4px, -6px);
  box-shadow: 11px 11px 0 #1a1a2e;
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1.1rem;
  border: 3px solid #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  color: #1a1a2e;
}

.service-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.92rem;
  color: rgba(26, 26, 46, 0.65);
  line-height: 1.55;
  min-height: 3.3rem;
}

.service-price {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 3px dashed rgba(26, 26, 46, 0.2);
  font-size: 0.88rem;
  color: rgba(26, 26, 46, 0.6);
  font-weight: 600;
}

.service-price span {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a2e;
}

.service-card-cta {
  background: repeating-linear-gradient(
    135deg,
    #fff4d6,
    #fff4d6 10px,
    #ffecb0 10px,
    #ffecb0 20px
  );
  border: 3px dashed #1a1a2e;
  display: flex;
  flex-direction: column;
}

/* ===== Sector cards ===== */
.sector-card {
  background: #fff;
  border: 3px solid #1a1a2e;
  border-radius: 1.75rem;
  padding: 1.75rem;
  box-shadow: 6px 6px 0 #1a1a2e;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sector-card:hover {
  transform: translate(-3px, -5px) rotate(1deg);
  box-shadow: 9px 9px 0 #1a1a2e;
}

.sector-card .icon-badge {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 3px solid #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
  color: #1a1a2e;
}

.sector-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.sector-card p {
  font-size: 0.9rem;
  color: rgba(26, 26, 46, 0.62);
  line-height: 1.5;
}

.flag-pill {
  background: #fff;
  border: 3px solid #1a1a2e;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-weight: 700;
  box-shadow: 3px 3px 0 #1a1a2e;
}

/* ===== Process ===== */
.process-step {
  background: #fff;
  border: 3px solid #1a1a2e;
  border-radius: 1.75rem;
  padding: 1.85rem;
  box-shadow: 6px 6px 0 #1a1a2e;
  position: relative;
}

.process-number {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 3px solid #1a1a2e;
  background: #ffd93d;
  color: #1a1a2e;
}

.process-step h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0.75rem 0 0.5rem;
}

.process-step p {
  font-size: 0.92rem;
  color: rgba(26, 26, 46, 0.68);
  line-height: 1.55;
}

/* ===== Form ===== */
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  border: 3px solid #1a1a2e;
  border-radius: 1rem;
  padding: 0.75rem 1.1rem;
  font-size: 0.95rem;
  background: #fff;
  font-weight: 500;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.form-input:focus {
  outline: none;
  box-shadow: 4px 4px 0 #1a1a2e;
  transform: translate(-2px, -2px);
}

/* ===== Footer links ===== */
.footer-link {
  color: rgba(255, 248, 236, 0.75);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffd93d;
}

/* ===== Animations ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-14px) rotate(var(--r, 0deg)); }
}

.float-anim {
  animation: float 5s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

.wiggle-anim {
  animation: wiggle 3s ease-in-out infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-slow {
  animation: spin-slow 12s linear infinite;
}

/* ===== Hero image frame ===== */
.hero-photo-frame {
  border: 4px solid #1a1a2e;
  border-radius: 2rem;
  box-shadow: 10px 10px 0 #1a1a2e;
  overflow: hidden;
  background: #fff;
}

/* ===== Legal pages ===== */
.legal-content h2 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  color: #1a1a2e;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: rgba(26, 26, 46, 0.72);
  line-height: 1.7;
  font-size: 0.98rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin: 0.75rem 0;
}

.legal-content a {
  color: #1a1a2e;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #ff6b6b;
}
