/*
Theme Name: ANZ estudio
Theme URI: https://anzestudio.com
Author: ANZ estudio
Author URI: https://anzestudio.com
Description: Tema custom para ANZ estudio — Cocinas y vestidores a medida. Diseño premium, tipografía serif, paleta off-white + carbón + arena.
Version: 1.0.0
License: Private
Text Domain: anz-estudio
Tags: custom, one-page, premium, portfolio
*/

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --off-white: #F7F5F2;
  --carbon:    #141414;
  --grey-dark: #2A2A2A;
  --grey-mid:  #6B6B6B;
  --grey-light:#DEDAD5;
  --sand:      #C4B49A;
  --oak:       #A07850;
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--off-white);
  color: var(--carbon);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── NAV ─── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: transparent;
  transition: background 0.4s, backdrop-filter 0.4s;
}
.site-nav.scrolled {
  background: rgba(20,20,20,0.92);
  backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
}
.nav-logo span {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-links .cta-nav a {
  color: var(--sand);
  border: 1px solid var(--sand);
  padding: 8px 18px;
  transition: background 0.2s, color 0.2s;
}
.nav-links .cta-nav a:hover {
  background: var(--sand);
  color: var(--carbon);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: #fff;
  transition: all 0.3s;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  padding: 0 48px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--carbon);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14,14,14,0.75) 0%, rgba(14,14,14,0.2) 70%);
}
.hero-label {
  position: absolute;
  top: 48px;
  right: 52px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sand);
  writing-mode: vertical-rl;
}
.hero-content {
  position: relative;
  max-width: 720px;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 32px;
}
.hero-title em { font-style: italic; color: var(--sand); }
.hero-sub {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.btn-primary {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--carbon);
  background: var(--sand);
  border: none;
  padding: 16px 36px;
  display: inline-block;
  transition: background 0.2s;
  cursor: pointer;
}
.btn-primary:hover { background: #b8a48a; color: var(--carbon); }
.btn-outline-light {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}
.btn-outline-light::after { content: '→'; font-size: 16px; }
.btn-outline-light:hover { color: #fff; }
.hero-scroll {
  position: absolute;
  bottom: 36px;
  right: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.hero-scroll::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.25);
}

/* ─── SECTIONS COMUNES ─── */
.section-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--carbon);
  margin-bottom: 48px;
}
.section-title em { font-style: italic; color: var(--oak); }

/* ─── PROYECTOS ─── */
#proyectos {
  padding: 100px 48px;
  background: var(--off-white);
}
.proyectos-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px;
}
.proyectos-header .section-title { margin-bottom: 0; }
.filter-tabs {
  display: flex;
  border: 1px solid var(--grey-light);
}
.filter-tab {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  background: none;
  color: var(--grey-mid);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border-right: 1px solid var(--grey-light);
}
.filter-tab:last-child { border-right: none; }
.filter-tab.active, .filter-tab:hover {
  background: var(--carbon);
  color: #fff;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.project-card.featured { grid-column: span 2; }
.project-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.project-card.featured .project-img { aspect-ratio: 16/9; }
.project-card:hover .project-img { transform: scale(1.04); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4px;
}
.project-meta {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
}
.project-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.85);
  padding: 5px 10px;
  backdrop-filter: blur(4px);
}
.ver-todos {
  text-align: center;
  margin-top: 56px;
}
.btn-ghost {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--carbon);
  border: 1px solid var(--carbon);
  padding: 14px 40px;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.btn-ghost:hover { background: var(--carbon); color: #fff; }

/* ─── PROCESO ─── */
#proceso {
  background: var(--carbon);
  color: #fff;
  padding: 100px 48px;
}
#proceso .section-title { color: #fff; }
.proceso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-top: 64px;
}
.proceso-step { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 32px; }
.paso-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 300;
  color: var(--sand);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 20px;
}
.paso-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
}
.paso-desc {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.proceso-stats {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  gap: 64px;
  align-items: center;
  flex-wrap: wrap;
}
.stat-block {}
.stat-num {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--sand);
  line-height: 1;
}
.stat-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}
.stat-sep {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.1);
}

