* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fuentes principales para Hacienda Herrera */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');


@font-face {
  font-family: 'Trajan Pro';
  src: url('/assets/fonts/TrajanPro-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Trajan Pro';
  src: url('/assets/fonts/TrajanPro-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

:root {
  --font-title: 'Trajan Pro', serif;
  --font-text: 'Poppins', sans-serif;
  /* Colores principales */
  --color-principal: #63514f;
  --color-secundario: #ee7326;
  --color-texto: #999999;
  --color-bg-principal: #63514f;
}

/* ========================================
   ANIMATION HELPERS
   ======================================== */
/* Initial state for elements with data-anime attribute */
[data-anime] {
  opacity: 0;
  transform: translateY(20px);
}

/* Once animated, remove initial state */
[data-anime].is-animated {
  opacity: 1;
  transform: translateY(0);
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  [data-anime] {
    opacity: 1;
    transform: none;
    transition: none !important;
  }
}


body {
  color: var(--color-texto);
  background: #fff;
  box-sizing: border-box;
  max-width: 100vw;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .title, .resaltado {
  font-family: var(--font-title);
}
body, p, span, li, .text, .descripcion {
  font-family: var(--font-text);
}

/* Header & footer styles moved to assets/css/header_footer.css */
/* Tipografías: tamaños base por dispositivo
   Desktop (base): h1..h6 según especificación del diseño
   Tablet: ~85% de desktop
   Mobile: ~75% de desktop
*/
h1 { font-size: 55px; line-height: 1.08; }
h2 { font-size: 45px; line-height: 1.12; }
h3 { font-size: 35px; line-height: 1.16; }
h4 { font-size: 28px; line-height: 1.20; }
h5 { font-size: 20px; line-height: 1.30; }
h6 { font-size: 16px; line-height: 1.40; }

/* Body text sizing (kept responsive) */
body, p, .text, .descripcion { font-size: clamp(1rem, 2.5vw, 1.15rem); }

/* Tablet: approx 85% of desktop sizes */
@media (max-width: 1024px) and (min-width: 601px) {
  h1 { font-size: 47px; }
  h2 { font-size: 38px; }
  h3 { font-size: 30px; }
  h4 { font-size: 24px; }
  h5 { font-size: 17px; }
  h6 { font-size: 14px; }
}

/* Mobile: approx 75% of desktop sizes */
@media (max-width: 600px) {
  h1 { font-size: 41px; }
  h2 { font-size: 34px; }
  h3 { font-size: 26px; }
  h4 { font-size: 21px; }
  h5 { font-size: 15px; }
  h6 { font-size: 12px; }
  body, p, .text, .descripcion { font-size: 0.98rem; }
}

/* ---------- Page Hero (reusable static per-page) ----------
   Usage: paste the HTML snippet into each page and set inline
   background-image on the .page-hero element.
   Desktop: 650px; Tablet: 450px; Mobile: 320px
*/
.page-hero {
  position: relative;
  width: 100%;
  height: 650px;
  min-height: 650px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(57,52,52,0.8); /* charcoal #393434 at 80% */
  z-index: 1;
}
.page-hero .hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 0 1rem;
  width: 100%;
  max-width: 1200px;
}
.page-hero .hero-content h1 {
  margin: 0;
  color: #fff;
  letter-spacing: 0.02em;
}
.page-hero .hero-content .hero-breadcrumbs { margin-top: 1rem; }

/* Breadcrumbs (global) */
.breadcrumbs{
  font-family: var(--font-text);
  font-size: 14px;
  color: #fff;
}
.breadcrumbs a{
  color: #ffffff;
  text-decoration: none;
}
.breadcrumbs a:hover,
.breadcrumbs a:focus{
  color: var(--color-secundario);
  text-decoration: none;
}
.breadcrumbs span{
  color: var(--color-secundario);
}

@media (max-width: 600px){
  .breadcrumbs{ font-size: 13px; }
}

@media (max-width: 1024px) and (min-width: 601px) {
  .page-hero { height: 450px; min-height: 450px; }
}
@media (max-width: 600px) {
  .page-hero { height: 420px; min-height: 420px; }
  .page-hero .hero-content h1 { font-size: 1.6rem; }
}

/* Botones globales */
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.75em 2em;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  text-align: center;
  text-decoration: none;
}

/* .btn-book-now moved to assets/css/header_footer.css */

/* Botones outline primarios: borde y texto color principal, fondo transparente */
.btn-outline-primary {
  background: transparent;
  color: var(--color-principal);
  border: 2px solid var(--color-principal);
}
.btn-outline-primary:hover {
  background: var(--color-principal);
  color: #fff;
}


/* Header & Footer rules moved to assets/css/header_footer.css */

/* Logo Container */
.logo-container {
  text-align: center;
  padding: 60px 20px;
}

.logo-container img {
  max-width: 300px;
  width: 100%;
}

/* Experience Section */
.experience-section {
  padding: 80px 20px;
  background-color: #f5f5f5;
}

.experience-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center;
}

.experience-title {
  flex: 1;
  min-width: 0;
}

.experience-title h2 {
  font-size: 3rem;
  line-height: 1.2;
  color: var(--color-principal);
  font-weight: normal;
}

.experience-text {
  flex: 1;
  min-width: 0;
}

.experience-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-texto);
}

