@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,400;6..12,600;6..12,700;6..12,800&display=swap");

:root {
  --navy: #2a3441;
  --navy-deep: #1d2530;
  --amber: #f2a93b;
  --lime: #b5d334;
  --blue: #3a5aa8;
  --ink: #1f2933;
  --muted: #5d6b7a;
  --line: #e4e8ee;
  --bg: #f6f8fb;
  --radius: 14px;
  --font: "Nunito Sans", "Candara", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); line-height: 1.6; background: #fff; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 92%); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: .5rem 1rem; z-index: 99; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; font-size: 1rem; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--navy-deep); }
.btn-amber:hover { background: #ffb94f; }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); }

/* Top bar + header */
.topbar { background: var(--navy-deep); color: #cfd6df; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--amber); }
.topbar .group { display: flex; gap: 1.4rem; flex-wrap: wrap; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand svg { width: 52px; height: 52px; }
.brand .name { font-size: 1.7rem; font-weight: 800; line-height: 1; letter-spacing: .01em; }
.brand .name .fun { color: var(--blue); }
.brand .name .lab { color: #8fb000; }
.brand .tag { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); font-style: italic; margin-top: .2rem; }
nav ul { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; align-items: center; }
nav a { text-decoration: none; padding: .5rem .85rem; border-radius: 8px; font-weight: 700; color: var(--navy); }
nav a:hover, nav a[aria-current="page"] { background: var(--bg); color: var(--blue); }
nav a.cta { background: var(--amber); color: var(--navy-deep); border-radius: 999px; padding-inline: 1.2rem; }
nav a.cta:hover { background: #ffb94f; }
.menu-btn { display: none; background: none; border: 2px solid var(--line); border-radius: 10px; padding: .45rem .7rem; font-size: 1.3rem; cursor: pointer; color: var(--navy); }

/* Hero */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; background: var(--amber); transform: skewX(-28deg); }
.hero::before { width: 220px; height: 120%; left: -90px; top: -10%; opacity: .95; }
.hero::after { width: 130px; height: 70%; right: -40px; bottom: -10%; opacity: .9; }
.hero .wrap { position: relative; z-index: 1; padding: clamp(4rem, 9vw, 7rem) 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.hero .kicker { display: inline-block; color: var(--lime); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; margin-bottom: 1rem; }
.hero h1 span { color: var(--amber); }
.hero p.lead { font-size: 1.2rem; color: #d7dee8; max-width: 38ch; }
.hero .actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 1.6rem; backdrop-filter: blur(4px); }
.hero-card h3 { color: var(--amber); }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.hero-card li { padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; gap: .6rem; }
.hero-card li::before { content: "✓"; color: var(--lime); font-weight: 800; }

.page-hero { background: var(--navy); color: #fff; padding: 3.2rem 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -50px; top: 0; bottom: 0; width: 130px; background: var(--amber); transform: skewX(-28deg); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero p { color: #d7dee8; max-width: 60ch; margin: 0; font-size: 1.1rem; }
.crumbs { font-size: .9rem; color: var(--lime); margin-bottom: .6rem; font-weight: 700; }
.crumbs a { text-decoration: none; }

/* Sections */
section { padding: clamp(3rem, 7vw, 5rem) 0; }
.alt { background: var(--bg); }
.eyebrow { color: #8fb000; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; margin-bottom: .6rem; display: block; }
.section-head { max-width: 60ch; margin-bottom: 2.2rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.grid { display: grid; gap: 1.3rem; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: 0 12px 30px rgba(42,52,65,.12); transform: translateY(-3px); border-color: var(--amber); }
.card .icon { width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: var(--amber); display: grid; place-items: center; margin-bottom: 1rem; }
.card .icon svg { width: 28px; height: 28px; }
.card p { color: var(--muted); margin: 0; }
.card a.more { display: inline-block; margin-top: 1rem; font-weight: 800; color: var(--blue); text-decoration: none; }
.card a.more:hover { color: var(--amber); }
.card ul { padding-left: 1.1rem; margin: .8rem 0 0; color: var(--muted); }
.service-image { width: 100%; height: 165px; object-fit: cover; border-radius: 9px; margin-bottom: 1.2rem; }

.steps { counter-reset: s; }
.step { position: relative; padding-left: 4rem; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--amber); color: var(--navy-deep); font-weight: 800; display: grid; place-items: center; font-size: 1.2rem; }
.step p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.panel { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 2rem; position: relative; overflow: hidden; }
.panel::after { content: ""; position: absolute; right: -30px; top: 0; bottom: 0; width: 70px; background: var(--amber); transform: skewX(-28deg); opacity: .9; }
.panel > * { position: relative; z-index: 1; }
.panel p { color: #d7dee8; }

.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-deep)); color: #fff; text-align: center; }
.cta-band p { color: #d7dee8; max-width: 55ch; margin-inline: auto; }
.cta-band .actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }

.placeholder-note { background: #fff8e8; border: 1px dashed var(--amber); border-radius: 10px; padding: .8rem 1rem; font-size: .92rem; color: #7a5a14; margin-top: 1.5rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.info-list .ic { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--navy); color: var(--amber); display: grid; place-items: center; }
.info-list .ic svg { width: 22px; height: 22px; }
.info-list strong { display: block; }
.info-list a { text-decoration: none; color: var(--blue); font-weight: 700; }
.info-list a:hover { color: var(--amber); }
form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: 0 10px 30px rgba(42,52,65,.07); }
label { display: block; font-weight: 700; margin-bottom: .3rem; font-size: .95rem; }
input, textarea, select { width: 100%; font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; margin-bottom: 1rem; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(242,169,59,.4); border-color: var(--amber); }
textarea { min-height: 140px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-status { margin-top: 1rem; font-weight: 700; color: #4f7a00; }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); margin-top: 1.2rem; }
.office-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.office-card img { width: 100%; height: 220px; object-fit: cover; }
.office-content { padding: 1.5rem; }
.office-content address { font-style: normal; }
.photo-credit { margin: 1rem 0 0; color: var(--muted); font-size: .75rem; }
.photo-credit a { color: inherit; }
.catalog-list { display: grid; gap: 1.25rem; }
.catalog-category { display: grid; grid-template-columns: minmax(180px, 250px) 1fr; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 6rem; }
.catalog-category > img { width: 100%; height: 100%; max-height: 260px; object-fit: cover; }
.catalog-category-content { padding: 1.5rem; min-width: 0; }
.catalog-category-content > p { color: var(--muted); }
.catalog-category-content .catalog-caption { font-size: .78rem; margin-bottom: .75rem; }
.catalog-category .more, .catalog-products a { color: var(--blue); font-weight: 800; }
.catalog-category summary { color: var(--blue); font-weight: 800; cursor: pointer; }
.catalog-products { list-style: none; padding: 0; margin: 1rem 0 0; max-height: 26rem; overflow: auto; }
.catalog-products li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.catalog-products li > span { flex: 1; }
.catalog-products a { flex-shrink: 0; }
.product-illustration { flex: 0 0 90px; margin: 0; }
.product-illustration img { width: 90px; height: 65px; object-fit: cover; border-radius: 6px; }
.product-illustration figcaption { color: var(--muted); font-size: .68rem; line-height: 1.3; margin-top: .25rem; }
#catalog-search { max-width: 40rem; }

/* Footer */
footer { background: var(--navy-deep); color: #cfd6df; padding: 3.5rem 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
footer h3 { color: #fff; font-size: 1.05rem; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: .45rem; }
footer a { text-decoration: none; }
footer a:hover { color: var(--amber); }
footer .brand .name .fun { color: #8fa9e8; }
footer .brand .name .lab { color: var(--lime); }
footer .brand .tag { color: #9aa6b5; }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding: 1.2rem 0; font-size: .88rem; color: #9aa6b5; }

@media (max-width: 900px) {
  .hero .wrap, .split, .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: block; }
  nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  nav.open { display: block; }
  nav ul { flex-direction: column; align-items: stretch; padding: .8rem 4%; }
  .hero::before { opacity: .25; }
}
@media (max-width: 560px) {
  .foot-grid, .row { grid-template-columns: 1fr; }
  .catalog-category { grid-template-columns: 1fr; }
  .catalog-category > img { height: 180px; }
  .topbar .wrap { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
