/* ==========================================================================
   ZHEZU STUDIO 3D — Design system
   ========================================================================== */

:root{
  --coral: #f38487;
  --coral-deep: #e56065;
  --lavanda: #d7cce5;
  --lavanda-deep: #b9a6d1;
  --blush: #f2d6d5;
  --ink: #201f1f;
  --cream: #fdfbf8;
  --paper: #ffffff;
  --line: rgba(32,31,31,0.08);
  --line-strong: rgba(32,31,31,0.14);

  --font-display: 'Comfortaa', sans-serif;
  --font-body: 'Satoshi', 'Comfortaa', sans-serif;

  --radius-s: 10px;
  --radius-m: 20px;
  --radius-l: 32px;

  --ease: cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; }

h1,h2,h3,h4,.font-display{
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.wrap{ max-width: 1180px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px){ .wrap{ padding: 0 20px; } }

/* subtle graph-paper background, brand signature */
.grid-bg{
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 36px 36px;
}

section{ padding: 88px 0; position: relative; }
@media (max-width: 640px){ section{ padding: 56px 0; } }

.eyebrow{
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--coral-deep);
  font-size: 15px;
  display: inline-block;
  margin-bottom: 10px;
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--coral); color: #fff; box-shadow: 0 8px 22px rgba(243,132,135,0.35); }
.btn-primary:hover{ box-shadow: 0 12px 28px rgba(243,132,135,0.45); }
.btn-ghost{ background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover{ background: var(--coral); color: #fff; border-color: var(--coral); }
.btn-light{ background: #fff; color: var(--ink); border: 1.5px solid var(--line-strong); }

/* ---- header / nav ---- */
.site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 22px 0;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled{
  background: rgba(253,251,248,0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; }
.brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-weight:700; font-size: 20px; }
.brand img{ width: 40px; height: 40px; }
.brand-text{ display:flex; flex-direction:column; line-height:1.08; }
.brand-text em{ font-style:normal; font-weight:500; font-size:11px; letter-spacing:.03em; color: rgba(32,31,31,0.55); }
.menu-toggle{
  display:flex; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer;
  padding: 10px; margin: -10px;
}
.menu-toggle span{ width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-toggle.is-open span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2){ opacity: 0; }
.menu-toggle.is-open span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

/* full-screen nav overlay */
.nav-overlay{
  position: fixed; inset: 0; z-index: 190;
  background: var(--blush);
  display: flex; flex-direction: column; justify-content: center;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
.nav-overlay.is-open{ transform: translateY(0); }
.nav-layout{
  display:flex; align-items:center; gap: 64px;
}
.nav-mascot{
  flex: 0 0 auto; display:flex; align-items:center; justify-content:center;
  opacity: 0; transform: translateX(-24px) scale(.9);
  transition: opacity .6s var(--ease) .1s, transform .6s var(--ease) .1s;
}
.nav-overlay.is-open .nav-mascot{ opacity: 1; transform: translateX(0) scale(1); }
.nav-mascot img{ width: clamp(120px, 16vw, 220px); animation: nav-mascot-spin 9s linear infinite; }
@keyframes nav-mascot-spin{ from{ transform: rotate(0deg);} to{ transform: rotate(360deg);} }
@media (max-width: 780px){ .nav-mascot{ display:none; } }
.nav-main{ flex: 1 1 auto; min-width: 0; }
.nav-overlay ul{ list-style:none; margin: 0; padding: 0; }
.nav-overlay li{ overflow:hidden; }
.nav-overlay ul a{
  display:inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 4.4vw, 42px);
  color: var(--ink);
  padding: 5px 0;
  transform: translateY(110%);
  transition: transform .55s var(--ease), color .2s;
}
.nav-overlay.is-open ul a{ transform: translateY(0); }
.nav-overlay ul a:hover{ color: var(--coral-deep); }
.nav-overlay li:nth-child(1) a{ transition-delay: .06s; }
.nav-overlay li:nth-child(2) a{ transition-delay: .11s; }
.nav-overlay li:nth-child(3) a{ transition-delay: .16s; }
.nav-overlay li:nth-child(4) a{ transition-delay: .21s; }
.nav-overlay li:nth-child(5) a{ transition-delay: .26s; }
.nav-overlay .nav-foot{
  display:flex; justify-content:flex-start; align-items:center;
  margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(32,31,31,0.15);
  font-size: 14px;
  opacity: 0;
  transition: opacity .4s var(--ease) .2s;
}
.nav-overlay.is-open .nav-foot{ opacity: 1; }
.nav-social{ display:flex; gap: 18px; }
.nav-social a{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  transition: color .2s;
}
.nav-social a:hover{ color: var(--coral-deep); }

/* ---- loading overlay ---- */
#loading-overlay{
  position: fixed; inset: 0; z-index: 500;
  background: var(--cream);
  display:flex; align-items:center; justify-content:center;
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
#loading-overlay.is-hidden{ opacity: 0; visibility: hidden; pointer-events:none; }
.loading-grid{
  position:absolute; inset:0;
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(70px,1fr));
  grid-auto-rows: 70px;
  overflow:hidden;
  opacity: .55;
}
.loading-grid img{
  width: 30px; height: auto; margin: auto;
  animation: spin-loading 2.2s linear infinite;
  transition: transform .6s cubic-bezier(.55,0,1,.45), opacity .6s;
}
@keyframes spin-loading{ to{ transform: rotate(360deg); } }
.loading-center{
  position: relative; z-index: 2; text-align:center;
}
.loading-center img{ width: 84px; height:auto; margin: 0 auto 14px; animation: spin-loading 1.6s linear infinite; }
.loading-center p{ font-family: var(--font-display); font-weight:700; color: var(--coral-deep); letter-spacing: .04em; }

#loading-overlay.is-error .loading-grid img{
  animation: none !important;
  transform: translateY(140vh) rotate(280deg) !important;
  opacity: .35;
}
#loading-overlay.is-error .loading-center{ display:none; }
.error-state{
  display:none; position:relative; z-index:2; text-align:center; max-width: 420px; padding: 0 20px;
}
#loading-overlay.is-error .error-state{ display:block; }
.error-state h2{ color: var(--coral-deep); font-size: 30px; margin-bottom: 10px; }
.error-state p{ color: rgba(32,31,31,0.65); margin-bottom: 22px; }

/* ---- hero ---- */
.hero{ padding-top: 168px; padding-bottom: 90px; }
.hero-grid{ display:grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items:center; }
@media (max-width: 880px){ .hero-grid{ grid-template-columns: 1fr; } }
.hero h1{ font-size: clamp(34px, 5vw, 56px); }
.hero h1 em{ font-style: normal; color: var(--coral); }
.hero p.lead{ margin-top: 20px; color: rgba(32,31,31,0.68); max-width: 46ch; font-size: 18px; }
.hero-actions{ display:flex; gap:14px; margin-top: 34px; flex-wrap:wrap; }
.hero-art{ position:relative; height: 420px; }
.hero-art .mascot{ position:absolute; transition: transform .15s ease-out; filter: drop-shadow(0 20px 30px rgba(32,31,31,0.08)); }
.hero-art .m1{ width: 34%; left: 4%; top: 12%; }
.hero-art .m2{ width: 30%; left: 40%; top: 46%; }
.hero-art .m3{ width: 34%; right: 2%; top: 4%; }

.hero-art--solo{ display:flex; align-items:center; justify-content:center; }
.mascot-solo{
  position:static !important; width: 52%; max-width: 320px;
  animation: mascot-float 5s ease-in-out infinite;
}
@keyframes mascot-float{
  0%, 100%{ transform: translateY(0) rotate(-3deg); }
  50%{ transform: translateY(-16px) rotate(3deg); }
}

/* ---- decorative silhouettes ---- */
.bg-blob{ position:absolute; opacity:.5; pointer-events:none; z-index:0; }

/* ---- services teaser / grid ---- */
.services-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 900px){ .services-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .services-grid{ grid-template-columns: 1fr; } }
.service-card{
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 28px 24px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  position: relative; overflow: hidden;
}
.service-card:hover{ transform: translateY(-6px); box-shadow: 0 18px 36px rgba(32,31,31,0.09); border-color: transparent; }
.service-card .icon{ width: 46px; height: auto; margin-bottom: 16px; transition: transform .35s var(--ease); }
.service-card:hover .icon{ transform: rotate(-8deg) scale(1.08); }
.service-card h3{ font-size: 19px; margin-bottom: 6px; }
.service-card p{ color: rgba(32,31,31,0.62); font-size: 14.5px; margin: 0; }

