:root {
    --primary-blue: #0f1d4a;
    --secondary-blue: #1a2c5d;
    --accent-blue: #2563eb;
    --dark-navy: #0a0f24;
    --bright-silver: #e5e7eb;
    --silver-metallic: #9ca3af;
    --platinum: #f3f4f6;
    --success-green: #10B981;
    --warning-amber: #F59E0B;
    --white: #FFFFFF;
    --light-gray: #F8FAFC;
    --medium-gray: #64748B;
    --border-color: #E2E8F0;
    --bright-cyan: #06B6D4;
    --electric-cyan: #00F5FF;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, var(--dark-navy) 0%, var(--primary-blue) 50%, var(--secondary-blue) 100%);
    --gradient-silver: linear-gradient(135deg, var(--bright-silver) 0%, var(--silver-metallic) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    --gradient-cyber: linear-gradient(135deg, #06B6D4 0%, #00F5FF 100%);
}

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

body {
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    line-height: 1.6;
    color: var(--primary-blue);
    background: var(--white);
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(10, 15, 36, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 15, 36, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    color: var(--white);
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}

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

.logo-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 150%;
    height: 150%;
    object-fit: contain;
}

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

.nav-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.10rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
}

.nav-menu a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(05px);
    transform: translateY(-2px);
}

.nav-menu a.active {
    color: var(--electric-cyan);
    background: rgba(6, 182, 212, 0.1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(10, 15, 36, 0.7) 0%,
            rgba(15, 29, 74, 0.6) 35%,
            rgba(26, 44, 93, 0.5) 100%);
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Fondo difuminado solo detrás del texto del hero */
.hero-text-bg {
  position: relative;
  background: rgba(0, 0, 0, 0.45); /* Fondo semitransparente */
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 2rem 3rem;
  display: inline-block;
  overflow: hidden;
  transition: background 0.5s ease, backdrop-filter 0.5s ease;
}

.hero-text-bg {
  position: relative;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.55) 40%,   /* centro oscuro */
    rgba(0, 0, 0, 0.35) 65%,   /* transición suave */
    rgba(0, 0, 0, 0) 100%      /* borde invisible */
  );
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem 3rem;
  display: inline-block;
  transition: background 0.5s ease, backdrop-filter 0.5s ease;
}

/* Hover: aumenta la opacidad del centro */
.hero-text-bg:hover {
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.7) 40%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  backdrop-filter: blur(14px);
}



.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-cyber);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 30%;
    animation-delay: 4s;
}

.shape:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 25%;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    color: var(--white);
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--white) 0%, var(--electric-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-subtitle {
    font-size: 1.375rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-cyber);
    color: var(--white);
    box-shadow: 0 10px 30px -5px rgba(6, 182, 212, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -5px rgba(6, 182, 212, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Calculator Section - COLOR BLANCO */
.calculator-section {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--bright-cyan);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.25rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.calculator-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 32px;
    padding: 3.5rem;
    box-shadow: 0 30px 60px -15px rgba(15, 29, 74, 0.2);
    border: 2px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-cyber);
}

.calculator-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.currency-converter {
    display: grid;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.currency-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-label {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.currency-select {
    position: relative;
}

.currency-select select {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    background: var(--white);
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.25rem;
    padding-right: 3.5rem;
    box-shadow: 0 2px 8px rgba(15, 29, 74, 0.08);
}

.currency-select select:focus {
    outline: none;
    border-color: var(--bright-cyan);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15), 0 4px 12px rgba(6, 182, 212, 0.2);
    transform: translateY(-2px);
}

.amount-input {
    position: relative;
}

.amount-input input {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--white);
    color: var(--primary-blue);
    text-align: right;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(15, 29, 74, 0.08);
}

.amount-input input:focus {
    outline: none;
    border-color: var(--bright-cyan);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15), 0 4px 12px rgba(6, 182, 212, 0.2);
    transform: translateY(-2px);
}

.amount-input input:read-only {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    cursor: not-allowed;
}

.swap-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.swap-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--gradient-cyber);
    border: 4px solid var(--white);
    border-radius: 20px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 28px -8px rgba(6, 182, 212, 0.6), 0 0 0 0 rgba(6, 182, 212, 0.4);
    position: relative;
    z-index: 10;
}

.swap-button i {
    font-size: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.swap-button:hover {
    transform: scale(1.1);
    box-shadow: 0 16px 36px -8px rgba(6, 182, 212, 0.8), 0 0 0 8px rgba(6, 182, 212, 0.1);
}

.swap-button:hover i {
    transform: rotate(180deg);
}

.swap-button:active {
    transform: scale(0.95);
}

.exchange-info {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(0, 245, 255, 0.05) 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 2px solid rgba(6, 182, 212, 0.2);
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.1);
}

