/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Georgia', serif;
}
* {
  max-width: 100%;
}
html, body {
  overflow-x: hidden;
  width: 100%;
}
body {
  overflow-x: hidden;
  max-width: 100%;
}
body {
  padding-top: 80px;
  background-color: #1e2a3a;
}
/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background-color: #1e2a3a;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  z-index: 1000;
}

.logo {
  color: #d4b47c;
  font-size: 28px;
  font-weight: bold;
}

.logo span {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
}

.logo img {
  height: 110px; /* ajusta según cómo lo quieras */
  display: block;
}
.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  color: #cfd6df;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.nav a:hover {
  color: #ffffff;
}

/*RESPONSIVE*/
/* ===== RESPONSIVE HEADER ===== */

/* TABLET */
@media (max-width: 1024px) {

  .header {
    padding: 0 30px;
  }

  .nav {
    gap: 20px;
  }

  .logo img {
    height: 80px;
  }
}
.menu-toggle {
  display: none; /* oculto en PC */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #cfd6df;
}

/* MOBILE */
@media (max-width: 768px) {

  .header {
    padding: 0 20px;
    height: 70px;
  }

  .logo img {
    height: 50px;
  }

  /* 🔴 ocultamos menú normal */
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #1e2a3a;

    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
  }

  /* 🔥 cuando se activa */
  .nav.active {
    display: flex;
  }

  /* 🔥 botón hamburguesa */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 25px;
    height: 3px;
    background: #cfd6df;
  }
}


/* EXTRA CHICO */
@media (max-width: 400px) {

  .logo img {
    height: 40px;
  }

  .nav a {
    font-size: 13px;
  }
}

/* HERO */
.hero {
  background: url("assets/banner.png") center/cover no-repeat;
  aspect-ratio: 1920 / 635;
  width: 100%;
  background-size:contain;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}
.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero button {
  padding: 12px 25px;
  border: 1px solid white;
  background: transparent;
  color: white;
  cursor: pointer;
}

.hero button:hover {
  background: white;
  color: black;
}
/* ===== HERO RESPONSIVE ===== */

/* TABLET */
@media (max-width: 1024px) {

  .hero {
    aspect-ratio: auto;
    height: 500px;
    background-size: cover; /* mejor en tablet */
  }

  .hero h1 {
    font-size: 36px;
  }
}


/* MOBILE */
@media (max-width: 768px) {

  .hero {
    height: 400px;
    padding: 0 20px;
    background-size: cover;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero button {
    padding: 10px 20px;
    font-size: 14px;
  }
}


/* EXTRA CHICO */
@media (max-width: 400px) {

  .hero {
    height: 350px;
  }

  .hero h1 {
    font-size: 22px;
  }
}




/* PERFIL */
.perfil {
  background: #f2f2f2;
  padding: 100px 20px 60px;
  display: flex;
  justify-content: center;
}

.perfil-card {
  background: #e9e9e9;
  max-width: 800px;
  text-align: center;
  padding: 40px;
  margin-top: -120px;
  box-shadow: 0px 5px 20px rgba(0,0,0,0.2);
}

.perfil-card h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

.perfil-card p {
  margin-bottom: 15px;
  color: #555;
}
/* SECCIÓN */
.about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #1b2638, #121a26);
  padding: 100px 20px;
}

.container{
  margin-bottom: -50px;
}

/* ===== PERFIL + ABOUT RESPONSIVE ===== */

/* TABLET */
@media (max-width: 1024px) {

  .perfil {
    padding: 80px 20px 50px;
  }

  .perfil-card {
    max-width: 90%;
    padding: 30px;
    margin-top: -100px;
  }

  .perfil-card h2 {
    font-size: 22px;
  }

  .about {
    padding: 80px 20px;
  }
}


/* MOBILE */
@media (max-width: 768px) {

  .perfil {
    padding: 60px 15px 40px;
  }

  .perfil-card {
    max-width: 100%;
    padding: 25px;
    margin-top: -60px; /* 🔥 menos superposición */
  }

  .perfil-card h2 {
    font-size: 20px;
  }

  .perfil-card p {
    font-size: 14px;
  }

  .about {
    padding: 60px 15px;
  }

  .container {
    margin-bottom: 0; /* 🔥 evita que se rompa el layout */
  }
}


