
:root {
  --ivory: #f4f1ea;
  --cream: #e7e0d0;
  --cream2: #f6e6d7;
  --gold: #c7beac;
  --gold-light: #f2e9e0;
  --gold-dark: #bb9c88;
  --charcoal: #5a4a3c;
  --charcoal2: #453a30;
  --muted: #9c8a78;
  --muted2: #b5a696;
  --border: #ddd2bf;
  --border-dark: #c7beac;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;font-size:16px;}
body{background:var(--ivory);color:var(--charcoal);font-family:'DM Sans',sans-serif;font-weight:300;overflow-x:hidden;}

/* ── SCROLLBAR ── */
::-webkit-scrollbar{width:6px;}
::-webkit-scrollbar-track{background:var(--cream);}
::-webkit-scrollbar-thumb{background:var(--gold);border-radius:3px;}

/* ── FILTER ── */
function filterClick(btn){
  document.querySelectorAll('.filter-btn').forEach(b=>b.classList.remove('active'));
  btn.classList.add('active');
  cAllLoaded=false;
  if(cTimer){clearInterval(cTimer);cTimer=null;}
  renderGallery(btn.dataset.cat);
}

/* ── NAV ── */
#nav {
  position:fixed;top:0;left:0;right:0;z-index:200;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 4rem;height:80px;
  transition:all .4s;
}
#nav.solid {
  background:rgba(244,241,234,0.97);
  backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
  height:64px;
}
.nav-logo-wrap {display:flex;flex-direction:column;gap:1px;}
.nav-logo-icon {height:30px;width:auto;display:block;flex-shrink:0;}
a.nav-logo {display:flex;align-items:center;gap:.7rem;}
.nav-logo {
  font-family:'Cormorant Garamond',serif;font-size:1.4rem;font-weight:500;
  letter-spacing:.06em;color:#fff;text-decoration:none;
  transition:color .4s;line-height:1;
}
#nav.solid .nav-logo {color:var(--charcoal);}
.nav-logo-sub {
  font-size:.55rem;letter-spacing:.25em;text-transform:uppercase;
  color:rgba(255,255,255,.45);transition:color .4s;
}
#nav.solid .nav-logo-sub {color:var(--muted2);}
.nav-center {display:flex;gap:2.8rem;list-style:none;}
.nav-center a {
  font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;
  color:rgba(255,255,255,.7);text-decoration:none;
  transition:color .3s;font-weight:400;
}
#nav.solid .nav-center a {color:var(--muted);}
.nav-center a:hover {color:var(--gold);}
#nav.solid .nav-center a:hover {color:var(--gold-dark);}

/* ── NAV DROPDOWN (Servicios) ── */
.nav-dropdown {position:relative;}
.nav-dropdown-menu {
  position:absolute;top:100%;left:50%;transform:translateX(-50%) translateY(8px);
  margin-top:.6rem;
  background:var(--ivory);border:1px solid var(--border);
  box-shadow:0 12px 40px rgba(0,0,0,.1);
  padding:.6rem 0;min-width:180px;
  display:flex;flex-direction:column;
  opacity:0;visibility:hidden;transition:opacity .2s,transform .2s;
  z-index:200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}
.nav-dropdown-menu a {
  padding:.6rem 1.4rem;font-size:.7rem;letter-spacing:.15em;text-transform:uppercase;
  color:var(--muted)!important;white-space:nowrap;transition:background .2s,color .2s!important;
}
.nav-dropdown-menu a:hover {background:var(--cream);color:var(--gold-dark)!important;}
.nav-dropdown-videos {border-top:1px solid var(--border);margin-top:.4rem;padding-top:.7rem!important;color:var(--gold-dark)!important;}

.nav-right {display:flex;align-items:center;gap:1.5rem;}
.nav-cta {
  padding:.55rem 1.6rem;border:1px solid rgba(255,255,255,.4);
  color:#fff;font-size:.68rem;letter-spacing:.18em;
  text-transform:uppercase;text-decoration:none;
  border-radius:1px;transition:all .3s;font-family:'DM Sans',sans-serif;
  background:rgba(0,0,0,.12);backdrop-filter:blur(4px);
  box-shadow:0 2px 12px rgba(0,0,0,.1);
}
.nav-cta:hover {background:var(--gold);border-color:var(--gold);color:#fff;}
#nav.solid .nav-cta {border-color:var(--gold);color:var(--gold-dark);background:transparent;box-shadow:none;}
#nav.solid .nav-cta:hover {background:var(--gold);color:#fff;}
.nav-admin {
  background:none;border:none;cursor:pointer;
  color:rgba(255,255,255,.3);transition:color .3s;
  display:flex;align-items:center;justify-content:center;
  width:32px;height:32px;border-radius:50%;
}
.nav-admin svg {width:15px;height:15px;}
#nav.solid .nav-admin {color:var(--muted2);}
.nav-admin:hover {color:var(--gold)!important;}
.hamburger {display:none;flex-direction:column;gap:5px;cursor:pointer;background:none;border:none;padding:4px;}
.hamburger span {display:block;width:22px;height:1px;background:rgba(255,255,255,.8);transition:all .3s;}
#nav.solid .hamburger span {background:var(--charcoal);}
.mobile-admin-link {
  display:flex!important;align-items:center;gap:.5rem;
  font-family:'DM Sans',sans-serif!important;font-size:.7rem!important;
  letter-spacing:.15em;text-transform:uppercase;
  color:var(--muted2)!important;font-style:normal!important;
  position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);
  text-decoration:none;background:none;border:none;cursor:pointer;
}
.mobile-admin-link svg {width:14px;height:14px;}

