:root {
    --red: #e30613;
    --red-dark: #bd0010;
    --red-soft: #fff1f2;
    --ink: #101318;
    --ink-soft: #343941;
    --gray-900: #23272e;
    --gray-700: #555c66;
    --gray-500: #7c848f;
    --gray-300: #cfd4da;
    --gray-200: #e4e7eb;
    --gray-100: #f3f5f7;
    --white: #ffffff;
    --gold: #c78b22;
    --success: #16824b;
    --danger: #b42318;
    --shadow-sm: 0 8px 28px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 24px 70px rgba(16, 24, 40, 0.12);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --container: 1180px;
    --page-scroll: 0px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    overflow-x: clip;
    background: var(--white);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

input,
select,
textarea,
button {
    font: inherit;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    border-radius: 0;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    transform: translateY(-150%);
    border-radius: 8px;
    background: var(--ink);
    color: var(--white);
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(228, 231, 235, 0.9);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    transition: min-height 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 32px rgba(16, 24, 40, 0.09);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav > a:not(.button) {
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

nav > a:not(.button):hover {
    color: var(--red);
}

.button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border: 1px solid var(--red);
    border-radius: 12px;
    background: var(--red);
    color: var(--white);
    cursor: pointer;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(227, 6, 19, 0.18);
    transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.button::after {
    position: absolute;
    z-index: -1;
    inset: -80% auto -80% -42%;
    width: 34%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    content: "";
    transform: skewX(-18deg);
    transition: left 520ms ease;
}

.button:hover {
    transform: translateY(-2px);
    background: var(--red-dark);
    box-shadow: 0 12px 26px rgba(227, 6, 19, 0.25);
}

.button:hover::after {
    left: 118%;
}

.button:focus-visible,
.text-link:focus-visible,
nav a:focus-visible {
    outline: 3px solid rgba(227, 6, 19, 0.25);
    outline-offset: 3px;
}

.button-small {
    min-height: 42px;
    padding: 10px 17px;
    border-radius: 10px;
    font-size: 14px;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100svh - 82px);
    display: grid;
    align-items: center;
    padding: 74px 0 142px;
    background:
        radial-gradient(circle at 92% 18%, rgba(227, 6, 19, 0.09), transparent 28%),
        linear-gradient(180deg, #fff 0%, #fbfbfc 100%);
}

.hero::before {
    position: absolute;
    top: 14%;
    right: -8%;
    width: 420px;
    height: 420px;
    border: 54px solid rgba(227, 6, 19, 0.035);
    border-radius: 50%;
    content: "";
    transform: translateY(calc(var(--page-scroll) * 0.035));
}

.hero-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    align-items: center;
    gap: 74px;
}

.motion-ready .hero-copy {
    animation: hero-copy-in 720ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.motion-ready .hero-visual {
    animation: hero-visual-in 850ms 100ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.eyebrow,
.section-kicker {
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.eyebrow span {
    width: 28px;
    height: 3px;
    border-radius: 20px;
    background: var(--red);
    animation: line-breathe 2.6s ease-in-out infinite;
}

.hero h1 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(48px, 5.3vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero-copy > p {
    max-width: 630px;
    margin: 26px 0 0;
    color: var(--gray-700);
    font-size: 19px;
    line-height: 1.68;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 34px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    font-weight: 800;
    text-underline-offset: 4px;
}

.text-link:hover {
    color: var(--red);
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.instagram-icon {
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #833ab4 4%, #c13584 32%, #e1306c 55%, #f77737 78%, #fcaf45 100%);
    box-shadow: 0 5px 13px rgba(193, 53, 132, 0.24);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.instagram-icon svg {
    width: 20px;
    height: 20px;
    overflow: visible;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
}

.instagram-icon .instagram-dot {
    fill: #fff;
    stroke: none;
}

.instagram-handle {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.instagram-link:hover .instagram-icon {
    transform: translateY(-2px) rotate(-3deg);
    box-shadow: 0 8px 18px rgba(193, 53, 132, 0.3);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin: 30px 0 0;
    padding: 0;
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 700;
    list-style: none;
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-points span {
    width: 21px;
    height: 21px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--red-soft);
    color: var(--red);
    font-size: 12px;
}

.hero-visual {
    position: relative;
    min-height: 470px;
    display: grid;
    place-items: center;
    perspective: 1000px;
}

.hero-visual::before {
    position: absolute;
    width: 410px;
    height: 410px;
    border: 1px solid rgba(124, 132, 143, 0.18);
    border-radius: 50%;
    content: "";
    animation: orbit-rotate 18s linear infinite;
}

.hero-visual::after {
    position: absolute;
    width: 322px;
    height: 322px;
    border: 1px solid rgba(227, 6, 19, 0.14);
    border-radius: 50%;
    content: "";
    animation: orbit-rotate-reverse 14s linear infinite;
}

.motion-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.motion-ring::before,
.motion-ring::after {
    position: absolute;
    border-radius: 50%;
    background: var(--red);
    content: "";
}

.motion-ring-one {
    width: 450px;
    height: 450px;
    border: 1px dashed rgba(16, 19, 24, 0.11);
    animation: orbit-rotate 24s linear infinite;
}

.motion-ring-one::before {
    top: 56px;
    right: 42px;
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 7px rgba(227, 6, 19, 0.09);
}

.motion-ring-two {
    width: 360px;
    height: 360px;
    border: 1px dashed rgba(227, 6, 19, 0.18);
    animation: orbit-rotate-reverse 17s linear infinite;
}

.motion-ring-two::after {
    left: 32px;
    bottom: 72px;
    width: 6px;
    height: 6px;
}

.anniversary-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    position: relative;
    z-index: 2;
    width: 320px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 26px;
    overflow: hidden;
    border: 1px solid rgba(16, 19, 24, 0.1);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 246, 248, 0.96));
    color: var(--ink);
    box-shadow:
        0 28px 60px rgba(16, 24, 40, 0.16),
        0 6px 18px rgba(227, 6, 19, 0.08);
    transform: perspective(900px) rotate(3deg) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transform-style: preserve-3d;
    will-change: transform;
    animation: card-float 4.8s ease-in-out infinite;
    transition: --tilt-x 160ms ease, --tilt-y 160ms ease, box-shadow 220ms ease;
}

.anniversary-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background: linear-gradient(90deg, var(--red), #ff3340 55%, var(--gray-700));
    content: "";
}

.anniversary-card::after {
    position: absolute;
    right: -78px;
    bottom: -92px;
    width: 210px;
    height: 210px;
    border: 28px solid rgba(227, 6, 19, 0.055);
    border-radius: 50%;
    content: "";
}

.hero-brand-logo {
    position: relative;
    z-index: 2;
    width: 100%;
    max-height: 310px;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(16, 19, 24, 0.12));
    transform: translateZ(24px);
}

.signal {
    position: absolute;
    z-index: 3;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 8px rgba(227, 6, 19, 0.1);
    animation: signal-pulse 2.2s ease-in-out infinite;
}

.signal-one {
    top: 52px;
    left: 76px;
}

.signal-two {
    right: 38px;
    bottom: 76px;
    width: 10px;
    height: 10px;
    animation-delay: -0.8s;
}

.signal-three {
    bottom: 38px;
    left: 104px;
    width: 7px;
    height: 7px;
    animation-delay: -1.4s;
}

.road-flow {
    position: absolute;
    z-index: 2;
    right: -6%;
    bottom: -24px;
    left: -6%;
    height: 108px;
    overflow: hidden;
    border-top: 4px solid var(--red);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
        #20242a;
    box-shadow: 0 -14px 40px rgba(16, 24, 40, 0.12);
    transform: perspective(420px) rotateX(52deg) translateY(calc(var(--page-scroll) * 0.015));
    transform-origin: bottom;
    pointer-events: none;
}

.road-flow::before,
.road-flow::after {
    position: absolute;
    right: 0;
    left: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.16);
    content: "";
}

.road-flow::before {
    top: 19px;
}

.road-flow::after {
    bottom: 17px;
}

.road-lane {
    position: absolute;
    top: 51%;
    left: -120px;
    width: calc(100% + 240px);
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0 44px,
        rgba(255, 255, 255, 0.92) 44px 110px
    );
    animation: road-run 1.4s linear infinite;
}

.motion-strip {
    position: relative;
    z-index: 4;
    overflow: hidden;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--ink);
    color: var(--white);
}

.motion-strip::before,
.motion-strip::after {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: 110px;
    content: "";
    pointer-events: none;
}

.motion-strip::before {
    left: 0;
    background: linear-gradient(90deg, var(--ink), transparent);
}

.motion-strip::after {
    right: 0;
    background: linear-gradient(-90deg, var(--ink), transparent);
}

.motion-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 26px;
    color: #f4f5f7;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: ticker-drive 24s linear infinite;
}

.motion-track i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 5px rgba(227, 6, 19, 0.12);
}

