/* =====================================
   RESET
===================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =====================================
   TIPOGRAFÍA GENERAL
===================================== */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f5f5f5;
  color: #111;
  padding-top: 120px;
  caret-color: transparent;
}

/* =====================================
   HEADER
===================================== */
header {
  position: fixed;   /* 👈 cambia relative por fixed */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 100px;
  background-color: white;
  border-bottom: 1px solid #525252;
}

.logo {
  display: block;
}

.logo img {
  height: 62px;
  width: auto;
  display: block;
}

.logo:visited {
  color: #111;             /* 🔥 evita morado */
}

.logo:hover {
  opacity: 0.6;            /* opcional elegante */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #111;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.8px;
  transition: opacity 0.3s ease;
}

nav a:hover {
  opacity: 0.6;
}

/* =====================================
   HERO (HOME)
===================================== */
.hero {
  height: 87vh;
  background-color: #f4f1eb;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 30px;
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.hero-content p {
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-top: 10px;  /* ajusta separación */
}

/* =====================================
   SERVICES (HOME)
===================================== */
.services {
  display: flex;
  justify-content: space-between;
  padding: 120px 80px 60px;
  background-color: white;
  gap: 40px;
}

.service {
  flex: 1;
}

.service h2 {
  font-size: 20px;
  margin-bottom: 1px;
}

.service h2 a {
  text-decoration: none;
  color: #111;
  transition: opacity 0.3s ease;
}

.service h2 a:hover {
  opacity: 0.6;
}

.service p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 340px;
}

/* =====================================
   ARCHITECTURE PAGE
===================================== */

.page-hero {
  padding: 90px 30px 0px;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 10px;   /* antes 5px */
}

.page-intro {
  max-width: 560px;
  margin: 0 auto 60px;   /* espacio naranja más grande */
  padding: 0 20px;
  text-align: center;
}

.page-intro p {
  margin-top: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #666;   /* gris elegante, más suave que negro */
}

/* =====================================
   PROJECTS GRID
===================================== */

.projects-grid {
  display: grid;
  gap: 40px;

  max-width: 1200px;
  margin: 0 auto;
  padding: 5px 40px 100px;

  grid-template-columns: repeat(3, 1fr); /* 100% = 3 columnas */
}

/* TARJETAS */
.project-card {
  text-align: center;
}

/* PLACEHOLDER IMAGEN */
.project-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: #d9d6cf;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

.project-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;

filter: grayscale(100%) contrast(95%);
  transition: filter 0.6s ease, transform 0.6s ease;
}

.project-card:hover .project-image img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

/* SI USAS IMÁGENES REALES */
.project-card img {
  display: block;
}

/* TÍTULO PROYECTO */
.project-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.8px;
  margin-top: 8px;
  transition: opacity 0.3s ease;
}

.project-card:hover h3 {
  opacity: 0.7;
}

.project-card {
  text-align: center;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.project-card:hover {
  transform: translateY(-6px);
}

/* Imagen */
.project-image {
  overflow: hidden;
  transition: transform 0.6s ease;
}

.project-card:hover .project-image {
  transform: scale(1.04);
}

/* =========================
   PROJECT PAGE
========================= */

.project-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 90px);
  overflow: hidden;
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-info {
  max-width: 700px;
  margin: 80px auto;
  text-align: center;
  padding: 0 20px;
}

.project-info h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.project-info p {
  color: #666;
  line-height: 1.6;
}

.project-gallery {
  max-width: 1400px;
  margin: 80px auto 120px;
  padding: 0 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-gallery img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  cursor: pointer;
}

/* =========================
   DRAWINGS SECTION TITLE
========================= */

.drawings-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 120px auto 30px;
  max-width: 1400px;
  padding: 0 80px;
}

.drawings-title::before,
.drawings-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e5e5;
}

.drawings-title span {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888;
}


/* =========================
   HERO WITH TEXT OVER IMAGE
========================= */