.experience-text strong {
  color: var(--color-principal);
  font-weight: 600;
}

/* Responsive para tablets */
@media (max-width: 1024px) {
  .experience-content {
    gap: 40px;
  }
  
  .experience-title h2 {
    font-size: 2.5rem;
  }
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .experience-section {
    padding: 60px 20px;
  }
  
  .experience-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .experience-title h2 {
    font-size: 2rem;
  }
}

/* Tabs Section */
.tabs-section {
  padding: 80px 20px;
  background-color: #fff;
}

.tabs-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  border-bottom: 2px solid #e0e0e0;
}

.tab-button {
  background: transparent;
  border: none;
  padding: 15px 25px;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-texto);
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tab-button:hover {
  color: var(--color-principal);
}

.tab-button.active {
  color: var(--color-principal);
  border-bottom-color: var(--color-principal);
}

.tab-content {
  display: none;
  background-color: #fff;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  font-size: 2rem;
  color: var(--color-principal);
  margin-bottom: 20px;
}

.tab-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-texto);
  margin-bottom: 15px;
}

.tab-content strong {
  color: var(--color-principal);
  font-weight: 600;
}

.tabs-section-title {
  text-align: center;
  margin-bottom: 2rem;
  color: #2d5016;
  font-weight: 700;
}

.tab-content h4 {
  color: #2d5016;
  font-weight: 600;
  margin-top: 2rem;
}

.tab-content ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

/* Information Layout */
.information-layout {
  display: flex;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.tabs-section-wrapper {
  flex: 0 0 70%;
  width: 70%;
}

.recommendations-sidebar {
  flex: 0 0 calc(30% - 2rem);
  width: calc(30% - 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 4rem;
}

.recommendation-btn {
  background-color: var(--color-principal);
  color: white;
  border: none;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.recommendation-btn:hover {
  background-color: var(--color-secundario);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.recommendation-btn .lang-label {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.9;
}

/* Responsive para tablets y móviles */
@media (max-width: 992px) {
  .information-layout {
    flex-direction: column;
  }
  
  .tabs-section-wrapper {
    flex: 1;
    width: 100%;
  }
  
  .recommendations-sidebar {
    flex: 1;
    width: 100%;
    padding-top: 2rem;
    flex-direction: row;
  }
  
  .recommendation-btn {
    flex: 1;
  }
}

@media (max-width: 576px) {
  .recommendations-sidebar {
    flex-direction: column;
  }
}

.tab-content ul li {
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-texto);
}

.tab-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-principal);
  font-weight: bold;
}

/* Responsive tabs para móviles */
@media (max-width: 768px) {
  .tabs-section {
    padding: 60px 20px;
  }
  
  .tab-buttons {
    flex-direction: column;
    border-bottom: none;
  }
  
  .tab-button {
    text-align: left;
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
  }
  
  .tab-button.active {
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .tab-content h3 {
    font-size: 1.5rem;
  }
}

/* History Text Columns */
.history-text-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.history-column-left,
.history-column-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.history-column-left p,
.history-column-right p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-texto);
  margin: 0;
}