/* ---- section head ---- */
.section-head{ max-width: 62ch; }
.section-head h2{ font-size: clamp(28px,4vw,40px); margin-top: 6px; }
.section-head p.sub{ color: rgba(32,31,31,0.62); margin-top: 14px; font-size: 17px; }

/* ---- CTA banner ---- */
.cta-banner{
  background: var(--ink); color: #fff; border-radius: var(--radius-l);
  padding: 64px 44px; text-align:center; position: relative; overflow:hidden;
}
.cta-banner h2{ color:#fff; font-size: clamp(26px,4vw,38px); }
.cta-banner p{ color: rgba(255,255,255,0.68); margin: 14px 0 28px; }
.cta-banner .mascot-corner{ position:absolute; width: 120px; opacity:.9; filter: invert(1); }
.cta-banner .mc1{ left: -10px; bottom: -14px; }
.cta-banner .mc2{ right: -10px; top: -14px; transform: scaleX(-1); }

/* ---- footer ---- */
.site-footer{ padding: 50px 0 34px; border-top: 1px solid var(--line); }
.footer-grid{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap: 18px; }
.footer-links{ display:flex; gap: 22px; font-family: var(--font-display); font-weight:700; font-size:14px; }
.footer-links a:hover{ color: var(--coral-deep); }
.footer-note{ font-size: 13px; color: rgba(32,31,31,0.5); margin:0; }
.footer-social{ display:flex; gap: 12px; }
.footer-social a{
  width: 38px; height: 38px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background: var(--cream); border: 1px solid var(--line);
  color: var(--ink); transition: all .2s ease;
}
.footer-social a:hover{ background: var(--coral); border-color: var(--coral); color: #fff; transform: translateY(-2px); }

/* ---- whatsapp float ---- */
.wa-float{
  position: fixed; bottom: 24px; right: 24px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--ink); color: #fff; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 26px rgba(32,31,31,0.3);
  transition: transform .2s var(--ease);
}
.wa-float:hover{ transform: scale(1.08); }

/* ---- numbered steps ---- */
.steps-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 44px; }
@media (max-width: 900px){ .steps-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .steps-grid{ grid-template-columns: 1fr; } }
.step-card{ position: relative; padding-top: 6px; }
.step-card .num{
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--coral-deep); border: 1.5px solid var(--coral); border-radius: 50%;
  width: 34px; height: 34px; display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
}
.step-card h3{ font-size: 17px; margin-bottom: 6px; }
.step-card p{ color: rgba(32,31,31,0.62); font-size: 14.5px; margin: 0; }