.project-hero-text {
  position: absolute;
  bottom: 40px;
  left: 100px;   /* alinea con contenido general */
  
  background: rgba(255,255,255,0.28);
  backdrop-filter: blur(6px);

  padding: 18px 28px;

  max-width: 420px;  /* controla ancho elegante */
}


.project-hero-text h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin-bottom: 5px;
  color: #111;
}


.project-hero-text p {
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: #202020;
}


.project-description {
  max-width: 600px;
}

.project-meta {
  text-align: left;
}


/* =========================
   PROJECT DETAILS
========================= */

.project-details {
  max-width: 1400px;
  margin: 80px auto;  /* antes 120px */
  padding: 0 80px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 120px;
}

.project-description p {
  margin-bottom: 25px;
  line-height: 1.7;
  color: #444;
}

.project-meta h4 {
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 5px;
  text-transform: uppercase;
  color: #888;
}

.project-meta p {
  margin-bottom: 30px;
}

.project-meta span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  display: block;
  margin-bottom: 4px;
}

.project-description span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  display: block;
  margin-bottom: 4px;
}


/* =====================================
   RESPONSIVE REAL (NO AFECTA ZOOM)
===================================== */

/* Ajuste contenedor en pantallas más pequeñas */
@media (max-width: 1400px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet real */
@media (max-width: 800px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Móvil */
@media (max-width: 500px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   HAMBURGER MENU
============================== */

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  margin-left: auto; /* 👈 empuja hacia la derecha */
}

/* Tablet y móvil */
@media (max-width: 900px) {

  .hamburger {
    display: block;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    flex-direction: column;
    background: white;
    padding: 20px;
    gap: 15px;
    border: 1px solid #ddd;
  }

  nav ul.active {
    display: flex;
  }

  header {
    padding: 30px 20px;
  }
}

/* =====================================
   TABLET SMOOTH TRANSITION FIX
===================================== */

@media (max-width: 1100px) and (min-width: 769px) {

  /* GALLERY */
  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 50px;
    gap: 25px;
  }

  .project-gallery img {
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }

  /* FOOTER */
  .footer-line {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-left,
  .footer-right {
    gap: 30px;
  }

  .footer-brand {
    text-align: center;
    width: 100%;
  }

}

/* =========================
   SERVICES MOBILE FIX
========================= */
@media (max-width: 768px) {

  .services {
    flex-direction: column;
    padding: 40px 30px;
  }

  .service {
    margin-bottom: 10px;   /* 👈 antes 50px, ahora más compacto */
  }

  .service h2 {
    margin-bottom: 8px;    /* 👈 menos espacio entre título y texto */
  }

  .service p {
    max-width: 280px;
    line-height: 1.6;
  }

}

/* =========================
   LIGHTBOX CLEAN PRO
========================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

/* Imagen centrada real */
.lightbox-img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Flechas laterales */
.prev,
.next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 20px;
  transition: opacity 0.3s ease;
}

.prev {
  left: 40px;
}

.next {
  right: 40px;
}

.prev:hover,
.next:hover {
  opacity: 0.6;
}

/* Botón cerrar */
.close {
  position: fixed;
  top: 30px;
  right: 40px;
  font-size: 35px;
  color: white;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.close:hover {
  opacity: 0.6;
}


/* =========================
   LIGHTBOX ARROWS FIX
========================= */

.lightbox .prev,
.lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  cursor: pointer;
  padding: 20px;
  user-select: none;
  z-index: 3000;
  transition: opacity 0.3s ease;
}

.lightbox .prev:hover,
.lightbox .next:hover {
  opacity: 0.6;
}

.lightbox .prev {
  left: 40px;
}

.lightbox .next {
  right: 40px;
}

/* ==============================
   FOOTER MINIMAL REFINED
============================== */

.site-footer {
  margin-top: auto;
  padding: 35px 80px;
  border-top: 1px solid #e5e5e5;
  background: #f5f5f5;
  position: relative;
}


.footer-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
   position: relative; /* 👈 importante */
}

.footer-left,
.footer-right {
  display: flex;
  gap: 35px;
}

