:root {
  --brown: #76504f;
  --brown-deep: #6e4e4f;
  --brown-darkest: #3f2b2a;
  --cream: #f1e7d2;
  --cream-soft: #dac6b2;
  --peach: #d89a7e;
  --peach-light: #e4ab91;
  --peach-soft: #ce9e89;
  --sand: #f3e6bb;
  --sand-card: #fbf3d8;
  --ink: #463130;
  --green: #74af93;
  --green-ink: #1f3d2e;
  --apricot: #f4c8a2;
  --apricot-ink: #4a2f26;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--peach) rgba(63, 43, 42, 0.55);
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: rgba(63, 43, 42, 0.55);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--peach-light), var(--peach-soft));
  border-radius: 999px;
  border: 3px solid var(--brown-darkest);
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--peach), var(--peach-light));
  border-width: 2px;
}
::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  margin: 0;
  background: var(--brown);
  color: var(--cream);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input,
textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

::selection {
  background: var(--peach);
  color: var(--brown-darkest);
}

@media (hover: none) {
  body { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 80px);
}

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--peach);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-spring), height 0.25s var(--ease-spring),
    background 0.25s ease, border-color 0.25s ease;
  mix-blend-mode: difference;
}
.cursor.is-hover {
  width: 76px;
  height: 76px;
  background: rgba(228, 171, 145, 0.18);
  border-color: var(--peach-light);
}
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--peach-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--peach), var(--peach-light));
  z-index: 200;
  border-radius: 0 3px 3px 0;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(63, 43, 42, 0);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
  transition: background 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease,
    padding 0.4s ease;
}
.header.solid {
  background: rgba(63, 43, 42, 0.82);
  border-bottom-color: rgba(241, 231, 210, 0.12);
  backdrop-filter: blur(16px);
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  background: none;
  border: none;
  padding: 0;
  cursor: none;
}
.logo-text {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: var(--cream);
  letter-spacing: 0.01em;
  line-height: 1;
  display: inline-block;
}
.logo-dot {
  color: var(--peach-light);
}
.logo:hover .logo-text {
  animation: logo-wiggle 0.6s var(--ease-spring);
}
@keyframes logo-wiggle {
  0% { transform: rotate(0); }
  30% { transform: rotate(-5deg) scale(1.04); }
  60% { transform: rotate(4deg); }
  100% { transform: rotate(0); }
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 36px);
}
.nav-link {
  font-family: 'Fredoka', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--cream);
  background: none;
  border: none;
  opacity: 0.65;
  cursor: none;
  position: relative;
  padding: 4px 2px;
  transition: opacity 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--peach-light);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-soft);
}
.nav-link:hover,
.nav-link.active {
  opacity: 1;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

@media (max-width: 720px) {
  .nav-link:not(.btn) { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  border: none;
  border-radius: 999px;
  cursor: none;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease, color 0.3s ease,
    box-shadow 0.3s ease;
}
.btn-pill {
  background: var(--peach);
  color: var(--brown-darkest);
  font-size: 15px;
  padding: 10px 22px;
}
.btn-pill:hover { background: var(--peach-light); }
.btn-big {
  background: var(--peach);
  color: var(--brown-darkest);
  font-size: 17px;
  font-weight: 600;
  padding: 16px 36px;
  box-shadow: 0 10px 30px rgba(216, 154, 126, 0.28);
}
.btn-big:hover {
  background: var(--peach-light);
  box-shadow: 0 16px 40px rgba(228, 171, 145, 0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  font-size: 17px;
  padding: 16px 32px;
  border: 1.5px solid rgba(241, 231, 210, 0.35);
}
.btn-ghost:hover {
  border-color: var(--peach-light);
  background: rgba(241, 231, 210, 0.06);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 clamp(20px, 6vw, 80px);
}
.blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: url(#goo);
  pointer-events: none;
  opacity: 0.85;
}
.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.blob-1 {
  width: 46vmin; height: 46vmin;
  left: 18%; top: 22%;
  background: radial-gradient(circle at 30% 30%, var(--peach-light), var(--peach));
  animation: float-1 14s ease-in-out infinite;
}
.blob-2 {
  width: 38vmin; height: 38vmin;
  right: 16%; top: 30%;
  background: radial-gradient(circle at 40% 40%, var(--green), #5a917a);
  animation: float-2 18s ease-in-out infinite;
}
.blob-3 {
  width: 30vmin; height: 30vmin;
  left: 42%; bottom: 8%;
  background: radial-gradient(circle at 50% 50%, var(--apricot), var(--peach-soft));
  animation: float-3 16s ease-in-out infinite;
}
@keyframes float-1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(8vmin,-6vmin) scale(1.1); }
}
@keyframes float-2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-7vmin,5vmin) scale(0.92); }
}
@keyframes float-3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(5vmin,-8vmin) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}
.hero-kicker {
  font-family: 'Fredoka', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--peach-soft);
  margin-bottom: clamp(18px, 4vh, 38px);
}
.hero-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: clamp(84px, 21vw, 320px);
  line-height: 0.92;
  margin: 0;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.hero-title .letter {
  display: inline-block;
  transform: translateY(120%) rotate(8deg);
  opacity: 0;
}
.hero-title.in .letter {
  animation: letter-pop 0.9s var(--ease-spring) forwards;
}
@keyframes letter-pop {
  to { transform: translateY(0) rotate(0); opacity: 1; }
}
.hero-dot {
  color: var(--peach-light);
  display: inline-block;
}
.hero-title.in .hero-dot {
  animation: dot-bounce 1.2s 0.7s var(--ease-spring) both;
}
@keyframes dot-bounce {
  0% { transform: translateY(-60px) scale(0); opacity: 0; }
  60% { transform: translateY(8px) scale(1.2); opacity: 1; }
  100% { transform: translateY(0) scale(1); }
}
.hero-sub {
  font-size: clamp(17px, 2.3vw, 25px);
  color: var(--cream-soft);
  max-width: 600px;
  margin: clamp(24px, 4.5vh, 42px) auto 0;
  line-height: 1.5;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: clamp(28px, 5vh, 48px);
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: var(--cream-soft);
  font-family: 'Fredoka', sans-serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: none;
}
.scroll-hint-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--cream-soft), transparent);
  animation: hint-pulse 1.8s ease-in-out infinite;
}
@keyframes hint-pulse {
  0%,100% { transform: scaleY(0.6); opacity: 0.5; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ---------- Section heads ---------- */
.sec-head { max-width: 800px; margin-bottom: clamp(44px, 7vh, 80px); }
.sec-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-label {
  font-family: 'Fredoka', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--peach-soft);
  margin-bottom: 18px;
}
.sec-label-faq { color: var(--peach-soft); }
.sec-label-dark { color: var(--peach-soft); }
.sec-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ---------- BENEFITS ---------- */
.benefits {
  background: var(--brown);
  color: var(--cream);
  padding: clamp(90px, 14vh, 170px) 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(18px, 2.2vw, 30px);
}
/* 5 kártya: 3 fent, 2 (szélesebb) lent — kitölti a teljes szélességet */
.cards .card:nth-child(1),
.cards .card:nth-child(2),
.cards .card:nth-child(3) { grid-column: span 2; }
.cards .card:nth-child(4),
.cards .card:nth-child(5) { grid-column: span 3; }
.card {
  background: rgba(63, 43, 42, 0.42);
  border: 1px solid rgba(241, 231, 210, 0.14);
  border-radius: 22px;
  padding: clamp(26px, 3vw, 38px);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: none;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.4s ease, border-color 0.4s ease;
  will-change: transform;
}
.card:hover {
  box-shadow: 0 26px 50px rgba(20, 10, 9, 0.4);
  border-color: rgba(228, 171, 145, 0.4);
}
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  transform: translateZ(40px);
}
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--peach);
  color: var(--brown-darkest);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-spring), background 0.3s ease;
}
.card:hover .card-icon {
  transform: rotate(-8deg) scale(1.08);
  background: var(--peach-light);
}
.card-num {
  font-family: 'Fredoka', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: rgba(241, 231, 210, 0.28);
}
.card h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: clamp(21px, 2.3vw, 27px);
  margin: 0;
  color: var(--cream);
  transform: translateZ(28px);
}
.card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(241, 231, 210, 0.72);
  margin: 0;
  transform: translateZ(18px);
}