/* EXTRA CHICO */
@media (max-width: 400px) {

  .perfil-card {
    padding: 20px;
    margin-top: -40px;
  }

  .perfil-card h2 {
    font-size: 18px;
  }

  .perfil-card p {
    font-size: 13px;
  }
}



/* HEADER */
.about-header {
  text-align: center;
  margin-bottom: 70px;
}

.about-header .subtitle {
  color: #c9a66b;
  font-size: 18px;
  position: relative;
}

.about-header .subtitle::before,
.about-header .subtitle::after {
  content: "";
  width: 40px;
  height: 1px;
  background: #c9a66b;
  display: inline-block;
  margin: 0 10px;
}

.about-header h2 {
  color: white;
    font-size: 40px;
  font-weight: 500;
  margin-top: 10px;
}

/* GRID */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* CARDS */
.about-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  padding: 35px 30px;
  border-radius: 8px;
  border: 1px outset rgba(116, 121, 184, 0.03);
  text-align: left;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* línea dorada animada */
.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: #c9a66b;
  transition: 0.4s;
}

.about-card:hover::before {
  width: 100%;
}


.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  border-color: #c9a66b;
}

.about-card:hover .icon{
  transform: rotate(180deg)
}

/* ICONO */
.icon {
  transform: rotate(0deg);
  transition: 1s ease;
  color: #c9a66b;
  font-size: 18px;
  margin-bottom: 15px;
}

.about-card:hover .icon{
  transform: rotate(360deg);
}

.abt-card-title{
  display: flex;
  flex-direction: row;
  gap: 10px;
  color: white;
}

/* TITULO */
.about-card h3 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 12px;
}

/* TEXTO */
.about-card p {
  margin-top: 10px;
  font-size: 14px;
  color: #f5f5f5;
  line-height: 1.6;
}

/* FOOTER */
.about-footer {
  text-align: center;
  margin-top: 70px;
}

.about-footer p {
  font-size: 18px;
  color: #1f2c3f;
  font-weight: 500;
}

/* ANIMACIÓN SCROLL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* ===== ABOUT RESPONSIVE ===== */

/* TABLET */
@media (max-width: 1024px) {

  .about-header h2 {
    font-size: 32px;
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr); /* 🔥 pasa de 3 a 2 */
    gap: 25px;
  }

  .about-card {
    padding: 30px 25px;
  }

  .about-card h3 {
    font-size: 17px;
  }
}


/* MOBILE */
@media (max-width: 768px) {

  .about-header {
    margin-bottom: 50px;
  }

  .about-header h2 {
    font-size: 26px;
  }

  .about-header .subtitle {
    font-size: 16px;
  }

  .about-grid {
    grid-template-columns: 1fr; /* 🔥 1 sola columna */
    gap: 20px;
  }

  .about-card {
    padding: 25px 20px;
  }

  .about-card h3 {
    font-size: 16px;
  }

  .about-card p {
    font-size: 13px;
  }

  .abt-card-title {
    flex-direction: row;
    align-items: center;
  }

  .icon {
    font-size: 16px;
  }
}


/* EXTRA CHICO */
@media (max-width: 400px) {

  .about-header h2 {
    font-size: 22px;
  }

  .about-card {
    padding: 20px 15px;
  }

  .about-card p {
    font-size: 12px;
  }
}


/* EQUIPO */
.equipo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #121a26, #1b2638);
  
  padding-top: 10px;
  margin-bottom: 0px;
  text-align: center;
}

