/* Estilos específicos para términos y condiciones */
.terms-hero {
background: linear-gradient(180deg, var(--color-dark-blue), var(--color-median-blue));
color: white;
padding: 80px 0 60px 0;
margin-bottom: 0;
}

.terms-content {
background-color: white;
min-height: 70vh;
padding: 60px 0;
}

.terms-container {
max-width: 1400px;
margin: 0 auto;
padding: 0 20px;
display: flex;
gap: 40px;
align-items: flex-start;
}

.terms-nav {
background: rgba(25, 42, 89, 0.05);
border-radius: 12px;
padding: 25px;
border-left: 4px solid var(--color-light-blue);
position: sticky;
top: 120px;
width: 320px;
flex-shrink: 0;
max-height: calc(100vh - 140px);
overflow-y: auto;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
}

.terms-nav::-webkit-scrollbar {
width: 6px;
}

.terms-nav::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.1);
border-radius: 3px;
}

.terms-nav::-webkit-scrollbar-thumb {
background: var(--color-light-blue);
border-radius: 3px;
}

.terms-nav::-webkit-scrollbar-thumb:hover {
background: var(--color-median-blue);
}

.terms-content-wrapper {
flex: 1;
min-width: 0;
}

.terms-nav h4 {
color: var(--color-dark-blue);
margin-bottom: 15px;
font-weight: 600;
}

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

.terms-nav li {
margin-bottom: 8px;
}

.terms-nav a {
color: var(--color-light-blue);
text-decoration: none;
padding: 8px 12px;
border-radius: 6px;
display: block;
transition: all 0.3s ease;
}

.terms-nav a:hover {
background-color: var(--color-light-blue);
color: white;
transform: translateX(5px);
}

.terms-nav a.active {
background-color: var(--color-terracotta);
color: white;
font-weight: 600;
transform: translateX(8px);
}

.terms-nav a.active:hover {
background-color: var(--color-terracotta);
transform: translateX(8px);
}

.terms-section {
margin-bottom: 50px;
padding: 30px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.8);
border: 1px solid rgba(25, 42, 89, 0.1);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.terms-section h2 {
color: var(--color-dark-blue);
border-bottom: 3px solid var(--color-terracotta);
padding-bottom: 15px;
margin-bottom: 25px;
font-weight: 600;
}

.terms-section h3 {
color: var(--color-median-blue);
margin-top: 30px;
margin-bottom: 15px;
font-weight: 600;
}

.terms-section p {
line-height: 1.8;
margin-bottom: 20px;
color: #495057;
text-align: justify;
}

.terms-section ul, .terms-section ol {
margin-bottom: 20px;
padding-left: 30px;
}

.terms-section li {
margin-bottom: 10px;
line-height: 1.7;
color: #495057;
}

.highlight-box {
background: linear-gradient(135deg, rgba(194, 82, 63, 0.1), rgba(194, 82, 63, 0.05));
border-left: 4px solid var(--color-terracotta);
padding: 20px;
margin: 25px 0;
border-radius: 8px;
}

.highlight-box p {
margin-bottom: 0;
font-weight: 500;
}

.back-to-home {
position: fixed;
bottom: 30px;
right: 30px;
background: linear-gradient(135deg, var(--color-light-blue), var(--color-median-blue));
color: white;
border: none;
border-radius: 50%;
width: 60px;
height: 60px;
font-size: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease;
z-index: 1000;
}

.back-to-home:hover {
background: linear-gradient(135deg, var(--color-median-blue), var(--color-dark-blue));
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
color: white;
}

.contact-cta {
background: linear-gradient(135deg, var(--color-dark-blue), var(--color-median-blue));
color: white;
padding: 40px;
border-radius: 16px;
text-align: center;
margin: 50px 0;
}

.contact-cta h3 {
margin-bottom: 15px;
color: white;
}

.contact-cta p {
margin-bottom: 25px;
opacity: 0.9;
}

.contact-cta .btn {
background-color: var(--color-terracotta);
border: none;
padding: 12px 30px;
border-radius: 25px;
font-weight: 600;
transition: all 0.3s ease;
}

.contact-cta .btn:hover {
background-color: #a8402e;
transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
.terms-container {
    flex-direction: column;
}

.terms-nav {
    position: relative;
    top: auto;
    width: 100%;
    max-height: none;
    margin-bottom: 30px;
}

.terms-content-wrapper {
    width: 100%;
}
}

@media (max-width: 768px) {
.terms-hero {
    padding: 60px 0 40px 0;
}

.terms-hero h1 {
    font-size: 2rem;
}

.terms-container {
    padding: 0 15px;
    flex-direction: column;
    gap: 20px;
}

.terms-section {
    padding: 20px;
    margin-bottom: 30px;
}

.terms-nav {
    padding: 20px;
    position: relative;
    top: auto;
    width: 100%;
    max-height: none;
}

.back-to-home {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

.contact-cta {
    padding: 30px 20px;
}
}

@media (max-width: 576px) {
.terms-hero h1 {
    font-size: 1.75rem;
}

.terms-section {
    padding: 15px;
}

.terms-nav {
    padding: 15px;
}

.terms-section h2 {
    font-size: 1.5rem;
}

.terms-section p {
    text-align: left;
}
}


