/*
  ================================================================================
  HOJA DE ESTILOS PARA NYO SEGUROS
  Versión: 8.2 (Edición Sin Cursor Personalizado)
  Autor: Gemini
  Descripción: Ajustes para el nuevo slide del carrusel y la página de la calculadora. Eliminado cursor personalizado.
  ================================================================================
*/

/*
  CONTENIDO:
  1. CONFIGURACIÓN GLOBAL Y VARIABLES
  2. LAYOUT Y CONTENEDORES PRINCIPALES
  3. HEADER Y NAVEGACIÓN
  4. HERO Y CABECERAS DE PÁGINA
  5. ELEMENTOS DE INTERFAZ (UI)
  6. COMPONENTES Y TARJETAS
  7. FORMULARIOS AVANZADOS
  8. FOOTER (PIE DE PÁGINA)
  9. FUNCIONALIDADES JAVASCRIPT Y DETALLES EXTRA
  10. RESPONSIVE DESIGN (MEDIA QUERIES)
*/


/*
  ================================================================================
  1. CONFIGURACIÓN GLOBAL Y VARIABLES
  ================================================================================
*/


:root {
  --color-primary: #082A4D;
  --color-accent-blue: #2AB3E1;
  --color-accent-green: #20C28A;
  --color-white: #ffffff;
  --color-text-primary: #334155;
  --color-text-secondary: #64748B;
  --color-border-glass: rgba(255, 255, 255, 0.25);
  --color-border: #e2e8f0;
  --font-family-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --border-radius: 16px;
  --transition-duration: 0.3s;
  --transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

html {
  scroll-behavior: smooth;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-family-main);
  line-height: 1.7;
  color: var(--color-primary);
  background-color: #0c1a2e;
  background-image:
    radial-gradient(at 80% 20%, hsla(190, 75%, 55%, 0.3) 0px, transparent 50%),
    radial-gradient(at 20% 90%, hsla(160, 65%, 45%, 0.25) 0px, transparent 50%),
    radial-gradient(at 50% 50%, hsla(210, 80%, 35%, 0.2) 0px, transparent 50%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  animation: subtle-background-pan 45s ease-in-out infinite;
  overflow-x: hidden;
}

.gradient-text {
  background: linear-gradient(45deg, var(--color-accent-blue), var(--color-accent-green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; text-fill-color: transparent;
  background-size: 100%;
  transition: background-size 0.5s ease;
}
.gradient-text:hover {
  background-size: 150%;
}

@keyframes subtle-background-pan {
  0% { background-position: 80% 20%, 20% 90%, 50% 50%; }
  50% { background-position: 85% 25%, 15% 85%, 50% 50%; }
  100% { background-position: 80% 20%, 20% 90%, 50% 50%; }
}


/*
  ================================================================================
  2. LAYOUT Y CONTENEDORES PRINCIPALES
  ================================================================================
*/

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
section { padding: 40px 0; }

.crystal-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 100px 0;
    margin-bottom: 70px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

main > .crystal-section:not(:first-of-type) {
    margin-top: -50px;
}

section h3 {
  text-align: center;
  font-size: 2.5em;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 80px auto;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  font-size: 1.1em;
  line-height: 1.6;
}


/*
  ================================================================================
  3. HEADER Y NAVEGACIÓN
  ================================================================================
*/
.header {
  background-color: rgba(12, 26, 46, 0.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0; position: sticky; top: 0; z-index: 100;
  transition: padding var(--transition-duration) var(--transition-ease), background-color var(--transition-duration) var(--transition-ease);
}
.header.header-scrolled {
  background-color: rgba(12, 26, 46, 0.8);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 50px; width: auto; display: block; }
.main-nav .nav-list { list-style: none; display: flex; align-items: center; gap: 35px; }
.main-nav .nav-list a { text-decoration: none; color: rgba(255, 255, 255, 0.85); font-weight: 600; font-size: 0.95em; padding: 8px 0; position: relative; transition: color var(--transition-duration) var(--transition-ease); }
.main-nav .nav-list a:hover { color: var(--color-white); }
.main-nav .nav-list a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: linear-gradient(to right, var(--color-accent-blue), var(--color-accent-green)); transition: width var(--transition-duration) var(--transition-ease); }
.main-nav .nav-list a:hover::after, .main-nav .nav-list a.active::after { width: 100%; }
.main-nav .nav-list a.active { color: var(--color-white); font-weight: 700; }

.nav-toggle {
    display: none;
}


/*
  ================================================================================
  4. HERO Y CABECERAS DE PÁGINA
  ================================================================================
*/
@keyframes subtle-pan {
  0% { background-position: 55% 50%; }
  100% { background-position: 45% 50%; }
}

.hero {
  color: var(--color-white);
  padding: 120px 0;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  background-size: cover;
  background-repeat: no-repeat;
  animation: subtle-pan 20s ease-in-out infinite alternate;
  background-image: linear-gradient(rgba(8, 42, 77, 0.75), rgba(8, 42, 77, 0.8)), url('https://images.unsplash.com/photo-1554469384-e58fac166245?q=80&w=2070&auto=format&fit=crop');
  overflow: hidden;
}
.hero h2 { font-size: 3.2em; text-shadow: 0 2px 10px rgba(0,0,0,0.2); letter-spacing: -0.02em; }
.hero p { font-size: 1.25em; max-width: 700px; margin: 0 auto 35px auto; font-weight: 400; opacity: 0.95; }

.carousel-container { position: relative; width: 100%; height: 100%; }
.carousel-slides { display: flex; width: 400%; transition: transform 0.7s ease-in-out; } /* ANTES: 300% */
.carousel-slide { width: 25%; flex-shrink: 0; display: flex; justify-content: center; align-items: center; text-align: center; } /* ANTES: 33.333% */
.carousel-control { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(255, 255, 255, 0.1); backdrop-filter: blur(5px); border: 1px solid rgba(255, 255, 255, 0.2); color: var(--color-white); border-radius: 50%; width: 50px; height: 50px; cursor: pointer; z-index: 10; display: flex; justify-content: center; align-items: center; transition: all var(--transition-duration) var(--transition-ease); }
.carousel-control:hover { background-color: rgba(255, 255, 255, 0.25); transform: translateY(-50%) scale(1.1); }
.carousel-control.prev { left: 30px; }
.carousel-control.next { right: 30px; }
.carousel-indicators { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.carousel-indicators .indicator { width: 12px; height: 12px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.4); cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; }
.carousel-indicators .indicator.active { background-color: var(--color-white); transform: scale(1.2); }

.page-hero { text-align: center; padding: 80px 0; position: relative; color: var(--color-white); background-size: cover; background-position: center center; background-image: linear-gradient(rgba(8, 42, 77, 0.8), rgba(8, 42, 77, 0.85)), url('https://images.unsplash.com/photo-1554469384-e58fac166245?q=80&w=2070&auto=format&fit=crop'); }
.page-hero h2 { color: var(--color-white); font-size: 2.8em; letter-spacing: -0.02em; }
.page-hero p { color: rgba(255, 255, 255, 0.8); font-size: 1.1em; max-width: 600px; margin: 15px auto 0 auto; }


/*
  ================================================================================
  5. ELEMENTOS DE INTERFAZ (UI)
  ================================================================================
*/
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; border-radius: var(--border-radius); border: none; cursor: pointer; font-weight: 700; font-size: 1em; text-decoration: none; line-height: 1; letter-spacing: 0.5px; color: var(--color-white); background: linear-gradient(45deg, var(--color-accent-blue), var(--color-accent-green)); background-size: 150% auto; transition: all var(--transition-duration) var(--transition-ease); position: relative; overflow: hidden; z-index: 1; }
.btn:hover { background-position: right center; transform: scale(0.98); box-shadow: var(--shadow-lg); color: var(--color-white); }
.btn:active { transform: scale(0.96); box-shadow: var(--shadow-md); }
.btn::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 100%; background-color: rgba(255, 255, 255, 0.2); transition: width 0.4s var(--transition-ease); z-index: -1; }
.btn:hover::before { width: 100%; }
.btn-secondary { background-color: rgba(255, 255, 255, 0.15); color: var(--color-white); border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-secondary:hover { background-color: rgba(255, 255, 255, 0.25); color: var(--color-white); border-color: var(--color-accent-green); box-shadow: var(--shadow-sm); background-image: none; }
a { color: var(--color-accent-blue); text-decoration: none; font-weight: 600; transition: color var(--transition-duration) var(--transition-ease); }
a:hover { color: var(--color-accent-green); }
.btn:focus-visible { outline: 3px solid var(--color-accent-blue); outline-offset: 3px; }


/*
  ================================================================================
  6. COMPONENTES Y TARJETAS
  ================================================================================
*/
.service-item, .team-member, .values-list li, .contact-form-wrapper, .contact-info-wrapper, .home-about-preview .about-text { background-color: rgba(12, 26, 46, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--border-radius); box-shadow: var(--shadow-sm); padding: 35px; display: flex; flex-direction: column; transition: all 0.4s var(--transition-ease); color: var(--color-white); }
.home-about-preview .about-image { transition: all 0.4s var(--transition-ease); } /* Separado para no aplicar fondo, etc. */


.service-item:hover, .team-member:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-5px); background-image: linear-gradient(rgba(12, 26, 46, 0.7), rgba(12, 26, 46, 0.7)), linear-gradient(45deg, var(--color-accent-blue), var(--color-accent-green)); background-origin: border-box; background-clip: padding-box, border-box; }
.values-list li:hover { box-shadow: var(--shadow-md); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.service-item h4 { margin-bottom: 15px; font-size: 1.4em; color: var(--color-white); }
.service-item p { margin-bottom: 20px; color: rgba(255, 255, 255, 0.8); flex-grow: 1; }
.service-item .btn { margin-top: auto; }
.service-item.hidden { transform: scale(0.9); opacity: 0; padding: 0; margin: 0; width: 0; height: 0; overflow: hidden; border: none; }
.service-item ul.icon-list { list-style: none; padding-left: 0; margin-bottom: 25px; flex-grow: 1; }
.service-item ul.icon-list li { display: flex; align-items: center; gap: 15px; padding-left: 0; margin-bottom: 15px; font-weight: 500; transition: transform 0.3s var(--transition-ease); }
.service-item ul.icon-list li svg { width: 24px; height: 24px; stroke: url(#icon-gradient); flex-shrink: 0; transition: fill-opacity 0.3s ease, transform 0.3s ease; }
.service-item ul.icon-list li:hover { transform: translateX(5px) scale(1.02); }
.service-item ul.icon-list li:hover svg { fill-opacity: 0.2; transform: scale(1.1); }
.contact-details-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 40px; }
.contact-info-wrapper .info-item { margin-bottom: 25px; }
.contact-info-wrapper .info-item p { color: rgba(255, 255, 255, 0.8); margin: 0; }
.contact-info-wrapper .info-item h4 { color: var(--color-white); margin-bottom: 8px; font-size: 1.2em; }
.contact-info-wrapper .info-item a { color: var(--color-accent-blue); }
.contact-info-wrapper .map-container iframe { filter: grayscale(1) invert(1) contrast(0.9); }
.home-about-preview .about-content { display: grid; grid-template-columns: 1fr; align-items: center; justify-content: center; gap: 40px; text-align: center; }
.home-about-preview .about-text { max-width: 650px; margin: 0 auto; }
.home-about-preview .about-text p:last-of-type {
    margin-bottom: 30px;
}
.home-about-preview .about-image { display: none; } /* Ocultar la imagen ya que no se utiliza */
.home-about-preview .about-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--border-radius); box-shadow: var(--shadow-lg); filter: sepia(15%) brightness(1.05) contrast(0.95); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.team-member { align-items: center; }
.team-member img { width: 120px; height: 120px; border-radius: 50%; margin-bottom: 20px; border: 4px solid rgba(255,255,255,0.1); box-shadow: var(--shadow-md); filter: sepia(15%) brightness(1.05) contrast(0.95); }
.team-member h4 { color: var(--color-white); }
.team-member p { color: rgba(255, 255, 255, 0.8); }
.values-list { list-style: none; display: grid; gap: 20px; }
.values-list li { color: rgba(255, 255, 255, 0.9); }
.filter-buttons { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; }
.btn-filter { background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: var(--color-white); padding: 10px 25px; border-radius: var(--border-radius); cursor: pointer; font-weight: 600; transition: all 0.3s ease; }
.btn-filter:hover { background-color: rgba(255, 255, 255, 0.2); border-color: var(--color-accent-blue); }
.btn-filter.active { background: linear-gradient(45deg, var(--color-accent-blue), var(--color-accent-green)); color: var(--color-white); border-color: transparent; }


/*
  ================================================================================
  7. FORMULARIOS AVANZADOS
  ================================================================================
*/
.form-group { position: relative; margin-bottom: 30px; }
.form-group input, .form-group textarea { width: 100%; padding: 14px; font-family: var(--font-family-main); font-size: 1em; border-radius: var(--border-radius); background-color: rgba(0,0,0,0.2); border: 1px solid rgba(255, 255, 255, 0.2); color: var(--color-white); transition: all var(--transition-duration) var(--transition-ease); position: relative; }
.form-group label { position: absolute; top: 14px; left: 14px; color: rgba(255, 255, 255, 0.6); pointer-events: none; transition: all var(--transition-duration) var(--transition-ease); }
.form-group input:focus + label, .form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label, .form-group textarea:not(:placeholder-shown) + label { transform: translateY(-28px) scale(0.9); background-color: #172c4a; padding: 0 5px; font-weight: 600; font-size: 0.9em; color: var(--color-accent-blue); }
.form-group input:focus, .form-group textarea:focus { outline: none; background-color: rgba(0,0,0,0.3); border: 1px solid var(--color-accent-blue); box-shadow: 0 0 0 3px rgba(42, 179, 225, 0.15); }

/* Estilos para la calculadora */
.calculator-wrapper { text-align: center; }
.calculator-form { max-width: 500px; margin: 40px auto 0 auto; }
.calculator-form .form-group select {
    width: 100%; padding: 14px; font-family: var(--font-family-main);
    font-size: 1em; border-radius: var(--border-radius); background-color: rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.2); color: var(--color-white);
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232AB3E1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 15px center; background-size: 1em; cursor: pointer;
}
.range-labels { display: flex; justify-content: space-between; color: rgba(255, 255, 255, 0.7); font-size: 0.9em; margin-top: 10px; }
input[type=range] { -webkit-appearance: none; width: 100%; background: transparent; }
input[type=range]:focus { outline: none; }
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 8px; cursor: pointer; background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-green)); border-radius: 5px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 24px; width: 24px; border-radius: 50%; background: var(--color-white); cursor: pointer; margin-top: -8px; box-shadow: 0 0 10px rgba(0,0,0,0.5); }
.calculator-result { margin-top: 40px; background-color: rgba(12, 26, 46, 0.6); padding: 20px; border-radius: var(--border-radius); border: 1px solid var(--color-border-glass); }
.calculator-result p { color: rgba(255, 255, 255, 0.8); margin: 0 0 10px 0; }
.calculator-result span { font-size: 2.5em; font-weight: 800; color: var(--color-white); }