.history-column-left strong,
.history-column-right strong {
  color: var(--color-principal);
  font-weight: 600;
}

/* History Carousel Styles */
.history-carousel-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

.history-carousel-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  width: 100%;
}

.history-carousel-track-outer {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  background: #f5f5f5;
}

.history-carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  height: 100%;
}

.history-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.history-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

.history-carousel-btn {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: rgba(57, 52, 52, 0.9);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.history-carousel-btn:hover {
  background: rgba(238, 115, 38, 0.9);
}

.history-carousel-btn.prev {
  order: -1;
}

.history-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.history-carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s;
}

.history-carousel-indicator.active {
  background: var(--color-principal);
}

/* History Lightbox */
.history-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.history-lightbox.active {
  display: flex;
}

.history-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(4px);
}

.history-lightbox-container {
  position: relative;
  z-index: 10001;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.history-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  z-index: 10002;
  transition: color 0.2s;
  line-height: 1;
  padding: 0;
}

.history-lightbox-close:hover {
  color: var(--color-secundario);
}

.history-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(57, 52, 52, 0.9);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10002;
  line-height: 1;
}

.history-lightbox-nav:hover {
  background: rgba(238, 115, 38, 0.9);
}

.history-lightbox-prev {
  left: 20px;
}

.history-lightbox-next {
  right: 20px;
}

@media (max-width: 1024px) {
  .history-text-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .history-text-columns {
    grid-template-columns: 1fr;
  }
  
  .history-carousel-container {
    gap: 0.75rem;
  }
  
  .history-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .history-lightbox-nav {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .history-lightbox-prev {
    left: 10px;
  }
  
  .history-lightbox-next {
    right: 10px;
  }
  
  .history-lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 2rem;
  }
}

/* Team Carousel Styles */
.team-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.86fr;
  gap: 3rem;
  align-items: center;
}

.team-text h3 {
  font-size: 2rem;
  color: var(--color-principal);
  margin-bottom: 20px;
  margin-top: 0;
}

.team-carousel-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-carousel-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.team-carousel-track-outer {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  background: #f5f5f5;
}

.team-carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  height: 100%;
}

.team-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.team-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team-carousel-btn {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: rgba(57, 52, 52, 0.9);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.team-carousel-btn:hover {
  background: rgba(238, 115, 38, 0.9);
}

.team-carousel-btn.prev {
  order: -1;
}

.team-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.team-carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s;
}

.team-carousel-indicator.active {
  background: var(--color-principal);
}

/* Responsive Team Carousel */
@media (max-width: 1024px) {
  .team-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .team-carousel-container {
    gap: 0.75rem;
  }
  
  .team-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .team-text h3 {
    font-size: 1.5rem;
  }
}

/* Team Lightbox (Modal) */
.team-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.team-lightbox.active {
  display: flex;
}

.team-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(4px);
}

.team-lightbox-container {
  position: relative;
  z-index: 10001;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.team-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  z-index: 10002;
  transition: color 0.2s;
  line-height: 1;
  padding: 0;
}

.team-lightbox-close:hover {
  color: var(--color-secundario);
}

.team-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(57, 52, 52, 0.9);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10002;
  line-height: 1;
}

.team-lightbox-nav:hover {
  background: rgba(238, 115, 38, 0.9);
}

.team-lightbox-prev {
  left: 20px;
}

.team-lightbox-next {
  right: 20px;
}

@media (max-width: 768px) {
  .team-lightbox-nav {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .team-lightbox-prev {
    left: 10px;
  }
  
  .team-lightbox-next {
    right: 10px;
  }
  
  .team-lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 2rem;
  }
}

/* About Carousel Section */
.about-carousel-section {
  padding: 80px 20px;
  background-color: #fff;
}

