/* ============================================================
   GHALA STUDIO — REDESIGN
   Paleta: Crema #F7F3ED · Carbón #1C1917 · Oro #B8955A · Blanco #FAFAF8
   ============================================================ */

/* ── Reset & Custom Properties ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:      #F7F3ED;
  --cream-dark: #EDE8E0;
  --charcoal:   #1C1917;
  --charcoal-2: #2C2927;
  --gold:       #B8955A;
  --gold-light: #D4B07A;
  --white:      #FAFAF8;
  --gray-mid:   #7A746E;
  --gray-light: #C4BDB5;

  --ff-serif: 'Playfair Display', Georgia, serif;
  --ff-sans:  'Plus Jakarta Sans', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 12px rgba(28, 25, 23, 0.06);
  --shadow-md: 0 8px 32px rgba(28, 25, 23, 0.10);
  --shadow-lg: 0 24px 64px rgba(28, 25, 23, 0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-sans);
  background-color: var(--white);
  color: var(--charcoal);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

/* ── Utility ─────────────────────────────────────────────────── */
.section { padding-block: clamp(80px, 10vw, 140px); }
.section-tag {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-desc {
  font-size: 1.05rem;
  color: var(--gray-mid);
  max-width: 560px;
  line-height: 1.8;
}
.section-header { text-align: center; margin-bottom: 70px; }
.section-header .section-desc { margin-inline: auto; }
.desktop-br { display: none; }
@media (min-width: 768px) { .desktop-br { display: block; } }

/* ── Reveal animations ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.18s; }
.reveal:nth-child(4) { transition-delay: 0.26s; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-xl);
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(184, 149, 90, 0.3);
}
.btn-primary:hover {
  background: var(--charcoal);
  box-shadow: 0 8px 32px rgba(28, 25, 23, 0.2);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--cream-dark);
}
.btn-ghost:hover {
  background: var(--cream);
  border-color: var(--charcoal);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }
.btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ── Navigation ──────────────────────────────────────────────── */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.nav-header.scrolled {
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}
.logo-g { color: var(--gold); }
.logo-dot { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }
.nav-cta {
  background: var(--charcoal);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}
.nav-cta:hover {
  background: var(--gold);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--cream);
  overflow: hidden;
  padding-top: 100px;
  padding-inline: clamp(20px, 5vw, 60px);
}
.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--ff-serif);
  font-size: clamp(100px, 22vw, 320px);
  font-weight: 700;
  color: rgba(184, 149, 90, 0.06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 500;
  line-height: 1.06;
  color: var(--charcoal);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--gray-mid);
  margin-bottom: 44px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gray-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── Marquee ─────────────────────────────────────────────────── */
.marquee-wrapper {
  background: var(--charcoal);
  padding: 18px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: var(--ff-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.7);
}
.marquee-dot { color: var(--gold) !important; font-size: 0.6rem !important; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Sobre ───────────────────────────────────────────────────── */
.sobre { background: var(--white); }
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sobre-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.sobre-image-frame {
  position: relative;
  width: 360px;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
}
.sobre-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}
.sobre-image-frame:hover .sobre-photo {
  transform: scale(1.03);
}
.sobre-photo-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(28, 25, 23, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 7px;
}
.sobre-photo-badge svg { color: var(--gold); flex-shrink: 0; }
.sobre-stat-card {
  position: absolute;
  bottom: -20px;
  right: -24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--cream-dark);
  z-index: 2;
}
.stat-number {
  font-family: var(--ff-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--gray-mid);
  font-weight: 500;
}
.sobre-text { padding-right: 20px; }
.sobre-lead {
  font-size: 1.1rem;
  color: var(--charcoal);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 20px;
}
.sobre-body {
  color: var(--gray-mid);
  line-height: 1.8;
  margin-bottom: 36px;
}
.valores-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.valor-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-xl);
  padding: 7px 16px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: var(--transition);
}
.valor-item:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.valor-icon { color: var(--gold); font-size: 0.65rem; }

