/* ================================================================
   ARQUITEKA — Estilos Principales
   Paleta: Verde oliva #6B6B2F | Crema #F5F1E8 | Oscuro #141410
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

/* === VARIABLES === */
:root {
  --olive:        #6B6B2F;
  --olive-light:  #8B8B45;
  --olive-pale:   #B5B56A;
  --dark:         #141410;
  --dark-2:       #1D1D16;
  --cream:        #F5F1E8;
  --cream-2:      #EDE8DA;
  --text:         #2A2A20;
  --text-muted:   #6A6A58;
  --white:        #FFFFFF;

  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Jost', 'Helvetica Neue', Arial, sans-serif;

  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow:    0 4px 24px rgba(20,20,16,0.10);
  --shadow-lg: 0 8px 40px rgba(20,20,16,0.18);
  --max-w:     1200px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* === TIPOGRAFÍA === */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; font-family: var(--sans); font-weight: 500; }
p  { font-size: 1rem; color: var(--text-muted); line-height: 1.85; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
}

/* === LAYOUT === */
.container { width: 90%; max-width: var(--max-w); margin: 0 auto; }
section { padding: 6rem 0; }

/* === BOTONES === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--olive);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--olive-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline-light {
  border: 1px solid rgba(255,255,255,0.45);
  color: var(--white);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
}
.btn-outline-dark {
  border: 1px solid rgba(42,42,32,0.35);
  color: var(--text);
}
.btn-outline-dark:hover {
  background: var(--text);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,0.25);
}
.btn-whatsapp:hover {
  background: #1DAB55;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
}

/* === NAVEGACIÓN === */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: all 0.4s var(--ease);
}
nav.scrolled {
  background: rgba(20,20,16,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1rem 0;
  box-shadow: var(--shadow);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 54px; width: auto; }
.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--olive-pale);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  padding: 0.55rem 1.4rem !important;
  border: 1px solid rgba(255,255,255,0.4) !important;
  border-radius: 2px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--olive) !important;
  border-color: var(--olive) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 101;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.35s var(--ease);
  transform-origin: center;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === HERO INICIO === */
.hero {
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image: url('../assets/patron-oscuro.png');
  background-repeat: repeat;
  background-size: 280px;
  opacity: 0.10;
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(20,20,16,0.6) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 820px;
  padding: 2rem;
}
.hero-logo {
  height: 170px; width: auto;
  margin: 0 auto 2.5rem;
  animation: fadeDown 1s ease forwards;
}
.hero h1 {
  color: var(--white);
  font-style: italic;
  margin-bottom: 1.25rem;
  animation: fadeUp 1s 0.3s ease both;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 580px;
  margin: 0 auto 2.75rem;
  animation: fadeUp 1s 0.5s ease both;
}
.hero-btns {
  display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
  animation: fadeUp 1s 0.7s ease both;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 0.75rem;
  animation: fadeIn 1s 1.5s ease both;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.35));
  animation: scrollPulse 2s ease infinite;
}

/* === SECCIÓN INTRO === */
.intro { background: var(--cream); text-align: center; }
.intro-wrap { max-width: 680px; margin: 0 auto; }
.intro-wrap h2 { font-style: italic; margin: 0.85rem 0 1.25rem; }
.intro-divider {
  width: 48px; height: 1px;
  background: var(--olive);
  margin: 2rem auto;
}
.stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--cream-2);
  flex-wrap: wrap;
}
.stat-num {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--olive);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* === SERVICIOS === */
.services { background: var(--cream-2); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin: 0.75rem 0 1rem; }
.section-header p { max-width: 480px; margin: 0 auto; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--cream);
  padding: 2.5rem 1.75rem 2rem;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 44px; height: 44px;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}
.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}
.service-card p { font-size: 0.9rem; line-height: 1.75; }
.service-link {
  display: inline-flex;
  align-items: center; gap: 0.5rem;
  margin-top: 1.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
  transition: gap 0.3s;
}
.service-link:hover { gap: 0.85rem; }
.arrow { font-style: normal; }