/* ---- materials ---- */
.mat-section{ margin-bottom: 34px; }
.mat-section:last-child{ margin-bottom: 0; }
.mat-section .mat-label{
  font-family: var(--font-display); font-size:13px; font-weight:700; margin: 0 0 14px;
  color: rgba(32,31,31,.5); text-transform:uppercase; letter-spacing:.04em;
}
.mat-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:14px; }
@media (max-width: 900px){ .mat-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .mat-grid{ grid-template-columns: 1fr 1fr; } }
.mat-card{
  background:#fff; border:1px solid var(--line); border-radius:16px; padding:18px;
  transition: all .2s var(--ease);
}
.mat-card:hover{ border-color: var(--coral); transform: translateY(-2px); }
.mat-card h4{ font-family: var(--font-display); font-size:15.5px; margin:0 0 6px; }
.mat-card p{ font-size:12.5px; color: rgba(32,31,31,.6); line-height:1.5; margin:0; }

/* ---- reveal on scroll ---- */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform: translateY(0); }

/* ==========================================================================
   Page-specific: SERVICIOS
   ========================================================================== */
.services-detail{ display:flex; flex-direction:column; gap: 0; margin-top: 40px; }
.service-row{
  display:grid; grid-template-columns: 90px 1fr auto; gap: 28px; align-items:center;
  padding: 34px 0; border-top: 1px solid var(--line);
  transition: background .25s;
}
.service-row:last-child{ border-bottom: 1px solid var(--line); }
.service-row:hover{ background: rgba(243,132,135,0.05); }
.service-row .icon{ width: 62px; height: auto; transition: transform .4s var(--ease); }
.service-row:hover .icon{ transform: rotate(10deg) scale(1.12); }
.service-row h3{ font-size: 24px; }
.service-row p{ margin: 6px 0 0; color: rgba(32,31,31,0.6); }
.service-row .side{ text-align:right; }
.service-row .tag{
  font-family: var(--font-display); font-weight:700; font-size:12px; letter-spacing:.03em;
  text-transform: uppercase; color: rgba(32,31,31,0.4); white-space:nowrap;
}
.service-row .note{
  margin-top: 8px; font-size: 14px; font-style: italic; color: rgba(32,31,31,0.55);
  max-width: 22ch; margin-left:auto;
}
@media (max-width: 720px){
  .service-row{ grid-template-columns: 56px 1fr; }
  .service-row .side{ grid-column: 1 / -1; justify-self:start; text-align:left; }
  .service-row .note{ margin-left:0; max-width:none; }
}