.equipo-header .subtitulo {
  color: #b89b6d;
  font-size: 18px;
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.equipo-header .subtitulo::before,
.equipo-header .subtitulo::after {
  content: "";
  width: 40px;
  height: 1px;
  background: #b89b6d;
  position: absolute;
  top: 50%;
}

.equipo-header .subtitulo::before {
  left: -50px;
}

.equipo-header .subtitulo::after {
  right: -50px;
}

.equipo-header h2 {
  font-size: 36px;
  color: white;
  margin-bottom: 15px;
}

.equipo-header h3 {
  font-size: 24px;
  color: #666;
  margin-bottom: 60px;
}

.equipo-container {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: -90px;
}

.equipo-container2{
  margin-top: 100px;
  margin-bottom: 50px;
}

.persona {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.persona img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.persona:hover img {
  transform: scale(1.05);
}

.persona h4 {
  font-size: 20px;
  color: white;
  margin-bottom: 10px;
}

.persona p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.5;
}

.persona a {
  font-size: 14px;
  color: #b89b6d;
  text-decoration: none;
}

.persona a:hover {
  color: #000;
}
/* ===== EQUIPO RESPONSIVE ===== */

/* TABLET */
@media (max-width: 1024px) {

  .equipo-header h2 {
    font-size: 30px;
  }

  .equipo-header h3 {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .equipo-container {
    gap: 40px;
    margin-bottom: -60px;
  }

  .persona img {
    width: 240px;
    height: 240px;
  }
}


/* MOBILE */
@media (max-width: 768px) {

  .equipo {
    padding: 40px 15px;
  }

  .equipo-header h2 {
    font-size: 26px;
  }

  .equipo-header h3 {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .equipo-header .subtitulo {
    font-size: 16px;
  }

  /* 🔥 esto es clave */
  .equipo-container {
    flex-direction: column;
    align-items: center;
    gap: 50px;
    margin-bottom: 0; /* evita que se corte */
  }

  .equipo-container2 {
    margin-top: 50px;
    margin-bottom: 20px;
  }

  .persona img {
    width: 200px;
    height: 200px;
  }

  .persona h4 {
    font-size: 18px;
  }

  .persona p {
    font-size: 13px;
  }

  /* líneas decorativas más chicas */
  .equipo-header .subtitulo::before,
  .equipo-header .subtitulo::after {
    width: 25px;
  }

  .equipo-header .subtitulo::before {
    left: -30px;
  }

  .equipo-header .subtitulo::after {
    right: -30px;
  }
}


/* EXTRA CHICO */
@media (max-width: 400px) {

  .persona img {
    width: 160px;
    height: 160px;
  }

  .persona h4 {
    font-size: 16px;
  }

  .persona p {
    font-size: 12px;
  }
}





/* Consorcios */

.consorcio {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.consorcio img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: top;
  border-radius: 3px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  box-shadow: 0px 0px 0px #393a1e;
  transition: transform 0.8s ease;
}

.consorcio:hover img {
  transform: scale(1.25);
  box-shadow: 5px 4px 4px #b8860b;
}

.consorcio {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.consorcio img {
  margin-bottom: 45px; /* 👈 separa imagen del botón */
}
.btn-consorcio {
  padding: 10px 25px;
  border: 2px solid #d4af37; /* dorado */
  color: #d4af37;
  background: transparent;
  text-decoration: none;
  font-weight: 500;
  border-radius: 30px;
  transition: 0.3s ease;
}

/* Hover elegante */
.btn-consorcio:hover {
  background: #d4af37;
  color: #020617;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.hrdivider{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: 100px;
  overflow: hidden;
  margin-top: 150px;
}

/* SECCIÓN */
.areas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1b2638, #121a26);
  padding: 110px 20px;
  color: #ffffff;
}

/* HEADER */
.areas-header {
  text-align: center;
  margin-bottom: 80px;
}

.areas-header .subtitle {
  color: #c9a66b;
  font-size: 18px;
  letter-spacing: 1px;
  position: relative;
}

.areas-header .subtitle::before,
.areas-header .subtitle::after {
  content: "";
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, transparent, #c9a66b, transparent);
  display: inline-block;
  margin: 0 12px;
}

.areas-header h2 {
  font-size: 40px;
  font-weight: 500;
  margin-top: 10px;
}

/* GRID */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* CARD */
.area-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  padding: 35px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* glow dorado */
.area-card::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(201,166,107,0.15), transparent 70%);
  top: -50%;
  left: -50%;
  opacity: 0;
  transition: 0.5s;
}

.area-card:hover::after {
  opacity: 1;
}

.area-card:hover {
  transform: translateY(-10px);
  border: 1px solid rgba(201,166,107,0.4);
}

/* ICONO */
.icon {
  flex-shrink: 0; /* evita que se deforme */
}

.icon svg {
  width: 40px;
  height: 40px;
  display: block;
}

/* TITULO */
.area-card {
  display: flex;
  align-items: center; /* centra verticalmente */
  gap: 20px; /* espacio entre icono y texto */
}
.area-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

/* TEXTO */
.area-card p {
  font-size: 14px;
  color: #cfcfcf;
  line-height: 1.6;
}

/* FOOTER */
.areas-footer {
  text-align: center;
  margin-top: 80px;
}

.areas-footer p {
  font-size: 18px;
  color: #c9a66b;
}

/* ANIMACIÓN */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.card-center {
  grid-column: 2;
}

/* ===== CONSORCIO + AREAS RESPONSIVE ===== */

/* TABLET */
@media (max-width: 1024px) {

  .consorcio img {
    width: 240px;
    height: 240px;
  }

  .hrdivider {
    margin-top: 100px;
    height: 80px;
  }

  .areas {
    padding: 90px 20px;
  }

  .areas-header h2 {
    font-size: 32px;
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr); /* 🔥 3 → 2 */
    gap: 30px;
  }

  .area-card {
    padding: 30px;
  }
}


