:root {
  --azul: #1C2A3A;
  --blanco: #ffffff;
  --gris: #B4B4B4;
  --dorado: #C1A875;
  --beige: #f5f1ec;
  --fuente-serif: 'Playfair Display', serif;
  --fuente-sans: 'Open Sans', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--fuente-sans);
  background-color: var(--beige);
  color: var(--azul);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  background-color: var(--azul);
  color: var(--blanco);
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--blanco);
}

.logo-header {
  height: 95px;
  margin-right: 1rem;
}

.nombre h1 {
  font-family: var(--fuente-serif);
  font-size: 1.5rem;
  margin: 0;
}

.nombre p {
  font-size: 0.9rem;
  margin: 0;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--blanco);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--dorado);
}

.hero {
  background-image: url('/img/hero.png');
  background-size: cover;
  background-position: center;
  padding: 6rem 0;
  text-align: center;
  color: var(--blanco);
  
}

.hero h2 {
  font-size: 2.5rem;
  font-family: var(--fuente-serif);
  margin-bottom: 1rem;
  color:var(--blanco);
}

.btn {
  display: inline-block;
  background-color: var(--dorado);
  color: var(--azul);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #a88c5c;
}

.nosotros {
  padding: 4rem 0;
}

.nosotros-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.nosotros .texto {
  flex: 1;
}

.nosotros .imagen {
  flex: 1;
}

.nosotros img {
  width: 45%;
  border-radius: 8px;
}

.areas {
  background-color: var(--blanco);
  padding: 4rem 0;
}

.areas h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--azul);
}

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

.tarjeta {
  background-color: var(--beige);
  border: 1px solid var(--gris);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tarjeta i {
  font-size: 2rem;
  color: var(--dorado);
  margin-bottom: 1rem;
}

.publicaciones {
  padding: 4rem 0;
}

.publicaciones h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.publicaciones .tarjeta {
  position: relative;
}

.publicaciones .btn {
  margin-top: 1rem;
  display: inline-block;
}
footer {
  background-color: var(--azul);
  color: var(--blanco);
  padding: 2rem 0;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}

.footer-links,
.footer-contacto,
.footer-logo {
  flex: 1 1 200px;
}

.footer-links h4,
.footer-contacto h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-family: var(--fuente-serif);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a,
.footer-contacto a,
.footer-creditos a,
.redes a {
  color: var(--blanco);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contacto a:hover,
.footer-creditos a:hover,
.redes a:hover {
  color: var(--dorado);
  text-decoration: underline;
}

.footer-contacto p {
  margin: 0.3rem 0;
}

.redes {
  margin-top: 1rem;
}

.redes a {
  font-size: 1.4rem;
  margin-right: 1rem;
}

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

.logo-footer {
  height: 120px;
  max-width: 100%;
}

.footer-creditos {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--gris);
}

.footer-creditos a {
  color: #0077cc;
}

.footer-creditos a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .footer-logo {
    order: -1;
    margin-bottom: 1rem;
  }

  .redes a {
    margin: 0 0.5rem;
  }
}