.footer-social-text {
  display: flex;
  gap: 40px;   /* ← aquí ajustas el espacio fino */
}


.footer-left a,
.footer-right a {
  text-decoration: none;
  color: #777;
  transition: opacity 0.3s ease;
}

.footer-left a:hover,
.footer-right a:hover {
  opacity: 0.5;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.4px;
  text-transform: none;
  color: #222;
  text-align: center;   /* 👈 asegura centrado */
}

.footer-copy {
  font-family: 'Inter', sans-serif;   /* más técnico */
  font-size: 0.6rem;                 /* 👈 más pequeño */
  letter-spacing: 1px;
  color: #777;
  margin-top: 6px;
  text-align: center;
}

/* =========================
   FOOTER TABLET FIX CLEAN
========================= */

@media (max-width: 1200px) and (min-width: 769px) {

  .footer-line {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    row-gap: 20px;
  }

  .footer-left {
    order: 1;
  }

  .footer-right {
    order: 2;
  }

  .footer-brand {
    order: 3;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

}


/* ==============================
   WHATSAPP DROPDOWN
============================== */

.footer-whatsapp {
  position: relative;
  cursor: pointer;
}

.footer-whatsapp span {
  color: #777;
  transition: opacity 0.3s ease;
}

.footer-whatsapp:hover span {
  opacity: 0.5;
}

.whatsapp-dropdown {
  position: absolute;
  bottom: 25px;
  right: 0;
  background: white;
  border: 1px solid #e5e5e5;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1000;   /* 👈 AGREGA ESTO */
}

.whatsapp-dropdown a {
  text-decoration: none;
  color: #666;
  transition: opacity 0.3s ease;
}

.whatsapp-dropdown a:hover {
  opacity: 0.6;
}

.footer-whatsapp:hover .whatsapp-dropdown {
  opacity: 1;
  pointer-events: auto;
}

.footer-whatsapp a {
  text-decoration: none;
  color: #777;
  transition: opacity 0.3s ease;
}

.footer-whatsapp a:hover {
  opacity: 0.5;
}

.footer-right a,
.footer-right a:visited {
  color: #777;
  text-decoration: none;
}

/* =====================================
   MOBILE FIXES DEFINITIVOS
===================================== */

@media (max-width: 768px) {

  /* =====================
     HEADER MOBILE
  ===================== */

  header {
    padding: 25px 20px;
  }

  body {
    padding-top: 90px;
  }

  nav ul {
    right: 0;
    width: 100%;
    text-align: center;
  }

  /* =====================
     PROJECT GRID MOBILE
  ===================== */

  .projects-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 30px;
  }

  /* =====================
     PROJECT DETAILS MOBILE
  ===================== */

  .project-details {
    grid-template-columns: 1fr;
    padding: 0 25px;
    gap: 40px;
  }

  .project-description p {
    margin-bottom: 20px;
  }

  /* =====================
     GALLERY MOBILE
  ===================== */

  .project-gallery {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 20px;
  }

  .project-gallery img {
    height: auto;
  }

  /* =====================
     HERO TEXT MOBILE
  ===================== */

  .project-hero-text {
    left: 20px;
    bottom: 40px;
  }

  .project-hero-text h1 {
    font-size: 2rem;
  }

  /* =====================
     FOOTER MOBILE
  ===================== */

  .footer-line {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .footer-brand {
    font-size: 1rem;
    line-height: 1.6;
  }

}

/* =========================
   FOOTER MOBILE ICONS
========================= */

.footer-social-icons {
  display: none;
}

.footer-social-icons img {
  width: 26px;
  height: 26px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-social-icons img:hover {
  opacity: 1;
}

/* MOBILE VERSION */
@media (max-width: 768px) {

  .footer-line {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    gap: 15px;
  }

  .footer-social-text {
    display: none;
  }

  .footer-social-icons {
    display: flex;
    gap: 25px;
    justify-content: center;
  }

  .footer-social-icons img {
  width: 26px;
  height: auto;
  max-height: 26px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  display: block;
}

  .footer-brand {
    order: 3;
  }

}

/* =========================
   DRAWINGS SLIDER CLEAN
========================= */

.drawings-gallery {
  max-width: 800px;        /* más horizontal */
  margin: 60px auto 0%;  /* menos espacio abajo */
  overflow: hidden;
  position: relative;
}


.drawings-gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s ease;
}

.drawings-gallery img {
  min-width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  cursor: pointer;   /* 👈 ESTA LÍNEA ES LA IMPORTANTE */
}


.drawings-dots {
  display: flex;
  justify-content: center;
  margin: 20px auto 80px;   /* separación controlada */
  gap: 8px;
  position: relative;
  z-index: 10;
}

.drawings-dots span {
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.drawings-dots span.active {
  background: #444;
}

/* =====================================
   OFFICE PAGE CLEAN
===================================== */

/* HERO */
.project-hero {
  position: relative;
  width: 100%;
  height: 82vh; /* altura elegante, no exagerada */
  overflow: hidden;
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  }

/* TEXTO CENTRADO SOBRE HERO */
.project-hero .hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.project-hero .hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 100;
  letter-spacing: 1px;
  margin-bottom: 1px;
}

.project-hero .hero-content p {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.9;
}

/* INTRO TEXTO */
.project-details {
  max-width: 750px;
  margin: 50px auto;
  padding: 0 30px;
}

.project-description p {
  line-height: 1.8;
  color: #444;
  margin-bottom: 25px;
}

/* SOCIOS */
.office-team {
  max-width: 1400px;
  margin: 30px auto;
  padding: 0 80px;
}

.office-team h2 {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;          /* MÁS PEQUEÑO */
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 60px;
}


/* GRID EQUIPO */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  max-width: 1100px;   /* 🔥 controla ancho total */
  margin: 0 auto;      /* centra el bloque */
}


