/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  --bg:          #F8F4EE;
  --bg-alt:      #EDE8DE;
  --bg-dark:     #2A2015;
  --paper:       #FFFFFF;

  --ink:         #2A2015;
  --ink-soft:    #3D3020;
  --ink-mute:    #7A6E5F;
  --ink-faint:   rgba(42,32,21,0.35);

  --accent:      #5C4A32;
  --accent-2:    #8B7355;
  --accent-3:    #C4B499;
  --accent-warm: rgba(92,74,50,0.08);

  --line:        rgba(42,32,21,0.12);
  --line-strong: rgba(42,32,21,0.28);

  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --gutter:      clamp(1.25rem, 5vw, 3.5rem);
  --section-gap: clamp(5rem, 11vw, 9rem);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-h:       68px;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; object-fit: cover; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }

::selection { background: var(--accent); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Defensive: elements with both .reveal and data-split stay visible */
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   3. UTILITIES
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .5rem 1rem; background: var(--accent); color: var(--bg);
  border-radius: 6px; font-size: .875rem; font-weight: 500;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.kicker {
  font-family: var(--sans);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1rem;
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-sub {
  color: var(--ink-mute);
  font-size: .9375rem;
  margin-top: .75rem;
}

/* =============================================================
   4. TYPOGRAPHY
   ============================================================= */
h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
h1 em { font-style: italic; font-weight: 300; }

h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h2 em { font-style: italic; font-weight: 300; }

h3 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p + p { margin-top: .875rem; }

/* =============================================================
   5. BUTTONS & COMPONENTS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  border-radius: 3px;
  transition: background .25s var(--ease-out),
              color .25s var(--ease-out),
              transform .18s var(--ease-out),
              box-shadow .25s var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--bg);
  border: 1px solid rgba(248,244,238,0.5);
}
.btn-ghost:hover {
  background: rgba(248,244,238,0.1);
  border-color: var(--bg);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--bg);
}

.btn-text {
  background: transparent;
  color: var(--accent);
  border: 0;
  padding-inline: 0;
  padding-block: .25rem;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  position: relative;
}
.btn-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .3s var(--ease-out);
}
.btn-text:hover::after { width: 100%; }

/* =============================================================
   6. REVEAL SYSTEM
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
[data-reveal-delay="100"] { transition-delay: .1s; }
[data-reveal-delay="150"] { transition-delay: .15s; }
[data-reveal-delay="200"] { transition-delay: .2s; }
[data-reveal-delay="300"] { transition-delay: .3s; }

/* =============================================================
   7. NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background .4s var(--ease-soft),
              box-shadow .4s var(--ease-soft),
              backdrop-filter .4s;
}
.nav.is-scrolled {
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo-text {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--bg);
  transition: color .3s;
}
.nav.is-scrolled .nav__logo-text { color: var(--ink); }

.nav__links {
  display: none;
  gap: 2rem;
  align-items: center;
}
.nav__links a {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(248,244,238,0.85);
  transition: color .25s;
}
.nav__links a:hover { color: var(--bg); }
.nav.is-scrolled .nav__links a { color: var(--ink-mute); }
.nav.is-scrolled .nav__links a:hover { color: var(--ink); }

.nav__cta.btn {
  padding: .5rem 1.25rem;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.nav.is-scrolled .nav__cta.btn { background: var(--accent); border-color: var(--accent); }

.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav__hamburger span {
  display: block;
  height: 1.5px;
  background: var(--bg);
  border-radius: 2px;
  transition: background .3s, transform .35s var(--ease-out), opacity .25s;
}
.nav.is-scrolled .nav__hamburger span { background: var(--ink); }
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav menu */
.nav__menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out);
}
.nav__menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.nav__menu a {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -.01em;
  transition: color .2s;
}
.nav__menu a:hover { color: var(--accent); }
.nav__menu .btn { margin-top: .5rem; }

