/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;700&family=Nunito:wght@300;400;600&display=swap');

:root {
  /* Colores principales */
  --primary-color: #0D5D56;
  --secondary-color: #D4AF37;
  
  /* Colores secundarios */
  --dark-blue: #1A2E44;
  --silver-gray: #BCBCBC;
  
  /* Colores de fondo */
  --ivory-white: #FFFCF0;
  --carbon-black: #161616;
  
  /* Colores de acento */
  --mint-green: #A2E8D9;
  --light-gold: #F5E6A4;
  
  /* Fuentes */
  --heading-font: 'Oswald', sans-serif;
  --body-font: 'Nunito', sans-serif;
}

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

body {
  font-family: var(--body-font);
  color: var(--carbon-black);
  background-color: var(--ivory-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.2rem;
}

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

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

img {
  max-width: 100%;
  height: auto;
}

/* Layout diagonal */
.diagonal-section {
  position: relative;
  padding: 6rem 0;
  margin: 0 -1px;
}

.diagonal-section::before,
.diagonal-section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: inherit;
  z-index: -1;
}

.diagonal-section::before {
  top: -50px;
  transform: skewY(-3deg);
}

.diagonal-section::after {
  bottom: -50px;
  transform: skewY(-3deg);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--heading-font);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 6px rgba(13, 93, 86, 0.1);
}

.btn-primary:hover {
  background-color: #094440;
  box-shadow: 0 6px 8px rgba(13, 93, 86, 0.2);
  color: white;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--carbon-black);
  box-shadow: 0 4px 6px rgba(212, 175, 55, 0.1);
}

.btn-secondary:hover {
  background-color: #C09E32;
  box-shadow: 0 6px 8px rgba(212, 175, 55, 0.2);
  color: var(--carbon-black);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 252, 240, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  height: 45px;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
}

.nav-link {
  margin: 0 1rem;
  position: relative;
}

.nav-link a {
  font-family: var(--heading-font);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.5rem 0;
  position: relative;
}

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

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 76px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 76px);
    background-color: var(--ivory-white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-link {
    margin: 1rem 0;
  }
}

/* Hero section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--primary-color);
  color: white;
  overflow: hidden;
  margin-top: 76px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* Features section */
.features-section {
  background-color: white;
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.feature-card {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--mint-green);
  color: var(--primary-color);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

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

/* How it works section */
.how-works-section {
  background-color: var(--primary-color);
  color: white;
  padding: 5rem 0;
}

.how-works-section .section-title {
  color: white;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.step-number {
  background-color: var(--secondary-color);
  color: var(--carbon-black);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

/* Benefits section */
.benefits-section {
  background-color: var(--ivory-white);
  padding: 5rem 0;
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.benefit-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

/* CTA section */
.cta-section {
  background-color: var(--dark-blue);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.cta-section .section-title {
  color: white;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-buttons {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Testimonials section */
.testimonials-section {
  background-color: white;
  padding: 5rem 0;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--ivory-white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: var(--secondary-color);
  position: absolute;
  top: -20px;
  left: -10px;
  opacity: 0.3;
}

.testimonial-author {
  font-weight: 600;
  display: flex;
  align-items: center;
}

.testimonial-author span {
  color: var(--silver-gray);
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

/* Footer */
.footer {
  background-color: var(--carbon-black);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

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

.footer-about p {
  margin-bottom: 1.5rem;
}

.footer-title {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 0.8rem;
}

.footer-link a {
  color: var(--silver-gray);
  transition: color 0.3s ease;
}

.footer-link a:hover {
  color: var(--secondary-color);
}

.contact-info {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  color: var(--secondary-color);
  margin-right: 0.8rem;
  font-size: 1.2rem;
  margin-top: 3px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--secondary-color);
  color: var(--carbon-black);
}

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

/* Página de noticias */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.news-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  color: var(--silver-gray);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

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

/* Página de contacto */
.contact-section {
  padding: 5rem 0;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  background-color: var(--mint-green);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

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

.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--body-font);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

.map-container {
  width: 100%;
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Página de gracias */
.thanks-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.thanks-container {
  max-width: 600px;
  margin: 0 auto;
}

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

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

.thanks-message {
  margin-bottom: 2rem;
}

/* Política de privacidad y cookies */
.policy-section {
  padding: 5rem 0;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
}

.policy-section h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.policy-section h3 {
  font-size: 1.3rem;
  margin-top: 1.8rem;
  margin-bottom: 1rem;
}

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

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

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(22, 22, 22, 0.95);
  color: white;
  padding: 1.5rem;
  z-index: 1001;
  display: none;
  backdrop-filter: blur(5px);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-buttons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--body-font);
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-accept {
  background-color: var(--secondary-color);
  border: none;
  color: var(--carbon-black);
}

.cookie-accept:hover {
  background-color: #C09E32;
}

.cookie-decline {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.cookie-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-settings {
  background-color: transparent;
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
}

.cookie-settings:hover {
  background-color: rgba(212, 175, 55, 0.1);
}

.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1002;
  overflow-y: auto;
}

.cookie-modal-content {
  background-color: white;
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 8px;
}

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

.cookie-modal-header h2 {
  margin: 0;
}

.cookie-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--carbon-black);
}

.cookie-tabs {
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 1.5rem;
}

.cookie-tab {
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.cookie-tab.active {
  border-bottom-color: var(--primary-color);
  font-weight: 600;
}

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

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #f5f5f5;
  border-radius: 4px;
  cursor: pointer;
}

.cookie-category-content {
  padding: 1rem;
  border: 1px solid #f5f5f5;
  border-top: none;
  border-radius: 0 0 4px 4px;
  display: none;
}

.cookie-category.active .cookie-category-content {
  display: block;
}

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

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

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

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

input:checked + .cookie-slider {
  background-color: var(--primary-color);
}

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

.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cookie-save {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--body-font);
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-save:hover {
  background-color: #094440;
}

.cookie-categories-list {
  margin-bottom: 2rem;
}

/* Media queries */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  
  .diagonal-section {
    padding: 4rem 0;
  }
  
  .diagonal-section::before,
  .diagonal-section::after {
    height: 60px;
  }
  
  .diagonal-section::before {
    top: -30px;
  }
  
  .diagonal-section::after {
    bottom: -30px;
  }
  
  .step-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 10px 20px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

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

/* Estilos para simplebar */
[data-simplebar] {
  max-height: 300px;
}