
/* Fonts */
:root {
  --default-font: "Inter", "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Montserrat",  sans-serif;
  --nav-font: "Open Sans",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #f5f9ff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #222222; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #002754; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  /* gris claro a6a8ab */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #222222;  /* The default color of the main navmenu links */
  --nav-hover-color: #106eea; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #f5f9ff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #f5f9ff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #222222; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #106eea; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f5f9ff;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}


/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}



/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.3rem;
}

h5 {
  font-size: 1.1rem;
}

p {
  font-size: 0.9rem;
}
/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: #ffffff;
  transition: all 0.5s;
  z-index: 997;
  position: absolute;
  width: 100%;
  padding: 0 20px;
}

.header .branding {
  min-height: 60px;
  padding: 10px 0;
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 56px;
  margin-right: 8px;
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  position: fixed;
}

.scrolled .header {
  background: linear-gradient(
      to bottom right,
      #002a5b9f,
      #24538928
    ),
    url("../img/fondo2.jpeg") top no-repeat;
  overflow: hidden;
  color: var(--nav-color);
}

.fijo {
  background: linear-gradient(
      to bottom right,
      #002a5b9f,
      #24538928
    ),
    url("../img/fondo2.jpeg") top no-repeat;
  overflow: hidden;
  color: var(--nav-color);
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: #ffffff;
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: goldenrod;
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    background-image: linear-gradient(15deg, #fff 70%, #a6a8ab);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    min-width: 200px; 
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: #ffffff;
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: #f5f9ff;
  background: linear-gradient(
      to bottom right,
      hsl(211 100% 8% / 1), #001429);
  overflow: hidden;
  font-size: 14px;
  padding: 3rem 1rem;
  position: relative;
  border: 1px solid rgb(255 255 255 / 0.1);
}

.footer h3 {
  font-size: 28px;
  position: relative;
  padding-bottom: 12px;
  color: #f5f9ff;
}


.footer .footer-about {
  color: #888888;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-img {
  opacity: 0.7;
  max-width: 180px;
  margin-top: 20px;
}

.divisor {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  text-align: center;
}


/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  max-width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader div {
  width: 13px;
  height: 13px;
  background-color: var(--accent-color);
  border-radius: 50%;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
  position: absolute;
  left: 50%;
}

#preloader div:nth-child(1) {
  left: calc(50% + 8px);
  animation: animate-preloader-1 0.6s infinite;
}

#preloader div:nth-child(2) {
  left: calc(50% + 8px);
  animation: animate-preloader-2 0.6s infinite;
}

#preloader div:nth-child(3) {
  left: calc(50% + 32px);
  animation: animate-preloader-2 0.6s infinite;
}

#preloader div:nth-child(4) {
  left: calc(50% + 56px);
  animation: animate-preloader-3 0.6s infinite;
}

@keyframes animate-preloader-1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes animate-preloader-3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes animate-preloader-2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(24px, 0);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: #888888;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}



/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 2.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: clip;
  max-width: 100%;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title .title-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.section-title .title-accent {
  font-size: 0.85rem;
  font-weight: 500;
  color: goldenrod;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(218, 165, 32, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}

.section-title p {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--heading-font);
  margin: 0;
  letter-spacing: -0.5px;
  color: var(--heading-color);
}

.section-title p .description-title {
  color: var(--accent-color);
}

.section-title .title-line {
  width: 60px;
  height: 3px;
  background: goldenrod;
  transition: width 0.3s ease;
}

.section-title:hover .title-line {
  width: 100px;
}

.section-subtitle {
  font-size: 0.95rem;
  font-weight: 400;
  color: #666;
  max-width: 550px;
  margin: 20px 0 0 0;
  line-height: 1.5;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title .title-group {
    flex-direction: column;
    gap: 8px;
    align-items: flex-center;
  }
  
  .section-title p {
    font-size: 1.6rem;
  }
  
  .section-title .title-accent {
    font-size: 0.7rem;
  }
}
  
/*--------------------------------------------------------------
# Hero Section (Diseño profesional)
--------------------------------------------------------------*/
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(
      to bottom right,
      #002a5b63,
      #00459528
    ),
    url("../img/fondo2.jpeg") center/cover no-repeat;
  overflow: hidden;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.2);

}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text h4 {
  color: goldenrod
}