/* =============================================================
   8. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 8s var(--ease-soft);
}
.hero.is-loaded .hero__bg img { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(42,32,21,0.90) 0%,
    rgba(42,32,21,0.55) 40%,
    rgba(42,32,21,0.25) 75%,
    rgba(42,32,21,0.15) 100%
  );
}
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: .025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(4rem, 8vw, 7rem);
  padding-top: calc(var(--nav-h) + 2rem);
  max-width: 820px;
}
.hero__kicker {
  font-family: var(--sans);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 1.25rem;
  transition-delay: .1s;
}
.hero__title {
  color: var(--bg);
  margin-bottom: 1.25rem;
  transition-delay: .2s;
}
.hero__sub {
  font-size: clamp(.9rem, 1.5vw, 1.0625rem);
  color: rgba(248,244,238,0.78);
  max-width: 44ch;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  transition-delay: .32s;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  transition-delay: .44s;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: .6;
  transition: opacity .3s;
}
.hero__scroll-hint:hover { opacity: 1; }
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--bg);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================================
   9. SOBRE CINTIA
   ============================================================= */
.sobre {
  padding-block: var(--section-gap);
  background: var(--bg);
}
.sobre__inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.sobre__text {
  max-width: 560px;
}
.sobre__text h2 { margin-bottom: 1.5rem; }
.sobre__body {
  color: var(--ink-soft);
  font-size: clamp(.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.sobre__images {
  display: grid;
  grid-template-columns: 3fr 4fr;
  gap: 1rem;
  position: relative;
}
.sobre__img-portrait img,
.sobre__img-studio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}
.sobre__img-portrait {
  padding-top: 2.5rem;
}
.sobre__img-portrait img { aspect-ratio: 4/5; }
.sobre__img-studio img { aspect-ratio: 5/4; }

/* =============================================================
   10. SERVICIOS
   ============================================================= */
.servicios {
  padding-block: var(--section-gap);
  background: var(--bg-alt);
}
.servicios__grid {
  display: grid;
  gap: 1.5rem;
}

.servicio-card {
  background: var(--bg);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.servicio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(42,32,21,0.10);
}
.servicio-card__img {
  overflow: hidden;
  flex-shrink: 0;
}
.servicio-card__img img {
  width: 100%;
  aspect-ratio: 4/3;
  transition: transform .5s var(--ease-soft);
}
.servicio-card:hover .servicio-card__img img {
  transform: scale(1.04);
}
.servicio-card__body {
  padding: 1.5rem;
  flex: 1;
}
.servicio-card__body h3 {
  margin-bottom: .6rem;
  color: var(--ink);
}
.servicio-card__body p {
  font-size: .9375rem;
  color: var(--ink-mute);
  line-height: 1.65;
}

/* =============================================================
   11. PORTFOLIO
   ============================================================= */
.portfolio {
  padding-block: var(--section-gap);
  background: var(--bg);
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  background: var(--bg-alt);
  display: block;
  aspect-ratio: 4/3;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-soft), filter .3s;
}
.portfolio-item:hover img {
  transform: scale(1.06);
  filter: brightness(.88);
}
.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,32,21,0.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity .3s var(--ease-out);
}
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
.portfolio-item__title {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--bg);
  font-weight: 400;
}
.portfolio-item__hint {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(248,244,238,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: .9rem;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
.portfolio-item:hover .portfolio-item__hint {
  opacity: 1;
  transform: scale(1);
}

/* =============================================================
   12. PROCESO
   ============================================================= */
.proceso {
  padding-block: var(--section-gap);
  background: var(--bg-alt);
}
.proceso__steps {
  display: grid;
  gap: 0;
  counter-reset: step;
  position: relative;
}
/* Connecting line (desktop) */
.proceso__steps::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 1.75rem;
  bottom: 1.5rem;
  width: 1px;
  background: var(--line-strong);
}

.proceso-step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem;
  padding-block: 2rem;
  position: relative;
}
.proceso-step + .proceso-step {
  border-top: 1px solid var(--line);
}
.proceso-step__num {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: .05em;
  line-height: 1;
  padding-top: .25rem;
  position: relative;
  z-index: 1;
}
.proceso-step__body h3 {
  color: var(--ink);
  margin-bottom: .5rem;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
}
.proceso-step__body p {
  color: var(--ink-mute);
  font-size: .9375rem;
  line-height: 1.65;
}

