* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
    padding: 20px;
    color: #1E3A3A;
    font-size: 16px;
    line-height: 1.6;
}

.container {
    max-width: 850px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(30, 58, 58, 0.15);
    overflow: hidden;
    border: 1px solid rgba(32, 178, 170, 0.2);
}

.logo-section {
    background: white;
    padding: 20px 30px 15px 30px;
    text-align: center;
    border-bottom: 2px solid rgba(32, 178, 170, 0.2);
}

.logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.header {
    background: linear-gradient(135deg, #D2691E 0%, #1A9A94 100%);
    color: white;
    padding: 30px 30px 35px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.header p {
    font-size: 1.1em;
    opacity: 0.95;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1em;
    opacity: 0.9;
    font-style: italic;
    margin-bottom: 15px !important;
    margin-top: -5px !important;
}

.btn-primary {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, #E67E22 0%, #20B2AA 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 8px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(32, 178, 170, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-helper {
    font-size: 0.85em;
    opacity: 0.85;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.header-contact {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.book-via-label {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.85;
    font-weight: 400;
    margin-right: auto;
}

.contact-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 0.85em;
    cursor: pointer;
    opacity: 0.9;
    padding: 4px 8px;
}

.contact-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.contact-btn {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 0.9em;
    cursor: pointer;
    opacity: 0.9;
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    opacity: 1;
    transform: translateY(-1px);
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 35px;
    padding: 20px 30px;
    background: rgba(32, 178, 170, 0.05);
    border-bottom: 1px solid rgba(32, 178, 170, 0.1);
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.trust-item {
    font-size: 0.95em;
    font-weight: 600;
}

.trust-icon {
    font-size: 1.4em;
    margin-right: 6px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    color: #1E3A3A;
    font-weight: 500;
}

.trust-icon {
    font-size: 1.2em;
}

.form-container {
    padding: 30px 30px 40px 30px;
    position: relative;
}

.form-title {
    font-size: 1.8em;
    color: #1E3A3A;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.form-subtitle {
    font-size: 0.95em;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-style: italic;
}

.required-note {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 30px;
    padding: 12px;
    background: rgba(32, 178, 170, 0.05);
    border-radius: 8px;
}

.required-note .required {
    color: #E67E22;
    font-weight: 700;
    margin-right: 4px;
}

.form-section {
    margin-bottom: 50px;
    padding: 35px 30px;
    background: rgba(32, 178, 170, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(32, 178, 170, 0.08);
}

.form-section:last-of-type {
    margin-bottom: 35px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(32, 178, 170, 0.2);
}

.section-icon {
    font-size: 1.5em;
    line-height: 1;
    display: flex;
    align-items: center;
}

.section-header h2 {
    font-size: 1.4em;
    color: #1E3A3A;
    font-weight: 700;
    margin: 0;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-section > .form-group:last-child {
    margin-bottom: 0;
}

.form-group.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.two-column > div {
    display: flex;
    flex-direction: column;
}

.form-group.two-column > div label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #1E3A3A;
    font-size: 0.95em;
}

.form-group.two-column > div input,
.form-group.two-column > div select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(32, 178, 170, 0.3);
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: inherit;
    color: #1E3A3A;
    background: #fff;
}

.form-group.two-column > div input:focus,
.form-group.two-column > div select:focus {
    outline: none;
    border-color: #20B2AA;
    box-shadow: 0 0 0 4px rgba(32, 178, 170, 0.1);
    transform: translateY(-1px);
}

.form-group.two-column > div input:valid:not(:placeholder-shown) {
    border-color: rgba(32, 178, 170, 0.5);
}

.form-group.two-column > div input:invalid:not(:placeholder-shown):not(:focus),
.form-group.two-column > div input.error {
    border-color: #E67E22;
}

.form-group.two-column > div .error-message {
    display: block;
    color: #E67E22;
    font-size: 0.85em;
    margin-top: 6px;
    min-height: 0;
    height: 0;
    opacity: 0;
    transition: opacity 0.3s ease, height 0.3s ease;
    overflow: hidden;
}

.form-group.two-column > div .error-message.show {
    height: auto;
    min-height: auto;
}

.form-group.two-column > div .error-message.show {
    opacity: 1;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #1E3A3A;
    font-size: 1em;
    letter-spacing: -0.01em;
}

.form-group label .required {
    color: #E67E22;
    margin-left: 3px;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(32, 178, 170, 0.4);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    color: #1E3A3A;
    background: #fff;
}

.form-group input::placeholder {
    color: #bbb;
    opacity: 0.8;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #20B2AA;
    box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.15);
    transform: translateY(-1px);
}

.form-group input:valid:not(:placeholder-shown) {
    border-color: rgba(32, 178, 170, 0.5);
}

.form-group input:invalid:not(:placeholder-shown):not(:focus),
.form-group input.error {
    border-color: #E67E22;
}

.form-group input.error:focus {
    border-color: #E67E22;
    box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.1);
}

.error-message {
    display: block;
    color: #E67E22;
    font-size: 0.85em;
    margin-top: 6px;
    min-height: 0;
    height: 0;
    opacity: 0;
    transition: opacity 0.3s ease, height 0.3s ease;
    overflow: hidden;
}

.error-message.show {
    opacity: 1;
    height: auto;
    min-height: auto;
}


.radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border: 2px solid rgba(32, 178, 170, 0.25);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
}

.radio-option:hover {
    border-color: #20B2AA;
    background: rgba(32, 178, 170, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(32, 178, 170, 0.15);
}

.radio-option input[type="radio"]:checked + label {
    color: #20B2AA;
    font-weight: 600;
}

.radio-option input[type="radio"]:checked ~ label {
    color: #20B2AA;
}

.radio-option input[type="radio"]:checked {
    accent-color: #20B2AA;
}

.radio-option.checked,
.radio-option:has(input[type="radio"]:checked) {
    border-color: #20B2AA;
    background: rgba(32, 178, 170, 0.1);
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #20B2AA;
}

.radio-option label {
    margin: 0;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 4px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border: 2px solid rgba(32, 178, 170, 0.25);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
}

.checkbox-option:hover {
    border-color: #20B2AA;
    background: rgba(32, 178, 170, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(32, 178, 170, 0.15);
}

.checkbox-option.checked,
.checkbox-option:has(input[type="checkbox"]:checked) {
    border-color: #20B2AA;
    background: rgba(32, 178, 170, 0.1);
}

.checkbox-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #20B2AA;
}

.checkbox-option label {
    margin: 0;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.checkbox-option input[type="checkbox"]:checked + label {
    color: #20B2AA;
    font-weight: 600;
}

.total-display {
    background: rgba(32, 178, 170, 0.08);
    color: #1E3A3A;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0 25px 0;
    border: 2px solid rgba(32, 178, 170, 0.15);
    transition: all 0.3s ease;
}

.total-display:hover {
    border-color: rgba(32, 178, 170, 0.25);
    background: rgba(32, 178, 170, 0.12);
}

.total-display.sticky-total {
    position: sticky;
    bottom: 20px;
    z-index: 100;
    margin-top: 30px;
}

.total-content {
    position: relative;
}

.total-display .label {
    font-size: 0.95em;
    margin-bottom: 8px;
    opacity: 0.8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85em;
}

.total-display .amount {
    font-size: 2.2em;
    font-weight: 700;
    color: #20B2AA;
    transition: transform 0.3s ease;
}

.total-display .amount.updated {
    animation: pulse 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #E67E22 0%, #20B2AA 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.3em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(32, 178, 170, 0.5);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn.loading {
    pointer-events: none;
}

.btn-text {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.submit-btn.loading .btn-loader {
    display: flex;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.message {
    padding: 18px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
    border-left: 4px solid;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        border-radius: 12px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .logo-section {
        padding: 20px 20px 15px 20px;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .header {
        padding: 30px 20px;
    }
    
    .header h1 {
        font-size: 1.8em;
    }
    
    .header-contact {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .book-via-label {
        margin-bottom: 5px;
        margin-right: 0;
        width: 100%;
    }
    
    .contact-link {
        font-size: 0.9em;
        padding: 6px 0;
    }
    
    .contact-btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
    
    .btn-primary {
        width: 100%;
        padding: 16px;
        font-size: 1.1em;
    }
    
    .form-title {
        font-size: 1.5em;
    }
    
    .trust-indicators {
        gap: 20px;
        padding: 20px;
        font-size: 0.85em;
        margin-bottom: 35px;
    }
    
    .form-container {
        padding: 60px 20px 30px 20px;
    }
    
    .form-section {
        margin-bottom: 35px;
        padding: 25px 20px;
    }
    
    .required-note {
        font-size: 0.85em;
        margin-bottom: 25px;
        padding: 10px;
    }
    
    .section-header {
        margin-bottom: 24px;
        padding-bottom: 16px;
    }
    
    .section-header h2 {
        font-size: 1.2em;
    }
    
    .section-icon {
        font-size: 1.3em;
    }
    
    .form-group {
        margin-bottom: 22px;
    }
    
    .form-section > .form-group:last-child {
        margin-bottom: 0;
    }
    
    .form-group.two-column {
        grid-template-columns: 1fr;
    }
    
    .form-group input[type="text"],
    .form-group input[type="number"],
    .form-group input[type="date"],
    .form-group input[type="time"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select,
    .form-group.two-column > div input,
    .form-group.two-column > div select {
        padding: 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .radio-option {
        width: 100%;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .checkbox-option {
        width: 100%;
    }
    
    .total-display {
        padding: 25px 20px;
        margin: 30px 0 25px 0;
    }
    
    .total-display .amount {
        font-size: 2.2em;
    }
    
    .total-display.sticky-total {
        position: relative;
        bottom: auto;
    }
    
    .submit-btn {
        padding: 16px;
        font-size: 1.1em;
    }
}