.hero-text p {
  font-size: 1.1rem;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 90%;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: up-down 2s ease-in-out infinite alternate;
}

.hero-logo-wrapper {
  backdrop-filter: blur(5px);
  border: 1px solid rgba(196, 196, 196, 0.17);
  border-radius: 24px;
  padding: 40px 60px 40px 40px;
  box-shadow: 8px 8px 8px #00000071;
  transition: transform 0.4s ease, background 0.4s ease;
}


.hero-logo-wrapper img {
  max-width: 420px;
  height: auto;
  display: block;
}

.hero-botonera {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-btn {
  background: goldenrod;
  border-radius: 8px;
  color: #002a5b;
  padding: 12px 28px;
  width: fit-content;
  justify-content: center;
  align-items: center;
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition:
    transform 0.25s ease,
    background 0.5s ease,
    box-shadow 0.3s ease,
    color 0.3s ease;
}

.hero-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  color: #002a5b;
  background: rgb(218, 159, 10);
}

.hero-btn.secondary {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.hero-btn.secondary:hover {
  background: #002a5b76;
}

/* Animaciones */
@keyframes up-down {
  0% { transform: translateY(5px); }
  100% { transform: translateY(-5px); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-layout {
    flex-direction: column-reverse;
    gap: 50px;
  }

  .hero-text p {
    margin: 0 0 30px;
  }

  .hero-botonera {
    flex-direction: column-reverse;
  }

  .hero-btn {
    max-width: 220px;
  }

  .hero-visual img {
    max-width: 200px;
  }

  .hero-logo-wrapper img {
    max-width: 300px;
  }
  
  .hero-logo-wrapper {
    padding: 30px 40px 30px 30px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 0.95rem;
    max-width: 100%;
  }
  
  .hero-logo-wrapper img {
    max-width: 220px;
  }
}

/* Logo - Mobile */
@media (max-width: 1199px) {
  .hero-visual, .logo-header {
    display: none;
  }
}

/*--------------------------------------------------------------
# Featured Services Section - Flip Cards 2x2
--------------------------------------------------------------*/

.servicios-flip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
} 

.flip-card {
  background-color: transparent;
  height: 250px;
}

@media (min-width: 769px) {
  .flip-card {
    cursor: pointer;
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 1s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  border-bottom: 3px solid var(--accent-color);
  border-radius: 24px;
}

.flip-card-inner.flipped {
  transform: rotateY(180deg);
}


.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 24px;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.8s ease;
}

.flip-front {
  background: var(--surface-color);
  border: 1px solid rgba(0, 84, 165, 0.15);
}

.flip-icono {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #106eea 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  box-shadow: 0 10px 25px rgba(0, 84, 165, 0.3);
  transition: all 0.3s ease;
}

.flip-card:hover .flip-icono {
  transform: scale(1.05) rotate(3deg);
  box-shadow: 0 15px 35px rgba(0, 84, 165, 0.4);
}

.flip-icono i {
  font-size: 30px;
  color: white;
}

.flip-front h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

/* Indicador de hover/click */
.flip-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.flip-card:hover .flip-hint {
  opacity: 1;
}

.flip-hint i {
  font-size: 1rem;
  animation: slideRigth 1.2s ease-in-out infinite;
}

@keyframes slideRigth {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.6;
  }
  50% {
    transform: translateX(5px);
    opacity: 1;
  }
}

/* DORSO */
.flip-back {
  background: linear-gradient(145deg, var(--accent-color) 60%, #106eea 100%);
  border-radius: 20px;
  transition: all 0.3s ease;
  color: white;
  transform: rotateY(180deg);
  justify-content: flex-start;
  overflow-y: auto;
  text-align: left;
  padding: 25px 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Scroll personalizado para el dorso */
.flip-back::-webkit-scrollbar {
  width: 4px;
}

.flip-back::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.flip-back::-webkit-scrollbar-thumb {
  background: goldenrod;
  border-radius: 4px;
}

.flip-back-content {
  width: 100%;
}

.flip-back h4 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: goldenrod;
}

.flip-back p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

/* Gráfico en el dorso */
.flip-back-grafico {
  margin: 15px 0;
  text-align: center;
}

.flip-back-grafico img {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px;
  transition: transform 0.3s ease;
}

.flip-card:hover .flip-back-grafico img {
  transform: scale(1.02);
}

/* Botón en el dorso */
.flip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: goldenrod;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 40px;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 10px;
  border: none;
  cursor: pointer;
}

