/* Variables */
:root {
  --primary: #1E1E2A;
  --secondary: #4A90E2;
  --accent: #FF6B6B;
  --additional: #6FCF97;
  --bg-primary: #121218;
  --bg-secondary: #252536;
  --text-primary: #F5F5F7;
  --text-secondary: #9B9BAD;
  --font-main: 'Roboto', sans-serif;
  --font-code: 'Fira Code', monospace;
}

/* Reset y estilos base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  background-image: url('../images/bg-dark-texture.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-blend-mode: overlay;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-code);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  position: relative;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

a:hover {
  color: var(--accent);
}

a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

a:hover:after {
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

button, .button {
  background-color: var(--secondary);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-code);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

button:before, .button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
  z-index: -1;
}

button:hover, .button:hover {
  background-color: var(--accent);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
  transform: translateY(-2px);
}

button:hover:before, .button:hover:before {
  left: 100%;
}

.button.secondary {
  background-color: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
}

.button.secondary:hover {
  background-color: var(--secondary);
  color: white;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.flex {
  display: flex;
  flex-direction: column;
}

section {
  padding: 3rem 0;
  position: relative;
}

/* Paper-crafted style elements */
.paper-edge {
  position: relative;
}

.paper-edge:before, .paper-edge:after {
  content: '';
  position: absolute;
  height: 15px;
  background-color: var(--bg-secondary);
  left: 0;
  right: 0;
  z-index: 1;
}

.paper-edge:before {
  top: 0;
  clip-path: polygon(0% 0%, 5% 100%, 10% 30%, 15% 100%, 20% 10%, 25% 90%, 30% 20%, 35% 90%, 40% 20%, 45% 100%, 50% 0%, 55% 100%, 60% 30%, 65% 100%, 70% 10%, 75% 90%, 80% 20%, 85% 90%, 90% 20%, 95% 100%, 100% 0%);
}

.paper-edge:after {
  bottom: 0;
  clip-path: polygon(0% 100%, 5% 0%, 10% 70%, 15% 0%, 20% 90%, 25% 10%, 30% 80%, 35% 10%, 40% 80%, 45% 0%, 50% 100%, 55% 0%, 60% 70%, 65% 0%, 70% 90%, 75% 10%, 80% 80%, 85% 10%, 90% 80%, 95% 0%, 100% 100%);
}

.paper-card {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  transform: rotate(-0.5deg);
  margin: 2rem 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paper-card:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.paper-card:nth-child(even) {
  transform: rotate(0.5deg);
}

.paper-card:nth-child(even):hover {
  transform: rotate(0deg) translateY(-5px);
}

.paper-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--secondary), var(--additional));
}

.torn-edge {
  position: relative;
  padding: 2rem;
  margin: 2rem 0;
  background-color: var(--bg-secondary);
}

.torn-edge:before, .torn-edge:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 15px;
}

.torn-edge:before {
  top: -15px;
  background-image: 
    linear-gradient(45deg, transparent 33.333%, var(--bg-secondary) 33.333%, var(--bg-secondary) 66.667%, transparent 66.667%),
    linear-gradient(-45deg, transparent 33.333%, var(--bg-secondary) 33.333%, var(--bg-secondary) 66.667%, transparent 66.667%);
  background-size: 20px 30px;
}

.torn-edge:after {
  bottom: -15px;
  background-image: 
    linear-gradient(-45deg, transparent 33.333%, var(--bg-secondary) 33.333%, var(--bg-secondary) 66.667%, transparent 66.667%),
    linear-gradient(45deg, transparent 33.333%, var(--bg-secondary) 33.333%, var(--bg-secondary) 66.667%, transparent 66.667%);
  background-size: 20px 30px;
}

