/*
Theme Name:   Du-Detec v2
Theme URI:    https://www.dudetec.com
Author:       Juanjo Vera
Author URI:   https://www.juanjovera.com
Description:  Rediseño industrial-tech de Du-Detec — Puertas Automáticas. Tema v2, drop-in con el contenido (CPT/ACF/CF7) del tema original.
Version:      2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain:  dudetec
*/

/* =========================================================================
   0 · DESIGN TOKENS
   ========================================================================= */
:root {
	/* Surfaces — deep engineering navy */
	--bg:        #060a13;
	--bg-2:      #0a1020;
	--surface:   #0e1729;
	--surface-2: #142339;
	--line:      rgba(120, 170, 255, .12);
	--line-2:    rgba(120, 170, 255, .22);

	/* Ink */
	--text:   #e9eefb;
	--muted:  #93a4c4;
	--faint:  #5d6c8a;

	/* Brand — electric azure (matches logo) */
	--accent:    #2ea6ff;
	--accent-2:  #41e6ff;
	--accent-ink:#04111f;
	--glow:      rgba(46, 166, 255, .55);

	/* Type */
	--display: "Saira", "Arial Narrow", sans-serif;
	--body:    "Manrope", system-ui, sans-serif;

	/* Geometry */
	--maxw: 1240px;
	--gutter: clamp(20px, 5vw, 64px);
	--radius: 4px;
	--ease: cubic-bezier(.22, 1, .36, 1);

	--header-h: 84px;
}

/* =========================================================================
   1 · RESET / BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	/* Blueprint atmosphere */
	background-image:
		radial-gradient(1200px 600px at 78% -8%, rgba(46,166,255,.10), transparent 60%),
		radial-gradient(900px 520px at -5% 12%, rgba(65,230,255,.06), transparent 55%),
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: auto, auto, 46px 46px, 46px 46px;
	background-position: 0 0, 0 0, -1px -1px, -1px -1px;
	background-attachment: fixed, fixed, fixed, fixed;
}

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

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

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

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #1f3354; border-radius: 20px; border: 3px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: #2a4773; }

/* =========================================================================
   2 · LAYOUT PRIMITIVES
   ========================================================================= */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }

.eyebrow {
	font-family: var(--display);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .42em;
	text-transform: uppercase;
	color: var(--accent-2);
	display: inline-flex;
	align-items: center;
	gap: 14px;
}
.eyebrow::before {
	content: "";
	width: 34px; height: 1px;
	background: linear-gradient(90deg, transparent, var(--accent));
}

.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.section-head h2 {
	font-size: clamp(2.2rem, 5.2vw, 4rem);
	text-transform: uppercase;
	letter-spacing: -.015em;
	margin-top: 18px;
}
.section-head h2 b { color: var(--accent); font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

.section--center .section-head { margin-inline: auto; text-align: center; }
.section--center .eyebrow::after {
	content: ""; width: 34px; height: 1px;
	background: linear-gradient(90deg, var(--accent), transparent);
}

/* =========================================================================
   3 · BUTTONS
   ========================================================================= */
.btn {
	--bg-btn: transparent;
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--display);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--text);
	padding: 17px 34px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: var(--bg-btn);
	overflow: hidden;
	isolation: isolate;
	transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(120deg, var(--accent), var(--accent-2));
	transform: translateY(101%);
	transition: transform .45s var(--ease);
}
.btn:hover { color: var(--accent-ink); border-color: transparent; }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn--solid {
	color: var(--accent-ink);
	border-color: transparent;
	background: linear-gradient(120deg, var(--accent), var(--accent-2));
}
.btn--solid::before { background: var(--bg); transform: translateY(101%); }
.btn--solid:hover { color: var(--text); }
.btn--solid:hover::before { transform: translateY(0); }

/* =========================================================================
   4 · HEADER / NAV
   ========================================================================= */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 80;
	height: var(--header-h);
	display: flex; align-items: center;
	transition: background .4s var(--ease), height .4s var(--ease), border-color .4s var(--ease);
	border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
	height: 68px;
	background: rgba(8, 13, 24, .82);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	border-bottom-color: var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 52px; height: auto; border-radius: 6px; filter: drop-shadow(0 4px 14px rgba(46,166,255,.35)); }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--display); font-weight: 800; letter-spacing: .04em; font-size: 19px; }