.flip-btn:hover {
  background: white;
  transform: translateX(5px);
  color: var(--accent-color);
}

.flip-btn i {
  transition: transform 0.3s ease;
}

.flip-btn:hover i {
  transform: translateX(4px);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
  .servicios-flip-grid {
    gap: 25px;
  }
  
  .flip-card {
    height: 380px;
  }
  
  .flip-front h3 {
    font-size: 1.1rem;
  }
  
  .flip-icono {
    width: 70px;
    height: 70px;
  }
  
  .flip-icono i {
    font-size: 34px;
  }
  
  .flip-back p {
    font-size: 0.8rem;
  }
  
  .flip-back h4 {
    font-size: 1rem;
  }
}

/* Mobile (donde se usa click en lugar de hover) */
@media (max-width: 768px) {
  .servicios-flip-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 16px;
  }
  
  .flip-card {
    height: auto;
    min-height: 380px;
  }
  
  .flip-front {
    padding: 25px 20px;
  }
  
  .flip-front h3 {
    font-size: 1.2rem;
  }
  
  .flip-icono {
    width: 65px;
    height: 65px;
  }
  
  .flip-icono i {
    font-size: 30px;
  }
  
  .flip-back {
    padding: 25px 20px;
  }
  
  .flip-back-grafico img {
    max-height: 80px;
  }
  
  /* En móvil, el cursor es pointer para indicar que se puede tocar */
  .flip-card {
    cursor: pointer;
  }
}

/* Mobile pequeño */
@media (max-width: 480px) {
  .flip-card {
    height: 420px;
  }
  
  .flip-front h3 {
    font-size: 1rem;
  }
  
  .flip-back p {
    font-size: 0.75rem;
  }
  
  .flip-back h4 {
    font-size: 0.95rem;
  }
  
  .flip-btn {
    padding: 6px 16px;
    font-size: 0.75rem;
  }
}

/* Animación de entrada */
.flip-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 20px 20px;
  transition: border ease-in-out 0.3s;
  max-width: 400px;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 2rem;
  transition: ease-in-out 0.3s;
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 2rem;
  transition: 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 1rem;
  margin-bottom: 0;
}

.services .service-item:hover {
  border-color: var(--accent-color);
}

.services .service-item:hover h3 {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Team Section - Valores horizontales (azul) + Carrusel
--------------------------------------------------------------*/

.team {
  padding: 60px 0;
  background: var(--bg-light);
}

.team-values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.team-value-card-horizontal {
  background: linear-gradient(135deg, var(--accent-color) 20%, #106eea 100%);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  border-bottom: 3px solid goldenrod; 
  position: relative;
  overflow: hidden;
}

.team-value-card-horizontal:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, #106eea 20%, var(--accent-color) 100%);
  transition: all 0.3s ease;
}

.team-value-card-horizontal .value-icon-simple {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
  transition: all 0.3s ease;
}

.team-value-card-horizontal:hover .value-icon-simple {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.team-value-card-horizontal .value-icon-simple i {
  font-size: 28px;
  color: #ffffff; 
}

.team-value-card-horizontal h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.team-value-card-horizontal p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.team-value-card-horizontal p strong {
  color: goldenrod;
  font-weight: 600;
}

/* ============================================
   Carrusel de miembros
   ============================================ */
   .team-carousel-container {
    position: relative;
    padding: 20px 20px 50px 20px;
    margin-bottom: 50px;
    border-radius: 32px;
    background: rgba(1, 51, 97, 0.176); 
    backdrop-filter: blur(0px);
    transition: all 0.3s ease;
  }
  

.team-swiper {
  overflow: hidden;
  padding: 10px 0 30px 0;
}

.team-member-card {
  background: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 84, 165, 0.08);
  max-width: 280px;
  margin: 0 auto;
}

.team-member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 84, 165, 0.12);
  border-color: var(--accent-color);
}

.member-link {
  text-decoration: none;
  display: block;
}

.member-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
  flex-shrink: 0;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member-card:hover .member-image img {
  transform: scale(1.05);
}