.team-member {
  text-align: center;
  text-decoration: none;
  color: #111;
}

.team-member img {
  width: 85%;                /* 🔥 más pequeñas */
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  margin: 0 auto 15px auto;  /* centradas */
  display: block;
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.4s ease;
}


.team-member:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.team-member h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.1rem;
  margin-top: 18px;
  margin-bottom: 4px;
}

.team-member span {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #777;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .project-hero {
    height: 60vh;
  }

  .project-hero .hero-content h1 {
    font-size: 2rem;
  }
}

/* =====================================
   OFICINA PAGE – AISLADO (NO AFECTA OTRAS PÁGINAS)
===================================== */

.office-hero {
  position: relative;
  width: 100%;
  height: 90vh; /* Más elegante */
  min-height: 650px;
  overflow: hidden;
}

.office-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

/* Texto hero centrado limpio */
.office-hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.office-hero-text h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.3rem;
  font-weight: 400;
  letter-spacing: 4px;
  margin-bottom: 1px;
}

.office-hero-text p {
  max-width: 520px;
  font-size: 0.9rem;
  line-height: 1.6;
  letter-spacing: 1px;
  font-weight: 300;
}

.office-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}


/* Ajuste sección texto */
.office-intro {
  max-width: 750px;
  margin: 120px auto 80px;
  padding: 0 30px;
}

.office-intro p {
  line-height: 1.8;
  color: #444;
  margin-bottom: 25px;
}

/* Espaciado secciones */
.office-section {
  margin: 80px auto;
}


/* =========================
   MISION - VISION - VALORES
========================= */

.office-values {
  max-width: 1000px;
  margin: 180px auto;
  padding: 0 60px;
}

.office-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
}

.office-value-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.office-value-item p {
  font-size: 0.92rem;
  line-height: 2;
  color: #3a3a3a;
}

.office-value-item ul {
  list-style: none;
  padding: 0;
}

.office-value-item li {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #444;
}

/* Responsive */
@media (max-width: 900px) {
  .office-values-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.office-divider {
  width: 100%;
  height: 1px;
  background: #222222;
}

.office-manifesto {
  max-width: 820px;
  margin: 100px auto 120px;
  padding: 0 40px;
  text-align: center;
}

.office-manifesto p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: 400;
  color: #3a3a3a;
}