/* ── Servicios ───────────────────────────────────────────────── */
.servicios { background: var(--cream); }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.servicio-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.servicio-card--featured {
  background: var(--charcoal);
  color: var(--white);
  border-color: transparent;
}
.servicio-card--featured .servicio-number { color: rgba(250, 250, 248, 0.2); }
.servicio-card--featured .servicio-icon { color: var(--gold); }
.servicio-card--featured .servicio-title { color: var(--white); }
.servicio-card--featured .servicio-desc { color: rgba(250, 250, 248, 0.7); }
.servicio-card--featured .servicio-features li { color: rgba(250, 250, 248, 0.7); }
.servicio-card--featured .servicio-features li::before { color: var(--gold); }
.servicio-card--featured .servicio-cta { color: var(--gold); }
.servicio-card--featured .servicio-cta:hover { color: var(--gold-light); }
.servicio-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: var(--radius-xl);
  white-space: nowrap;
}
.servicio-number {
  font-family: var(--ff-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.servicio-icon {
  color: var(--gold);
  margin-bottom: 20px;
}
.servicio-title {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.servicio-desc {
  font-size: 0.93rem;
  color: var(--gray-mid);
  line-height: 1.75;
  margin-bottom: 24px;
  flex: 1;
}
.servicio-features {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.servicio-features li {
  font-size: 0.87rem;
  color: var(--gray-mid);
  display: flex;
  align-items: center;
  gap: 10px;
}
.servicio-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.servicio-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  transition: var(--transition);
  align-self: flex-start;
}
.servicio-cta:hover {
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

/* ── Proceso ─────────────────────────────────────────────────── */
.proceso { background: var(--white); }
.proceso-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.proceso-header { position: sticky; top: 100px; }
.proceso-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.proceso-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--cream-dark);
  transition: var(--transition);
}
.proceso-step:first-child { padding-top: 0; }
.proceso-step:last-child { border-bottom: none; }
.proceso-step:hover .step-num { color: var(--gold); }
.step-num {
  font-family: var(--ff-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cream-dark);
  line-height: 1;
  transition: color var(--transition);
  padding-top: 4px;
}
.step-content h3 {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--charcoal);
}
.step-content p {
  font-size: 0.93rem;
  color: var(--gray-mid);
  line-height: 1.75;
}

/* ── Manifiesto ──────────────────────────────────────────────── */
.manifiesto {
  background: var(--charcoal);
  padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 60px);
}
.manifiesto-inner {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}
.manifiesto-text {
  font-family: var(--ff-serif);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 28px;
}
.manifiesto-author {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* ── Galería de fotos ────────────────────────────────────────── */
.fotogaleria {
  background: var(--charcoal);
  padding: 0;
  overflow: hidden;
}
.fotogaleria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 420px;
  gap: 0;
}
.foto-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.foto-item--tall {
  grid-row: span 1;
}
.foto-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.88) saturate(0.9);
}
.foto-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.95) saturate(1.05);
}
.foto-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,25,23,0.7) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 24px 26px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.foto-item:hover .foto-overlay { opacity: 1; }
.foto-overlay span {
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* ── Clientes ────────────────────────────────────────────────── */
.clientes { background: var(--cream); }
.clientes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.cliente-item {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  min-height: 110px;
}
.cliente-item--lg {
  padding: 20px 16px;
  min-height: 130px;
}
.cliente-item img {
  max-width: 80%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(100%) opacity(0.65);
  transition: filter var(--transition), transform var(--transition);
}
.cliente-item--lg img {
  max-height: 110px;
  max-width: 100%;
}
.cliente-item:hover {
  background: var(--charcoal);
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.cliente-item:hover img {
  filter: grayscale(0%) opacity(1) brightness(10);
}
.cliente-item::after {
  content: '↗';
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 0.72rem;
  color: var(--gray-light);
  opacity: 0;
  transition: opacity var(--transition);
}
.cliente-item { position: relative; }
.cliente-item:hover::after {
  opacity: 1;
  color: var(--gold);
}

/* ── Propuesta ───────────────────────────────────────────────── */
.propuesta { background: var(--white); }
.propuesta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.propuesta-item {
  padding: 40px 32px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
}
.propuesta-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.propuesta-icon {
  width: 60px; height: 60px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.propuesta-item h3 {
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.propuesta-item p {
  font-size: 0.92rem;
  color: var(--gray-mid);
  line-height: 1.75;
}

/* ── Contacto ────────────────────────────────────────────────── */
.contacto { background: var(--cream); }
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contacto-desc {
  font-size: 1.05rem;
  color: var(--gray-mid);
  line-height: 1.8;
  margin-bottom: 40px;
}
.contacto-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--cream-dark);
}
.contacto-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.detail-value {
  font-size: 0.95rem;
  color: var(--charcoal);
}
.social-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-mid);
  transition: color var(--transition);
}
.social-link:hover { color: var(--gold); }
.contacto-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--cream-dark);
}
.contacto-form { display: flex; flex-direction: column; gap: 22px; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: var(--ff-sans);
  font-size: 0.93rem;
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-light); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184, 149, 90, 0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { cursor: pointer; }
.form-alt {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-mid);
}
.form-link {
  color: var(--gold);
  font-weight: 600;
}
.form-link:hover { text-decoration: underline; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--charcoal-2);
  padding-top: 72px;
  padding-bottom: 32px;
}
.footer-top {
  display: flex;
  gap: 60px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(250, 250, 248, 0.08);
}
.footer-logo {
  font-family: var(--ff-serif);
  font-size: 1.8rem;
  color: var(--white);
  display: inline-block;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(250, 250, 248, 0.5);
  line-height: 1.7;
}
.footer-nav {
  display: flex;
  gap: 60px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 0.88rem;
  color: rgba(250, 250, 248, 0.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(250, 250, 248, 0.35);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 0.82rem;
  color: rgba(250, 250, 248, 0.35);
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(250, 250, 248, 0.7); }

/* ── Toast ───────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--charcoal);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.success { background: #2A5C45; }
.toast.error { background: #8B2635; }

/* ── Responsive ──────────────────────────────────────────────── */

/* ── 1200px: ajustes de grid antes del colapso ──────────────── */
@media (max-width: 1200px) {
  .servicios-grid { gap: 20px; }
  .servicio-card { padding: 36px 28px; }
  .sobre-grid { gap: 60px; }
  .propuesta-grid { gap: 24px; }
}

/* ── 1024px: tablet landscape ────────────────────────────────── */
@media (max-width: 1024px) {
  /* Sobre */
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 680px;
    margin-inline: auto;
  }
  .sobre-visual { order: -1; justify-content: flex-start; }
  .sobre-image-frame { width: 100%; max-width: 100%; height: 400px; }
  .sobre-stat-card { right: 0; }
  .sobre-text { padding-right: 0; }

  /* Servicios → 2 columnas en tablet */
  .servicios-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }
  /* La card featured ocupa las 2 columnas en tablet */
  .servicio-card--featured { grid-column: span 2; }

  /* Proceso */
  .proceso-inner { grid-template-columns: 1fr; gap: 48px; }
  .proceso-header { position: static; }
  .proceso-header .section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }

  /* Propuesta → 2 columnas en tablet */
  .propuesta-grid { grid-template-columns: 1fr 1fr; }

  /* Clientes → 4 columnas hasta 1024 */
  .clientes-grid { grid-template-columns: repeat(4, 1fr); }

  /* Galería */
  .fotogaleria-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 280px;
  }
  .foto-item:last-child { grid-column: span 2; }

  /* Contacto */
  .contacto-grid { grid-template-columns: 1fr; gap: 48px; }
  .contacto-form-wrapper { padding: 40px 36px; }

  /* Footer */
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-nav { gap: 40px; }
}

