/* ==========================================================
   RESERVAS · RESTAURANTE PONCHO'S
========================================================== */

.reservation-section{
  padding:96px 0 110px;
  background:var(--cream);
}

.reservation-layout{
  display:grid;
  grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);
  gap:clamp(32px,5vw,64px);
  align-items:start;
}

.reservation-info,
.reservation-form-card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:rgba(255,255,255,.62);
  box-shadow:var(--shadow);
}

.reservation-info{
  position:sticky;
  top:112px;
  padding:clamp(30px,4vw,46px);
}

.reservation-info h2,
.reservation-form-card h2{
  margin:.12em 0 .32em;
  color:var(--green-dark);
  font-family:var(--serif);
  font-size:clamp(2rem,3.5vw,3.1rem);
  font-weight:500;
  line-height:1.05;
}

.reservation-info__intro,
.reservation-form-card__head > p:last-child{
  margin:0;
  color:var(--muted);
  line-height:1.75;
}

.reservation-contact{
  display:grid;
  margin-top:30px;
}

.reservation-contact a{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:18px 0;
  border-bottom:1px solid rgba(31,58,47,.12);
  color:var(--green);
  text-decoration:none;
  transition:color .2s ease,padding-left .2s ease;
}

.reservation-contact a:first-child{
  border-top:1px solid rgba(31,58,47,.12);
}

.reservation-contact a:hover{
  padding-left:5px;
  color:var(--gold);
}

.reservation-contact__label{
  color:var(--gold);
  font-size:.72rem;
  font-weight:850;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.reservation-contact strong{
  font-size:1rem;
  overflow-wrap:anywhere;
}

.reservation-note{
  margin-top:28px;
  padding:18px 20px;
  border:1px solid rgba(185,137,77,.34);
  border-radius:14px;
  background:rgba(238,226,209,.72);
}

.reservation-note strong{
  color:var(--green-dark);
}

.reservation-note p{
  margin:5px 0 0;
  color:var(--muted);
  font-size:.92rem;
  line-height:1.6;
}

.reservation-form-card{
  padding:clamp(30px,4vw,50px);
}

.reservation-form-card__head{
  max-width:680px;
  margin-bottom:34px;
}

.reservation-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px 24px;
}

.form-field{
  min-width:0;
}

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

.form-field label{
  display:block;
  margin-bottom:8px;
  color:var(--green-dark);
  font-size:.88rem;
  font-weight:800;
}

.form-field label span[aria-hidden="true"]{
  color:var(--gold);
}

.form-field input,
.form-field textarea,
.form-field select{
  width:100%;
  min-height:52px;
  padding:13px 15px;
  border:1px solid rgba(31,58,47,.20);
  border-radius:12px;
  outline:0;
  background:rgba(255,255,255,.9);
  color:var(--ink);
  box-shadow:0 4px 12px rgba(18,33,26,.025);
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background-color .2s ease;
}

.form-field textarea{
  min-height:138px;
  resize:vertical;
  line-height:1.55;
}

.form-field input::placeholder,
.form-field textarea::placeholder{
  color:#8b8c84;
}

.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover{
  border-color:rgba(185,137,77,.55);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus{
  border-color:var(--gold);
  background:var(--white);
  box-shadow:0 0 0 4px rgba(185,137,77,.13);
}

.form-field input:invalid:not(:placeholder-shown):not(:focus),
.form-field textarea:invalid:not(:placeholder-shown):not(:focus){
  border-color:rgba(156,67,55,.45);
}

.form-consent{
  padding-top:4px;
}

.form-consent label{
  display:flex;
  align-items:flex-start;
  gap:11px;
  margin:0;
  color:var(--muted);
  font-size:.9rem;
  font-weight:500;
  line-height:1.55;
  cursor:pointer;
}

.form-consent input{
  width:18px;
  height:18px;
  min-height:0;
  flex:0 0 18px;
  margin:3px 0 0;
  accent-color:var(--green);
}

.form-consent a{
  color:var(--green);
  font-weight:750;
}

.form-submit{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px 18px;
  padding-top:6px;
}

.form-submit p{
  margin:0;
  color:var(--muted);
  font-size:.82rem;
}

@media(max-width:900px){
  .reservation-layout{
    grid-template-columns:1fr;
  }

  .reservation-info{
    position:static;
  }
}

@media(max-width:620px){
  .reservation-section{
    padding:68px 0 78px;
  }

  .reservation-info,
  .reservation-form-card{
    padding:28px 24px;
  }

  .reservation-form{
    grid-template-columns:1fr;
    gap:18px;
  }

  .form-field--full{
    grid-column:auto;
  }

  .form-submit{
    align-items:stretch;
    flex-direction:column;
  }

  .form-submit .btn{
    width:100%;
  }
}

@media(prefers-reduced-motion:reduce){
  .reservation-contact a,
  .form-field input,
  .form-field textarea,
  .form-field select{
    transition:none;
  }
}
