.ow {
    --ow-primary: #00a19b;
    --ow-primary-dark: #008882;
    --ow-primary-soft: #e6f6f5;
    --ow-accent: #ee7203;
    --ow-accent-dark: #d56603;
    --ow-text: #1f2a2a;
    --ow-muted: #6b7878;
    --ow-border: #dbe3e3;
    --ow-error: #c62828;
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 16px 80px;
    color: var(--ow-text);
    font-family: 'Open Sans', Arial, sans-serif;
}

.ow *, .ow *::before, .ow *::after { box-sizing: border-box; }
.ow [hidden] { display: none !important; }

.ow--wide { max-width: 1140px; }

/* Contact page */
.ow-contact { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: start; }
.ow-contact__info { font-size: 15px; line-height: 1.7; color: var(--ow-text); }
.ow-contact__info p { margin: 0; }
.ow-contact__info > p:first-child > br:first-child { display: none; }
.ow-contact__info strong { font-family: Montserrat, sans-serif; font-weight: 500; color: var(--ow-primary); }
.ow-contact__info a { color: var(--ow-primary); font-weight: 600; }

.ow__intro { text-align: center; margin-bottom: 28px; }
.ow__intro h1 { font-family: Montserrat, sans-serif; font-weight: 500; font-size: 32px; margin: 0 0 8px; color: var(--ow-text); }
.ow__intro-text { color: var(--ow-muted); max-width: 600px; margin: 0 auto; }
.ow__intro-text p { margin: 0; }

.ow__card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px -20px rgba(15, 50, 50, .25), 0 2px 6px rgba(15, 50, 50, .06);
    padding: 32px 40px 36px;
    scroll-margin-top: 120px;
}

/* Progress */
.ow__progress { display: flex; justify-content: space-between; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.ow__progress li { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; color: var(--ow-muted); font-size: 13px; }
.ow__progress span {
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--ow-border); background: #fff; font-weight: 600;
    transition: all .25s ease;
}
.ow__progress em { font-style: normal; }
.ow__progress .is-active { color: var(--ow-text); font-weight: 600; }
.ow__progress .is-active span { border-color: var(--ow-primary); color: var(--ow-primary); box-shadow: 0 0 0 4px var(--ow-primary-soft); }
.ow__progress .is-done span { background: var(--ow-primary); border-color: var(--ow-primary); color: #fff; }
.ow__bar { height: 4px; background: var(--ow-border); border-radius: 4px; margin: 16px 0 28px; overflow: hidden; }
.ow__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ow-primary), #3cc2bc); border-radius: 4px; transition: width .4s ease; }

/* Steps */
.ow__step { display: none; }
.ow__step.is-active { display: block; animation: ow-in .35s ease both; }
@keyframes ow-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

.ow__step h2 { font-family: Montserrat, sans-serif; font-size: 22px; font-weight: 500; margin: 0 0 20px; color: var(--ow-text); outline: none; }

