/* ══════════════════════════════════════
   pages.css — estilos de páginas internas
   jhstudiomx
══════════════════════════════════════ */

/* ── Activo en menú drawer ── */
.menu-link.active {
  color: var(--gold);
}

/* ══════════════════════════════════════
   PAGE HEADER GENÉRICO
══════════════════════════════════════ */
.page-header {
  padding: 9rem 2.5rem 4rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.page-header h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 0.88rem;
  color: var(--gray-light);
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ══════════════════════════════════════
   PROYECTOS — grid de página completa
══════════════════════════════════════ */
.projects-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  padding: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pg-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  border-radius: 3px;
}

.pg-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1), filter 0.4s;
  filter: brightness(0.8);
}

.pg-card:hover img {
  transform: scale(1.07);
  filter: brightness(0.55);
}

.pg-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}

.pg-card:hover .pg-label {
  opacity: 1;
  transform: translateY(0);
}

.pg-label span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

/* ══════════════════════════════════════
   CONÓCENOS — Hero
══════════════════════════════════════ */
.about-hero {
  position: relative;
  height: 50vh;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--nav-h);
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background: #2a1f0e;
  background: radial-gradient(ellipse at center, #3d2b10 0%, #1a1208 60%, #0d0d0d 100%);
}

.about-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}

