/* Global reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Palette & component styles */
:root {
  --color-twine: #be9d52;
  --color-twine-700: #a28543;
  --color-birch: #312a1b;
  --color-old-copper: #725d2d;
  --color-bronze-olive: #5f410e;

  --bg: #FAF7F1;
  --surface: #ffffff;
  --muted: #BDAF9A;
  --text: #1f1a15;
  --radius: 12px;
}

html,
body {
  height: 100%;
  width: 100%;  
  max-width: 100%;
}

body {
  margin: 0;
  font-family: "Ubuntu", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


header {
  background-color: transparent;
}

nav {
  background-color: transparent;
  position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
}

nav a {
  color: rgba(255, 255, 255, .92);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 1rem 1rem;
  display: inline-block;
  transition: color 0.3s ease;
  font-size: 1.05rem;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: 70px; /* opcional */
    top: 0;
    background-color: transparent;
}

/* Para que el navbar-container funcione con order */
.navbar-container ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.menu-button {
  order: 1; /* Asegurar que el hamburger esté al final */
  display: none;
}

/* Quitar subrayado y estilo */
.navbar-container a {
    text-decoration: none;
    color: white; /* cambia según tu diseño */
}

/* Alinear selector de idioma */
.desktop-language {
    display: flex;
    align-items: center;
}

/* Logo más grande */
.logo {
  height: 110px; /* Tamaño inicial grande */
  transition: all 0.5 s ease;
}

.nav-links a:hover {
  color: #d9ae2b;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #d9ae2b;
  transition: width 0.3s ease;
}

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

/* Sidebar corregido */
.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 300px;
  z-index: 1001; /* Mayor que el nav (1000) */
  background-color: rgba(49, 42, 27, 0.7);
  box-shadow: -10px 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  backdrop-filter: blur(10px);
  padding: 2rem 0;
  transition: right 0.3s ease;
}

.sidebar.active {
  right: 0;
}

.sidebar ul {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 4rem; /* Espacio para el botón cerrar */
  flex-direction: column;
}

.sidebar li {
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar a {
  width: 100%;
  display: block;
  padding: 1rem 1.5rem;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 1.1rem;
}

.sidebar a:hover {
  background-color: rgba(255,255,255,0.1);
}

.hide-sidebar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border-bottom: none !important;
  width: auto !important;
}

.hide-sidebar a {
  width: auto;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hide-sidebar img,
.show-sidebar img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* Hace el icono blanco */
}

/* Clase para cuando se hace scroll */
nav.scrolled {
  padding: 0.5rem 2rem; /* Menos padding vertical */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  background-color: var(--color-birch);
  transition: width .5s ease, background-color .5s ease;

}

nav.scrolled .logo {
  height: 70px; /* Logo más pequeño */
  transition: width .5s ease;
  
}

nav.scrolled p {
  font-size: 1rem; /* Texto más pequeño */
}

nav.scrolled .nav-links a {
  padding: 0.3rem 1rem; /* Enlaces más compactos */
}

/* Language selector como item de lista */
/* Language selector como item de lista */
.language-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 1.5rem;
  list-style: none;
}

.languageSelector {
  background: var(--color-birch);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .30);
  padding: .25rem 1.8rem .25rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
}

/* Ícono del globo - lado izquierdo */
.language-wrapper::before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24' width='18' height='18'><circle cx='12' cy='12' r='10'/><path d='M2 12h20M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10Z'/></svg>");
  position: absolute;
  left: 6px;
  top: 3px;
  pointer-events: none;
}

/* Flecha derecha */
.language-wrapper::after {
  content: "▼";
  font-size: .65rem;
  color: white;
  position: absolute;
  right: 10px;
  pointer-events: none;
}




/* Posicionar el menu-button al final */
.menu-button {
  margin-left: auto;
}

/* HERO */
.hero {
  height: 100vh;
  background: url("./images/hero-bg.jpg") center/cover no-repeat;
  background-position:center;
  color: white;
  opacity: 0.95;
  filter: brightness(0.85);
  
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  padding-left: 3rem;
  padding-top: clamp(2rem, 6rem, 8rem);
}

.hero-title {
  font-size: clamp(2rem, 4.5rem, 8rem);
  font-weight: 700;
  margin-bottom: .75rem;
  max-width:650px;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 1.5vw, 1.5rem);
  font-weight: 500;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* CTA */
