/* ================================================
   BLANCH CREATIVA · blanchcreativa.cat · 2026
   ================================================ */

/* RESET */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'DM Sans',system-ui,sans-serif;background:#FFFFFF;color:#16151A;line-height:1.6;overflow-x:hidden;position:relative}
img{display:block;width:100%;height:auto}
a{text-decoration:none;color:inherit}
ul{list-style:none}
button{font-family:inherit;cursor:pointer;border:none;background:none}

/* VARIABLES */
:root{
  --bg:#FFFFFF;
  --bg-soft:#FCF1F4;
  --bg-blue:#F6D3DE;
  --card-photo:#16151A;
  --ink:#16151A;
  --ink-soft:rgba(22,21,26,0.62);
  --ink-mute:rgba(22,21,26,0.4);
  --brand:#890029;
  --brand-d:#63001D;
  --brand-l:#C21744;
  --lime:#C8E84B;
  --lime-d:#A8C233;
  --lime-ink:#748F1B;
  --white:#FFFFFF;
  --muted:#847C80;
  --border:rgba(22,21,26,0.12);
  --border-hover:rgba(22,21,26,0.3);
  --head:'Plus Jakarta Sans',system-ui,sans-serif;
  --sans:'DM Sans',system-ui,sans-serif;
  --max:1280px;
  --pad:clamp(1.25rem,4vw,2.5rem);
  --sv:clamp(3.75rem,7.5vw,6rem);
  --radius:22px;
}

/* ── FILM GRAIN (global, subtle, artistic) ── */
.grain{position:fixed;inset:-10%;width:120%;height:120%;z-index:2;pointer-events:none;opacity:0.05;mix-blend-mode:multiply;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}

/* ── AMBIENT GLOW BLOBS (textured gradient backgrounds) ── */
.glow{position:absolute;border-radius:50%;filter:blur(80px);pointer-events:none;z-index:0;opacity:0.55;animation:glowFloat 22s ease-in-out infinite}
.glow-terra{background:radial-gradient(circle,var(--brand) 0%,rgba(137,0,41,0) 70%);opacity:0.16}
.glow-lime{background:radial-gradient(circle,var(--lime) 0%,rgba(200,232,75,0) 70%);opacity:0.26}
.glow-cream{background:radial-gradient(circle,var(--bg-blue) 0%,rgba(246,211,222,0) 70%);opacity:0.85}
.glow-magenta{background:radial-gradient(circle,var(--brand) 0%,rgba(137,0,41,0) 70%);opacity:0.14}
@keyframes glowFloat{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(3%,-4%) scale(1.08)}}
@media(prefers-reduced-motion:reduce){.glow{animation:none}}

/* ── DECORATIVE MOTIFS (crosshair / corner brackets) ── */
.crosshair{position:absolute;width:16px;height:16px;opacity:0.5;pointer-events:none;z-index:1}
.crosshair::before,.crosshair::after{content:'';position:absolute;background:currentColor}
.crosshair::before{left:50%;top:0;width:1px;height:100%;transform:translateX(-50%)}
.crosshair::after{top:50%;left:0;height:1px;width:100%;transform:translateY(-50%)}
.corners{position:relative}
.corners::before,.corners::after{content:'';position:absolute;width:20px;height:20px;border-color:rgba(22,21,26,0.55);pointer-events:none;z-index:2}
.corners::before{top:-1px;left:-1px;border-top:1.5px solid;border-left:1.5px solid}
.corners::after{bottom:-1px;right:-1px;border-bottom:1.5px solid;border-right:1.5px solid}

