:root {
  --primary: #c09f62;
  --primary-dark: #a88052;
  --primary-light: #d4b996;
  --primary-lighter: #e8dcc8;
  --secondary: #2c3e50;
  --secondary-dark: #1a252f;
  --secondary-light: #34495e;
  --accent: #e8dcc8;
  --success: #27ae60;
  --warning: #f39c12;
  --danger: #e74c3c;
  --gris-claro: #f8f9fb;
  --gris-claro-2: #ecf0f6;
  --gris-medio: #d5dce3;
  --gris-oscuro: #65738e;
  --blanco: #ffffff;
  --texto: #1a202c;
  --texto-light: #546e7a;
  --sombra: rgba(44, 62, 80, 0.08);
  --sombra-md: rgba(44, 62, 80, 0.12);
  --sombra-lg: rgba(44, 62, 80, 0.16);
  --sombra-dorado: rgba(192, 159, 98, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Poppins",
    "Segoe UI",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--gris-claro);
  color: var(--texto);
  line-height: 1.65;
  font-size: 16px;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--blanco);
  border-bottom: 2px solid var(--primary);
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-weight: 700;
  font-size: 1rem;
  color: var(--blanco);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.6rem;
  background: transparent;
  border-radius: 8px;
  letter-spacing: 0.5px;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
  border: none;
}

.logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 8px rgba(192, 159, 98, 0.12));
}

.logo:hover img {
  transform: scale(1.08) drop-shadow(0 4px 12px rgba(192, 159, 98, 0.25));
  filter: drop-shadow(0 4px 12px rgba(192, 159, 98, 0.25)) brightness(1.1);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--texto);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 0.4rem 0;
}

nav a::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

nav a:hover {
  color: var(--primary);
}

nav a:hover::before,
nav a.active::before {
  width: 100%;
}

.hamburger {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: none;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 0.2rem;
  background: var(--primary);
  border-radius: 999px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.hamburger span + span {
  margin-top: 0.45rem;
}

nav {
  position: relative;
}

.nav-menu {
  display: flex;
}

nav a:hover,
nav a.active {
  color: var(--azul-oscuro);
}

main {
  padding-top: 96px;
}

.page-header {
  background: linear-gradient(135deg, #fdfbf8 0%, #f5f1eb 100%);
  padding: clamp(4rem, 8vw, 7rem) 1.5rem 3rem;
  border-bottom: 1px solid var(--gris-medio);
}

.page-header .content {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-header p {
  max-width: 720px;
  color: var(--gris-oscuro);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-text {
  color: var(--gris-oscuro);
  margin-bottom: 2rem;
  max-width: 760px;
}

.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.search-container {
  position: relative;
  margin-bottom: 2rem;
  max-width: 500px;
}

.search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.1rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 3.2rem;
  border: 2px solid var(--primary-light);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--blanco);
  color: var(--texto);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(192, 159, 98, 0.1);
}

.search-input::placeholder {
  color: var(--gris-oscuro);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  background: var(--gris-claro-2);
  border-radius: 14px;
  border: 2px solid var(--primary-light);
  box-shadow: var(--sombra) 0 4px 12px;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--sombra-lg) 0 16px 32px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--secondary);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.card:hover h3 {
  color: var(--primary);
}

.card p {
  margin: 0;
  color: var(--gris-oscuro);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}

.btn {
  padding: 0.8rem 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: var(--blanco);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px var(--sombra-dorado);
  margin-top: 1rem;
  align-self: center;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(192, 159, 98, 0.4);
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.contact-sections {
  display: grid;
  gap: 3rem;
}

.contact-section h3 {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.value-list {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.value-list li {
  display: flex;
  gap: 0.8rem;
  color: var(--gris-oscuro);
  align-items: flex-start;
}

.value-list li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--azul-claro);
  flex-shrink: 0;
}

/* Values Grid Styles */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-card {
  background: var(--blanco);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--primary-light);
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(192, 159, 98, 0.2);
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  border-radius: 50%;
  font-size: 2.5rem;
  color: var(--blanco);
}

.value-card h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.value-card p {
  color: var(--gris-oscuro);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}

.contact-card,
.form-card {
  background: var(--blanco);
  border-radius: 14px;
  border: 1px solid var(--gris-medio);
  box-shadow: var(--sombra) 0 4px 12px;
  padding: 2.2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover,
.form-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-light);
  box-shadow: var(--sombra-dorado) 0 12px 28px;
}