.brand__sub  { font-size: 9.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--accent-2); margin-top: 4px; }

.nav__list, .menu {
	list-style: none; margin: 0; padding: 0;
	display: flex; align-items: center; gap: clamp(14px, 2.4vw, 40px);
}
.nav__list a, .menu a {
	position: relative;
	font-family: var(--display);
	font-weight: 500;
	font-size: 14px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
	padding: 6px 0;
	transition: color .3s var(--ease);
}
.nav__list a::after, .menu a::after {
	content: ""; position: absolute; left: 0; bottom: -3px;
	width: 100%; height: 1px;
	background: linear-gradient(90deg, var(--accent), var(--accent-2));
	transform: scaleX(0); transform-origin: left;
	transition: transform .35s var(--ease);
}
.nav__list a:hover, .menu a:hover,
.current-menu-item > a, .current_page_item > a { color: var(--text); }
.nav__list a:hover::after, .menu a:hover::after,
.current-menu-item > a::after, .current_page_item > a::after { transform: scaleX(1); }

.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	border: 1px solid var(--line-2); border-radius: var(--radius);
	background: rgba(20,35,57,.4);
	flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); transition: transform .35s var(--ease), opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   5 · HERO SLIDER
   ========================================================================= */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex; align-items: flex-end;
	overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
	position: absolute; inset: 0;
	opacity: 0; transform: scale(1.06);
	transition: opacity 1.4s var(--ease), transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__slide iframe { position: absolute; inset: 50% auto auto 50%; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%); border: 0; }
.hero__scrim {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(6,10,19,.10) 0%, rgba(6,10,19,0) 42%, rgba(6,10,19,.72) 100%),
		linear-gradient(90deg, rgba(6,10,19,.35), transparent 60%);
}
/* scan line atmosphere */
.hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
	background: linear-gradient(transparent 0%, rgba(46,166,255,.05) 50%, transparent 100%);
	background-size: 100% 7px;
	mix-blend-mode: screen;
	opacity: .3;
}

