/* ============================================
   SONRILASER - Diseño Moderno Profesional 2025/2026
   Mantiene 100% el contenido SEO original
   ============================================ */

:root {
  --primary: #0881bf;
  --primary-dark: #011c47;
  --primary-light: #e7f2fa;
  --accent: #17a3e0;
  --text-dark: #1a2b3c;
  --text-muted: #5a6a7a;
  --bg-light: #f7fafb;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.25s ease;
}

/* Reset y base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-light);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  transition: var(--transition);
}

a:hover, a:focus {
  color: var(--primary-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========== NAVBAR ========== */
.navbar-default {
  background: var(--white);
  border: none;
  border-radius: 0;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0;
  padding: 8px 0;
}

.navbar-default .navbar-brand {
  color: var(--primary);
  font-weight: 600;
  font-size: 18px;
}

.navbar-default .navbar-nav > li > a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14px;
  padding: 14px 12px;
  transition: var(--transition);
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: var(--primary);
  background: transparent;
}

.navbar-toggle {
  border-color: var(--primary);
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: var(--primary);
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: var(--primary-light);
}

/* ========== HERO / HEADER ========== */
.header-section {
  background: var(--white);
  padding: 30px 0 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0;
}

.brand-hero {
  max-width: 980px;
  margin: 0 auto;
}

.brand-hero img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ========== SOCIAL ACTION BAR ========== */
.social-action-bar {
  margin-top: 25px;
  margin-bottom: 10px;
  text-align: center;
}

.call-to-action-text {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--white);
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  text-decoration: none !important;
  border: 1px solid #e8eef0;
  min-width: 170px;
  transition: var(--transition);
}

.social-btn img {
  width: 26px;
  height: auto;
  margin-right: 10px;
}

.social-btn span {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 15px;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.insta-btn:hover {
  border-color: #E1306C;
}

.insta-btn:hover span {
  color: #E1306C;
}

.whats-btn:hover {
  border-color: #25D366;
}

.whats-btn:hover span {
  color: #25D366;
}

/* ========== VIDEO ========== */
.video-section {
  padding: 40px 0 20px;
  background: var(--bg-light);
}

.video-container {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: none;
}

.video-container video {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

/* ========== TÍTULOS DE SECCIÓN ========== */
.grisazuloso {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 14px 24px;
  margin: 0 0 30px;
  border-radius: var(--radius-sm);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.grisazuloso2 {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 28px 20px;
  margin-top: 40px;
  margin-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: 14px;
  line-height: 1.7;
}

/* ========== SERVICIOS (CARDS) ========== */
.services-section {
  padding: 20px 0 50px;
}

.thumbnail {
  border: none;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
  height: 100%;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
}

.thumbnail:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.thumbnail > a {
  display: block;
  overflow: hidden;
}

.thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: none;
  transition: transform 0.4s ease;
}

.thumbnail:hover img {
  transform: scale(1.04);
}

.thumbnail .caption {
  padding: 20px 18px 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.thumbnail .caption h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--primary);
  line-height: 1.3;
}

.thumbnail .caption h2 a {
  color: inherit;
  text-decoration: none;
}

.thumbnail .caption h2 a:hover {
  color: var(--primary-dark);
}

.thumbnail .caption p {
  font-size: 13.5px;
  color: var(--text-muted);
  text-align: left;
  margin: 0;
  line-height: 1.55;
  flex-grow: 1;
}

/* ========== DIRECTOR ========== */
.director-section {
  background: var(--white);
  padding: 50px 0 40px;
  margin-top: 10px;
}

.director-section h2.grisazuloso {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.director-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.director-photo {
  flex-shrink: 0;
}

.director-photo img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.director-info h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 22px;
  font-weight: 700;
}

.director-info address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dark);
}

.director-info strong {
  color: var(--primary-dark);
  font-weight: 600;
}

.director-info a {
  color: var(--primary);
  font-weight: 600;
}

/* ========== FOOTER ========== */
.footer-sonrilaser {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 30px 0;
  font-size: 14px;
  line-height: 1.7;
}

.footer-sonrilaser a {
  color: #fff;
  opacity: 0.95;
}

.footer-sonrilaser a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ========== UTILIDADES ========== */
.display-flex {
  display: flex;
  flex-wrap: wrap;
}

.shadow-box {
  box-shadow: var(--shadow-lg);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
  .director-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .director-info address {
    text-align: center;
  }
  
  .thumbnail img {
    height: 180px;
  }
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav > li > a {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
  }

  .header-section {
    padding: 15px 0 10px;
  }

  .social-action-bar {
    margin-top: 15px;
  }

  .call-to-action-text {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .action-buttons {
    gap: 10px;
  }

  .social-btn {
    min-width: 140px;
    padding: 10px 16px;
  }

  .social-btn img {
    width: 22px;
    margin-right: 8px;
  }

  .social-btn span {
    font-size: 14px;
  }

  .video-section {
    padding: 25px 0 10px;
  }

  .grisazuloso {
    font-size: 18px;
    padding: 12px 16px;
  }

  .thumbnail {
    margin-bottom: 20px;
  }

  .thumbnail img {
    height: 170px;
  }

  .thumbnail .caption {
    padding: 16px 14px 18px;
  }

  .thumbnail .caption h2 {
    font-size: 16px;
  }

  .director-section {
    padding: 35px 0 30px;
  }

  .director-photo img {
    width: 140px;
    height: 140px;
  }

  .director-card {
    padding: 24px 18px;
  }

  .grisazuloso2 {
    padding: 22px 15px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .action-buttons {
    flex-direction: row;
    width: 100%;
    padding: 0 10px;
  }
  
  .social-btn {
    flex: 1;
    min-width: 0;
  }
}