/* === PROYECTOS GRID === */
.projects-section { background: var(--dark); }
.projects-section .section-header h2 { color: var(--white); font-style: italic; }
.projects-section .section-header .eyebrow { color: var(--olive-pale); }
.projects-section .section-header p { color: rgba(255,255,255,0.45); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--dark-2);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.project-card.featured {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.project-placeholder {
  width: 100%; height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #1a1a12, #252519);
  color: rgba(255,255,255,0.12);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.placeholder-icon { font-size: 1.5rem; opacity: 0.15; }
.project-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}
.project-card:hover .project-img { transform: scale(1.06); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,16,0.85) 0%, transparent 55%);
  display: flex; align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-info h4 { color: var(--white); font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.project-info .tag {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive-pale);
  display: block;
  margin-bottom: 0.3rem;
}
.projects-cta { text-align: center; margin-top: 3rem; }

/* === PORTFOLIO 3 COLUMNAS (index) === */
.portfolio-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.portfolio-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.portfolio-pair {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.portfolio-pair .project-card {
  aspect-ratio: 3/2;
}
.portfolio-col-btn {
  text-align: center;
  padding-top: 0.5rem;
}
@media (max-width: 768px) {
  .portfolio-columns { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .portfolio-columns { grid-template-columns: 1fr; gap: 2.5rem; }
  .portfolio-pair { flex-direction: row; }
  .portfolio-pair .project-card { aspect-ratio: 4/3; }
}

/* === NOSOTROS PREVIEW === */
.nosotros-preview { background: var(--cream); }
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.nosotros-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 2px;
  overflow: hidden;
  background: var(--cream-2);
}
.nosotros-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.img-placeholder {
  width: 100%; height: 100%;
  min-height: 380px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem;
  background: var(--cream-2);
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nosotros-content .eyebrow { margin-bottom: 1rem; }
.nosotros-content h2 { font-style: italic; margin-bottom: 1.25rem; }
.nosotros-content p { margin-bottom: 1rem; }
.nosotros-content .btn { margin-top: 1rem; }

/* === CTA OSCURO === */
.cta-dark {
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-pattern-bg {
  position: absolute; inset: 0;
  background-image: url('../assets/patron-oscuro.png');
  background-repeat: repeat;
  background-size: 240px;
  opacity: 0.045;
}
.cta-inner {
  position: relative; z-index: 2;
  max-width: 580px; margin: 0 auto;
}
.cta-inner .eyebrow { color: var(--olive-pale); }
.cta-inner h2 { color: var(--white); font-style: italic; margin: 1rem 0; }
.cta-inner > p { color: rgba(255,255,255,0.5); margin-bottom: 2.5rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === NEWSLETTER === */
.newsletter { background: var(--cream-2); text-align: center; }
.newsletter h3 { font-style: italic; margin: 0.75rem 0 0.5rem; }
.newsletter p { margin-bottom: 2rem; }
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid rgba(42,42,32,0.18);
  border-radius: 2px;
  overflow: hidden;
  background: var(--white);
}
.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form button {
  padding: 0.9rem 1.75rem;
  background: var(--olive);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background 0.3s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--olive-light); }
.newsletter-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
}

/* === WHATSAPP FLOTANTE === */
.wa-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  color: var(--white);
  z-index: 90;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
}
.wa-float svg { width: 26px; height: 26px; }

/* === FOOTER === */
footer {
  background: var(--dark);
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}
.footer-brand img { height: 48px; margin-bottom: 1.25rem; }
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.75;
}
.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.42);
  margin-bottom: 0.65rem;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--olive-pale); }
.social-row {
  display: flex; gap: 0.75rem;
  margin-top: 0.25rem;
}
.social-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 2px;
  display: flex;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: all 0.3s;
}
.social-icon:hover {
  border-color: var(--olive);
  color: var(--olive-pale);
}
.social-icon svg { width: 15px; height: 15px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.22);
}

