*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ═════════════════════════════════════════════════
   "Bloques de color"
   Idea: la identidad sale de lo que Dhomper ya tiene y nadie más: sus seis
   productos, cada uno con su color. Fondo claro, bloques redondeados de
   color sólido/tintado, tipografía expresiva. Sin brillos ni degradados.
   ═════════════════════════════════════════════════ */

:root {
	--bg:      #fbfaf7;
	--bg2:     #f1efe9;
	--card:    #ffffff;
	--ink:     #111111;
	--text:    #111111;
	--muted:   #5b5b57;
	--muted2:  #8a8983;
	--line:    #e4e1d8;
	--border:  #e4e1d8;
	--blue:    #2447f5;
	--accent:  #2447f5;
	--yellow:  #ffd84d;
	--pink:    #ffb3c7;
	--mint:    #b9ecd0;
	--sky:     #bfd9ff;
	--peach:   #ffcfad;
	--lilac:   #d9ccff;
	--r-lg:    28px;
	--r-md:    18px;
	--radius:  18px;
	--t:       .22s cubic-bezier(.4,0,.2,1);
	--transition: .22s cubic-bezier(.4,0,.2,1);
	--nav-bg:  rgba(251,250,247,.92);
	--tag-bg:  transparent;
	--font-display: 'Bricolage Grotesque', system-ui, sans-serif;
	--font-body:    'Schibsted Grotesk', system-ui, sans-serif;
	--font-mono:    'Schibsted Grotesk', system-ui, sans-serif;
}

[data-theme="dark"] {
	--bg:      #0f0f0e;
	--bg2:     #181816;
	--card:    #1c1c1a;
	--ink:     #f4f2ec;
	--text:    #f4f2ec;
	--muted:   #b0aea6;
	--muted2:  #807e77;
	--line:    #2c2b28;
	--border:  #2c2b28;
	--blue:    #5b78ff;
	--accent:  #5b78ff;
	--yellow:  #e9c440;
	--pink:    #e39aae;
	--mint:    #8fd1ae;
	--sky:     #8fb5ee;
	--peach:   #e8ae86;
	--lilac:   #b3a2ec;
	--nav-bg:  rgba(15,15,14,.92);
}

html { scroll-behavior: smooth; }
body {
	font-family: var(--font-body); background: var(--bg); color: var(--text);
	line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
	transition: background-color .4s ease, color .3s ease;
}
::selection { background: var(--yellow); color: #111; }
a { color: inherit; }
img { display: block; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
section { padding: 6rem 0; scroll-margin-top: 5rem; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.02; text-wrap: balance; }

.eyebrow {
	display: inline-flex; align-items: center; gap: .5rem;
	font-weight: 600; font-size: .9rem; color: var(--muted); margin-bottom: 1rem;
}
.eyebrow i { width: 10px; height: 10px; border-radius: 3px; background: var(--blue); }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 58ch; margin-top: 1rem; }

.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.head > div { max-width: 760px; }

/* ── Botones ───────────────────────────────────── */
.btn {
	display: inline-flex; align-items: center; gap: .6rem;
	font: inherit; font-weight: 600; font-size: 1rem;
	padding: .95rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer;
	transition: transform var(--t), background var(--t), color var(--t), border-color var(--t);
}
.btn:hover { transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-ink  { background: var(--ink); color: var(--bg); }
.btn-out  { border-color: var(--ink); color: var(--ink); }
.btn-out:hover { background: var(--ink); color: var(--bg); }
.btn-sm { padding: .6rem 1.1rem; font-size: .92rem; }

/* ── Nav ───────────────────────────────────────── */
#navbar {
	position: sticky; top: 0; z-index: 100;
	background: var(--nav-bg); backdrop-filter: saturate(1.2) blur(8px);
	border-bottom: 1px solid transparent; transition: border-color var(--t);
}
#navbar.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 76px; }
.logo-img { height: 34px; width: auto; filter: brightness(0); }
[data-theme="dark"] .logo-img { filter: none; }

.nav-links { display: flex; gap: .3rem; list-style: none; align-items: center;
	background: var(--bg2); padding: .35rem; border-radius: 999px; }
.nav-links a { display: block; text-decoration: none; font-weight: 500; font-size: .95rem; padding: .5rem 1rem; border-radius: 999px; transition: background var(--t); }
.nav-links a:hover { background: var(--card); }
.nav-links-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: .6rem; }