.member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member-card:hover .member-overlay {
  opacity: 1;
}

.member-overlay span {
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-color);
  padding: 6px 16px;
  border-radius: 40px;
}

.member-info {
  padding: 16px 12px 14px;
  text-align: center;
}

.member-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--heading-color);
}

.team-member-card:hover .member-info h4 {
  color: var(--accent-color);
}

.member-info p {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 10px;
}

.member-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #aaa;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  color: var(--accent-color);
  background: #e0e0e0;
  transform: translateY(-2px);
}

/* Navegación del carrusel */
.swiper-button-prev,
.swiper-button-next {
  color: var(--accent-color);
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  opacity: 0.7;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1.2rem;
}

.team-carousel-container .swiper-button-prev:hover,
.team-carousel-container .swiper-button-next:hover {
  opacity: 1;
  transform: scale(1.05);
  background: var(--accent-color);
  color: white;
}

.team-carousel-container .swiper-button-prev::after,
.team-carousel-container .swiper-button-next::after {
  font-size: 1.2rem;
  font-weight: bold;
}

.swiper-pagination-bullet {
  background: var(--accent-color);
}

.swiper-pagination-bullet-active {
  background: goldenrod;
}

.team-carousel-container .swiper-pagination {
  bottom: 10px;
  position: absolute;
  width: 100%;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 992px) {
  .team-carousel-container {
    padding: 30px 30px 25px;
    margin-bottom: 50px;
  }
  
  .team-values-row {
    gap: 20px;
  }
  
  .team-value-card-horizontal {
    padding: 22px 18px;
  }
  
  .team-value-card-horizontal h4 {
    font-size: 1rem;
  }
  
  .team-value-card-horizontal p {
    font-size: 0.8rem;
  }

  .team-member-card {
    max-width: 240px;
  }
  
  .team-values-row {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .team-carousel-container {
    padding: 25px 20px 20px;
    margin-bottom: 40px;
  }
  
  .team-carousel-container::after {
    width: 60px;
    bottom: -20px;
  }
  
  .team-values-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  
  .team-value-card-horizontal {
    text-align: center;
    padding: 25px 20px;
  }
  
  .team-value-card-horizontal .value-icon-simple {
    margin: 0 auto 15px auto;
  }
  
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .team-carousel-container {
    padding: 20px 15px 40px 15px;
  }
  
  .team-member-card {
    max-width: 260px;
  }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.socio {
  margin-top: 80px;
}
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 30px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}


.service-details h3 {
  font-size: 32px;
  margin-bottom: 20px;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

.image-text-wrapper {
  position: relative;
  gap: 30px; 
}

.services-img {
  max-width: 300px; 
  height: auto;
  flex-shrink: 0; 
  position: static;
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
}

.text-content {
  flex: 1; /* Ocupa el espacio restante */
}


@media (max-width: 991px) {
  .image-text-wrapper {
    flex-direction: column; /* Apila en móviles */
    grid-template-columns: 1fr;
  }
  
  .services-img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }
}


/*--------------------------------------------------------------
# Productos Section - Vitrina de productos
--------------------------------------------------------------*/

.productos {
  padding: 30px 0 10px 0;
  background-color: var(--background-color);
}

/* Grid de productos */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

/* Card de producto */
.producto-card {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 84, 165, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.producto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 84, 165, 0.12);
  border-color: rgba(0, 84, 165, 0.25);
}

/* Producto destacado (el premium) */
.producto-card.destacado {
  border-top: 4px solid goldenrod;
  position: relative;
  background: linear-gradient(145deg, var(--surface-color) 0%, rgba(0, 84, 165, 0.02) 100%);
}

.producto-card.destacado::before {
  content: "★";
  position: absolute;
  top: 20px;
  right: 25px;
  color: goldenrod;
  font-size: 1.2rem;
}

/* Header del producto */
.producto-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.producto-icono {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #106eea 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.producto-card:hover .producto-icono {
  transform: scale(1.05) rotate(3deg);
}

.producto-icono i {
  font-size: 26px;
  color: white;
}

.producto-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(0, 84, 165, 0.1);
  color: var(--accent-color);
  letter-spacing: 0.5px;
}

.producto-badge.premium {
  background: goldenrod;
  color: var(--accent-color);
}