/* =============================================================
   13. MATERIALES
   ============================================================= */
.materiales {
  padding-block: var(--section-gap);
  background: var(--bg);
}
.materiales__inner {
  display: grid;
  gap: 0;
  overflow: hidden;
}
.materiales__img {
  overflow: hidden;
}
.materiales__img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform .6s var(--ease-soft);
}
.materiales__img:hover img { transform: scale(1.03); }

.materiales__text {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  max-width: 560px;
}
.materiales__text h2 { margin-bottom: 1.25rem; }
.materiales__text p {
  color: var(--ink-soft);
  font-size: clamp(.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* =============================================================
   14. TESTIMONIOS (hidden until content ready)
   ============================================================= */
.testimonios {
  padding-block: var(--section-gap);
  background: var(--bg-alt);
}
.testimonios__grid {
  display: grid;
  gap: 1.25rem;
}
.testimonio-card {
  background: var(--bg);
  border-radius: 2px;
  padding: 2rem;
  border-left: 2px solid var(--accent-3);
}
.testimonio-card__text {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.testimonio-card__author {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* =============================================================
   15. CONTACTO
   ============================================================= */
.contacto {
  padding-block: var(--section-gap);
  background: var(--bg-dark);
  color: var(--bg);
}
.contacto__inner {
  display: grid;
  gap: clamp(3rem, 7vw, 5rem);
}
.contacto .kicker { color: var(--accent-3); }
.contacto h2 { color: var(--bg); }
.contacto h2 em { color: var(--accent-3); }

.contacto__details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contacto__details li {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.contacto__details strong {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-3);
}
.contacto__details a,
.contacto__details span {
  color: rgba(248,244,238,0.8);
  font-size: 1rem;
  transition: color .2s;
}
.contacto__details a:hover { color: var(--bg); }

.contacto__note {
  margin-top: 1.5rem;
  font-size: .875rem;
  color: rgba(248,244,238,0.5);
  font-style: italic;
}

/* WhatsApp CTA button (replaces form when form is inactive) */
.btn-whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  padding: 1.1rem 2rem;
  background: #25D366;
  color: #fff;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 6px 30px rgba(37,211,102,0.35);
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), background .2s;
  white-space: nowrap;
}
.btn-whatsapp-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(37,211,102,0.5);
  background: #1ebe5d;
}
.btn-whatsapp-cta:active { transform: translateY(0); }
.btn-whatsapp-cta svg { flex-shrink: 0; }

/* Contact form */
.contacto__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-row label {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-3);
}
.form-row input,
.form-row select,
.form-row textarea {
  background: rgba(248,244,238,0.06);
  border: 1px solid rgba(248,244,238,0.18);
  border-radius: 2px;
  padding: .75rem 1rem;
  font-family: var(--sans);
  font-size: .9375rem;
  color: var(--bg);
  transition: border-color .25s, background .25s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C4B499' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-row select option { background: var(--bg-dark); color: var(--bg); }
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(248,244,238,0.3); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent-3);
  background: rgba(248,244,238,0.09);
}
.form-row textarea { resize: vertical; min-height: 110px; }

.btn-submit { align-self: flex-start; width: auto; }
.btn-submit-sending { display: none; }
.btn-submit.is-sending .btn-submit-label { display: none; }
.btn-submit.is-sending .btn-submit-sending { display: inline; }

.form-success,
.form-error {
  font-size: .875rem;
  padding: .875rem 1rem;
  border-radius: 2px;
  margin-top: .5rem;
}
.form-success { background: rgba(196,180,153,0.15); color: var(--accent-3); }
.form-error { background: rgba(220,80,60,0.12); color: #e8a89a; }

/* =============================================================
   16. FOOTER
   ============================================================= */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(248,244,238,0.08);
  padding-block: clamp(3rem, 6vw, 5rem);
  color: rgba(248,244,238,0.65);
}
.footer__etsy {
  background: rgba(248,244,238,0.05);
  border: 1px solid rgba(248,244,238,0.1);
  border-radius: 2px;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 3rem;
}
.footer__etsy p { font-size: .9375rem; color: rgba(248,244,238,0.7); }
.footer__etsy-link {
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--accent-3);
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
.footer__etsy-link:hover { color: var(--bg); }

