:root {
    
    --color-principal: #7DD3FC;
    --color-principal-oscuro: #36B8E6;
    --navy: #0A1F33;
    --dark-navy: #061525;
    --gold: #C9A96E;
    --light-gold: #D4BC8B;
    --white: #FFFFFF;
    --off-white: #F8F7F4;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--white);
    color: var(--gray-800);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 31, 51, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    padding: 0;
}

.navbar.scrolled {
    background: rgba(10, 31, 51, 0.98);
    box-shadow: var(--shadow-lg);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    z-index: 1001;
}

.navbar-logo .logo-icon {
    width: 68px;
    height: 68px;    
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.navbar-logo .logo-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
    position: relative;
    z-index: 1;
}



.navbar-logo .logo-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;

    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.6) 30%,
             rgba(255, 255, 255, 0.9) 50%,
              rgba(255, 255, 255, 0.6) 70%,
            transparent 100%
            );
    animation: logoShine 2.5s ease-in-out infinite;
    transform:rotate(25deg);

    z-index: 2;
    pointer-events: none;
}

@keyframes logoShine {
  0% {
        left: -80%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    45% {
        left: 120%;
        opacity: 1;
    }
    60% {
        opacity: 0;
    }
    100% {
        left: 120%;
        opacity: 0;  }
}

.navbar-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.navbar-logo .logo-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: -0.3px;
}

.navbar-logo .logo-subtitle {
    font-size: 0.7rem;
    color: var(--gray-400);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-300);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.6rem 1.1rem;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    letter-spacing: -0.1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
    background: #4CC9F0 !important;
    color: #0A1F33 !important;
    font-weight: 700 !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: 50px !important;
    transition: var(--transition) !important;
    box-shadow: 0 4px 15px rgba(76, 201, 240, 0.35);
    position: relative !important;
    overflow: hidden !important;
    letter-spacing: -0.2px;
}



/* Animación del brillo (más rápida que el logo para que destaque) */
@keyframes navCtaShine {
    0% {
        left: -80%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    45% {
        left: 120%;
        opacity: 1;
    }
    60% {
        opacity: 0;
    }
    100% {
        left: 120%;
        opacity: 0;
    }
}

.nav-cta:hover {
    background: #36B8E6 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(76, 201, 240, 0.5) !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

/* ========== HERO ========== */
.hero {
    min-height: 58vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--navy);
    overflow: hidden;
    padding-top: 55px;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.9) 40%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.9) 40%, rgba(0, 0, 0, 0) 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(226, 35, 26, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 169, 110, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 1rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
    text-align: left;
    max-width: 800px;
}


@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    50% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
}



/* =====================================================
   TÍTULO PRINCIPAL DEL HERO
===================================================== */



.hero h1 {
    width: 100%;
    max-width: 1500px;

    font-family: "Manrope", sans-serif;
    font-size: clamp(7rem, 10vw, 11rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -3px;

    color: #ffffff;
    margin-bottom: 0;
}


/* =====================================================
   PÁRRAFO DEL HERO
===================================================== */

.hero-content p{

    max-width:620px;

    font-size:1.2rem;

    line-height:1.35;

    color:rgba(255,255,255,0.88);

    margin: 0.5rem 0 0.8rem;
}





.hero h1 .highlight {
    color: #7DD3FC;
    font-weight: 800;
    background: none;

    text-shadow:
        0 0 8px rgba(88, 216, 255, 0.75),
        0 0 18px rgba(88, 216, 255, 0.45);
}






.hero h2 {
    font-size: 1.05rem;
    color: var(--gray-400);
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 0.3px;
}


/*estadisticas*/

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.3rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: left;
}


/*numeros*/

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    letter-spacing: -1px;
}

.hero-stat-number .plus {
    color: var(--white);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-top: 0.3rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/*boton principal*/

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: -0.2px;
}

.btn-primary{
    background: #4CC9F0;
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 20px rgba(76,201,240,.25);
}