.contact-card h3,
.form-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 700;
}

.contact-card h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-card p {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: var(--gris-oscuro);
  line-height: 1.5;
}

.contact-info {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--primary-light);
}

.contact-info p {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.contact-list {
  display: grid;
  gap: 1rem;
}

.contact-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

.contact-list a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: var(--primary-dark);
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--texto);
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  border: 2px solid var(--gris-medio);
  background: var(--gris-claro);
  color: var(--texto);
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--blanco);
  box-shadow:
    0 0 0 4px rgba(192, 159, 98, 0.1),
    inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

input:hover:not(:focus),
textarea:hover:not(:focus) {
  border-color: var(--primary-light);
  background: #fafbfc;
}

textarea {
  min-height: 180px;
  resize: vertical;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.2rem;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: var(--blanco);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px var(--sombra-dorado);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(192, 159, 98, 0.4);
}

footer {
  background: linear-gradient(135deg, var(--secondary) 0%, #1a252f 100%);
  color: #c5cdd6;
  padding: 3rem 1.5rem 2rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  text-align: center;
  grid-column: 1 / -1;
  margin-bottom: 0.5rem;
}

.footer-logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  grid-column: 1 / -1;
}

.footer-section {
  text-align: center;
}

.footer-section h4 {
  color: var(--primary);
  margin: 0 0 0.5rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.footer-section h4 i {
  color: var(--primary-light);
  font-size: 1rem;
}

.footer-section p {
  margin: 0;
  line-height: 1.5;
  color: #ecf0f1;
  font-size: 0.9rem;
}

.footer-nav {
  text-align: center;
  grid-column: 1 / -1;
  border-top: 1px solid rgba(192, 159, 98, 0.2);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

.footer-nav h4 {
  color: var(--primary);
  margin: 0 0 0.8rem 0;
  font-size: 1rem;
  font-weight: 600;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--primary);
}

/* Floating Modal Styles */
.floating-modal {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 350px;
  background: var(--blanco);
  border-radius: 12px;
  border: 3px solid var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: all 0.3s ease;
  overflow: hidden;
}

.floating-modal.minimized {
  height: 60px;
  width: 200px;
  z-index: 1000;
}

.floating-modal.minimized .modal-content {
  display: none;
}

.floating-modal:not(.minimized) {
  height: auto;
  max-height: 600px;
  z-index: 9999;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--primary);
  color: var(--blanco);
  border-radius: 9px 9px 0 0;
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
}

.modal-toggle {
  background: none;
  border: none;
  color: var(--blanco);
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.floating-modal.minimized .modal-toggle i {
  transform: rotate(180deg);
}

.modal-content {
  padding: 20px;
}

.modal-logo {
  display: block;
  margin: 0 auto 15px;
  max-width: 80px;
  height: auto;
}

.modal-content h3 {
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 15px;
  text-align: center;
}

.news-item {
  padding: 12px;
  margin-bottom: 12px;
  border-left: 4px solid var(--primary);
  background: rgba(192, 159, 98, 0.05);
  border-radius: 4px;
  transition: background 0.2s ease;
}

.news-item:hover {
  background: rgba(192, 159, 98, 0.1);
}

.news-item h4 {
  color: var(--primary);
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 600;
}

.news-item p {
  margin-bottom: 8px;
  line-height: 1.4;
  font-size: 13px;
  color: var(--gris-oscuro);
}

.news-date {
  font-size: 11px;
  color: var(--gris-oscuro);
  font-style: italic;
}

.footer-copyright {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid #34495e;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 32px var(--sombra-lg);
  margin-top: 2rem;
}

.slides {
  display: flex;
  transition: transform 0.8s ease;
}

.slide {
  min-width: 100%;
  position: relative;
  color: var(--blanco);
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.45));
}

.slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.slide-text {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  z-index: 1;
  max-width: 520px;
}

.slide-text h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.slide-text p {
  margin: 0;
  color: #f4f6fb;
}

.slider-dots {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 2;
}

.dot {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.dot.active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(192, 159, 98, 0.6);
}

@media (max-width: 900px) {
  .cards,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-container {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .nav-container {
    flex-direction: column;
    align-items: stretch;
  }

  .hamburger {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(21, 32, 49, 0.08);
    overflow: hidden;
    max-height: 0;
    transition:
      max-height 0.3s ease,
      padding 0.3s ease;
    flex-direction: column;
  }

  .nav-menu.open {
    max-height: 360px;
    padding: 1rem 1.5rem 1.4rem;
  }

  .nav-menu ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .nav-menu a {
    padding: 0.5rem 0;
  }

  .page-header {
    padding: 4.5rem 1rem 3rem;
  }

  .slide img {
    height: 280px;
  }

  .slide-text {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-nav ul {
    gap: 1rem;
  }

  .footer-section p {
    font-size: 0.85rem;
  }
}

/* Card Icon Styles */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  border-radius: 50%;
  font-size: 2rem;
  color: var(--blanco);
  transition: transform 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Button Text Style */
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-text:hover {
  color: var(--primary-light);
}

.btn-text i {
  transition: transform 0.3s ease;
}

.btn-text:hover i {
  transform: translateX(4px);
}

/* Why Section Styles */
.why-section {
  background: linear-gradient(
    135deg,
    rgba(192, 159, 98, 0.05) 0%,
    rgba(44, 62, 80, 0.03) 100%
  );
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-item {
  padding: 2rem;
  background: var(--blanco);
  border-radius: 12px;
  border: 1px solid var(--gris-medio);
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-item:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(192, 159, 98, 0.15);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  border-radius: 50%;
  font-size: 1.8rem;
  color: var(--blanco);
}

.feature-item h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-item p {
  color: var(--gris-oscuro);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* CTA Section Styles */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  padding: 4rem 2rem;
  text-align: center;
  margin: 3rem 0;
}

.cta-content h2 {
  color: var(--blanco);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-content .btn {
  background: var(--blanco);
  color: var(--primary);
  padding: 1.2rem 2.5rem;
  font-weight: 600;
  border-radius: 8px;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-content .btn:hover {
  background: var(--gris-claro);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

/* Improved Contact Section Styles */
.contact-section {
  background: linear-gradient(
    135deg,
    rgba(192, 159, 98, 0.03) 0%,
    rgba(44, 62, 80, 0.02) 100%
  );
  padding: 4rem 1.5rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.section-icon-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  border-radius: 50%;
  font-size: 2.2rem;
  color: var(--blanco);
  flex-shrink: 0;
}

.contact-section h3 {
  color: var(--secondary);
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-bottom: 3.5rem;
}

.contact-card {
  background: var(--blanco);
  border-radius: 14px;
  border: 2px solid var(--primary-light);
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(192, 159, 98, 0.2);
}

.contact-card-header {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  align-items: flex-start;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  border-radius: 12px;
  font-size: 1.8rem;
  color: var(--blanco);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
}

.contact-card-header > div {
  flex: 1;
}

.contact-card h4 {
  margin: 0 0 0.5rem 0;
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 600;
}

.card-desc {
  margin: 0;
  color: var(--gris-oscuro);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--primary-light);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.info-item i {
  color: var(--primary);
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.info-item span {
  color: var(--gris-oscuro);
  font-size: 0.95rem;
  line-height: 1.5;
}

.info-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  line-height: 1.5;
}

.info-item a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .section-header {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card-header {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* Consultas Section Styles */
.query-section {
  background: linear-gradient(
    135deg,
    rgba(192, 159, 98, 0.08) 0%,
    rgba(44, 62, 80, 0.05) 100%
  );
}

.query-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  border-radius: 50%;
  font-size: 2.8rem;
  color: var(--blanco);
  box-shadow: 0 8px 20px rgba(192, 159, 98, 0.25);
}

.form-header h3 {
  color: var(--secondary);
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0 0 0.8rem 0;
  letter-spacing: -0.01em;
}

.form-header p {
  color: var(--gris-oscuro);
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
}

.form-card {
  background: var(--blanco);
  border-radius: 14px;
  border: 2px solid var(--primary-light);
  padding: 3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(192, 159, 98, 0.15);
}

.form-group {
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--secondary);
  font-size: 0.95rem;
}

.form-group label i {
  color: var(--primary);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.form-group input,
.form-group textarea {
  padding: 1.1rem;
  border: 2px solid var(--gris-medio);
  border-radius: 8px;
  background: var(--gris-claro);
  color: var(--texto);
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--blanco);
  box-shadow: 0 0 0 4px rgba(192, 159, 98, 0.1);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-card .btn-primary {
  margin-top: 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-wrapper h3 {
  color: var(--secondary);
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.info-card {
  background: var(--blanco);
  border-radius: 12px;
  border: 2px solid var(--primary-light);
  padding: 2.2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: flex-start;
  gap: 1.8rem;
}

.info-card:hover {
  transform: translateX(8px);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(192, 159, 98, 0.15);
}

.info-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  border-radius: 50%;
  font-size: 1.8rem;
  color: var(--blanco);
  flex-shrink: 0;
}

.info-card h4 {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.6rem 0;
}

.info-card p {
  color: var(--gris-oscuro);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .query-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-card {
    padding: 2.5rem;
  }

  .info-card {
    flex-direction: column;
    text-align: center;
  }

  .info-card-icon {
    margin: 0 auto;
  }
}

/* Service Modal Styles */
.service-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-modal.active {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.service-modal .modal-content {
  position: relative;
  background: var(--blanco);
  border-radius: 16px;
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 1;
}

.modal-close:hover {
  background: var(--gris-claro);
  color: var(--secondary);
  transform: rotate(90deg);
}

.service-modal .modal-header {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: var(--blanco);
  padding: 3rem 2.5rem;
  border-radius: 16px 16px 0 0;
}

.service-modal .modal-header h2 {
  font-size: 2rem;
  margin: 0 0 0.8rem 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.service-subtitle {
  margin: 0;
  font-size: 1rem;
  opacity: 0.95;
  font-weight: 500;
}

.service-modal .modal-body {
  padding: 3rem 2.5rem;
}

.service-section {
  margin-bottom: 2.5rem;
}

.service-section:last-child {
  margin-bottom: 0;
}

.service-section h3 {
  color: var(--secondary);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.service-section h3 i {
  color: var(--primary);
  font-size: 1.4rem;
}

.service-section p {
  color: var(--gris-oscuro);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

.requirements-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.requirements-list li {
  padding: 0.9rem 1.2rem;
  background: linear-gradient(
    135deg,
    rgba(192, 159, 98, 0.08) 0%,
    rgba(44, 62, 80, 0.05) 100%
  );
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  color: var(--gris-oscuro);
  font-size: 0.95rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.requirements-list li::before {
  content: "\2713";
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.service-modal .modal-footer {
  padding: 2rem 2.5rem 3rem;
  border-top: 1px solid var(--gris-medio);
  display: flex;
  gap: 1rem;
}

.btn-advisor {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: var(--blanco);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(192, 159, 98, 0.3);
}

.btn-advisor:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(192, 159, 98, 0.4);
  background: var(--primary-dark);
}

.btn-advisor i {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .service-modal .modal-content {
    width: 95%;
    max-height: 90vh;
  }

  .service-modal .modal-header {
    padding: 2rem 1.5rem;
  }

  .service-modal .modal-header h2 {
    font-size: 1.6rem;
  }

  .service-modal .modal-body {
    padding: 2rem 1.5rem;
  }

  .service-modal .modal-footer {
    padding: 1.5rem;
    flex-direction: column;
  }

  .btn-advisor {
    width: 100%;
  }
}

/* Preloader Styles */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--secondary-dark) 0%,
    var(--secondary) 50%,
    var(--secondary-light) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.preloader-logo {
  width: 200px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(192, 159, 98, 0.25));
  animation: pulse 2s ease-in-out infinite;
}

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