/*
  ================================================================================
  8. FOOTER (PIE DE PÁGINA)
  ================================================================================
*/
.footer { background: rgba(12, 26, 46, 0.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--color-white); text-align: center; padding: 50px 0; margin-top: 80px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer p { color: rgba(255,255,255,0.6); margin: 5px 0; }
.footer a { color: rgba(255,255,255,0.8); } .footer a:hover { color: var(--color-white); }


/*
  ================================================================================
  9. FUNCIONALIDADES JAVASCRIPT Y DETALLES EXTRA
  ================================================================================
*/
.fade-in { opacity: 0; transform: translateY(25px); transition: opacity 0.6s var(--transition-ease), transform 0.6s var(--transition-ease); will-change: transform, opacity; }
.fade-in.visible { opacity: 1; transform: translateY(0); will-change: auto; }

#form-feedback { padding: 15px; margin-top: 20px; border-radius: var(--border-radius); text-align: center; }
#form-feedback.success { background-color: rgba(32, 194, 138, 0.2); backdrop-filter: blur(5px); color: #20C28A; border: 1px solid rgba(32, 194, 138, 0.3); }
#form-feedback.error { background-color: rgba(225, 60, 60, 0.2); backdrop-filter: blur(5px); color: #e13c3c; border: 1px solid rgba(225, 60, 60, 0.3); }

#back-to-top { position: fixed; bottom: 25px; right: 25px; background: linear-gradient(45deg, var(--color-accent-blue), var(--color-accent-green)); color: var(--color-white); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; font-size: 1.5em; opacity: 0; visibility: hidden; transition: all 0.4s var(--transition-ease); z-index: 1000; box-shadow: var(--shadow-md); }
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { transform: scale(1.1) rotate(360deg); box-shadow: var(--shadow-lg); }
#cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background-color: rgba(10, 20, 30, 0.85); backdrop-filter: blur(10px); color: var(--color-white); padding: 20px; display: none; justify-content: center; align-items: center; gap: 20px; z-index: 1100; text-align: center; border-top: 1px solid var(--color-border-glass); }
#cookie-banner p { margin: 0; max-width: 600px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0c1a2e; }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, var(--color-accent-blue), var(--color-accent-green)); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(to bottom, #25a0cc, #1ca079); }

.reveal-container { overflow: hidden; margin-bottom: 20px; }
.reveal-text { margin-bottom: 0 !important; transform: translateY(100%); transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1); will-change: transform; }
.reveal-text.visible { transform: translateY(0); will-change: auto; }