.hero__inner { position: relative; z-index: 4; width: 100%; padding-bottom: clamp(70px, 11vh, 140px); padding-top: 140px; }
.hero__eyebrow { opacity: 0; animation: rise .9s var(--ease) .25s forwards; }
.hero h1 {
	font-size: clamp(3rem, 9.5vw, 8.2rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -.02em;
	line-height: .92;
	margin: 22px 0 0;
	max-width: 14ch;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(1) > span { animation-delay: .35s; }
.hero h1 .line:nth-child(2) > span { animation-delay: .48s; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { color: #cfdaf0; font-size: 1.18rem; max-width: 48ch; margin: 26px 0 0; opacity: 0; animation: rise 1s var(--ease) .7s forwards; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; opacity: 0; animation: rise 1s var(--ease) .85s forwards; }

.hero__nav { position: absolute; z-index: 5; right: var(--gutter); bottom: clamp(70px, 11vh, 140px); display: flex; align-items: center; gap: 18px; }
.hero__dots { display: flex; gap: 9px; }
.hero__dot { width: 30px; height: 3px; border: 0; background: rgba(255,255,255,.25); border-radius: 4px; transition: background .35s var(--ease); }
.hero__dot.is-active { background: var(--accent); }
.hero__arrows { display: flex; gap: 8px; }
.hero__arrow { width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(10,16,32,.5); color: var(--text); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.hero__arrow:hover { background: var(--accent); color: var(--accent-ink); border-color: transparent; }

.hero__scroll { position: absolute; left: var(--gutter); bottom: 34px; z-index: 5; font-family: var(--display); font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; opacity: 0; animation: rise 1s var(--ease) 1.1s forwards; }
.hero__scroll i { width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--accent-2); animation: scrollLine 2.2s var(--ease) infinite; }

@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }
@keyframes rise { to { transform: translateY(0); opacity: 1; } }

/* =========================================================================
   6 · PAGE BANNER (interior pages)
   ========================================================================= */
.banner {
	position: relative;
	padding: calc(var(--header-h) + 70px) 0 70px;
	text-align: center;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(900px 380px at 50% -30%, rgba(46,166,255,.22), transparent 70%),
		var(--bg-2);
}
.banner::before {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 40px 40px; mask-image: radial-gradient(circle at 50% 0%, #000, transparent 75%);
	opacity: .6;
}
.banner__logo { width: 84px; margin: 0 auto 22px; border-radius: 10px; box-shadow: 0 12px 40px rgba(46,166,255,.4); position: relative; }
.banner h1 {
	position: relative;
	font-size: clamp(2.4rem, 6.5vw, 5rem);
	text-transform: uppercase; letter-spacing: -.01em;
}
.banner__crumb { position: relative; margin-top: 16px; color: var(--accent-2); font-family: var(--display); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }

/* =========================================================================
   7 · CARD GRID (productos / proyectos)
   ========================================================================= */
.strip-label {
	display: flex; align-items: center; gap: 20px;
	font-family: var(--display); text-transform: uppercase;
	color: var(--faint); font-size: 12px; letter-spacing: .32em;
	margin: 0 0 30px;
}
.strip-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: clamp(14px, 1.6vw, 22px);
}
.card {
	position: relative;
	aspect-ratio: 4 / 3.4;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--surface);
	isolation: isolate;
}
.card__img {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	transform: scale(1.02);
	transition: transform .9s var(--ease), filter .6s var(--ease);
	filter: saturate(.9) brightness(.82);
}
.card:hover .card__img { transform: scale(1.1); filter: saturate(1.05) brightness(.92); }
.card__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,10,19,.05) 30%, rgba(6,10,19,.55) 65%, rgba(6,10,19,.94) 100%); }
.card__body { position: absolute; inset: auto 0 0 0; padding: 26px; z-index: 2; transform: translateY(14px); transition: transform .5s var(--ease); }
.card:hover .card__body { transform: translateY(0); }
.card__title { font-size: 1.55rem; text-transform: uppercase; letter-spacing: -.01em; }
.card__desc { color: var(--muted); font-size: .96rem; margin: 8px 0 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .5s var(--ease), margin .5s var(--ease); }
.card:hover .card__desc { max-height: 96px; opacity: 1; margin-top: 8px; }
.card__cta { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; color: var(--accent-2); font-family: var(--display); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease) .05s, transform .5s var(--ease) .05s; }
.card:hover .card__cta { opacity: 1; transform: translateY(0); }
/* tech corner bracket */
.card::before, .card::after {
	content: ""; position: absolute; z-index: 3; width: 22px; height: 22px; pointer-events: none;
	border: 1px solid var(--accent); opacity: 0; transition: opacity .4s var(--ease), inset .4s var(--ease);
}
.card::before { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.card::after  { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
.card:hover::before { opacity: .8; top: 12px; left: 12px; }
.card:hover::after  { opacity: .8; bottom: 12px; right: 12px; }

.center-row { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 56px); }

/* =========================================================================
   8 · PROCESO PRODUCTIVO
   ========================================================================= */
.process__intro { max-width: 720px; color: var(--muted); }
.process__intro strong { color: var(--text); font-weight: 700; }
.process-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: clamp(18px, 2.4vw, 30px);
	margin-top: clamp(34px, 5vw, 54px);
	counter-reset: step;
}
.process-step { position: relative; }
.process-step__media {
	display: block; position: relative;
	aspect-ratio: 1 / 1;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	background-size: cover; background-position: center;
}
.process-step__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,10,19,.7)); }
.process-step__num {
	counter-increment: step;
	position: absolute; top: 14px; left: 14px; z-index: 2;
	width: 40px; height: 40px; display: grid; place-items: center;
	font-family: var(--display); font-weight: 700; font-size: 15px;
	color: var(--accent-ink);
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	border-radius: var(--radius);
	box-shadow: 0 8px 22px rgba(46,166,255,.4);
}
.process-step__num::before { content: counter(step, decimal-leading-zero); }
.process-step__title { margin-top: 16px; font-size: 1.18rem; text-transform: uppercase; letter-spacing: .02em; }
.process-step__title::before { content: ""; display: inline-block; width: 16px; height: 2px; background: var(--accent); margin-right: 10px; vertical-align: middle; }

