/* ============================================================
   spot-registration.css  —  Fishing world theme
   Dramatic hero: night lake, reeds, fish, moonlight, fog
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
    --g-dark:   #052e16;
    --g-forest: #14532d;
    --g-mid:    #166534;
    --g-main:   #16a34a;
    --g-light:  #4ade80;
    --g-pale:   #dcfce7;
    --g-mist:   #f0fdf4;
    --w-deep:   #042f2e;
    --w-dark:   #134e4a;
    --w-mid:    #0f766e;
    --w-light:  #2dd4bf;
    --night1:   #0a1628;
    --night2:   #0f2a1a;
    --moon:     #fef9c3;
    --text-dark: #052e16;
    --text-body: #1c1917;
    --text-muted: #6b7280;
}

/* ── Keyframes ────────────────────────────────────────────── */
@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50%       { opacity: 1;   transform: scale(1.2); }
}

@keyframes moonGlow {
    0%, 100% { box-shadow: 0 0 30px 10px rgba(254,249,195,0.25), 0 0 80px 30px rgba(254,249,195,0.08); }
    50%       { box-shadow: 0 0 40px 16px rgba(254,249,195,0.35), 0 0 100px 40px rgba(254,249,195,0.12); }
}

@keyframes moonReflect {
    0%, 100% { transform: scaleX(1);    opacity: 0.18; }
    50%       { transform: scaleX(1.06); opacity: 0.28; }
}

@keyframes reedSway {
    0%   { transform: rotate(0deg);    transform-origin: 50% 100%; }
    20%  { transform: rotate(2.8deg);  transform-origin: 50% 100%; }
    60%  { transform: rotate(-2.2deg); transform-origin: 50% 100%; }
    100% { transform: rotate(0deg);    transform-origin: 50% 100%; }
}

@keyframes reedSway2 {
    0%   { transform: rotate(0deg);    transform-origin: 50% 100%; }
    35%  { transform: rotate(-3.5deg); transform-origin: 50% 100%; }
    70%  { transform: rotate(2deg);    transform-origin: 50% 100%; }
    100% { transform: rotate(0deg);    transform-origin: 50% 100%; }
}

@keyframes reedSway3 {
    0%   { transform: rotate(0deg);    transform-origin: 50% 100%; }
    40%  { transform: rotate(1.5deg);  transform-origin: 50% 100%; }
    80%  { transform: rotate(-2.8deg); transform-origin: 50% 100%; }
    100% { transform: rotate(0deg);    transform-origin: 50% 100%; }
}

@keyframes waterShimmer {
    0%   { transform: translateX(0) scaleX(1);      opacity: 0.12; }
    50%  { transform: translateX(8px) scaleX(1.03); opacity: 0.22; }
    100% { transform: translateX(0) scaleX(1);      opacity: 0.12; }
}

@keyframes waterShimmer2 {
    0%   { transform: translateX(0) scaleX(1);       opacity: 0.08; }
    50%  { transform: translateX(-10px) scaleX(1.04); opacity: 0.18; }
    100% { transform: translateX(0) scaleX(1);       opacity: 0.08; }
}

@keyframes bobberFloat {
    0%, 100% { transform: translateY(0); }
    30%       { transform: translateY(-5px); }
    60%       { transform: translateY(3px); }
}

@keyframes bobberPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.6); }
    50%       { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}

@keyframes fishJump {
    0%   { transform: translateY(0) rotate(0deg);   opacity: 0; }
    8%   { opacity: 1; }
    35%  { transform: translateY(-65px) rotate(-40deg); opacity: 1; }
    65%  { transform: translateY(-65px) rotate(-40deg); opacity: 1; }
    92%  { opacity: 1; }
    100% { transform: translateY(0) rotate(0deg);   opacity: 0; }
}

@keyframes fishSplash {
    0%, 78%, 100% { transform: scale(0); opacity: 0; }
    83%            { transform: scale(1);   opacity: 0.7; }
    96%            { transform: scale(1.6); opacity: 0; }
}

@keyframes fogDrift {
    0%   { transform: translateX(-20px); opacity: 0; }
    20%  { opacity: 0.15; }
    80%  { opacity: 0.1; }
    100% { transform: translateX(60px);  opacity: 0; }
}