.footer__main {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(248,244,238,0.08);
}
.footer__logo {
  font-family: var(--serif);
  font-size: 1.375rem;
  color: var(--bg);
  font-weight: 400;
  letter-spacing: -.01em;
}
.footer__tagline {
  font-size: .8125rem;
  color: rgba(248,244,238,0.45);
  margin-top: .25rem;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
}
.footer__nav a {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(248,244,238,0.5);
  transition: color .2s;
}
.footer__nav a:hover { color: var(--bg); }
.footer__social a {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent-3);
  transition: color .2s;
}
.footer__social a:hover { color: var(--bg); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: 2rem;
}
.footer__bottom p { font-size: .75rem; color: rgba(248,244,238,0.3); }
.footer__credits {
  font-size: .75rem;
  color: rgba(248,244,238,0.3);
  transition: color .2s;
}
.footer__credits:hover { color: rgba(248,244,238,0.7); }

/* =============================================================
   17. WHATSAPP FAB
   ============================================================= */
.whatsapp-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.whatsapp-fab:active { transform: scale(0.96); }
.whatsapp-fab svg { flex-shrink: 0; }

/* =============================================================
   18. LIGHTBOX
   ============================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  margin: auto;
  border: none;
  background: rgba(30,22,12,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  backdrop-filter: blur(4px);
}
.lightbox::backdrop {
  background: transparent;
}
.lightbox[open] { display: flex; }

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
  gap: 1rem;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 2px;
  display: block;
  animation: lightboxIn .3s var(--ease-out);
}
@keyframes lightboxIn {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox__caption {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: rgba(248,244,238,0.65);
  text-align: center;
  max-width: 55ch;
  line-height: 1.5;
}
.lightbox__close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(248,244,238,0.08);
  color: rgba(248,244,238,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.lightbox__close:hover { background: rgba(248,244,238,0.15); color: var(--bg); }
.lightbox__prev,
.lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(248,244,238,0.08);
  color: rgba(248,244,238,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.lightbox__prev { left: 1.25rem; }
.lightbox__next { right: 1.25rem; }
.lightbox__prev:hover,
.lightbox__next:hover { background: rgba(248,244,238,0.15); color: var(--bg); }

/* =============================================================
   19. RESPONSIVE
   ============================================================= */
@media (min-width: 540px) {
  .footer__etsy {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .proceso__steps::before { left: 2rem; }
}

@media (min-width: 720px) {
  .servicios__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .testimonios__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__main {
    grid-template-columns: 1fr auto auto;
    align-items: start;
  }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .nav__links { display: flex; }
  .nav__hamburger { display: none; }

  .sobre__inner {
    grid-template-columns: 1fr 1fr;
  }
  .sobre__images {
    grid-template-rows: auto auto;
  }

  .proceso__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .proceso__steps::before {
    top: 1.75rem;
    left: calc(25% / 2);
    right: calc(25% / 2);
    bottom: auto;
    height: 1px;
    width: auto;
  }
  .proceso-step {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 1.5rem 2.5rem 0;
    border-top: 0 !important;
  }
  .proceso-step + .proceso-step { border-top: 0; }
  .proceso-step__num { margin-bottom: 1rem; }

  .materiales__inner {
    grid-template-columns: 1fr 1fr;
  }
  .materiales__img img { aspect-ratio: auto; height: 100%; min-height: 480px; }

  .contacto__inner {
    grid-template-columns: 1fr 1.3fr;
    align-items: start;
  }

  .portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .sobre__inner { grid-template-columns: 5fr 4fr; }
  .sobre__images { gap: 1.25rem; }
}

/* =============================================================
   20. REDUCED MOTION (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  @keyframes scrollPulse { to {} }
  .hero__scroll-line { animation: none; }
  .hero__bg img { transform: none; transition: none; }
  /* DO NOT disable: hovers, fades, card lifts, form transitions */
}
