/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  font-family: var(--font-body);
  color: #222;
  background: #f7f9fc;
  margin: 0;
  padding: 0;
}


a {
    text-decoration: none;
    color: inherit;
}
ul { list-style: none; }

/* Variables */
:root {
  --primary-color: #1a3e72;
  --secondary-color: #f8b400;
  --accent-color: #e74c3c;
  --dark-color: #23272e;
  --light-color: #f9f9f9;
  --overlay: rgba(26,62,114,0.78);
  --white: #fff;
  --font-title: 'Segoe UI', 'Roboto', Arial, sans-serif;
  --font-body: 'Segoe UI', 'Roboto', Arial, sans-serif;
  --shadow-lg: 0 8px 40px #192c4d33;
  --transition: all 0.36s cubic-bezier(.74,0,.28,1);
}

/* HERO SECTION */
.hero.parallax-bg {
  position: relative;
  min-height: 98vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  background: none;
  overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--overlay) 70%, rgba(26,62,114,0.5)), 
        url('vista-frontal-abogado-borroso-trabajando.jpg') no-repeat center center/cover;
    z-index: 1;
    will-change: background-position;
    transition: background-position 0.15s;
}
.hero-content {
  
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    margin-top: 6rem;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: -1.5px;
    color: var(--white);
    text-shadow: 2px 4px 20px #18294a80, 0 2px 2px #0002;
}
.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 2.4rem;
    font-weight: 300;
    color: #f3f4f7;
    text-shadow: 1px 2px 8px #18294a55;
}
.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #1a232c;
    padding: 1rem 2.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 20px #f8b40042;
    transition: var(--transition);
    margin-top: 0.5rem;
    border: none;
}
.cta-button:hover {
    background: linear-gradient(90deg, #e2b007 60%, #fad960 100%);
    color: var(--primary-color);
    transform: scale(1.05) translateY(-4px);
}

/* Parallax General para otras secciones */
.parallax-bg, .parallax {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    will-change: background-position;
}
.about-section.parallax-bg {
    background: linear-gradient(to bottom, var(--overlay) 70%, rgba(26,62,114,0.65)), 
        url('vista-frontal-abogado-borroso-trabajando.jpg') no-repeat center center/cover;
    color: var(--white);
    position: relative;
    min-height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 1rem;
}
.about-section .overlay {
    background: none;
}
.about-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    background: rgba(31, 60, 98, 0.18);
    border-radius: 16px;
    padding: 2rem 2.5rem 2.5rem;
    backdrop-filter: blur(2px);
    box-shadow: 0 6px 36px #14203d11;
}
.about-content h2 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #fff;
}
.about-content p {
    font-size: 1.1rem;
    margin-bottom: 2.2rem;
    line-height: 1.8;
    color: #ececec;
}
.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.stat {
    text-align: center;
    background: rgba(31,60,98,0.10);
    border-radius: 12px;
    min-width: 120px;
    padding: 1rem 1.2rem;
}
.number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    line-height: 1;
    margin-bottom: 0.2rem;
}
.label {
    font-size: 1.05rem;
    font-weight: 400;
    color: #fff;
}

/* Navbar elegante */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 1.3rem 5%;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 20;
  background: transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  background: #1a3e72e9;
  box-shadow: 0 3px 18px #1a3e7240;
  padding: 0.8rem 5%;
  backdrop-filter: blur(6px);
}
.logo {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  text-shadow: 1px 2px 7px #23355a33;
}
.nav-links {
  display: flex; gap: 2.2rem;
}
.nav-links li a {
  color: #fff;
  font-weight: 500;
  font-size: 1.11rem;
  position: relative;
  transition: var(--transition);
  opacity: 0.92;
  border-radius: 7px;
  padding: 0.17rem 0.5rem;
}
.nav-links li a:hover,
.nav-links li a:focus {
  background: #f8b4001e;
  color: #ffd000;
}
.burger {
  display: none;
  cursor: pointer;
}
.burger div {
  width: 26px; height: 3px;
  background-color: #fff;
  margin: 4px 0;
  border-radius: 2px;
  transition: var(--transition);
}
@media (max-width: 900px) {
  .nav-links { gap: 1.2rem;}
}
@media (max-width: 700px) {
  .nav-links {
      position: fixed;
      top: 68px; right: -100%;
      width: 66vw; height: calc(100vh - 68px);
      background: #192c4dcc;
      flex-direction: column; align-items: center; justify-content: center;
      gap: 2.2rem;
      box-shadow: -4px 0 24px #17305033;
      transition: var(--transition);
  }
  .nav-links.active { right: 0; }
  .burger { display: block; }
  .burger.active .line1 { transform: rotate(-45deg) translate(-6px, 7px);}
  .burger.active .line2 { opacity: 0;}
  .burger.active .line3 { transform: rotate(45deg) translate(-6px, -7px);}
}