.btn-primary:hover{
    background: #36B8E6;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/5;
    max-width: 420px;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-floating-card {
    position: absolute;
    bottom: -25px;
    left: -30px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.5rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-floating-card .fc-icon {
    width: 48px;
    height: 48px;
    background: #fef2f2;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--color-principal);
}

.hero-floating-card .fc-text strong {
    display: block;
    color: var(--gray-900);
    font-weight: 700;
    font-size: 0.9rem;
}
.hero-floating-card .fc-text span {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* ===== TARJETA FLOTANTE 2 ===== */
.hero-floating-card-2 {
   
position: absolute;

    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 10px;

    background: white;
    opacity: 1;
    z-index: 20;

    padding: 0.8rem 1rem;
    border-radius: var(--radius-lg);

    animation: float 3s ease-in-out infinite 0.8s;

    box-shadow: var(--shadow-xl);
    z-index: 20;

   


}


.hero-floating-card-2 .fc2-badge {
    width: 42px;
    height: 42px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
}
.hero-floating-card-2 .fc2-text strong {
    display: block;
    color: var(--gray-900);
    font-weight: 700;
    font-size: 0.85rem;
}
.hero-floating-card-2 .fc2-text span {
    color: var(--gray-500);
    font-size: 0.75rem;
}



/* ===== Globo ¿Buscas un seguro? ===== */

.hero-rent-card{
    position:absolute;
    right:25px;
    bottom:120px;

    display:flex;
    align-items:center;
    gap:12px;

    background:#16324F;
    border-radius:16px;
    padding:1rem 1.2rem;

    text-decoration:none;

    box-shadow:0 15px 35px rgba(0,0,0,.25);

    transition:.3s ease;

    z-index:10;
}

.hero-rent-card:hover{
    transform:translateY(-5px);
}

.rent-card-icon{
    width:46px;
    height:46px;

    background:#4CC9F0;
    color:#fff;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:1.2rem;
}

.rent-card-text strong{
    display:block;
    color:#ffffff;
    font-size: 0.9rem;
    font-weight:700;
}

.rent-card-text span{
    display:block;
    color:rgba(255,255,255,.75);
    font-size: 0.78rem;
    margin-top:2px;
}


/* =====================================================
   AJUSTES GENERALES DEL HERO
===================================================== */


.hero-stats {
    gap: 1rem;
    margin-bottom: 0;
}


/* ========== SECTION STYLES ========== */
.section {
    padding: 4.5rem 2rem;
}
.section-container {
    max-width: 1280px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.section-tag {
    display: inline-block;
    background: #fef2f2;
    color: var(--color-principal);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-tag.gold {
    background: #fdf8f0;
    color: #8b6914;
}

.section-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.3rem, 4vw, 3rem);
    font-weight: 800;
    color: #2B5D73;
    letter-spacing: -1px;
    margin-bottom: 0;
    line-height: 1.15;
}




.section-subtitle {
    color: var(--gray-500);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

/* ========== SERVICES ========== */



.service-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.8rem 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

 #servicios .section-title{
    font-size: clamp(1.7rem, 3vw, 2.2rem);
 }


#servicios{

    background: linear-gradient(
        to bottom,
        #F4F8FC 0%,
        #EDF5FB 40%,
        #F8FBFE 100%
    );

}





/* ===== TARJETA SEGUROS ===== */
.service-card.insurance::before { 
    background: linear-gradient(90deg, #4CC9F0, #7DD3FC); 
}

.service-card.insurance .service-icon { 
    background: rgba(125, 211, 252, 0.15); 
    color: #4CC9F0;
    border: 2px solid rgba(125, 211, 252, 0.3);
}

.service-card.insurance .service-link:hover { 
    color: #4CC9F0; 
}

.service-card.insurance {
    background: linear-gradient(135deg, 
        rgba(76, 201, 240, 0.04) 0%, 
        rgba(125, 211, 252, 0.04) 50%, 
        rgba(255, 255, 255, 1) 100%
    );
    border: 1px solid rgba(125, 211, 252, 0.15);
}

.service-card.insurance:hover {
    background: linear-gradient(135deg, 
        rgba(76, 201, 240, 0.08) 0%, 
        rgba(125, 211, 252, 0.08) 50%, 
        rgba(255, 255, 255, 1) 100%
    );
    border-color: rgba(125, 211, 252, 0.3);
    box-shadow: 0 20px 40px rgba(76, 201, 240, 0.1), 0 10px 20px rgba(125, 211, 252, 0.08);
}






/* ===== TARJETA CONSULTORÍA ===== */
.service-card.consulting::before { 
    background: linear-gradient(90deg, #b8860b, var(--gold)); 
}

.service-card.consulting .service-icon { 
    background: #fdf8f0; 
    color: #b8860b; 
}

.service-card.consulting .service-link:hover { 
    color: #b8860b; 
}

/* ===== GENERAL ===== */
.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.45rem;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 0.8rem;
}

.service-link {
    color: var(--gray-900);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.service-link:hover { 
    gap: 12px; 
}




/* ========== ABOUT ========== */

.about-image {
    position: relative;
}



.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-xl);
}
.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--navy);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
}
.about-experience-badge .years {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--gold);
}
.about-experience-badge .text { font-size: 0.8rem; color: var(--gray-300); }