.how-it-works {
    padding: 88px 0 92px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 56px;
}

.section-heading h2,
.form-aside h2 {
    margin: 10px 0 0;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.section-heading > p {
    max-width: 490px;
    margin: 0;
    color: var(--gray-700);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 42px;
}

.step-card {
    position: relative;
    overflow: hidden;
    min-height: 218px;
    padding: 27px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.step-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--red);
    content: "";
    transition: width 300ms ease;
}

.step-card:hover {
    transform: translateY(-7px);
    border-color: rgba(227, 6, 19, 0.28);
    box-shadow: var(--shadow-sm);
}

.step-card:hover::before {
    width: 100%;
}

.step-number {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: var(--red-soft);
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
}

.step-card h3 {
    margin: 32px 0 7px;
    font-size: 20px;
    line-height: 1.2;
}

.step-card p {
    margin: 0;
    color: var(--gray-700);
    font-size: 14px;
}

.application-section {
    position: relative;
    overflow: hidden;
    padding: 98px 0 110px;
    border-top: 1px solid var(--gray-200);
    background:
        linear-gradient(rgba(243, 245, 247, 0.86), rgba(243, 245, 247, 0.86)),
        radial-gradient(circle at 0 10%, rgba(227, 6, 19, 0.08), transparent 30%);
}