/* Scroll down arrow */
.scroll-down {
  position: absolute;
  bottom: 24px;
  left: 48%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 30;
}
.scroll-down span {
  display: block;
  width: 18px; height: 18px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin: -10px;
  animation: animate 2s infinite;
}
@keyframes animate {
  0% { opacity: 0; transform: rotate(45deg) translate(-20px, -20px);}
  50% { opacity: 1;}
  100% { opacity: 0; transform: rotate(45deg) translate(20px, 20px);}
}

/* ... resto de secciones igual, pero retocadas ligeramente para contraste ... */
.section-header h2 {
    font-size: 2.3rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 1.1rem;
    position: relative;
    display: inline-block;
    letter-spacing: -1px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.11rem;
    max-width: 700px;
    margin: 0 auto;
}

.services-section { padding: 5rem 5%; background: var(--light-color);}
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2rem; max-width: 1200px; margin: 0 auto;
}
.service-card {
    background: var(--white);
    padding: 2.2rem 1.3rem;
    border-radius: 13px;
    box-shadow: 0 6px 32px #17305014;
    text-align: center;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-10px) scale(1.025);
    box-shadow: 0 16px 36px #1a3e7217;
}
.service-card i {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}
.service-card h3 {
    font-size: 1.38rem;
    margin-bottom: 0.7rem;
    color: var(--primary-color);
    font-weight: 700;
}
.service-card p { color: var(--text-light); }

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3.2rem; }
    .hero-subtitle { font-size: 1.14rem; }
}
@media (max-width: 768px) {
    .hero-content { margin-top: 3.5rem; }
    .nav-links {
        position: fixed;
        top: 68px; right: -100%;
        width: 60%; height: calc(100vh - 68px);
        background: #132349e6;
        flex-direction: column; align-items: center; justify-content: center;
        gap: 2rem;
        box-shadow: -4px 0 24px #17305033;
        transition: var(--transition);
    }
    .nav-links.active { right: 0; }
    .burger { display: block; }
    .burger.active .line1 {
        transform: rotate(-45deg) translate(-6px, 6px);
    }
    .burger.active .line2 { opacity: 0; }
    .burger.active .line3 {
        transform: rotate(45deg) translate(-6px, -6px);
    }
}
@media (max-width: 576px) {
    .about-content { padding: 1.2rem 0.7rem; }
    .hero-title { font-size: 3.3rem; }
    .hero-subtitle { font-size: 1.0rem; }
    .stats { flex-direction: column; gap: 1.1rem; }
}

/* About Section */
.about-section {
    position: relative;
    height: 500px;
    background: url('vista-frontal-abogado-borroso-trabajando.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.parallax {
    background-attachment: fixed;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 62, 114, 0.85);
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    line-height: 1;
}

.label {
    font-size: 1rem;
    font-weight: 300;
}