.about-hero-content h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.about-hero-content p {
  font-size: 0.9rem;
  color: var(--gray-light);
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ── Visión ── */
.about-vision {
  padding: 5rem 2.5rem;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.about-vision h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.about-vision p {
  font-size: 0.85rem;
  color: var(--gray-light);
  font-weight: 300;
  line-height: 1.95;
}

/* ── Valores ── */
.about-values {
  padding: 5rem 2.5rem;
  background: #111111;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.about-values-header {
  text-align: center;
  margin-bottom: 3rem;
}

.about-values-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.about-values-header p {
  font-size: 0.85rem;
  color: var(--gray-light);
  font-weight: 300;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.value-card {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 1.8rem 1.4rem;
  transition: border-color 0.3s, background 0.3s;
}

.value-card:hover {
  border-color: rgba(201,170,113,0.3);
  background: #1e1e1e;
}

.value-icon {
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.value-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  letter-spacing: 0.01em;
}

.value-card p {
  font-size: 0.75rem;
  color: var(--gray-light);
  font-weight: 300;
  line-height: 1.85;
}

/* ── Equipo ── */
.about-team {
  padding: 5rem 2.5rem;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.about-team h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-team p {
  font-size: 0.85rem;
  color: var(--gray-light);
  font-weight: 300;
  line-height: 1.95;
  margin-bottom: 1.2rem;
}

/* ── Quote ── */
.about-quote {
  padding: 5rem 2.5rem;
  text-align: center;
  background: #111111;
}

.about-quote h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-quote blockquote {
  font-size: 1rem;
  font-style: italic;
  color: var(--gray-light);
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  border: none;
}

/* ══════════════════════════════════════
   SERVICIOS
══════════════════════════════════════ */
.services-grid-section {
  padding: 4rem 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.srv-card {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 2.2rem 1.8rem;
  transition: border-color 0.3s;
}

.srv-card:hover {
  border-color: rgba(201,170,113,0.25);
}

.srv-icon {
  color: var(--gold);
  margin-bottom: 1.3rem;
}

.srv-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.srv-card p {
  font-size: 0.78rem;
  color: var(--gray-light);
  font-weight: 300;
  line-height: 1.9;
}

/* ── Proceso ── */
.proceso-section {
  padding: 3rem 2.5rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.proceso-box {
  background: #151515;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 3rem;
}

.proceso-box h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

.proceso-box p {
  font-size: 0.82rem;
  color: var(--gray-light);
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 1rem;
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Servicios CTA ── */
.srv-cta {
  padding: 3rem 2.5rem 5rem;
  max-width: 900px;
  margin: 0 auto;
}

.srv-cta-box {
  background: #111111;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 3rem;
  text-align: center;
}

.srv-cta-box h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.srv-cta-box p {
  font-size: 0.82rem;
  color: var(--gray-light);
  margin-bottom: 2rem;
  font-weight: 300;
}

.btn-gold {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--gold);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 3px;
  transition: background 0.3s;
}

.btn-gold:hover { background: #d4b87a; }

/* ══════════════════════════════════════
   CONTACTO
══════════════════════════════════════ */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  padding: 4rem 2.5rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h2,
.contact-form-wrap h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.ci-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.ci-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.25rem;
}

.ci-value {
  display: block;
  font-size: 0.82rem;
  color: var(--gray-light);
  font-weight: 300;
  line-height: 1.6;
}

.ci-link {
  transition: color 0.2s;
}

.ci-link:hover { color: var(--gold); }

.horario-box {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 1.5rem;
}

.horario-box h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 0.8rem;
}

.horario-box p {
  font-size: 0.8rem;
  color: var(--gray-light);
  font-weight: 300;
  line-height: 2;
}

/* ── Formulario ── */
.contact-form-wrap {
  background: #151515;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 2.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gray-light);
}

.form-group input,
.form-group textarea {
  background: #1e1e1e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.25s;
  resize: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(201,170,113,0.5);
}

.btn-submit {
  width: 100%;
  padding: 0.95rem;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 3px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover { background: #e8e8e8; }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.form-note {
  font-size: 0.68rem;
  color: var(--gray);
  text-align: center;
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 3px;
  padding: 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: #4ade80;
  margin-top: 1rem;
}

.form-error {
  display: none;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  font-size: 0.78rem;
  color: #f87171;
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* ── Reunión presencial ── */
.reunion-section {
  padding: 0 2.5rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.reunion-box {
  background: #111111;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 3rem;
  text-align: center;
}

.reunion-box h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.reunion-box p {
  font-size: 0.82rem;
  color: var(--gray-light);
  font-weight: 300;
}

.reunion-sub {
  margin-top: 0.4rem;
  font-size: 0.75rem !important;
  color: var(--gray) !important;
}

/* ══════════════════════════════════════
   RESPONSIVE — páginas internas
══════════════════════════════════════ */
@media (max-width: 900px) {
  .values-grid    { grid-template-columns: repeat(2, 1fr); }
  .services-grid  { grid-template-columns: 1fr; }
  .contact-section { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .projects-page-grid { grid-template-columns: repeat(2, 1fr); padding: 1.2rem; }
  .values-grid        { grid-template-columns: 1fr; }
  .page-header        { padding: 8rem 1.25rem 3rem; }
  .services-grid-section,
  .proceso-section,
  .srv-cta,
  .contact-section,
  .reunion-section    { padding-left: 1.25rem; padding-right: 1.25rem; }
  .proceso-box,
  .srv-cta-box,
  .reunion-box        { padding: 2rem 1.5rem; }
  .contact-form-wrap  { padding: 1.8rem 1.2rem; }
  .about-vision,
  .about-team,
  .about-values,
  .about-quote        { padding-left: 1.25rem; padding-right: 1.25rem; }
}
/*==============================
DIRECTOR DEL ESTUDIO
==============================*/

.about-team{
    max-width:1200px;
    margin:120px auto;
    padding:0 40px;
}

.about-team h2{
    text-align:center;
    margin-bottom:70px;
}

.team-profile{

    display:grid;
    grid-template-columns:380px 1fr;
    gap:70px;
    align-items:center;

}

.team-photo{

    overflow:hidden;
    border-radius:14px;

    box-shadow:
        0 20px 45px rgba(0,0,0,.25);

}

.team-photo img{

    width:100%;
    aspect-ratio:4/5;
    object-fit:cover;
    display:block;

    transition:.6s;

}

.team-photo:hover img{

    transform:scale(1.04);

}

.team-label{

    display:inline-block;

    font-size:.8rem;
    letter-spacing:3px;
    color:#b08c57;

    margin-bottom:14px;

}

.team-info h3{

    font-size:2.2rem;
    margin-bottom:12px;

}

.team-credential{

    font-weight:600;
    color:#d9d9d9;
    margin-bottom:6px;

}

.team-university{

    color:#9f9f9f;
    margin-bottom:28px;

}

.team-divider{

    width:70px;
    height:2px;

    background:#ffffff;

    margin-bottom:28px;

}

.team-info p{

    line-height:2;
    color:#d5d5d5;

}

/*==============================
RESPONSIVE
==============================*/

@media(max-width:900px){

.team-profile{

    grid-template-columns:1fr;
    gap:40px;

}

.team-photo{

    max-width:240px;
    margin:auto;

}

.team-info{

    text-align:center;

}

.team-divider{

    margin:25px auto;

}

}