/* MOBILE */
@media (max-width: 768px) {

  .consorcio img {
    width: 200px;
    height: 200px;
  }

  .consorcio:hover img {
    transform: none; /* 🔥 evita zoom molesto en mobile */
  }

  .hrdivider {
    margin-top: 60px;
    height: 60px;
  }

  .areas {
    padding: 60px 15px;
  }

  .areas-header {
    margin-bottom: 50px;
  }

  .areas-header h2 {
    font-size: 26px;
  }

  .areas-header .subtitle {
    font-size: 16px;
  }

  .areas-grid {
    grid-template-columns: 1fr; /* 🔥 1 columna */
    gap: 20px;
  }

  /* 🔥 cards en columna */
  .area-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 20px;
  }

  .area-card h3 {
    font-size: 16px;
  }

  .area-card p {
    font-size: 13px;
  }

  .icon svg {
    width: 30px;
    height: 30px;
  }

  .areas-footer p {
    font-size: 16px;
  }

  /* 🔥 centra cards especiales */
  .card-center {
    grid-column: auto;
  }
}


/* EXTRA CHICO */
@media (max-width: 400px) {

  .consorcio img {
    width: 160px;
    height: 160px;
  }

  .areas-header h2 {
    font-size: 22px;
  }

  .area-card {
    padding: 20px 15px;
  }

  .area-card p {
    font-size: 12px;
  }
}