/* Team Section */
.team-section {
    padding: 5rem 5%;
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    padding-bottom: 2rem;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-img {
    height: 300px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-img img {
    transform: scale(1.05);
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.bio {
    color: var(--text-light);
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

/* Testimonials */
.testimonials-section {
    position: relative;
    padding: 5rem 5%;
    background: url('vista-frontal-abogado-borroso-trabajando.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--white);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 10px;
    color: var(--text-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.3;
}

.client {
    display: flex;
    align-items: center;
}

.client img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.client h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.client p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 5%;
    background-color: var(--light-color);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.info-item p {
    color: var(--text-color);
    line-height: 1.7;
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(26, 62, 114, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: var(--secondary-color);
    transition: var(--transition);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 50%;
        height: calc(100vh - 80px);
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .burger {
        display: block;
    }
    
    .burger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .burger.active .line2 {
        opacity: 0;
    }
    
    .burger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-title {
        font-size: 5.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .stats {
        gap: 1.5rem;
    }
    
    .number {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about-section {
        height: auto;
        padding: 4rem 1rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}






:root {
    --primary-color: #1a3e72;
    --secondary-color: #f8b400;
    --accent-color: #e74c3c;
    --dark-color: #23272e;
    --light-color: #f9f9f9;
    --text-color: #222;
    --text-light: #777;
    --white: #fff;
    --transition: all 0.3s cubic-bezier(.77,0,.18,1);
    --overlay: rgba(26,62,114,0.75);
}

body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #f5f7fa;
}

/* HERO SECTION CON 2 IMAGENES Y PARALLAX */
.hero.parallax-bg {
    position: relative;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('fondo-principal.jpg') center center/cover no-repeat;
  will-change: background-position;
  transition: background-position 0.16s;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(106deg, var(--overlay) 82%, rgba(33,50,94,0.13) 100%);
  pointer-events: none;
}
.dama-justicia-img {
  position: absolute;
  top: 60%;
  left: 70%;
  width: 600px;
  max-width: 68vw;
  z-index: 3;
  opacity: 0;
  transform: translate(-50%, -52%) scale(0.95);
  filter: drop-shadow(0 12px 50px #23355a40);
  transition:
      opacity 1s cubic-bezier(.43,1.25,.6,1.09),
      transform 1s cubic-bezier(.43,1.25,.6,1.09);
  pointer-events: none;
}
/* Mostrar la imagen al cargar (efecto fadeInUp propio) */
.dama-justicia-img.visible {
  opacity: 1;
  transform: translate(-50%, -57%) scale(1.04);
}

/* Responsive Dama Justicia */
@media (max-width: 900px) {
  .dama-justicia-img { width: 210px; left: 59%; }
}
@media (max-width: 600px) {
  .dama-justicia-img { width: 120px; left: 52%; top: 60%; }
}

/* Hero contenido */
.hero-content {
  position: relative;
  z-index: 4;
  max-width: 700px;
  margin: 0;
  margin-top: 8vh;
  margin-left: 6vw;
  text-align: left;
  padding: 2.5rem 2.5rem 2.7rem 2rem;
  background: rgba(33, 55, 94, 0.16);
  border-radius: 20px;
  box-shadow: 0 12px 42px #23355a0c;
  backdrop-filter: blur(2.5px);
  /* efecto de entrada */
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.6s cubic-bezier(.45,1.45,.35,1.09), transform 0.7s cubic-bezier(.45,1.45,.35,1.09);
}
.hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-title {
  font-family: var(--font-title);
  font-size: 3.7rem;
  font-weight: 900;
  letter-spacing: -1.2px;
  color: var(--white);
  text-shadow: 0 6px 20px #23355a40, 0 2px 2px #0002;
  margin-bottom: 1.1rem;
  line-height: 1.1;
  opacity: 0;
  animation: fadeDownTitle 0.88s 0.4s cubic-bezier(.43,1.25,.6,1.09) forwards;
}
@keyframes fadeDownTitle {
  from { opacity:0; transform: translateY(-35px);}
  to   { opacity:1; transform: translateY(0);}
}
.hero-subtitle {
  font-size: 1.17rem;
  font-weight: 400;
  color: #e4ecfa;
  text-shadow: 1px 2px 8px #1a3e7260;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeDownSubtitle 0.96s 1s cubic-bezier(.43,1.25,.6,1.09) forwards;
}
@keyframes fadeDownSubtitle {
  from { opacity:0; transform: translateY(28px);}
  to   { opacity:1; transform: translateY(0);}
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 2.4rem;
    font-weight: 300;
    color: #f3f4f7;
    text-shadow: 1px 2px 8px #18294a55;
}
.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #f8b400 66%, #ffd000 100%);
  color: #1a232c;
  padding: 1.05rem 2.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 32px #f8b40028;
  transition: var(--transition);
  margin-top: 0.2rem;
  border: none;
  outline: none;
  opacity: 0;
  animation: fadeUpBtn 0.85s 1.6s cubic-bezier(.43,1.25,.6,1.09) forwards;
}
.cta-button:hover {
  background: linear-gradient(90deg, #fcd217 50%, #f8b400 100%);
  color: var(--primary-color);
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 12px 28px #f8b40034;
}
@keyframes fadeUpBtn {
  from { opacity:0; transform: translateY(38px) scale(0.98);}
  to   { opacity:1; transform: translateY(0) scale(1);}
}

@media (max-width: 600px) {
  .hero-content { margin: 18vw 4vw 0 4vw; padding: 1.2rem 1.1rem 1.4rem 1.1rem; }
  .hero-title { font-size: 1.33rem; }
  .hero-subtitle { font-size: 0.99rem; }
}



/* Resto de estilos igual que antes... */

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 20;
}
.scroll-down span {
    display: block;
    width: 20px; height: 20px;
    border-bottom: 2px solid var(--white);
    border-right: 2px solid var(--white);
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}
@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

/* --- Responsive hero-content, resto de media queries igual a antes --- */
@media (max-width: 992px) {
    .hero-title { font-size: 5.3rem; }
    .hero-subtitle { font-size: 1.14rem; }
}
@media (max-width: 600px) {
    .hero-content { margin-top: 1.5rem; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
}





/* SCROLLBAR MODERNO, CUADRADO, FONDO OSCURO, SIN FLECHITAS */

::-webkit-scrollbar {
  width: 13px;
  background: #1a2334;   /* Fondo oscuro del track */
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #191e5f 10%, #1a3e72 100%);
  border-radius: 3px;   /* más cuadrado */
  min-height: 40px;
  border: 2px solid #1a2334;   /* Borde igual al track */
  box-shadow: 0 2px 8px #0003;
  transition: background 0.18s;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(120deg, #ffd700 30%, #183056 100%);
}

::-webkit-scrollbar-track {
  background: #1a2334;   /* Track oscuro */
  border-radius: 1px;
}

/* Elimina los botones (flechas) */
::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #223f6e #1a2334;  /* thumb color, track color */
}

.cta-button i.fab.fa-whatsapp {
  margin-right: 0.6em;
  font-size: 1.15em;
  vertical-align: middle;
}