.cta {
  background: var(--color-twine);
  color: #fff;
  border: 0;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: block;
  font-size: 1rem;
}

.cta:hover {
  background: var(--color-twine-700);
}

/* Secciones */
.section {
  padding: 2rem 1.25rem;
}

/* GRID de servicios */
.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, 1fr);
}

.services-grid > h2 {
  grid-column: 1 / -1;
  text-align: center;
  /* margin-bottom: 2rem; */
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  height: 200px;
  border: 1px solid var(--muted);
  cursor: pointer;
  transition: 
    transform 0.4s ease, 
    box-shadow 0.4s ease,
    height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  height: auto;
  min-height: 280px;
  max-height: 400px;
  background-color: #ffd740;

}

/* h3 con fondo sólido */
.card > h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin: 0;
  padding: 1.2rem 1.5rem;
  position: relative;
  z-index: 10;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: all 0.3s ease;
}

/* Ajustar los contenedores de texto para el h3 fijo */
.card-preview,
.card-full {
  position: absolute;
  top: 60px; /* Espacio para el h3 fijo */
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.5s ease;
}

.card-preview {
  color: var(--text);
  z-index: 1;
  justify-content: center;
  opacity: 1;
}

.card-full {
  color: var(--text);
  z-index: 0;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(10px);
}

/* Mejorar el contenido expandido */
.card-full p {
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Asegurar que los otros cards (con h3 dentro) también funcionen */
.card .card-preview h3,
.card .card-full h3 {
  display: none; /* Ocultar h3 duplicados en otros cards */
}


/* Efectos fade mejorados */
.card:hover .card-preview {
  opacity: 0;
  transform: translateY(-10px);
}

.card:hover .card-full {
  opacity: 1;
  transform: translateY(0);
}

.card-full h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--color-birch);
}

.card-full p {
  line-height: 1.6;
  margin: 0;
}

.card:hover .card-full {
  opacity: 1;
  transform: translateY(0);
}

.card h3, .trust-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-old-copper);
  margin-bottom: 0.8rem;
  z-index: 3;
  position: relative;
  transition: color 0.3s ease;
}

.card p {
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Contact form */
.contact form input,
.contact form textarea {
  width: 100%;
  padding: .6rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, .06);
  margin-bottom: .75rem;
  font-size: 1rem;
}

/* Footer */
footer {
  background: var(--color-birch);
  color: #fff;
  padding: 1.25rem;
  text-align: center;
  margin-top: auto;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}


.trust-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 2rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-birch);
}

.trust-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.trust-card {
    padding: 2rem 1.5rem;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-left: 4px solid var(--color-twine);
}

.trust-cta {
    font-size: 1.1rem;
    color: var(--text);
    margin: 2rem 0;
    font-weight: 500;
}

.cta-secondary {
    background: transparent;
    color: var(--color-twine);
    border: 2px solid var(--color-twine);
    padding: 1rem 2.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: var(--color-twine);
    color: white;
    transform: translateY(-2px);
}
/*END section about us*/

/* Responsive */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 2.5rem 1rem;
    height: 100vh;
    padding-top: 6rem;
  }


}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

#header, #footer {
  opacity: 0;
  transition: opacity .3s ease; /* animación suave */
}

#footer {
  margin-top: auto;
}

/* Al cargarse */
.layout-loaded #header,
.layout-loaded #footer {
  opacity: 1;
}


header p {
  font-size: 1.35rem;
  font-weight: 600;
  margin-left: 1rem;
  text-wrap: inherit;
  color: #d9ae2b;
}

@media (max-width: 800px) {
  .hideOnMobile {
    display: none;
  }
  .menu-button {
    display: block;
  }
}

@media (max-width: 400px) {
  .sidebar {
    width: 100%;
  }
}

