/* ==========================================================================
   ASESORES MILENIO - HOJA DE ESTILOS PRINCIPAL (CSS3)
   Paleta: Ocre Corporativo (#C68A3C) & Azul Marino (#1B1C4A)
   ========================================================================== */

:root {
  --primary-ocre: #C68A3C;
  --primary-hover: #B0772D;
  --primary-light: #F7EFE4;
  --primary-gradient: linear-gradient(135deg, #D49A4E 0%, #C68A3C 100%);
  --navy-dark: #1B1C4A;
  --navy-light: #2A2C6E;
  --text-dark: #2E3338;
  --text-muted: #6C757D;
  --text-light: #F8F9FA;
  --bg-light: #FBFBFC;
  --bg-card: #FFFFFF;
  --border-color: #E9ECEF;
  --box-shadow: 0 10px 30px rgba(27, 28, 74, 0.08);
  --box-shadow-hover: 0 15px 35px rgba(198, 138, 60, 0.2);
  --transition: all 0.3s ease;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --container-max: 1200px;
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-ocre);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy-dark);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 2.5rem; margin-bottom: 1.25rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1rem;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(198, 138, 60, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #B0772D 0%, #A06720 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 138, 60, 0.45);
}

.btn-secondary {
  background-color: var(--navy-dark);
  color: #FFFFFF !important;
}

.btn-secondary:hover {
  background-color: var(--navy-light);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--primary-ocre);
  color: var(--primary-ocre);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-ocre);
  color: #FFFFFF !important;
}

.btn-outline-white {
  border-color: #FFFFFF;
  color: #FFFFFF !important;
  background: transparent;
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--navy-dark) !important;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-pse {
  background-color: #F8B436;
  color: #1A1A1A !important;
  font-weight: 700;
  border: none;
}

.btn-pse:hover {
  background-color: #E29F25;
  transform: translateY(-2px);
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.875rem;
  padding: 8px 0;
  color: var(--text-muted);
}

.topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 25px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.topbar-item a {
  color: var(--text-muted);
}

.topbar-item a:hover {
  color: var(--primary-ocre);
}

.topbar-icon {
  width: 16px;
  height: 16px;
  fill: var(--primary-ocre);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.header-main {
  background-color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  max-width: 220px;
}

.brand-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-dark);
  padding: 8px 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-ocre);
}

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-ocre);
  border-radius: 2px;
}

.nav-btn-pse {
  background: var(--primary-gradient);
  color: #FFFFFF !important;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(198, 138, 60, 0.3);
}

.nav-btn-pse:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(198, 138, 60, 0.45);
}

/* Menú móvil */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy-dark);
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ==========================================================================
   HERO / BANNER HOME
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 28, 74, 0.85) 0%, rgba(27, 28, 74, 0.4) 60%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  color: #FFFFFF;
  padding: 40px 0;
}