/* =========================================================================
   9 · GALLERY (filter + grid)
   ========================================================================= */
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; justify-content: center; }
.filter-btn {
	font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
	color: var(--muted);
	padding: 11px 22px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 40px;
	transition: color .3s, border-color .3s, background .3s;
}
.filter-btn:hover { color: var(--text); border-color: var(--line-2); }
.filter-btn.is-active { color: var(--accent-ink); background: linear-gradient(120deg, var(--accent), var(--accent-2)); border-color: transparent; }

.masonry { columns: 3 280px; column-gap: 16px; }
.masonry .gitem { break-inside: avoid; margin-bottom: 16px; }
.gitem.is-hidden { display: none; }
.gitem__media {
	display: block; position: relative;
	border-radius: var(--radius); overflow: hidden;
	border: 1px solid var(--line);
}
.gitem__media img, .gitem__media .ph { width: 100%; display: block; transition: transform .8s var(--ease); }
.gitem__media .ph { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.gitem__media::after {
	content: "\2197"; position: absolute; inset: 0; z-index: 2;
	display: grid; place-items: center;
	font-size: 26px; color: var(--text);
	background: rgba(6,10,19,.5);
	opacity: 0; transition: opacity .4s var(--ease);
}
.gitem__media:hover::after { opacity: 1; }
.gitem__media:hover img, .gitem__media:hover .ph { transform: scale(1.07); }
.gitem__video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gitem__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =========================================================================
   10 · SINGLE PRODUCT
   ========================================================================= */
.back-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .3s, gap .3s; }
.back-link:hover { color: var(--accent-2); gap: 14px; }

.prose { color: var(--muted); font-size: 1.06rem; line-height: 1.8; max-width: 760px; }
.prose h1, .prose h2, .prose h3 { color: var(--text); text-transform: uppercase; margin: 1.6em 0 .5em; }
.prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }
.prose ul { padding-left: 1.1em; }
.prose li::marker { color: var(--accent); }

.subhead { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1.4rem,3vw,2rem); display: flex; align-items: center; gap: 16px; margin: 0 0 30px; }
.subhead::before { content: ""; width: 28px; height: 2px; background: var(--accent); }

.product-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.product-gallery a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1/1; }
.product-gallery .ph { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform .8s var(--ease); }
.product-gallery a:hover .ph { transform: scale(1.08); }

/* =========================================================================
   11 · CONTACT
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.panel { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3vw, 44px); }
.panel h2 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 6px; }
.panel .panel__hint { color: var(--muted); margin: 0 0 26px; font-size: .98rem; }

.info-list { display: flex; flex-direction: column; gap: 4px; }
.info-row { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row__ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; color: var(--accent-2); background: rgba(46,166,255,.1); border: 1px solid var(--line-2); border-radius: var(--radius); }
.info-row__ic svg { width: 20px; height: 20px; }
.info-row h4 { font-family: var(--display); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin: 0 0 5px; font-weight: 600; }
.info-row p, .info-row a { margin: 0; color: var(--text); font-size: 1rem; }
.info-row a:hover { color: var(--accent-2); }

/* Contact Form 7 styling */
.wpcf7 { margin-top: 4px; }
.wpcf7-form p { margin: 0 0 16px; }
.wpcf7-form label { display: block; font-family: var(--display); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.wpcf7-form input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.wpcf7-form textarea,
.wpcf7-form select {
	width: 100%;
	background: var(--bg);
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	color: var(--text);
	font-family: var(--body); font-size: 1rem;
	padding: 14px 16px;
	transition: border-color .3s, box-shadow .3s;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus, .wpcf7-form select:focus {
	outline: 0; border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(46,166,255,.18);
}
.wpcf7-form textarea { min-height: 150px; resize: vertical; }
.wpcf7-form input[type=submit] {
	font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
	color: var(--accent-ink);
	background: linear-gradient(120deg, var(--accent), var(--accent-2));
	border: 0; border-radius: var(--radius);
	padding: 16px 36px; margin-top: 6px;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wpcf7-form input[type=submit]:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(46,166,255,.4); }
.wpcf7-spinner { margin-top: 14px; }
.wpcf7 .wpcf7-response-output { border-radius: var(--radius); margin: 18px 0 0; padding: 14px 18px; font-size: .95rem; }

/* =========================================================================
   12 · STATIC PAGE
   ========================================================================= */
.static-content { color: var(--muted); font-size: 1.06rem; line-height: 1.8; }
.static-content h1, .static-content h2, .static-content h3 { color: var(--text); text-transform: uppercase; margin: 1.4em 0 .5em; }
.static-content a { color: var(--accent-2); }

/* =========================================================================
   13 · FOOTER
   ========================================================================= */
.site-footer { margin-top: clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); background: var(--bg-2); }
.map-frame { position: relative; padding: 0; line-height: 0; border-bottom: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 380px; filter: grayscale(.4) invert(.92) hue-rotate(180deg) contrast(.9); border: 0; }
.map-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 120px 20px rgba(6,10,19,.7); }