/* === PAGE HERO (páginas internas) === */
.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding-bottom: 4rem;
}
.page-hero-pattern {
  position: absolute; inset: 0;
  background-image: url('../assets/patron-bambu.png');
  background-repeat: repeat;
  background-size: 300px;
  opacity: 0.14;
}
.page-hero-content {
  position: relative; z-index: 2;
  padding-top: 7rem;
}
.page-hero h1 {
  color: var(--white);
  font-style: italic;
  margin: 0.75rem 0 1rem;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.52);
  max-width: 540px;
  line-height: 1.7;
}
.breadcrumb {
  display: flex; gap: 0.5rem;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.5rem;
}
.breadcrumb a { color: rgba(255,255,255,0.35); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--olive-pale); }
.breadcrumb-sep { opacity: 0.3; }

/* === BAMBU: patrón especial === */
.hero-bambu .page-hero-pattern {
  background-image: url('../assets/patron-bambu.png');
  background-size: 300px;
  opacity: 0.14;
}

/* === PROCESO (steps) === */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.step { padding-top: 0.5rem; }
.step-bar {
  width: 2.5rem; height: 2px;
  background: var(--olive);
  margin-bottom: 1.75rem;
}
.step-num {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(107,107,47,0.14);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.step h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.88rem; }

/* === SERVICIOS LISTA === */
.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.service-item {
  padding: 2rem 1.75rem;
  background: var(--cream-2);
  border-radius: 2px;
  border-left: 3px solid var(--olive);
  transition: transform 0.3s var(--ease);
}
.service-item:hover { transform: translateX(4px); }
.service-item h4 { margin-bottom: 0.5rem; }
.service-item p { font-size: 0.9rem; }

/* === GALERÍA PROYECTOS (páginas internas) === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  background: var(--cream-2);
  position: relative;
  cursor: pointer;
}
.gallery-item.tall { aspect-ratio: 3/4; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }

/* === TARJETAS PROYECTO COMPLETAS (galería con descripción) === */
.projects-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}
.project-card-full {
  background: rgba(255,255,255,0.05);
  overflow: hidden;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease);
}
.project-card-full:hover { transform: translateY(-5px); }
.project-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #1a1a14;
  flex-shrink: 0;
}
.project-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.project-card-full:hover .project-card-img img { transform: scale(1.04); }
.project-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.project-card-body .tag {
  color: var(--olive-pale);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--sans);
}
.project-card-body h3 {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  margin: 0;
  line-height: 1.2;
}
.project-card-body p {
  color: rgba(245,241,232,0.58);
  font-size: 0.86rem;
  line-height: 1.65;
  margin: 0.15rem 0 0;
  flex: 1;
}
.cross-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--olive-pale);
  font-size: 0.78rem;
  font-family: var(--sans);
  text-decoration: none;
  border-bottom: 1px solid rgba(183,183,103,0.35);
  padding-bottom: 2px;
  transition: all 0.2s ease;
  margin-top: 0.75rem;
  width: fit-content;
}
.cross-link-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.6); gap: 0.65rem; }

/* === GALERÍA LIGHTBOX MODAL === */
.project-card-img { position: relative; }
.gallery-hint {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  background: rgba(20,20,16,0.72);
  color: var(--olive-pale);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 2px;
  pointer-events: none;
}
#atk-gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#atk-gallery-modal.open { display: flex; }
.atk-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,14,10,0.94);
  cursor: pointer;
}
.atk-gallery-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(92vw, 1100px);
  max-height: 96vh;
}
.atk-gallery-close {
  position: absolute;
  top: -2.8rem;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  line-height: 1;
  transition: color 0.2s;
}
.atk-gallery-close:hover { color: var(--white); }
.atk-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.25rem 0.6rem;
  margin-bottom: 0.25rem;
}
#atk-gallery-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--white);
}
#atk-gallery-counter {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--olive-pale);
  letter-spacing: 0.08em;
}
.atk-gallery-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
  min-height: 200px;
}
.atk-gallery-img-wrap img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  border-radius: 1px;
}
.atk-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20,20,16,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 2.4rem;
  line-height: 1;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
  border-radius: 2px;
}
.atk-gallery-nav:hover { background: rgba(107,107,47,0.65); }
.atk-gallery-prev { left: 0.6rem; }
.atk-gallery-next { right: 0.6rem; }
@media (max-width: 600px) {
  .atk-gallery-nav { font-size: 1.6rem; padding: 0.25rem 0.6rem; }
  .atk-gallery-prev { left: 0.2rem; }
  .atk-gallery-next { right: 0.2rem; }
}