/* ========== TESTIMONIALS ========== */
.testimonials-section {
    background: var(--navy);
    color: white;
}
.testimonials-section .section-title { color: white; }
.testimonials-section .section-subtitle { color: var(--gray-400); }
.testimonials-section .section-tag {
    background: rgba(255,255,255,0.08);
    color: var(--gold);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
}
.testimonial-card:hover {
    background: rgba(255,255,255,0.07);
    transform: translateY(-4px);
}
.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.testimonial-card p {
    color: var(--gray-300);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.2);
}
.testimonial-author strong { display: block; color: white; font-size: 0.9rem; }
.testimonial-author span { color: var(--gray-400); font-size: 0.8rem; }

/* ========== CONTACT ========== */
.contact-section {
    background: linear-gradient(135deg, #f8f7f4 0%, #fff 50%, #fef2f2 100%);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/*ponte en contacto*/
.contact-info h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}
.contact-info p { color: var(--gray-500); margin-bottom: 2rem; }
.contact-details { list-style: none; display: grid; gap: 1.2rem; }
.contact-details li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-700);
    font-weight: 500;
}
.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.contact-icon.phone { background: #fef2f2; color: #7DD3FC ; }
.contact-icon.email { background: #eff6ff; color: #2563eb; }
.contact-icon.location { background: #fdf8f0; color: #b8860b; }

.contact-form-wrapper {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}
.contact-form-wrapper h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--gray-100);
    color: var(--gray-800);
    resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-principal);
    background: white;
    box-shadow: 0 0 0 4px rgba(226,35,26,0.06);
}
.btn-submit {
    width: 100%;
    background: var(--color-principal);
    color: white;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: -0.2px;
    box-shadow: 0 6px 20px rgba(226,35,26,0.3);
}
.btn-submit:hover {
    background: var(--color-principal-oscuro);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(226,35,26,0.45);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark-navy);
    color: var(--gray-400);
    padding: 4rem 2rem 2rem;
}
.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;

}


.footer-container > div{
    align-self: start;
}



.footer-brand .logo-icon {
    width: 68px;
    height: 68px;

    border-radius: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    overflow: hidden;

    margin-bottom: 1rem;

    box-shadow:
        0 0 15px rgba(76,201,240,.45),
        inset 0 0 10px rgba(255,255,255,.15);
}

.footer-brand .logo-icon img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    border-radius:inherit;
    position:relative;
    z-index:1;
}



/* Animación del brillo para el footer */
@keyframes footerLogoShine {
    0% {
        left: -80%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    45% {
        left: 120%;
        opacity: 1;
    }
    60% {
        opacity: 0;
    }
    100% {
        left: 120%;
        opacity: 0;
    }
}




.footer-brand .logo-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;

    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.6) 30%,
            rgba(255, 255, 255, 0.9) 50%,
            rgba(255, 255, 255, 0.6) 70%,
            transparent 100%
            );

    animation: footerLogoShine 2.5s ease-in-out infinite;
    transform: rotate(25deg);

    z-index: 2;
    pointer-events: none;

}