/* ── HERO ── */
#hero {
  height:100vh;min-height:600px;
  position:relative;overflow:hidden;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;
  background:var(--cream2);
}
.hero-carousel { position:absolute;inset:0; }
.hero-slide {
  position:absolute;inset:0;
  background-size:cover;background-position:center;
  opacity:0;transition:opacity 1.6s ease;
}
.hero-slide.active { opacity:1; }
.hero-overlay-grad {
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(to bottom, rgba(90,74,60,.35) 0%, rgba(90,74,60,.08) 28%, rgba(90,74,60,.08) 60%, rgba(90,74,60,.5) 100%);
}
.hero-content { position:relative;z-index:2; }
.hero-tag {
  font-size:.65rem;letter-spacing:.4em;text-transform:uppercase;
  color:var(--gold-light);margin-bottom:2.2rem;font-weight:400;
  animation:fadeUp .8s ease .2s both;
}
.hero-name {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(3.6rem,10vw,8.5rem);
  font-weight:300;line-height:.95;letter-spacing:-.01em;
  color:#FFFFFF;
  text-shadow:0 2px 24px rgba(0,0,0,.35);
  animation:fadeUp .9s ease .35s both;
}
.hero-name em {display:block;font-style:italic;font-weight:300;color:var(--gold-light);}
.hero-subtitle {
  font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;
  color:rgba(255,255,255,.7);font-weight:400;
  text-shadow:0 1px 10px rgba(0,0,0,.3);
  margin-top:2rem;
  animation:fadeUp .8s ease .5s both;
  transition:opacity .4s, transform .4s;
}
.hero-portfolio-btn {
  display:inline-flex;align-items:center;gap:.7rem;
  margin-top:2.6rem;padding:.85rem 2.2rem;
  border:1px solid rgba(255,255,255,.5);
  color:#fff;text-decoration:none;
  font-size:.7rem;letter-spacing:.25em;text-transform:uppercase;
  border-radius:1px;transition:all .3s;
  animation:fadeUp .8s ease .65s both;
  backdrop-filter:blur(4px);
  background:rgba(255,255,255,.05);
}
.hero-portfolio-btn:hover {background:var(--gold);border-color:var(--gold);}
.hero-portfolio-btn svg {width:14px;height:14px;transition:transform .3s;}
.hero-portfolio-btn:hover svg {transform:translateX(4px);}
.hero-corner-text {
  position:absolute;right:3rem;bottom:3rem;z-index:2;
  font-family:'Cormorant Garamond',serif;font-size:.75rem;
  color:rgba(255,255,255,.35);letter-spacing:.15em;
  writing-mode:vertical-rl;transform:rotate(180deg);
}
@media(max-width:768px){
  .hero-corner-text { display:none; }
}

/* ── SECTION COMMONS ── */
.section-tag {font-size:.62rem;letter-spacing:.35em;text-transform:uppercase;color:var(--gold-dark);margin-bottom:.8rem;font-weight:400;}
.section-title {font-family:'Cormorant Garamond',serif;font-size:clamp(2.2rem,4.5vw,3.6rem);font-weight:400;color:var(--charcoal);line-height:1.05;}
.section-title em {font-style:italic;color:var(--gold-dark);}
.section-title.light {color:var(--charcoal);}
.section-title.light em {color:var(--gold-dark);}

/* ── SPECIALTIES ── */
#specialties {padding:7rem 4rem;background:var(--cream);}
.spec-header {max-width:1300px;margin:0 auto 3.5rem;}
.spec-header .section-tag {color:var(--gold);}
.spec-title-oneline {font-size:clamp(1.9rem,4vw,3.6rem);white-space:nowrap;}
.spec-header-row {display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-top:.3rem;flex-wrap:wrap;}
.spec-quote {
  font-family:'Cormorant Garamond',serif;font-style:italic;font-weight:400;
  font-size:1.25rem;line-height:1.5;color:var(--gold-dark);
  text-align:right;max-width:240px;
  border-right:1px solid var(--gold);padding-right:1.5rem;
}
.spec-grid {
  max-width:1300px;margin:0 auto;
  display:grid;grid-template-columns:repeat(3,1fr);
  grid-auto-rows:340px;
  gap:3px;
}
.spec-card {
  position:relative;overflow:hidden;cursor:pointer;
  background:var(--charcoal2);
}
.spec-card-bg {
  position:absolute;inset:0;
  background-size:cover;background-position:center;
  transition:transform .7s cubic-bezier(.25,.46,.45,.94);
  filter:brightness(.88);
}
.spec-card:hover .spec-card-bg {transform:scale(1.08);filter:brightness(.65);}
.spec-card-overlay {
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(10,8,6,.65) 0%,rgba(10,8,6,.05) 55%,transparent 100%);
}
.spec-card-content {
  position:absolute;inset:0;
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:1.5rem 1.6rem;
}
.spec-num { display:none; }
.spec-name {
  font-family:'Cormorant Garamond',serif;font-size:1.25rem;font-weight:400;
  color:#f4f1ea;margin-bottom:0;line-height:1.2;
  transition:transform .3s ease;
}
.spec-card:hover .spec-name {transform:translateY(-4px);}
.spec-desc {
  font-size:.76rem;color:rgba(244,241,234,0);line-height:1.65;font-weight:300;
  max-height:0;overflow:hidden;
  transition:all .4s ease;
  margin-top:.4rem;
}
.spec-card:hover .spec-desc {color:rgba(244,241,234,.6);max-height:80px;}
.spec-arrow {
  display:inline-block;margin-top:.6rem;
  font-size:.58rem;letter-spacing:.2em;text-transform:uppercase;
  color:var(--gold-light);opacity:0;transform:translateY(5px);
  transition:all .35s ease .05s;
}
.spec-card:hover .spec-arrow {opacity:1;transform:translateY(0);}
.spec-no-photo {
  position:absolute;inset:0;
  background:linear-gradient(145deg,var(--cream2) 0%,var(--border) 100%);
}

