.dc-hero-form * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.dc-hero-form .dc-hero-form-wrapper {
    position: relative;
    min-height: 100vh;
    margin-top: -120px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dc-secondary) 0%, #0d0d1a 60%, #141428 100%);
}

.dc-hero-form .dc-hero-form-wrapper.has-bg-image {
    background: none;
}

.dc-hero-form .dc-hero-form__overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 0;
}

.dc-hero-form .dc-hero-form-wrapper.has-bg-image .dc-hero-form__overlay {
    background: linear-gradient(135deg, rgba(26,26,46,0.92) 0%, rgba(26,26,46,0.75) 60%, rgba(26,26,46,0.85) 100%);
}

.dc-hero-form .dc-hero-form__grid {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 48px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 250px 0px 80px;
}

/* Decorative elements */
.dc-hero-form .dc-hero-form__decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.dc-hero-form .dc-hero-form__decor--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(242,140,27,0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.dc-hero-form .dc-hero-form__decor--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(31,163,91,0.06) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
}

/* Left content */
.dc-hero-form .dc-hero-form__content {
    position: relative;
    z-index: 1;
    animation: dcHeroFadeInLeft 0.8s ease-out both;
}

@keyframes dcHeroFadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes dcHeroFadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dc-hero-form .dc-hero-form__eyebrow {
    font-family: 'Lobster', cursive;
    font-size: 22px;
    font-weight: 400;
    color: var(--dc-primary);
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dc-hero-form .dc-hero-form__eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--dc-primary);
    border-radius: 1px;
}

.dc-hero-form .dc-hero-form__title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.dc-hero-form .dc-hero-form__highlight {
    font-family: 'Lobster', cursive;
    color: var(--dc-primary);
    position: relative;
    display: inline;
}

.dc-hero-form .dc-hero-form__subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 36px;
}

.dc-hero-form .dc-hero-form__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.dc-hero-form .dc-hero-form__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
}

.dc-hero-form .dc-hero-form__btn--primary {
    background: linear-gradient(135deg, var(--dc-primary) 0%, #e07a0e 50%, var(--dc-primary) 100%);
    background-size: 200% 100%;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(242,140,27,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.dc-hero-form .dc-hero-form__btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.dc-hero-form .dc-hero-form__btn--primary:hover {
    background-position: 100% 0;
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(242,140,27,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
}

.dc-hero-form .dc-hero-form__btn--primary:hover::before {
    left: 120%;
}

.dc-hero-form .dc-hero-form__btn--primary:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(242,140,27,0.3);
}

.dc-hero-form .dc-hero-form__btn--primary svg {
    width: 20px;
    height: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dc-hero-form .dc-hero-form__btn--primary:hover svg {
    transform: translateX(5px);
}

.dc-hero-form .dc-hero-form__btn--secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.8);
}

.dc-hero-form .dc-hero-form__btn--secondary:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.1);
    border-color: #ffffff;
}

/* Right form card */
.dc-hero-form .dc-hero-form__card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.2);
    padding: 36px;
    animation: dcHeroFadeInRight 0.8s ease-out 0.2s both;
    overflow: hidden;
}

/* Decorative gradient bar at top of card */
.dc-hero-form .dc-hero-form__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--dc-primary), var(--dc-accent), var(--dc-primary));
    background-size: 200% 100%;
    animation: dcGradientShift 4s ease infinite;
}

@keyframes dcGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Decorative glow behind card */
.dc-hero-form .dc-hero-form__card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60px;
    background: var(--dc-primary);
    opacity: 0.08;
    filter: blur(30px);
    border-radius: 50%;
    z-index: -1;
}

.dc-hero-form .dc-hero-form__card-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.dc-hero-form .dc-hero-form__card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--dc-primary), #ff9a44);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 8px 24px rgba(242,140,27,0.25);
}