.footer-brand p { font-size: 0.9rem; line-height: 1.6; color: var(--gray-500); }

.footer h5 {
    margin-top: 0;
    margin-bottom: 1.2rem;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}


.footer ul li { margin-bottom: 0.6rem; }
.footer ul li a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer ul li a:hover { color: white; }
.footer-bottom {
    max-width: 1280px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
}
.footer-social { display: flex; gap: 0.8rem; margin-top: 1rem; }
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    transition: var(--transition);
    text-decoration: none;


}
.footer-social a:hover { background:  #7DD3FC; color: white; }



/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-bg-image {
        width: 100%;
        opacity: 0.25;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    }
    .hero-stats { justify-content: center; }
    .hero-buttons { justify-content: center; }
    .hero-image-wrapper { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .about-experience-badge { right: 10px; bottom: -15px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

 @media (max-width: 900px){
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 350px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 0.3rem;
        transition: var(--transition-slow);
        box-shadow: var(--shadow-xl);
        z-index: 1000;


}

    }
    .nav-links.active { right: 0; }
    .nav-links a {
        display: block;
        padding: 0.8rem 1rem;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }
    .mobile-menu-toggle { display: block; }
    .section { padding: 4rem 1.2rem; }
    .services-grid,
    .properties-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .hero h1 { font-size: clamp(3rem, 3.3vw, 3.4rem); }
    .hero-stats { gap: 1.5rem; }
    .hero-stat-number { font-size: 1.6rem; }
    .hero-floating-card,
    .hero-floating-card-2 { display: none; }


@media (max-width: 480px) {
    .properties-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .navbar-container { padding: 0 1rem; }

  .hero {
    padding-top: 90px;
    padding-bottom: 2rem;
    min-height: auto;
}

.hero-container {
    padding: 2rem 1rem;
    display: block;
}

.hero h1 {
    font-size: 1.75rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}


.hero-rent-card {
    display: none;
}



.btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
}

.contact-form-wrapper {
    padding: 1.5rem;
}
  
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.hero,
.section,
.navbar,
.footer {
    max-width: 100%;
    overflow-x: hidden;
}

 

.hero-rent-card{
    display: flex !important;
    position: static !important;
    width: calc(100% - 2rem);
    max-width: 300px;
    margin: 1.5rem auto 0;
    padding: 0.85rem 0.9rem;
    box-sizing: border-box;
    transform: none !important;
    right: auto !important;
    bottom: auto !important;
}







.rent-card-text span {
    word-break: normal;
}


.rent-card-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.rent-card-text strong {
    font-size: 0.9rem;
}

.rent-card-text span {
    font-size: 0.78rem;
    line-height: 1.25;
}










}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
    transition: var(--transition);
}
.mobile-overlay.active { display: block; }



.fc2-badge img{
    width:70px;
    height:70px;
    object-fit:contain;
}



.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 35px;
    background: #1a252f;
    border: 2px solid rgba(125, 211, 252, 0.2);
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
}


.about-content::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;

    background: linear-gradient(
        90deg,
        #00FFFF,
        #FFF8DC,
        #00FFFF);
         border-radius:25px 25px 0 0;
}




.about-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-700);
    font-weight: 500;
}


.about-features li i{
    color:#1E3A5F !important;
 font-size: 1.1rem;



}

.about-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0;
    margin-top: 1.5rem;
}

/* ========== BOTONES DE CONTACTO MODERNOS ========== */
.contact-buttons-modern {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 0;
max-width: 340px;
margin: 0 auto;


}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    border: 2px solid transparent;
}

.contact-btn-whatsapp {
    background: #e8f5e9;
    border-color: #c8e6c9;
}

.contact-btn-whatsapp:hover {
    background: #c8e6c9;
    border-color: #25D366;
    transform: translateX(6px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.2);
}