.exchange-rate {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.last-updated {
    font-size: 0.875rem;
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.last-updated::before {
    content: '🔄';
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* About Section - COLOR AZUL OSCURO */
.about-section {
    padding: 8rem 0;
    background: var(--gradient-primary);
    position: relative;
}

.about-section .section-title,
.about-section .section-description {
    color: var(--white);
}

.about-section .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--electric-cyan);
}

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

.about-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-cyber);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-color: var(--bright-cyan);
    background: rgba(255, 255, 255, 0.15);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-cyber);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--white);
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.about-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* Services Section - COLOR BLANCO */
.services-section {
    padding: 8rem 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0); /* invisible inicialmente */
    transition: background 0.8s ease-in-out; /* más suave y lenta */
}

.service-card:hover .service-image::before {
    background: rgba(56, 97, 172, 0.45); /* se oscurece gradualmente */
}


.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

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

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bright-cyan);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
}

.carousel {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carousel-img.active {
  opacity: 1;
}

.carousel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.8s ease-in-out;
  z-index: 2;
}

.service-card:hover .carousel::before {
  background: rgba(56, 113, 219, 0.171);
}

/* Contact Section - COLOR AZUL OSCURO */
.contact-section {
    padding: 8rem 0;
    background: var(--gradient-primary);
}

.contact-section .section-title,
.contact-section .section-description {
    color: var(--white);
}

.contact-section .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--electric-cyan);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 4rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-medium);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-cyber);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 400px;
}

#map {
    width: 100%;
    height: 100%;
}

/* Footer - COLOR AZUL OSCURO (mismo que contacto) */
.footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--electric-cyan);
}

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

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

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

.footer-section a:hover {
    color: var(--electric-cyan);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--bright-cyan);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.4);
}

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

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 100px);
        background: rgba(10, 15, 36, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        font-size: 1.25rem;
        margin: 1rem 0;
        padding: 1rem 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

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

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

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

    .calculator-card {
        padding: 2rem;
        margin: 0 1rem;
    }

    .section-container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .calculator-card {
        padding: 1.5rem;
    }

    .about-card,
    .contact-info {
        padding: 2rem 1.5rem;
    }
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* WhatsApp Floating Button */
.social-float {
    position: fixed;
    top: 50%;
    /* Centrado vertical */
    left: 10px;
    /* Pegado a la izquierda */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.social-float a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-float a:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

/* Colores de cada red */
.social-float .facebook {
    background: #1877f2;
}

.social-float .instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.social-float .whatsapp {
    background: #25d366;
}

.social-float .tiktok {
    background: linear-gradient(45deg, #25F4EE, #000000, #FE2C55);;
}

/* tabla de precios */
/* contenedor con scroll */

/*.from-yadio {
  color: #007bff;
  font-weight: 600;
}*/


.exchange-table {
    width: 100%;
    max-width: 700px;
    margin: 40px auto 0 auto;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.exchange-table th:first-child,
.exchange-table td:first-child {
  text-align: left;
}

.exchange-table thead th {
    background: #121629;
    color: white;
    text-transform: uppercase;
    font-weight: 700;
    padding: 12px 16px;
    text-align: center;
    position: sticky;
    /* 👈 mantiene fijo */
    top: 0;
    /* 👈 se queda pegado arriba */
    z-index: 2;
    /* 👈 asegura que quede encima */
}

.exchange-table tbody {
    display: block;
    /* 👈 convierte en bloque */
    max-height: 250px;
    /* 👈 altura máxima con scroll */
    overflow-y: auto;
    /* 👈 scroll solo en filas */
}

.exchange-table thead,
.exchange-table tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
    /* 👈 columnas alineadas */
}

.exchange-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.exchange-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.1);
}

.exchange-table img {
    height: 16px;
    vertical-align: middle;
    margin-right: 6px;
    border-radius: 2px;
}

/* ==== Sección "Nuestra Oficina" ==== */
.office-gallery {
  margin-top: 4rem;
  text-align: center;
  position: relative;
}

.office-title {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
  text-transform: capitalize;
  background: linear-gradient(135deg, var(--bright-cyan), var(--electric-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease forwards;
}

.office-carousel {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.3);
  background: var(--white);
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease;
}

/* Al pasar el mouse, sutil realce */
.office-carousel:hover {
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.35);
}

.office-slide {
  display: none;
  opacity: 0;
  width: 100%;
  transition: opacity 0.8s ease-in-out;
}

.office-slide.active {
  display: block;
  opacity: 1;
}

/* Las imágenes ahora definen la altura natural del contenedor */
.office-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 20px;
}

.office-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 15, 36, 0.5);
  border: none;
  color: var(--white);
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.office-btn:hover {
  background: var(--bright-cyan);
  transform: translateY(-50%) scale(1.05);
}

.office-btn.prev {
  left: 15px;
}

.office-btn.next {
  right: 15px;
}

/* Animación de entrada del título */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}