/* ── ABOUT ── */
#about {padding:8rem 4rem;background:var(--ivory);}
.about-inner {max-width:1300px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:7rem;align-items:center;}
.about-visual-wrap {position:relative;}
.about-visual-main {
  width:100%;aspect-ratio:3/4;
  background:linear-gradient(145deg,var(--cream2),var(--cream),#c7beac40);
  border-radius:2px;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
}
.about-visual-main-text {
  font-family:'Cormorant Garamond',serif;font-size:6rem;
  color:rgba(199,190,172,.2);font-style:italic;font-weight:300;user-select:none;
}
.about-accent-box {
  position:absolute;right:-2.5rem;bottom:3rem;
  background:var(--charcoal);padding:1.8rem 2rem;
  width:200px;
}
.about-accent-num {
  font-family:'Cormorant Garamond',serif;font-size:3rem;font-weight:300;
  color:var(--gold-light);line-height:1;
}
.about-accent-label {font-size:.65rem;letter-spacing:.2em;text-transform:uppercase;color:rgba(244,241,234,.4);margin-top:.3rem;}
.about-signature {
  position:absolute;top:2rem;left:2rem;
  font-family:'Cormorant Garamond',serif;font-size:1.2rem;font-style:italic;
  color:rgba(199,190,172,.6);background:rgba(244,241,234,.9);
  padding:.5rem 1rem;
}
.about-text {padding-top:.5rem;}
.about-text .section-tag {margin-bottom:1rem;}
.about-text .section-title {margin-bottom:2rem;}
.about-body {font-size:1rem;line-height:1.9;color:var(--muted);margin-bottom:1.5rem;}
.about-quote {
  border-left:2px solid var(--gold);padding-left:1.5rem;margin:2.5rem 0;
  font-family:'Cormorant Garamond',serif;font-size:1.4rem;font-weight:400;
  font-style:italic;color:var(--charcoal);line-height:1.5;
}
.about-locations {display:flex;gap:1.5rem;margin-top:2rem;flex-wrap:wrap;}
.location-pill {
  display:flex;align-items:center;gap:.6rem;
  padding:.55rem 1.2rem;border:1px solid var(--border);
  font-size:.75rem;letter-spacing:.1em;color:var(--muted);
  border-radius:1px;
}
.location-pill span:first-child {color:var(--gold-dark);}

/* ── PORTFOLIO ── */
#portfolio {padding:8rem 4rem;background:var(--cream);}
.portfolio-header {max-width:1300px;margin:0 auto 3rem;}
.portfolio-header-top {display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:2rem;}
.filter-bar {
  max-width:1300px;margin:0 auto 3rem;
  display:flex;gap:.5rem;flex-wrap:wrap;
}
.filter-btn {
  padding:.45rem 1.1rem;
  font-size:.65rem;letter-spacing:.18em;text-transform:uppercase;
  border:1px solid var(--border-dark);background:transparent;
  color:var(--muted);border-radius:1px;cursor:pointer;
  font-family:'DM Sans',sans-serif;font-weight:400;
  transition:all .25s;
}
.filter-btn.active,.filter-btn:hover {
  background:var(--charcoal);color:var(--gold-light);border-color:var(--charcoal);
}
.gallery {max-width:1300px;margin:0 auto;}
.masonry {columns:3;column-gap:12px;}
.gallery-item {
  break-inside:avoid;margin-bottom:12px;
  position:relative;overflow:hidden;cursor:pointer;border-radius:1px;
}
.gallery-item img {width:100%;display:block;transition:transform .6s cubic-bezier(.25,.46,.45,.94);}
.gallery-item:hover img {transform:scale(1.05);}
.gallery-hover {
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(69,58,48,.85) 0%,rgba(69,58,48,.1) 50%,transparent 100%);
  opacity:0;transition:opacity .35s;
  display:flex;flex-direction:column;justify-content:flex-end;padding:1.8rem;
}
.gallery-item:hover .gallery-hover {opacity:1;}
.gallery-cat {
  font-size:.6rem;letter-spacing:.25em;text-transform:uppercase;
  color:var(--gold-light);margin-bottom:.4rem;
}
.gallery-title {
  font-family:'Cormorant Garamond',serif;font-size:1.2rem;
  font-weight:400;color:#f4f1ea;
}