.application-section::before {
    position: absolute;
    top: -120px;
    left: -180px;
    width: 420px;
    height: 760px;
    border: 34px solid rgba(227, 6, 19, 0.035);
    border-radius: 50%;
    content: "";
    transform: rotate(18deg);
    pointer-events: none;
}

.form-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    align-items: start;
    gap: 48px;
}

.form-aside {
    position: sticky;
    top: 118px;
}

.form-aside h2 {
    font-size: 43px;
}

.form-aside > p {
    margin: 20px 0 0;
    color: var(--gray-700);
}

.progress-card {
    margin-top: 30px;
    padding: 21px;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.progress-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 700;
}

.progress-top strong {
    color: var(--ink);
}

.progress-track {
    height: 8px;
    margin-top: 13px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--gray-200);
}

.progress-track span {
    width: 0;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--red), #ff4a55);
    transition: width 220ms ease;
    position: relative;
    overflow: hidden;
}

.progress-track span::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    content: "";
    transform: translateX(-100%);
    animation: progress-shine 1.8s ease-in-out infinite;
}

.progress-card p {
    margin: 10px 0 0;
    color: var(--gray-500);
    font-size: 12px;
}

.privacy-note {
    display: flex;
    gap: 13px;
    margin-top: 18px;
    padding: 18px;
    border-radius: 15px;
    background: var(--ink);
    color: var(--white);
}

.privacy-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--red);
    font-size: 21px;
}

.privacy-note strong {
    font-size: 13px;
}

.privacy-note p {
    margin: 5px 0 0;
    color: #cfd4da;
    font-size: 12px;
    line-height: 1.55;
}

.form-panel {
    min-width: 0;
}

.form-panel form,
.alert {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 18px 60px rgba(16, 24, 40, 0.08);
}

.alert {
    margin-bottom: 20px;
    padding: 22px 24px;
}

.alert-error {
    border-color: #f7c7c3;
    background: #fff7f6;
    color: var(--danger);
}

.alert strong {
    font-size: 18px;
}

.alert p {
    margin: 4px 0 8px;
}

.alert ul {
    margin: 0;
    padding-left: 21px;
}

.form-section {
    min-width: 0;
    margin: 0;
    padding: 38px;
    border: 0;
    border-bottom: 1px solid var(--gray-200);
    transition: background-color 220ms ease, box-shadow 220ms ease;
}

.form-section:focus-within {
    background: linear-gradient(90deg, rgba(227, 6, 19, 0.025), transparent 38%);
    box-shadow: inset 4px 0 0 var(--red);
}

.form-section:last-of-type {
    border-bottom: 0;
}

.form-section legend {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 0 30px;
    padding: 0;
}

.legend-number {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--ink);
    color: var(--white);
    font-size: 14px;
    font-weight: 900;
}

.form-section legend strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
}

.form-section legend small {
    display: block;
    margin-top: 4px;
    color: var(--gray-500);
    font-size: 13px;
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.field {
    min-width: 0;
}

.field-full {
    grid-column: 1 / -1;
}

.address-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(120px, 0.45fr) minmax(0, 1fr);
}

