/* =======================
   RESET Y CONFIGURACI�N BASE
========================== */
:root {
  --primary-color: #0f3d24; /* Verde oscuro profundo */
  --secondary-color: #1a5e3a; /* Verde medio */
  --accent-color: #d4af37; /* Dorado met�lico */
  --metallic-green: linear-gradient(135deg, #2e8b57 0%, #3cb371 50%, #2e8b57 100%);
  --metallic-silver: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 50%, #e0e0e0 100%);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --text-color: #f0f0f0;
  --text-dark: #333;
}

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

body {
  font-family: "Segoe UI", "Roboto", sans-serif;
  background: radial-gradient(circle at center, #1a2e22 0%, #0a1a12 100%);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =======================
   HEADER
========================== */
header {
  background: rgba(15, 61, 36, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--accent-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 60px;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.info h1 {
  font-size: 1.8rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.info p {
  font-size: 0.9rem;
  color: #ccc;
}

.btn-extranet {
  background: var(--metallic-green);
  color: #fff;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.4);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-extranet:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 139, 87, 0.6);
  filter: brightness(1.1);
}

/* =======================
   MAIN & SECTIONS
========================== */
main {
  flex: 1;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

/* Quienes Somos Static */
.quienes-somos-static {
  text-align: center;
  margin-bottom: 50px;
  padding: 40px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.quienes-somos-static::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--metallic-green);
}

.quienes-somos-static h2 {
  color: var(--accent-color);
  font-size: 2.2rem;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: inline-block;
  position: relative;
  padding-bottom: 15px;
}

.quienes-somos-static h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.quienes-somos-static h2 i {
  margin-right: 15px;
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.content-static {
  max-width: 800px;
  margin: 0 auto;
}

.content-static p {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: #e0e0e0;
  line-height: 1.4;
  font-weight: 300;
  text-align: justify;
}

.content-static p strong {
  color: var(--accent-color);
  font-weight: 600;
}

.static-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.static-footer p {
  font-size: 0.95rem;
  color: #aaa;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.static-footer i {
  color: var(--secondary-color);
}

/* Accordion Container */
.accordion-container {
  display: flex;
  flex-direction: column;
  gap: 0; /* Removed gap as requested */
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Styles for <details> element */
details.accordion-item {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

details.accordion-item:last-child {
  border-bottom: none;
}

details.accordion-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Styles for <summary> element */
summary.accordion-header {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: background 0.3s;
}

summary.accordion-header::-webkit-details-marker {
  display: none;
}

summary.accordion-header h2 {
  font-size: 1.2rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 500;
  margin: 0;
}

summary.accordion-header h2 i {
  color: var(--accent-color);
  width: 30px;
  text-align: center;
}

summary.accordion-header .icon {
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

/* Open state styles */
details[open] summary.accordion-header .icon {
  transform: rotate(45deg);
}

details[open] summary.accordion-header {
  background: rgba(212, 175, 55, 0.15); /* Stronger gold tint */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Content animation */
.accordion-content {
  background: rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s ease-out;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-inner {
  padding: 30px;
  color: #ddd;
}

.content-inner.with-image {
  display: flex;
  gap: 30px;
  align-items: center;
}

.content-inner img {
  width: 500px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  border: 2px solid var(--accent-color);
}

.content-inner .text h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* =======================
   FOOTER
========================== */
footer {
  background: #0a1a12;
  color: #ccc;
  border-top: 3px solid var(--accent-color);
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 350px; /* Ensure map has height */
}

.footer-map {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
  filter: grayscale(30%) contrast(1.1); /* Slightly stylized map */
}

.footer-info-right {
  flex: 1;
  min-width: 300px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(15, 61, 36, 0.95) 0%, rgba(10, 26, 18, 0.98) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.footer-brand h3 {
  color: var(--accent-color);
  font-size: 1.8rem;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.footer-brand .matricula {
  font-size: 0.9rem;
  color: #888;
  margin-top: 5px;
}

.footer-contact-details h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 5px;
  display: inline-block;
}

.footer-contact-details p {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
}

.footer-contact-details i {
  color: var(--accent-color);
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
}

.whatsapp-btn-footer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  background: #128C7E;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(18, 140, 126, 0.3);
}

.whatsapp-btn-footer:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(18, 140, 126, 0.5);
}

.email-btn-footer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  background: var(--primary-color);
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--accent-color);
}

.email-btn-footer:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
  background: var(--secondary-color);
}

.footer-bottom {
  background: #050e09;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid rgba(255,255,255,0.05);
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .content-inner.with-image {
    flex-direction: column;
    text-align: center;
  }
  
  .header-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .logo-container {
    flex-direction: column;
  }
  
  .btn-extranet {
    width: 100%;
    justify-content: center;
  }

  .footer-container {
    flex-direction: column;
  }

  .footer-map iframe {
    height: 300px;
  }
  
  .footer-info-right {
    padding: 30px 20px;
    text-align: center;
  }

  .footer-contact-details p {
    justify-content: center;
  }
  
  .footer-contact-details h4 {
    display: inline-block;
  }
  
  .whatsapp-btn-footer {
    justify-content: center;
    width: 100%;
  }
}

