/*
Theme Name: XReformer
Description: Tema personalizado para XReformer - Equipamiento de Pilates.
Author: Carolina
Version: 4.1
Text Domain: xreformer
*/

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

:root {
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-oswald: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-bg: #FAFAFA;
  --color-fg: #0A0A0A;
  --color-muted: #6B7280;
  --color-accent: #000000;
}

body {
  font-family: var(--font-inter);
  background-color: var(--color-bg);
  color: var(--color-fg);
  line-height: 1.6;
  font-feature-settings: "rlig" 1, "calt" 1;
}

a {
  text-decoration: none;
  text-underline-offset: 4px;
  color: inherit;
}

a:hover {
  text-decoration: underline;
}

/* Header Styles */
/* Forzar tamaño del h1.hero-title solo en el header */
.site-header .hero-title {
  font-size: 2.1rem !important;
  font-weight: 600;
  color: #222;
  margin: 0.5rem 0 0.5rem 0;
  text-align: center;
  letter-spacing: 0.01em;
}
@media (max-width: 600px) {
  .site-header .hero-title {
    font-size: 1.3rem !important;
  }
}
.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: white;
  position: relative;
  z-index: 1000;
}

.site-header .container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.site-logo img {
  height: 150px;
  width: auto;
  max-width: 800px;
  object-fit: contain;
  image-rendering: auto;
  image-rendering: smooth;
  transition: transform 0.3s ease;
}

.site-logo:hover img {
  transform: scale(1.05);
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 2.5rem;
  right: 1rem;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-icon {
  font-size: 1.5rem;
  color: #333;
  transition: color 0.3s ease;
}

.hamburger-icon:hover {
  color: #000;
}

.main-navigation {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 500;
}

.main-navigation .nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation .nav-menu li {
  margin: 0;
}

.main-navigation .nav-menu a {
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.main-navigation .nav-menu a:hover {
  color: #000;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .site-header .container {
    padding: 1.5rem 1rem;
  }
  
  .site-logo img {
    height: 100px;
  }
  
  .mobile-menu-toggle {
    display: block !important;
    top: 1.5rem;
  }
  
  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .main-navigation.mobile-active {
    max-height: 400px;
  }
  
  .main-navigation .nav-menu {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }
  
  .main-navigation .nav-menu li {
    border-bottom: 1px solid #f0f0f0;
  }
  
  .main-navigation .nav-menu li:last-child {
    border-bottom: none;
  }
  
  .main-navigation .nav-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: #333;
    font-size: 1rem;
  }
  
  .main-navigation .nav-menu a:hover {
    background: #f8f9fa;
    color: #000;
  }
}

/* Hero Styles */
.hero-section {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}

/* Empuja el bloque de texto (y los botones) hacia abajo dentro del hero */
.hero-section .hero-text {
  margin-top: 6rem; /* ajustar si quieres más/menos */
}

@media (max-width: 768px) {
  .hero-section .hero-text {
    margin-top: 6rem; /* menos espacio en móvil */
  }
}

