/* Linktree de Latitud 365 Real Estate · colores y tipografías de la marca (noviembre 2026) */
:root {
  --navy: #0b3550;
  --ocean: #0e5c86;
  --teal: #25a9b8;
  --gold: #c9a44c;
  --sand: #f3f0e8;
  --ink: #12263a;
  --muted: #4d5d6c;
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .42));
  --title: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; }

/* Fondo: arena con un brillo turquesa muy tenue, como el mar del video */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 18%, rgba(37, 169, 184, .14), transparent 40%),
    radial-gradient(circle at 92% 78%, rgba(14, 92, 134, .12), transparent 42%),
    radial-gradient(circle at 60% 110%, rgba(201, 164, 76, .14), transparent 45%);
}

.page {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  margin: 0 auto;
  padding: 18px 16px calc(32px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Encabezado */
.hero {
  position: relative;
  width: 100%;
  padding: 44px 22px 24px;
  border-radius: 26px;
  background: linear-gradient(155deg, var(--ocean) 0%, var(--navy) 62%, #082a40 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 16px 34px rgba(11, 53, 80, .28);
}
/* Líneas de latitud: arcos dorados muy tenues detrás del logo */
.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  border: 1px solid rgba(201, 164, 76, .22);
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero::before { width: 560px; height: 560px; top: 46px; }
.hero::after { width: 760px; height: 760px; top: 96px; border-color: rgba(255, 255, 255, .08); }
.hero h1 { margin: 0; line-height: 0; }
.hero-logo {
  width: min(100%, 300px);
  height: auto;
  filter: brightness(0) invert(1);
}
.hero-line { display: block; width: 64px; height: 2px; margin: 18px auto 14px; background: var(--gold); border-radius: 2px; }
.tagline {
  margin: 0 auto;
  max-width: 330px;
  font-family: var(--title);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(19px, 5.4vw, 22px);
  line-height: 1.25;
  text-wrap: balance;
}
.place {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0 0;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
}
.place svg { width: 15px; height: 15px; fill: var(--gold); }

/* Video */
.video-card {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #cfd9de;
  box-shadow: 0 10px 24px rgba(11, 53, 80, .16);
}
.video-card video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Títulos de sección con filete dorado */
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 360px);
  margin: 8px 0 -2px;
  font-family: var(--title);
  font-weight: 600;
  font-size: 23px;
  line-height: 1;
  color: var(--navy);
}
.section-title::before, .section-title::after { content: ""; flex: 1; height: 1px; background: rgba(201, 164, 76, .7); }

/* Botones con contorno (contacto) */
.stack { width: min(100%, 360px); display: grid; gap: 12px; }
.btn-outline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 8px 46px 8px 66px;
  border: 1.5px solid var(--navy);
  border-radius: 18px;
  background: var(--glass);
  color: var(--navy);
  font-size: 16.5px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(11, 53, 80, .08), inset 0 1px 0 rgba(255, 255, 255, .8);
  transition: transform .15s, box-shadow .15s;
}
.btn-outline strong { font-weight: 700; }
.btn-outline .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.btn-outline .ico {
  position: absolute;
  left: 13px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  transform: translateY(-50%);
}
.btn-outline .ico svg { width: 22px; height: 22px; fill: #fff; }
.btn-outline .ico svg.stroke { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-outline:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(11, 53, 80, .14), inset 0 1px 0 rgba(255, 255, 255, .8); }

/* Botones sólidos (redes) */
.stack-solid { width: min(100%, 340px); }
.btn-solid {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 8px 60px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 8px 18px rgba(11, 53, 80, .24);
  transition: transform .15s, box-shadow .15s, background-color .15s;
}
.btn-solid svg {
  position: absolute;
  left: 22px;
  top: 50%;
  width: 26px;
  height: 26px;
  fill: #fff;
  transform: translateY(-50%);
}
.btn-solid svg .cut { fill: var(--navy); transition: fill .15s; }
.btn-solid svg.stroke { fill: none; stroke: #fff; stroke-width: 1.7; }
.btn-solid:hover { background: var(--ocean); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(14, 92, 134, .3); }
.btn-solid:hover svg .cut { fill: var(--ocean); }

.foot {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--muted);
  text-align: center;
}

/* Compartir: página completa y cada enlace (llamada y correo no se comparten) */
.page-share {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}
.page-share:hover { background: rgba(255, 255, 255, .22); }
.page-share svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.link-item { position: relative; }
.link-item > a { width: 100%; }
.card-share {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--navy);
  transform: translateY(-50%);
}
.card-share svg { width: 18px; height: 18px; fill: currentColor; }
.card-share:hover, .card-share:focus-visible { background: rgba(11, 53, 80, .1); }
.solid-item .card-share { color: #fff; }
.solid-item .card-share:hover, .solid-item .card-share:focus-visible { background: rgba(255, 255, 255, .18); }

@media (max-width: 360px) {
  .page { padding-left: 12px; padding-right: 12px; }
  .hero { padding: 42px 16px 22px; }
  .btn-outline { font-size: 15.5px; padding-left: 62px; }
}
@media (min-width: 700px) {
  .page { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