.manifesto-line {
  width: 60px;
  height: 1px;
  background: #cfcfcf;
  margin: 0 auto 40px;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: #e5e5e5;
  margin: 140px 0 100px;
}

.office-closing {
  text-align: center;
  margin: 160px 0 120px;
}

.office-closing p {
  font-size: 1.1rem;
  color: #8a8a8a;
  font-style: italic;
}

.partner-hero {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 120px;
  max-width: 1100px;
  margin: 180px auto;
  padding: 0 80px;
  align-items: center;
}


.partner-image img {
  width: 100%;
  max-width: 420px;
  filter: grayscale(100%);
  display: block;
}


.partner-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.7rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.partner-content span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 40px;
}

.partner-content p {
  line-height: 2;
  max-width: 520px;
  margin-bottom: 20px;
  color: #444;
}

/* =========================
   PARTNER PAGE MOBILE FIX
========================= */

@media (max-width: 768px) {

  .partner-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 100px auto 60px;
    padding: 0 25px;
  }

  .partner-image {
    order: -1; /* Imagen arriba */
  }

  .partner-image img {
    width: 100%;
  }

  .partner-content h1 {
    font-size: 2rem;
  }

  .partner-content p {
    line-height: 1.8;
  }

}

/* =====================================
   CONTACT PAGE
===================================== */

.contact-hero {
  text-align: center;
  margin: 160px auto 100px;
  max-width: 700px;
  padding: 0 30px;
}

.contact-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.contact-line {
  width: 60px;
  height: 1px;
  background: #cfcfcf;
  margin: 0 auto 30px;
}

.contact-hero p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

.contact-section {
  max-width: 1200px;
  margin: 120px auto 160px;
  padding: 0 60px;
}

.contact-grid {
 display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
}

/* FORM */

.contact-form label {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #666;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #d8d8d8;
  padding: 12px 0;
  background: transparent;
  font-size: 0.85rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom: 1px solid #4a4a4a;
}


.contact-button {
  background: #3a3a3a;
  color: white;
  border: none;
  padding: 14px 40px;
  letter-spacing: 2px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 25px; /* 👈 agrega esto */
}

.contact-button:hover {
  background: #6a6a6a;
  transform: translateY(-2px);
}

.contact-button:active {
  transform: translateY(0);
}

.contact-form a,
.contact-form a:visited {
  color: #111;          /* mismo color del texto */
  text-decoration: underline;
}

.contact-form a:hover {
  opacity: 0.6;         /* hover elegante, no azul */
}


/* INFO */

.contact-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: lowercase;
  margin-bottom: 25px;
}




.contact-info p {
  margin-bottom: 18px;
  line-height: 1.7;
  color: #444;
}

.contact-detail {
  font-weight: 500;
}

.contact-small {
  font-size: 0.85rem;
  color: #666;
}

.contact-detail a {
  text-decoration: none;
  color: #111;
  transition: opacity 0.3s ease;
}

.contact-detail a:hover {
  opacity: 0.6;
}


/* RESPONSIVE */

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-section {
    padding: 0 30px;
  }
}

.whatsapp-button {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 25px;
  border: 1px solid #111;
  text-decoration: none;
  color: #111;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  background: #3a3a3a;
  color: white;
}

/* =====================================
   BLOG PAGE
===================================== */

.blog-hero {
  text-align: center;
  margin: 90px auto 90px;
  max-width: 700px;
  padding: 0 30px;
}


.blog-hero h1 {
  font-size: 1.6rem;
  letter-spacing: 2px;
}



.blog-line {
  width: 60px;
  height: 1px;
  background: #cfcfcf;
  margin: 0 auto 30px;
}

.blog-hero p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

/* GRID */

.blog-categories,
.blog-posts {
  max-width: 1200px;
  margin: 0 auto 200px;
  padding: 0 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 60px;
}