@keyframes fogDrift2 {
    0%   { transform: translateX(30px);  opacity: 0; }
    25%  { opacity: 0.12; }
    75%  { opacity: 0.08; }
    100% { transform: translateX(-50px); opacity: 0; }
}

@keyframes firefly {
    0%, 100% { opacity: 0;    transform: translate(0, 0) scale(1); }
    20%       { opacity: 0.9; }
    50%       { opacity: 0.4; transform: translate(14px, -18px) scale(0.8); }
    80%       { opacity: 0.8; }
}

@keyframes rippleBtn {
    0%   { transform: scale(0.8); opacity: 0.7; }
    100% { transform: scale(2.8); opacity: 0; }
}

@keyframes cardReveal {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmerSlide {
    0%   { left: -100%; }
    100% { left: 150%; }
}

/* ── Page wrapper ─────────────────────────────────────────── */
.reg-page {
    min-height: 100%;
    background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 55%, #d1fae5 100%) no-repeat;
    background-size: 100% 100%;
    background-color: #d1fae5;
}

/* ════════════════════════════════════════════════════════════
   HERO  —  Night lake scene
   ════════════════════════════════════════════════════════════ */
.reg-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg,
        #04080f 0%,
        #071520 18%,
        #071e14 38%,
        #082a18 58%,
        #0b3620 76%,
        #0e4a28 90%,
        #104f2c 100%
    );
    color: #fff;
    padding: 5.5rem 1rem 7.5rem;
    text-align: center;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Stars ────────────────────────────────────────────────── */
.reg-hero__star {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    animation: twinkle var(--dur, 2s) ease-in-out infinite var(--delay, 0s);
}

/* ── Moon ─────────────────────────────────────────────────── */
.reg-hero__moon {
    position: absolute;
    top: 8%; right: 10%;
    width: 72px; height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 38%, #fef9c3, #fde68a 55%, #fbbf24 100%);
    animation: moonGlow 5s ease-in-out infinite;
    z-index: 2;
}

.reg-hero__moon::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254,249,195,0.18) 40%, transparent 70%);
    animation: moonGlow 5s ease-in-out infinite;
}

/* Moon water reflection */
.reg-hero__moon-reflect {
    position: absolute;
    bottom: 28%;
    right: 10%;
    width: 28px;
    background: linear-gradient(180deg, rgba(253,230,138,0.5) 0%, transparent 100%);
    height: 90px;
    filter: blur(8px);
    border-radius: 50%;
    animation: moonReflect 5s ease-in-out infinite;
    z-index: 3;
}

/* ── Fireflies ────────────────────────────────────────────── */
.reg-hero__firefly {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: #d9f99d;
    box-shadow: 0 0 6px 3px rgba(163,230,53,0.9);
    animation: firefly var(--dur, 4s) ease-in-out infinite var(--delay, 0s);
    z-index: 4;
}

/* ── Fog layers ───────────────────────────────────────────── */
.reg-hero__fog {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.055);
    filter: blur(22px);
}
.reg-hero__fog--1 { width:420px; height:55px; bottom:36%; left:2%;  animation: fogDrift  14s ease-in-out infinite; }
.reg-hero__fog--2 { width:300px; height:45px; bottom:40%; right:5%; animation: fogDrift2 18s ease-in-out infinite 3s; }
.reg-hero__fog--3 { width:560px; height:35px; bottom:32%; left:18%; animation: fogDrift  24s ease-in-out infinite 7s; opacity:0.55; }

/* ── Tree silhouettes ─────────────────────────────────────── */
.reg-hero__treeline {
    position: absolute;
    bottom: 34%; left: 0; right: 0;
    z-index: 1;
    pointer-events: none;
}
.reg-hero__treeline svg { width: 100%; display: block; }

/* ── Water surface ────────────────────────────────────────── */
.reg-hero__water {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 38%;
    background: linear-gradient(180deg,
        rgba(4,12,8,0) 0%,
        rgba(2,18,10,0.5) 25%,
        rgba(1,14,8,0.78) 100%
    );
    z-index: 2;
}