/* ---------- MESSAGE ---------- */
.message {
  background: var(--brown-deep);
  color: var(--cream);
  padding: clamp(90px, 13vh, 160px) 0;
  text-align: center;
}
.message-wrap { max-width: 1000px; }
.message-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 7vw, 100px);
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.015em;
}
.message-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotate(4deg);
  transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-spring);
}
.message-title.in .word { opacity: 1; transform: none; }
.message-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(241, 231, 210, 0.78);
  max-width: 560px;
  margin: 28px auto 0;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--brown);
  color: var(--cream);
  padding: clamp(90px, 14vh, 170px) 0;
}
.faq-wrap { max-width: 980px; }
.faq-list {
  border-top: 1px solid rgba(241, 231, 210, 0.16);
}
.faq-item {
  border-bottom: 1px solid rgba(241, 231, 210, 0.16);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 3vh, 28px) 4px;
  background: none;
  border: none;
  text-align: left;
  color: var(--cream);
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(19px, 2.3vw, 28px);
  font-weight: 500;
  cursor: none;
  transition: padding-left 0.35s var(--ease-soft), color 0.3s ease;
}
.faq-item:hover .faq-q { padding-left: 12px; color: var(--peach-light); }
.faq-ic {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(241, 231, 210, 0.12);
  transition: transform 0.45s var(--ease-spring), background 0.3s ease;
}
.faq-ic::before,
.faq-ic::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--peach-soft);
  transition: background 0.3s ease;
}
.faq-ic::before { transform: translate(-50%, -50%); }
.faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-ic {
  transform: rotate(135deg);
  background: var(--peach);
}
.faq-item.open .faq-ic::before,
.faq-item.open .faq-ic::after {
  background: var(--brown-darkest);
}
.faq-a {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-soft), opacity 0.4s ease;
}
.faq-a p {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
  color: rgba(241, 231, 210, 0.72);
  margin: 0 0 26px;
  max-width: 760px;
}