.blog-category h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
  transition: letter-spacing 0.3s ease;
}

.blog-category p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555;
  max-width: 260px;
}

/* Hover elegante */

.blog-category {
  transition: transform 0.4s ease, opacity 0.4s ease;
  cursor: pointer;
}

.blog-category:hover {
  transform: translateY(-6px);
  opacity: 0.85;
  letter-spacing: 1px;
}

/* Responsive */

@media (max-width: 900px) {
  .blog-categories {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 0 30px;
  }
}

/* =========================
   BLOG FEATURED HERO
========================= */

.blog-featured {
  position: relative;
  max-width: 1400px;
  margin: 100px auto 110px;
}

.blog-featured-image img {
  width: 100%;
  height: 550px;
  object-fit: cover;
    filter: 
    grayscale(40%) 
    contrast(105%) 
    saturate(75%) 
    brightness(95%);
}

.blog-featured-content {
  position: absolute;
  bottom: 80px;
  left: 100px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 50px;
  max-width: 520px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.06);
}

.blog-featured-content span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
  display: block;
  margin-bottom: 10px;
}

.blog-featured-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 18px;
}

.blog-featured-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #444;
}

/* =========================
   BLOG CARDS
========================= */

.blog-categories {
  max-width: 1200px;
  margin: 0 auto 200px;
  padding: 0 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 60px;
}

.blog-card {
  cursor: pointer;
  transition: transform 0.5s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 25px;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(105%) brightness(95%);
  transition: filter 0.6s ease, transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.blog-card-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.blog-card-content p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555;
  max-width: 280px;
}

/* Responsive */

@media (max-width: 900px) {
  .blog-categories {
    grid-template-columns: 1fr;
    padding: 0 30px;
    gap: 60px;
  }
}


/* =========================
   ARTICLE PAGE
========================= */

.article-hero img {
  width: 100%;
  height: 65vh;
  object-fit: cover;
  filter: grayscale(35%) contrast(105%) brightness(95%);
}

.article-content {
  max-width: 720px;
  margin: 140px auto;
  padding: 0 30px;
}

.article-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.article-meta {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  display: block;
  margin-bottom: 40px;
}

.article-content p {
  line-height: 1.9;
  margin-bottom: 28px;
  color: #444;
}

.article-content blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  margin: 80px 0;
  text-align: center;
  color: #222;
  font-style: italic;
}


/* =========================
   COMMENTS SLIDER
========================= */

.article-comments {
  max-width: 800px;
  margin: 100px auto 160px;
  padding: 0 30px;
}

.article-comments h2 {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 60px;
}

.comments-slider {
  overflow: hidden;
  position: relative;
}

.comments-track {
  display: flex;
  transition: transform 0.8s ease;
}

.comment {
  min-width: 100%;
  text-align: center;
  padding: 0 40px;
}

.comment p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.comment span {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
}

.comments-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.comments-dots span {
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.comments-dots span.active {
  background: #444;
}

/* =========================
   COMMENTS — CLEAN CARD STYLE
========================= */

.comment {
  min-width: 100%;
  display: flex;
  justify-content: center;
}

.comment-card {
  max-width: 600px;
  background: white;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.05);
  text-align: left;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.comment-name {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #444;
}

.comment-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
}

.comment-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #111;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
}

/* =========================
   BLOG CATEGORY PAGE
========================= */

.category-hero {
  text-align: center;
  margin: 160px auto 120px;
  max-width: 700px;
  padding: 0 30px;
}

.category-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.category-hero p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

.category-posts {
  max-width: 1200px;
  margin: 0 auto 200px;
  padding: 0 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.post-card {
  cursor: pointer;
  transition: transform 0.4s ease;
}

.post-card:hover {
  transform: translateY(-6px);
}

.post-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 20px;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(95%);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.post-card:hover .post-image img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.post-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.post-content span {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
}

/* Responsive */
@media (max-width: 900px) {
  .category-posts {
    grid-template-columns: 1fr;
    padding: 0 30px;
  }
}

/* =========================
   BLOG FILTER NAV
========================= */

.blog-categories-nav {
  text-align: center;
  margin-bottom: 90px;
}

.blog-categories-nav a {
  text-decoration: none;
  color: #777;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 18px;
  position: relative;
  transition: color 0.3s ease;
}

.blog-categories-nav a:hover {
  color: #111;
}

.blog-categories-nav a.active {
  color: #111;
}

.blog-categories-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #111;
}