/* Big choice tiles */
.ow__choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.ow__choice { position: relative; cursor: pointer; margin: 0; display: block; font-weight: normal; }
.ow__choice input, .ow__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ow__choice-body {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 20px; border: 2px solid var(--ow-border); border-radius: 14px; height: 100%;
    transition: border-color .2s, background .2s, transform .2s;
}
.ow__choice svg { width: 34px; height: 34px; fill: none; stroke: var(--ow-primary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.ow__choice strong { font-size: 16px; color: var(--ow-text); }
.ow__choice small { color: var(--ow-muted); font-size: 13px; }
.ow__choice:hover .ow__choice-body { border-color: #b5cfcd; transform: translateY(-2px); }
.ow__choice input:checked + .ow__choice-body { border-color: var(--ow-primary); background: var(--ow-primary-soft); }
.ow__choice input:focus-visible + .ow__choice-body { box-shadow: 0 0 0 3px rgba(0, 161, 155, .35); }

/* Chips */
.ow__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.ow__chip { position: relative; margin: 0; cursor: pointer; font-weight: normal; }
.ow__chip span {
    display: inline-block; padding: 9px 16px; border: 1.5px solid var(--ow-border); border-radius: 999px;
    font-size: 14px; background: #fff; transition: all .2s;
}
.ow__chip:hover span { border-color: #b5cfcd; }
.ow__chip input:checked + span { background: var(--ow-primary); border-color: var(--ow-primary); color: #fff; }
.ow__chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0, 161, 155, .35); }

/* Fields */
.ow__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 16px; }
.ow__grid .ow__field { grid-column: span 6; }
.ow__grid .ow__field--zip { grid-column: span 2; }
.ow__grid .ow__field--number { grid-column: span 2; }
.ow__grid .ow__field--addition { grid-column: span 2; }
.ow__grid .ow__field--street, .ow__grid .ow__field--city, .ow__grid .ow__field--half { grid-column: span 3; }
.ow__grid .ow__field--third { grid-column: span 2; }
.ow__grid .ow__field--two-thirds { grid-column: span 4; }

.ow__lead { color: var(--ow-muted); font-size: 14px; margin: -12px 0 20px; }

.ow__segmented { display: flex; height: 48px; border: 1.5px solid var(--ow-border); border-radius: 10px; overflow: hidden; }
.ow .ow__segmented label { position: relative; display: block; flex: 1; margin: 0; cursor: pointer; font-weight: normal; }
.ow__segmented label + label { border-left: 1.5px solid var(--ow-border); }
.ow__segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ow__segmented span { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 16px; font-weight: 400; color: var(--ow-text); transition: background .2s, color .2s; }
.ow__segmented label:hover span { background: #f4f8f8; }
.ow__segmented input:checked + span { background: var(--ow-primary); color: #fff; }
.ow__segmented input:focus-visible + span { box-shadow: inset 0 0 0 3px rgba(0, 161, 155, .35); }

.ow__field { margin-bottom: 18px; }
.ow__field label, .ow__label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; color: var(--ow-text); }
.ow__optional { font-weight: 400; color: var(--ow-muted); }
.ow__field--date { max-width: 280px; }

.ow input[type=text], .ow input[type=email], .ow input[type=tel], .ow input[type=date], .ow textarea, .ow select {
    display: block; width: 100%; height: 48px; padding: 0 14px; margin: 0;
    border: 1.5px solid var(--ow-border); border-radius: 10px; background: #fff;
    font: inherit; font-size: 16px; color: var(--ow-text); box-shadow: none;
    transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.ow textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
.ow textarea[rows="2"] { min-height: 72px; }
.ow select {
    padding-right: 40px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7878' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.ow select.is-empty { color: #a9b5b5; }
.ow select option { color: var(--ow-text); }
.ow input:focus, .ow textarea:focus, .ow select:focus { outline: none; border-color: var(--ow-primary); box-shadow: 0 0 0 4px var(--ow-primary-soft); }
.ow input::placeholder, .ow textarea::placeholder { color: #a9b5b5; }

.ow__field.has-error input, .ow__field.has-error textarea, .ow__field.has-error select { border-color: var(--ow-error); }
.ow__field.has-error input:focus { box-shadow: 0 0 0 4px rgba(198, 40, 40, .12); }
.ow__hint { display: block; color: var(--ow-error); font-size: 13px; margin-top: 6px; }

.ow__fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

.ow__small { font-size: 13px; color: var(--ow-muted); margin: 4px 0 0; }

/* Navigation */
.ow__nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid #eef2f2; }
.ow__nav [data-prev] { margin-right: auto; }
.ow__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
    font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: all .2s;
}
.ow__btn--primary { background: var(--ow-primary); color: #fff; }
.ow__btn--primary:hover { background: var(--ow-primary-dark); }
.ow__btn--primary::after { content: '\2192'; }
.ow__btn--accent { background: var(--ow-accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(238, 114, 3, .7); }
.ow__btn--accent:hover { background: var(--ow-accent-dark); }
.ow__btn--ghost { background: transparent; color: var(--ow-muted); border-color: var(--ow-border); }
.ow__btn--ghost:hover { color: var(--ow-text); border-color: #b5cfcd; }
.ow__btn--ghost::before { content: '\2190'; }
.ow__btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(0, 161, 155, .35); }
.ow__btn:disabled { opacity: .7; cursor: wait; }
.ow__btn.is-loading::before {
    content: ''; width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; animation: ow-spin .8s linear infinite;
}
@keyframes ow-spin { to { transform: rotate(360deg); } }

.ow__error { margin-top: 20px; padding: 12px 16px; border-radius: 10px; background: #fdecea; color: var(--ow-error); font-size: 14px; }

/* Done */
.ow__done { text-align: center; padding: 24px 0 8px; outline: none; animation: ow-in .4s ease both; }
.ow__done svg {
    width: 72px; height: 72px; padding: 16px; border-radius: 50%; background: var(--ow-primary-soft);
    fill: none; stroke: var(--ow-primary); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px;
}
.ow__done h2 { font-family: Montserrat, sans-serif; font-weight: 500; font-size: 24px; margin: 0 0 8px; }
.ow__done p { color: var(--ow-muted); margin: 0 0 8px; }
.ow__done a { color: var(--ow-primary); font-weight: 600; }

@media (max-width: 900px) {
    .ow-contact { grid-template-columns: 1fr; }
    .ow-contact__info { order: 2; }
}

@media (max-width: 640px) {
    .ow { padding-top: 24px; }
    .ow__intro h1 { font-size: 26px; }
    .ow__card { padding: 24px 18px 28px; border-radius: 16px; }
    .ow__progress em { display: none; }
    .ow__progress .is-active em { display: block; }
    .ow__choices { grid-template-columns: 1fr; }
    .ow__grid .ow__field--street, .ow__grid .ow__field--city, .ow__grid .ow__field--half,
    .ow__grid .ow__field--third, .ow__grid .ow__field--two-thirds { grid-column: span 6; }
    .ow__grid .ow__field--zip { grid-column: span 6; }
    .ow__grid .ow__field--number, .ow__grid .ow__field--addition { grid-column: span 3; }
    .ow__btn { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .ow__step.is-active, .ow__done { animation: none; }
    .ow__bar span, .ow__progress span { transition: none; }
}