/* ---------- PORTFOLIO ---------- */
.portfolio {
  position: relative;
  background: var(--brown-deep);
  color: var(--cream);
  padding: clamp(72px, 12vh, 140px) 0 clamp(90px, 14vh, 160px);
  overflow: hidden;
}
.stage {
  position: relative;
  height: clamp(440px, 56vh, 560px);
  max-width: 1180px;
  margin: 0 auto;
  perspective: 1700px;
}
.track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.pcard {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(540px, 84vw);
  background: rgba(63, 43, 42, 0.5);
  border: 1px solid rgba(241, 231, 210, 0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(30, 15, 14, 0.34);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: transform 0.7s var(--ease-soft), opacity 0.6s ease, filter 0.6s ease;
  will-change: transform, opacity, filter;
  cursor: none;
}
.pcard.is-side { cursor: none; }

.pcard-thumb {
  position: relative;
  height: clamp(180px, 26vw, 236px);
  overflow: hidden;
  background: var(--brown-darkest);
}
.pcard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
/* Light sweep when a card becomes active */
.pcard.shine .pcard-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(115deg, transparent 32%, rgba(241, 231, 210, 0.4) 50%, transparent 68%);
  transform: translateX(-130%);
  animation: thumb-shine 1s ease both;
  pointer-events: none;
}
@keyframes thumb-shine {
  to { transform: translateX(130%); }
}
.pcard-body {
  padding: clamp(22px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pcard-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Fredoka', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--peach-soft);
}
.pcard-meta .count {
  margin-left: auto;
  color: rgba(241, 231, 210, 0.45);
}
.pcard-body h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.04;
  margin: 0;
}
.pcard-body p {
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.65;
  color: rgba(241, 231, 210, 0.74);
  margin: 0;
}
.pcard-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-family: 'Fredoka', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--peach-light);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.2s, transform 0.4s var(--ease-spring) 0.2s, gap 0.3s ease;
}
.pcard:not(.is-side) .pcard-cta { opacity: 1; transform: none; }
.pcard:not(.is-side):hover .pcard-cta { gap: 14px; color: var(--peach); }
.pcard-cta .cta-arrow { transition: transform 0.3s var(--ease-spring); }
.pcard:not(.is-side):hover .pcard-cta .cta-arrow { transform: translate(2px, -2px); }
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(241, 231, 210, 0.28);
  background: rgba(63, 43, 42, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--cream);
  font-family: 'Fredoka', sans-serif;
  font-size: 22px;
  cursor: none;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease, border-color 0.3s ease,
    opacity 0.3s ease;
}
.arrow:hover:not(:disabled) {
  background: rgba(241, 231, 210, 0.12);
  border-color: var(--peach-light);
  transform: translateY(-50%) scale(1.1);
}
.arrow:disabled { opacity: 0.25; }
.arrow-left { left: clamp(10px, 3vw, 48px); }
.arrow-right { right: clamp(10px, 3vw, 48px); }
.dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 34px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(241, 231, 210, 0.24);
  cursor: none;
  transition: width 0.4s var(--ease-spring), background 0.4s ease;
}
.dot.active { width: 30px; background: var(--peach); }

