/**
 * germansaez.css - CSS Centralizado
 * Adaptación del template Company Bootstrap para german-saez-web02
 * Utiliza variables corporativas: color-coorporativo01, color-coorporativo02, color-coorporativo03
 */

/*--------------------------------------------------------------
# Variables CSS Corporativas
--------------------------------------------------------------*/
:root {
  /* Fuentes */
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Nunito", sans-serif;

  /* Colores Corporativos */
  --color-coorporativo01: #2E53A1;
  --color-coorporativo02: #ffffff;
  --color-coorporativo03: #545454;

  /* Colores derivados */
  --text-primary: #111111;
  --text-secondary: #444444;
  --text-muted: #6b7280;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a1a;
  --border-light: #e0e0e0;
}

/*--------------------------------------------------------------
# Reset y Base
--------------------------------------------------------------*/
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--default-font);
  color: var(--text-secondary);
  background-color: #ffffff;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary);
  font-family: var(--heading-font);
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

p {
  font-size: 1rem;
  line-height: 1.8;
}

a {
  color: var(--color-coorporativo03);
  text-decoration: none;
  transition: 0.3s ease;
}

a:hover {
  color: var(--color-coorporativo01);
}

/*--------------------------------------------------------------
# Topbar
--------------------------------------------------------------*/
.topbar {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 0.75rem 0;
  font-size: 0.85rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1040;
}

.topbar__contact-link {
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.3s ease;
}

.topbar__contact-link:hover {
  color: var(--color-coorporativo01);
}

.topbar__contact-link i {
  font-size: 0.9rem;
}

.topbar__contact-text {
  white-space: nowrap;
}

.topbar__separator {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0.5rem;
}

.topbar__lang-label {
  font-weight: 500;
}

.js-gt-lang {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: 0.3s ease;
  background: transparent;
  color: var(--text-light);
}

.js-gt-lang:hover {
  background-color: var(--color-coorporativo01);
  border-color: var(--color-coorporativo01);
  color: var(--text-light);
}

/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
header.navbar {
  background-color: var(--bg-dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: 0.3s ease;
}

header.navbar--fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1030;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-light);
  transition: 0.3s ease;
}

.navbar-brand:hover {
  color: var(--color-coorporativo01);
}

.navbar-logo {
  max-height: 50px;
  width: auto;
}

/* Navigation Links */
.navbar-nav .nav-link {
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-coorporativo01);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--fondo-coorporativo01);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Primary Button in Navbar */
.navbar-nav .btn-primary {
  background-color: var(--fondo-coorporativo01);
  border-color: var(--color-coorporativo03);
  color: var(--text-light);
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: 0.3s ease;
}

.navbar-nav .btn-primary:hover {
  background-color: var(--text-light);
  border-color: var(--text-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  color: var(--color-coorporativo01);
}

/* Navbar Toggler */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(166, 124, 46, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section {
  padding: 0rem 0;
}

section.dark-background {
  background: var(--bg-dark);
  color: var(--text-light);
}

section.light-background {
  background: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: right;
  justify-content: center;
  padding: 0 0rem;
  overflow: hidden;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

#heroCarousel {
  width: 100%;
  height: 100%;
  position: relative;
}

#heroCarousel .carousel-item {
  height: 100%;
  min-height: 500px;
  position: relative;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center !important;
  background-repeat: no-repeat;
  filter: brightness(0.5);
  z-index: 0;
}

.hero__bg-img00 {
  background-image: url("../img/slide/slider-fachada.webp") !important;
  background-position: center top !important;
}

.hero__bg-img01 {
  background-image: url("../img/slide/tapas01.webp") !important;
  background-position: center !important;
}

.hero__caption,
.hero__caption02,
.hero__caption03 {
  position: relative;
  z-index: 1;
  animation: slideInUp 0.8s ease-out;
}

.hero__title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text-light) !important;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: 0.3s ease;
  opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--fondo-coorporativo01);
  opacity: 1;
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Hero */
@media (max-width: 991.98px) {
  .hero {
    min-height: 500px;
  }

  #heroCarousel .carousel-item {
    min-height: 450px;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__subtitle {
    font-size: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 450px;
  }

  #heroCarousel .carousel-item {
    min-height: 400px;
  }

  .hero__bg {
    background-position: center !important;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .carousel-control-prev {
    left: 10px;
  }

  .carousel-control-next {
    right: 10px;
  }
}