.theme-toggle, .nav-toggle {
	width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--bg2); color: var(--ink); display: grid; place-items: center;
}
.theme-toggle .icon-sun { display: block; } .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.nav-toggle span { width: 16px; height: 2px; border-radius: 2px; background: var(--ink); transition: var(--t); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────── */
#hero { padding: 3.5rem 0 5rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: center; }
.hello {
	display: inline-block;
	background: var(--yellow); color: #111; font-weight: 600; font-size: .92rem;
	padding: .45rem .95rem; border-radius: 999px; margin-bottom: 1.6rem;
}
#hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.7rem); line-height: .96; letter-spacing: -.045em; }
#hero h1 .hl {
	background: var(--blue); color: #fff; padding: 0 .18em; border-radius: .18em;
	-webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-sub { color: var(--muted); font-size: 1.18rem; max-width: 50ch; margin-top: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }

/* Mosaico de productos: los seis logos reales, cada uno en su color */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile {
	aspect-ratio: 1; border-radius: var(--r-lg);
	background: color-mix(in srgb, var(--pc) 16%, var(--card));
	display: grid; place-items: center; position: relative; text-decoration: none;
	transition: transform var(--t), background var(--t);
}
.mosaic > :nth-child(3n+2) { transform: translateY(28px); }
.tile-slot { display: grid; }
.tile:hover { background: color-mix(in srgb, var(--pc) 30%, var(--card)); }
.tile img { width: 44%; height: 44%; object-fit: contain; }
.tile span {
	position: absolute; bottom: 12px; left: 0; right: 0; text-align: center;
	font-size: .78rem; font-weight: 600; color: var(--muted);
}
.tile.stat { background: var(--sb, var(--ink)); color: var(--sc, var(--bg)); text-align: center; place-content: center; gap: .1rem; }
.tile.stat b { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -.04em; }
.tile.stat small { font-size: .85rem; opacity: .75; }


/* ── Servicios ─────────────────────────────────── */
#services { background: var(--bg2); border-radius: 40px 40px 0 0; }
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.svc-card {
	grid-column: span 2; background: var(--card); border-radius: var(--r-lg);
	padding: 1.8rem; display: flex; flex-direction: column;
}
.svc-card.wide { grid-column: span 3; }
.svc-ico {
	width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
	color: #111; margin-bottom: 1.4rem;
}
.svc-card h3 { font-size: 1.5rem; line-height: 1.1; margin-bottom: .6rem; }
.svc-card p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.3rem; }
.chips span { font-size: .82rem; font-weight: 500; padding: .3rem .7rem; border-radius: 999px; background: var(--bg2); }

/* ── Proceso ───────────────────────────────────── */
#process { background: var(--bg2); padding-top: 2rem; border-radius: 0 0 40px 40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step-card { border-radius: var(--r-lg); padding: 2rem; color: #111; position: relative; overflow: hidden; }
.step-card .n {
	font-family: var(--font-display); font-weight: 800; font-size: 7rem; line-height: .8;
	letter-spacing: -.06em; opacity: .9; display: block; margin-bottom: 1.5rem;
}
.step-card h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.step-card p { color: rgba(17,17,17,.75); }