.dc-hero-form .dc-hero-form__card-icon svg {
    width: 22px;
    height: 22px;
    color: #ffffff;
}

.dc-hero-form .dc-hero-form__card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--dc-secondary);
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.dc-hero-form .dc-hero-form__card-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 0;
}

/* Fields */
.dc-hero-form .dc-hero-form__field {
    margin-bottom: 16px;
    position: relative;
}

.dc-hero-form .dc-hero-form__field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #b8bfca;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.dc-hero-form .dc-hero-form__field--textarea .dc-hero-form__field-icon {
    top: 20px;
    transform: none;
}

.dc-hero-form .dc-hero-form__field:focus-within .dc-hero-form__field-icon {
    color: var(--dc-primary);
    transform: translateY(-50%) scale(1.15);
}

.dc-hero-form .dc-hero-form__field--textarea:focus-within .dc-hero-form__field-icon {
    transform: scale(1.15);
}

/* Animated bottom border per field */
.dc-hero-form .dc-hero-form__field::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--dc-primary), var(--dc-accent));
    border-radius: 0 0 14px 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.dc-hero-form .dc-hero-form__field:focus-within::after {
    width: calc(100% - 4px);
}

/* Floating label effect via placeholder */
.dc-hero-form .dc-hero-form__input,
.dc-hero-form .dc-hero-form__textarea {
    width: 100%;
    height: 54px;
    padding: 0 18px 0 48px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    color: #1A1A2E;
    background: #ffffff;
    border: 1.5px solid #dfe3ea;
    border-radius: 14px;
    outline: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.2px;
}

.dc-hero-form .dc-hero-form__input::placeholder,
.dc-hero-form .dc-hero-form__textarea::placeholder {
    color: #9ca3b0;
    font-weight: 400;
    transition: all 0.3s ease;
}

.dc-hero-form .dc-hero-form__input:focus::placeholder,
.dc-hero-form .dc-hero-form__textarea:focus::placeholder {
    opacity: 0.5;
    transform: translateX(6px);
}

.dc-hero-form .dc-hero-form__input:focus,
.dc-hero-form .dc-hero-form__textarea:focus {
    background: #ffffff;
    border-color: var(--dc-primary);
    box-shadow: 0 0 0 3px rgba(242,140,27,0.12), 0 4px 16px rgba(242,140,27,0.08);
}

.dc-hero-form .dc-hero-form__input:not(:placeholder-shown) {
    background: #ffffff;
    border-color: #c5ccd6;
}

.dc-hero-form .dc-hero-form__textarea {
    height: 100px;
    padding: 16px 18px 16px 48px;
    resize: none;
    line-height: 1.6;
}