@media (max-width: 575.98px) {
  .hero {
    min-height: 400px;
  }

  #heroCarousel .carousel-item {
    min-height: 350px;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

/*--------------------------------------------------------------
# Cards Enhanced
--------------------------------------------------------------*/
.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.card--hover {
  transition: all 0.3s ease;
}

.card--hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card img {
  transition: transform 0.3s ease;
  object-fit: cover;
}

.card--hover:hover img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Background Sections
--------------------------------------------------------------*/
.bg-tertiary {
  background: var(--color-coorporativo02);
  position: relative;
  overflow: hidden;
}

.bg-tertiary > * {
  position: relative;
  z-index: 1;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn {
  border-radius: 5px;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  transition: 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--color-coorporativo01);
  border-color: var(--color-coorporativo01);
  color: var(--text-light) !important;
}

.btn-primary:hover {
  background-color: var(--bg-light);
  border-color: var(--bg-light);
  box-shadow: 0 4px 12px rgba(166, 124, 46, 0.3);
  transform: translateY(-2px);
  color: var(--color-coorporativo01) !important;
}

.btn-secondary {
  background-color: var(--color-coorporativo02);
  border-color: var(--color-coorporativo02);
  color: var(--text-light);
}

.btn-secondary:hover {
  background-color: var(--color-coorporativo01);
  border-color: var(--color-coorporativo01);
  color: var(--text-light);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-light);
}

.btn-outline-light:hover {
  background-color: var(--text-light);
  border-color: var(--text-light);
  color: var(--bg-dark);
}

.btn-get-started {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--text-light);
  color: var(--color-coorporativo02);
  font-weight: 600;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-get-started:hover {
  background-color: var(--color-coorporativo01);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/*--------------------------------------------------------------
# Forms & Inputs
--------------------------------------------------------------*/
.form-control,
.form-select {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-coorporativo01);
  box-shadow: 0 0 0 0.2rem rgba(166, 124, 46, 0.1);
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}


/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
.to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--color-coorporativo01);
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(166, 124, 46, 0.3);
}

.to-top:hover {
  background: var(--color-coorporativo02);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(166, 124, 46, 0.4);
}

.to-top.show {
  display: flex;
}

/*--------------------------------------------------------------
# Icon Boxes
--------------------------------------------------------------*/
.icon-box {
  background: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.icon-box i {
  font-size: 2rem;
  color: var(--color-coorporativo01);
  margin-bottom: 1rem;
  display: block;
}

.icon-box h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.icon-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/
.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.shadow-md {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.text-accent {
  color: var(--color-coorporativo01);
}

.text-primary {
  color: var(--color-coorporativo02);
}

.bg-light-gray {
  background-color: var(--bg-light);
}

.gap-3 {
  gap: 1rem;
}
.gap-4 {
  gap: 1.5rem;
}
.gap-5 {
  gap: 3rem;
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 992px) {
  section {
    padding: 3rem 0;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .navbar-nav .nav-link {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
  }

  .icon-box {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: flex;
  }

  .btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 2.5rem 0;
  }

  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.35rem;
  }

  .hero__title {
    font-size: clamp(1.5rem, 4vw, 1.75rem);
  }

  .hero__subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    line-height: 1.5;
  }

  .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }

  .topbar {
    flex-wrap: wrap;
    font-size: 0.75rem;
  }

  .topbar__contact-text {
    display: none;
  }

  .to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
    font-size: 1rem;
  }

  .card {
    margin-bottom: 1.5rem;
  }

  .card-body {
    padding: 1.25rem !important;
  }
}

