@font-face {
    font-family: "Aerotis";
    src: url('fonts/aerotis.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Cormorant", serif;
    background: #F6F5F0;
    color: #111;
    text-align: center;
}

.cormorant {
    font-family: "Cormorant", serif;
    font-optical-sizing: auto;
}
.manrope {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;

}

.aerotis {
    font-family: "Aerotis", serif;
}

/* ── Layout ── */
section {
    padding: 48px 20px;
    max-width: 480px;
    margin: 0 auto 24px;
}

hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 32px auto;
    width: 60%;
}
section.details {
    /* padding-left:10%; */
    padding-top: 0px;
    background: url('imagenes/floral.png') no-repeat left center;
    background-size: auto 70%;

}

/* ── Wireframe block placeholder ── */
.wf-img {
    width: 100%;
    height: 80px;
    background: #eee;
    border: 1px solid #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* ── Hero ── */
.hero {
    background-image: url('imagenes/circular.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 100%;
    height: 850px;
    margin-top: -10vh;
    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: center; */
    /* justify-content: center; */
    vertical-align: middle;
}
.hero .content {
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    /* height: 100vh; */
}

.hero .xv {
    font-size: 1.7rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #888;
    margin-top: 0px;
    margin-bottom: -30px;
    font-weight: medium;
    font-family: "Cormorant", serif;
}

.hero h1 {
    font-family: "Aerotis", serif;
    font-size: 7.5rem;
    margin-left:-30%;
    font-weight: normal;
    line-height: 1;
    margin-bottom: 6px;
    margin-top: 50px;
}

.hero .subtitle {
    font-family: "Cormorant", serif;
    font-size: 1.45rem;
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
    margin-top: -15px;
    margin-left: 30px;
}

/* fecha compuesta: SÁBADO [18 grande] ABRIL */
.date-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 28px;
}

.date-hero .day-label {
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #555;
    line-height: 1;
}

.date-hero .day-num {
    font-family: "Cormorant", serif;
    font-size: 4rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1;
    color: #111;
}

.date-hero .month-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.date-hero .month-label {
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #555;
}

.date-hero .year-label {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #999;
}

/* ── Details ── */
.section-label {
    font-family: "Aerotis", serif;
    font-size: 2.2rem;
    letter-spacing: 4px;
    text-transform: lowercase;
    color: #999;
    /* margin-bottom: 12px; */
    /* border-bottom: 1px solid #ddd; */
    display: inline-block;
    padding-bottom: 4px;
    margin-top: 30px;
    /* border:1px solid red; */
    background-image: url('imagenes/line.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    width: 100%;
}
.section-label:first-child {
    margin-top: 0;
}
.section-label span {
    background: #F6F5F0;
    padding: 0 12px;
    position: relative;
}

.detail-title {
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.detail-time {
    font-size: 2.5rem;
    margin-top: -20px;
    /* font-weight: bold; */
    /* margin-bottom: 6px; */
}
.detail-time span {
    font-size: 1.5rem;
    /* vertical-align: top;
    margin-left: 4px; */
}

.detail-note {
    font-size: 1.2rem;
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

.venue-name {
    font-size: 2rem;
    /* font-weight: bold; */
    margin-bottom: 4px;
    font-style: italic;
}

.venue-address {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 14px;
}

.dress-code h3 {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 4px;
}

.dress-code .dress-title {
    font-size: 2rem;
    /* font-weight: bold; */
    margin-bottom: 4px;
    font-style: italic;
}

.dress-code .dress-note {
    font-size: 1.2rem;
    color: #666;
}
.year {
    font-size: 1.4rem;
    position: relative;
    top: 1.2rem;
    left: -2rem;
}

/* ── Gift ── */
.gift {

    background-image: url('imagenes/footer.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: auto 40%;
    /* font-size: 1.2rem; */
    /* display: block; */
    /* height: 400px; */

    /* padding-right:40%; */
    margin-bottom: 0px;
}
.gift p {
    /* text-align: center; */
    display: inline-block;
    font-size: 1.4rem;
    width: 80%;
    color: #555;
    line-height: 1.7;
    font-style: italic;
}

.cuenta {
    display: inline-block;
    padding: 20px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 200;
    font-size: 1.3rem;
    letter-spacing: 3px;
    /* font-weight: bold; */
    /* letter-spacing: px; */
    /* text-transform: uppercase; */
    /* font-style: italic; */
    /* text-decoration: none; */
    font-family: "Manrope", sans-serif;
    /* transition: background 0.15s, color 0.15s; */
    /* background: #bdb6a6; */
    background: #fff;
    /* color: #555; */
    color: #555;
    margin: 25px;
    margin-bottom: 150px;
}
/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.4rem;
    /* font-weight: bold; */
    letter-spacing: 2px;
    /* text-transform: uppercase; */
    font-style: italic;
    text-decoration: none;
    font-family: "Cormorant", serif;
    transition: background 0.15s, color 0.15s;
}

.btn-primary {
    background: linear-gradient(135deg, #B0B78C, #7C8D7E);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #9ea07d, #6a7a6c);
}

.btn-secondary {
    background: #bdb6a6;
    /* color: #555; */
    color: #fff;
}

.btn-secondary:hover {
    background: #d8d4cc;
}

/* ── Overlay ── */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(180,175,165,0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.overlay.active {
    display: flex;
}

.modal {
    background: #FAF8F4;
    border-radius: 20px;
    padding: 36px 36px 32px;
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: left;
    box-shadow: 0 12px 50px rgba(0,0,0,0.10);
}

.modal-title {
    font-family: "Aerotis", serif;
    font-size: 2.5rem;
    font-weight: normal;
    color: #aaa;
    text-align: center;
    margin-bottom: 28px;
    background-image: url('imagenes/line.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    width: 100%;
}

.modal-title span {
    background: #FAF8F4;
    padding: 0 12px;
    position: relative;
}

.modal .close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
    padding: 4px;
}

.modal .close:hover {
    color: #555;
}

.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
}

.form-row label {
    font-family: "Cormorant", serif;
    font-size: 1.05rem;
    font-style: italic;
    color: #666;
    width: 72px;
    flex-shrink: 0;
}

.form-row input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 50px;
    background: #EDEAE2;
    font-size: 1rem;
    font-family: "Cormorant", serif;
    color: #333;
    outline: none;
}

.form-row input:focus {
    background: #e2dfd6;
}

.form-row input::placeholder {
    color: #bbb;
}

.form-row select {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 50px;
    background: #EDEAE2;
    font-size: 1rem;
    font-family: "Cormorant", serif;
    font-style: italic;
    color: #333;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-color: #EDEAE2;
    cursor: pointer;
}

.form-row select:focus {
    background-color: #e2dfd6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.menu-section {
    margin-top: 22px;
    margin-bottom: 22px;
}

.menu-section label.menu-label {
    font-family: "Cormorant", serif;
    font-size: 1.05rem;
    font-style: italic;
    color: #666;
    display: block;
    margin-bottom: 12px;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background: #EDEBE4;
    flex-shrink: 0;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.radio-option input[type="radio"]:checked {
    border-color: #7C8D7E;
    background: #7C8D7E;
}

.radio-option span {
    font-family: "Cormorant", serif;
    font-size: 1rem;
    font-style: italic;
    color: #666;
}

.modal .btn-confirm {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #7A8F6E;
    color: #fff;
    font-family: "Cormorant", serif;
    font-size: 1.15rem;
    font-style: italic;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.15s;
    margin-top: 30px;
}

.modal .btn-confirm:hover {
    background: #6a7e5e;
}

/* ── Success ── */
.success-msg {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.success-msg p {
    color: #333;
    line-height: 1.7;
    font-size: 1.2rem;
}