.contact-btn-email {
    background: #e3f2fd;
    border-color: #bbdefb;
}

.contact-btn-email:hover {
    background: #bbdefb;
    border-color: #2196F3;
    transform: translateX(6px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.2);
}

.contact-btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-btn-whatsapp .contact-btn-icon {
    background: #25D366;
    color: white;
}

.contact-btn-email .contact-btn-icon {
    background: #2196F3;
    color: white;
}

.contact-btn-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-btn-text small {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.contact-btn-whatsapp .contact-btn-text small {
    color: #2e7d32;
}

.contact-btn-email .contact-btn-text small {
    color: #1565c0;
}

.contact-btn-text strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);


}

.contact-btn-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
}

.contact-btn-whatsapp .contact-btn-arrow {
    background: #25D366;
    color: white;
}

.contact-btn-email .contact-btn-arrow {
    background: #2196F3;
    color: white;
}

.contact-btn:hover .contact-btn-arrow {
    opacity: 1;
    transform: translateX(0);
}

.contact-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.contact-btn:hover::after {
    left: 100%;
}

.nav-cta .fa-phone {
    transition: transform 0.3s ease;
}

.nav-cta:hover .fa-phone {
    transform: rotate(15deg) scale(1.2);
}


/* ========== MARCAS / ALIADOS ========== */
.marcas-section {
    margin-top: 0px;
    width: 100%;
    padding: 0rem 0;
    background: linear-gradient(180deg, 
   #2c3e50 0%, 
        #34495e 30%, 
        #3d566e 60%, 
        #4a6274 100%
    );

        
}
.bloque-aliados {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    padding: 10px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(10, 31, 51, 0.08), 0 0 0 1px rgba(125, 211, 252, 0.2);
    border: 2px solid rgba(76, 201, 240, 0.3);
    position: relative;
    overflow: hidden;
    animation: floatAliados 4s ease-in-out infinite;
    background: linear-gradient(180deg, 
        #e8ecf0 0%, 
        #f0f2f5 50%, 
        #f8f9fa 100%
    );
}


.titulo-aliados {
    margin: 5px 0 28px;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    color: #2B5D73;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.7px;
}





.titulo-aliados span{
    color:#7DD3FC;
    text-shadow:0 0 10px rgba(125,211,252,.30);
}





@keyframes floatAliados {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-12px); 
    }
}

.bloque-aliados::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        #4CC9F0, 
        #7DD3FC, 
        #C9A96E, 
        #7DD3FC, 
        #4CC9F0
    );
    border-radius: 24px 24px 0 0;
}


.titulo-aliados::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4CC9F0, #7DD3FC);
    margin: 8px auto 0;
    border-radius: 10px;
}

.logos-aliados {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: center;
    justify-items: center;
}

.logo-aliado {
    width: 180px;
    height: 100px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(20%);
    opacity: 0.85;
}

.logo-aliado:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive */
@media (max-width: 700px) {
    .logos-aliados {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .bloque-aliados {
        padding: 30px 20px;
    }
    
    .titulo-aliados {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logos-aliados {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
     
    .logo-aliado{
        width: 90px;
        height: 55px;
    }
}

/* ===== TARJETAS DE LOS LOGOS ===== */

.logo-box{
    width: 150px;
    height: 95px;
    background: #fff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: .3s;
    box-sizing: border-box;
}




.logo-box:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

/* Colores de cada compañía */

.berkley{
    border-color:#2E8B57;
}

.bse{
    border-color:#0057B8;
}

.hdi{
    border-color:#009639;
}

.mapfre{
    border-color:#E30613;
}

.porto{
    border-color:#0089CF;
}

.sancristobal{
    border-color:#005AA9;
}

.sbi{
    border-color:#5C3D99;
}

.sura{
    border-color:#00AEEF;
}






/* Fondo continuo desde aliados hasta el footer */
#sobre-mi,
#testimonios,
#contacto {
    background: linear-gradient(180deg, 
        #4a6274 0%, 
        #3d566e 40%, 
        #2c3e50 80%,
        #1a252f 100%
    );
}

/* Para que el texto de estas secciones sea blanco */
#sobre-mi .section-title,
#testimonios .section-title,
#contacto .section-title {
    color: #ffffff;

 font-size: clamp(2rem, 3.5vw, 2.7rem);
    line-height: 1.15;
}

#sobre-mi .section-subtitle,
#testimonios .section-subtitle,
#contacto .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

#sobre-mi p,
#contacto p {
    color: rgba(255, 255, 255, 0.8);
}