/* Responsive - MÁS ESPECÍFICO */
@media (max-width: 800px) {
  .navbar-container ul {
    justify-content: flex-end; /* Asegurar alineación derecha */
  }
  
  /* Language selector a la izquierda */
  .desktop-language {
    order: -1;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  
  /* Hamburger button a la derecha */
  .menu-button {
    order: 1;
    margin-left: 0;
  }
  
  .hideOnMobile {
    display: none;
  }
  
  .language-wrapper {
    margin-left: 1rem;
    margin-right: 0;
  }
  
  .languageSelector {
    padding: 0.25rem 1.5rem 0.25rem 1.5rem;
    font-size: 0.85rem;
    width: 70px;
    min-width: 70px; /* Forzar ancho mínimo */
  }

  .language-wrapper::before {
    left: 4px;
    top: 3px;
  }
  
  .language-wrapper::after {
    right: 10px;
  }
  
  /* Asegurar que el logo no interfiera */
  .navbar-container {
    justify-content: space-between;
  }
  
  .navbar-container > a {
    flex-shrink: 0; /* Evitar que el logo se encoja */
  }
}

/* Navbar siempre con fondo en página About */
.about-page nav, .privacy-page nav {
    background-color: var(--color-birch) !important;
    padding: 0.5rem 0 !important; /* Padding compacto */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.about-page nav .logo, .privacy-page nav .logo {
    height: 110px !important; /* Tamaño pequeño como en scroll */
}

.about-page nav .nav-links a, .privacy-page nav .nav-links a {
    padding: 0.3rem 1rem !important; /* Padding compacto */
}

@media (max-width: 1025px) {
    .trust-points {
        grid-template-columns: 1fr;
        max-width: 500px; /* Opcional: limitar ancho máximo */
        margin-left: auto;
        margin-right: auto;
    }
}

.services-section, .section-contact {
  background-color: #fff; /* #FAF7F1 - tu color actual */
  /* o una variación sutil */
}

.services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.services-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-birch);
}

.services-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
}

.services-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .services-header {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .services-text h2 {
        font-size: 2rem;
    }
    
    .services-image img {
        height: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .services-header {
        padding: 0 1rem;
    }
    
    .services-text h2 {
        font-size: 1.75rem;
    }
}

.locations-section {
    background: var(--bg);
    padding: 4rem 0;
}

.locations-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.locations-intro {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 2rem;
}

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

.city-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: var(--radius);
    border-left: 4px solid var(--color-twine);
}

.city-icon {
    font-size: 1.2rem;
}

.city-item span:last-child {
    font-weight: 500;
    color: var(--color-birch);
}

.locations-note {
    font-style: italic;
    color: var(--color-twine);
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .cities-grid {
        grid-template-columns: 1fr;
    }
    
    .locations-container {
        padding: 0 1rem;
    }
}

/*CONTACT FORM*/
.contact-section {
    background: var(--color-birch);
    color: white;
    padding: 4rem 0 0 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 0;
    color: var(--color-twine);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
}

.contact-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

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

.contact-description {
    font-size: 1.3rem !important;
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 500;
    margin: 0 !important;
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border-left: 4px solid var(--color-twine);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-item strong {
    color: var(--color-twine);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item span:last-child {
    font-size: 1rem;
    opacity: 0.9;
}

.contact-item .contact {
    font-size: 1.1rem !important;
    opacity: 0.9;
    font-weight: 500;
    line-height: 1.4;
}

/* Columna del formulario */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-twine);
    background: rgba(255, 255, 255, 0.15);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='white' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.65rem;
}

/* Checkbox de privacidad */
.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 1rem 0;
}

.privacy-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
}

.privacy-checkbox label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.privacy-checkbox a {
    color: var(--color-twine);
    text-decoration: none;
}

.privacy-checkbox a:hover {
    text-decoration: underline;
}

.contact-form .cta {
    background: var(--color-twine);
    color: white;
    border: none;
    padding: 1.3rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form .cta:hover {
    background: var(--color-twine-700);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(190, 157, 82, 0.3);
}

/* Footer de contacto */
.contact-footer {
    background: rgba(0, 0, 0, 0.3);
    margin-top: 4rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-twine);
}

/* Responsive */
@media (max-width: 968px) {
    .contact-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info h2 {
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
  
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
     .contact-info h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }

     .contact-description {
        font-size: 1.1rem !important;
        text-align: center;
    }
    
    .contact-item {
        padding: 1.25rem;
    }
    
    .contact-item .contact {
        font-size: 1rem !important;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        gap: 1.5rem;
    }
}
/*TERMINA CONTACT FORM*/
/*FOOTER*/
/* Footer Styles */
footer {
    background: var(--color-birch);
    color: white;
    padding: 2rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
}

.footer-logo:hover img {
    opacity: 0.8;
}

.footer-brand p {
    margin: 0;
    opacity: 0.9;
    max-width: 300px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-twine);
}