/* ── CAROUSEL (vista "Todos") ── */
.carousel-wrap { max-width:1300px;margin:0 auto;display:none; }
.carousel-wrap.active { display:block; }
.carousel-stage {
  position:relative;overflow:hidden;border-radius:2px;
  background:#2e2620;height:480px;
  cursor:grab;user-select:none;
}
.carousel-stage:active { cursor:grabbing; }
.carousel-track {
  display:flex;height:100%;
  transition:transform .55s cubic-bezier(.4,0,.2,1);
  will-change:transform;
}
/* DESKTOP: 2 slides visible */
.carousel-slide {
  flex-shrink:0;width:50%;height:100%;
  position:relative;padding:0 2px;
  background:#2e2620;
}
.carousel-slide img {
  width:100%;height:100%;object-fit:cover;
  display:block;border-radius:1px;
  opacity:0;transition:opacity .35s ease;
}
.carousel-slide img.loaded { opacity:1; }
.carousel-slide-overlay {
  position:absolute;inset:2px;border-radius:1px;
  background:linear-gradient(to top,rgba(10,8,6,.6) 0%,transparent 50%);
  pointer-events:none;
}
.carousel-slide-cat {
  position:absolute;bottom:1.2rem;left:1.5rem;
  font-size:.6rem;letter-spacing:.25em;text-transform:uppercase;
  color:var(--gold-light);
}
.carousel-nav {
  position:absolute;top:50%;transform:translateY(-50%);
  background:rgba(244,241,234,.1);backdrop-filter:blur(10px);
  border:1px solid rgba(244,241,234,.15);color:#fff;
  font-size:1.5rem;width:48px;height:48px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:all .25s;z-index:10;
}
.carousel-nav:hover { background:rgba(199,190,172,.4);border-color:var(--gold); }
.carousel-prev { left:1rem; }
.carousel-next { right:1rem; }
.carousel-counter {
  position:absolute;top:1rem;right:1.2rem;
  font-size:.68rem;color:rgba(255,255,255,.4);letter-spacing:.1em;
}
.carousel-progress {
  height:2px;background:rgba(255,255,255,.08);margin-top:5px;
  border-radius:1px;overflow:hidden;
}
.carousel-progress-bar {
  height:100%;background:var(--gold);border-radius:1px;
  width:0%;
}
.carousel-dots {
  display:flex;justify-content:center;gap:.45rem;
  margin-top:.9rem;flex-wrap:wrap;
}
.carousel-dot {
  width:5px;height:5px;border-radius:50%;
  background:var(--border-dark);cursor:pointer;
  transition:all .25s;border:none;padding:0;
}
.carousel-dot.active { background:var(--gold);transform:scale(1.4); }
.carousel-thumbs {
  display:flex;gap:4px;margin-top:5px;
  overflow-x:auto;scrollbar-width:none;
}
.carousel-thumbs::-webkit-scrollbar { display:none; }
.carousel-thumb {
  width:80px;height:52px;object-fit:cover;
  border-radius:1px;cursor:pointer;flex-shrink:0;
  border:2px solid transparent;transition:all .2s;opacity:.5;
}
.carousel-thumb.active { border-color:var(--gold);opacity:1; }

/* MOBILE: 1 slide, full image no crop */
@media(max-width:768px){
  .carousel-stage {
    height:auto !important;
    background:var(--cream) !important;
  }
  .carousel-track { align-items:center; }
  .carousel-slide {
    width:100% !important;
    height:auto !important;
    padding:0;
  }
  .carousel-slide img {
    width:100% !important;
    height:auto !important;
    max-height:none !important;
    object-fit:fill !important;
    border-radius:0;
  }
  .carousel-slide-overlay { display:none; }
  .carousel-slide-cat { bottom:.7rem;left:.9rem; }
  .carousel-nav { width:36px;height:36px;font-size:1rem; }
  .carousel-thumbs { display:none; }
}

.gallery-empty-state {
  text-align:center;padding:6rem 2rem;color:var(--muted2);
  grid-column:1/-1;
}
.gallery-empty-state .empty-icon {font-size:3.5rem;margin-bottom:1.5rem;opacity:.3;}
.gallery-empty-state p {font-size:.95rem;line-height:1.7;}
.gallery-empty-state code {
  display:inline-block;margin-top:.8rem;padding:.4rem .8rem;
  background:var(--cream2);border:1px solid var(--border);
  font-size:.8rem;color:var(--gold-dark);
}

/* ── SERVICES ── */
#services {padding:8rem 4rem;background:var(--ivory);}
.services-inner {max-width:1300px;margin:0 auto;}
.services-top {display:grid;grid-template-columns:1fr 1fr;gap:6rem;align-items:end;margin-bottom:5rem;}
.services-intro {font-size:1rem;line-height:1.9;color:var(--muted);max-width:480px;}
.services-grid {
  display:grid;grid-template-columns:repeat(3,1fr);gap:2px;
  background:var(--border);
}
.service-card {
  background:var(--ivory);padding:2.5rem 2rem;
  transition:background .3s;
}
.service-card:hover {background:var(--cream);}
.service-icon {
  width:44px;height:44px;border:1px solid var(--border-dark);
  display:flex;align-items:center;justify-content:center;
  font-size:1.2rem;margin-bottom:1.5rem;transition:border-color .3s;
}
.service-card:hover .service-icon {border-color:var(--gold);}
.service-name {
  font-family:'Cormorant Garamond',serif;font-size:1.15rem;font-weight:500;
  color:var(--charcoal);margin-bottom:.7rem;
}
.service-desc {font-size:.82rem;line-height:1.7;color:var(--muted);font-weight:300;}
.service-tag-line {
  margin-top:1.2rem;font-size:.62rem;letter-spacing:.18em;
  text-transform:uppercase;color:var(--gold-dark);font-weight:400;
}