.reg-hero__wave {
    position: absolute;
    left: 0; right: 0;
    pointer-events: none;
}
.reg-hero__wave--1 { bottom: 72%; animation: waterShimmer  4.4s ease-in-out infinite; }
.reg-hero__wave--2 { bottom: 60%; animation: waterShimmer2 5.8s ease-in-out infinite 1.1s; }
.reg-hero__wave--3 { bottom: 48%; animation: waterShimmer  3.8s ease-in-out infinite 2.3s; }
.reg-hero__wave--4 { bottom: 36%; animation: waterShimmer2 6.6s ease-in-out infinite 0.6s; }
.reg-hero__wave svg { width: 100%; display: block; }

/* ── Lily pads ────────────────────────────────────────────── */
.reg-hero__lily { position: absolute; pointer-events: none; z-index: 3; }

/* ── Fishing rod + line ───────────────────────────────────── */
.reg-hero__rod {
    position: absolute;
    bottom: 32%; left: 10%;
    z-index: 5;
    pointer-events: none;
}

/* ── Bobber ───────────────────────────────────────────────── */
.reg-hero__bobber {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    animation: bobberFloat 2.8s ease-in-out infinite;
}

.reg-hero__bobber-top {
    width: 12px; height: 6px;
    background: #fff;
    border-radius: 6px 6px 0 0;
    margin: 0 auto;
}

.reg-hero__bobber-bottom {
    width: 12px; height: 8px;
    background: #ef4444;
    border-radius: 0 0 6px 6px;
    animation: bobberPulse 2.8s ease-in-out infinite;
}

/* ── Jumping fish ─────────────────────────────────────────── */
.reg-hero__fish {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    animation: fishJump 7s ease-in-out infinite 2.5s;
}

.reg-hero__fish-splash {
    position: absolute;
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(180,255,220,0.7);
    transform: scale(0);
    animation: fishSplash 7s ease-in-out infinite 2.5s;
}

/* ── Reed clusters ────────────────────────────────────────── */
.reg-hero__reeds {
    position: absolute;
    bottom: 0;
    pointer-events: none;
    z-index: 6;
}
.reg-hero__reeds--left  { left: 0; }
.reg-hero__reeds--right { right: 0; transform: scaleX(-1); }

.reed-a { animation: reedSway  3.9s ease-in-out infinite; }
.reed-b { animation: reedSway2 4.7s ease-in-out infinite 0.7s; }
.reed-c { animation: reedSway3 5.3s ease-in-out infinite 1.2s; }
.reed-d { animation: reedSway  4.2s ease-in-out infinite 0.4s; }
.reed-e { animation: reedSway2 3.6s ease-in-out infinite 1.9s; }
.reed-f { animation: reedSway3 6.1s ease-in-out infinite 1.0s; }
.reed-g { animation: reedSway  5.5s ease-in-out infinite 2.1s; }

/* ── Shore transition ─────────────────────────────────────── */
.reg-hero__bottom-fade {
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    z-index: 8;
    pointer-events: none;
}
.reg-hero__bottom-fade svg { width: 100%; display: block; }

/* ── Hero content ─────────────────────────────────────────── */
.reg-hero__content {
    position: relative;
    z-index: 10;
    max-width: 640px;
    padding: 0 1rem;
}

.reg-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(74,222,128,0.1);
    border: 1px solid rgba(74,222,128,0.35);
    color: #86efac;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.32rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.4rem;
    backdrop-filter: blur(4px);
}

.reg-hero__eyebrow-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px 2px rgba(74,222,128,0.8);
    animation: twinkle 1.4s ease-in-out infinite;
}

.reg-hero__title {
    font-size: clamp(2.1rem, 5.5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.08;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.reg-hero__title-main {
    display: block;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}

.reg-hero__title-accent {
    display: block;
    color: #4ade80;
    text-shadow:
        0 0 30px rgba(74,222,128,0.5),
        0 0 60px rgba(74,222,128,0.2),
        0 2px 20px rgba(0,0,0,0.5);
}

.reg-hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    max-width: 500px;
    margin: 0 auto 1.75rem;
    line-height: 1.7;
}

.reg-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.reg-hero__badge {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(74,222,128,0.28);
    color: rgba(255,255,255,0.88);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.reg-hero__scroll {
    display: inline-flex; flex-direction: column; align-items: center; gap: 0.4rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
    animation: bobberFloat 2.2s ease-in-out infinite;
    text-decoration: none;
}

/* ════════════════════════════════════════════════════════════
   FORM AREA
   ════════════════════════════════════════════════════════════ */
.reg-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 5rem;
}

/* ── Progress steps ───────────────────────────────────────── */
.reg-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    row-gap: 0.75rem;
}