.footer-links span {
    opacity: 0.5;
}

span.contact{
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-logo img {
        height: 45px;
    }
    
    .footer-links {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 1.5rem 0;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
}

/* END FOOTER */

/*ABOUT PAGE*/
/* About Page Styles CORREGIDO */
.about-page {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.about-page #header {
    flex-shrink: 0;
}

.about-page main {
    flex: 1;
    padding-top: 100px;
    width: 100%;
}

.about-page #footer {
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
}

.about-hero {
    padding: 2rem 0 4rem 0;
    background: var(--surface);
    min-height: 60vh;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}


/* Values Section - agregar más espacio abajo */
.values-section {
    background: var(--bg);
    padding: 4rem 0 6rem 0;
}

/* El resto de tu CSS se mantiene igual */
.about-content h1 {
    font-size: 2.5rem;
    color: var(--color-birch);
    margin-bottom: 1.5rem;
}

.about-intro {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-twine);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.about-cta {
    font-size: 1.2rem;
    color: var(--color-birch);
    padding: 1.5rem;
    background: rgba(190, 157, 82, 0.1);
    border-left: 4px solid var(--color-twine);
    border-radius: 0 8px 8px 0;
    margin-top: 1rem;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.image-caption {
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    color: var(--muted);
    font-size: 0.9rem;
}

.values-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.values-container h2 {
    font-size: 2.2rem;
    color: var(--color-birch);
    margin-bottom: 3rem;
}

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

.value-card {
    background: var(--surface);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-top: 4px solid var(--color-twine);
}

.value-card h3 {
    font-size: 1.3rem;
    color: var(--color-birch);
    margin-bottom: 1rem;
}

.value-card p {
    line-height: 1.6;
    color: var(--text);
}

/* Responsive */
@media (max-width: 768px) {
    .about-page main {
        padding-top: 90px;
    }
    
       .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .about-content h1 {
        font-size: 2rem;
    }
    
    .about-intro {
        font-size: 1.1rem;
    }
    
    .about-image img {
        height: 350px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
     
    .about-hero {
        min-height: auto;
        padding: 2rem 0 3rem 0;
    }
    
     .values-section {
        padding: 3rem 0 4rem 0;
    }
}
/*END ABOUT PAGE*/

/* PRIVACY PAGE */
/* Privacy Policy Page Styles */
.privacy-page main {
    padding-top: 100px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.privacy-section {
    background: var(--surface);
    padding: 3rem 0;
    flex: 1;
}

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.privacy-container h1 {
    font-size: 2.5rem;
    color: var(--color-birch);
    margin-bottom: 0.5rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--muted);
    font-style: italic;
    margin-bottom: 3rem;
    font-size: 0.95rem;
}

.privacy-content {
    line-height: 1.7;
}

.intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-birch);
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(190, 157, 82, 0.08);
    border-left: 4px solid var(--color-twine);
    border-radius: 0 8px 8px 0;
}

.privacy-content .privacy-section {
    margin-bottom: 2.5rem;
    padding: 0;
    background: transparent;
}

.privacy-content h2 {
    font-size: 1.4rem;
    color: var(--color-twine);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(190, 157, 82, 0.2);
}

.privacy-content p {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Forzar navbar en privacy page */
.privacy-page nav {
    background-color: var(--color-birch) !important;
    padding: 0.5rem 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.privacy-page nav .logo {
    height: 70px !important;
}

.privacy-page nav .nav-links a {
    padding: 0.3rem 1rem !important;
}

/* Responsive */
@media (max-width: 768px) {
    .privacy-page main {
        padding-top: 90px;
    }
    
    .privacy-container {
        padding: 0 1rem;
    }
    
    .privacy-container h1 {
        font-size: 2rem;
    }
    
    .intro {
        font-size: 1.1rem;
        padding: 1.25rem;
    }
    
    .privacy-content h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .privacy-container {
        padding: 0 1rem;
    }
    
    .privacy-container h1 {
        font-size: 1.8rem;
    }
    
    .intro {
        font-size: 1rem;
        padding: 1rem;
    }
}
/* END PRIVACY PAGE */

/*ENVIO DE CORREO*/
/* Mensaje de éxito del formulario */
.form-success {
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid #4CAF50;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    margin-top: 1rem;
}

.success-message h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-message p {
    color: #4CAF50;
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0;
}