/* BUTTONS */
.btn{display:inline-flex;align-items:center;gap:0.55rem;padding:0.95rem 1.9rem;font-family:var(--sans);font-size:0.9rem;font-weight:600;letter-spacing:0;border:none;cursor:pointer;transition:all 0.25s ease;text-decoration:none;line-height:1;border-radius:100px}
.btn-lime{background:var(--lime);color:var(--ink)}
.btn-lime:hover{background:var(--lime-d);transform:translateY(-2px)}
.btn-outline{background:rgba(22,21,26,0.03);color:var(--ink);border:1px solid var(--border-hover)}
.btn-outline:hover{border-color:var(--ink);background:rgba(22,21,26,0.07)}
.btn-dark{background:var(--ink);color:var(--bg)}
.btn-dark:hover{background:#000;transform:translateY(-2px)}

/* LAYOUT */
.container{max-width:var(--max);margin:0 auto;padding:0 var(--pad);position:relative;z-index:1}
.section{padding:var(--sv) 0;position:relative;background:var(--bg)}
.section-eyebrow{font-family:var(--sans);font-size:0.76rem;font-weight:700;letter-spacing:0.16em;text-transform:uppercase;color:var(--brand);display:block;margin-bottom:1rem}

/* ── GLASS ICON (holographic glass, sits on photos) ── */
.icon-glass{width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:linear-gradient(150deg,rgba(255,255,255,0.16),rgba(255,255,255,0.02) 60%);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.28);box-shadow:inset 0 1px 1px rgba(255,255,255,0.45),inset 0 -6px 10px rgba(0,0,0,0.25),0 8px 20px rgba(0,0,0,0.35);flex-shrink:0}
.icon-glass::before{content:'';position:absolute;inset:-60%;background:conic-gradient(from 200deg,#ff9fce,#c8e84b,#bfe9ff,#890029,#ff9fce);opacity:0.3;filter:blur(10px);animation:iridescence 12s linear infinite}
.icon-glass svg{width:24px;height:24px;position:relative;z-index:1;stroke:#FFFFFF;fill:none;stroke-width:1.4}
@keyframes iridescence{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.icon-glass::before{animation:none}}

/* Flat contact icon — no circle, no shadow */
.icon-dark{width:22px;height:22px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.icon-dark svg{width:20px;height:20px;stroke:var(--brand);fill:none;stroke-width:1.6}

/* ── NAV (light text by default — sits over the dark hero; flips dark once scrolled onto the white page) ── */
#nav{position:fixed;top:0;left:0;right:0;z-index:1000;padding:1.35rem var(--pad);display:flex;align-items:center;justify-content:space-between;transition:background 0.35s ease,padding 0.35s ease}
#nav.scrolled{background:rgba(255,255,255,0.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);padding:0.85rem var(--pad);border-bottom:1px solid var(--border)}
.nav-logo img{height:76px;width:auto;filter:brightness(0) invert(1);transition:filter 0.3s}
#nav.scrolled .nav-logo img{filter:none}
.nav-links{display:flex;align-items:center;gap:2.25rem}
.nav-links a{font-size:0.8rem;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:rgba(255,255,255,0.85);transition:color 0.2s}
.nav-links a:hover{color:#fff}
#nav.scrolled .nav-links a{color:var(--ink-soft)}
#nav.scrolled .nav-links a:hover{color:var(--ink)}
.nav-right{display:flex;align-items:center;gap:1.35rem}
.nav-social{display:flex;align-items:center;gap:0.85rem;padding-right:1.1rem;border-right:1px solid rgba(255,255,255,0.3)}
.nav-social a{width:30px;height:30px;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,0.85);border:1px solid rgba(255,255,255,0.35);border-radius:50%;transition:color 0.2s,border-color 0.2s}
.nav-social a:hover{color:#fff;border-color:#fff}
#nav.scrolled .nav-social{border-color:var(--border)}
#nav.scrolled .nav-social a{color:var(--ink-soft);border-color:var(--border)}
#nav.scrolled .nav-social a:hover{color:var(--ink);border-color:var(--border-hover)}
.nav-social svg{width:15px;height:15px;fill:currentColor}
.lang-toggle{display:flex;align-items:center;border:1px solid rgba(255,255,255,0.35);border-radius:100px;overflow:hidden}
#nav.scrolled .lang-toggle{border-color:var(--border)}
.lang-btn{padding:0.32rem 0.72rem;font-size:0.68rem;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;background:transparent;color:rgba(255,255,255,0.6);transition:all 0.2s}
#nav.scrolled .lang-btn{color:var(--ink-mute)}
.lang-btn.active{background:#fff;color:var(--ink)}
#nav.scrolled .lang-btn.active{background:var(--ink);color:var(--bg)}
.hamburger{display:none;flex-direction:column;gap:5px;padding:4px}
.hamburger span{display:block;width:22px;height:1.5px;background:#fff;transition:all 0.3s}
#nav.scrolled .hamburger span{background:var(--ink)}
.mobile-overlay{display:none;position:fixed;inset:0;background:var(--bg);z-index:999;flex-direction:column;align-items:center;justify-content:center;gap:2.5rem}
.mobile-overlay.open{display:flex}
.mobile-overlay a{font-family:var(--head);font-size:clamp(2rem,6vw,3rem);font-weight:700;letter-spacing:-0.02em;color:var(--ink);transition:color 0.2s}
.mobile-overlay a:hover{color:var(--brand)}
.mobile-lang{display:flex;gap:1rem;margin-top:1rem}
.mobile-social{display:flex;gap:1.25rem;margin-top:0.5rem}
.mobile-social a{width:38px;height:38px;display:flex;align-items:center;justify-content:center;color:var(--ink);border:1px solid var(--border);border-radius:50%}
.mobile-social svg{width:17px;height:17px;fill:currentColor}
.mobile-close-btn{position:absolute;top:1.5rem;right:var(--pad);font-size:1.75rem;color:var(--ink)}

/* ── HERO ── */
#hero{position:relative;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;text-align:center;padding:8rem var(--pad) 2rem;background-color:var(--brand);background-image:url('../images/hero-concert.jpg');background-repeat:no-repeat;background-position:center 25%;background-size:cover}
#hero::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(137,0,41,0.78) 0%,rgba(137,0,41,0.38) 40%,rgba(137,0,41,0.78) 100%);z-index:1}
.hero-glow{position:absolute;width:60vw;height:60vw;max-width:640px;max-height:640px;left:18%;top:8%;z-index:1;opacity:0.5}
.hero-glow2{position:absolute;width:44vw;height:44vw;max-width:480px;max-height:480px;right:8%;top:30%;z-index:1}
.hero-content{position:relative;z-index:2;max-width:820px;display:flex;flex-direction:column;align-items:center}
.hero-eyebrow{font-family:var(--sans);font-size:clamp(0.7rem,1.3vw,0.85rem);font-weight:700;letter-spacing:0.14em;text-transform:uppercase;color:#fff;margin-bottom:1.75rem;padding:0.5rem 1.1rem;border:1px solid rgba(255,255,255,0.4);border-radius:100px;background:rgba(255,255,255,0.1)}
.hero-title{font-family:var(--head);font-size:clamp(2.6rem,6.4vw,5.5rem);font-weight:700;line-height:1;letter-spacing:-0.03em;color:#fff;margin-bottom:0.3rem}
.hero-title em{font-style:normal;font-weight:700;color:var(--lime)}
.hero-desc{font-size:0.98rem;color:rgba(255,255,255,0.8);max-width:460px;margin:1.75rem auto 2.5rem;line-height:1.75}
.hero-ctas{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center}
#hero .btn-outline{background:rgba(255,255,255,0.06);color:#fff;border:1px solid rgba(255,255,255,0.5)}
#hero .btn-outline:hover{border-color:#fff;background:rgba(255,255,255,0.16)}
.hero-scroll-hint{position:relative;margin-top:3rem;font-size:0.65rem;letter-spacing:0.14em;text-transform:uppercase;color:rgba(255,255,255,0.55);display:flex;align-items:center;gap:0.5rem;z-index:2}
.hero-mark{position:relative;z-index:2;width:100%;display:flex;justify-content:center;margin-top:2.5rem;pointer-events:none}
.hero-mark img{width:clamp(140px,18vw,260px);height:auto;filter:brightness(0) invert(1);opacity:0.4}

/* ── BRANDS MARQUEE ── */
#marcas{padding:3rem 0;background:var(--brand-d);overflow:hidden;border-top:1px solid rgba(255,255,255,0.08);border-bottom:1px solid rgba(255,255,255,0.08);position:relative}
.marquee-wrap{display:flex;gap:0;width:100%}
.marquee-track{display:flex;align-items:center;gap:3rem;animation:marquee 70s linear infinite;flex-shrink:0;padding-right:3rem}
.marquee-track:hover{animation-play-state:paused}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.marquee-item{font-family:var(--head);font-size:clamp(0.95rem,1.8vw,1.2rem);font-weight:700;letter-spacing:-0.01em;color:rgba(255,255,255,0.55);white-space:nowrap;transition:color 0.3s}
.marquee-item:hover{color:#fff}
.marquee-logo{height:auto;max-height:clamp(26px,3.2vw,40px);width:auto;max-width:140px;object-fit:contain;flex-shrink:0;opacity:0.82;transition:opacity 0.3s}
.marquee-logo:hover{opacity:1}
.marquee-logo-md{max-height:clamp(34px,4.2vw,52px);max-width:160px}
.marquee-logo-lg{max-height:clamp(50px,6.2vw,78px);max-width:200px}
.marquee-sep{color:var(--lime);opacity:0.7;font-size:0.6rem;margin:0 0.15rem}

/* ── SERVICES ── */
#servicios{background:var(--bg);padding-bottom:0;overflow:hidden}
.services-intro{text-align:center;padding:0 var(--pad) 3rem;max-width:var(--max);margin:0 auto;position:relative;z-index:1}
.services-intro h2{font-family:var(--head);font-size:clamp(2rem,4vw,3.25rem);font-weight:700;letter-spacing:-0.02em;line-height:1.1;max-width:620px;margin:0 auto;color:var(--ink)}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;position:relative;z-index:1;padding:0 var(--pad);max-width:var(--max);margin:0 auto}
.srv-card{position:relative;aspect-ratio:3/4;overflow:hidden;background:var(--card-photo);border-radius:var(--radius)}
.srv-photo{position:absolute;inset:0;background-size:cover;background-position:center;transition:transform 0.65s ease;filter:saturate(0.92)}
.srv-card:hover .srv-photo{transform:scale(1.06)}
.srv-wash{position:absolute;inset:0;background:rgba(10,9,11,0.42)}
.srv-gradient{position:absolute;inset:0;background:linear-gradient(to top,rgba(10,9,11,1) 0%,rgba(10,9,11,0.75) 42%,rgba(10,9,11,0.25) 75%,rgba(10,9,11,0.15) 100%)}
.srv-body{position:absolute;bottom:0;left:0;right:0;padding:2rem 1.75rem}
.srv-body .icon-glass{margin-bottom:1.1rem}
.srv-tag{font-size:0.68rem;font-weight:700;letter-spacing:0.16em;text-transform:uppercase;color:var(--lime);margin-bottom:0.65rem;display:block}
.srv-title{font-family:var(--head);font-size:clamp(1.35rem,2.2vw,1.75rem);font-weight:700;letter-spacing:-0.01em;color:#FFFFFF;line-height:1.15;margin-bottom:0.85rem;text-shadow:0 2px 12px rgba(0,0,0,0.5)}
.srv-desc{font-size:0.86rem;color:rgba(255,255,255,0.85);line-height:1.75;max-height:0;overflow:hidden;opacity:0;transition:max-height 0.4s ease,opacity 0.3s}
.srv-card:hover .srv-desc{max-height:180px;opacity:1}
.srv-list{font-size:0.8rem;color:rgba(255,255,255,0.65);margin-top:0.85rem;display:flex;flex-direction:column;gap:0.35rem;max-height:0;overflow:hidden;opacity:0;transition:max-height 0.5s ease,opacity 0.3s 0.1s}
.srv-list-item::before{content:'→ ';color:var(--lime)}
.srv-card:hover .srv-list{max-height:160px;opacity:1}
/* Video card special */
.srv-video-bg{position:absolute;inset:0;background:radial-gradient(120% 100% at 30% 20%,#232226 0%,#0e0d10 65%);display:flex;align-items:center;justify-content:center}
.srv-play-circle{width:60px;height:60px;border-radius:50%;background:linear-gradient(150deg,rgba(255,255,255,0.16),rgba(255,255,255,0.02) 60%);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.28);display:flex;align-items:center;justify-content:center;transition:transform 0.3s;box-shadow:inset 0 1px 1px rgba(255,255,255,0.4),0 8px 20px rgba(0,0,0,0.35)}
.srv-card:hover .srv-play-circle{transform:scale(1.08)}
.play-tri{width:0;height:0;border-style:solid;border-width:9px 0 9px 16px;border-color:transparent transparent transparent var(--lime);margin-left:3px}

/* ── PORTFOLIO ── */
#trabajo{background:var(--bg);padding-top:var(--sv);position:relative;overflow:hidden}
.portfolio-header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:2rem;flex-wrap:wrap;gap:1rem;max-width:var(--max);margin-left:auto;margin-right:auto;padding:0 var(--pad);position:relative;z-index:1}
.portfolio-header h2{font-family:var(--head);font-size:clamp(1.75rem,3.4vw,2.6rem);font-weight:700;letter-spacing:-0.02em;line-height:1.1;color:var(--ink)}
.filter-tabs{display:flex;border:1px solid var(--border);border-radius:100px;overflow:hidden}
.ftab{padding:0.55rem 1.25rem;font-size:0.74rem;font-weight:600;letter-spacing:0.02em;color:var(--muted);border-right:1px solid var(--border);transition:all 0.2s}
.ftab:last-child{border-right:none}
.ftab:hover{color:var(--ink)}
.ftab.active{background:var(--ink);color:var(--bg)}
.portfolio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0.85rem;max-width:var(--max);margin:0 auto;padding:0 var(--pad);position:relative;z-index:1}
.p-item{position:relative;overflow:hidden;cursor:pointer;aspect-ratio:4/3;background:var(--card-photo);border-radius:16px}
.p-item.span2{grid-column:span 2;aspect-ratio:16/7}
.p-item.hidden{display:none}
.p-img{width:100%;height:100%;object-fit:cover;transition:transform 0.5s ease;display:block;filter:saturate(0.92)}
.p-item:hover .p-img{transform:scale(1.04)}
.p-hover{position:absolute;inset:0;background:rgba(10,9,11,0);display:flex;align-items:center;justify-content:center;transition:background 0.3s}
.p-item:hover .p-hover{background:rgba(10,9,11,0.42)}
.p-plus{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(0.75);transition:all 0.3s;font-size:1.2rem;color:#FFFFFF;background:linear-gradient(150deg,rgba(255,255,255,0.2),rgba(255,255,255,0.02) 60%);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,0.3)}
.p-item:hover .p-plus{opacity:1;transform:scale(1)}
.portfolio-footer{text-align:center;padding:3rem var(--pad) 0;max-width:var(--max);margin:0 auto;position:relative;z-index:1}

/* LIGHTBOX (intentionally stays dark — cinema mode) */
.lightbox{display:none;position:fixed;inset:0;z-index:9999;background:rgba(8,7,9,0.97);align-items:center;justify-content:center}
.lightbox.open{display:flex}
.lb-img{max-width:92vw;max-height:92vh;object-fit:contain;width:auto;height:auto;border-radius:12px}
.lb-close{position:absolute;top:1.5rem;right:1.5rem;font-size:2rem;color:#FFFFFF;line-height:1;transition:color 0.2s}
.lb-close:hover{color:var(--lime)}
.lb-prev,.lb-next{position:absolute;top:50%;transform:translateY(-50%);font-size:2rem;color:rgba(255,255,255,0.5);padding:1rem;transition:color 0.2s}
.lb-prev{left:1rem}.lb-next{right:1rem}
.lb-prev:hover,.lb-next:hover{color:#FFFFFF}

/* ── SHOWREEL ── */
#video{background:var(--bg-soft);padding:var(--sv) 0;position:relative;overflow:hidden}
.showreel-inner{max-width:900px;margin:0 auto;padding:0 var(--pad);text-align:center;position:relative;z-index:1}
.showreel-inner h2{font-family:var(--head);font-size:clamp(2rem,4vw,3.25rem);font-weight:700;letter-spacing:-0.02em;margin-bottom:0.75rem;color:var(--ink)}
.showreel-inner p{font-size:0.92rem;color:var(--muted);margin-bottom:3rem}
.showreel-box{position:relative;aspect-ratio:16/9;background:#151417;border:1px solid var(--border);overflow:hidden;border-radius:var(--radius)}
.showreel-box iframe{position:absolute;inset:0;width:100%;height:100%;border:none}
.showreel-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.75rem;background:radial-gradient(120% 100% at 50% 20%,#2a0714 0%,#151417 65%)}
.sh-play{width:76px;height:76px;border-radius:50%;background:linear-gradient(150deg,rgba(255,255,255,0.16),rgba(255,255,255,0.02) 60%);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.28);display:flex;align-items:center;justify-content:center;transition:transform 0.3s;box-shadow:inset 0 1px 1px rgba(255,255,255,0.4),0 8px 20px rgba(0,0,0,0.35)}
.sh-play:hover{transform:scale(1.1)}
.sh-tri{width:0;height:0;border-style:solid;border-width:11px 0 11px 19px;border-color:transparent transparent transparent var(--lime);margin-left:5px}
.sh-label{font-size:0.72rem;letter-spacing:0.16em;text-transform:uppercase;color:rgba(255,255,255,0.4)}
.sh-sublabel{font-size:0.68rem;color:rgba(255,255,255,0.25);letter-spacing:0.08em}

/* ── WHY BLANCH (brand-red-tinted panel for rhythm) ── */
#porque{background:var(--bg-blue);color:var(--ink);position:relative;overflow:hidden}
.why-header{margin-bottom:4rem;position:relative;z-index:1}
.why-header h2{font-family:var(--head);font-size:clamp(2rem,4vw,3.25rem);font-weight:700;letter-spacing:-0.02em;line-height:1.1;max-width:560px}
.why-header p{font-size:0.92rem;color:var(--ink-soft);margin-top:1rem;max-width:520px;line-height:1.75}
.why-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:3rem 4rem;position:relative;z-index:1}
.why-num{font-family:var(--head);font-size:3.5rem;font-weight:800;letter-spacing:-0.02em;color:rgba(22,21,26,0.14);line-height:1;margin-bottom:0.5rem}
.why-title{font-family:var(--head);font-size:1.3rem;font-weight:700;letter-spacing:-0.01em;margin-bottom:0.75rem;color:var(--ink)}
.why-text{font-size:0.9rem;color:var(--ink-soft);line-height:1.8}

/* ── TESTIMONIALS ── */
#testimonios{position:relative;overflow:hidden}
.test-header{text-align:center;margin-bottom:3.5rem;position:relative;z-index:1}
.test-header h2{font-family:var(--head);font-size:clamp(2rem,4vw,3.25rem);font-weight:700;letter-spacing:-0.02em;line-height:1.1;color:var(--ink)}
.test-marquee{overflow:hidden;position:relative;z-index:1;-webkit-mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent)}
.test-track{display:flex;gap:1rem;width:max-content;animation:marquee 95s linear infinite}
.test-track:hover{animation-play-state:paused}
.test-card{background:var(--bg-soft);padding:2.75rem 2.25rem;width:400px;flex-shrink:0;border-radius:var(--radius);border:1px solid var(--border)}
.test-quote{font-family:var(--sans);font-size:1rem;font-weight:400;line-height:1.7;color:var(--ink);margin-bottom:2rem;position:relative}
.test-quote::before{content:'\201C';font-family:var(--head);font-size:3rem;line-height:0;vertical-align:-0.75rem;color:var(--brand);margin-right:0.1rem}
.test-author{font-size:0.74rem;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;color:var(--brand)}
.test-role{font-size:0.82rem;color:var(--muted);margin-top:0.15rem}

/* ── SOBRE MI ── */
#sobre{position:relative;overflow:hidden}
.sobre-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:5rem;align-items:center;position:relative;z-index:1}
.sobre-img{position:relative;border-radius:var(--radius);overflow:hidden}
.sobre-img img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:top;filter:saturate(0.95)}
.sobre-text{}
.sobre-text h2{font-family:var(--head);font-size:clamp(1.85rem,3.6vw,2.9rem);font-weight:700;letter-spacing:-0.02em;line-height:1.1;margin-bottom:1.75rem;color:var(--ink)}
.sobre-text h2 em{font-style:normal;font-weight:700;color:var(--brand)}
.sobre-text p{font-size:0.92rem;color:var(--ink-soft);line-height:1.8;margin-bottom:1.15rem}
.sobre-text strong{color:var(--ink);font-weight:700}
.sobre-marcas{margin-top:2.5rem;padding-top:2rem;border-top:1px solid var(--border)}
.sobre-marcas-label{font-size:0.7rem;letter-spacing:0.14em;text-transform:uppercase;color:var(--muted);margin-bottom:0.75rem;display:block}
.sobre-marcas-list{font-size:0.82rem;font-weight:700;letter-spacing:0.05em;color:var(--brand);line-height:2.1}

/* ── CONTACTO ── */
#contacto{position:relative;overflow:hidden}
.contact-wrap{display:grid;grid-template-columns:1fr 1.4fr;gap:6rem;align-items:start;position:relative;z-index:1}
.contact-left h2{font-family:var(--head);font-size:clamp(1.85rem,3.6vw,2.9rem);font-weight:700;letter-spacing:-0.02em;line-height:1.1;margin-bottom:1.5rem;color:var(--ink)}
.contact-left h2 em{font-style:normal;font-weight:700;color:var(--brand)}
.contact-left p{font-size:0.92rem;color:var(--ink-soft);line-height:1.75;margin-bottom:2rem}
.contact-detail{display:flex;align-items:center;gap:0.95rem;margin-bottom:0.95rem}
.cd-text{font-size:0.9rem;color:var(--ink-soft)}
.cd-text a:hover{color:var(--brand)}
.contact-social-links{display:flex;gap:1.5rem;margin-top:2.5rem}
.contact-social-links a{font-size:0.72rem;letter-spacing:0.11em;text-transform:uppercase;color:var(--ink-mute);transition:color 0.2s}
.contact-social-links a:hover{color:var(--brand)}
/* Form */
.cform{display:flex;flex-direction:column;gap:1.15rem}
.frow{display:grid;grid-template-columns:1fr 1fr;gap:1.15rem}
.fg{display:flex;flex-direction:column;gap:0.35rem}
.flabel{font-size:0.7rem;font-weight:700;letter-spacing:0.11em;text-transform:uppercase;color:var(--ink-mute)}
.finput,.fselect,.ftextarea{width:100%;background:var(--bg-soft);border:1px solid var(--border);color:var(--ink);font-family:var(--sans);font-size:0.92rem;padding:0.8rem 1rem;transition:border-color 0.2s;outline:none;border-radius:12px;-webkit-appearance:none;appearance:none}
.finput:focus,.fselect:focus,.ftextarea:focus{border-color:var(--border-hover)}
.finput::placeholder,.ftextarea::placeholder{color:var(--ink-mute)}
.fselect option{background:#FFFFFF;color:var(--ink)}
.ftextarea{resize:vertical;min-height:110px}
.budget-note{display:none;font-size:0.82rem;color:var(--brand);padding:0.7rem 1rem;border-left:2px solid var(--brand);background:rgba(137,0,41,0.05);line-height:1.55;border-radius:0 12px 12px 0}
.budget-note.show{display:block}
.fsubmit-row{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap;margin-top:0.5rem}
.flegal{font-size:0.7rem;color:var(--ink-mute);line-height:1.5}
.form-ok{display:none;padding:1.25rem;border:1px solid rgba(137,0,41,0.25);background:rgba(137,0,41,0.05);font-size:0.9rem;color:var(--brand);text-align:center;margin-top:0.5rem;border-radius:12px}
.form-ok.show{display:block}

/* CONTACT FLOAT (email) */
.mail-float{position:fixed;bottom:1.75rem;right:1.5rem;z-index:500;width:50px;height:50px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--bg-soft);border:1px solid var(--border-hover);transition:transform 0.2s,border-color 0.2s}
.mail-float:hover{transform:translateY(-2px);border-color:var(--brand)}
.mail-float svg{width:20px;height:20px;stroke:var(--brand);fill:none;stroke-width:1.6}

/* ── FOOTER ── */
footer{background:var(--bg-soft);border-top:1px solid var(--border);padding:2.75rem 0}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.footer-logo img{height:40px;width:auto;opacity:0.85}
.footer-links{display:flex;gap:2rem}
.footer-links a{font-size:0.72rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--ink-mute);transition:color 0.2s}
.footer-links a:hover{color:var(--brand)}
.footer-copy{font-size:0.68rem;color:var(--ink-mute);text-align:right}

/* ── BRAND-TONE SECTIONS (testimonios / sobre / contacto) ── */
.section-brand{background:linear-gradient(160deg,var(--brand) 0%,var(--brand-d) 100%);color:#fff}
.section-brand-photo{background-image:linear-gradient(180deg,rgba(137,0,41,0.82),rgba(99,0,29,0.9)),url('../images/hero-texture.jpg');background-size:cover;background-position:center}
.section-brand .section-eyebrow{color:var(--lime)}
.section-brand .test-header h2,
.section-brand .sobre-text h2,
.section-brand .contact-left h2{color:#fff}
.section-brand .sobre-text h2 em,
.section-brand .contact-left h2 em{color:var(--lime)}
.section-brand .test-card{background:rgba(255,255,255,0.07);border-color:rgba(255,255,255,0.16)}
.section-brand .test-quote{color:rgba(255,255,255,0.92)}
.section-brand .test-quote::before{color:var(--lime)}
.section-brand .test-author{color:var(--lime)}
.section-brand .test-role{color:rgba(255,255,255,0.5)}
.section-brand .sobre-text p{color:rgba(255,255,255,0.75)}
.section-brand .sobre-text strong{color:#fff}
.section-brand .sobre-marcas{border-top-color:rgba(255,255,255,0.18)}
.section-brand .sobre-marcas-label{color:rgba(255,255,255,0.5)}
.section-brand .sobre-marcas-list{color:var(--lime)}
.section-brand .crosshair{color:rgba(255,255,255,0.6) !important}
.section-brand .contact-left p{color:rgba(255,255,255,0.75)}
.section-brand .cd-text{color:rgba(255,255,255,0.8)}
.section-brand .cd-text a:hover{color:var(--lime)}
.section-brand .icon-dark svg{stroke:var(--lime)}
.section-brand .contact-social-links a{color:rgba(255,255,255,0.55)}
.section-brand .contact-social-links a:hover{color:var(--lime)}
.section-brand .flabel{color:rgba(255,255,255,0.6)}
.section-brand .budget-note{color:var(--lime);background:rgba(255,255,255,0.08);border-left-color:var(--lime)}
.section-brand .form-ok{color:var(--lime);background:rgba(255,255,255,0.08);border-color:rgba(255,255,255,0.25)}
.section-brand .flegal{color:rgba(255,255,255,0.45)}

/* ── REVEAL ANIMATIONS ── */
.reveal{opacity:0;transform:translateY(28px);transition:opacity 0.65s ease,transform 0.65s ease}
.reveal.in{opacity:1;transform:none}
.d1{transition-delay:0.08s}.d2{transition-delay:0.16s}.d3{transition-delay:0.24s}.d4{transition-delay:0.32s}

/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .services-grid{grid-template-columns:1fr 1fr}
  .srv-card:last-child{grid-column:span 2;aspect-ratio:16/6}
  .sobre-grid{grid-template-columns:1fr;gap:3rem}
  .contact-wrap{grid-template-columns:1fr;gap:3.5rem}
  .portfolio-grid{grid-template-columns:repeat(2,1fr)}
  .p-item.span2{grid-column:1;aspect-ratio:4/3}
  .why-grid{gap:2.5rem 3rem}
  .test-card{width:340px}
}
@media(max-width:768px){
  .nav-links,.lang-toggle,.nav-social{display:none}
  .hamburger{display:flex}
  .nav-logo img{height:48px}
  .services-grid{grid-template-columns:1fr}
  .srv-card:last-child{grid-column:1;aspect-ratio:3/4}
  .srv-desc{max-height:120px;opacity:1}
  .srv-list{max-height:none;opacity:1}
  .why-grid{grid-template-columns:1fr;gap:2rem}
  .frow{grid-template-columns:1fr}
  .footer-inner{flex-direction:column;text-align:center}
  .footer-copy{text-align:center}
  .portfolio-header{flex-direction:column;align-items:flex-start}
  .test-card{width:82vw}
  .hero-mark img{width:110px}
}
@media(max-width:480px){
  .portfolio-grid{grid-template-columns:1fr}
  .hero-ctas{flex-direction:column}
  .hero-ctas .btn{text-align:center;justify-content:center}
  .fsubmit-row{flex-direction:column;align-items:flex-start}
}

/* Prevent flash on page load */
[data-lang-ca]{display:none}
