:root {
            --bg: #0f1720;
            --panel: #cfd7e2; /*#16212b;*/
            --panel-2: #9fb0c6; /*#1d2a36;*/
            --text: #edf2f7;
            --muted: #b7c2cc;
            --accent: #4C528C; /*#9fd8cf;*/
            --accent-2: #DD5293; /*#242742; #6bb8ab;*/
            --accent-3: #242742; /*#6bb8ab;*/
            --border: rgba(255,255,255,.10);
            --shadow: 0 18px 40px rgba(0,0,0,.22);
            --max: 1180px;
        }

        * { box-sizing: border-box; }
            html { scroll-behavior: smooth; }
            body {
              margin: 0;
              font-family: Arial, Helvetica, sans-serif;
              background-color: #F5F7F9;
            /*      background: linear-gradient(180deg, #0b1117 0%, #101922 100%);*/
              color: var(--text);
              line-height: 1.55;
        }
        
        a { color: var(--accent); text-decoration: none; }
            a:hover {
                color: var(--accent-2); /*#c4f0e8; */
        }
        
        img { max-width: 100%; display: block; }

        .container {
            width: min(calc(100% - 2rem), var(--max));
            margin: 0 auto;
        }

        .site-header {
            position: sticky;
            top: 0;
            z-index: 20;
            backdrop-filter: blur(10px);
            background: rgba(10, 16, 22, .88);
            border-bottom: 1px solid var(--border);
        }

        .site-header .inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            padding: 1rem 0;
        }

        .brand {
            font-size: 1.05rem;
            font-weight: 700;
            letter-spacing: .03em;
            color: #fff;
            white-space: nowrap;
        }

        .logo {
            height: 70px;
            width: 250px;
            background-image: url(img/logomuni.png);
            background-size: contain;
            background-repeat: no-repeat;
        }

        .unica {
            width: 320px;
            height: 110px;
            background-image: url(img/unica.png);
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            margin: 0 auto;
            margin-bottom: 20px;
        }

        .nav {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            gap: .6rem;
        }

        .nav a {
            padding: .55rem .8rem;
            border-radius: 999px;
            color: var(--muted);
            background: rgba(255,255,255,.04);
            border: 1px solid transparent;
            font-size: .94rem;
        }

        .nav a:hover,
        .nav a.active {
            color: #fff;
            border-color: var(--border);
            background: rgba(159,216,207,.12);
        }

        .hero {
            position: relative;
            overflow: hidden;
            border-bottom: 1px solid var(--border);
            background-image: linear-gradient(to right, var(--accent) , #DD5293);
        }

        .hero::after {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at top right, rgba(159,216,207,.17), transparent 32%);
            pointer-events: none;
        }

        .hero .inner {
            position: relative;
            z-index: 1;
            padding: 5rem 0 4rem;
            text-align: center;
        }

        .eyebrow {
            display: inline-block;
            padding: .35rem .8rem;
            margin-bottom: 1rem;
            border-radius: 999px;
            border: 1px solid rgba(255,255,255,.18);
            background: rgba(255,255,255,.08);
            color: var(--accent);
            font-size: .85rem;
            letter-spacing: .08em;
            text-transform: uppercase;
        }

        h1, h2, h3 { 
            margin: 0 0 .8rem;
            line-height: 1.15;
            font-family: "Roboto Condensed", sans-serif;  
            opacity: 60%;
        }
        h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
        h2 { font-size: clamp(1.35rem, 3vw, 2rem); }
        h3 { font-size: 1.1rem; }
        p { margin: 0 0 1rem; color: var(--muted); }

        .lead {
            max-width: 760px;
            margin: 0 auto;
            font-size: 1.05rem;
        }

        .layout {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 1.5rem;
            padding: 2rem 0 2rem;
        }

        .card {
/*            background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);*/
/*            background: linear-gradient(180deg, #8097b3 0%, #CFD8E2 100%);*/
/*            background-color: #CFD8E2; #330A1D;*/
            border: 1px solid var(--border);
            border-radius: 10px;
            box-shadow: var(--shadow);
        }

        .card.pad { 
            background: linear-gradient(to bottom right, var(--panel) 0%, var(--panel-2) 90%);
            padding: 1.3rem;
        }

        .section-title {
            margin-bottom: 1rem;
            color: #fff;
        }

        .quick-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1rem;
        }

        .promo {
            display: flex;
            overflow: hidden;
            height: 100px;
            border-radius: 20px;
            border: 1px solid var(--border);
            background: rgba(76, 82, 140, .5); /*rgba(255,255,255,.03);*/
            transition: transform .18s ease, border-color .18s ease;
        }

        .promo:hover {
            transform: translateY(-2px);
            border-color: rgba(159,216,207,.35);
        }
        
        .promo:hover .promo-icono {
            background: var(--accent-2);
        }

        .promo a { display: block; }
        .promo img { width: 100%; height: 100%; object-fit: cover; }

        .chips {
            display: flex;
            flex-wrap: wrap;
            gap: .7rem;
        }

        .promo-icono {
            width: 100px;
            background: var(--accent); /* color del fondo */
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 28px;
        }

        .promo-texto {
            color: black;
            padding: 12px 16px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .chip {
            display: inline-flex;
            align-items: center;
            min-height: 42px;
            padding: .7rem 1rem;
            border-radius: 999px;
            border: 1px solid var(--border);
            background: var(--accent); /*rgba(255,255,255,.05);*/
            color: white; /*#fff;*/
            font-size: .95rem;
        }

        .chip:hover {
            background: var(--accent-2); /*rgba(159,216,207,.12);*/
            color: white;
        }

        .stack {
            display: grid;
            gap: 1rem;
        }
        
        .layout .section-title
        {
            color: var(--accent-3);
            line-height: 0.9;
            padding-bottom: 10px;
        }        
        
        .layout .card.pad, 
        .layout .small,
        .layout .notice
        {
            color: black;
        }

        .search-box {
            display: flex;
            gap: .7rem;
            flex-wrap: wrap;
        }

        .search-box input {
            flex: 1 1 220px;
            min-width: 0;
            padding: .9rem 1rem;
            border-radius: 14px;
            border: 1px solid var(--accent-2);
            background: rgba(255,255,255,.05);
            color: black; /*#fff;*/
            outline: none;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 46px;
            padding: .85rem 1rem;
            border-radius: 14px;
            border: 1px solid rgba(159,216,207,.25);
            background: #DD5293; /*linear-gradient(180deg, var(--accent-2), #4ea498);*/
            color: #091116;
            font-weight: 700;
            cursor: pointer;
        }

        .btn:hover { filter: brightness(1.05); color: #091116; }

        .notice {
            border-left: 4px solid var(--accent);
            padding: 1rem 1rem 1rem 1.1rem;
            background: rgba(159,216,207,.08);
            border-radius: 14px;
            color: #dcefed;
        }

        .contact-list,
        .phones {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            gap: .7rem;
        }

        .contact-list li,
        .phones li {
/*            padding: .85rem 1rem;*/
/*            border-radius: 14px;*/
/*            background: rgba(255,255,255,.04);*/
/*            border: 1px solid rgba(255,255,255,.06);*/
        }

        .small { font-size: .95rem; color: var(--muted); }

        .footer {
            border-top: 1px solid var(--border);
            padding: 2rem 0 3rem;
            background: rgba(0,0,0,.18);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1fr; /*1.25fr .95fr;*/
            gap: 1.5rem;
        }

        .footer-note {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border);
            color: #98a8b8;
            font-size: .92rem;
        }

        .footer .card.pad {
            background: black;
        } 

        @media (max-width: 920px) {
            .layout,
            .footer-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 640px) {
            .site-header .inner {
                flex-direction: column;
                align-items: stretch;
        }

        .nav {
            justify-content: flex-start;
        }

        .quick-grid {
            grid-template-columns: 1fr;
        }

        .hero .inner {
                padding: 4rem 0 3rem;
        }
    }

/* Estudios médicos */
.study-page .layout {
            grid-template-columns: 1.35fr .85fr;
            align-items: start;
        }

        .study-form {
            display: grid;
            gap: 1rem;
            margin-top: 1.25rem;
        }

        .study-form label {
            display: block;
            margin-bottom: .45rem;
            color: var(--accent-3);
            font-weight: 700;
        }

        .study-form .help {
            margin: 0;
            font-size: .95rem;
            color: #334155;
        }

        .study-form input {
            width: 100%;
            padding: .9rem 1rem;
            border-radius: 14px;
            border: 1px solid var(--accent-2);
            background: rgba(255,255,255,.7);
            color: black;
            outline: none;
            font-size: 1rem;
        }

        .study-form input:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(76,82,140,.15);
        }

        .study-form button {
            width: 100%;
            margin-top: .25rem;
            padding: .95rem 1rem;
            border: none;
            border-radius: 14px;
            background: #DD5293;
            color: #091116;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: filter .18s ease;
        }

        .study-form button:hover {
            filter: brightness(1.05);
        }

        .study-list {
            margin: 0;
            padding-left: 1.2rem;
            color: black;
        }

        .study-list li + li {
            margin-top: .55rem;
        }

        @media (max-width: 920px) {
            .study-page .layout {
                grid-template-columns: 1fr;
            }
        }
