/* Homepage components on top of the shared trip layout */

.hero-lead{
  margin-top:18px;
  max-width:36ch;
  font-size:clamp(17px,2vw,20px);
  line-height:1.45;
  color:color-mix(in srgb, var(--hero-fg) 92%, white);
  font-weight:400;
}
.hero-actions{
  display:flex;flex-wrap:wrap;gap:12px;
  margin-top:28px;
}
.btn-on-hero{
  background:transparent;
  color:var(--hero-fg);
  border:1px solid color-mix(in srgb, var(--hero-fg) 55%, transparent);
}
.btn-on-hero:hover{
  background:rgba(247,242,230,.12);
  border-color:var(--hero-fg);
}

.home-section{
  padding:80px 0;
  border-top:1px solid var(--line);
}
.home-section .section-kicker{
  font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--warm-text);font-weight:500;margin-bottom:10px;
}
.home-section h2{
  font-size:clamp(28px,3.6vw,44px);
  margin-bottom:14px;
}
.home-section .lead,
.home-section .prose{
  font-size:17px;color:var(--ink-muted);max-width:62ch;line-height:1.7;
}
.section-head{margin-bottom:32px;}

/* Trip cards */
.trip-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}
.trip-card{
  display:flex;flex-direction:column;
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  box-shadow:var(--shadow-soft);
  transition:transform .2s, box-shadow .2s, border-color .2s;
}
.trip-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
  border-color:color-mix(in srgb, var(--accent) 45%, var(--line));
}
.trip-card .card-media{
  aspect-ratio:3/2;overflow:hidden;background:var(--bg-deep);
}
.trip-card .card-media img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .5s ease;
}
.trip-card:hover .card-media img{transform:scale(1.04);}
.trip-card .card-body{
  display:flex;flex-direction:column;gap:8px;
  padding:20px 22px 22px;
  flex:1;
}
.trip-card .card-type{
  font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;
  font-weight:600;color:var(--warm-text);
}
.trip-card h3{
  font-size:clamp(20px,2vw,24px);
  line-height:1.25;
}
.trip-card .card-summary{
  font-size:14.5px;color:var(--ink-muted);line-height:1.55;
  flex:1;
}
.trip-card .card-price{
  font-family:var(--font-serif);
  font-size:16.5px;font-weight:600;color:var(--brand-deep);
  margin-top:4px;
}
.trip-card .card-cta{
  margin-top:8px;
  font-size:14px;font-weight:600;color:var(--brand);
  display:inline-flex;align-items:center;gap:6px;
}
.trip-card:hover .card-cta{color:var(--accent);}
.trip-card .card-cta svg{width:16px;height:16px;}

.trip-card.is-camino{--card-accent:#42502F;}
.trip-card.is-verano{--card-accent:#6D1029;}
.trip-card.is-peru{--card-accent:#2F6F7E;}
.trip-card.is-costarica{--card-accent:#1F5C45;}
.trip-card.is-camino .card-type,
.trip-card.is-verano .card-type,
.trip-card.is-peru .card-type,
.trip-card.is-costarica .card-type{color:var(--card-accent);}

@media (max-width:800px){
  .trip-grid{grid-template-columns:1fr;}
}

/* Viajes a la medida */
#medida{
  background:var(--bg-deep);
}
.medida-inner{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
  gap:48px;
  align-items:center;
}
.medida-panel{
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:32px 28px;
  box-shadow:var(--shadow-soft);
}
.medida-panel p{
  font-size:16px;color:var(--ink-muted);margin:0 0 22px;
}
@media (max-width:800px){
  .medida-inner{grid-template-columns:1fr;gap:28px;}
}

/* Quiénes somos */
#nosotros .prose p{margin:0;}
#nosotros .wrap{max-width:820px;}

/* Contact form extras */
.quote-form select{
  background:#fff;border:1px solid var(--line);color:var(--ink);
  padding:12px 14px;font-size:15px;border-radius:10px;width:100%;
  appearance:auto;
}
.quote-form select:focus{border-color:var(--brand);box-shadow:var(--focus);outline:none;}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
@media (max-width:640px){.field-row{grid-template-columns:1fr;}}
.consent label{
  display:flex;align-items:flex-start;gap:10px;
  font-size:14.5px;color:var(--ink);font-weight:400;cursor:pointer;
  max-width:100%;
}
.consent input{
  margin-top:3px;accent-color:var(--brand);flex-shrink:0;
  width:auto;height:auto;padding:0;border:0;background:transparent;
  border-radius:0;box-shadow:none;
}
.consent span{flex:1;min-width:0;}
.form-error{
  color:var(--warm-text);
  background:color-mix(in srgb, var(--accent) 16%, white);
  border:1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  padding:10px 12px;border-radius:10px;font-size:14.5px;
}
.form-status{font-size:14.5px;color:var(--ink-muted);}

/* Footer social links */
.footer-social{
  margin-top:18px;
  display:flex;justify-content:center;align-items:center;gap:10px;
  flex-wrap:wrap;
}
.social-link{
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:50%;
  border:1px solid var(--line);
  color:var(--brand-deep);
  background:transparent;
  text-decoration:none;
  transition:background .15s,border-color .15s,color .15s;
}
.social-link:hover{
  border-color:var(--brand);
  color:var(--brand);
  background:color-mix(in srgb, var(--bg-deep) 70%, white);
}
.social-link svg{width:18px;height:18px;}

/* Mobile bar */
.mobile-bar-inner{display:flex;align-items:center;gap:12px;}
.mobile-bar-copy{
  font-family:var(--font-serif);font-weight:600;font-size:14.5px;
  color:var(--brand-deep);line-height:1.25;flex:1;
}
.mobile-bar .btn{flex-shrink:0;}

@media (max-width:520px){
  .home-section{padding:56px 0;}
  .hero{min-height:min(90vh,740px);}
}
