
:root {
  --primary-color: #18154a; 
  --primary-hover: #1e2a78;
  --bg-color: #ffffff;      /* Fondo de la sección */
  --text-main: #1f2937;     /* Texto principal */
  --text-muted: #6b7280;    /* Texto secundario/descripciones */
  --input-bg: #f9fafb;      /* Fondo de los inputs */
  --input-border: #e5e7eb;  /* Borde de los inputs */
  --font-family: 'Inter', system-ui, sans-serif; /* Tu tipografía */
  --border-radius: 12px;    /* Qué tan redondeado quieres el diseño */
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;500;600&family=Playfair+Display:wght@600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #e2e2ec;
    color: #18154a;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    width: 100%;
}

h1, h2 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
}
/*=========================
    MENÚ DESPLEGABLE
=========================*/

.dropdown{
    position: relative;
    display: inline-block;
}

.dropdown-menu{
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%);
    margin-top:15px;

    min-width:190px;

    background:#fff;
    border-radius:12px;

    box-shadow:0 10px 30px rgba(0,0,0,.15);

    overflow:hidden;

    opacity:0;
    visibility:hidden;

    transition:.25s;
    z-index:999;
}

.dropdown:hover .dropdown-menu{
    opacity:1;
    visibility:visible;
    margin-top:8px;
}

.dropdown-menu a{
    display:block;
    padding:14px 20px;
    color:#1e2a78;
    text-decoration:none;
    font-weight:500;
    transition:.2s;
}

.dropdown-menu a:hover{
    background:#1e2a78;
    color:#fff;
}
/* ============================================================
   ANIMACIONES GLOBALES
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Clases de animación para elementos */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 {
    transition-delay: 0.1s;
}
.animate-delay-2 {
    transition-delay: 0.2s;
}
.animate-delay-3 {
    transition-delay: 0.3s;
}
.animate-delay-4 {
    transition-delay: 0.4s;
}
.animate-delay-5 {
    transition-delay: 0.5s;
}

/* ============================================================
   1. Header / Navbar
   ============================================================ */
.site-header {
    width: 100%;
    background-color: #ffffff;
    height: 82px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideInDown 0.8s ease forwards;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 28px;
    font-weight: 600;
    color: #18154a;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #18154a;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #c99700;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    border-bottom: 2px solid #c99700;
}

.nav-link.active::after {
    width: 100%;
}


.hero-section {
    width: 100%;
    background-color: #1e2a78;
    color: white;
    padding: 60px 0;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,151,0,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    animation: fadeInLeft 1s ease forwards;
}

.hero-text h1 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-text p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-logo-mebna {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    animation: fadeInRight 1s ease forwards;
}

.hero-badge-img {
    width: 100%;
    max-width: 260px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.25));
    animation: float 6s ease-in-out infinite;
}
/* =========================================
   ESTILOS BASE
   ========================================= */
.contact-section {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.contact-container {
  max-width: 1000px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

/* --- Información de Contacto --- */
.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-info p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.info-item {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.info-item strong {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.info-item span {
  font-size: 1.1rem;
  font-weight: 500;
}

/* --- Formulario --- */
.contact-form-wrapper {
  background: var(--bg-color);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04); /* Sombra suave y moderna */
  border: 1px solid var(--input-border);
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--input-border);
  background-color: var(--input-bg);
  color: var(--text-main);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Efecto focus fresco */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
  background-color: transparent;
}

textarea {
  resize: vertical;
}

/* --- Botón --- */
.submit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.2);
}

.site-footer {
    width: 100%;
    background-color: #ffffff;
    padding: 25px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.03); /* Sombra muy suave en el borde superior */
    margin-top: auto; /* Si el contenido es corto, empuja el footer al fondo */
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Lado Izquierdo --- */
.footer-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-brand {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #18154a;
    letter-spacing: 1px;
}

.footer-address {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666; 
    line-height: 1.5;
}

.footer-address strong {
    color: #18154a;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

/* --- Lado Derecho --- */
.footer-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #18154a;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-contact-link:hover {
    transform: translateY(-3px);
    color: #c99700;
}

.footer-wp-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer-logo {
    height: 60px;
    width: 60px;
    object-fit: contain;
}

/* =========================================
   RESPONSIVE (Móviles y Tablets)
   ========================================= */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-wrapper {
    padding: 30px 20px;
  }
  
  .contact-info h2 {
    font-size: 2rem;
  }
}