/* Prooq España - Modern CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    --primary-color: #0066ff;
    --secondary-color: #ff6b35;
    --accent-color: #c41e3a;
    --dark-color: #1a1a2e;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --white: #ffffff;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.flag-icon {
    height: 30px;
    width: auto;
    margin-left: 1rem;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('images/esp.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 3rem 2.5rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
    color: rgba(255, 255, 255, 0.95);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
    flex-wrap: wrap;
}

.hero-location {
    animation: fadeInUp 1s ease-out 0.8s both;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.cta-button.primary {
    background: linear-gradient(135deg, #0066ff, #00d4ff);
    color: white;
    box-shadow: var(--shadow-medium);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--white);
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.services-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--medium-gray);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0, 102, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #0066ff, #00d4ff);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    color: var(--medium-gray);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--medium-gray);
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

/* Team Section */
.team {
    padding: 6rem 0;
    background: var(--white);
}

.team h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.team-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--medium-gray);
    margin-bottom: 4rem;
}

.team-content {
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.member-photo {
    text-align: center;
}

.profile-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

.member-info h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.member-info h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.member-info p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.skill {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.expertise {
    font-style: italic;
    color: var(--medium-gray) !important;
}

/* Location Section */
.location {
    padding: 6rem 0;
    background: var(--light-gray);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.location-text p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.detail-icon {
    font-size: 2rem;
}

.detail h4 {
    color: var(--dark-color);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.detail p {
    color: var(--medium-gray);
    margin: 0;
}

.location-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--dark-color);
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.3rem;
    margin-bottom: 4rem;
    opacity: 0.9;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-method h4 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-method p {
    opacity: 0.9;
}

.contact-cta {
    margin-top: 3rem;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .location-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .team-member {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services h2,
    .team h2,
    .contact h2 {
        font-size: 2.2rem;
    }

    .about-text h2,
    .location-text h2 {
        font-size: 2.2rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }

    .nav-links {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .service-card,
    .team-member {
        padding: 2rem 1.5rem;
    }

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



/* ==== BOTÓN FLOTANTE ==== */
#cf-fab-btn{
  position:fixed; right:40px; bottom:40px; z-index:247483647;
  padding:0 22px; height:60px; border-radius:50px; border:0; cursor:pointer;
  font-size:18px; font-weight:600;
  background:linear-gradient(135deg,#0066ff,#00d4ff);
  color:#fff;
  box-shadow:0 10px 25px rgba(0,102,255,.3); 
  display:flex; align-items:center; gap:8px;
  transition:all .25s ease-in-out;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 10px 25px rgba(0,102,255,.3), 0 0 0 0 rgba(0,102,255,.4);
  }
  50% {
    box-shadow: 0 10px 25px rgba(0,102,255,.3), 0 0 0 10px rgba(0,102,255,0);
  }
  100% {
    box-shadow: 0 10px 25px rgba(0,102,255,.3), 0 0 0 0 rgba(0,102,255,0);
  }
}

#cf-fab-btn:hover{
  transform:scale(1.06);
  box-shadow:0 14px 35px rgba(0,102,255,.4);
  animation: none;
}

/* ==== BACKDROP ==== */
.cf-chat-backdrop{
  position:fixed; inset:0; background:rgba(0,0,0,.6);
  z-index:2147483640; display:none;
}

/* ==== CHAT BOX ==== */
.cf-chat-wrap{
  position:fixed; right:40px; bottom:40px;
  width:720px; height:700px; max-width:95vw; max-height:85vh;
  border-radius:16px; overflow:hidden; background:#101827;
  box-shadow:0 16px 45px rgba(0,0,0,.35);
  opacity:0; transform:translateY(40px); transition:all .3s ease-in-out;
  border:5px solid rgba(255,255,255,.1);
  background-image:linear-gradient(rgba(10,20,40,0.95), rgba(0,30,80,0.95)),
    url('https://images.unsplash.com/photo-1581090464777-f3220bbe1b8b?w=1600&q=80&auto=format&fit=crop');
  background-size:cover; background-position:center;
}
.cf-chat-wrap.show{ opacity:1; transform:translateY(0); }

/* ==== BOTÓN CERRAR ==== */
.cf-chat-close{
  position:absolute; top:8px; right:12px; z-index:2; border:none;
  background:transparent; color:#fff; font-size:22px; cursor:pointer;
}

/* iframe */
.cf-chat-frame{ width:100%; height:100%; border:0; border-radius:16px; }

@media (max-width:768px){
  .cf-chat-wrap{ width:90vw; height:80vh; right:5vw; bottom:5vh; }
  #cf-fab-btn{ right:20px; bottom:20px; }
}