.back-link {
  display: inline-block;
  margin-bottom: 30px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #999;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #111;
}

/* =========================
   FEATURED LINK STYLE
========================= */

.featured-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #111;
  position: relative;
  transition: opacity 0.3s ease;
}

.featured-link::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #111;
  margin-top: 4px;
  transition: width 0.3s ease;
}

.featured-link:hover {
  opacity: 0.6;
}

/* =========================
   BLOG FILTER MOBILE FIX
========================= */

@media (max-width: 768px) {

  .blog-categories-nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 18px 40px; /* vertical 18px, horizontal 40px */
    margin-bottom: 60px;
  }

  .blog-categories-nav a {
    display: inline-block;
    margin: 0;
  }

}

/* =========================
   SERVICES PAGE — EDITORIAL PREMIUM
========================= */

/* HERO */

.services-hero {
  text-align: center;
  max-width: 640px;
  margin: 160px auto 120px;
  padding: 0 30px;
}

.services-hero h1 {
  font-family: 'Cormorant Garamond', serif;
   font-size: 2.8rem;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

/* INTRO */

.services-intro {
  max-width: 640px;
  margin: 0 auto 140px;
  padding: 0 30px;
}

.services-intro p {
  margin-bottom: 40px;
  line-height: 1.9;
  color: #444;
}

/* BLOCKS */

.services-block {
  max-width: 640px;
  margin: 0 auto 120px;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

.services-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* Número etapa */

.stage-number {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 14px;
}

/* Lista */

.services-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-block li {
  margin-bottom: 10px;
  font-size: 0.98rem;
  line-height: 1.85;
  color: #444;
  position: relative;
  padding-left: 20px;
}

.services-block li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #ccc;
}

/* Línea vertical */

.services-timeline {
  position: relative;
}

.services-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background-color: #e6e6e6;
  transform: translateX(-50%);
  z-index: 0;
}

/* CLOSURE */

.services-closure {
  max-width: 640px;
  margin: 200px auto 180px;
  padding: 0 30px;
  text-align: center;
}

.services-closure p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  line-height: 1.5;
}

/* =========================
   LEGAL PAGE — REFINED
========================= */

/* HERO */

.legal-hero {
  text-align: center;
  max-width: 620px;
  margin: 160px auto 120px;
  padding: 0 30px;
}

.legal-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.legal-hero p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
}


/* BLOQUES */

.legal-block {
  max-width: 620px;
  margin: 0 auto 120px;
  padding: 0 30px;
}

.legal-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.legal-block h3 {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
  margin-top: 45px;
  margin-bottom: 15px;
}

.legal-block p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #3a3a3a;
  margin-bottom: 20px;
}


/* UPDATE FOOTER */

.legal-update {
  max-width: 620px;
  margin: 100px auto 160px;
  padding: 0 30px;
  text-align: center;
}

.legal-update p {
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #888;
}

/* =========================
   COMMENT FORM — REFINED
========================= */

.comment-form {
  max-width: 640px;
  margin: 0 auto 80px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #d8d8d8;
  padding: 12px 0;
  background: transparent;
  font-size: 0.85rem;
  transition: border-color 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-bottom: 1px solid #111;
}

.comment-form textarea {
  resize: vertical;
  min-height: 90px;
}

.comment-form-footer {
  display: flex;
  justify-content: flex-start;
}

.comment-form button {
  background: #111;
  color: white;
  border: none;
  padding: 12px 32px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comment-form button:hover {
  background: #444;
  transform: translateY(-2px);
}

.comment-form button:active {
  transform: translateY(0);
}