/* FORMULARIO/elegir-modalidad-publicacion.php — migrado Fase E */
@import url("../tokens/kasalia-rwd-tokens.css");

/* === STYLE BLOCK 1/1 === */
:root {
            --bg: #f4f6fb;
            --card: #fff;
            --text: #0f172a;
            --muted: #64748b;
            --venta: #1565c0;
            --alquiler: #5c6bc0;
            --vaca: #0f766e;
            --radius: 18px;
            --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
            --topbar-gap: 8px;
            --topbar-mb: 18px;
        }
        * { box-sizing: border-box; }
        body {
            margin: 0;
            min-height: 100vh;
            font-family: 'Inter', system-ui, sans-serif;
            background: radial-gradient(1200px 600px at 10% -10%, rgba(21, 101, 192, 0.12), transparent),
                        radial-gradient(900px 500px at 100% 0%, rgba(15, 118, 110, 0.1), transparent),
                        var(--bg);
            color: var(--text);
            padding: 28px 16px 48px;
        }
        .wrap {
            max-width: 1120px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            column-gap: var(--topbar-gap);
            align-items: center;
        }
        .pub-lang-switch {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: var(--topbar-gap);
            grid-column: 2;
            grid-row: 1;
            margin: 0 0 var(--topbar-mb);
            font-size: 13px;
            font-weight: 700;
            align-self: center;
        }
        .pub-lang-switch__link {
            color: var(--muted);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
        }
        .pub-lang-switch__link:hover,
        .pub-lang-switch__link.is-active {
            color: var(--text);
        }
        .pub-lang-switch__sep {
            color: var(--muted);
            user-select: none;
        }
        .head {
            text-align: center;
            margin-bottom: 28px;
            grid-column: 1 / -1;
        }
        .head h1 {
            margin: 0 0 10px;
            font-size: clamp(1.45rem, 4vw, 2rem);
            font-weight: 900;
            letter-spacing: -0.02em;
        }
        .head p {
            margin: 0 auto;
            max-width: 560px;
            color: var(--muted);
            font-size: 15px;
            line-height: 1.55;
            font-weight: 600;
        }
        .back {
            display: inline-flex;
            align-items: center;
            gap: var(--topbar-gap);
            grid-column: 1;
            grid-row: 1;
            margin: 0 0 var(--topbar-mb);
            color: var(--muted);
            text-decoration: none;
            font-weight: 700;
            font-size: 14px;
            align-self: center;
        }
        .back:hover { color: var(--text); }
        .grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            align-items: stretch;
            grid-column: 1 / -1;
        }
        @media (max-width: 960px) {
            .grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
        }
        .choice {
            display: flex;
            flex-direction: column;
            height: 100%;
            min-height: 0;
            text-decoration: none;
            color: inherit;
            background: var(--card);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            border: 1px solid rgba(15, 23, 42, 0.06);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .choice:hover {
            transform: translateY(-4px);
            box-shadow: 0 22px 60px rgba(15, 23, 42, 0.16);
        }
        .choice:focus-visible {
            outline: 3px solid #93c5fd;
            outline-offset: 3px;
        }
        .choice-media {
            position: relative;
            aspect-ratio: 4 / 3;
            overflow: hidden;
            flex-shrink: 0;
        }
        .choice-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .choice-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            padding: 6px 12px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: #fff;
        }
        .choice--venta .choice-badge { background: var(--venta); }
        .choice--alquiler .choice-badge { background: var(--alquiler); }
        .choice--vaca .choice-badge { background: var(--vaca); }
        .choice-body {
            flex: 1 1 auto;
            display: flex;
            flex-direction: column;
            min-height: 0;
            padding: 20px 20px 22px;
        }
        .choice-body h2 {
            margin: 0 0 10px;
            font-size: 1.25rem;
            font-weight: 900;
            flex-shrink: 0;
        }
        .choice-body p {
            margin: 0;
            flex: 1 1 auto;
            font-size: 14px;
            line-height: 1.5;
            color: var(--muted);
            font-weight: 600;
        }
        .choice-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-weight: 800;
            font-size: 14px;
            margin-top: auto;
            padding-top: 16px;
            flex-shrink: 0;
        }
        .choice--venta .choice-cta { color: var(--venta); }
        .choice--alquiler .choice-cta { color: var(--alquiler); }
        .choice--vaca .choice-cta { color: var(--vaca); }
        .foot {
            margin-top: 28px;
            text-align: center;
            font-size: 13px;
            color: var(--muted);
            font-weight: 600;
            grid-column: 1 / -1;
        }

/* RESPONSIVE MOBILE — inicio */
@media (max-width: 1024px) {
  body {
    padding: var(--rwd-space-sm, 16px) var(--rwd-space-sm, 16px) var(--rwd-space-xl, 48px);
    overflow-x: hidden;
  }

  .wrap {
    column-gap: var(--rwd-space-xs, 8px);
    max-width: 100%;
  }

  .back,
  .pub-lang-switch,
  .pub-lang-switch__link {
    min-height: var(--rwd-touch-target-min, 44px);
  }

  .back {
    font-size: var(--rwd-font-sm, 14px);
    margin-bottom: var(--rwd-space-sm, 16px);
  }

  .pub-lang-switch {
    margin-bottom: var(--rwd-space-sm, 16px);
    font-size: var(--rwd-font-sm, 14px);
  }

  .head {
    margin-bottom: var(--rwd-space-md, 24px);
  }

  .choice-cta {
    min-height: var(--rwd-touch-target-min, 44px);
  }
}
/* RESPONSIVE MOBILE — fin */