/* ─── VALIDACIÓN ─── */
#validacion {
  background: #F2EEE9;
  padding: 100px 48px;
}
.val-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.val-text {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--grey-mid);
  line-height: 1.8;
}
.val-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-light);
}
.val-card {
  background: #F2EEE9;
  padding: 40px 36px;
}
.val-quote {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  color: var(--carbon);
  line-height: 1.5;
  margin-bottom: 28px;
}
.val-author {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-mid);
}
.val-author strong {
  display: block;
  color: var(--carbon);
  font-weight: 500;
  margin-bottom: 2px;
}

/* ─── MARCAS ─── */
#marcas {
  padding: 56px 48px;
  background: var(--off-white);
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
}
.marcas-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.marcas-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-mid);
  white-space: nowrap;
  padding-right: 48px;
  border-right: 1px solid var(--grey-light);
}
.marcas-logos {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.marca-logo {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-mid);
  opacity: 0.6;
  transition: opacity 0.2s;
}
.marca-logo:hover { opacity: 1; }

/* ─── NOSOTROS ─── */
#nosotros {
  padding: 100px 48px;
  background: var(--off-white);
}
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.nosotros-img-wrap {
  position: relative;
}
.nosotros-img-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.nosotros-img-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.nosotros-body {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--grey-mid);
  line-height: 1.85;
  margin-bottom: 40px;
}
.nosotros-stats {
  display: flex;
  gap: 48px;
  margin-bottom: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--grey-light);
  flex-wrap: wrap;
}
.ns-num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 300;
  color: var(--carbon);
  line-height: 1;
}
.ns-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-top: 4px;
}
.zona-tag {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  display: flex;
  align-items: center;
  gap: 8px;
}
.zona-tag::before { content: '◦'; font-size: 18px; }

/* ─── CONTACTO ─── */
#contacto {
  background: var(--carbon);
  padding: 100px 48px;
  color: #fff;
}
#contacto .section-title { color: #fff; }
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contacto-sub {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 48px;
}
.contacto-items {}
.contacto-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contacto-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.ci-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 8px;
}
.ci-value {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: #fff;
}
.ci-value a { color: #fff; transition: color 0.2s; }
.ci-value a:hover { color: var(--sand); }
.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.form-input, .form-textarea, .form-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border 0.2s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  width: 100%;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--sand);
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-textarea { height: 120px; resize: none; }
.form-select option { background: var(--carbon); color: #fff; }
.btn-submit {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--carbon);
  background: var(--sand);
  border: none;
  padding: 16px 36px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: #b8a48a; }

/* ─── FOOTER ─── */
.site-footer {
  background: #0a0a0a;
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-logo {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
}
.footer-copy {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
}
.footer-social {
  display: flex;
  gap: 24px;
}
.footer-social a {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--sand); }

/* ─── WA FLOTANTE ─── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .proceso-grid { grid-template-columns: repeat(2, 1fr); }
  .val-intro { grid-template-columns: 1fr; gap: 32px; }
  .val-grid { grid-template-columns: 1fr; }
  .nosotros-grid { grid-template-columns: 1fr; }
  .nosotros-img-wrap { max-width: 480px; }
}

@media (max-width: 768px) {
  .site-nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(20,20,20,0.98);
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 99;
  }
  .nav-links.open a { font-size: 20px; }
  .nav-toggle { display: flex; z-index: 100; }
  .hero { padding: 0 24px 64px; }
  .hero-label { display: none; }
  .hero-scroll { display: none; }
  .hero-title { font-size: clamp(38px, 10vw, 64px); }
  #proyectos, #proceso, #validacion, #nosotros, #contacto { padding: 72px 24px; }
  #marcas { padding: 48px 24px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: span 1; }
  .project-card.featured .project-img { aspect-ratio: 4/3; }
  .proyectos-header { flex-direction: column; align-items: flex-start; }
  .proceso-grid { grid-template-columns: 1fr; gap: 32px; }
  .proceso-stats { gap: 36px; }
  .contacto-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; text-align: center; }
  .nosotros-stats { gap: 32px; }
  .marcas-label { border-right: none; padding-right: 0; width: 100%; }
}