/* ── PROCESS ── */
#process {padding:8rem 4rem;background:var(--ivory);}
.process-inner {max-width:1300px;margin:0 auto;}
#process .section-tag {color:var(--gold);}
.process-grid {
  display:grid;grid-template-columns:repeat(4,1fr);gap:0;
  margin-top:4rem;position:relative;
}
.process-grid::before {
  content:'';position:absolute;top:30px;left:12.5%;right:12.5%;height:1px;
  background:linear-gradient(to right,transparent,rgba(199,190,172,.25),rgba(199,190,172,.25),transparent);
}
.process-step {text-align:center;padding:0 2rem;}
.process-num {
  width:60px;height:60px;border:1px solid var(--border-dark);
  border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-family:'Cormorant Garamond',serif;font-size:1.3rem;font-weight:300;
  color:var(--gold-dark);margin:0 auto 2rem;
  background:var(--ivory);position:relative;z-index:1;
  transition:border-color .3s;
}
.process-step:hover .process-num {border-color:var(--gold);}
.process-step-title {
  font-family:'Cormorant Garamond',serif;font-size:1.2rem;font-weight:400;
  color:var(--charcoal);margin-bottom:.7rem;
}
.process-step-desc {font-size:.8rem;line-height:1.7;color:var(--muted);font-weight:300;}