@media (max-width: 576px) {
  :root {
    font-size: 14px;
  }

  section {
    padding: 2rem 0;
  }

  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.15rem;
  }

  .hero__title {
    font-size: 1.35rem;
    margin-top: 0;
  }

  .hero__subtitle {
    font-size: 1.2rem;
    margin-top: 0;
    line-height: 1.5;
  }

  .btn {
    padding: 0.55rem 1.1rem;
    font-size: 0.8rem;
  }

  .section-title {
    margin-bottom: 1.5rem;
  }

  .section-title h2 {
    font-size: 1.25rem;
  }

  .icon-box {
    padding: 1.25rem;
  }

  .icon-box i {
    font-size: 1.75rem;
  }

  .card-body {
    padding: 1rem !important;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
/*
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Ocultar Google Translate banner */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}

/* ===================================
   SECCIÓN RSC
   =================================== */

.rsc {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

.rsc .section-title {
  font-weight: 700;
  color: #2c3e50;
  font-size: 2.5rem;
}

.rsc .logo-card {
  perspective: 1000px;
}

.rsc .logo-wrapper {
  min-height: 120px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform-style: preserve-3d;
}

.rsc .logo-wrapper:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 123, 255, 0.15), 
              0 0 0 1px rgba(0, 123, 255, 0.1);
  border-color: rgba(0, 123, 255, 0.2);
}

.rsc .logo-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.rsc .logo-wrapper:hover .logo-glow {
  opacity: 1;
}

.rsc .logo-img {
  transition: all 0.4s ease;
  filter: grayscale(20%);
  position: relative;
  z-index: 1;
}

.rsc .logo-wrapper:hover .logo-img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.rsc .list-unstyled li {
  display: flex;
  align-items: flex-start;
}

.rsc .list-unstyled li i {
  font-size: 1.2rem;
  margin-top: 2px;
}

/* Estilos del Carrusel */
#logosCarousel {
  position: relative;
  padding: 40px 0;
}

#logosCarousel .carousel-inner {
  padding: 20px 60px;
}

#logosCarousel .carousel-item {
  transition: transform 0.6s ease-in-out;
}

/* Carrusel de logos RSC con transición fade */
#galeriaCarousel {
  position: relative;
  padding: 40px 0;
}

#galeriaCarousel.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

#galeriaCarousel.carousel-fade .carousel-item.active {
  opacity: 1;
}

#galeriaCarousel .logo-container {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

#galeriaCarousel .logo-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--color-coorporativo01);
}

#galeriaCarousel .logo-container img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: all 0.3s ease;
}

#galeriaCarousel .logo-container:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Responsive RSC */
@media (max-width: 991.98px) {
  .rsc {
    padding: 3rem 0;
  }

  .rsc .section-title {
    font-size: 2rem;
  }

  #galeriaCarousel .logo-container {
    height: 100px;
  }

  #galeriaCarousel .logo-container img {
    max-height: 70px;
  }
}

@media (max-width: 768px) {
  .rsc {
    padding: 2.5rem 0;
  }

  .rsc .section-title {
    font-size: 1.75rem;
  }
  
  #logosCarousel .carousel-inner {
    padding: 20px 40px;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  
  .carousel-control-icon i {
    font-size: 1.2rem;
  }

  #galeriaCarousel .logo-container {
    height: 90px;
    padding: 10px;
  }

  #galeriaCarousel .logo-container img {
    max-height: 60px;
  }
}

@media (max-width: 576px) {
  .rsc {
    padding: 2rem 0;
  }

  .rsc .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  #logosCarousel .carousel-inner {
    padding: 20px 10px;
  }

  #galeriaCarousel {
    padding: 20px 0;
  }

  #galeriaCarousel .logo-container {
    height: 80px;
    padding: 8px;
  }

  #galeriaCarousel .logo-container img {
    max-height: 50px;
  }
}

/*--------------------------------------------------------------
# Mejoras Responsive para Location y Contact
--------------------------------------------------------------*/

/* Location Section */
@media (max-width: 991.98px) {
  .location-map {
    height: 350px;
  }
}