/* Título */
.producto-titulo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
  line-height: 1.3;
}

/* Descripción */
.producto-descripcion {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #666;
  margin-bottom: 20px;
  flex: 1;
}

/* Características */
.producto-caracteristicas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.producto-caracteristicas span {
  font-size: 0.7rem;
  color: #555;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f5f5f5;
  padding: 4px 10px;
  border-radius: 20px;
}

.producto-caracteristicas span i {
  font-size: 0.65rem;
  color: goldenrod;
}

/* Footer con botón */
.producto-footer {
  margin-top: auto;
}

.producto-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: transparent;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.85rem;
  border: 2px solid var(--accent-color);
  border-radius: 40px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.producto-btn:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 84, 165, 0.3);
}

.producto-btn.premium {
  background: goldenrod;
  border-color: goldenrod;
  color: var(--accent-color);
}

.producto-btn.premium:hover {
  background: #c9a03d;
  border-color: #c9a03d;
  transform: translateY(-2px);
}

/* ============================================
   CTA de suscripción
   ============================================ */
.productos-cta {
  margin-top: 20px;
}

.suscripcion-card {
  background: linear-gradient(135deg, rgba(0, 84, 165, 0.05) 0%, rgba(0, 84, 165, 0.02) 100%);
  border-radius: 24px;
  padding: 35px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
  border: 1px solid rgba(0, 84, 165, 0.15);
}

.suscripcion-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.suscripcion-content i {
  font-size: 2.5rem;
  color: goldenrod;
  background: rgba(218, 165, 32, 0.1);
  padding: 12px;
  border-radius: 50%;
}

.suscripcion-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.suscripcion-content p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

.suscripcion-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--accent-color);
  color: white;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.suscripcion-btn:hover {
  background: goldenrod;
  transform: translateX(5px);
  color: var(--accent-color);
}

/* ============================================
   Responsive
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .suscripcion-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 25px;
  }
  
  .suscripcion-content {
    flex-direction: column;
    text-align: center;
  }
  
  .suscripcion-btn {
    white-space: normal;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .productos-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .producto-card {
    padding: 22px;
  }
  
  .producto-titulo {
    font-size: 1.1rem;
  }
  
  .producto-caracteristicas {
    gap: 8px;
  }
  
  .producto-caracteristicas span {
    font-size: 0.65rem;
  }
  
  .suscripcion-card {
    padding: 25px 20px;
  }
  
  .suscripcion-content i {
    font-size: 2rem;
  }
  
  .suscripcion-content h4 {
    font-size: 1rem;
  }
}

/* Mobile pequeño */
@media (max-width: 480px) {
  .producto-card {
    padding: 18px;
  }
  
  .producto-icono {
    width: 45px;
    height: 45px;
  }
  
  .producto-icono i {
    font-size: 20px;
  }
  
  .producto-titulo {
    font-size: 1rem;
  }
  
  .producto-btn {
    padding: 10px 16px;
    font-size: 0.75rem;
  }
}


/*--------------------------------------------------------------
# Sección Unificada: Visión + Experiencia (Fondo oscuro)
--------------------------------------------------------------*/