/* === CONTACTO === */
.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 4.5rem;
}
.contact-card {
  background: var(--cream-2);
  padding: 2.5rem 2rem;
  border-radius: 2px;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.contact-card-icon { font-size: 2rem; margin-bottom: 1rem; }
.contact-card h4 { margin-bottom: 0.4rem; }
.contact-card p { font-size: 0.88rem; margin-bottom: 1.5rem; }

.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(42,42,32,0.18);
  border-radius: 2px;
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
}
.form-control:focus { border-color: var(--olive); }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { margin-top: 0.5rem; }

/* === TALLERES === */
.taller-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.taller-card {
  background: var(--cream-2);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.taller-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.taller-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--cream);
}
.taller-img img { width: 100%; height: 100%; object-fit: cover; }
.taller-body { padding: 2rem; }
.taller-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(107,107,47,0.12);
  color: var(--olive);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 1px;
  margin-bottom: 0.85rem;
}
.taller-body h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.taller-body p { font-size: 0.88rem; }
.taller-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(42,42,32,0.1);
}
.taller-meta { font-size: 0.8rem; color: var(--text-muted); }

/* === NOSOTROS PAGE === */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}
.team-card { text-align: center; }
.team-img {
  aspect-ratio: 3/4;
  border-radius: 2px;
  overflow: hidden;
  background: var(--cream-2);
  margin-bottom: 1.5rem;
}
.team-img img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-style: italic; margin-bottom: 0.3rem; }
.team-role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.75rem;
}
.team-bio { font-size: 0.88rem; max-width: 340px; margin: 0 auto; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.value-card {
  padding: 2rem 1.75rem;
  background: var(--dark);
  border-radius: 2px;
  color: var(--white);
}
.value-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.value-card h4 { color: var(--white); margin-bottom: 0.5rem; }
.value-card p { color: rgba(255,255,255,0.48); font-size: 0.88rem; }

/* === ANIMACIONES DE CARGA === */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  49%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* === ANIMACIONES SCROLL === */
.animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.animate.in-view { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.18s; }
.d3 { transition-delay: 0.28s; }
.d4 { transition-delay: 0.38s; }
.d5 { transition-delay: 0.48s; }

/* === RESPONSIVE TABLET === */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card.featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-options { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .nosotros-grid { gap: 3.5rem; }
}

/* === RESPONSIVE MÓVIL === */
@media (max-width: 768px) {
  section { padding: 4rem 0; }

  /* Nav móvil */
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20,20,16,0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.3rem; }
  .nav-links a::after { display: none; }
  .nav-cta { border: 1px solid rgba(255,255,255,0.35) !important; }
  .menu-toggle { display: flex; }

  /* Hero */
  .hero-logo { height: 130px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* Grids */
  .service-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: span 1; aspect-ratio: 4/3; }
  .nosotros-grid { grid-template-columns: 1fr; }
  .nosotros-img-wrap { aspect-ratio: 3/2; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .process-grid { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .projects-full-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .contact-options { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .taller-cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stats { gap: 2rem; }

  /* CTA */
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { max-width: 280px; }

  /* Newsletter */
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { padding: 0.9rem; }

  /* WhatsApp flotante */
  .wa-float { bottom: 1.5rem; right: 1.5rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .projects-full-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .stats { flex-direction: column; align-items: center; }
}