/* ── VIDEOS ── */
#videos {padding:8rem 4rem;background:var(--cream);}
.videos-inner {max-width:1300px;margin:0 auto;}
.videos-top {display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:3.5rem;}
.videos-grid {display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;}
.video-card {background:var(--ivory);overflow:hidden;border-radius:1px;transition:transform .35s,box-shadow .35s;border:1px solid var(--border);}
.video-card:hover {transform:translateY(-5px);box-shadow:0 12px 30px rgba(0,0,0,.06);}
.video-embed {position:relative;padding-top:56.25%;background:var(--cream2);}
.video-embed iframe {position:absolute;inset:0;width:100%;height:100%;border:none;}
.video-placeholder {
  position:absolute;inset:0;display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--charcoal2),#1a1210);
}
.play-btn {
  width:64px;height:64px;border-radius:50%;
  border:1.5px solid rgba(199,190,172,.5);
  display:flex;align-items:center;justify-content:center;
  transition:all .3s;margin-bottom:1rem;
}
.video-card:hover .play-btn {background:var(--gold);border-color:var(--gold);}
.play-btn::after {
  content:'';width:0;height:0;
  border-top:10px solid transparent;border-bottom:10px solid transparent;
  border-left:18px solid rgba(199,190,172,.8);margin-left:4px;
  transition:border-color .3s;
}
.video-card:hover .play-btn::after {border-left-color:#fff;}
.video-body {padding:1.5rem 1.8rem;}
.video-badge {
  display:inline-block;padding:.25rem .7rem;
  background:rgba(199,190,172,.12);border:1px solid rgba(199,190,172,.25);
  font-size:.6rem;letter-spacing:.2em;text-transform:uppercase;
  color:var(--gold-dark);margin-bottom:.8rem;
}
.video-title {
  font-family:'Cormorant Garamond',serif;font-size:1.3rem;
  font-weight:400;color:var(--charcoal);margin-bottom:.5rem;
}
.video-desc-text {font-size:.82rem;color:var(--muted);line-height:1.6;font-weight:300;}
.videos-empty {
  grid-column:1/-1;text-align:center;padding:5rem;
  color:rgba(244,241,234,.2);
}
.videos-empty .empty-icon {font-size:3rem;margin-bottom:1rem;}

/* ── TESTIMONIALS ── */
#testimonials {padding:8rem 4rem;background:var(--ivory);overflow:hidden;}
.test-inner {max-width:1300px;margin:0 auto;}
.test-grid {display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:4rem;}
.test-card {
  background:var(--cream);padding:2.5rem;
  border-top:2px solid var(--gold);position:relative;
}
.test-stars {color:var(--gold);font-size:1rem;letter-spacing:.2rem;margin-bottom:1.2rem;}
.test-text {
  font-family:'Cormorant Garamond',serif;font-size:1.1rem;font-style:italic;
  line-height:1.7;color:var(--charcoal2);margin-bottom:1.5rem;font-weight:400;
}
.test-author {display:flex;align-items:center;gap:.8rem;}
.test-avatar {
  width:40px;height:40px;border-radius:50%;
  background:linear-gradient(135deg,var(--gold-light),var(--gold-dark));
  display:flex;align-items:center;justify-content:center;
  font-family:'Cormorant Garamond',serif;font-size:.9rem;color:#fff;font-weight:600;
}
.test-name {font-size:.85rem;font-weight:500;color:var(--charcoal);}
.test-role {font-size:.73rem;color:var(--muted2);}

/* ── CONTACT ── */
#contacto {padding:8rem 4rem;background:var(--cream);}
.contact-inner {max-width:1300px;margin:0 auto;display:grid;grid-template-columns:1fr 1.3fr;gap:7rem;align-items:start;}
.contact-left {}
.contact-left .section-tag {color:var(--gold);}
.contact-left .section-title {margin-bottom:1.8rem;}
.contact-lead {font-size:.95rem;line-height:1.9;color:var(--muted);margin-bottom:2.5rem;font-weight:300;}
.contact-services {display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-bottom:3rem;}
.cs-item {
  display:flex;align-items:center;gap:.6rem;
  font-size:.78rem;color:var(--muted);
}
a.cs-item {text-decoration:none;transition:color .2s;cursor:pointer;}
a.cs-item:hover {color:var(--gold-dark);}
.cs-dot {width:5px;height:5px;border-radius:50%;background:var(--gold);flex-shrink:0;}
.contact-details {display:flex;flex-direction:column;gap:1.2rem;}
.cd-item {display:flex;align-items:flex-start;gap:1rem;}
.cd-icon {
  width:40px;height:40px;border:1px solid var(--border-dark);
  display:flex;align-items:center;justify-content:center;
  font-size:1rem;flex-shrink:0;margin-top:.1rem;color:var(--gold-dark);
}
.cd-icon svg {width:18px;height:18px;}
.cd-label {font-size:.6rem;letter-spacing:.2em;text-transform:uppercase;color:var(--muted2);margin-bottom:.25rem;}
.cd-value {font-size:.9rem;color:var(--charcoal);}
.cd-value a {color:inherit;text-decoration:none;transition:color .2s;}
.cd-value a:hover {color:var(--gold-dark);}

.contact-form {background:var(--ivory);padding:3.5rem;box-shadow:0 2px 30px rgba(0,0,0,.04);}
.form-title {
  font-family:'Cormorant Garamond',serif;font-size:1.6rem;font-weight:400;
  color:var(--charcoal);margin-bottom:.4rem;
}
.form-sub {font-size:.82rem;color:var(--muted);margin-bottom:2rem;}
.form-grid {display:grid;grid-template-columns:1fr 1fr;gap:1.2rem;}
.form-group {display:flex;flex-direction:column;gap:.4rem;}
.form-group.full {grid-column:1/-1;}
.form-group label {font-size:.62rem;letter-spacing:.2em;text-transform:uppercase;color:var(--muted2);font-weight:400;}
.form-group input,.form-group select,.form-group textarea {
  padding:.8rem 1rem;border:1px solid var(--border);
  background:#ffffff;font-family:'DM Sans',sans-serif;
  font-size:.9rem;color:var(--charcoal);border-radius:1px;
  transition:border-color .2s,background .2s;width:100%;font-weight:300;
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus {
  outline:none;border-color:var(--gold);background:var(--ivory);
}
.form-group textarea {resize:vertical;min-height:110px;}
.form-submit {
  margin-top:1.5rem;padding:1rem 2.8rem;
  background:var(--charcoal);color:#f4f1ea;
  border:none;border-radius:1px;font-family:'DM Sans',sans-serif;
  font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;
  cursor:pointer;transition:all .3s;font-weight:400;
  position:relative;overflow:hidden;
}
.form-submit::before {
  content:'';position:absolute;inset:0;
  background:var(--gold);transform:translateX(-100%);transition:transform .35s;
}
.form-submit:hover::before {transform:translateX(0);}
.form-submit span {position:relative;z-index:1;}
.form-msg {
  margin-top:1rem;padding:1rem;text-align:center;
  font-size:.85rem;border-radius:1px;display:none;
}
.form-msg.success {background:rgba(199,190,172,.1);border:1px solid var(--gold);color:var(--gold-dark);}
.form-msg.error {background:rgba(139,26,26,.06);border:1px solid #8B1A1A;color:#8B1A1A;}

/* ── FOOTER ── */
footer {background:var(--cream2);padding:3.5rem 4rem;}
.footer-inner {max-width:1300px;margin:0 auto;}
.footer-top {display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:4rem;padding-bottom:3rem;border-bottom:1px solid var(--border);}
.footer-brand {}
.footer-name {
  font-family:'Cormorant Garamond',serif;font-size:1.8rem;font-weight:400;
  color:var(--charcoal);margin-bottom:.3rem;
}
.footer-tagline {font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-dark);margin-bottom:1.5rem;}
.footer-about {font-size:.82rem;line-height:1.8;color:var(--muted);max-width:280px;font-weight:300;}
.footer-col h4 {font-size:.62rem;letter-spacing:.25em;text-transform:uppercase;color:var(--muted2);margin-bottom:1.5rem;font-weight:400;}
.footer-col ul {list-style:none;display:flex;flex-direction:column;gap:.8rem;}
.footer-col ul a {font-size:.82rem;color:var(--muted);text-decoration:none;transition:color .2s;font-weight:300;}
.footer-col ul a:hover {color:var(--gold-dark);}
.footer-bottom {padding-top:2rem;display:flex;align-items:center;justify-content:space-between;}
.footer-copy {font-size:.73rem;color:var(--muted2);}
.footer-credits {font-size:.73rem;color:var(--muted2);}

/* ── LIGHTBOX ── */
#lightbox {
  display:none;position:fixed;inset:0;z-index:500;
  background:rgba(15,13,12,.97);
  align-items:center;justify-content:center;
}
#lightbox.open {display:flex;}
#lightbox img {max-width:90vw;max-height:88vh;object-fit:contain;}
.lb-close {
  position:absolute;top:1.5rem;right:2rem;
  background:none;border:none;color:rgba(255,255,255,.4);
  font-size:1.5rem;cursor:pointer;transition:color .2s;
  width:44px;height:44px;display:flex;align-items:center;justify-content:center;
}
.lb-close:hover {color:#fff;}
.lb-nav {
  position:absolute;top:50%;transform:translateY(-50%);
  background:none;border:none;color:rgba(255,255,255,.3);
  font-size:2.5rem;cursor:pointer;padding:1rem 2rem;
  transition:color .2s;
}
.lb-nav:hover {color:rgba(255,255,255,.8);}
.lb-prev {left:0;}
.lb-next {right:0;}
.lb-caption {
  position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);
  text-align:center;color:rgba(255,255,255,.35);font-size:.8rem;
  letter-spacing:.1em;
}

/* ── ADMIN MODAL ── */
.modal-overlay {
  display:none;position:fixed;inset:0;z-index:400;
  background:rgba(15,13,12,.88);align-items:center;justify-content:center;
}
.modal-overlay.open {display:flex;}
.modal {
  background:var(--ivory);width:90%;max-width:580px;
  max-height:92vh;overflow-y:auto;position:relative;
}
.modal-header {
  padding:2.5rem 2.5rem 0;border-bottom:1px solid var(--border);
  padding-bottom:1.5rem;
}
.modal-header h2 {
  font-family:'Cormorant Garamond',serif;font-size:1.7rem;
  font-weight:400;color:var(--charcoal);
}
.modal-header p {font-size:.82rem;color:var(--muted);margin-top:.3rem;}
.modal-x {
  position:absolute;right:1.5rem;top:1.5rem;
  background:none;border:none;cursor:pointer;
  color:var(--muted2);font-size:1.2rem;
  width:32px;height:32px;display:flex;align-items:center;justify-content:center;
  transition:color .2s;
}
.modal-x:hover {color:var(--charcoal);}
.modal-tabs {display:flex;padding:0 2.5rem;border-bottom:1px solid var(--border);}
.m-tab {
  padding:.9rem 1.2rem;font-size:.65rem;letter-spacing:.2em;text-transform:uppercase;
  background:none;border:none;border-bottom:2px solid transparent;cursor:pointer;
  color:var(--muted2);font-family:'DM Sans',sans-serif;font-weight:400;
  margin-bottom:-1px;transition:all .2s;
}
.m-tab.active {border-bottom-color:var(--gold);color:var(--charcoal);}
.m-tab:hover {color:var(--gold-dark);}
.modal-body {padding:2rem 2.5rem;}
.modal-section {display:none;}
.modal-section.active {display:block;}

/* login */
.login-wrap {text-align:center;padding:2rem 0;}
.login-wrap p {font-size:.85rem;color:var(--muted);margin-bottom:1.5rem;}
.admin-warning {
  display:flex;align-items:flex-start;gap:.9rem;text-align:left;
  background:var(--cream);border:1px solid var(--border);
  border-left:3px solid var(--gold-dark);
  border-radius:2px;padding:1rem 1.2rem;margin-bottom:1.8rem;
}
.admin-warning svg {width:20px;height:20px;color:var(--gold-dark);flex-shrink:0;margin-top:.1rem;}
.admin-warning strong {
  display:block;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;
  color:var(--charcoal);margin-bottom:.35rem;
}
.admin-warning p {font-size:.8rem;color:var(--muted);line-height:1.6;margin:0;}
.admin-warning a {color:var(--gold-dark);text-decoration:underline;}
.pin-input {
  padding:.9rem 1rem;width:100%;font-size:1.1rem;text-align:center;
  letter-spacing:.4em;border:1px solid var(--border);
  background:#ffffff;font-family:'DM Sans',sans-serif;
  border-radius:1px;color:var(--charcoal);
}
.pin-input:focus {outline:none;border-color:var(--gold);}
.login-btn {
  margin-top:1rem;width:100%;padding:1rem;
  background:var(--charcoal);color:#f4f1ea;
  border:none;border-radius:1px;font-family:'DM Sans',sans-serif;
  font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;
  cursor:pointer;transition:background .2s;
}
.login-btn:hover {background:var(--charcoal2);}
.pin-hint {margin-top:.8rem;font-size:.72rem;color:var(--muted2);}

/* admin form elements */
.a-form {display:flex;flex-direction:column;gap:1rem;}
.a-group {display:flex;flex-direction:column;gap:.4rem;}
.a-group label {font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted2);}
.a-group input,.a-group select,.a-group textarea {
  padding:.7rem .9rem;border:1px solid var(--border);
  background:#ffffff;font-family:'DM Sans',sans-serif;
  font-size:.88rem;color:var(--charcoal);border-radius:1px;width:100%;
}
.a-group input:focus,.a-group select:focus,.a-group textarea:focus {
  outline:none;border-color:var(--gold);
}
.a-group textarea {resize:vertical;min-height:70px;}
.a-hint {font-size:.7rem;color:var(--muted2);margin-top:.3rem;}
.a-hint a {color:var(--gold-dark);}
.a-btn {
  padding:.75rem 1.8rem;background:var(--charcoal);color:#f4f1ea;
  border:none;border-radius:1px;font-family:'DM Sans',sans-serif;
  font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;
  cursor:pointer;transition:background .2s;margin-top:.3rem;
}
.a-btn:hover {background:var(--charcoal2);}
.a-btn.red {background:#8B1A1A;}
.a-btn.red:hover {background:#A62020;}
.a-divider {border:none;border-top:1px solid var(--border);margin:1.5rem 0;}
.a-list-label {font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted2);margin-bottom:.8rem;}
.a-list {display:flex;flex-direction:column;gap:.5rem;max-height:240px;overflow-y:auto;}
.a-row {
  display:flex;align-items:center;gap:.8rem;
  padding:.65rem .9rem;background:var(--cream);
  border:1px solid var(--border);
}
.a-thumb {
  width:44px;height:34px;object-fit:cover;flex-shrink:0;
  background:var(--cream2);
}
.a-row-info {flex:1;min-width:0;}
.a-row-name {font-size:.84rem;color:var(--charcoal);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.a-row-sub {font-size:.7rem;color:var(--muted2);}
.a-del {background:none;border:none;cursor:pointer;color:var(--muted2);font-size:1rem;transition:color .2s;flex-shrink:0;padding:.2rem;}
.a-del:hover {color:#8B1A1A;}
.a-empty {text-align:center;padding:2rem;color:var(--muted2);font-size:.85rem;}

/* ── MOBILE MENU ── */
#mobile-menu {
  display:none;position:fixed;inset:0;z-index:150;
  background:var(--ivory);flex-direction:column;
  align-items:center;justify-content:center;gap:2rem;
  animation:menuIn .3s ease;
}
#mobile-menu.open {display:flex;}
@keyframes menuIn {from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}
#mobile-menu a {
  font-family:'Cormorant Garamond',serif;font-size:2.2rem;
  color:var(--charcoal);text-decoration:none;
  font-style:italic;font-weight:300;transition:color .2s;
}
#mobile-menu a:hover {color:var(--gold-dark);}
#mobile-menu-close {
  position:absolute;top:2rem;right:2rem;
  background:none;border:none;color:var(--muted2);
  font-size:1.5rem;cursor:pointer;
}
.mobile-services-toggle {
  font-family:'Cormorant Garamond',serif;font-size:2.2rem;
  color:var(--charcoal);background:none;border:none;
  font-style:italic;font-weight:300;cursor:pointer;
  display:flex;align-items:center;gap:.6rem;
  transition:color .2s;
}
.mobile-services-toggle:hover {color:var(--gold-dark);}
#mobile-services-arrow {
  font-size:1.1rem;transition:transform .3s;display:inline-block;
}
#mobile-services-arrow.open {transform:rotate(180deg);}
#mobile-services-sub {
  display:none;flex-direction:column;align-items:center;gap:1rem;
  max-height:40vh;overflow-y:auto;padding:.5rem 0;
}
#mobile-services-sub.open {display:flex;}
#mobile-services-sub a {
  font-family:'DM Sans',sans-serif;font-size:.95rem;font-style:normal;
  letter-spacing:.05em;color:var(--muted);cursor:pointer;text-decoration:none;
  transition:color .2s;
}
#mobile-services-sub a:hover {color:var(--gold-dark);}
.mobile-services-videos {
  border-top:1px solid var(--border);padding-top:1rem!important;margin-top:.3rem;
  width:100%;text-align:center;color:var(--gold-dark)!important;
}