.reg-step {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.78rem; font-weight: 600; color: #94a3b8;
}

.reg-step__dot {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #94a3b8;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.reg-step--active .reg-step__dot {
    background: var(--g-main);
    color: #fff;
    border-color: #86efac;
    box-shadow: 0 0 0 4px rgba(22,163,74,0.2), 0 0 14px rgba(74,222,128,0.35);
}
.reg-step--active { color: var(--g-mid); }
.reg-step--done .reg-step__dot { background: var(--w-mid); color: #fff; }

.reg-step__line {
    flex-shrink: 0; width: 44px; height: 2px;
    background: linear-gradient(90deg, #bbf7d0, #99f6e4);
    margin: 0 0.2rem; border-radius: 2px;
}

/* ── Form cards ───────────────────────────────────────────── */
.reg-card {
    background: #fff;
    border-radius: 1.5rem;
    border: 1.5px solid #d1fae5;
    box-shadow:
        0 2px 0 #bbf7d0,
        0 8px 32px rgba(22,163,74,0.07),
        0 1px 4px rgba(0,0,0,0.04);
    padding: 2rem 2rem 2rem 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    animation: cardReveal 0.45s ease both;
}

.reg-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0; width: 5px;
    background: linear-gradient(180deg, #16a34a 0%, #0f766e 100%);
    border-radius: 5px 0 0 5px;
}

.reg-card__title {
    font-size: 1.05rem; font-weight: 800;
    color: var(--g-forest);
    margin: 0 0 1.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid #d1fae5;
    display: flex; align-items: center; gap: 0.65rem;
}

.reg-card__title-icon {
    width: 36px; height: 36px;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, #dcfce7, #ccfbf1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(22,163,74,0.15);
}

/* ── Form fields ──────────────────────────────────────────── */
.form-row {
    display: grid; grid-template-columns: 1fr;
    gap: 1rem; margin-bottom: 1rem;
}
@media (min-width: 600px) {
    .form-row--2 { grid-template-columns: 1fr 1fr; }
    .form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
}

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-label {
    font-size: 0.82rem; font-weight: 700;
    color: var(--g-forest);
}

.badge-optional {
    font-weight: 400; color: #94a3b8;
    font-size: 0.73rem; margin-left: 0.2rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 1.5px solid #d1fae5;
    border-radius: 0.7rem;
    font-size: 0.9rem; color: var(--text-body);
    background: #f9fffe;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none; font-family: inherit;
}
.form-input:hover, .form-select:hover, .form-textarea:hover {
    border-color: #86efac; background: #fff;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--g-main); background: #fff;
    box-shadow: 0 0 0 3px rgba(22,163,74,0.14), 0 2px 8px rgba(22,163,74,0.07);
}
.form-input.is-invalid, .form-select.is-invalid, .form-textarea.is-invalid { border-color: #ef4444; }
.form-error { font-size: 0.78rem; color: #ef4444; margin-top: 0.15rem; }
.form-hint  { font-size: 0.75rem; color: #94a3b8; margin-top: 0.2rem; }
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.65; }

/* ── Input with unit suffix ───────────────────────────────── */
.input-with-unit { display: flex; align-items: stretch; }
.input-with-unit .form-input {
    flex: 1;
    border-radius: 0.7rem 0 0 0.7rem;
    border-right: none;
}
.input-with-unit .form-input:focus { z-index: 1; }
.input-unit {
    display: flex; align-items: center;
    padding: 0 0.85rem;
    background: #f0fdf4;
    border: 1.5px solid #d1fae5;
    border-left: none;
    border-radius: 0 0.7rem 0.7rem 0;
    font-size: 0.82rem; font-weight: 700;
    color: #64748b; white-space: nowrap;
}

/* ── Checkboxes ───────────────────────────────────────────── */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 0.5rem;
}

.checkbox-item {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.52rem 0.8rem;
    border: 1.5px solid #d1fae5;
    border-radius: 0.7rem;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, transform 0.15s;
    font-size: 0.84rem; color: #374151;
    user-select: none; background: #f9fffe;
}
.checkbox-item:hover {
    border-color: var(--g-main); background: var(--g-mist); transform: translateY(-1px);
}
.checkbox-item input[type="checkbox"] { accent-color: var(--g-main); width: 16px; height: 16px; flex-shrink: 0; }
.checkbox-item input[type="checkbox"]:checked + span { color: var(--g-mid); font-weight: 700; }

/* ── Tariff rows ──────────────────────────────────────────── */
.tariff-list { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 0.75rem; }

.tariff-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto auto;
    gap: 0.5rem; align-items: center;
    background: var(--g-mist);
    border: 1px solid #d1fae5;
    border-radius: 0.7rem;
    padding: 0.5rem 0.6rem;
}
.tariff-row .form-input { background: #fff; }
.tariff-row__check { display: flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; color: #64748b; white-space: nowrap; }
.tariff-row__check input { accent-color: var(--g-main); }
.tariff-row__details { grid-column: 1 / 3; }

.btn-remove-tariff {
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border: none; background: #fef2f2; color: #ef4444;
    border-radius: 0.5rem; cursor: pointer; font-size: 0.9rem;
    transition: background 0.2s; flex-shrink: 0;
}
.btn-remove-tariff:hover { background: #fee2e2; }

/* ── File upload ──────────────────────────────────────────── */
.file-upload {
    border: 2px dashed #86efac;
    border-radius: 1rem;
    padding: 2.25rem 1.5rem;
    text-align: center; cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    position: relative;
    background: linear-gradient(135deg, var(--g-mist), #f0fdfa);
}
.file-upload:hover { border-color: var(--g-main); background: #dcfce7; transform: translateY(-2px); }
.file-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.file-upload__icon { font-size: 2.5rem; display: block; margin-bottom: 0.6rem; }
.file-upload__label { font-size: 0.9rem; color: var(--g-mid); font-weight: 700; }
.file-upload__hint  { font-size: 0.75rem; color: #94a3b8; margin-top: 0.3rem; }
.file-upload__preview { margin-top: 0.75rem; font-size: 0.82rem; color: var(--g-main); font-weight: 700; display: inline-block; background: rgba(22,163,74,0.08); border-radius: 0.4rem; padding: 0.3rem 0.65rem; }

/* ── Gallery upload ───────────────────────────────────────── */
.gallery-upload { }
.gallery-upload__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; z-index: 2; }
.gallery-upload__trigger {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border: 2px dashed #86efac; border-radius: 1rem;
    padding: 2.25rem 1.5rem; text-align: center; cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    background: linear-gradient(135deg, var(--g-mist), #f0fdfa);
}
.gallery-upload__trigger:hover { border-color: var(--g-main); background: #dcfce7; transform: translateY(-2px); }
.gallery-upload__icon { font-size: 2.5rem; display: block; margin-bottom: 0.6rem; }
.gallery-upload__label { font-size: 0.9rem; color: var(--g-mid); font-weight: 700; }
.gallery-upload__hint { font-size: 0.75rem; color: #94a3b8; margin-top: 0.3rem; }

.gallery-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 0.5rem; margin-top: 0.75rem; }
.gallery-preview__card { position: relative; }
.gallery-preview__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0.6rem; border: 2px solid #d1fae5; display: block; }
.gallery-preview__remove {
    position: absolute; top: 4px; right: 4px;
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(239,68,68,0.9); color: #fff;
    border: none; cursor: pointer; font-size: 0.75rem;
    display: flex; align-items: center; justify-content: center;
    line-height: 1; transition: background 0.2s;
}
.gallery-preview__remove:hover { background: #dc2626; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    background: linear-gradient(135deg, #15803d, #16a34a 50%, #22c55e);
    color: #fff; font-weight: 800; font-size: 1.05rem;
    padding: 0.95rem 2.5rem;
    border: none; border-radius: 0.85rem;
    cursor: pointer; font-family: inherit; text-decoration: none;
    box-shadow: 0 4px 0 #14532d, 0 6px 22px rgba(22,163,74,0.4);
    transition: transform 0.15s, box-shadow 0.15s;
    letter-spacing: -0.01em;
}
.btn-primary::before {
    content: '';
    position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: skewX(-20deg);
    animation: shimmerSlide 3s ease-in-out infinite 1s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #14532d, 0 12px 32px rgba(22,163,74,0.5); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 #14532d, 0 4px 10px rgba(22,163,74,0.3); }

.btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    background: var(--g-mist); color: var(--g-mid);
    font-weight: 600; font-size: 0.9rem;
    padding: 0.65rem 1.35rem;
    border: 1.5px solid #86efac; border-radius: 0.7rem;
    cursor: pointer; transition: background 0.2s, border-color 0.2s; font-family: inherit;
}
.btn-secondary:hover { background: #dcfce7; border-color: var(--g-main); }

.btn-add-tariff {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.83rem; font-weight: 700; color: var(--g-mid);
    background: var(--g-mist); border: 1.5px dashed #86efac;
    border-radius: 0.6rem; padding: 0.5rem 1.1rem;
    cursor: pointer; font-family: inherit;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-add-tariff:hover { background: #dcfce7; border-color: var(--g-main); transform: translateY(-1px); }

/* ── Alert ────────────────────────────────────────────────── */
.reg-alert { border-radius: 0.85rem; padding: 1rem 1.2rem; font-size: 0.88rem; margin-bottom: 1.5rem; }
.reg-alert--error { background: #fef2f2; border: 1.5px solid #fecaca; color: #b91c1c; }

/* ── Submit block ─────────────────────────────────────────── */
.reg-submit {
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
    margin-top: 2rem; text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #f0fdf4, #f0fdfa);
    border-radius: 1.5rem;
    border: 1.5px solid #d1fae5;
    box-shadow: 0 2px 0 #bbf7d0;
    position: relative;
    overflow: hidden;
}

.reg-submit::before {
    content: '🎣';
    position: absolute; right: 2rem; bottom: 1rem;
    font-size: 5rem; opacity: 0.04;
    transform: rotate(20deg);
    pointer-events: none;
}

.reg-submit__ripple {
    position: relative; display: inline-block;
}
.reg-submit__ripple::after {
    content: '';
    position: absolute; inset: -8px;
    border-radius: 1.1rem;
    border: 2px solid rgba(22,163,74,0.4);
    animation: rippleBtn 2.2s ease-out infinite 1.2s;
    pointer-events: none;
}

.reg-submit__note { font-size: 0.78rem; color: #94a3b8; line-height: 1.65; }

/* ════════════════════════════════════════════════════════════
   SUCCESS PAGE
   ════════════════════════════════════════════════════════════ */
.success-page {
    min-height: 80vh;
    display: flex; align-items: center; justify-content: center;
    padding: 3rem 1.5rem;
    background: linear-gradient(180deg, #04080f 0%, #071520 40%, #082616 100%);
    position: relative; overflow: hidden;
}

.success-page__star {
    position: absolute; border-radius: 50%; background: #fff;
    animation: twinkle var(--dur, 2s) ease-in-out infinite var(--delay, 0s);
}

.success-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);
    border-radius: 1.75rem;
    border: 1.5px solid rgba(74,222,128,0.2);
    box-shadow: 0 16px 60px rgba(0,0,0,0.45), 0 0 80px rgba(22,163,74,0.08);
    padding: 3.5rem 2.5rem;
    text-align: center; max-width: 540px; width: 100%;
    position: relative; z-index: 2;
}

.success-card__icon { font-size: 4.5rem; display: block; margin-bottom: 1.25rem; }

.success-card__title {
    font-size: 1.9rem; font-weight: 900;
    color: #86efac; margin: 0 0 0.75rem;
    text-shadow: 0 0 30px rgba(74,222,128,0.4);
}

.success-card__text { color: rgba(255,255,255,0.72); line-height: 1.75; margin-bottom: 2rem; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (max 639px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 639px) {

    /* ── Hero ─────────────────────────────────────────────── */
    .reg-hero {
        padding: 3.5rem 1rem 5rem;
        min-height: 420px;
    }

    .reg-hero__moon {
        width: 46px;
        height: 46px;
        top: 5%;
        right: 6%;
    }

    .reg-hero__moon-reflect {
        height: 60px;
        width: 18px;
    }

    /* Hide heavy decorations on small screens for performance */
    .reg-hero__fog,
    .reg-hero__reeds--right,
    .reg-hero__fish-splash {
        display: none;
    }

    .reg-hero__reeds--left {
        width: 110px;
    }

    .reg-hero__rod {
        left: 4%;
    }

    .reg-hero__title {
        font-size: clamp(1.6rem, 8vw, 2.4rem);
    }

    .reg-hero__subtitle {
        font-size: 0.92rem;
    }

    .reg-hero__badges {
        gap: 0.35rem;
    }

    .reg-hero__badge {
        font-size: 0.7rem;
        padding: 0.28rem 0.7rem;
    }

    /* ── Container ────────────────────────────────────────── */
    .reg-container {
        padding: 1.5rem 0.85rem 4rem;
    }

    /* ── Progress steps ───────────────────────────────────── */
    .reg-steps {
        gap: 0;
        justify-content: space-between;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        margin-bottom: 1.75rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .reg-steps::-webkit-scrollbar {
        display: none;
    }

    .reg-step {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        font-size: 0.65rem;
        flex-shrink: 0;
        min-width: 48px;
    }

    .reg-step__dot {
        width: 28px;
        height: 28px;
        font-size: 0.72rem;
    }

    .reg-step__line {
        width: 20px;
        flex-shrink: 0;
        margin: 0 2px;
        align-self: flex-start;
        margin-top: 13px;
    }

    /* ── Cards ────────────────────────────────────────────── */
    .reg-card {
        padding: 1.25rem 1rem 1.25rem 1.4rem;
        border-radius: 1rem;
        margin-bottom: 1rem;
    }

    .reg-card__title {
        font-size: 0.92rem;
        gap: 0.5rem;
        margin-bottom: 1.1rem;
        padding-bottom: 0.65rem;
    }

    .reg-card__title-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        border-radius: 0.5rem;
    }

    /* ── Form fields ──────────────────────────────────────── */
    .form-row--2,
    .form-row--3 {
        grid-template-columns: 1fr;
    }

    .form-input,
    .form-select,
    .form-textarea {
        font-size: 1rem; /* Prevents iOS zoom on focus */
        padding: 0.7rem 0.85rem;
    }

    /* ── Tariff rows ──────────────────────────────────────── */
    .tariff-row {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .tariff-row__check {
        grid-column: 1;
    }

    .btn-remove-tariff {
        grid-column: 2;
        justify-self: end;
    }

    .tariff-row__details {
        grid-column: 1 / -1;
    }

    /* ── Checkbox grid ────────────────────────────────────── */
    .checkbox-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.4rem;
    }

    .checkbox-item {
        font-size: 0.8rem;
        padding: 0.45rem 0.65rem;
    }

    /* ── File upload ──────────────────────────────────────── */
    .file-upload {
        padding: 1.5rem 1rem;
    }

    .file-upload__icon {
        font-size: 2rem;
    }

    .file-upload__label {
        font-size: 0.84rem;
    }

    /* ── Submit block ─────────────────────────────────────── */
    .reg-submit {
        padding: 1.75rem 1rem;
        border-radius: 1rem;
    }

    .btn-primary {
        font-size: 0.92rem;
        padding: 0.85rem 1.5rem;
        width: 100%;
        justify-content: center;
    }

    /* ── Alert ────────────────────────────────────────────── */
    .reg-alert {
        font-size: 0.82rem;
        padding: 0.85rem 1rem;
    }

    /* ── Success card ─────────────────────────────────────── */
    .success-card {
        padding: 2.25rem 1.25rem;
        border-radius: 1.25rem;
    }

    .success-card__title {
        font-size: 1.45rem;
    }

    .success-card__icon {
        font-size: 3.2rem;
    }
}

/* ── Small-medium (640px–767px) ───────────────────────────── */
@media (min-width: 640px) and (max-width: 767px) {
    .reg-hero {
        padding: 4rem 1.25rem 6rem;
    }

    .reg-container {
        padding: 2rem 1.25rem 4rem;
    }

    .reg-card {
        padding: 1.5rem 1.5rem 1.5rem 1.85rem;
    }

    .checkbox-grid {
        grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    }
}
