@font-face {
            font-family: 'Typold';
            src: url('fuentes/Typold/Typold-Bold.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Typold;
}

html{
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

h5{
    text-decoration: none;
    text-shadow: #000;
    font-family: Typold;
    color: #000;
    font-size: 15px;
}

body{
    font-family:Inter,Arial,sans-serif;
    background:#ffffff;
    color:#111;
    line-height:1.6;
}

section[id]{
    scroll-margin-top: 110px;
}

.container{
    width:min(1200px,90%);
    margin:auto;
}

/* NavBar */
.navbar{
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1320px, calc(100% - 20px));
    background: rgba(37,37,38,0.72);
    border: 1px solid rgba(190,175,135,0.35);
    border-radius: 18px;
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.navbar .container{
    width: 100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 20px;
}

.navbar .container .padding-global{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width: 100%;
}

.navbar-left,
.navbar-left .logo {
    display: flex;
    align-items: center;
}

.navbar-item button{
    font-family: Typold;
    font-size: 20px;
    font-weight: 500;
    color:#beaf87;
    background: transparent;
    border:none;
    padding: 12px 12px;
    border-radius:12px;
    cursor:pointer;

}

.logo-image{
    height: 50px;
    width: auto;
    padding: 5px;
}

.navbar .logo-image {
    display: block;
    height: 58px;
    width: auto;
    padding: 0;
    object-fit: contain;
}

nav{
    display:flex;
    gap:25px;
}

.navbar-list{
    display:flex;
    gap:20px;
    list-style:none;
    margin:0;
    padding:0;
    align-items:center;
}

.navbar-item{
    display:block;
}

.navbar-link{
    color:#fff;
    text-decoration:none;
    padding:8px 10px;
    display:inline-block;
}

.navbar-centre{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    position: relative;
}

.navbar-right-buttons .btn-menu h5 {
    white-space: nowrap;
}

nav a{
    text-decoration:none;
    color:#222;
}
/* Navbar */

/* Hero */
.capa-oscura{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero{
    position: relative;
    overflow: hidden;
    padding:100px 0;
    background: url('imagenes/fotoOfi1.jpg') center center / cover no-repeat;
}

.hero-grid{
    position: relative;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
    z-index: 3;
}

.hero-panel,
.hero-content{
    position: relative;
    z-index: 3;
}

.hero-content{
    border-radius: 20px;
    padding: 20px;
}

.video-fondo{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.badge{
    background: rgba(37,37,38,0.9);
    color:#beaf87;
    padding:8px 14px;
    border-radius:10px;
    display:inline-block;
    margin-bottom:20px;
    font-family: Typold;
    font-size: 20px;
    text-align: left;
}

.hero h1{
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #beaf87
}

.hero p{
    color:#fff;
    margin-bottom:30px;
    font-family: Typold;
}

.hero-content{
    position: relative;
    z-index: 3;
    text-align: left;
}

.hero-buttons{
    display:flex;
    gap:15px;
    justify-content: center;
    align-items: center;
}

.hero-panel{
    display:flex;
    justify-content:center;
}

.panel{
    width:100%;
    max-width: 960px;
    background:#252526;
    border-radius:20px;
    box-shadow:0 25px 60px rgba(0,0,0,.15);
    padding:25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "header header"
        "card1 card2";
    gap: 24px;
}

.fachadaOfi{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap: 10px;
}

.panel-header {
    grid-area: header;
    text-align: center;
}

.panel .fachadaOfi:nth-of-type(1){
    grid-area: card1;
}

.panel .fachadaOfi:nth-of-type(2){
    grid-area: card2;
}

.fachadaOfi img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    align-content: center;
}

.fachadaOfi > img:not(.imagenOfi){
    width: 90%;
    max-width: 500px;
    object-fit: contain;
    margin: 0 auto;
}

.imagenOfi{
    width: 100%;
    height:auto;
    display:block;
    object-fit:cover;
    padding: 1px;
}

.panel-header h3{
    font-family: Typold;
    text-align: center;
    color: #beaf87;
    font-size: 30px;
}
/* Hero */

/* Buttons */
.btn-menu{
    background:#beaf87;
    color:#beaf87;
    border:none;
    padding: 12px 12px;
    border-radius:12px;
    cursor:pointer;
}

.btn-primary{
    background:#beaf87;
    color:#beaf87;
    border:none;
    padding:14px 24px;
    border-radius:12px;
    cursor:pointer;
    align-content: center;
}

.btn-secondary{
    background:#beaf87;
    border:none;
    padding:14px 24px;
    border-radius:12px;
    cursor:pointer;
}
/* Buttons */

/* Stats */
.stats{
    background:#252526;
    padding:40px 0;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    text-align:center;
}

.stats h2{
    color:#beaf87;
    font-size:2rem;
}

.stats h4{
    color:#beaf87;
    font-family: Typold;
    font-size: 20px;
}
/* Stats */

.features,
.agents,
.download{
    padding:50px 0;
}

.features,
.ubicaciones{
    position: relative;
    background-color: #252526;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.features::before,
.ubicaciones::before{
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

.features .container,
.ubicaciones .container{
    position: relative;
    z-index: 2;
}

.features h2,
.ubicaciones h2,
.agents h2,
.download h2{
    text-align:center;
    margin-bottom:50px;
    font-family: Typold;
    font-size: 45px;
}

/* Cards */
.features h2,
.ubicaciones h2 {
    font-family: Typold;
    font-size: 50px;
    color: #beaf87;
}

.ubicaciones {
    padding-top: 44px;
    padding-bottom: 68px;
}

.ubicaciones h2 {
    display: grid;
    place-items: center;
    min-height: 72px;
    margin: 0 0 36px;
    font-size: 56px;
    line-height: 1.05;
}

.ubicaciones .cards h3 {
    display: block;
    margin: 0;
    padding: 0 0 10px;
    font-size: 38px;
    line-height: 1.05;
    text-align: center;
}

.ubicaciones .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1240px;
    margin: 0 auto;
}

.ubicaciones .card {
    display: flex;
    flex-direction: column;
}

.ubicaciones .card iframe {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border: 0;
}

.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.cards h3{
    text-align: center;
    font-family: Typold;
    font-size: 28px;
    color: #beaf87;
}

.cards p{
    text-align: center;
    font-family: Typold;
    font-size: 20px;
    color: #fff;
}

.card{
    background: #252526;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}
/* Cards */

/* Asesores */
.agents{
    padding: 5px;
}

.titulo-agentes h2{
    text-align: center;
    font-family: Typold;
    font-size: 75px;
    color: #252526;
    align-items: center;
    padding-top: 50px;
}

.agent-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap: 20px;
    padding-bottom: 10px;
}

.agent-card{
    overflow:hidden;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    background: #252526;
}

.agent-card img{
    width:100%;
    height:240px;
    object-fit:cover;
    border-image: round;
}

.agent-card picture {
    display: block;
}

.agent-card h3{
    padding: 8px;
    align-items: center;
    text-align: center;
    font-family: Typold;
    color: #beaf87;
}

.agent-card h3 a,
.agent-card h3 a:visited,
.agent-card h3 a:hover,
.agent-card h3 a:active,
.agent-card h3 a:focus {
    color: #beaf87;
    text-decoration: none;
}

.LogoOficina{
    width: auto;
    height: auto;
}
/* Asesores */

/* Palabras */
.palabras {
  padding: 80px 0;
  background: #252526;
}

.palabras-inner h2 { 
    font-family: Typold;
    font-size: 28px;
    color: #beaf87;
    margin-bottom: 12px;
}

.palabras-inner .section-sub {
    color: #fff; 
    margin-bottom: 48px;
    font-family: Typold;
    font-size: 15px;
}

.palabras h2{
    font-family: Typold;
    font-size: 28px;
    color: #beaf87;
    
}

.palabra-marquee-wrap {
  overflow: hidden;
  margin-bottom: 56px;
}

.palabra-marquee { overflow: hidden; }

.palabras-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: scrollLeft 20s linear infinite;
}

.palabras-track span{
    font-family: Typold;
    font-size: 12px;
    color: #000;
}

.ntag {
  background: #beaf87;
  color: #000;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 400;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.palabras-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.palabras-feat h3 {
    font-size: 24px;
    font-family: Typold;
    color: #beaf87;
    margin-bottom: 10px;
}

.palabras-feat p{
    color: #fff;
    font-size: 15px;
    font-family: Typold;
    margin-bottom: 10px;
}
/* Palabras */

/* Reviews */
.feedback-section {
  padding: 80px 0;
  background: var(--cream);
}

.feedback-section h2 { margin-bottom: 40px; }

.feedback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feedback-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0 0 32px;
}

.feedback-card img {
  width: 100%;
    height: 380px;
    object-fit: contain;
    display: block;
  margin-bottom: 24px;
}

.feedback-card h3 {
  padding: 0 24px;
  margin-bottom: 8px;
}

.feedback-card p {
  padding: 0 24px;
  font-size: 0.95rem;
}
/* Reviews */

/* Formulario */
.interesados{
    background: #beaf87;
    padding: 50px;
}

.interesados h2{
    font-family: Typold;
    font-size: 50px;
    color: #000;
    text-align: left;
    margin: 0 0 10px;
    letter-spacing: 0.5px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.interesados p{
    font-family: Typold;
    font-size: 18px;
    color: #000;
    text-align: left;
    margin: 0 0 20px;
}

.interesados-form{
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    width: 100%;
    max-width: 620px;
}

.interesados .input-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.interesados .input-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.interesados .input-container label {
    font-family: Typold;
    font-size: 20px;
    color: #252526;
    text-align: center;
}

.interesados .input-container input,
.interesados .input-container select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid #ccc;
    font-family: Inter, Arial, sans-serif;
    font-size: 1rem;
    outline: none;
}

.interesados .input-container input:focus,
.interesados .input-container select:focus {
    border-color: #beaf87;
}

.interesados .input-container i {
    position: absolute;
    right: 16px;
    top: 52px;
    color: #888;
    pointer-events: none;
}

.fa-solid,
.fa,
.fas,
.far,
.fab {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.interesados .interesados-layout {
    display: flex;
    gap: 16px;
    align-items: stretch;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 100%;
    max-width: 980px;
}

.interesados .interesados-form,
.interesados .interesados-info {
    margin-left: 0;
}

.interesados form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    flex: 1 1 500px;
    min-width: 0;
    max-width: 550px;
}

.interesados-layout button{
    align-self: center;
}

.boton-form{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    width: 100%;
    margin-top: 24px;
}

.interesados .boton-form .btn-menu{
    margin: 0 auto;
    display: inline-flex;
}

.interesados .interesados-info {
    flex: 0 0 380px;
    background: #fff;
    padding: 18px;
    border-radius: 20px;
    color: #111;
    width: 100%;
    max-width: 420px;
    align-self: stretch;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: break-word;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.interesados .interesados-info h2 {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    margin: 0 0 10px;
    line-height: 1.35;
    font-weight: 600;
    word-break: break-word;
}

.interesados .interesados-info h2 a,
.interesados .interesados-info h2 a:visited,
.interesados .interesados-info h2 a:hover,
.interesados .interesados-info h2 a:active {
    color: inherit;
    text-decoration: underline;
    font: inherit;
}

.interesados .interesados-info h3 {
    font-size: 18px;
    margin: 12px 0 10px;
    line-height: 1.35;
    font-weight: 700;
    word-break: break-word;
    color: #252526;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #beaf87
}

.interesados .interesados-info i {
    margin-right: 8px;
    font-size: 18px;
    vertical-align: middle;
    color: #beaf87;
}

.interesados .interesados-info img {
    display: block;
    margin: auto;
    max-width: 80%;
    height: auto;
}

@media (max-width: 900px) {
    .interesados .interesados-layout {
        flex-direction: column;
    }
    .interesados .interesados-form {
        width: 100%;
        flex: none;
    }
    .interesados .input-group {
        grid-template-columns: 1fr;
    }
}

.download{
    background:#252526;
    color:white;
    text-align:center;
}

.download h2{
    font-family: Typold;
    font-size: 32px;
    color: #beaf87;
}

.download p{
    font-family: Typold;
    font-size: 18px;
    margin-bottom: 15px;
}

.privacidad {
    padding: 52px 0 44px;
    background: #fff;
}

.privacidad h2 {
    text-align: center;
    font-family: Typold;
    font-size: 32px;
    color: #111;
    margin-bottom: 18px;
}

.privacidad-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.privacidad-card {
    background: #f7f7f7;
    border: 1px solid rgba(37, 37, 38, 0.12);
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.privacidad-card p {
    margin: 0;
    font-family: Typold;
    font-size: 17px;
    line-height: 1.6;
    color: #111;
}

footer a,
footer a:visited,
footer a:hover,
footer a:active {
    color: #beaf87;
    text-decoration: underline;
}

.download .btn-primary{
    background:white;
    color:#beaf87;
    margin-top:20px;
}

footer{
    padding: 24px 0;
    background: #555;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
    text-align: left;
}

.footer-grid p {
    color: #fff;
    margin: 0 0 8px;
    font-family: Typold;
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact a,
.footer-contact a:visited,
.footer-contact a:hover,
.footer-contact a:active {
    color: inherit;
}

.footer-title {
    font-size: 18px !important;
    color: #beaf87 !important;
    margin-bottom: 10px !important;
}

.footer-links {
    text-align: right;
}

.footer-links p:last-child,
.footer-contact p:last-child,
.footer-brand p:last-child {
    margin-bottom: 0;
}

footer .container {
    width: min(1200px, 90%);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }
}
/* Formulario */

.reveal{
    opacity:0;
    transform:translateY(40px);
    transition:.7s;
}

.reveal.show{
    opacity:1;
    transform:translateY(0);
}

.nav-toggle {
    display: none;
}

@media (max-width: 900px) {
    .navbar {
        --mobile-nav-vspace: 12px;
    }

    .navbar .container {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding-top: var(--mobile-nav-vspace);
        padding-bottom: var(--mobile-nav-vspace);
    }

    .navbar .padding-global {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .navbar-left {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 50px;
        margin-bottom: var(--mobile-nav-vspace);
    }

    .navbar-left .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 0;
    }

    .navbar-left .logo-image {
        display: block;
        margin: 0 auto;
    }

    .navbar-centre {
        width: 100%;
        order: 2;
        min-height: 0;
    }

    .navbar-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .navbar-right {
        width: 100%;
        order: 3;
        display: flex;
        justify-content: center;
        gap: 12px;
        align-items: center;
        position: relative;
        margin-bottom: 0;
    }

    .navbar-right-buttons,
    .tablet-down {
        position: relative;
        z-index: 110;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1px solid #beaf87;
        border-radius: 12px;
        background: transparent;
        color: #beaf87;
        cursor: pointer;
        position: relative;
        z-index: 170;
        transition: background-color .38s cubic-bezier(0.22, 1, 0.36, 1), border-color .38s cubic-bezier(0.22, 1, 0.36, 1), color .38s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .nav-toggle i {
        transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1), opacity .35s ease;
    }

    .nav-toggle.is-open {
        background: rgba(190, 175, 135, 0.16);
        border-color: rgba(190, 175, 135, 0.9);
    }

    .nav-toggle.is-open i {
        transform: rotate(90deg) scale(1.05);
    }

    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 12px;
        background: rgba(37, 37, 38, 0.96);
        border: 1px solid rgba(190, 175, 135, 0.35);
        border-radius: 18px;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(10px);
        overflow: hidden;
        padding: 0;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transform: translate3d(0, -12px, 0) scale(0.985);
        pointer-events: none;
        will-change: max-height, opacity, transform;
        transition: max-height .62s cubic-bezier(0.22, 1, 0.36, 1), opacity .52s ease, transform .62s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear .62s;
        z-index: 160;
    }

    .navbar-menu.open {
        max-height: 360px;
        opacity: 1;
        visibility: visible;
        transform: translate3d(0, 0, 0) scale(1);
        pointer-events: auto;
        transition: max-height .62s cubic-bezier(0.22, 1, 0.36, 1), opacity .52s ease, transform .62s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
    }

    .navbar.menu-open .navbar-right-buttons,
    .navbar.menu-open .tablet-down {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .navbar-menu .navbar_menu-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 14px;
    }

    .navbar-list {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .navbar-item {
        width: 100%;
        text-align: center;
    }

    .navbar-link {
        width: 100%;
        display: inline-flex;
        justify-content: center;
        border-radius: 12px;
        transition: background-color .28s ease;
    }

    .navbar-link:hover {
        background: rgba(190, 175, 135, 0.12);
    }

    .hero-grid,
    .cards,
    .stats-grid,
    .palabras-features,
    .feedback-grid,
    .agent-grid {
        grid-template-columns: 1fr;
    }

    .ubicaciones .cards {
        grid-template-columns: 1fr;
    }

    .hero {
        text-align: center;
        /* Extra top space on mobile so fixed navbar does not cover hero content */
        padding: 170px 0 50px;
    }

    .hero-content {
        padding: 24px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons button {
        width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .panel {
        max-width: 100%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto 1fr;
        grid-template-areas:
            "header header"
            "card1 card2";
        gap: 16px;
        padding: 20px;
    }

    .panel-header {
        grid-area: header;
        text-align: center;
        width: 100%;
    }

    .panel-header h3 {
        margin: 0 auto;
    }

    .panel .fachadaOfi:nth-of-type(1) {
        grid-area: card1;
    }

    .panel .fachadaOfi:nth-of-type(2) {
        grid-area: card2;
    }

    .panel .fachadaOfi {
        width: 100%;
        max-width: 100%;
    }

    .panel .fachadaOfi img {
        width: 100%;
        max-width: 100%;
    }

    .stats-grid {
        gap: 20px;
    }

    .features h2,
    .ubicaciones h2,
    .agents h2,
    .download h2 {
        font-size: 34px;
    }

    .ubicaciones h2 {
        min-height: 56px;
        margin: 0 0 30px;
        font-size: 40px;
    }

    .ubicaciones .cards h3 {
        padding: 0 0 8px;
        font-size: 32px;
    }

    .cards {
        gap: 20px;
    }

    .agent-grid {
        gap: 20px;
    }

    .titulo-agentes h2 {
        font-size: 48px;
        padding-top: 20px;
    }

    .interesados {
        padding: 30px 20px;
    }

    .interesados h2 {
        font-size: 34px;
    }

    .interesados p {
        font-size: 16px;
    }

    .interesados-form {
        padding: 20px;
    }

    .interesados .interesados-info {
        max-width: 100%;
        padding: 20px;
    }

    .interesados .interesados-info h2,
    .interesados .interesados-info h3 {
        text-shadow: none !important;
    }
    
    .boton-form {
        padding-top: 20px;
    }

    .download h2 {
        font-size: 28px;
    }

    .download p {
        font-size: 16px;
    }

    .privacidad {
        padding: 42px 0 36px;
    }

    .privacidad h2 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .privacidad-grid {
        grid-template-columns: 1fr;
    }

    .privacidad-card {
        padding: 18px;
    }

    .privacidad-card p {
        font-size: 16px;
    }

    footer {
        padding: 20px 0;
    }
}

@media (max-width: 640px) {
    .badge {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .panel {
        padding: 20px;
    }

    .interesados h2 {
        font-size: 28px;
    }

    .interesados .input-container label {
        font-size: 18px;
    }

    .interesados .input-container input,
    .interesados .input-container select {
        padding: 12px 14px;
    }

    .btn-menu,
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .ubicaciones h2 {
        min-height: 48px;
        margin-bottom: 24px;
        font-size: 34px;
    }

    .ubicaciones .cards h3 {
        padding: 0 0 6px;
        font-size: 28px;
    }

    .privacidad {
        padding: 36px 0 30px;
    }

    .privacidad h2 {
        font-size: 24px;
    }

    .privacidad-grid {
        grid-template-columns: 1fr;
    }

    .privacidad-card {
        padding: 16px;
        border-radius: 14px;
    }

    .privacidad-card p {
        font-size: 15px;
    }
}

@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

/* Mostrar la marca horizontal completa dentro de la tarjeta del agente */
.agent-card img.LogoOficina {
    width:auto;
    max-width:60%;
    height:auto;
    display:block;
    margin:0 auto 16px;
    object-fit:contain;
    padding:0 16px;
}

.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 760px);
    background: rgba(37, 37, 38, 0.97);
    color: #f4f4f4;
    border: 1px solid #beaf87;
    border-radius: 14px;
    padding: 14px 16px;
    z-index: 1200;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cookie-banner p {
    margin: 0;
    font-family: Typold;
    font-size: 16px;
    line-height: 1.45;
}

.cookie-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-btn {
    border: 0;
    border-radius: 10px;
    padding: 9px 14px;
    font-family: Typold;
    font-size: 15px;
    cursor: pointer;
}

.cookie-btn-primary {
    background: #beaf87;
    color: #252526;
}

.cookie-btn-secondary {
    background: #444;
    color: #fff;
}

@media (max-width: 640px) {
    .cookie-actions {
        justify-content: stretch;
    }

    .cookie-btn {
        width: 100%;
    }
}