/* ── Productos ─────────────────────────────────── */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prod {
	border-radius: var(--r-lg); padding: 1.8rem; text-decoration: none;
	background: color-mix(in srgb, var(--pc) 10%, var(--card));
	border: 1.5px solid color-mix(in srgb, var(--pc) 22%, transparent);
	display: flex; flex-direction: column; transition: transform var(--t), background var(--t);
}
.prod:hover { transform: translateY(-4px); background: color-mix(in srgb, var(--pc) 18%, var(--card)); }
.prod-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.prod-logo { width: 60px; height: 60px; border-radius: 16px; background: #fff; display: grid; place-items: center; }
.prod-logo img { width: 42px; height: 42px; object-fit: contain; }
.prod-cat { font-size: .8rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; background: var(--pc); color: #fff; }
.prod h3 { font-size: 1.55rem; margin-bottom: .5rem; }
.prod p { color: var(--muted); flex: 1; }
.prod-go {
	margin-top: 1.4rem; display: flex; justify-content: space-between; align-items: center;
	font-weight: 600; font-size: .95rem;
}
.prod-go i {
	width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--bg);
	display: grid; place-items: center; font-style: normal; transition: transform var(--t);
}
.prod:hover .prod-go i { transform: rotate(-45deg); }

/* ── CTA ───────────────────────────────────────── */
#cta { padding: 0 0 6rem; }
.cta {
	background: var(--blue); color: #fff; border-radius: 40px;
	padding: clamp(2.5rem, 6vw, 5rem); position: relative; overflow: hidden;
	display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: center;
}
.cta h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.cta p { opacity: .85; font-size: 1.1rem; margin-top: 1rem; }
.cta-actions { display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; }
.cta .btn-yellow { background: var(--yellow); color: #111; }
.cta .btn-white { border-color: rgba(255,255,255,.6); color: #fff; }
.cta .btn-white:hover { background: #fff; color: var(--blue); }
.cta-shape { position: absolute; border-radius: 50%; pointer-events: none; }
.cta-shape.a { width: 260px; height: 260px; background: var(--yellow); right: -80px; top: -90px; }
.cta-shape.b { width: 140px; height: 140px; background: var(--pink); right: 140px; bottom: -70px; }
.cta > *:not(.cta-shape) { position: relative; }

/* ── Contacto ──────────────────────────────────── */
#contact { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; }
.c-list { display: grid; gap: 10px; margin-top: 2rem; }
.c-item {
	display: flex; align-items: center; gap: 1rem; text-decoration: none;
	background: var(--bg2); border-radius: var(--r-md); padding: 1rem 1.2rem;
	transition: background var(--t);
}
a.c-item:hover { background: color-mix(in srgb, var(--blue) 12%, var(--bg2)); }
.c-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #111; flex-shrink: 0; }
.c-item strong { display: block; font-size: .85rem; color: var(--muted); font-weight: 500; }
.c-item span { font-weight: 600; }

.contact-form { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 2rem; }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.form-group label { font-size: .88rem; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
	font: inherit; color: var(--text); background: var(--bg2);
	border: 2px solid transparent; border-radius: 14px; padding: .8rem 1rem; outline: none;
	transition: border-color var(--t), background var(--t);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); background: var(--card); }
.form-group ::placeholder { color: var(--muted2); }
.btn-submit {
	width: 100%; font: inherit; font-weight: 700; font-size: 1.02rem; cursor: pointer;
	padding: 1rem; border-radius: 999px; border: 0; background: var(--blue); color: #fff;
	display: flex; justify-content: center; gap: .5rem; transition: transform var(--t), background var(--t);
}
.btn-submit:hover { transform: translateY(-2px); }
.btn-submit.sent { background: #1f9d55; }

/* ── Footer ────────────────────────────────────── */
footer { background: var(--ink); color: var(--bg); border-radius: 40px 40px 0 0; padding: 4rem 0 2rem; }
footer .logo-img { filter: brightness(0) invert(1); }
[data-theme="dark"] footer .logo-img { filter: brightness(0); }
.f-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 3rem; padding-bottom: 3rem; }
.f-top p { opacity: .7; margin-top: 1rem; max-width: 34ch; }
.f-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.f-cols h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .9rem; }
.f-cols ul { list-style: none; display: grid; gap: .45rem; }
.f-cols a { text-decoration: none; opacity: .75; }
.f-cols a:hover { opacity: 1; }
.f-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); font-size: .88rem; opacity: .7; }
.f-bottom a { color: inherit; text-decoration: none; }
.f-bottom a:hover { text-decoration: underline; }

/* ── WhatsApp flotante ─────────────────────────── */
.wa-float { position: fixed; left: 20px; bottom: 20px; z-index: 90; text-decoration: none; }
.wa-btn { width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.18); transition: transform var(--t); }
.wa-float:hover .wa-btn { transform: scale(1.07); }
.wa-btn svg { width: 28px; height: 28px; fill: #fff; }

/* ── Reveal ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* colores de apoyo */
.bg-yellow { background: var(--yellow); } .bg-pink { background: var(--pink); }
.bg-mint { background: var(--mint); }     .bg-sky { background: var(--sky); }
.bg-peach { background: var(--peach); }   .bg-lilac { background: var(--lilac); }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
	.hero-grid { grid-template-columns: 1fr; }
	.mosaic { max-width: 520px; }
	.svc-card, .svc-card.wide { grid-column: span 3; }
	.prod-grid { grid-template-columns: repeat(2, 1fr); }
	.contact-grid, .cta { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.nav-links {
		display: none; position: absolute; top: 76px; left: 16px; right: 16px;
		flex-direction: column; align-items: stretch; border-radius: var(--r-md);
		background: var(--card); border: 1.5px solid var(--line); padding: .6rem;
		box-shadow: 0 20px 40px rgba(0,0,0,.12);
	}
	.nav-links.open { display: flex; }
	.nav-links a { padding: .85rem 1rem; font-size: 1.05rem; }
	.nav-links-cta { display: block; margin-top: .4rem; }
	.nav-links-cta a { text-align: center; }
	.nav-cta { display: none; }
	.nav-toggle { display: flex; }
}
@media (max-width: 720px) {
	.wrap { padding: 0 16px; }
	section { padding: 4.5rem 0; }
	#hero { padding-top: 2rem; }
	.mosaic { gap: 10px; }
	.tile { border-radius: var(--r-md); }
	.tile span { display: none; }
	#services, footer { border-radius: 28px 28px 0 0; } #process { border-radius: 0 0 28px 28px; }
	.svc-grid, .steps, .prod-grid { grid-template-columns: 1fr; }
	.svc-card, .svc-card.wide { grid-column: auto; padding: 1.5rem; }
	.step-card .n { font-size: 5rem; }
	.cta { border-radius: 28px; }
	.form-row { grid-template-columns: 1fr; gap: 0; }
	.contact-form { padding: 1.4rem; }
	.f-top { grid-template-columns: 1fr; }
	.f-cols { grid-template-columns: 1fr 1fr; }
	.logo-img { height: 28px; }
}