/*
  ================================================================================
  10. RESPONSIVE DESIGN (MEDIA QUERIES)
  ================================================================================
*/
@media (max-width: 992px) {
  .home-about-preview .about-content,
  .contact-details-grid { grid-template-columns: 1fr; gap: 40px; }
  .section-subtitle { max-width: 90%; }
  .header .container { justify-content: space-between; }
  .main-nav { position: static; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: space-around; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1100; position: relative; }
  .hamburger-line { width: 100%; height: 3px; background-color: var(--color-white); border-radius: 10px; transition: all 0.3s var(--transition-ease); }
  .nav-toggle.active .hamburger-line:nth-child(1) { transform: translateY(11px) rotate(45deg); }
  .nav-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
  .nav-toggle.active .hamburger-line:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
  .main-nav .nav-list { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; padding-top: 100px; padding-left: 0; gap: 0; background: rgba(12, 26, 46, 0.95); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 1050; transform: translateX(100%); transition: transform 0.4s var(--transition-ease); }
  .main-nav .nav-list.visible { transform: translateX(0); }
  .main-nav .nav-list li { width: 100%; }
  .main-nav .nav-list a { display: block; padding: 18px; text-align: center; font-size: 1.3em; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .main-nav .nav-list a:hover::after,
  .main-nav .nav-list a.active::after { width: 0; }
  .main-nav .nav-list a.active { background: rgba(42, 179, 225, 0.1); color: var(--color-accent-blue); }
  .main-nav .nav-list li:last-child a { border-bottom: none; }
  section { padding: 40px 0; }
  .crystal-section { padding: 60px 20px; margin-bottom: 20px; }
  .hero h2, .page-hero h2 { font-size: 2.2em; }
  section h3 { font-size: 2em; }
  .hero, .page-hero { clip-path: none; border-radius: 0; }
  .hero { padding: 100px 0; }
  .carousel-control { width: 40px; height: 40px; }
  .carousel-control.prev { left: 15px; }
  .carousel-control.next { right: 15px; }
  .carousel-indicators { bottom: -20px; }
  .service-grid, .team-grid { grid-template-columns: 1fr; }
  #cookie-banner { flex-direction: column; padding: 15px; text-align: center; }
  .filter-buttons { flex-wrap: wrap; }
}


/* ================================================================================ */
/* AJUSTES PARA PÁGINAS LEGALES */
/* ================================================================================ */
.legal-text {
    color: #fff;
    line-height: 1.8;
}

.legal-text h3 {
    color: #fff;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.legal-text ul {
    list-style-type: none;
    padding-left: 0;
}

.legal-text ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
}

.legal-text ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent-blue);
    font-weight: bold;
}