/* ========== SOBRE MÍ ========== */



.about-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4CC9F0, #7DD3FC, #C9A96E, #7DD3FC, #4CC9F0);
    border-radius: 25px 25px 0 0;
}



.about-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 600;

    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #dff6ff 45%,
        #7DD3FC 100%
    );


     background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 0 8px rgba(125,211,252,.60),
        0 0 18px rgba(125,211,252,.45),
        0 0 30px rgba(76,201,240,.30);

    margin-bottom: 8px;
}





.about-highlight {
    color: #7DD3FC;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.about-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    line-height: 1.45;
}

.about-content strong {
    color: #ffffff;
}

.about-tag {
    background: rgba(125, 211, 252, 0.2) !important;
    color: #7DD3FC !important;
    border: 1px solid rgba(125, 211, 252, 0.3);
}

.about-features {
    list-style: none;
    display: grid;
    gap: 0.35rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.about-features li i {
    color: #4CC9F0 !important;
    font-size: 1.1rem;
}


/* ========== GALERÍA MODAL ========== */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.94);
    z-index: 9999;

    overflow-y: auto;
    overflow-x: hidden;

    padding: 70px 20px 40px;

    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

.modal-overlay.active {
    display: flex;
}




.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
    background: none;
    border: none;
}

.modal-close:hover {
    color: #7DD3FC;
}


.modal-img {
    display: block;

    width: min(1100px, 94vw);
    height: auto;

    max-width: none;
    max-height: none;

    object-fit: contain;

    border-radius: 12px;
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.55);

    margin: 0 auto;
}

@media (max-width: 700px) {

    .modal-overlay {
        padding: 60px 8px 25px;
        align-items: flex-start;
    }

    .modal-img {
        width: 1600px;
        max-width: none;
        height: auto;
        margin: 0;
    }
}







.modal-nav {
    display: none;
    
}

.modal-nav button {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-nav button:hover {
    background: #7DD3FC;
    border-color: #7DD3FC;
    color: #0A1F33;
}

.modal-counter {
    display: none;
}


body {
    user-select: none;
    -webkit-user-select: none;
}

img {
    -webkit-user-drag: none;
    user-select: none;
}



/* ===== COMPACTAR CONTACTO ===== */

#contacto .section-header{
    margin-bottom: 1rem;
}

#contacto .section-title{
    margin-bottom: 0.2rem;
}

#contacto .section-subtitle{
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.35;
}

#contacto{
    padding-top: 3rem;
    padding-bottom: 3rem;
}



.hero-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
}

.hero h1,
.hero p{
    width: 100%;
    text-align: left !important;
    margin-left: 0;
}

.footer-quick-links{
    justify-self: end;
    text-align: right;
}


.footer-container{
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: start;
}


.footer-seguros,
.footer-quick-links{
    text-align: left;
    justify-self: start;
}

.footer-quick-links{
    justify-self: end;
}