/* Submit button */
.dc-hero-form .dc-hero-form__submit {
    width: 100%;
    height: 56px;
    padding: 0 28px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.3px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--dc-primary) 0%, #e07a0e 50%, var(--dc-primary) 100%);
    background-size: 200% 100%;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 24px rgba(242,140,27,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dc-hero-form .dc-hero-form__submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.dc-hero-form .dc-hero-form__submit:hover {
    background-position: 100% 0;
    box-shadow: 0 14px 36px rgba(242,140,27,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

.dc-hero-form .dc-hero-form__submit:hover::before {
    left: 120%;
}

.dc-hero-form .dc-hero-form__submit:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(242,140,27,0.3);
}

.dc-hero-form .dc-hero-form__submit span {
    position: relative;
    z-index: 1;
}

.dc-hero-form .dc-hero-form__submit svg {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dc-hero-form .dc-hero-form__submit:hover svg {
    transform: translateX(5px);
}

.dc-hero-form .dc-hero-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* CF7 Styling */
.dc-hero-form .dc-hero-form__cf7 .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dc-hero-form .dc-hero-form__cf7 .dc-cf7-row {
    margin-bottom: 16px;
}

.dc-hero-form .dc-hero-form__cf7 .dc-cf7-row--half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dc-hero-form .dc-hero-form__cf7 .wpcf7-form-control:not([type="submit"]) {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    color: #1A1A2E;
    background: linear-gradient(135deg, #f6f8fb 0%, #eef1f6 100%);
    border: 2px solid transparent;
    border-radius: 14px;
    outline: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.2px;
    box-sizing: border-box;
}

.dc-hero-form .dc-hero-form__cf7 textarea.wpcf7-form-control {
    height: 100px;
    padding: 16px 18px;
    resize: none;
    line-height: 1.6;
}

.dc-hero-form .dc-hero-form__cf7 .wpcf7-form-control:not([type="submit"])::placeholder {
    color: #9ca3b0;
    font-weight: 400;
    transition: all 0.3s ease;
}

.dc-hero-form .dc-hero-form__cf7 .wpcf7-form-control:not([type="submit"]):focus::placeholder {
    opacity: 0.5;
    transform: translateX(6px);
}

.dc-hero-form .dc-hero-form__cf7 .wpcf7-form-control:not([type="submit"]):focus {
    background: #ffffff;
    border-color: rgba(242,140,27,0.3);
    box-shadow: 0 4px 16px rgba(242,140,27,0.08), 0 1px 4px rgba(0,0,0,0.04);
}

.dc-hero-form .dc-hero-form__cf7 .wpcf7-form-control:not([type="submit"]):not(:placeholder-shown) {
    background: #ffffff;
    border-color: rgba(0,0,0,0.06);
}

/* CF7 Submit */
.dc-hero-form .dc-hero-form__cf7 input[type="submit"] {
    width: 100%;
    height: 56px;
    padding: 0 28px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.3px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--dc-primary) 0%, #e07a0e 50%, var(--dc-primary) 100%);
    background-size: 200% 100%;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 24px rgba(242,140,27,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    margin-top: 8px;
}

.dc-hero-form .dc-hero-form__cf7 input[type="submit"]:hover {
    background-position: 100% 0;
    box-shadow: 0 14px 36px rgba(242,140,27,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

.dc-hero-form .dc-hero-form__cf7 input[type="submit"]:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(242,140,27,0.3);
}

/* CF7 Validation */
.dc-hero-form .dc-hero-form__cf7 .wpcf7-not-valid {
    border-color: #dc2626 !important;
}

.dc-hero-form .dc-hero-form__cf7 .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #dc2626;
    margin-top: 4px;
    font-weight: 500;
}

.dc-hero-form .dc-hero-form__cf7 .wpcf7-response-output {
    border: none !important;
    border-radius: 10px;
    padding: 14px 18px !important;
    font-size: 14px;
    font-weight: 600;
    margin: 16px 0 0 !important;
}

.dc-hero-form .dc-hero-form__cf7 .wpcf7-mail-sent-ok,
.dc-hero-form .dc-hero-form__cf7 form.sent .wpcf7-response-output {
    background: rgba(31,163,91,0.1);
    color: #1FA35B;
}

.dc-hero-form .dc-hero-form__cf7 .wpcf7-validation-errors,
.dc-hero-form .dc-hero-form__cf7 form.invalid .wpcf7-response-output,
.dc-hero-form .dc-hero-form__cf7 form.failed .wpcf7-response-output {
    background: rgba(220,38,38,0.1);
    color: #dc2626;
}

.dc-hero-form .dc-hero-form__cf7 .wpcf7-spinner {
    display: block;
    margin: 12px auto 0;
}

/* CF7 row responsive */
@media (max-width: 768px) {
    .dc-hero-form .dc-hero-form__cf7 .dc-cf7-row--half {
        grid-template-columns: 1fr;
    }
}

/* Form messages */
.dc-hero-form .dc-hero-form__message {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 16px;
}

.dc-hero-form .dc-hero-form__message--success {
    background: rgba(31,163,91,0.1);
    border: 1px solid rgba(31,163,91,0.25);
    color: var(--dc-accent);
}

.dc-hero-form .dc-hero-form__message--error {
    background: rgba(220,38,38,0.1);
    border: 1px solid rgba(220,38,38,0.25);
    color: #dc2626;
}

.dc-hero-form .dc-hero-form__message.is-visible {
    display: flex;
}

.dc-hero-form .dc-hero-form__message svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Trust indicators */
.dc-hero-form .dc-hero-form__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    color: #999;
}

.dc-hero-form .dc-hero-form__trust svg {
    width: 14px;
    height: 14px;
    color: var(--dc-accent);
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
    .dc-hero-form .dc-hero-form-wrapper {
        margin-top: -80px;
        min-height: 70vh;
    }

    .dc-hero-form .dc-hero-form__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 120px 24px 60px;
        min-height: 70vh;
    }

    .dc-hero-form .dc-hero-form__title {
        font-size: clamp(28px, 3.5vw, 42px);
    }
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    .dc-hero-form .dc-hero-form-wrapper {
        margin-top: -70px;
        min-height: auto;
    }

    .dc-hero-form .dc-hero-form__grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 100px 20px 48px;
        gap: 32px;
    }

    .dc-hero-form .dc-hero-form__content {
        text-align: center;
    }

    .dc-hero-form .dc-hero-form__subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .dc-hero-form .dc-hero-form__buttons {
        justify-content: center;
    }

    .dc-hero-form .dc-hero-form__btn {
        width: 100%;
        justify-content: center;
    }

    .dc-hero-form .dc-hero-form__card {
        padding: 24px;
    }
}

/* Fix: grid should stack at 1024px */
@media (max-width: 1024px) {
    .dc-hero-form .dc-hero-form__grid {
        grid-template-columns: 1fr;
    }

    .dc-hero-form .dc-hero-form__content {
        text-align: center;
    }

    .dc-hero-form .dc-hero-form__subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .dc-hero-form .dc-hero-form__buttons {
        justify-content: center;
    }
}

/* Fix: reduce min-height at 768px and hide decorative circles */
@media (max-width: 768px) {
    .dc-hero-form .dc-hero-form-wrapper {
        min-height: 600px;
    }

    .dc-hero-form .dc-hero-form__grid {
        min-height: 600px;
    }

    .dc-hero-form .dc-hero-form__decor--1,
    .dc-hero-form .dc-hero-form__decor--2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .dc-hero-form .dc-hero-form__card {
        padding: 20px 16px;
    }

    .dc-hero-form .dc-hero-form__card-title {
        font-size: 18px;
    }

    .dc-hero-form .dc-hero-form__card-subtitle {
        font-size: 12px;
    }

    .dc-hero-form .dc-hero-form__card-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .dc-hero-form .dc-hero-form__card-icon svg {
        width: 18px;
        height: 18px;
    }

    .dc-hero-form .dc-hero-form__title {
        font-size: clamp(24px, 6vw, 36px);
    }

    .dc-hero-form .dc-hero-form__eyebrow {
        font-size: 18px;
    }

    .dc-hero-form .dc-hero-form__subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .dc-hero-form .dc-hero-form__btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .dc-hero-form .dc-hero-form__input,
    .dc-hero-form .dc-hero-form__textarea {
        height: 48px;
        font-size: 14px;
    }

    .dc-hero-form .dc-hero-form__textarea {
        height: 80px;
    }

    .dc-hero-form .dc-hero-form__submit {
        height: 48px;
        font-size: 14px;
    }

    .dc-hero-form .dc-hero-form__grid {
        padding: 170px 16px 40px;
        gap: 24px;
    }

    .dc-hero-form .dc-hero-form__trust {
        font-size: 11px;
    }

    .dc-hero-form .dc-hero-form__card-header {
        margin-bottom: 20px;
        padding-bottom: 14px;
    }
}