.hero-image {
  height: 68vh;
  min-height: 460px;
  width: 100vw;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Banner responsive - más corto en móvil */
@media (max-width: 768px) {
  .hero-image {
    height: 50vh;
    min-height: 350px;
  }
  
  .hero-text {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 1.75rem !important;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-top: 1rem;
  }
  
  .hero-buttons {
    margin-top: 1.5rem;
    gap: 0.75rem;
  }
  
  .hero-button {
    padding: 0.625rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-image {
    height: 45vh;
    min-height: 300px;
  }
  
  .hero-text {
    padding: 0 0.75rem;
  }
  
  .hero-title {
    font-size: 1.5rem !important;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .hero-button {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.hero-text {
  text-align: center;
  padding: 0 3rem;
  max-width: 56rem;
}

.hero-title {
  font-family: var(--font-oswald);
  font-size: 1.4rem;
  font-weight: 500;
  color: rgb(0, 0, 0);
  text-shadow: 0 4px 8px rgba(255, 255, 255, 0.5);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  margin-top: 4rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.hero-button {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.hero-button.primary {
  background: white;
  color: black;
}

.hero-button.primary:hover {
  background: #f3f4f6;
}

.hero-button.secondary {
  border: 2px solid white;
  color: white;
}

.hero-button.secondary:hover {
  background: white;
  color: black;
}

/* Layout General */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  flex-shrink: 0;
}

/* Main Content */
.main-content {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
  flex-grow: 1; /* Permite que el main-content crezca */
  display: flex;
  flex-direction: column;
}

/* Contenido dentro del main */
.main-content > * {
  flex-grow: 1;
}

/* Asegurar altura mínima en páginas de productos */
.woocommerce .main-content,
.tax-product_cat .main-content,
.post-type-archive-product .main-content {
  padding: 2rem 1rem;
  min-height: 60vh;
}

/* Footer se mantiene abajo */
.site-footer {
  flex-shrink: 0;
  margin-top: auto;
}

/* Categories Section */
.categories-section {
  padding: 6rem 0;
}

/* Productos por categoría - Grid overview */
.productos-overview {
  padding: 3rem 1rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 2rem;
}

.product-category {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .productos-overview {
    grid-template-columns: 1fr;
    gap: 2rem 0;
  }
}

.category-title {
  font-family: var(--font-oswald);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.product-card {
  display: block;
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 0.75rem;
  border-radius: 8px;
  text-decoration: none !important;
  color: inherit;
}

.product-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}

.product-info { padding: 0.75rem 0 0; }
.product-name { font-size: 1rem; margin: 0 0 0.5rem; }
.product-price { font-weight: 600; color: var(--color-accent); }

.categories-title {
  font-family: var(--font-oswald);
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 4rem;
  text-align: center;
}

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

.category-card {
  display: block;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.category-card:hover {
  box-shadow: 0 25px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-0.5rem);
}

.category-image {
  position: relative;
  aspect-ratio: 1;
  background: #f9fafb;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.05);
}

.category-info {
  padding: 2rem;
  background: black;
}

.category-name {
  color: white;
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center;
}


/* Footer */

.site-footer {
  background: #1a1a1a !important;
  color: #ffffff !important;
  padding: 3rem 0 1rem !important;
  margin-top: 2rem !important; /* Reducido para mejor espaciado */
}

.footer-content {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 2rem !important;
  margin-bottom: 2rem !important;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

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

.footer-logo-img {
  height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  image-rendering: smooth;
  filter: brightness(1.1);
}

.footer-info {
  text-align: center;
}

.footer-info h3 {
  color: #ffffff !important;
  font-size: 1.5rem !important;
  margin-bottom: 0.5rem !important;
  font-family: var(--font-oswald), 'Oswald', sans-serif !important;
}

.footer-info p {
  color: #cccccc !important;
  line-height: 1.6 !important;
}

.footer-links,
.footer-contact {
  text-align: center;
}

.footer-links-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.footer-links h4,
.footer-contact h4 {
  color: #ffffff !important;
  font-size: 1.25rem !important;
  margin-bottom: 1rem !important;
  font-family: var(--font-oswald), 'Oswald', sans-serif !important;
}

.footer-hamburger {
  display: none;
  font-size: 1.25rem;
  color: #cccccc;
  transition: color 0.3s ease;
}

.footer-hamburger:hover {
  color: #ffffff;
}

.footer-links-menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-links-menu li {
  margin-bottom: 0.5rem !important;
}

.footer-links-menu a {
  color: #cccccc !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-links-menu a:hover {
  color: #ffffff !important;
}

.footer-contact p {
  color: #cccccc;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #333333;
  padding-top: 1rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  color: #999999;
  font-size: 0.875rem;
  margin: 0;
}

/* Footer Responsive */
@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 0 1.5rem;
  }
  
  .footer-logo-img {
    height: 60px;
  }
  
  .footer-hamburger {
    display: block !important;
  }
  
  .footer-links-header {
    margin-bottom: 0.5rem;
  }
  
  .footer-links-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-top: 0.5rem;
  }
  
  .footer-links-menu.active {
    max-height: 200px;
    padding: 1rem 0;
  }
  
  .footer-links-menu li {
    margin-bottom: 0.75rem !important;
  }
  
  .footer-links-menu a {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
  }
  
  .footer-links-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .footer-info h3 {
    font-size: 1.25rem !important;
  }
  
  .footer-links h4,
  .footer-contact h4 {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 480px) {
  .footer-content {
    padding: 0 1rem;
    gap: 1.5rem;
  }
  
  .footer-logo-img {
    height: 50px;
  }
  
  .footer-info h3 {
    font-size: 1.1rem !important;
  }
  
  .footer-info p {
    font-size: 0.9rem;
  }
  
  .footer-contact p {
    font-size: 0.9rem;
  }
}

/* Responsive Desktop */
@media (min-width: 769px) {
  .hero-buttons {
    flex-direction: row;
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

/* Botones de solicitar información */
.request-info-btn,
.request-info-btn-single {
  background: #000 !important;
  color: white !important;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  font-weight: 500;
  transition: all 0.3s ease;
}

.request-info-btn:hover,
.request-info-btn-single:hover {
  background: #333 !important;
  transform: translateY(-2px);
}

/* Páginas generales */
.page-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 2rem; /* Separación del navbar */
}

.page-title {
  font-family: var(--font-oswald);
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Responsive para page-header */
@media (max-width: 768px) {
  .page-header {
    padding-top: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding-top: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
}

.page-content-text {
  font-size: 1.125rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* Category placeholder styles */
.category-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.category-placeholder span {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
}

.no-categories {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  background: #f9fafb;
  border-radius: 12px;
  border: 2px dashed #d1d5db;
}

.no-categories p {
  margin-bottom: 1rem;
  color: #6b7280;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #6366f1;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #4f46e5;
  color: white;
}





/* Página de contacto */
.contact-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.page-header-section {
  text-align: center;
  padding: 4rem 0 2rem;
}

.page-main-title {
  font-family: var(--font-oswald);
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.contact-info h2,
.contact-form-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

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

.contact-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h3 {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-details a {
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.contact-details a:hover {
  color: var(--color-fg);
}

.whatsapp-box {
  background: #dcfce7;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #16a34a;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.whatsapp-btn:hover {
  background: #15803d;
}

.form-container {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.product-request-info {
  background: #fef3c7;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  border: 1px solid #f59e0b;
}

.additional-info {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin: 4rem auto;
  max-width: 800px;
}

.additional-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.additional-info p {
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.additional-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.05);
}

.btn-primary {
  padding: 0.75rem 1.5rem;
  background: black;
  color: white;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #333;
}

/* Responsive Mobile - Orden: Título → Info → Formulario */
@media (max-width: 768px) {
  .contact-page {
    padding: 0 0.5rem;
  }
  
  .page-header-section {
    padding: 2rem 0 1.5rem;
  }
  
  .page-main-title {
    font-size: 2.5rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
  }
  
  /* ORDEN ESPECÍFICO EN MÓVIL: Info de contacto ANTES que formulario */
  .contact-info {
    order: 1;
    margin-bottom: 1rem;
  }
  
  .contact-form-section {
    order: 2;
  }
  
  .contact-info h2,
  .contact-form-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .contact-item {
    margin-bottom: 1.5rem;
    gap: 0.75rem;
    align-items: center;
  }
  
  .contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
    flex-shrink: 0;
  }
  
  .contact-details {
    text-align: center;
    flex: 1;
  }
  
  .contact-details h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .contact-details a {
    font-size: 0.9rem;
    display: block;
  }
  
  .whatsapp-box {
    padding: 1.25rem;
    text-align: center;
    margin-top: 1rem;
  }
  
  .whatsapp-box h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .whatsapp-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
  }
  
  .form-container {
    padding: 1.5rem;
    margin-top: 1rem;
  }
  
  .additional-info {
    margin: 3rem auto;
    padding: 1.5rem;
  }
  
  .additional-info h3 {
    font-size: 1.25rem;
  }
  
  .additional-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-page {
    padding: 0 0.25rem;
  }
  
  .page-header-section {
    padding: 1.5rem 0 1rem;
  }
  
  .page-main-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }
  
  .contact-grid {
    gap: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .contact-item {
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-direction: column;
    text-align: center;
  }
  
  .contact-icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
    margin: 0 auto;
  }
  
  .contact-details {
    text-align: center;
  }
  
  .contact-details h3 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }
  
  .contact-details a {
    font-size: 0.85rem;
  }
  
  .whatsapp-box {
    padding: 1rem;
  }
  
  .whatsapp-box h3 {
    font-size: 0.9rem;
  }
  
  .form-container {
    padding: 1.25rem;
  }
  
  .additional-info {
    padding: 1.25rem;
    margin: 2rem auto;
  }
}

/* Desktop - Layout lado a lado */
@media (min-width: 769px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .additional-buttons {
    flex-direction: row;
  }
}

/* =================
   PÁGINA NOSOTROS 
   ================= */

.nosotros-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
  font-family: 'Inter', sans-serif;
}

.nosotros-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.title-with-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.nosotros-logo {
  flex-shrink: 0;
}

.nosotros-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.nosotros-title {
  font-family: var(--font-oswald);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0;
  letter-spacing: -0.02em;
}

.nosotros-subtitle {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 600px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

/* Estilos del acordeón */
.nosotros-accordion {
  margin-bottom: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.nosotros-item {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  background: white;
}

.nosotros-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: #f8fafc;
  cursor: pointer;
  transition: background-color 0.2s;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  color: var(--color-accent);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  font-family: var(--font-oswald);
}

.nosotros-question:hover {
  background: #f1f5f9;
}

.nosotros-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: #64748b;
  transition: transform 0.3s ease;
}

.nosotros-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: white;
}

.nosotros-answer.active {
  max-height: 300px;
}

.nosotros-content {
  padding: 2rem;
  border-top: 1px solid #e2e8f0;
}

.nosotros-content p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.objetivos-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.objetivos-list li {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.objetivos-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.nosotros-item.active .nosotros-icon {
  transform: rotate(45deg);
}

/* Grid de tarjetas con efectos hover */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: var(--color-accent);
  background: white;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), #8b5cf6);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
  font-family: var(--font-oswald);
}

.feature-card:hover .feature-title {
  color: var(--color-accent);
}

.feature-text {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}

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

/* Responsive para página nosotros */
@media (max-width: 768px) {
  .nosotros-page {
    padding: 2rem 1rem;
  }
  
  .title-with-logo {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nosotros-logo img {
    width: 60px;
    height: 60px;
  }
  
  .nosotros-title {
    font-size: 2.5rem;
  }
  
  .nosotros-question {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
  
  .nosotros-content {
    padding: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-card:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 480px) {
  .nosotros-title {
    font-size: 2rem;
  }
  
  .nosotros-subtitle {
    font-size: 1rem;
  }
  
  .nosotros-question {
    padding: 1rem 1.25rem;
  }
  
  .nosotros-content {
    padding: 1.25rem;
  }
  
  .feature-card {
    padding: 1.25rem;
  }
}