/* Header and Navigation */
header {
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(18, 18, 24, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  box-shadow: none;
}

.logo img:hover {
  transform: none;
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: none;
}

.nav-toggle:hover {
  color: var(--accent);
  background: none;
  box-shadow: none;
}

nav {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  background-color: var(--bg-secondary);
  padding: 2rem;
  transition: right 0.3s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

nav.active {
  right: 0;
}

.nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

nav ul {
  list-style: none;
  padding: 0;
}

nav ul li {
  margin-bottom: 1.5rem;
}

nav ul li a {
  font-family: var(--font-code);
  font-size: 1.2rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  padding: 0.5rem 0;
}

nav ul li a:hover {
  color: var(--accent);
  transform: translateX(10px);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--text-primary);
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-image {
  margin-top: 2rem;
  position: relative;
}

.hero-image img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-image:before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: 10px;
  border: 2px dashed var(--accent);
  border-radius: 12px;
  z-index: -1;
}

.typed-cursor {
  color: var(--accent);
}

/* Particles */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Features Section */
.features {
  padding: 4rem 0;
}

.features-title {
  text-align: center;
  margin-bottom: 3rem;
}

.features-title h2 {
  font-size: 2rem;
  display: inline-block;
}

.features-title h2:after {
  content: '';
  display: block;
  width: 50%;
  height: 3px;
  margin: 0.5rem auto 0;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
}

.feature-card {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.feature-card:nth-child(2n) .feature-icon {
  color: var(--secondary);
}

.feature-card:nth-child(3n) .feature-icon {
  color: var(--additional);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
}

/* News Section */
.news {
  padding: 4rem 0;
}

.news-title {
  text-align: center;
  margin-bottom: 3rem;
}

.news-title h2 {
  font-size: 2rem;
  display: inline-block;
}

.news-title h2:after {
  content: '';
  display: block;
  width: 50%;
  height: 3px;
  margin: 0.5rem auto 0;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.news-item {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-secondary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.news-image {
  position: relative;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 8px 8px 0 0;
}

.news-item:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-family: var(--font-code);
}

.news-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.news-item p {
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
  background-color: var(--bg-secondary);
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.contact-form:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.contact-form h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-code);
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #333;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  border-radius: 4px;
  font-family: var(--font-main);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
  background-color: var(--bg-primary) !important;
}

input[type="checkbox"] {
  width: 40px;
}

.form-submit {
  text-align: center;
}

/* Footer */
footer {
  background-color: var(--primary);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
  position: relative;
}

.footer-wave {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%231E1E2A' opacity='.25'%3E%3C/path%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' fill='%231E1E2A' opacity='.5'%3E%3C/path%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%231E1E2A'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
  box-shadow: none;
}

.footer-logo img:hover {
  transform: none;
}

.footer-info p {
  margin-bottom: 1rem;
}

.footer-contact {
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-icon {
  margin-right: 1rem;
  color: var(--accent);
  font-size: 1.2rem;
  min-width: 20px;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a {
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: var(--bg-secondary);
  padding: 1.5rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: bottom 0.5s ease;
}

.cookie-consent.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.cookie-text {
  margin-bottom: 1.5rem;
}

.cookie-text h3 {
  margin-bottom: 0.5rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-settings {
  display: none;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-settings.show {
  display: block;
}

.cookie-category {
  margin-bottom: 1.5rem;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #555;
  transition: .4s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--accent);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.disabled .toggle-slider {
  background-color: #555;
  opacity: 0.5;
  cursor: not-allowed;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  padding: 2rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* Específico para la página de Tráfico */
.traffic-charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.chart-container {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  padding: 1.5rem;
  height: 100%;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.chart-title {
  font-size: 1.2rem;
  margin: 0;
}

.chart-legend {
  display: flex;
  gap: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 5px;
}

.chart-image {
  width: 100%;
  height: auto;
  margin-top: 1rem;
}

/* Específico para la página About */
.team-section {
  margin: 4rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.project-goals {
  margin: 4rem 0;
}

.goal-item {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.goal-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--accent);
}

.goal-item:nth-child(2n):before {
  background-color: var(--secondary);
}

.goal-item:nth-child(3n):before {
  background-color: var(--additional);
}

.goal-item h3 {
  margin-bottom: 1rem;
}

/* Específico para la página de Contacto */
.contact-page {
  padding: 4rem 0;
}

.contact-info {
  margin-bottom: 3rem;
}

.contact-card {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
}

.contact-card-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-right: 1rem;
  min-width: 30px;
}

.contact-card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.map-container {
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 2rem;
}

/* Thanks Page */
.thanks-container {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.thanks-icon {
  font-size: 5rem;
  color: var(--accent);
  margin-bottom: 2rem;
}

.thanks-container h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.thanks-container p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Privacy and Terms Pages */
.policy-container {
  padding: 4rem 0;
}

.policy-content {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  padding: 2rem;
}

.policy-date {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-family: var(--font-code);
}

.policy-section {
  margin-bottom: 2.5rem;
}

.policy-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.policy-section h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 1rem;
}

.policy-section ul, 
.policy-section ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.policy-section li {
  margin-bottom: 0.5rem;
}

/* Media Queries */
@media (min-width: 576px) {
  .cookie-content {
    flex-direction: row;
    align-items: center;
  }
  
  .cookie-text {
    margin-bottom: 0;
    margin-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .flex {
    flex-direction: row;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .traffic-charts {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .nav-toggle {
    display: none;
  }
  
  nav {
    position: static;
    height: auto;
    width: auto;
    background-color: transparent;
    padding: 0;
    display: block;
  }
  
  nav ul {
    display: flex;
  }
  
  nav ul li {
    margin: 0 0 0 1.5rem;
  }
  
  nav ul li a {
    font-size: 1rem;
    padding: 0;
  }
  
  nav ul li a:hover {
    transform: none;
  }
  
  .nav-close {
    display: none;
  }
}

@media (min-width: 992px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
  }
  
  .hero-text {
    flex: 1;
  }
  
  .hero-image {
    flex: 1;
    margin-top: 0;
  }
  
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .container {
    padding: 0 2rem;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
}

/* Estilos especiales para el efecto de papel recortado */
.clip-path-container {
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
}

.clip-path-container:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background-color: var(--bg-primary);
  clip-path: polygon(0% 0%, 5% 100%, 10% 40%, 15% 100%, 20% 40%, 25% 100%, 30% 40%, 35% 100%, 40% 40%, 45% 100%, 50% 40%, 55% 100%, 60% 40%, 65% 100%, 70% 40%, 75% 100%, 80% 40%, 85% 100%, 90% 40%, 95% 100%, 100% 0%);
}

.clip-path-container:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background-color: var(--bg-primary);
  clip-path: polygon(0% 100%, 5% 0%, 10% 60%, 15% 0%, 20% 60%, 25% 0%, 30% 60%, 35% 0%, 40% 60%, 45% 0%, 50% 60%, 55% 0%, 60% 60%, 65% 0%, 70% 60%, 75% 0%, 80% 60%, 85% 0%, 90% 60%, 95% 0%, 100% 100%);
}

/* Estilos para intl-tel-input */
.iti {
  width: 100%;
}

.iti__flag-container {
  z-index: 3;
}