.berkley{ border:3px solid #2E8B57; }

.bse{ border:3px solid #0072CE; }

.hdi{ border:3px solid #00A651; }

.mapfre{ border:3px solid #E30613; }

.porto{ border:3px solid #0089CF; }

.sancristobal{ border:3px solid #1F5AA6; }

.sbi{ border:3px solid #6B46C1; }

.sura{ border:3px solid #00AEEF; }


.logo-box img{
    width: 75%;
    height: auto;
    object-fit: contain;
}



html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}


html,
body {
    overflow-x: hidden;
}


/* FIX GENERAL MOBILE */
@media (max-width: 480px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .navbar,
    .hero,
    section,
    .footer,
    .footer-container,
    .contact-section,
    .contact-container,
    .contact-form-wrapper,
    .services-grid {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .hero {
        padding-top: 90px;
        min-height: auto;
    }

    .hero-container {
        width: 100%;
        display: block;
        padding: 2rem 1rem;
        box-sizing: border-box;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.15;
    }

    .hero-rent-card {
        position: static !important;
        transform: none !important;
        width: 100%;
        max-width: 280px;
        margin: 1.5rem auto 0;
        padding: 0.85rem;
        display: flex !important;
        box-sizing: border-box;
    }

    .rent-card-icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .rent-card-text strong {
        font-size: 0.9rem;
    }

    .rent-card-text span {
        font-size: 0.78rem;
        line-height: 1.25;
    }

    .footer-container {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .footer-col,
    .footer-brand,
    .footer-quick-links {
        width: 100%;
        max-width: 100%;
    }

    input,
    textarea,
    select,
    button {
        max-width: 100%;
        box-sizing: border-box;
    }
}



/* =========================================
   SERVICIO Y COMPAÑÍAS ALIADAS
========================================= */


.service-card.insurance {
    margin-top: 100px;

}





.services-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 50px;
}

.columna-aliados {
    width: 100%;
}

.titulo-aliados {
    margin: 5px 0 28px;
    text-align: center;
}





.logo-box {
    min-height: 105px;
    padding: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    border: 2px solid #42c4ed;
    border-radius: 16px;
}

.logo-aliado {
    width: 100%;
    max-width: 130px;
    max-height: 75px;
    object-fit: contain;
    cursor: pointer;
}

@media (max-width: 900px) {

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


.service-card.insurance {
    margin-top: 0;
}






    .logos-aliados {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


.section-title .highlight-title{
    color:#17324D;
    text-shadow:0 0 12px rgba(125,211,252,.35);
}

.highlight-title{
    color:#7DD3FC;
    text-shadow:0 0 12px rgba(125,211,252,.35);
}


.contact-title{
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: .6rem;

    text-shadow:
        0 0 8px rgba(125,211,252,.35),
        0 0 18px rgba(125,211,252,.20);
}


/* ===== VISOR GRANDE DE FOLLETOS ===== */

.modal-overlay {
    overflow-y: auto !important;
    overflow-x: auto !important;
    padding: 70px 20px 40px !important;
    justify-content: flex-start !important;
    align-items: center !important;
}

.modal-img {
    display: block;
    width: min(1100px, 94vw);
    height: auto;

    max-width: none !important;
    max-height: none !important;

    object-fit: contain;
    margin: 0 auto;

    border-radius: 12px;
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.55);
}

/* Sin botones ni contador */
.modal-nav,
.modal-counter {
    display: none !important;
}

/* Tablet */
@media (min-width: 701px) and (max-width: 1100px) {
    .modal-img {
        width: 1100px;
    }
}

/* Celular */
@media (max-width: 700px) {
    .modal-overlay {
        padding: 60px 8px 25px !important;
        align-items: flex-start !important;
    }

    .modal-img {
        width: 900px;
        margin: 0;
    }
}

/* =====================================================
   HERO RESPONSIVE - CELULARES
===================================================== */

@media (max-width: 767px) {

    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 32px;
        display: block;
        overflow: hidden;
    }

    .hero-bg-image {
        width: 100%;
        height: 100%;
        opacity: 0.2;

        mask-image: none;
        -webkit-mask-image: none;
    }

    .hero-container {
        display: block;
        width: 100%;
        padding: 32px 24px 20px;
    }

    .hero-content {
        width: 100%;
        max-width: none;
        text-align: left;
    }

    .hero h1 {
        width: 100%;
        max-width: none;

        font-size: clamp(2.6rem, 12vw, 4rem);
        line-height: 1.05;
        letter-spacing: -2px;

        margin: 0 0 20px;
    }

    .hero-content p {
        width: 100%;
        max-width: none;

        font-size: 1.05rem;
        line-height: 1.55;

        margin: 0;
    }

    /* Oculta el texto secundario que queda detrás */
    .fc2-text {
        display: none;
    }

    /* La tarjeta deja de estar flotando */
    .hero-rent-card {
        position: relative;
        inset: auto;

        display: flex;
        width: calc(100% - 48px);
        max-width: none;

        margin: 8px 24px 0;
        padding: 18px;

        transform: none;
        z-index: 3;
    }

    .rent-card-text {
        min-width: 0;
    }

    .rent-card-text strong {
        display: block;
        font-size: 1rem;
        line-height: 1.25;
        margin-bottom: 5px;
    }

    .rent-card-text span {
        display: block;
        font-size: 0.9rem;
        line-height: 1.4;
    }
}


/* Evita desbordes en celulares muy angostos */
@media (max-width: 380px) {

    .contact-section,
    .contact-grid,
    .contact-info,
    .contact-buttons-modern,
    .contact-form-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .contact-btn {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 1rem;
        gap: 0.75rem;
    }

    .contact-btn-text {
        min-width: 0;
        flex: 1;
    }

    .contact-btn-text strong {
        display: block;
        max-width: 100%;
        font-size: 0.88rem;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .contact-form-wrapper {
        padding: 1.5rem 1rem;
    }

    input,
    select,
    textarea,
    button {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* ===== CERTIFICACIÓN ===== */

.about-certificacion{
    margin: 14px 0 18px;
    padding: 14px 18px;

    background: rgba(125,211,252,.08);

    border-left: 4px solid #7DD3FC;
    border-radius: 12px;

    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.about-certificacion strong{
    display:block;

    color:#7DD3FC;

    font-size:1.05rem;

    font-weight:800;

    margin-bottom:6px;
}

.about-certificacion span{
    display:block;

    color:#d7dde3;

    line-height:1.6;

    font-size:.95rem;
}

.about-content h3 {
    display: inline-block;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;

    text-shadow:
        0 0 8px rgba(125, 211, 252, 0.45),
        0 0 18px rgba(76, 201, 240, 0.25);

    animation: nombreBrillo 3s ease-in-out infinite;
}

@keyframes nombreBrillo {
    0%,
    100% {
        color: #ffffff;
        text-shadow:
            0 0 6px rgba(125, 211, 252, 0.35),
            0 0 14px rgba(76, 201, 240, 0.20);
        transform: scale(1);
    }

    50% {
        color: #7DD3FC;
        text-shadow:
            0 0 10px rgba(125, 211, 252, 0.75),
            0 0 24px rgba(76, 201, 240, 0.45);
        transform: scale(1.02);
    }
}

/* Efecto para "Protejo lo que más valorás" */
.titulo-protejo {
    display: inline-block;
    position: relative;
    color: #2B5D73;

    text-shadow:
        0 0 6px rgba(125, 211, 252, 0.20),
        0 0 14px rgba(76, 201, 240, 0.12);

    animation: brilloProtejo 4s ease-in-out infinite;
}

.titulo-protejo::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 10px;

    background: linear-gradient(
        90deg,
        transparent,
        #4CC9F0,
        #7DD3FC,
        transparent
    );

    animation: lineaProtejo 4s ease-in-out infinite;
}

@keyframes brilloProtejo {
    0%,
    100% {
        color: #2B5D73;
        text-shadow:
            0 0 6px rgba(125, 211, 252, 0.20),
            0 0 14px rgba(76, 201, 240, 0.12);
        transform: scale(1);
    }

    50% {
        color: #32718c;
        text-shadow:
            0 0 10px rgba(125, 211, 252, 0.45),
            0 0 22px rgba(76, 201, 240, 0.25);
        transform: scale(1.015);
    }
}

@keyframes lineaProtejo {
    0%,
    100% {
        width: 55px;
        opacity: 0.55;
    }

    50% {
        width: 100px;
        opacity: 1;
    }
}