.about-carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-carousel-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.about-carousel-track {
  display: flex;
  gap: 15px;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  flex: 0 0 calc(33.333% - 10px);
  min-width: calc(33.333% - 10px);
  cursor: pointer;
}

.carousel-item-inner {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.carousel-item-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.carousel-item:hover .carousel-item-inner img {
  transform: scale(1.05);
}

.carousel-nav {
  background: var(--color-principal);
  border: none;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 0.3s, transform 0.2s;
  flex-shrink: 0;
  z-index: 10;
}

.carousel-nav:hover {
  background: var(--color-secundario);
  transform: scale(1.1);
}

.carousel-nav:active {
  transform: scale(0.95);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--color-secundario);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 10001;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Responsive Carousel */
@media (max-width: 1024px) {
  .carousel-item {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
  
  .carousel-item-inner {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .about-carousel-section {
    padding: 60px 15px;
  }
  
  .about-carousel-container {
    gap: 10px;
  }
  
  .carousel-item {
    flex: 0 0 100%;
    min-width: 100%;
  }
  
  .carousel-item-inner {
    height: 400px;
  }
  
  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .lightbox-prev,
  .lightbox-next {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 2.5rem;
  }
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */
.contact-section {
  padding: 80px 20px;
  background-color: #fff;
}

.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

/* Logo Column */
.contact-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.contact-logo img {
  max-width: 100%;
  height: auto;
  max-height: 200px;
}

/* Contact Info Column */
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: var(--color-texto);
  font-family: var(--font-text);
}

.contact-info-item i {
  font-size: 24px;
  color: var(--color-principal);
  min-width: 30px;
  margin-top: 4px;
}

.contact-info-item .info-content {
  flex: 1;
}

.contact-info-item .info-content p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-texto);
}

.contact-info-item .info-content a {
  color: var(--color-texto);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-item .info-content a:hover {
  color: var(--color-principal);
}

.contact-info-social {
  display: block !important;
}

.contact-social-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-principal);
  margin: 0 0 0.75rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.contact-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(59, 110, 64, 0.12);
  color: var(--color-principal) !important;
  font-size: 17px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.contact-socials a:hover {
  background: var(--color-principal);
  color: #fff !important;
}

.contact-socials a img {
  height: 17px;
  filter: none;
  opacity: 0.8;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.contact-socials a:hover img {
  filter: brightness(0) invert(1);
  opacity: 1;
}

/* Contact Form Column */
.contact-form-wrapper {
  background-color: #f8f9fa;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h3 {
  font-family: var(--font-title);
  font-size: 28px;
  color: var(--color-principal);
  margin-bottom: 30px;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-family: var(--font-text);
  font-size: 1rem;
  color: var(--color-texto);
  background-color: #fff;
  transition: all 0.3s ease;
}

.form-group textarea {
  border-radius: 20px;
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-principal);
  box-shadow: 0 0 0 3px rgba(59, 110, 64, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.btn-submit {
  padding: 15px 50px;
  background-color: var(--color-principal);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: #2d5230;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 110, 64, 0.3);
}

/* Contact Form Messages */
.contact-message {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-family: var(--font-text);
  font-size: 1rem;
  text-align: center;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-message-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.contact-message-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Contact Page Responsive */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-logo {
    order: 1;
    padding: 20px;
  }

  .contact-logo img {
    max-height: 150px;
  }

  .contact-info {
    order: 2;
    gap: 25px;
  }

  .contact-form-wrapper {
    order: 3;
    padding: 30px 25px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 15px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form-wrapper h3 {
    font-size: 24px;
  }

  .contact-info-item i {
    font-size: 20px;
  }

  .contact-info-item .info-content p {
    font-size: 1rem;
  }
}

/* Contact Map Section */
.contact-map-section {
  width: 100%;
  height: 500px;
  margin: 0;
  padding: 0;
}

.contact-map-section iframe {
  display: block;
}

@media (max-width: 768px) {
  .contact-map-section {
    height: 400px;
  }
}