/*
Theme Name: WEBNIMO
Author: WEBNIMO
Description: A clean, professional theme for the WEBNIMO Creative & Growth Agency. One-page home with services, process, packages, industries, a Work portfolio (concept or client work) and a Light Preview request form.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webnimo
*/

:root {
	--navy: #12286b;
	--navy-2: #0c1c4d;
	--red: #e31e24;
	--red-bright: #ff2229;
	--ink: #1b1f2e;
	--muted: #5b6275;
	--tint: #f1f4fb;
	--line: #d3d9ec;
	--white: #fff;
	--radius: 14px;
	--shadow: 0 8px 28px rgba(18, 40, 107, .08);
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-head: "Poppins", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: 1.1rem; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }
.container { width: min(1160px, 92%); margin-inline: auto; }
.narrow { width: min(820px, 92%); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .95rem; padding: 13px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #c5171d; color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.wordmark { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; letter-spacing: .02em; text-decoration: none; }
.wm-web { color: var(--red); }
.wm-nimo { color: var(--navy); }
.brand img { max-height: 48px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav .menu { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.site-nav .menu a:hover { color: var(--red); }
.nav-cta { padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: min(88vh, 740px); display: flex; align-items: center; color: #fff; padding: 80px 0 88px; background-color: var(--navy-2); background-image: var(--hero-img, none); background-size: cover; background-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 28, 77, var(--ov, .65)) 0%, rgba(12, 28, 77, calc(var(--ov, .65) * .6)) 55%, rgba(12, 28, 77, calc(var(--ov, .65) * .25)) 100%); }
.hero-fallback { background-image: linear-gradient(135deg, #0c1c4d 0%, #12286b 55%, #1d3a8a 100%); }
.hero-fallback::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: -1; background: url("assets/img/skyline.svg") bottom center / cover no-repeat; opacity: .6; }
.hero-eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: clamp(1rem, 2vw, 1.4rem); letter-spacing: .02em; text-transform: uppercase; color: #fff; padding-bottom: 6px; border-bottom: 3px solid var(--red-bright); margin-bottom: 26px; }
.hero-title { color: #fff; text-transform: uppercase; font-size: clamp(2.3rem, 7.2vw, 5.2rem); line-height: 1.08; font-weight: 700; margin-bottom: 22px; letter-spacing: -.01em; }
.hero-title > span { display: block; }
.hl { color: var(--red-bright); }
.hero-sub { max-width: 560px; font-size: 1.1rem; color: #e3e8f8; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: #d3dbf3; font-size: .92rem; }
.hero-points li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red-bright); margin-right: 8px; }

/* About */
.about-grid { display: grid; gap: 48px; align-items: center; }
.about-grid.has-photo { grid-template-columns: 1.2fr .8fr; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.stat { background: var(--tint); border-radius: 12px; padding: 18px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--navy); line-height: 1.1; }
.stat span { font-size: .85rem; color: var(--muted); }
.pkg-foot { margin-top: 26px; }

/* Sections */
.section { padding: 84px 0; }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy); color: #dfe5f7; }
.section-navy h2 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 48px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card, .step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p, .step p { color: var(--muted); margin: 0; font-size: .96rem; }
.num { font-family: var(--font-head); font-weight: 700; color: var(--red); font-size: .9rem; display: block; margin-bottom: 10px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; margin-bottom: 12px; }

/* Packages */
.pkg { position: relative; }
.pkg-for { margin-bottom: 14px !important; }
.pkg-featured { border: 2px solid var(--red); }
.badge { position: absolute; top: -13px; left: 22px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; font-family: var(--font-head); }
.ticks { list-style: none; padding: 0; margin: 0 0 6px; }
.ticks li { padding: 5px 0 5px 26px; position: relative; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 14px; height: 8px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg) scale(.8); }
.pkg-note { font-size: .85rem !important; margin-top: 12px !important; }

/* Industries */
.industry { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; font-family: var(--font-head); font-weight: 500; color: var(--navy); display: flex; flex-direction: column; gap: 4px; }
.industry small { color: var(--red); font-family: var(--font-body); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.industry-focus { border-color: var(--navy); background: #fff; box-shadow: var(--shadow); }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px; }
.work-card { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s; color: var(--ink); }
.work-card:hover { transform: translateY(-3px); }
.work-thumb { aspect-ratio: 4 / 5; background: var(--tint); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-meta { padding: 16px 18px 20px; }
.work-meta h3 { margin: 6px 0 0; }
.tag { display: inline-block; background: var(--tint); color: var(--navy); font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; font-family: var(--font-head); }
.work-empty .work-thumb { background: repeating-linear-gradient(45deg, var(--tint), var(--tint) 12px, #fff 12px, #fff 24px); }

/* Form */
.contact-grid { align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; }
.contact-list li { padding: 6px 0; }
.contact-list strong { display: inline-block; min-width: 90px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.preview-form label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 14px; color: var(--ink); }
.preview-form input, .preview-form select, .preview-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.preview-form input:focus, .preview-form select:focus, .preview-form textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.notice { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: .92rem; }
.notice-ok { background: #e8f6ee; color: #14532d; border: 1px solid #b7e4c7; }
.notice-err { background: #fdecec; color: #7f1d1d; border: 1px solid #f5c2c2; }

/* Inner pages */
.page-hero { background: var(--tint); padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.entry { font-size: 1.02rem; }
.entry img { border-radius: 12px; margin: 18px 0; }
.case-note { background: var(--tint); border-left: 3px solid var(--red); padding: 12px 16px; border-radius: 6px; font-size: .9rem; }
.post-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 1.3rem; }
.post-item h2 a { text-decoration: none; }

/* Footer */
.site-footer { background: var(--navy-2); color: #b9c3e3; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: .95rem; }
.site-footer a { color: #b9c3e3; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.brand-light .wm-nimo { color: #fff; }
.footer-text { font-size: .92rem; margin-top: 12px; max-width: 360px; }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { padding: 4px 0; font-size: .92rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; }
.wa-float { position: fixed; right: 18px; bottom: 18px; background: #25d366; color: #063d1c; font-weight: 600; font-size: .85rem; padding: 12px 18px; border-radius: 999px; text-decoration: none; box-shadow: 0 8px 22px rgba(0, 0, 0, .2); z-index: 60; font-family: var(--font-head); }

/* Responsive */
@media (max-width: 960px) {
	.grid-2, .about-grid.has-photo { grid-template-columns: 1fr; }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.grid-3, .work-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
	.nav-toggle { display: block; }
	.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 16px 4%; gap: 14px; display: none; }
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; gap: 12px; }
}
@media (max-width: 600px) {
	.section { padding: 60px 0; }
	.grid-3, .grid-4, .work-grid, .field-row, .footer-grid, .stats { grid-template-columns: 1fr; }
	.hero { padding: 56px 0 64px; min-height: 0; }
	.wa-float { padding: 11px 14px; font-size: .8rem; }
}
