/* ===========================================================
   Landing de consultas — Hernán Copello
   =========================================================== */

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

:root {
  --fg: #fff;
  --accent: #d8c3a5;
  --dark: #1a1715;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--fg);
  overflow-x: hidden;
  background: var(--dark);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background-image: url('img/hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.4), rgba(0,0,0,.6));
  z-index: 1;
}
.hero > * { position: relative; z-index: 2; }

.frase {
  text-transform: uppercase; letter-spacing: .5em;
  font-size: .8rem; font-weight: 300;
  margin-bottom: 1.2rem; opacity: .9;
}
.nombre {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(3rem, 11vw, 6.5rem);
  line-height: 1; margin-bottom: 1.2rem;
}
.bajada {
  font-weight: 300; font-size: clamp(.95rem, 2.5vw, 1.15rem);
  max-width: 540px; margin: 0 auto 2.5rem; opacity: .9; line-height: 1.6;
}
.cta-row {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}
.btn {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--fg); text-decoration: none;
  padding: .9rem 2.4rem;
  text-transform: uppercase; letter-spacing: .25em;
  font-size: .75rem; font-weight: 400;
  transition: all .35s ease;
  background: rgba(216,195,165,.08); cursor: pointer;
}
.btn:hover { background: var(--accent); color: #2a2a2a; }
.btn-solid { background: var(--accent); color: #2a2a2a; }
.btn-solid:hover { background: #c9b08c; }

.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); z-index: 2; font-size: 1.5rem;
  animation: bob 2s infinite; opacity: .8;
}
@keyframes bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,10px)} }

/* ---------- CONSULTA ---------- */
.consulta {
  padding: 5rem 1.5rem;
  background: var(--dark);
  text-align: center;
}
.consulta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: #f3ede4; margin-bottom: .6rem;
}
.consulta-sub {
  font-weight: 300; opacity: .75; margin-bottom: 2.5rem;
}
.consulta-form { max-width: 1200px; margin: 0 auto; }
.consulta-form iframe {
  width: 100%; min-height: 700px; border: 0;
  background: #fff; border-radius: 6px;
}

/* ---------- FOOTER ---------- */
.brand-footer {
  border-top: 1px solid rgba(216,195,165,.2);
  padding: 4rem 2rem; text-align: center; color: #f3ede4;
}
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; letter-spacing: .15em;
  text-decoration: none; color: var(--fg);
  display: inline-block; margin-bottom: .4rem;
  transition: color .3s;
}
.brand-name:hover { color: var(--accent); }
.brand-tag {
  text-transform: uppercase; letter-spacing: .3em;
  font-size: .65rem; opacity: .6; margin-bottom: 1.5rem;
}
.brand-links {
  display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
}
.brand-links a {
  color: var(--accent); text-decoration: none;
  text-transform: uppercase; letter-spacing: .15em; font-size: .7rem;
  transition: opacity .3s;
}
.brand-links a:hover { opacity: .7; }
.copy { margin-top: 2.5rem; font-size: .65rem; opacity: .4; letter-spacing: .1em; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll; padding: 1.5rem;
    /* En celular usa la foto vertical si la subiste (img/hero-vertical.jpg);
       si no existe, cae a la horizontal automáticamente. */
    background-image: url('img/hero-vertical.jpg'), url('img/hero.jpg');
  }
  .consulta { padding: 3.5rem 1.2rem; }
  .brand-footer { padding: 3rem 1.5rem; }
  .frase { letter-spacing: .35em; font-size: .7rem; }
  .cta-row { flex-direction: column; align-items: center; }
  .cta-row .btn { width: 100%; max-width: 300px; }
}