/* ==========================================================================
   Page-specific: GALERIA
   ========================================================================== */
.filter-row{ display:flex; gap:10px; flex-wrap:wrap; margin: 36px 0 40px; }
.filter-btn{
  border: 1.5px solid var(--line-strong); background: #fff; color: rgba(32,31,31,0.7);
  padding: 10px 20px; border-radius: 100px; font-family: var(--font-display); font-weight:700; font-size: 14px;
  cursor:pointer; transition: all .2s;
}
.filter-btn:hover{ border-color: var(--coral); color: var(--coral-deep); }
.filter-btn.active{ background: var(--coral); border-color: var(--coral); color:#fff; }

.gallery-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 3px;
}
@media (max-width: 980px){ .gallery-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 640px){ .gallery-grid{ grid-template-columns: repeat(2,1fr); } }
.gallery-item{
  aspect-ratio: 1 / 1.1; overflow:hidden;
  cursor: pointer; position:relative; background:#eee;
}
.gallery-item img{ width:100%; height:100%; object-fit:cover; display:block; transition: transform .5s var(--ease); }
.gallery-item:hover img{ transform: scale(1.05); }
.gallery-item .cap{
  position:absolute; inset:0; display:flex; align-items:flex-end; padding: 16px;
  background: linear-gradient(to top, rgba(32,31,31,0.6), rgba(32,31,31,0) 55%);
  color:#fff; font-size: 12.5px; font-weight:600; opacity:0; transition: opacity .3s;
}
.gallery-item:hover .cap{ opacity:1; }
.gallery-item.hide{ display:none; }
.gallery-category{ margin-bottom: 56px; }
.gallery-category.hide{ display:none; }
.category-title{ font-size: 22px; margin-bottom: 10px; }
.category-story{
  max-width: 640px; color: rgba(32,31,31,0.65); line-height:1.6; margin: 0 0 26px;
}