/* ── 768px: tablet portrait / móvil grande ───────────────────── */
@media (max-width: 768px) {
  /* Espaciados generales */
  .section { padding-block: clamp(60px, 8vw, 100px); }
  .section-header { margin-bottom: 48px; }

  /* Navegación → menú mobile */
  .nav-header { padding: 18px 0; }
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 98;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1.4rem; font-weight: 500; }
  .nav-cta { font-size: 1.05rem; padding: 14px 40px; }
  .nav-toggle { display: flex; z-index: 99; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hero */
  .hero { padding-top: 110px; padding-bottom: 60px; text-align: center; }
  .hero-actions { gap: 12px; }

  /* Sobre */
  .sobre-grid { max-width: 100%; gap: 40px; }
  .sobre-image-frame { height: 340px; }
  .sobre-stat-card {
    right: 16px;
    bottom: -16px;
    padding: 16px 22px;
  }

  /* Servicios → 1 columna, sin max-width limitado */
  .servicios-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
  .servicio-card--featured { grid-column: span 1; }

  /* Proceso */
  .proceso-step { grid-template-columns: 52px 1fr; gap: 16px; padding: 28px 0; }
  .step-num { font-size: 1.6rem; }

  /* Galería → 1 columna */
  .fotogaleria-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 260px);
  }
  .foto-item:last-child { grid-column: span 1; }

  /* Clientes → 2 columnas */
  .clientes-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Propuesta → 1 columna */
  .propuesta-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .propuesta-item { padding: 32px 24px; }

  /* Contacto */
  .contacto-grid { gap: 36px; }
  .contacto-form-wrapper { padding: 32px 24px; }
  .contacto-details { padding: 20px; }

  /* Footer */
  .footer-nav { flex-wrap: wrap; gap: 32px; }
  .footer-col { min-width: 120px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

/* ── 480px: móvil ────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Tipografía */
  .section-title { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .hero-title { font-size: clamp(2.4rem, 11vw, 3.5rem); }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-badge { font-size: 0.72rem; padding: 6px 14px; }

  /* Botones: full-width apilados */
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; margin-inline: auto; }
  .btn { width: 100%; justify-content: center; }

  /* Sobre */
  .sobre-image-frame { height: 300px; }
  .sobre-stat-card {
    right: 0; left: 0;
    bottom: -60px;
    width: fit-content;
    margin-inline: auto;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
  }
  .sobre-visual { padding-bottom: 72px; }

  /* Servicios */
  .servicio-card { padding: 32px 24px; }
  .servicios-grid { max-width: 100%; }

  /* Clientes */
  .clientes-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cliente-item { min-height: 88px; padding: 18px 14px; }
  .cliente-item--lg { min-height: 110px; }
  .cliente-item img { max-height: 40px; }
  .cliente-item--lg img { max-height: 80px; }

  /* Galería */
  .fotogaleria-grid { grid-template-rows: repeat(3, 220px); }

  /* Proceso */
  .proceso-step { grid-template-columns: 44px 1fr; gap: 14px; padding: 22px 0; }
  .step-num { font-size: 1.3rem; }

  /* Contacto */
  .contacto-form-wrapper { padding: 28px 18px; }

  /* Footer */
  .footer-nav { flex-direction: column; gap: 24px; }
  .footer-top { gap: 32px; padding-bottom: 40px; margin-bottom: 32px; }
  .footer { padding-top: 52px; padding-bottom: 24px; }

  /* Manifiesto */
  .manifiesto { padding-block: 60px; }
  .manifiesto-text { font-size: 1.2rem; }

  /* Propuesta */
  .propuesta-grid { max-width: 100%; }
  .propuesta-item { padding: 28px 20px; }
  .propuesta-icon { width: 52px; height: 52px; margin-bottom: 18px; }

  /* Sección header */
  .section-header { margin-bottom: 36px; }
  .section-desc { font-size: 0.95rem; }
}

/* ── 360px: móviles muy pequeños ─────────────────────────────── */
@media (max-width: 360px) {
  .hero-title { font-size: 2.2rem; }
  .clientes-grid { grid-template-columns: 1fr; max-width: 280px; margin-inline: auto; }
  .nav-logo { font-size: 1.4rem; }
  .btn { padding: 13px 22px; font-size: 0.85rem; }
}

/* ── Hover solo en dispositivos con puntero fino (no táctil) ─── */
@media (hover: none) {
  .foto-overlay { opacity: 1; background: linear-gradient(to top, rgba(28,25,23,0.5) 0%, transparent 60%); }
  .servicio-card:hover { transform: none; }
  .cliente-item:hover { transform: none; }
  .propuesta-item:hover { transform: none; }
  .valor-item:hover { background: var(--cream); color: var(--charcoal); border-color: var(--cream-dark); }
}