.street-field {
    grid-column: span 2;
}

.field label:not(.upload-box) {
    display: block;
    margin: 0 0 8px;
    color: var(--gray-900);
    font-size: 13px;
    font-weight: 800;
}

.field label span {
    color: var(--red);
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select,
textarea {
    width: 100%;
    min-height: 49px;
    padding: 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    outline: 0;
    background: var(--white);
    color: var(--ink);
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

textarea {
    min-height: 112px;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: #a1a7b0;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.1);
}

input:user-invalid,
select:user-invalid,
textarea:user-invalid {
    border-color: var(--danger);
}

.phone-input-row {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.whatsapp-check {
    min-height: 49px;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 9px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    color: var(--gray-700) !important;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.whatsapp-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.whatsapp-check-control {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: grid;
    place-items: center;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    background: var(--white);
}

.whatsapp-check span {
    color: inherit !important;
}

.whatsapp-check:hover {
    border-color: rgba(22, 130, 75, 0.5);
    background: #f2faf5;
}

.whatsapp-check:has(input:checked) {
    border-color: rgba(22, 130, 75, 0.48);
    background: #effaf4;
    color: #116a3e !important;
}

.whatsapp-check input:focus-visible + .whatsapp-check-control {
    outline: 3px solid rgba(22, 130, 75, 0.2);
    outline-offset: 3px;
}

.whatsapp-check input:checked + .whatsapp-check-control {
    border-color: var(--success);
    background: var(--success);
}

.whatsapp-check input:checked + .whatsapp-check-control::after {
    color: var(--white);
    content: "✓";
    font-size: 12px;
    font-weight: 900;
}

input:disabled,
select:disabled,
textarea:disabled {
    background: var(--gray-100);
    color: var(--gray-500);
    cursor: not-allowed;
}

.subsection-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 32px 0 17px;
    padding-top: 26px;
    border-top: 1px solid var(--gray-200);
}

.subsection-title h3 {
    margin: 0;
    font-size: 16px;
}

.subsection-title span {
    color: var(--gray-500);
    font-size: 12px;
}

.choice-card,
.consent-box {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 18px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: var(--gray-100);
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.choice-card:hover,
.consent-box:hover {
    border-color: rgba(227, 6, 19, 0.42);
}

.choice-card:has(input:checked),
.consent-box:has(input:checked) {
    border-color: rgba(227, 6, 19, 0.42);
    background: var(--red-soft);
}

.choice-card input,
.consent-box input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-control {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    display: grid;
    place-items: center;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    background: var(--white);
}

input:focus-visible + .choice-control {
    outline: 3px solid rgba(227, 6, 19, 0.22);
    outline-offset: 3px;
}

input:checked + .choice-control {
    border-color: var(--red);
    background: var(--red);
}

input:checked + .choice-control::after {
    color: var(--white);
    content: "✓";
    font-size: 13px;
    font-weight: 900;
}

.choice-card strong {
    display: block;
    font-size: 14px;
}

.choice-card small {
    display: block;
    margin-top: 3px;
    color: var(--gray-700);
    font-size: 12px;
}

#experience-fields {
    transition: opacity 160ms ease;
}

#experience-fields.is-disabled {
    display: none;
}

.experience-card {
    margin-top: 22px;
    padding: 24px;
    border: 1px solid var(--gray-200);
    border-radius: 17px;
    background: #fcfcfd;
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.experience-card:focus-within {
    transform: translateY(-2px);
    border-color: rgba(227, 6, 19, 0.28);
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.07);
}

.experience-card.is-in-progress {
    border-color: rgba(227, 6, 19, 0.2);
    background: linear-gradient(145deg, #fff, #fff9f9);
}

.experience-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.experience-heading > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--red-soft);
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
}

.experience-heading h3 {
    margin: 0;
    font-size: 16px;
}

.experience-heading p {
    margin: 2px 0 0;
    color: var(--gray-500);
    font-size: 12px;
}

.upload-field {
    margin-top: 22px;
}

.certificate-issue-button {
    width: fit-content;
    max-width: 100%;
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 13px;
    padding: 10px 16px;
    border: 1px solid var(--red);
    border-radius: 11px;
    background: var(--red);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(227, 6, 19, 0.2);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.035em;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.certificate-issue-button:hover {
    transform: translateY(-2px);
    background: var(--red-dark);
    box-shadow: 0 11px 25px rgba(227, 6, 19, 0.28);
}

.certificate-issue-button:focus-visible {
    outline: 3px solid rgba(227, 6, 19, 0.22);
    outline-offset: 3px;
}

.optional-field-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.optional-field-heading label {
    margin: 0 !important;
}

.optional-field-heading > span {
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.photo-guidance {
    margin-bottom: 12px;
    padding: 15px 17px;
    border: 1px solid rgba(124, 132, 143, 0.18);
    border-radius: 13px;
    background: linear-gradient(145deg, #fff, #f8f9fb);
}

.photo-guidance strong {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 13px;
}

.photo-guidance ul {
    display: grid;
    gap: 5px;
    margin: 0;
    padding-left: 18px;
    color: var(--gray-700);
    font-size: 12px;
    line-height: 1.5;
}

.photo-upload-box {
    min-height: 126px;
}

.photo-upload-icon {
    font-size: 25px;
}

.upload-box {
    min-height: 142px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 24px;
    border: 1.5px dashed var(--gray-300);
    border-radius: 15px;
    background: var(--gray-100);
    cursor: pointer;
    text-align: left;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.upload-box:hover,
.upload-box:focus-within {
    border-color: var(--red);
    background: var(--red-soft);
}

.upload-box input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.upload-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--white);
    color: var(--red);
    font-size: 27px;
    font-weight: 700;
    box-shadow: 0 5px 16px rgba(16, 24, 40, 0.08);
}

.upload-box strong {
    display: block;
    font-size: 14px;
}

.upload-box small {
    display: block;
    margin-top: 4px;
    color: var(--gray-500);
    font-size: 12px;
}

.upload-box.has-file {
    border-style: solid;
    border-color: rgba(22, 130, 75, 0.4);
    background: #effaf4;
}

.upload-box.has-file .upload-icon {
    background: var(--success);
    color: var(--white);
}

.consent-box {
    margin-top: 22px;
    color: var(--gray-700);
    font-size: 12px;
    line-height: 1.55;
}

.consent-box strong {
    color: var(--red);
}

.submit-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 38px;
    border-top: 1px solid var(--gray-200);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: #fafbfc;
}

.submit-area strong {
    font-size: 15px;
}

.submit-area p {
    margin: 3px 0 0;
    color: var(--gray-500);
    font-size: 12px;
}

.submit-button {
    min-width: 230px;
}

.submit-button:hover span:last-child {
    animation: arrow-drive 620ms ease;
}

.submit-button[disabled] {
    transform: none;
    opacity: 0.68;
    cursor: wait;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

footer {
    position: relative;
    padding: 36px 0;
    background: var(--ink);
    color: var(--white);
}

footer::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), transparent 35%, var(--red) 75%, transparent);
    content: "";
}