/* SECCION ETICA PREMIUM */
.etica {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 20px;
  padding-right: 20px;
  background: linear-gradient(to bottom, #121a26 0%, #1b2638 50%, #0f172a 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hrdivider2{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;;
  height: 100px;
  overflow: hidden;
  margin-top: 90px;
  margin-bottom: 100px;
}

.ideas .hrdivider2{
  margin-bottom: -50px;
}

.etica-container {
  max-width: 650px;
  text-align: center;
}

/* LINEA DECORATIVA */
.etica-line {
  display: block;
  width: 60px;
  height: 2px;
  background-color: #c9a66b;
  margin: 0 auto 25px auto;
}

/* TITULO */
.etica h2 {
  font-size: 34px;
  color: white;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* TEXTO */
.etica-text {
  font-size: 16px;
  color: #a6a0a0;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* BOTON PREMIUM */
.btn-etica {
  display: inline-block;
  margin-top: 25px;
  margin-bottom: 0px;
  padding: 12px 35px;
  border: 1px solid #c9a66b;
  color: #c9a66b;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

/* EFECTO HOVER ELEGANTE */
.btn-etica:hover {
  background-color: #c9a66b;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}


.ideas {
  padding-top: 0px;
  padding-left: 0px;
  padding-right: 0px;
  padding-bottom: 100px;
  background: linear-gradient(180deg, #0f172a, #020617);
  color: #fff;
}

.ideas-header {
  text-align: center;
  margin-bottom: 60px;
}

.ideas-header .subtitle {
  color: #C9A66B;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ideas-header h2 {
  font-size: 36px;
  margin-top: 10px;
}

.ideas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.idea-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 166, 107, 0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  text-align: center;
}

.idea-card:hover {
  transform: translateY(-10px);
  border-color: #C9A66B;
  box-shadow: 0 10px 30px rgba(201, 166, 107, 0.2);
}

.idea-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: grayscale(100%);
  transition: 0.4s;
}

.idea-card:hover img {
  filter: grayscale(0%);
}

.idea-content {
  padding: 20px;
}

.idea-content .frase {
  font-style: italic;
  font-size: 14px;
  margin-bottom: 15px;
  color: #e5e7eb;
}

.idea-content h4 {
  margin: 0;
  font-size: 18px;
  color: #fff;
}

.idea-content span {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: #C9A66B;
}
.idea-card {
  backdrop-filter: blur(10px);
}
.ideas-container {
  max-width: 1400px;
  margin: 0 auto; /* 🔥 ESTO LO CENTRA */
}

/* Agranda SOLO las imágenes */
.idea-card img {
  height: 280px; /* podés probar 300px si querés más grande */
}


/* ===== ETICA + IDEAS RESPONSIVE ===== */

/* TABLET */
@media (max-width: 1024px) {

  .hrdivider2 {
    margin-top: 70px;
    margin-bottom: 70px;
    height: 80px;
  }

  .etica h2 {
    font-size: 28px;
  }

  .etica-text {
    font-size: 15px;
  }

  .ideas-header h2 {
    font-size: 30px;
  }

  .ideas-grid {
    gap: 25px;
  }

  .idea-card img {
    height: 240px;
  }
}


/* MOBILE */
@media (max-width: 768px) {

  .etica {
    padding: 0 15px;
  }

  .hrdivider2 {
    margin-top: 50px;
    margin-bottom: 50px;
    height: 60px;
  }

  .etica-container {
    max-width: 100%;
  }

  .etica h2 {
    font-size: 24px;
  }

  .etica-text {
    font-size: 14px;
  }

  .btn-etica {
    padding: 10px 25px;
    font-size: 13px;
  }

  /* IDEAS */
  .ideas {
    padding-bottom: 60px;
  }

  .ideas-header {
    margin-bottom: 40px;
  }

  .ideas-header h2 {
    font-size: 26px;
  }

  .ideas-header .subtitle {
    font-size: 12px;
  }

  .ideas-grid {
    grid-template-columns: 1fr; /* 🔥 1 sola columna */
    gap: 20px;
  }

  .idea-card {
    border-radius: 12px;
  }

  .idea-card:hover {
    transform: none; /* 🔥 evita bug en mobile */
  }

  .idea-card img {
    height: 200px;
  }

  .idea-content {
    padding: 15px;
  }

  .idea-content h4 {
    font-size: 16px;
  }

  .idea-content .frase {
    font-size: 13px;
  }

  .idea-content span {
    font-size: 12px;
  }
}


/* EXTRA CHICO */
@media (max-width: 400px) {

  .etica h2 {
    font-size: 20px;
  }

  .etica-text {
    font-size: 13px;
  }

  .idea-card img {
    height: 180px;
  }

  .idea-content h4 {
    font-size: 15px;
  }
}

/* compliance seccion y credenciales */

.credentials {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #020617, #0f172a);
  
  padding-top: 10px;
  margin-bottom: 0px;
  text-align: center;
}

.compliance-credential {
  position: relative;
  border-radius: 15px;
  height: 300px;
  overflow: hidden;

  /* Transiciones suaves */
  transition: transform 0.4s ease, box-shadow 0.4s ease;

  /* Necesario para 3D */
  transform-style: preserve-3d;
}

/* Efecto 3D al pasar el mouse */
.compliance-credential:hover {
  transform: perspective(1000px) rotateY(10deg) rotateX(5deg) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}


/* CONTACTO */
.contact {
  background-color: #e9e9e9;
  padding: 100px 20px;
}

.contacto-form {
  text-align: center;
  margin-bottom: 50px;
}

.subtitle::before,
.subtitle::after {
  content: "";
  width: 40px;
  height: 1px;
  background-color: #c9a66b;
  display: inline-block;
  margin: 0 10px;
}

.contacto-form h2 {
  font-size: 38px;
  color: #2a2a2a;
}

/* FORM */
.form input,
.form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: none;
  background-color: #dcdcdc;
}

.row {
  display: flex;
  gap: 20px;
}

.row input {
  width: 100%;
}

.form textarea {
  height: 180px;
}

.form-footer {
  text-align: right;
}

.form button {
  padding: 12px 35px;
  border: 1px solid #c9a66b;
  background: transparent;
  color: #c9a66b;
}

.form button:hover {
  background-color: #c9a66b;
  color: #ffffff;
}
.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ===== CREDENTIALS + CONTACTO RESPONSIVE ===== */

/* TABLET */
@media (max-width: 1024px) {

  .compliance-credential {
    height: 420px;
  }

  .contact {
    padding: 80px 20px;
  }

  .contacto-form h2 {
    font-size: 32px;
  }

  .form-wrapper {
    max-width: 90%;
    padding: 30px;
  }
}


/* MOBILE */
@media (max-width: 768px) {

  .credentials {
    padding: 30px 15px;
  }

  .compliance-credential {
    height: 320px;
  }

  /* 🔥 desactivar efecto 3D en mobile */
  .compliance-credential:hover {
    transform: none;
    box-shadow: none;
  }

  /* CONTACTO */
  .contact {
    padding: 60px 15px;
  }

  .contacto-form {
    margin-bottom: 30px;
  }

  .contacto-form h2 {
    font-size: 26px;
  }

  /* 🔥 inputs en columna */
  .row {
    flex-direction: column;
    gap: 0;
  }

  .form input,
  .form textarea {
    padding: 12px;
    font-size: 14px;
  }

  .form textarea {
    height: 140px;
  }

  .form-footer {
    text-align: center;
  }

  .form button {
    width: 100%;
    padding: 12px;
  }

  .form-wrapper {
    padding: 25px;
  }
}


/* EXTRA CHICO */
@media (max-width: 400px) {

  .compliance-credential {
    height: 260px;
  }

  .contacto-form h2 {
    font-size: 22px;
  }

  .form-wrapper {
    padding: 20px;
  }

  .form textarea {
    height: 120px;
  }
}


.footer{
background:#1e2a3a;
color:white;
padding:60px 20px 20px 20px;
}

.footer-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:40px;
max-width:1200px;
margin:auto;
}

.footer-col h3,
.footer-col h4{
color:#b89b6d;
margin-bottom:15px;
}

.footer-col p,
.footer-col li{
font-size:14px;
color:#ccc;
margin-bottom:8px;
}

.footer-col ul{
list-style:none;
padding:0;
}

.footer-bottom{
text-align:center;
margin-top:40px;
border-top:1px solid rgba(255,255,255,0.1);
padding-top:20px;
font-size:13px;
color:#aaa;
}

/* ===== FOOTER RESPONSIVE ===== */

/* TABLET */
@media (max-width: 1024px) {

  .footer {
    padding: 50px 20px 20px;
  }

  .footer-container {
    gap: 30px;
  }

  .footer-col h3,
  .footer-col h4 {
    font-size: 16px;
  }

  .footer-col p,
  .footer-col li {
    font-size: 13px;
  }
}


/* MOBILE */
@media (max-width: 768px) {

  .footer {
    padding: 40px 15px 20px;
    text-align: center;
  }

  .footer-container {
    grid-template-columns: 1fr; /* 🔥 1 columna */
    gap: 25px;
  }

  .footer-col ul {
    padding: 0;
  }

  .footer-col li {
    margin-bottom: 6px;
  }

  .footer-bottom {
    margin-top: 30px;
    font-size: 12px;
  }
}


/* EXTRA CHICO */
@media (max-width: 400px) {

  .footer {
    padding: 30px 10px 15px;
  }

  .footer-col h3,
  .footer-col h4 {
    font-size: 14px;
  }

  .footer-col p,
  .footer-col li {
    font-size: 12px;
  }

  .footer-bottom {
    font-size: 11px;
  }
}