.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(24px, 4vw, 60px); padding-block: clamp(48px, 6vw, 80px); }
.footer-main h5 { font-family: var(--display); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 18px; }
.footer-about p { color: var(--muted); max-width: 38ch; }
.footer-about .brand { margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; color: var(--muted); margin: 0 0 12px; transition: color .3s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-col .ic { display: inline-flex; align-items: center; gap: 10px; }
.footer-col .ic svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer-bottom small { color: var(--faint); font-size: 13px; letter-spacing: .04em; }
.footer-bottom .credit { font-family: var(--display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.footer-bottom .credit a { color: var(--accent-2); }

/* =========================================================================
   13b · WHATSAPP FLOAT
   ========================================================================= */
.wa-float {
	position: fixed; z-index: 90;
	right: clamp(18px, 3vw, 30px); bottom: clamp(18px, 3vw, 30px);
	width: 58px; height: 58px;
	display: grid; place-items: center;
	color: #fff;
	background: #25d366;
	border-radius: 50%;
	box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 4px 12px rgba(0,0,0,.3);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-float svg { width: 32px; height: 32px; position: relative; z-index: 2; }
.wa-float:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 16px 38px rgba(37,211,102,.6), 0 6px 16px rgba(0,0,0,.35); }
.wa-float__pulse {
	position: absolute; inset: 0; border-radius: 50%;
	background: #25d366; z-index: 1;
	animation: waPulse 2.4s var(--ease) infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .6; } 70%,100% { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-float__pulse { animation: none; display: none; } }

/* =========================================================================
   14 · LIGHTBOX
   ========================================================================= */
.lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(4,8,16,.94); backdrop-filter: blur(8px); }
.lb.is-open { display: flex; }
.lb img { max-width: 90vw; max-height: 84vh; border-radius: var(--radius); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: lbIn .4s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.lb__btn { position: absolute; background: rgba(20,35,57,.5); border: 1px solid var(--line-2); color: var(--text); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; transition: background .3s, color .3s; }
.lb__btn:hover { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.lb__close { top: 26px; right: 26px; }
.lb__prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 26px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-family: var(--display); font-size: 13px; letter-spacing: .2em; color: var(--muted); }

/* =========================================================================
   15 · SCROLL REVEAL
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }

/* =========================================================================
   16 · RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
	.contact-grid { grid-template-columns: 1fr; }
	.footer-main { grid-template-columns: 1fr 1fr; }
	.footer-about { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
	.nav-toggle { display: flex; }
	.brand__sub { display: none; }
	.site-nav {
		position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px);
		background: rgba(8,13,24,.97); backdrop-filter: blur(20px);
		border-left: 1px solid var(--line);
		transform: translateX(100%); transition: transform .5s var(--ease);
		display: flex; align-items: center; justify-content: center;
		padding: 40px;
	}
	.nav-open .site-nav { transform: translateX(0); }
	.nav__list, .menu { flex-direction: column; gap: 28px; text-align: center; }
	.nav__list a, .menu a { font-size: 20px; }
}

@media (max-width: 620px) {
	body { font-size: 16px; }
	.footer-main { grid-template-columns: 1fr; }
	.masonry { columns: 2 150px; }
	.hero__nav { display: none; }
	.hero__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
	.hero h1 .line > span, .hero__eyebrow, .hero__lead, .hero__cta, .hero__scroll { opacity: 1; transform: none; animation: none; }
}
