* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #003366 0%, #00509e 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.features h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #003366;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: #f8f9fa;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.cta h2 {
    font-size: 2.5em;
    color: #003366;
    margin-bottom: 20px;
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.btn {
    display: inline-block;
    background: #ff6600;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.btn:hover {
    background: #cc5200;
}

.btn-block {
    width: 100%;
}

.whatsapp-btn {
    background: #25D366;
    margin-top: 20px;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

/* Alertas */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Página de gracias */
.gracias-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f8f9fa;
}

.gracias-content {
    background: white;
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 500px;
}

.gracias-content h1 {
    color: #003366;
    margin-bottom: 20px;
}

.small {
    font-size: 0.9em;
    color: #666;
    margin-top: 20px;
}

/* Footer */
footer {
    background: #003366;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Banner cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #003366;
  color: #fff;
  padding: 15px 0;
  z-index: 9999;
  box-shadow: 0 -2px 5px rgba(0,0,0,.3);
}
.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-botones {
  display: flex;
  gap: 10px;
}
.cookie-banner a {
  color: #ffcc00;
  text-decoration: underline;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}
.btn-secundario {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}
.btn-secundario:hover {
  background: #fff;
  color: #003366;
}

/* Modal cookies */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 10000;
  display: none;
}
.cookie-modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 30px;
  max-width: 500px;
  border-radius: 8px;
  position: relative;
}
.cookie-modal-content h3 {
  margin-top: 0;
  color: #003366;
}
.cookie-modal-content label {
  display: block;
  margin: 15px 0;
  cursor: pointer;
}
.cookie-modal-botones {
  text-align: right;
  margin-top: 20px;
}