/* ==========================================================================
   MÓVIL — capa de diseño propia (se carga la última, sólo actúa en pantallas pequeñas)
   Sistema:  2 fuentes  → títulos Cormorant Garamond 500 · texto Manrope 400-700
   Escala:   texto 15-16px · etiquetas 11px mín. · títulos 34-46px · zona táctil 48px
   Ritmo:    secciones separadas por aire (72px) y líneas finas, no por cajas con borde
   ========================================================================== */

@media (max-width: 980px) {
  .nav-contact { display: none; }               /* "Contacto" ya está en el menú */
  .nav-glass { justify-content: space-between; }
  .nav-links { min-height: 0; padding: 26px 28px 30px; gap: 0; }
  .nav-link { font-family: var(--font-head); font-size: 30px; font-weight: 500; letter-spacing: 0; text-transform: none;
              padding: 13px 0; border-bottom: 1px solid rgba(233,190,112,.14); }
  .nav-link:last-child { border-bottom: 0; }
}

@media (max-width: 660px) {
  :root { --m-pad: 22px; }
  body { font-size: 16px; -webkit-text-size-adjust: 100%; }
  .layout { width: calc(100% - (var(--m-pad) * 2)); }

  /* ---------- tipografía base ---------- */
  .hero__title, .section-heading h2, .story h2, .story h3,
  .property-card h3, .reviews__header h2, .trust-panel__brand h3, .trust-card h4,
  .final-cta h2, .ckl-services__title-main, .ckl-services__title-em, .ckl-card h3 { font-weight: 500; text-shadow: none; }
  .eyebrow { font-size: 11px; letter-spacing: .2em; gap: 10px; margin-bottom: 18px; }
  .eyebrow__line { width: 24px; }
  .eyebrow--center::before, .eyebrow--center::after { width: 18px; }

  /* ---------- cabecera ---------- */
  .header { top: 8px; padding: 0 10px; }
  .nav-glass { height: 60px; padding: 0 8px 0 14px; }
  .nav-brand img { width: 40px; height: 40px; }
  .nav-brand__name { font-size: 16px; line-height: 1.05; letter-spacing: .1em; font-weight: 500; }
  .nav-brand__name small { font-size: 8px; letter-spacing: .3em; margin-top: 5px; }
  .mobile-toggle { width: 46px; height: 46px; }
  .nav-links { top: 72px; left: 10px; right: 10px; }

  /* ---------- hero ---------- */
  .hero { min-height: 640px; height: 100svh; max-height: 880px; }
  .hero-frame { display: none; }
  .hero__inner { padding: 104px 0 96px; justify-content: flex-start; }
  .hero-background__shade { background: linear-gradient(0deg, rgba(6,12,21,.97) 6%, rgba(6,12,21,.72) 42%, rgba(7,13,21,.25) 78%, rgba(7,13,21,.5)); }
  .hero__eyebrow { margin-bottom: 12px; }
  .hero__title { font-size: clamp(42px, 12vw, 52px); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 18px; }
  .hero__title br, .final-cta h2 br, .story h3 br, .trust-panel__brand h3 br { display: none; }
  .hero__title i { display: block; }
  .hero__desc { font-size: 16px; line-height: 1.6; max-width: 34ch; margin-bottom: 26px; color: #ece8df; }
  .hero__buttons { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero__buttons .button, .hero__buttons .button--glass { width: 100%; min-height: 52px; font-size: 12px; letter-spacing: .1em; justify-content: space-between; padding: 0 20px; }
  .hero__footer { bottom: 26px; }
  .hero__footer > p { font-size: 10px; letter-spacing: .14em; }
  .hero__scroll { display: none; }
  .hero-curve { display: none; }


  /* ---------- servicios (carrusel) ---------- */
  .ckl-services { padding: 72px 0 120px; }
  .ckl-services__eyebrow { font-size: 11px; letter-spacing: .22em; }
  .ckl-services__title-main { font-size: clamp(34px, 9.6vw, 42px); line-height: 1.05; letter-spacing: -.01em; }
  .ckl-services__title-em { font-size: clamp(44px, 12.5vw, 54px); line-height: 1; margin-top: 2px; }
  .ckl-services__intro { font-size: 15.5px; line-height: 1.65; max-width: 32ch; }
  .ckl-card { height: 540px; flex-basis: 84vw; }
  .ckl-card__inner { padding: 232px 24px 26px; }
  .ckl-card h3 { font-size: 40px; line-height: 1; }
  .ckl-card__kicker { font-size: 10.5px; letter-spacing: .1em; }
  .ckl-card__copy { font-size: 15px; line-height: 1.6; max-width: none; }
  .ckl-card__cta { font-size: 11px; letter-spacing: .14em; min-height: 48px; }

  /* ---------- nuestra historia ---------- */
  .story__photo { height: 340px; }
  .story__image-label { font-size: 10px; }
  .story__content { padding: 64px var(--m-pad) 72px; }
  .story h2 { font-size: clamp(50px, 15vw, 64px); line-height: .96; margin-bottom: 18px; }
  .story h3 { font-size: 30px; line-height: 1.12; margin-bottom: 18px; }
  .story__content-inner > p:not(.eyebrow) { font-size: 16px; line-height: 1.7; margin-bottom: 26px; }
  .story-values { gap: 0; margin: 26px 0 30px; padding-top: 22px; }
  .story-values span { font-size: 22px; }
  .story-values strong { font-size: 22px; font-weight: 500; }
  .story-values small { font-size: 11.5px; }
  .story .button { min-height: 52px; font-size: 12px; justify-content: space-between; padding: 0 20px; }

  /* ---------- propiedades ---------- */
  .services, .properties { padding: 72px 0 56px; }
  .properties { padding-bottom: 0; }
  .properties + .reviews { margin-top: 0; }
  .section-heading { text-align: left; margin-bottom: 30px; }
  .section-heading .eyebrow--center { justify-content: flex-start; }
  .section-heading .eyebrow--center::before, .section-heading .eyebrow--center::after { display: none; }
  .section-heading .eyebrow--center::before { display: inline-block; }
  .section-heading h2 { font-size: clamp(38px, 11vw, 46px); line-height: 1.04; letter-spacing: -.01em; }
  .section-heading > p:last-child { font-size: 15.5px; line-height: 1.65; }
  .property-grid { gap: 40px; }
  .property-card { background: none; border: 0; border-radius: 0; box-shadow: none; }
  .property-card__media { height: 240px; border-radius: 10px; }
  .property-card__badge { font-size: 10px; padding: 7px 10px; top: 12px; left: 12px; }
  .property-card__content { padding: 20px 2px 0; }
  .location { font-size: 11px; letter-spacing: .13em; }
  .property-card h3 { font-size: 32px; line-height: 1.06; margin-bottom: 10px; }
  .property-card h3 br { display: none; }
  .property-card__desc { font-size: 15px; line-height: 1.6; min-height: 0; margin-bottom: 18px; }
  .property-card__bottom { padding-top: 14px; }
  .property-card__bottom span { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
  .round-arrow { width: 46px; height: 46px; }
  .properties__foot { margin-top: 36px; text-align: left; }
  .properties__foot p { font-size: 12.5px; line-height: 1.5; }
  .properties__foot .button { width: 100%; justify-content: space-between; padding: 0 20px; font-size: 12px; }

  /* ---------- reseñas ---------- */
  .reviews { padding: 72px 0; min-height: 0; }
  .reviews__header { text-align: left; }
  .reviews__header .eyebrow--center { justify-content: flex-start; }
  .reviews__header .eyebrow--center::before, .reviews__header .eyebrow--center::after { display: none; }
  .reviews__header h2 { font-size: clamp(38px, 11vw, 46px); line-height: 1.04; }
  .reviews__header > p:last-child { font-size: 15.5px; line-height: 1.65; }
  .trust-panel { padding: 0; border: 0; background: none; box-shadow: none; gap: 26px; backdrop-filter: none; }
  .trust-panel__brand { padding-bottom: 22px; }
  .trust-panel__brand h3 { font-size: 34px; line-height: 1.05; }
  .trust-panel__brand p { font-size: 15px; line-height: 1.65; }
  .trust-panel__cards { gap: 0; }
  .trust-card { padding: 20px 0; border: 0; border-top: 1px solid rgba(233,190,112,.2); border-radius: 0; background: none; }
  .trust-card span { font-size: 11px; letter-spacing: .16em; }
  .trust-card h4 { font-size: 27px; margin: 6px 0 6px; }
  .trust-card p { font-size: 15px; line-height: 1.55; }

  /* ---------- cierre / contacto ---------- */
  .final-cta { height: auto; min-height: 0; padding: 84px 0; }
  .final-cta h2 { font-size: clamp(38px, 11vw, 46px); line-height: 1.04; }
  .final-cta__content > p:not(.eyebrow):not(.final-cta__micro) { font-size: 15.5px; line-height: 1.65; }
  .final-cta__buttons { display: grid; gap: 10px; margin-top: 26px; }
  .final-cta__content .button { width: 100%; min-height: 52px; font-size: 12px; letter-spacing: .1em; }
  .final-cta__micro { margin-top: 28px; font-size: 10.5px; }

  /* ---------- pie ---------- */
  .footer { padding-top: 52px; }
  .footer-main { gap: 34px; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-links > div:last-child { grid-column: 1 / -1; }
  .footer-links p { font-size: 11px; letter-spacing: .18em; margin-bottom: 12px; }
  .footer-links a, .footer-links span { font-size: 15px; display: block; padding: 6px 0; }
  .footer-bottom { font-size: 12px; }
  .footer-bottom a { font-size: 12.5px; padding: 6px 0; }

  /* ---------- formulario de contacto ---------- */
  .contact-dialog { padding: 24px 20px; }
  .dialog__heading h2 { font-size: 36px; }
  .contact-dialog input, .contact-dialog select, .contact-dialog textarea { font-size: 16px; min-height: 48px; } /* 16px evita el zoom de iOS */
  .dialog-close { width: 46px; height: 46px; }
}

/* ---------- páginas interiores (servicios, propiedades, blog, sobre, contacto, legal) ---------- */
@media (max-width: 660px) {
  .page-banner__title { font-size: clamp(38px, 11vw, 48px); line-height: 1.05; font-weight: 500; }
  .page-banner__lead, .page-banner p { font-size: 16px; line-height: 1.65; }
  .prose { font-size: 16px; line-height: 1.75; }
  .prose h2 { font-size: 30px; margin: 40px 0 14px; font-weight: 500; }
  .prose h3 { font-size: 24px; font-weight: 500; }
  .prose blockquote { padding: 18px 18px; margin: 28px 0; }
  .process__step h3, .blog-card h3 { font-weight: 500; }
  .process__step p, .blog-card p { font-size: 15px; line-height: 1.65; }
  .split-feature h2, .form-page__info h2 { font-size: clamp(32px, 9.4vw, 40px); font-weight: 500; }
  .page-banner .button, .form-page .button { width: 100%; min-height: 52px; }
}
@media (max-width: 660px) {
  .page-banner__eyebrow, .page-banner .eyebrow, .breadcrumb, .page-banner__crumbs { font-size: 11.5px; letter-spacing: .16em; }
}

/* Trust cards: hover/toque también en móvil */
@media (max-width: 760px) {
  .trust-card { position: relative; transition: opacity 1s var(--ease-out), transform .45s var(--ease-out), border-color .3s, padding-left .35s var(--ease-out); }
  .trust-card::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--gold); transition: width .6s var(--ease-out); }
  .trust-card.is-visible::before { width: 56px; transition-delay: .35s; }
  .trust-card:hover, .trust-card:active { border-top-color: var(--gold); padding-left: 10px; transform: none; }
  .trust-card:hover h4, .trust-card:active h4 { color: var(--gold); }
  .trust-card:hover::before, .trust-card:active::before { width: 100%; }
}
.trust-card.is-visible:hover, .trust-card.is-visible:active { transition-delay: 0s !important; }

/* Cierre: Descubra, venda, alquile… (versión con lista de ventajas) */
.final-cta { text-align: left; }
.final-cta__row { display: flex; align-items: center; justify-content: space-between; gap: clamp(40px,6vw,96px); }
.final-cta__content { margin: 0; max-width: 700px; flex: 1 1 auto; }
.final-cta h2 { font-size: clamp(44px,4.6vw,76px); line-height: 1.04; font-weight: 500; letter-spacing: -.02em; margin-bottom: 26px; }
.final-cta__content > p:not(.eyebrow):not(.final-cta__micro) { margin: 0 0 32px; max-width: 560px; font-size: 15px; }
.final-cta__buttons { justify-content: flex-start; margin-bottom: 0; }
.final-cta__list { list-style: none; margin: 0; padding: 12px 0 12px clamp(32px,4vw,64px); border-left: 1px solid rgba(233,190,112,.4); flex: 0 0 auto; display: grid; gap: 30px; }
.final-cta__list li { display: flex; align-items: center; gap: 22px; font-family: var(--font-head); font-size: 22px; color: #fff7e8; transition: transform .4s var(--ease-out); }
.final-cta__list li:hover { transform: translateX(6px); }
.final-cta__list svg { width: 36px; height: 36px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.final-cta__list i { color: #f1d9a6; }
.final-cta__scroll { position: absolute; left: 50%; bottom: 26px; width: 18px; height: 30px; margin-left: -9px; border: 1px solid rgba(255,247,232,.6); border-radius: 10px; }
.final-cta__scroll::after { content: ""; position: absolute; left: 50%; top: 6px; width: 2px; height: 5px; margin-left: -1px; border-radius: 2px; background: #fff7e8; animation: ck-scrolldot 1.8s ease-in-out infinite; }
@keyframes ck-scrolldot { 0%,100% { opacity: 1; transform: translateY(0); } 60% { opacity: 0; transform: translateY(8px); } }
@media (max-width: 980px) {
  .final-cta__row { flex-direction: column; align-items: flex-start; gap: 44px; }
  .final-cta__list { border-left: 0; border-top: 1px solid rgba(233,190,112,.3); padding: 32px 0 0; width: 100%; gap: 22px; }
  .final-cta__list li { font-size: 20px; gap: 18px; }
  .final-cta__list svg { width: 30px; height: 30px; }
  .final-cta { padding: 84px 0 96px; }
}