@media (max-width: 767.98px) {
  .location-map {
    height: 300px;
    margin-top: 1.5rem;
  }

  .location-info {
    text-align: center;
  }

  .location-info h3 {
    font-size: 1.35rem;
  }

  .location-info p {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .location-map {
    height: 250px;
  }

  .location-info h3 {
    font-size: 1.2rem;
  }
}

/* Contact Section */
@media (max-width: 767.98px) {
  .contact-info {
    margin-bottom: 1.5rem;
  }

  .contact-info h3 {
    font-size: 1.35rem;
  }

  .contact-info .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem;
  }

  .contact-info i {
    font-size: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .contact-info h3 {
    font-size: 1.2rem;
  }

  .contact-info p {
    font-size: 0.9rem;
  }

  .contact-info i {
    font-size: 1.1rem;
  }
}

/*--------------------------------------------------------------
# Mejoras Responsive para Testimonios
--------------------------------------------------------------*/

@media (max-width: 991.98px) {
  .testimonial-card {
    margin-bottom: 1.5rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 767.98px) {
  .testimonial-card {
    padding: 1.5rem !important;
  }

  .testimonial-text {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .testimonial-author {
    font-size: 0.85rem;
  }
}

@media (max-width: 575.98px) {
  .testimonial-card {
    padding: 1.25rem !important;
  }

  .testimonial-text {
    font-size: 0.85rem;
  }

  .testimonial-author {
    font-size: 0.8rem;
  }
}

/*--------------------------------------------------------------
# Mejoras de Grid System
--------------------------------------------------------------*/

@media (max-width: 767.98px) {
  .row > [class*='col-'] {
    margin-bottom: 1rem;
  }

  .row > [class*='col-']:last-child {
    margin-bottom: 0;
  }
}

/*--------------------------------------------------------------
# Mejoras de Espaciado Vertical
--------------------------------------------------------------*/

@media (max-width: 991.98px) {
  .mb-5, .my-5 {
    margin-bottom: 2.5rem !important;
  }

  .mt-5, .my-5 {
    margin-top: 2.5rem !important;
  }

  .pb-5, .py-5 {
    padding-bottom: 2.5rem !important;
  }

  .pt-5, .py-5 {
    padding-top: 2.5rem !important;
  }
}

@media (max-width: 767.98px) {
  .mb-5, .my-5 {
    margin-bottom: 2rem !important;
  }

  .mt-5, .my-5 {
    margin-top: 2rem !important;
  }

  .pb-5, .py-5 {
    padding-bottom: 2rem !important;
  }

  .pt-5, .py-5 {
    padding-top: 2rem !important;
  }

  .mb-4, .my-4 {
    margin-bottom: 1.5rem !important;
  }

  .mt-4, .my-4 {
    margin-top: 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .mb-5, .my-5 {
    margin-bottom: 1.5rem !important;
  }

  .mt-5, .my-5 {
    margin-top: 1.5rem !important;
  }

  .pb-5, .py-5 {
    padding-bottom: 1.5rem !important;
  }

  .pt-5, .py-5 {
    padding-top: 1.5rem !important;
  }

  .mb-4, .my-4 {
    margin-bottom: 1.25rem !important;
  }

  .mt-4, .my-4 {
    margin-top: 1.25rem !important;
  }
}

/*--------------------------------------------------------------
# Mejoras de Tipografía Responsive
--------------------------------------------------------------*/

@media (max-width: 767.98px) {
  h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    hyphens: auto;
    color: var(--text-light);
  }

  .display-1 {
    font-size: 3rem;
  }

  .display-2 {
    font-size: 2.5rem;
  }

  .display-3 {
    font-size: 2rem;
  }

  .display-4 {
    font-size: 1.75rem;
  }

  .lead {
    font-size: 1.1rem;
  }
}

@media (max-width: 575.98px) {
  .display-1 {
    font-size: 2.5rem;
  }

  .display-2 {
    font-size: 2rem;
  }

  .display-3 {
    font-size: 1.75rem;
  }

  .display-4 {
    font-size: 1.5rem;
  }

  .lead {
    font-size: 1rem;
  }
}

/*--------------------------------------------------------------
# Mejoras de Modal Responsive
--------------------------------------------------------------*/

@media (max-width: 767.98px) {
  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-content {
    border-radius: 0.5rem;
  }

  .modal-header {
    padding: 1rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .modal-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 575.98px) {
  .modal-dialog {
    margin: 0.25rem;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 0.75rem;
  }

  .modal-title {
    font-size: 1rem;
  }
}