.lightbox{
  position: fixed; inset:0; z-index: 300; background: rgba(32,31,31,0.88);
  display:flex; align-items:center; justify-content:center; padding: 40px;
  opacity:0; visibility:hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.is-open{ opacity:1; visibility:visible; }
.lightbox img{ max-width: min(760px,90vw); max-height: 82vh; border-radius: var(--radius-m); }
.lightbox-close{
  position:absolute; top: 26px; right: 26px; width:44px; height:44px; border-radius:50%;
  background: rgba(255,255,255,0.14); color:#fff; border:none; cursor:pointer; font-size: 20px;
}

/* ==========================================================================
   Page-specific: LLAVEROS / CONFIGURADOR
   ========================================================================== */
.usecases-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 820px){ .usecases-grid{ grid-template-columns: 1fr; } }
.usecase-card{ border-radius: var(--radius-m); overflow:hidden; border: 1px solid var(--line); background:#fff; }
.usecase-card img{ width:100%; aspect-ratio: 1/1; object-fit: cover; }
.usecase-card .body{ padding: 20px; }
.usecase-card h3{ font-size: 17px; }
.usecase-card p{ font-size: 14px; color: rgba(32,31,31,0.6); margin: 6px 0 0; }

#configurador{ background: #fff; border-radius: var(--radius-l); border: 1px solid var(--line); padding: 48px; margin-top: 60px; }
@media (max-width: 640px){ #configurador{ padding: 28px 20px; } }
.config-layout{ display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:start; }
@media (max-width: 900px){ .config-layout{ grid-template-columns: 1fr; } }

.config-group{ margin-bottom: 28px; }
.config-label{ font-family: var(--font-display); font-weight:700; font-size: 14px; display:block; margin-bottom: 12px; }
.config-label .opt{ font-weight: 400; color: rgba(32,31,31,0.45); font-family: var(--font-body); }
.chip-row{ display:flex; gap: 10px; flex-wrap:wrap; }
.chip{
  border: 1.5px solid var(--line-strong); background: var(--cream); color: var(--ink);
  padding: 10px 18px; border-radius: 100px; font-size: 14px; cursor:pointer; transition: all .15s;
}
.chip:hover{ border-color: var(--coral); }
.chip.active{ background: var(--coral); border-color: var(--coral); color:#fff; font-weight:600; }

.swatch{
  width: 38px; height:38px; border-radius:50%; cursor:pointer; display:inline-block;
  border: 2.5px solid transparent; transition: transform .15s, border-color .15s;
}
.swatch:hover{ transform: scale(1.08); }
.swatch.active{ border-color: var(--ink); transform: scale(1.12); }

.upload-box{
  border: 2px dashed var(--line-strong); border-radius: var(--radius-m); padding: 28px;
  text-align:center; cursor:pointer; transition: border-color .2s, background .2s;
}
.upload-box:hover, .upload-box.drag{ border-color: var(--coral); background: rgba(243,132,135,0.05); }
.upload-box input{ display:none; }
.upload-preview{ margin-top: 14px; display:none; align-items:center; gap: 12px; text-align:left; }
.upload-preview.show{ display:flex; }
.upload-preview img{ width: 56px; height:56px; object-fit:cover; border-radius: 12px; }

textarea, input[type=text]{
  width: 100%; border: 1.5px solid var(--line-strong); border-radius: var(--radius-s);
  padding: 13px 16px; font-family: var(--font-body); font-size: 15px; background: var(--cream);
  transition: border-color .2s;
}
textarea:focus, input[type=text]:focus{ outline:none; border-color: var(--coral); }
textarea{ min-height: 90px; resize: vertical; }

.config-preview{
  background: var(--cream); border-radius: var(--radius-m); border: 1px solid var(--line);
  padding: 36px; display:flex; flex-direction:column; align-items:center; position: sticky; top: 110px;
}
.preview-shape{
  width: 150px; height:150px; display:flex; align-items:center; justify-content:center; position:relative;
  transition: background-color .25s, border-radius .25s, clip-path .25s;
}
.preview-ring{ width:24px; height:24px; border:5px solid #9a9a9a; border-radius:50%; position:absolute; top:-8px; left:50%; transform:translateX(-50%); }
.preview-letter{ font-family: var(--font-display); font-weight:700; font-size: 58px; color:#fff; }
.preview-summary{ margin-top: 24px; text-align:center; color: rgba(32,31,31,0.65); font-size: 14px; line-height:1.7; }
.preview-summary strong{ color: var(--ink); }
.preview-note{
  margin-top: 18px; font-size: 12.5px; color: var(--coral-deep); background: rgba(243,132,135,0.09);
  padding: 12px 14px; border-radius: var(--radius-s); text-align:left;
}
.config-cta{ margin-top: 20px; width: 100%; justify-content:center; }

/* ==========================================================================
   Page-specific: CONTACTO
   ========================================================================== */
.contact-hero{
  text-align:center; padding-top: 150px;
  background-image: linear-gradient(rgba(253,251,248,0.95), rgba(253,251,248,0.95)), url('../img/pattern_bg.png');
  background-repeat: no-repeat, repeat;
  background-size: cover, 900px auto;
  background-position: center, center top;
}
.contact-hero h1, .contact-hero .eyebrow, .contact-hero .lead{ position: relative; text-shadow: 0 1px 0 var(--cream); }
@media (max-width: 720px){
  .contact-hero{ background-size: cover, 560px auto; }
}
.contact-links{ display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 50px; }
@media (max-width: 780px){ .contact-links{ grid-template-columns: 1fr; } }
.contact-card{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-m); padding: 36px 28px;
  text-align:center; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-card:hover{ transform: translateY(-6px); box-shadow: 0 18px 36px rgba(32,31,31,0.1); }
.contact-card .ic{ width: 52px; height:auto; margin: 0 auto 16px; }
.contact-card h3{ font-size: 18px; }
.contact-card p{ color: rgba(32,31,31,0.6); font-size: 14px; margin: 6px 0 18px; }

/* ==========================================================================
   Page-specific: 404 / ERROR
   ========================================================================== */
.error-page{
  min-height: 100vh; display:flex; align-items:center; justify-content:center; text-align:center;
  padding: 40px 20px;
}
.error-page .mascots{ display:flex; justify-content:center; gap: 18px; margin-bottom: 28px; }
.error-page .mascots img{ width: 78px; animation: fall-wobble 2.4s ease-in-out infinite; }
.error-page .mascots img:nth-child(2){ animation-delay: .2s; }
.error-page .mascots img:nth-child(3){ animation-delay: .4s; }
@keyframes fall-wobble{ 0%,100%{ transform: translateY(0) rotate(-4deg);} 50%{ transform: translateY(-10px) rotate(4deg);} }
.error-page h1{ font-size: clamp(28px,5vw,44px); color: var(--coral-deep); }
.error-page p{ color: rgba(32,31,31,0.6); margin: 14px 0 30px; }

/* ==========================================================================
   Protección básica de imágenes (evita descarga casual)
   ========================================================================== */
img{
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none; /* evita el menú "guardar imagen" al mantener presionado en iOS */
  pointer-events: auto;
}
.gallery-item img, .service-card .icon, .hero-art img{
  -webkit-user-drag: none;
  user-drag: none;
}

/* ==========================================================================
   Video grid (procesos — YouTube Shorts embebidos)
   ========================================================================== */
.video-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  max-width: 760px; margin-left:auto; margin-right:auto;
}
@media (max-width: 760px){ .video-grid{ grid-template-columns: 1fr; max-width: 320px; } }
.video-item{
  aspect-ratio: 9 / 16; border-radius: var(--radius-l); overflow: hidden;
  background: #111; box-shadow: 0 10px 26px rgba(32,31,31,0.12);
}
.video-item iframe{ width: 100%; height: 100%; border: 0; display: block; }
