/* Kutyavarazslo.hu - Kedvenc adatlapja */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

.petform-page {
    color: #23321d;
    font-family: Arial, sans-serif;
    background: #ffffff;
}

.petform-subhero {
    background: linear-gradient(135deg, #18351f 0%, #2f5a33 52%, #54744c 100%);
    overflow: hidden;
    border-top: 2px solid #d9a83c;
}

.petform-subhero-inner {
    width: min(1420px, calc(100% - 48px));
    min-height: 360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 48% 52%;
    align-items: stretch;
}

.petform-subhero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 36px 52px 0;
    text-align: center;
    color: #ffffff;
}

.petform-kicker {
    margin-bottom: 10px;
    color: #e8b94e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
}

.petform-subhero-content h1 {
    margin: 0;
    color: #f2cf69;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 5vw, 70px);
    font-weight: 500;
    line-height: 1.05;
}

.petform-title-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 22px 0 20px;
    color: #e8b94e;
}

.petform-title-decoration span {
    width: 95px;
    height: 1px;
    background: rgba(232,185,78,.75);
}

.petform-subhero-content p {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(255,255,255,.94);
    font-size: 17px;
    line-height: 1.65;
}

.petform-subhero-image {
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.petform-subhero-image img {
    width: 100%;
    height: 100%;
    max-height: 390px;
    display: block;
    object-fit: contain;
    object-position: center bottom;
}

.petform-main {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
    padding: 48px 0 64px;
}

.petform-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.petform-section {
    padding: 28px;
    border: 1px solid #c9a84e;
    border-radius: 18px;
    background: linear-gradient(135deg, #fbfff7 0%, #edf5e7 100%);
    box-shadow: 0 12px 30px rgba(33,75,44,.06);
}

.petform-section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.petform-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #214b2c;
    color: #efc75c;
    font-size: 20px;
}

.petform-section-title span {
    color: #a66e13;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.petform-section-title h2 {
    margin: 4px 0 0;
    color: #31502e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 600;
}

.petform-grid {
    display: grid;
    gap: 20px;
}

.petform-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.petform-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
}

.petform-grid .petform-field {
    margin-top: 0;
}

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

.petform-field label {
    color: #31502e;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.petform-field label em,
.petform-consent em {
    color: #a66e13;
    font-style: normal;
}

.petform-field input[type="text"],
.petform-field input[type="tel"],
.petform-field input[type="email"],
.petform-field input[type="date"],
.petform-field textarea {
    width: 100%;
    border: 1px solid #c8d3c2;
    border-radius: 10px;
    background: #ffffff;
    color: #283529;
    font-family: Arial, sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.petform-field input[type="text"],
.petform-field input[type="tel"],
.petform-field input[type="email"],
.petform-field input[type="date"] {
    height: 48px;
    padding: 0 14px;
}

.petform-field textarea {
    min-height: 110px;
    padding: 14px;
    resize: vertical;
}

.petform-field input:focus,
.petform-field textarea:focus {
    border-color: #a98a35;
    box-shadow: 0 0 0 3px rgba(201,168,78,.15);
}

.petform-options {
    display: flex;
    gap: 18px;
    align-items: center;
    min-height: 48px;
}

.petform-options-wrap {
    flex-wrap: wrap;
}

.petform-options label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    cursor: pointer;
}

.petform-options input {
    accent-color: #31502e;
}

.petform-consent {
    padding: 4px 4px 0;
}

.petform-consent label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #485347;
    font-size: 14px;
    line-height: 1.55;
    cursor: pointer;
}

.petform-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #31502e;
}

.petform-consent a {
    color: #31502e;
    font-weight: 700;
}

.petform-submit {
    text-align: center;
}

.petform-submit button {
    min-height: 52px;
    padding: 0 30px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #2f5a33, #214b2c);
    color: #f2cf69;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(33,75,44,.18);
}

.petform-submit button i {
    margin-right: 8px;
}

.petform-message {
    margin-bottom: 24px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.55;
}

.petform-message-success {
    border: 1px solid #9bb993;
    background: #f1f8ee;
    color: #31502e;
}

.petform-message-error {
    border: 1px solid #d7b58c;
    background: #fff8ef;
    color: #6d481f;
}

.petform-message ul {
    margin: 6px 0 0;
    padding-left: 20px;
}

.petform-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 900px) {
    .petform-subhero-inner {
        grid-template-columns: 1fr;
    }

    .petform-subhero-content {
        padding: 48px 24px 22px;
    }

    .petform-subhero-image {
        min-height: 280px;
    }
}

@media (max-width: 700px) {
    .petform-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .petform-subhero-inner {
        width: 100%;
    }

    .petform-subhero-content h1 {
        font-size: 42px;
    }

    .petform-title-decoration span {
        width: 55px;
    }

    .petform-subhero-image {
        min-height: 230px;
    }

    .petform-main {
        width: min(100% - 24px, 1080px);
        padding-top: 36px;
    }

    .petform-section {
        padding: 22px 18px;
    }

    .petform-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .petform-submit button {
        width: 100%;
    }
}