/* ── RESPONSIVE ── */
@media(max-width:1100px){
  .spec-grid {grid-template-columns:repeat(3,1fr);grid-auto-rows:300px;}
  .process-grid {grid-template-columns:repeat(2,1fr);gap:3rem;}
  .process-grid::before {display:none;}
  .footer-top {grid-template-columns:1fr 1fr;}
}
@media(max-width:900px){
  #nav {padding:0 1.2rem;}
  .nav-center {display:none;}
  .hamburger {display:flex;}
  .nav-cta {padding:.5rem 1rem;font-size:.62rem;letter-spacing:.12em;}
  .nav-admin {display:none;}
  .nav-logo-icon {height:24px;}
  .nav-logo-sub {display:none;}
  .nav-logo {font-size:1.15rem;}
  .nav-right {gap:.6rem;}
  section,#about,#portfolio,#services,#process,#videos,#testimonials,#contacto,#specialties {padding:5rem 1.5rem;}
  .about-inner,.contact-inner,.services-top {grid-template-columns:1fr;gap:3rem;}
  .spec-grid {grid-template-columns:repeat(2,1fr);grid-auto-rows:200px;}
  .services-grid {grid-template-columns:1fr 1fr;}
  .videos-grid,.test-grid {grid-template-columns:1fr;}
  .masonry {columns:2;}
  footer {padding:3rem 1.5rem;}
  .footer-top {grid-template-columns:1fr;gap:2rem;}
  .footer-col-redundant {display:none;}
  .portfolio-header-top {flex-direction:column;align-items:flex-start;gap:1rem;}
  .about-accent-box {right:0;}
  .spec-header {flex-direction:column;gap:1rem;align-items:flex-start;}
  .contact-form {padding:2rem 1.5rem;}
}
@media(max-width:600px){
  .spec-grid {grid-template-columns:1fr;grid-auto-rows:280px;}
  .masonry {columns:2;}
  .services-grid {grid-template-columns:1fr;}
  .form-grid {grid-template-columns:1fr;}
  .contact-services {grid-template-columns:1fr;}
  .hero-name {font-size:clamp(3.2rem,14vw,5rem);}
  .process-grid {grid-template-columns:1fr;}
  .footer-bottom {flex-direction:column;gap:1rem;text-align:center;}
  .spec-title-oneline {white-space:normal;font-size:clamp(2rem,9vw,2.6rem);}
  .spec-header-row {flex-direction:column;align-items:flex-start;gap:1.2rem;margin-top:1.2rem;}
  .spec-quote {text-align:left;border-right:none;border-left:1px solid var(--gold);padding-left:1.2rem;padding-right:0;max-width:100%;font-size:1.05rem;}
}


/* ── WHATSAPP BUTTON ── */

.wa-btn {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 300;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  text-decoration: none;
  animation: waPulse 2.5s ease-in-out infinite;
  transition: transform .2s, box-shadow .2s;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); animation: none; }
.wa-btn svg { width: 32px; height: 32px; fill: #fff; }
.wa-tooltip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: #5a4a3c; color: #fff;
  font-family: "DM Sans", sans-serif; font-size: .78rem;
  padding: .45rem .9rem; border-radius: 4px;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.wa-tooltip::after {
  content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: #5a4a3c;
}
.wa-btn:hover .wa-tooltip { opacity: 1; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,.75), 0 0 0 8px rgba(37,211,102,.1); }
}