.hero-title {
  font-size: 3rem;
  color: #FFFFFF;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Redes flotantes laterales */
.floating-socials {
  position: fixed;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 990;
}

.social-pill {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: var(--transition);
}

.social-pill:hover {
  transform: scale(1.15) translateX(-4px);
}

.social-pill.facebook { color: #1877F2; }
.social-pill.instagram { color: #E4405F; }
.social-pill.youtube { color: #FF0000; }
.social-pill.tiktok { color: #000000; }
.social-pill.whatsapp { color: #25D366; }

.social-pill svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   SLOGAN STRIP
   ========================================================================== */
.slogan-strip {
  background-color: #FFFFFF;
  padding: 35px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.slogan-text {
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 700;
  color: var(--navy-dark);
  max-width: 900px;
  margin: 0 auto;
}

/* ==========================================================================
   BOTONES PRINCIPALES: PROPIETARIOS / ARRENDATARIOS
   ========================================================================== */
.quick-access-section {
  padding: 40px 0 20px;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.quick-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 22px 30px;
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.quick-card-propietario {
  background: var(--primary-gradient);
  color: #FFFFFF !important;
}

.quick-card-propietario:hover {
  background: linear-gradient(135deg, #B0772D 0%, #A06720 100%);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
}

.quick-card-arrendatario {
  background-color: var(--navy-dark);
  color: #FFFFFF !important;
}

.quick-card-arrendatario:hover {
  background-color: var(--navy-light);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(27, 28, 74, 0.3);
}

.quick-card svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ==========================================================================
   DESTACADOS HOME (QUIENES SOMOS, ARRIENDOS, ASESORÍA)
   ========================================================================== */
.highlights-section {
  padding: 60px 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.highlight-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 35px 30px;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 4px solid var(--primary-ocre);
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.highlight-card h3 {
  color: var(--navy-dark);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.highlight-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

.highlight-card .btn {
  align-self: flex-start;
  margin-top: 20px;
}

/* ==========================================================================
   BANNER CALL TO ACTION (¿QUIERES COMPRAR EN CALI?)
   ========================================================================== */
.cta-banner {
  background: linear-gradient(rgba(27, 28, 74, 0.85), rgba(27, 28, 74, 0.85)), url('../img/home_estate_articlebox_1.jpg') center/cover no-repeat;
  padding: 70px 0;
  text-align: center;
  color: #FFFFFF;
  margin: 30px 0;
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.cta-banner p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

/* ==========================================================================
   PÁGINA NOSOTROS
   ========================================================================== */
.page-hero {
  background-color: var(--navy-dark);
  color: #FFFFFF;
  padding: 50px 0;
  text-align: center;
  position: relative;
}

.page-hero h1 {
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
}

.team-banner-wrapper {
  margin: 40px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 50px 0;
}

.mv-card {
  background: #FFFFFF;
  padding: 35px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--box-shadow);
  border-top: 5px solid var(--primary-ocre);
}

.mv-card h2 {
  font-size: 1.5rem;
  color: var(--navy-dark);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mv-card p, .mv-card ol {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.mv-card ol {
  padding-left: 20px;
}

.mv-card ol li {
  margin-bottom: 10px;
}

/* EQUIPO GRID */
.team-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.section-title-center {
  text-align: center;
  margin-bottom: 50px;
}

.section-title-center h2 {
  font-size: 2.4rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title-center h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-ocre);
  border-radius: 2px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
}

.team-img-wrapper {
  width: 100%;
  height: 260px;
  background-color: var(--primary-light);
  overflow: hidden;
  position: relative;
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.05);
}

.team-info {
  padding: 20px 15px;
}

.team-name {
  font-size: 1.15rem;
  color: var(--navy-dark);
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.9rem;
  color: var(--primary-ocre);
  font-weight: 600;
}

/* ==========================================================================
   PÁGINA SERVICIOS & TABLA DE TARIFAS
   ========================================================================== */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 50px 0;
}

.service-card {
  background: #FFFFFF;
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--box-shadow);
  border-left: 5px solid var(--primary-ocre);
}

.service-card h2 {
  font-size: 1.8rem;
  color: var(--navy-dark);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-dark);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* Tabla de Tarifas */
.tariffs-container {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--box-shadow);
  padding: 40px;
  margin: 60px 0;
}

.tariffs-header {
  text-align: center;
  margin-bottom: 30px;
}

.tariffs-header h2 {
  color: var(--primary-ocre);
  font-size: 2rem;
  text-transform: uppercase;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.tariffs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
}

.tariffs-table th,
.tariffs-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.tariffs-table th {
  background-color: var(--navy-dark);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
}

.tariffs-table tr:nth-child(even) {
  background-color: #FAF9F7;
}

.tariffs-table tr:hover {
  background-color: #F7EFE4;
}

.tariffs-table td.concept-name {
  font-weight: 600;
  color: var(--navy-dark);
}

.tariffs-table td.concept-price {
  font-weight: 700;
  color: var(--primary-ocre);
  font-size: 1.05rem;
}

.tariffs-notes {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.tariffs-notes p {
  margin-bottom: 6px;
}

/* ==========================================================================
   PÁGINA ARRENDATARIOS & PROPIETARIOS
   ========================================================================== */
.portal-section {
  padding: 60px 0;
}

.portal-box {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--box-shadow);
  padding: 50px 40px;
  margin-bottom: 40px;
  text-align: center;
}

.portal-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 25px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  border: 4px solid var(--primary-ocre);
}

.portal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-box h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.portal-box p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

/* ==========================================================================
   PÁGINA CONTACTO
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 50px 0;
}

.contact-form-box,
.contact-info-box {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--box-shadow);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy-dark);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text-dark);
  background-color: #FFFFFF;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-ocre);
  box-shadow: 0 0 0 3px rgba(198, 138, 60, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-ocre);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 280px;
  margin-top: 25px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-main {
  background-color: var(--navy-dark);
  color: #FFFFFF;
  padding: 60px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 15px;
  background: #FFFFFF;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.footer-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-title {
  color: var(--primary-ocre);
  font-size: 1.15rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-ocre);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: #FFFFFF !important;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  text-decoration: none;
}

.floating-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Alertas Flash */
.alert {
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.alert-success {
  background-color: #D4EDDA;
  color: #155724;
  border: 1px solid #C3E6CB;
}

.alert-danger {
  background-color: #F8D7DA;
  color: #721C24;
  border: 1px solid #F5C6CB;
}

.alert-warning {
  background-color: #FFF3CD;
  color: #856404;
  border: 1px solid #FFEEBA;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (max-width: 992px) {
  .highlights-grid,
  .mv-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .quick-access-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background-color: #FFFFFF;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    width: 100%;
    padding: 10px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-btn-pse {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: 15px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .floating-socials {
    display: none;
  }
}

/* ==========================================================================
   AJUSTES DE IMÁGENES Y RESPONSIVE (migración)
   ========================================================================== */
img { max-width: 100%; height: auto; }

/* Hero: el banner fuente es panorámico y de baja resolución; se limita la altura
   para evitar ampliarlo en exceso y se agrega color base de marca */
.hero-section {
  min-height: clamp(320px, 34vw, 440px);
  background-color: var(--navy-dark);
  background-position: center center;
}
.hero-content { padding: 32px 0; }

/* Fotos del equipo: encuadre hacia la parte superior para no cortar rostros */
.team-img-wrapper { height: auto; aspect-ratio: 4 / 5; max-height: 340px; }
.team-img-wrapper img { object-position: center 15%; }

/* Foto grupal de Nosotros */
.team-banner-wrapper img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: center;
}

/* Logos: nunca más grandes que su contenedor */
.brand-logo img { height: auto; max-height: 60px; width: auto; max-width: 100%; }
.footer-logo img { width: auto; max-width: 100%; max-height: 60px; }

/* Imágenes dentro de cajas de portal */
.portal-box img { max-width: 100%; }

/* Contenido incrustado nunca desborda */
iframe, video { max-width: 100%; }
.contact-form-box, .portal-box { overflow-wrap: anywhere; }

@media (max-width: 768px) {
  .hero-section { min-height: 300px; }
  .hero-title { font-size: 1.9rem; }
  .portal-box { padding: 35px 20px; }
  .team-img-wrapper { max-height: 300px; }
  .cta-banner h2 { font-size: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
