/* ==========================================================================
   Georgia Kids Fashion Week — styles
   ALL brand colours live in :root below (sampled from the logo PNG).
   ========================================================================== */
:root {
  /* --- brand palette (from logo: purple #A365C7, orange #FD8D48, black) --- */
  --purple:        #A365C7;   /* "KiDS" lavender-purple — primary */
  --purple-deep:   #7C45A3;   /* darker purple: text on light, hover */
  --purple-dark:   #3A1F52;   /* very deep purple: footer / dark sections */
  --purple-soft:   #E6D6F2;   /* soft tint: borders, chips */
  --lavender:      #F6EFFB;   /* very light lavender page background */
  --lavender-2:    #EDE0F7;   /* slightly stronger lavender */
  --orange:        #FD8D48;   /* sparkle — accent */
  --orange-deep:   #E9702A;   /* accent hover / text-on-light */
  --orange-soft:   #FFE6D5;   /* soft orange tint */
  --ink:           #0B0B0B;   /* logo black — headings */
  --text:          #3A3345;   /* body text */
  --muted:         #7A7086;
  --white:         #FFFFFF;
  --error:         #C0392B;
  --ok:            #1E8E5A;

  /* --- type --- */
  --font-display: 'Fredoka', 'Noto Sans Georgian', 'Nunito', system-ui, sans-serif;
  --font-body:    'Nunito', 'Noto Sans Georgian', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -20px rgba(124, 69, 163, .35);
  --maxw: 1120px;
}

/* --- self-hosted fonts --- */
@font-face { font-family: 'Fredoka'; src: url('../fonts/Fredoka.woff2') format('woff2'); font-weight: 300 700; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: 'Nunito';  src: url('../fonts/Nunito.woff2')  format('woff2'); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: 'Noto Sans Georgian'; src: url('../fonts/NotoSansGeorgian-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Noto Sans Georgian'; src: url('../fonts/NotoSansGeorgian-Medium.woff2') format('woff2'); font-weight: 500 600; font-display: swap; }
@font-face { font-family: 'Noto Sans Georgian'; src: url('../fonts/NotoSansGeorgian-Bold.woff2') format('woff2'); font-weight: 700 900; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  color: var(--text); background: var(--white); overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-deep); }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 6vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* decorative sparkle motif (the logo's four-point star) */
.sp { position: absolute; width: var(--s, 40px); aspect-ratio: 1; background: var(--c, var(--orange));
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  pointer-events: none; animation: twinkle 4.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes twinkle { 0%,100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.7) rotate(18deg); opacity: .75; } }
@media (prefers-reduced-motion: reduce) { .sp { animation: none; } html { scroll-behavior: auto; } }

/* --- header --- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--purple-soft); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--lavender); }
.nav .nav-cta { background: var(--purple); color: #fff; }
.nav .nav-cta:hover { background: var(--purple-deep); }
@media (max-width: 520px) { .nav a:not(.nav-cta) { display: none; } .brand span { font-size: .95rem; } }

/* --- buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1.05rem var(--font-display); text-decoration: none; border: 0; cursor: pointer;
  padding: 15px 30px; border-radius: 999px; background: var(--orange); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(253,141,72,.9); transition: transform .15s, background .15s; }
.btn:hover { background: var(--orange-deep); color: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-ghost { background: transparent; color: var(--purple-deep); box-shadow: inset 0 0 0 2px var(--purple); }
.btn-ghost:hover { background: var(--purple); color: #fff; }

/* --- hero --- */
.hero { position: relative; overflow: hidden; padding: 112px 0 84px; text-align: center;
  background: radial-gradient(900px 500px at 85% -10%, var(--lavender-2), transparent 60%), radial-gradient(700px 420px at 0% 100%, var(--orange-soft), transparent 60%), var(--lavender); }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; z-index: 0; }