/* ---------- CONTACT ---------- */
.contact {
  background: var(--brown-darkest);
  color: var(--cream);
  padding: clamp(90px, 14vh, 170px) 0 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: clamp(48px, 7vw, 90px);
}
.contact-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  margin: 18px 0 24px;
  letter-spacing: -0.015em;
}
.contact-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  color: rgba(241, 231, 210, 0.72);
  max-width: 440px;
  margin: 0 0 40px;
}
.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.contact-line {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--cream);
  text-decoration: none;
  width: max-content;
  border-bottom: 1px solid rgba(241, 231, 210, 0.2);
  padding-bottom: 6px;
  cursor: none;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.contact-line:hover { border-color: var(--peach-light); color: var(--peach-light); }
.socials { display: flex; flex-wrap: wrap; gap: 20px; }
.social {
  font-family: 'Fredoka', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(241, 231, 210, 0.7);
  text-decoration: none;
  cursor: none;
  transition: color 0.3s ease;
}
.social:hover { color: var(--cream); }

/* Form */
.form { display: flex; flex-direction: column; gap: 30px; }
.field { position: relative; }
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(241, 231, 210, 0.25);
  color: var(--cream);
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  padding: 14px 2px 10px;
  outline: none;
  resize: vertical;
  transition: border-color 0.3s ease;
  cursor: none;
}
.field label {
  position: absolute;
  left: 2px;
  top: 14px;
  color: rgba(241, 231, 210, 0.5);
  font-family: 'Fredoka', sans-serif;
  font-size: 16px;
  pointer-events: none;
  transition: transform 0.3s var(--ease-soft), color 0.3s ease, font-size 0.3s ease;
}
.field input:focus,
.field textarea:focus { border-color: var(--peach-light); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-22px);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--peach-soft);
}
.thanks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 0;
  animation: pop-in 0.6s var(--ease-spring) both;
}
.thanks-emoji { font-size: 48px; }
.thanks h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 3vw, 38px);
  margin: 0;
}
.thanks p { color: rgba(241, 231, 210, 0.72); margin: 0; max-width: 360px; line-height: 1.6; }
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.92) translateY(16px); }
  to { opacity: 1; transform: none; }
}

.footer {
  max-width: 1200px;
  margin: clamp(64px, 9vh, 110px) auto 0;
  padding: 32px clamp(20px, 6vw, 80px) 40px;
  border-top: 1px solid rgba(241, 231, 210, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.footer-logo { font-size: 22px; }
.footer-meta { font-size: 13px; color: rgba(241, 231, 210, 0.55); }
.footer-note {
  font-family: 'Fredoka', sans-serif;
  font-size: 13px;
  font-style: italic;
  color: var(--peach-soft);
}

/* ---------- Reveal utility ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-spring);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .wrap { padding: 0 clamp(18px, 5vw, 48px); }
  .sec-head { margin-bottom: clamp(36px, 6vh, 60px); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards .card:nth-child(n) { grid-column: auto; }
}

@media (max-width: 768px) {
  .header { padding: 14px 18px; }
  .header.solid { padding: 10px 18px; }
  .logo-text { font-size: 24px; }

  .hero { padding: 0 22px; }
  .hero-sub { font-size: clamp(16px, 4.4vw, 21px); }
  .hero-cta { flex-direction: column; width: 100%; align-items: center; gap: 12px; }
  .hero-cta .btn { width: min(320px, 88vw); text-align: center; }

  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { min-height: 0; }

  .benefits, .faq { padding: clamp(72px, 11vh, 120px) 0; }
  .message { padding: clamp(72px, 11vh, 120px) 0; }

  .contact-grid { gap: 40px; }
  .footer { justify-content: center; text-align: center; gap: 10px; }
}

@media (max-width: 700px) {
  /* Portfolio: single card only on phones */
  .stage { height: auto; min-height: 460px; padding: 8px 0; }
  .pcard { width: min(440px, 84vw); }
  .arrow {
    width: 46px;
    height: 46px;
    font-size: 18px;
    background: rgba(63, 43, 42, 0.7);
  }
  .arrow-left { left: 4px; }
  .arrow-right { right: 4px; }
  .dots { margin-top: 26px; }
}

@media (max-width: 420px) {
  .nav { gap: 12px; }
  .btn-pill { padding: 9px 18px; font-size: 14px; }
  .pcard-body { padding: 20px; }
  .pcard-body p { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}