.vision-experiencia {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.vision-experiencia .section-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 background: linear-gradient(135deg, rgba(0, 21, 45, 0.9) 0%, rgba(0, 39, 84, 0.85) 100%), url("../img/fondo3.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  z-index: 0;
}

.vision-experiencia .container {
  position: relative;
  z-index: 2;
}

.vision-experiencia-layout {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.vision-texto-columna {
  flex: 2;
  min-width: 0;
}

.vision-texto-completo p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.2rem;
  text-align: justify;
}

.vision-texto-completo p:last-child {
  margin-bottom: 0;
}

.experiencia-cards-columna {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.experiencia-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
  border-left: 3px solid goldenrod;
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.experiencia-icono {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background: rgba(218, 165, 32, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.experiencia-icono i {
  font-size: 22px;
  color: goldenrod;
}

.experiencia-contenido {
  flex: 1;
}

.experiencia-contenido h4 {
  font-size: 1rem;
  font-weight: 700;
  color: goldenrod;
  margin-bottom: 8px;
}

.experiencia-contenido p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.vision-experiencia .section-title p {
  color: rgba(255, 255, 255, 0.9);
}

.vision-experiencia .section-title p .description-title {
  color: goldenrod;
}

.vision-experiencia .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.vision-experiencia .title-line {
  background: goldenrod;
}

.vision-experiencia .title-accent {
  color: goldenrod;
  background: rgba(218, 165, 32, 0.2);
}

/* ============================================
   Responsive
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
  .vision-experiencia {
    padding: 60px 0;
  }
  
  .vision-experiencia-layout {
    flex-direction: column;
    gap: 40px;
  }
  
  .vision-texto-columna,
  .experiencia-cards-columna {
    flex: auto;
    width: 100%;
  }
  
  .experiencia-cards-columna {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .experiencia-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    border-left: none;
    border-top: 3px solid goldenrod;
    padding: 20px;
  }
  
  .experiencia-contenido h4 {
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .vision-experiencia {
    padding: 50px 0;
  }
  
  .experiencia-cards-columna {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .vision-texto-completo p {
    font-size: 0.85rem;
  }
  
  .experiencia-card {
    padding: 18px;
  }
  
  .vision-experiencia .section-title p {
    font-size: 1.6rem;
  }
}

/* Mobile pequeño */
@media (max-width: 480px) {
  .vision-texto-completo p {
    font-size: 0.8rem;
  }
  
  .experiencia-contenido h4 {
    font-size: 0.9rem;
  }
  
  .experiencia-contenido p {
    font-size: 0.75rem;
  }
}


/* -----------------------------
 Prensa
 ------------------------------- */
.prensa-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

.prensa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
  margin-bottom: 50px;
}

.prensa-card {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 84, 165, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.prensa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 84, 165, 0.12);
  border-color: rgba(0, 84, 165, 0.25);
}

.prensa-imagen {
  position: relative;
  overflow: hidden;
  height: 220px;
  flex-shrink: 0;
}

.prensa-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.prensa-card:hover .prensa-imagen img {
  transform: scale(1.05);
}

.prensa-medio {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: var(--accent-color);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.prensa-contenido {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prensa-titulo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.prensa-card:hover .prensa-titulo {
  color: var(--accent-color);
}

.prensa-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  font-size: 0.75rem;
  color: #888;
}

.prensa-meta i {
  font-size: 0.85rem;
  color: goldenrod;
}

.prensa-resumen {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #666;
  margin-bottom: 20px;
  flex: 1;
}

.prensa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}

.prensa-link i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.prensa-link:hover {
  color: goldenrod;
  gap: 12px;
}

.prensa-link:hover i {
  transform: translateX(4px);
}

/* ============================================
   Footer de prensa (mensaje de más contenido)
   ============================================ */
.prensa-footer {
  margin-top: 20px;
}

.prensa-mas {
  text-align: center;
  padding: 30px 20px;
  background: rgba(0, 84, 165, 0.02);
  border-radius: 20px;
  border: 1px dashed rgba(0, 84, 165, 0.2);
}

.prensa-mas i {
  font-size: 2rem;
  color: goldenrod;
  margin-bottom: 12px;
  display: block;
}

.prensa-mas p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.prensa-mas span {
  font-size: 0.8rem;
  color: #888;
}

/* ============================================
   Responsive
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
  .prensa-grid {
    gap: 25px;
  }
  
  .prensa-imagen {
    height: 180px;
  }
  
  .prensa-contenido {
    padding: 20px;
  }
  
  .prensa-titulo {
    font-size: 1.1rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .prensa-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .prensa-imagen {
    height: 200px;
  }
  
  .prensa-titulo {
    font-size: 1rem;
  }
  
  .prensa-contenido {
    padding: 18px;
  }
  
  .prensa-resumen {
    font-size: 0.8rem;
  }
}

/* Mobile pequeño */
@media (max-width: 480px) {
  .prensa-imagen {
    height: 180px;
  }
  
  .prensa-titulo {
    font-size: 0.95rem;
  }
  
  .prensa-meta {
    font-size: 0.7rem;
  }
  
  .prensa-resumen {
    font-size: 0.75rem;
  }
  
  .prensa-link {
    font-size: 0.8rem;
  }
  
  .prensa-mas p {
    font-size: 0.9rem;
  }
  
  .prensa-mas span {
    font-size: 0.7rem;
  }
}