.hero::before { width: 360px; height: 360px; background: var(--purple-soft); opacity: .6; left: -140px; top: 90px; }
.hero::after { width: 260px; height: 260px; background: var(--orange-soft); opacity: .8; right: -90px; bottom: -60px; }
.hero .wrap { position: relative; z-index: 1; }
.hero-logo { width: min(86vw, 520px); margin: 0 auto 8px; filter: drop-shadow(0 20px 30px rgba(124,69,163,.18)); }
.eyebrow { display: inline-block; font: 700 .85rem var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--purple-deep); background: var(--white); padding: 7px 16px; border-radius: 999px; box-shadow: 0 4px 14px -6px rgba(124,69,163,.4); }
.hero h1 { font-size: clamp(1.6rem, 5.5vw, 2.6rem); font-weight: 700; margin: 18px auto 14px; max-width: 18ch; }
.hero .lead { max-width: 560px; margin: 0 auto 26px; font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border-radius: 999px; padding: 9px 18px; font-weight: 700; color: var(--ink); box-shadow: 0 6px 18px -10px rgba(124,69,163,.5); }
.chip i { width: 10px; height: 10px; background: var(--orange); border-radius: 50%; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* placeholder token — visible, to be replaced with real facts */
.ph { display: inline-block; padding: 1px 10px; border-radius: 8px; border: 1.5px dashed var(--orange-deep); background: var(--orange-soft); color: var(--ink); font-weight: 700; }

/* --- marquee strip --- */
.strip { background: var(--purple); color: #fff; overflow: hidden; white-space: nowrap; padding: 15px 0; font: 700 1.05rem var(--font-display); letter-spacing: .06em; }
.strip-in { display: inline-flex; gap: 28px; animation: slide 28s linear infinite; padding-left: 28px; }
.strip-in span { display: inline-flex; align-items: center; gap: 28px; }
.strip-in b { display: inline-block; width: 16px; height: 16px; background: var(--orange); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-in { animation: none; } }

/* --- sections --- */
section { position: relative; }
.sec { padding: 84px 0; }
.kicker { font: 700 .9rem var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ''; width: 14px; height: 14px; background: var(--orange); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }

.about-grid { display: grid; gap: 34px; }
.about-copy p { font-size: 1.08rem; }
.facts { display: grid; gap: 14px; }
.fact { background: var(--lavender); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; border: 2px solid transparent; }
.fact:nth-child(2) { background: var(--orange-soft); }
.fact .ico { flex: none; width: 48px; height: 48px; border-radius: 16px; background: var(--white); display: grid; place-items: center; color: var(--purple-deep); box-shadow: 0 6px 14px -8px rgba(124,69,163,.6); }
.fact h3 { margin: 0 0 2px; font-size: 1.05rem; }
.fact p { margin: 0; color: var(--text); }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; } }

/* --- accreditation --- */
.acc { background: var(--purple); color: #fff; overflow: hidden; }
.acc h2, .acc .kicker { color: #fff; }
.acc .kicker::before { background: var(--orange); }
.acc-grid { display: grid; gap: 36px; position: relative; z-index: 1; }
.acc-intro p { font-size: 1.08rem; color: #F1E7F8; }
.roles { display: grid; gap: 10px; margin-top: 22px; }
.role { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.22); border-radius: var(--radius-sm); padding: 14px 18px; cursor: pointer; font: 700 1.1rem var(--font-display); transition: background .15s, transform .15s, border-color .15s; }
.role:hover { background: rgba(255,255,255,.2); transform: translateX(4px); }
.role.on { background: #fff; color: var(--purple-deep); border-color: #fff; }
.role .ico { width: 28px; height: 28px; flex: none; }
.role .ico svg, .fact .ico svg { width: 100%; height: 100%; }
.fact .ico svg { width: 26px; height: 26px; }
.form-card { background: #fff; color: var(--text); border-radius: 28px; padding: 28px 22px; box-shadow: 0 30px 60px -28px rgba(30, 10, 50, .7); }
.form-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.form-card .sub { color: var(--muted); margin-bottom: 20px; font-size: .98rem; }
.fld { margin-bottom: 16px; }
.fld label { display: block; font-weight: 800; color: var(--ink); font-size: .95rem; margin-bottom: 6px; }
.fld label small { font-weight: 600; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; font: 600 1rem var(--font-body); color: var(--ink); background: var(--lavender); border: 2px solid transparent; border-radius: 14px; padding: 14px 16px; transition: border-color .15s, background .15s; appearance: none; -webkit-appearance: none; }
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%237C45A3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.fld textarea { min-height: 110px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--purple); background: #fff; box-shadow: 0 0 0 4px rgba(163,101,199,.18); }
.fld.bad input, .fld.bad select, .fld.bad textarea { border-color: var(--error); background: #FFF5F3; }
.err { display: none; color: var(--error); font-weight: 700; font-size: .88rem; margin-top: 6px; }
.fld.bad .err { display: block; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; margin-top: 6px; padding: 17px; }
.note { margin-top: 12px; color: var(--muted); font-size: .85rem; text-align: center; }
.alert { border-radius: 14px; padding: 14px 16px; font-weight: 700; margin-bottom: 16px; display: none; }
.alert.show { display: block; }
.alert.ok { background: #E4F6EC; color: #14683F; }
.alert.no { background: #FDECEA; color: #912B20; }
@media (min-width: 900px) { .acc-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } .form-card { padding: 38px; } .acc { }
  .roles { grid-template-columns: 1fr; } }
.acc .sp { --c: var(--orange); }

/* --- footer --- */
footer { background: var(--purple-dark); color: #CDBBDC; padding: 44px 0 34px; font-size: .95rem; }
footer .wrap { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
footer .logo-card { background: #fff; border-radius: 22px; padding: 14px 22px; }
footer img { width: 150px; }
footer a { color: #fff; font-weight: 700; }
