/**
 * Theme Name:     SGN_Theme
 * Author:         Robiras Design
 * Template:       Divi
 * Text Domain:	   sgn_theme
 * Description:    Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
 * Author URI:     https://robirasdesign.com
 */

 /* Fuente personalizada */
@font-face {
  font-family: 'Financier Display';
  src: url('/wp-content/themes/sgn_theme/fonts/financier/FinancierDisplay-Regular.woff2') format('woff2'),
       url('/wp-content/themes/sgn_theme/fonts/financier/FinancierDisplay-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Financier Display';
  src: url('/wp-content/themes/sgn_theme/fonts/financier/FinancierDisplay-RegularItalic.woff2') format('woff2'),
       url('/wp-content/themes/sgn_theme/fonts/financier/FinancierDisplay-RegularItalic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Financier Display';
  src: url('/wp-content/themes/sgn_theme/fonts/financier/FinancierDisplay-Medium.woff2') format('woff2'),
       url('/wp-content/themes/sgn_theme/fonts/financier/FinancierDisplay-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Financier Display';
  src: url('/wp-content/themes/sgn_theme/fonts/financier/FinancierDisplay-MediumItalic.woff2') format('woff2'),
       url('/wp-content/themes/sgn_theme/fonts/financier/FinancierDisplay-MediumItalic.woff') format('woff');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'Financier Display';
  src: url('/wp-content/themes/sgn_theme/fonts/financier/FinancierDisplay-Bold.woff2') format('woff2'),
       url('/wp-content/themes/sgn_theme/fonts/financier/FinancierDisplay-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Financier Display';
  src: url('/wp-content/themes/sgn_theme/fonts/financier/FinancierDisplay-BoldItalic.woff2') format('woff2'),
       url('/wp-content/themes/sgn_theme/fonts/financier/FinancierDisplay-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
}
/* Final Fuente personalizada */
/* Forzando el uso de la fuente */
body {
  font-family: 'Financier Display', serif;
}
/* Fin Forzando el uso de la fuente */


/* Estilo general del menú fijo (sticky) */
.et-fixed-header #main-header {
  background-color: #FFFFFF; /* Fondo blanco, puedes cambiarlo */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); /* Sombra sutil */
  transition: all 0.3s ease-in-out;
}

/* Cambiar color de enlaces del menú fijo */
.et-fixed-header #top-menu li a {
  color: #1D3D36; /* Gris oscuro elegante */
  transition: color 0.3s ease;
}

/* Color del enlace activo */
.et-fixed-header #top-menu li.current-menu-item > a,
.et-fixed-header #top-menu li.current_page_item > a {
  color: #2F869D !important; /* Azul petróleo corporativo */
}

/* Tamaño del logo al hacer scroll (ajustable) */
.et-fixed-header #logo {
  max-height: 40px !important; /* Ajusta si tu logo es más alto o más bajo */
  transition: max-height 0.3s ease-in-out;
}

/* Centrado vertical */
.ds-vertical-align {
display: flex;
flex-direction: column;
justify-content: center;
}