.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 620ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--reveal-delay, 0ms),
        transform 620ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--reveal-delay, 0ms);
}

.reveal-item.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes hero-copy-in {
    from {
        opacity: 0;
        transform: translateX(-34px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes hero-visual-in {
    from {
        opacity: 0;
        filter: blur(5px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes line-breathe {
    0%, 100% {
        width: 28px;
    }
    50% {
        width: 46px;
    }
}

@keyframes orbit-rotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes orbit-rotate-reverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes card-float {
    0%, 100% {
        transform: perspective(900px) rotate(3deg) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(0);
        box-shadow: var(--shadow-lg);
    }
    50% {
        transform: perspective(900px) rotate(2deg) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-12px);
        box-shadow: 0 34px 80px rgba(16, 24, 40, 0.18);
    }
}

@keyframes signal-pulse {
    0%, 100% {
        transform: scale(0.85);
        opacity: 0.68;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes road-run {
    to {
        transform: translateX(110px);
    }
}

@keyframes ticker-drive {
    to {
        transform: translateX(calc(-50% - 13px));
    }
}

@keyframes progress-shine {
    0%, 35% {
        transform: translateX(-100%);
    }
    75%, 100% {
        transform: translateX(100%);
    }
}

@keyframes arrow-drive {
    0% {
        transform: translateX(0);
    }
    45% {
        transform: translateX(8px);
        opacity: 0;
    }
    55% {
        transform: translateX(-8px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-inner img {
    width: 65px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.6));
}

.footer-inner > div {
    display: flex;
    flex-direction: column;
}

.footer-inner strong {
    font-size: 14px;
}

.footer-inner span {
    color: #aeb5bf;
    font-size: 12px;
}

.footer-inner > a {
    margin-left: auto;
    color: #d8dce2;
    font-size: 13px;
    font-weight: 700;
}

.footer-instagram .instagram-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    box-shadow: 0 5px 14px rgba(225, 48, 108, 0.2);
}

.footer-instagram .instagram-icon svg {
    width: 19px;
    height: 19px;
}

.footer-instagram:hover {
    color: var(--white);
}

.success-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 80% 10%, rgba(227, 6, 19, 0.1), transparent 30%),
        var(--gray-100);
}

.success-shell {
    width: min(calc(100% - 32px), 720px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-inline: auto;
    padding: 42px 0;
}

.success-brand {
    width: 100px;
    margin: 0 auto 22px;
}

.success-card {
    padding: 48px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.success-check {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #eaf8f0;
    color: var(--success);
    font-size: 30px;
    font-weight: 900;
}

.success-card h1 {
    margin: 10px 0 14px;
    font-size: clamp(34px, 6vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.success-card > p {
    max-width: 570px;
    margin: 0 auto;
    color: var(--gray-700);
}

.protocol {
    margin: 28px 0 12px;
    padding: 18px;
    border: 1px dashed rgba(227, 6, 19, 0.35);
    border-radius: 14px;
    background: var(--red-soft);
}

.protocol span,
.protocol strong {
    display: block;
}

.protocol span {
    color: var(--gray-700);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.protocol strong {
    margin-top: 5px;
    color: var(--red);
    font-size: 22px;
    letter-spacing: 0.04em;
}

.success-card .success-note {
    font-size: 12px;
}

.success-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 28px;
}

@media (max-width: 1020px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 38px;
    }

    .hero-visual {
        min-height: 400px;
        transform: scale(0.9);
    }

    .motion-ring-one {
        width: 410px;
        height: 410px;
    }

    .form-layout {
        grid-template-columns: 1fr;
    }

    .form-aside {
        position: static;
        display: grid;
        grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
        gap: 18px 28px;
        align-items: end;
    }

    .form-aside > .section-kicker,
    .form-aside > h2,
    .form-aside > p {
        grid-column: 1;
    }

    .progress-card {
        grid-column: 2;
        grid-row: 1 / span 3;
        margin: 0;
    }

    .privacy-note {
        grid-column: 1 / -1;
        margin-top: 0;
    }
}

@media (max-width: 780px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .header-inner {
        min-height: 72px;
    }

    .brand img {
        width: 76px;
        height: 54px;
    }

    nav > a:not(.button) {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 58px 0 118px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(45px, 13vw, 66px);
    }

    .hero-copy > p {
        font-size: 17px;
    }

    .hero-visual {
        min-height: 380px;
    }

    .road-flow {
        right: -12%;
        bottom: -20px;
        left: -12%;
        height: 84px;
    }

    .motion-strip {
        padding: 14px 0;
    }

    .motion-track {
        animation-duration: 29s;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 20px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .step-card {
        min-height: 0;
    }

    .step-card h3 {
        margin-top: 22px;
    }

    .form-aside {
        display: block;
    }

    .progress-card,
    .privacy-note {
        margin-top: 18px;
    }

    .form-section {
        padding: 28px 22px;
    }

    .fields-grid,
    .address-grid {
        grid-template-columns: 1fr;
    }

    .street-field,
    .number-field {
        grid-column: auto;
    }

    .submit-area {
        align-items: stretch;
        flex-direction: column;
        padding: 24px 22px;
    }

    .submit-button {
        width: 100%;
    }

    .success-card {
        padding: 36px 24px;
    }

    .success-actions {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    nav {
        gap: 10px;
    }

    .button-small {
        padding-inline: 13px;
        font-size: 12px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 335px;
        transform: scale(0.78);
        margin: -35px 0;
    }

    .motion-ring-one {
        width: 400px;
        height: 400px;
    }

    .motion-ring-two {
        width: 320px;
        height: 320px;
    }

    .form-section legend {
        align-items: flex-start;
    }

    .form-section legend strong {
        font-size: 19px;
    }

    .experience-card {
        padding: 18px;
    }

    .phone-input-row {
        grid-template-columns: 1fr;
    }

    .whatsapp-check {
        justify-content: center;
    }

    .upload-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-inner {
        flex-wrap: wrap;
    }

    .footer-inner > a {
        width: 100%;
        margin: 8px 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .site-header,
    .hero,
    .how-it-works,
    .form-aside,
    footer,
    .submit-area {
        display: none !important;
    }

    .application-section {
        padding: 0;
        background: #fff;
    }

    .form-panel form {
        box-shadow: none;
    }
}
