/* ============================================================
   ESTILOS MODERNIZADOS - DOLPHIN TECHNOLOGIES
   Colores institucionales:
   Azul: #00375e | Rojo: #ff0000 | Amarillo: #ffcc00
   Tipografía: Poppins + Montserrat
   ============================================================ */

/* ========================= */
/* BASE GENERAL */
/* ========================= */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  background: #f5f7fa;
  color: #333;
  scroll-behavior: smooth;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
}

a { text-decoration: none; transition: color 0.3s ease; }
a:focus, button:focus, input:focus, textarea:focus { outline: 2px solid #ffcc00; outline-offset: 2px; }

/* ========================= */
/* BARRA SUPERIOR MODERNA */
/* ========================= */
.top-bar {
  background: linear-gradient(90deg, #00375e, #005b96);
  color: white;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 25px;
  font-size: 0.9rem;
  animation: fadeInDown 0.8s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.top-bar i { margin-right: 5px; color: #ffcc00; }

.top-bar .top-right a {
  color: white;
  margin-left: 18px;
  font-weight: 500;
  position: relative;
}

.top-bar .top-right a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #ffcc00;
  left: 0;
  bottom: -3px;
  transition: width 0.3s ease;
}

.top-bar .top-right a:hover::after { width: 100%; }

/* ========================= */
/* CABECERA PRINCIPAL ULTRA MODERNA */
/* ========================= */
header, .main-header {
  background: linear-gradient(135deg, #00375e 0%, #005b96 100%);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 10000;
  box-shadow: 0 10px 35px rgba(0,0,0,0.25);
  transition: all 0.5s ease;
  backdrop-filter: blur(8px);
}

/* Efecto al hacer scroll */
header.scrolled {
  padding: 12px 30px;
  background: rgba(0,55,94,0.95);
  box-shadow: 0 6px 25px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

/* LOGO DINÁMICO */
.main-header .logo img {
  height: 80px;
  max-height: 90px;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: drop-shadow(0 5px 15px rgba(0,204,255,0.5));
}

/* Hover extremo para llamar atención */
.main-header .logo img:hover {
  transform: scale(1.25) rotate(-5deg);
  filter: drop-shadow(0 10px 25px rgba(255,204,0,0.8)) hue-rotate(15deg);
  animation: logoGlow 1.2s ease-in-out infinite alternate;
}

/* Animación de brillo suave */
@keyframes logoGlow {
  0% { filter: drop-shadow(0 10px 20px rgba(255,204,0,0.6)); }
  100% { filter: drop-shadow(0 12px 28px rgba(255,204,0,1)); }
}

/* TRANSICIÓN DE ELEMENTOS INTERNOS */
.main-header nav a {
  color: #ffcc00;
  font-weight: 600;
  margin: 0 15px;
  position: relative;
  transition: all 0.3s ease;
}

/* Subrayado animado al pasar el mouse */
.main-header nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #ffffff;
  transition: width 0.3s ease;
}

.main-header nav a:hover::after {
  width: 100%;
}

/* ========================= */
/* BOTONES DE CABECERA ULTRA MODERNOS */
/* ========================= */
.main-header .btn-header {
  background: linear-gradient(135deg, #ffcc00, #ffd633);
  color: #00375e;
  padding: 14px 28px;
  border-radius: 35px;
  font-weight: 700;
  font-size: 1.05em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(255,204,0,0.4), 0 0 15px rgba(255,204,0,0.3) inset;
  transition: all 0.4s ease, box-shadow 0.5s ease, transform 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Hover ultra llamativo */
.main-header .btn-header:hover {
  transform: translateY(-6px) scale(1.08) rotate(-1deg);
  box-shadow: 0 12px 35px rgba(255,204,0,0.7), 0 0 25px rgba(255,204,0,0.5) inset;
  background: linear-gradient(135deg, #ffd633, #ffcc00);
}

/* Animación de brillo dinámico */
.main-header .btn-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  transform: rotate(45deg) translateX(-100%);
  transition: all 0.6s ease;
  pointer-events: none;
}

.main-header .btn-header:hover::before {
  transform: rotate(45deg) translateX(100%);
}

/* Efecto de “glow” suave pulsante */
@keyframes glowPulse {
  0% { box-shadow: 0 8px 20px rgba(255,204,0,0.4), 0 0 15px rgba(255,204,0,0.3) inset; }
  50% { box-shadow: 0 12px 30px rgba(255,204,0,0.6), 0 0 20px rgba(255,204,0,0.4) inset; }
  100% { box-shadow: 0 8px 20px rgba(255,204,0,0.4), 0 0 15px rgba(255,204,0,0.3) inset; }
}

.main-header .btn-header {
  animation: glowPulse 2s infinite ease-in-out;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .main-header .btn-header {
    width: 80%;
    padding: 12px 0;
    font-size: 1em;
  }
}

/* ========================= */
/* BUSCADOR ULTRA MODERNO */
/* ========================= */
.search-box {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 500px;
  margin: 0 20px;
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  border-radius: 35px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1), inset 0 0 10px rgba(0,0,0,0.03);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.search-box:hover {
  box-shadow: 0 10px 30px rgba(0,55,94,0.2), inset 0 0 12px rgba(0,0,0,0.05);
}

.search-box input {
  flex: 1;
  padding: 14px 22px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
  transition: all 0.3s ease;
}

.search-box input::placeholder { 
  color: #999;
  font-style: italic;
}

/* Animación de foco */
.search-box input:focus {
  transform: scale(1.02);
}

/* Botón de búsqueda llamativo */
.search-box button {
  background: linear-gradient(135deg, #00375e, #005b96);
  color: #ffcc00;
  border: none;
  padding: 14px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0 35px 35px 0;
  box-shadow: 0 4px 15px rgba(0,55,94,0.3);
  transition: all 0.4s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Hover extremo con efecto de luz */
.search-box button:hover {
  transform: scale(1.15) rotate(-1deg);
  box-shadow: 0 8px 25px rgba(0,55,94,0.5), 0 0 20px rgba(255,204,0,0.4) inset;
}

/* Efecto de resplandor pulsante */
.search-box button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  transform: rotate(45deg) translateX(-100%);
  transition: all 0.6s ease;
  pointer-events: none;
}

.search-box button:hover::before {
  transform: rotate(45deg) translateX(100%);
}

/* ========================= */
/* CARRITO ULTRA MODERNO */
/* ========================= */
.cart {
  position: relative;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cart:hover { 
  transform: scale(1.15) rotate(-2deg);
  box-shadow: 0 10px 25px rgba(0,55,94,0.3), 0 0 20px rgba(255,204,0,0.4) inset;
}

.cart a {
  color: #00375e;
  font-size: 1.8rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.cart a:hover { color: #ffcc00; transform: scale(1.2); }

.cart-count {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #ffcc00;
  color: #00375e;
  font-size: 0.9rem;
  padding: 4px 8px;
  border-radius: 50%;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  animation: pulse 2s infinite ease-in-out;
}

/* Animación de pulso para contador */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .search-box { max-width: 90%; margin: 10px 0; }
  .search-box input, .search-box button { padding: 12px 18px; font-size: 0.95rem; }
  .cart a { font-size: 1.5rem; }
  .cart-count { font-size: 0.8rem; padding: 3px 7px; }
}

/* ========================= */
/* MENÚ PRINCIPAL ULTRA MODERNO */
/* ========================= */
.nav-categorias {
  background: linear-gradient(135deg, #00375e, #005b96);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  border-bottom: 2px solid #ffcc00;
  position: relative;
  z-index: 999;
  transition: all 0.4s ease;
}

/* Lista principal */
.nav-categorias ul {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  position: relative;
}

/* Items del menú */
.nav-categorias .menu-item > a {
  display: block;
  padding: 16px 28px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* Hover extremo con gradiente animado */
.nav-categorias .menu-item > a:hover {
  background: linear-gradient(120deg, #ffcc00, #ffd633);
  color: #00375e;
  border-radius: 10px;
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 6px 20px rgba(255,204,0,0.4);
}

/* Subrayado animado */
.nav-categorias .menu-item > a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 3px;
  background: #ffffff;
  left: 0;
  bottom: 0;
  transition: width 0.4s ease, background 0.4s ease;
}

.nav-categorias .menu-item:hover > a::after {
  width: 100%;
  background: #ffcc00;
}

/* Submenú moderno */
.nav-categorias .submenu {
  position: absolute;
  background: #f5f7fa;
  min-width: 220px;
  display: none;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  border-radius: 15px;
  overflow: hidden;
  top: 100%;
  left: 0;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s ease;
}

/* Mostrar submenú con animación */
.nav-categorias .menu-item:hover .submenu {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

/* Links del submenú */
.nav-categorias .submenu li a {
  padding: 14px 22px;
  color: #00375e;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Efecto hover submenú */
.nav-categorias .submenu li a:hover {
  background: linear-gradient(120deg, #ffcc00, #ffd633);
  color: #00375e;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255,204,0,0.3);
}

/* Flecha decorativa para submenús */
.nav-categorias .menu-item.has-submenu > a::before {
  content: '▼';
  font-size: 0.7em;
  margin-left: 8px;
  transition: transform 0.4s ease;
}

.nav-categorias .menu-item:hover.has-submenu > a::before {
  transform: rotate(180deg);
}

/* Responsivo */
@media (max-width: 768px) {
  .nav-categorias ul {
    flex-direction: column;
    gap: 10px;
  }

  .nav-categorias .menu-item > a {
    padding: 14px 20px;
    text-align: center;
  }

  .nav-categorias .submenu {
    position: relative;
    transform: translateY(0);
    opacity: 1;
    box-shadow: none;
    border-radius: 10px;
  }
}

/* ========================= */
/* SLIDER ULTRA MODERNO */
/* ========================= */
.slider-container {
  position: relative;
  overflow: hidden;
  height: 480px;
  width: 100%;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transition: all 0.5s ease;
}

.slide, .slider-container img {
  display: none;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  animation: fadeIn 1s ease;
  transition: all 0.5s ease;
}

.slide.active, .slider-container img.active { display: block; }

.overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.6));
  color: white;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 30px;
}

.overlay h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 2px 2px 12px rgba(0,0,0,0.5);
  animation: slideInDown 1s ease forwards;
}

.overlay p {
  font-size: 1.25rem;
  margin-bottom: 25px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.4);
  animation: fadeIn 1.2s ease forwards;
}

/* Navegación slider con hover extremo */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, rgba(0,55,94,0.8), rgba(0,87,150,0.95));
  color: #ffcc00;
  border: none;
  padding: 16px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 24px;
  box-shadow: 0 6px 18px rgba(0,55,94,0.35);
  transition: all 0.4s ease;
}

.prev:hover, .next:hover {
  background: linear-gradient(135deg, rgba(0,55,94,1), rgba(0,87,150,1));
  transform: scale(1.2) rotate(-5deg);
  box-shadow: 0 10px 30px rgba(0,55,94,0.6);
}

.prev { left: 25px; }
.next { right: 25px; }

/* ========================= */
/* BOTONES CTA ULTRA MODERNOS */
.btn-cta {
  background: linear-gradient(135deg, #ffcc00, #ffd633);
  color: #00375e;
  padding: 16px 32px;
  border-radius: 40px;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 8px 25px rgba(255,204,0,0.4);
  transition: all 0.5s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-cta:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 12px 35px rgba(255,204,0,0.7), 0 0 20px rgba(255,255,255,0.15) inset;
}

.btn-secondary {
  background: linear-gradient(135deg, #00375e, #005b96);
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.4s ease;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #005b96, #00375e);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0,55,94,0.5);
}

/* ========================= */
/* TARJETAS ULTRA MODERNAS AJUSTADAS */
/* ========================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  max-width: 260px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,55,94,0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: 0 12px 28px rgba(0,55,94,0.25);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-bottom: 1px solid #eee;
}

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

.card h4 {
  padding: 12px 15px 5px;
  color: #00375e;
  font-size: 1.1rem; /* más pequeño */
  font-weight: 600;
  line-height: 1.3;
}

.card p {
  padding: 0 15px 12px;
  color: #555;
  font-size: 0.95rem; /* más elegante y compacto */
  line-height: 1.5;
}

.precio-box {
  background: linear-gradient(135deg, #00375e, #005b96);
  color: #ffcc00;
  padding: 10px;
  text-align: center;
  font-weight: 700;
  border-radius: 0 0 18px 18px;
  font-size: 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

/* ========================= */
/* QUIÉNES SOMOS MODERNO */
/* ========================= */
.quienes-somos {
  background: #f5f7fa;
  padding: 90px 20px;
  text-align: center;
}

.quienes-somos h2 { color: #00375e; font-size: 2.4em; margin-bottom: 25px; }
.quienes-somos .intro { max-width: 900px; margin: 0 auto 50px; color: #555; font-size: 1.15em; line-height: 1.8; }
.quienes-somos .info-boxes { display: flex; justify-content: center; flex-wrap: wrap; gap: 35px; }

.quienes-somos .info {
  background: #ffffff;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  flex: 1 1 300px;
  max-width: 320px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.quienes-somos .info:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 35px rgba(0,59,115,0.25);
}

.quienes-somos i { font-size: 2.8em; color: #28B9E0; margin-bottom: 15px; }
.quienes-somos h3 { color: #003B73; margin-bottom: 12px; }
.quienes-somos p { color: #555; font-size: 1em; line-height: 1.7; }

/* ========================= */
/* SECCIÓN BLOG MODERNA */
/* ========================= */
.blog {
  background: #f5f7fa;
  padding: 90px 20px;
  text-align: center;
}

.blog h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4em;
  color: #00375e;
  margin-bottom: 50px;
  font-weight: 700;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  max-width: 1100px;
  margin: 0 auto;
}

.blog-grid article {
  background: linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog-grid article:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,55,94,0.25);
}

.blog-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-grid h4 {
  color: #00375e;
  font-family: 'Montserrat', sans-serif;
  margin: 15px;
  font-size: 1.25em;
}

.blog-grid p {
  font-family: 'Poppins', sans-serif;
  color: #555;
  padding: 0 15px 15px;
  font-size: 0.95em;
  line-height: 1.6;
}

.blog-grid a {
  display: inline-block;
  margin: 0 15px 20px;
  background: #00375e;
  color: #ffcc00;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.blog-grid a:hover { background: #005b96; color: #fff; }

/* ========================= */
/* FOOTER PREMIUM DOLPHIN */
/* ========================= */
.footer {
  background: linear-gradient(135deg, #003B73, #001f40);
  color: #f1f1f1;
  padding: 100px 20px 30px;
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.footer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,204,51,0.08) 0%, transparent 70%);
  transform: rotate(45deg);
  pointer-events: none;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.footer h4 {
  font-size: 1.4rem;
  margin-bottom: 22px;
  color: #FFCC33;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer p, .footer address, .footer a {
  font-size: 0.95rem;
  color: #d0d0d0;
  line-height: 1.8;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #28B9E0;
  text-decoration: underline;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }

.social-links a {
  display: inline-block;
  margin-right: 14px;
  font-size: 1.5rem;
  color: #ccc;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  color: #FF8C00;
  transform: scale(1.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-bottom a {
  color: #FFCC33;
  transition: color 0.3s ease;
}

.footer-bottom a:hover { color: #FF8C00; }

/* ========================= */
/* CONTACTO PREMIUM DOLPHIN */
/* ========================= */
.contacto {
  background: linear-gradient(135deg, #E6F7FF, #F0FAFF);
  padding: 100px 20px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.contacto h3 {
  font-size: 2.2em; /* antes 2.8em */
  color: #003B73;
  margin-bottom: 50px; /* antes 60px */
  font-weight: 800;
  letter-spacing: 0.8px; /* más sutil */
  position: relative;
}
.contacto h3::after {
  width: 50px; /* antes 60px */
  height: 3px; /* antes 4px */
  background: #FFCC33;
  margin: 12px auto 0; /* antes 15px */
  border-radius: 2px;
}

.contacto-info h4 {
  font-size: 1.3em; /* antes 1.5em */
  margin-bottom: 20px; /* antes 25px */
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contacto .formulario {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #ffffff;
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.contacto .formulario:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,55,94,0.15);
}

.contacto .formulario input,
.contacto .formulario textarea {
  border: 1px solid #ddd;
  border-radius: 15px;
  padding: 16px 20px;
  font-size: 1em;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.contacto .formulario input:focus,
.contacto .formulario textarea:focus {
  border-color: #FFCC33;
  box-shadow: 0 0 12px rgba(255,204,51,0.35);
}

.contacto .formulario button {
  background: linear-gradient(135deg, #003B73, #28B9E0);
  color: #FFCC33;
  border: none;
  border-radius: 20px;
  padding: 16px 22px;
  font-size: 1.2em;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.4s ease;
}

.contacto .formulario button:hover {
  background: linear-gradient(135deg, #28B9E0, #003B73);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,55,94,0.2);
}

.contacto-info {
  text-align: left;
  background: #ffffff;
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.contacto-info:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,55,94,0.15);
}


.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  background: #003B73;
  color: #FFCC33;
  font-weight: 700;
  border-radius: 20px;
  padding: 14px 22px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(0,55,94,0.15);
}

.whatsapp-btn:hover {
  background: #28B9E0;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,55,94,0.25);
}

.whatsapp-btn i {
  margin-right: 12px;
  font-size: 1.5em;
}

/* ========================= */
/* RESPONSIVE CONTACTO */
@media (max-width: 768px) {
  .contacto-grid { grid-template-columns: 1fr; }
  .contacto h3 { font-size: 2em; }
}

/* ========================= */
/* ANIMACIONES */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-25px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }

/* ========================= */
/* RESPONSIVE MODERNO */
@media (max-width: 768px) {
  .contacto-grid, .blog-grid, .cards, .quienes-somos .info-boxes { grid-template-columns: 1fr; }
  .main-header, .top-bar { flex-direction: column; align-items: flex-start; }
  .search-box { max-width: 100%; margin: 15px 0; }
}
