:root {
  --primary: #E8890F;
  --primary-dark: #C97207;
  --ink: #1E2530;
  --muted: #5C6672;
  --bg: #FFFFFF;
  --soft: #FFF6EA;
  --line: #EEE6DA;
  --radius: 18px;
  --max-width: 1140px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Manrope", system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--primary-dark); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }

.backlink { position: fixed; bottom: 1rem; left: 1rem; z-index: 50; background: rgba(30,37,48,.85); color: #fff; text-decoration: none; font-size: .78rem; padding: .45rem .85rem; border-radius: 999px; }
.backlink:hover { background: var(--ink); }

header { position: sticky; top: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); z-index: 40; }
.nav-wrap { display: flex; align-items: center; gap: 1.5rem; padding-top: .7rem; padding-bottom: .7rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand-text { font-weight: 800; letter-spacing: .03em; font-size: .95rem; line-height: 1.2; }
.brand-text small { display: block; font-weight: 600; font-size: .62rem; color: var(--muted); letter-spacing: .02em; }
nav ul { display: flex; gap: 1.4rem; list-style: none; }
nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a.active { color: var(--primary-dark); border-bottom-color: var(--primary); }

.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: .95rem; padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.nav-cta { background: var(--primary); color: #fff; padding: .6rem 1.2rem; font-size: .88rem; }
.nav-cta:hover { background: var(--primary-dark); }

.burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; }
.burger span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: .2s; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.hero { background: var(--soft); padding: 4.5rem 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.kicker { color: var(--primary-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: .6rem; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; line-height: 1.12; margin-bottom: 1rem; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; line-height: 1.2; margin-bottom: .8rem; }
h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: .4rem; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 36rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.hero-points li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .25rem .9rem; font-size: .82rem; font-weight: 700; color: var(--muted); }
.hero-media img { border-radius: var(--radius); aspect-ratio: 4/3.4; object-fit: cover; box-shadow: 0 20px 50px rgba(200,120,10,.18); }
.hero-media.noimg { background: linear-gradient(150deg, #F7B450, var(--primary)); border-radius: var(--radius); min-height: 320px; }
.hero-media.noimg img { display: none; }

.section { padding: 4.5rem 0; }
.section.alt { background: #FAFAF7; }
.section-lead { color: var(--muted); max-width: 40rem; margin-bottom: 2rem; }
.grid { display: grid; gap: 1.4rem; }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 2rem; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 2rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 4px 18px rgba(30,37,48,.05); }
.card p { color: var(--muted); font-size: .95rem; }
.icon { width: 48px; height: 48px; border-radius: 14px; background: var(--soft); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.icon svg { width: 26px; height: 26px; }
.center { text-align: center; margin-top: 2.4rem; }

.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.step p { color: var(--muted); font-size: .95rem; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; margin-bottom: .9rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.gallery img { aspect-ratio: 1/1; object-fit: cover; width: 100%; transition: transform .25s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: .8rem; bottom: .8rem; background: rgba(255,255,255,.92); border-radius: 999px; padding: .2rem .8rem; font-size: .78rem; font-weight: 700; }
.gallery figure.noimg { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.gallery figure.noimg img { display: none; }
.gallery figure.noimg figcaption { position: static; background: none; color: var(--muted); }

.cta-strip { background: var(--ink); color: #fff; padding: 3.5rem 0; }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #B9C0C9; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.page-hero { background: var(--soft); padding: 3.5rem 0 3rem; }

.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.service-row.reverse .service-text { order: 2; }
.service-row.reverse .service-media { order: 1; }
.service-text p { color: var(--muted); margin-bottom: 1rem; }
.checks { list-style: none; margin: 0 0 1.4rem; }
.checks li { padding-left: 1.7rem; position: relative; margin-bottom: .5rem; color: var(--ink); font-weight: 600; font-size: .95rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--primary-dark); font-weight: 800; }
.service-media { border-radius: var(--radius); overflow: hidden; margin: 0; }
.service-media img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.service-media.noimg { background: linear-gradient(150deg, #F7B450, var(--primary)); min-height: 280px; }
.service-media.noimg img { display: none; }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.about-grid p { color: var(--muted); margin-bottom: 1rem; }
.values { gap: 1rem; margin-top: 0; }
.about-grid .btn { margin-top: .4rem; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.contact-card p { font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.contact-card a { text-decoration: none; }
.contact-form h2 { margin-bottom: 1.2rem; }
.contact-form label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 1rem; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: .35rem; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #FDFCFA; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: .8rem; }
.form-sent { display: none; margin-top: .8rem; font-weight: 700; color: #1B7F4B; }
.contact-form.sent .form-sent { display: block; }

footer { background: #1A2028; color: #AEB6BF; padding: 3rem 0 1.5rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid #2A323C; }
.footer-brand { color: #fff; font-weight: 800; letter-spacing: .04em; margin-bottom: .5rem; }
.footer-h { color: #fff; font-weight: 700; margin-bottom: .5rem; }
footer a { color: #D3D9E0; text-decoration: none; }
footer a:hover { color: var(--primary); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; padding-top: 1.2rem; font-size: .8rem; color: #7C8590; }
.proto a { color: #7C8590; text-decoration: underline; }

@media (max-width: 860px) {
  .hero { padding: 3rem 0; }
  .hero-grid, .service-row, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-row.reverse .service-text { order: 0; }
  .service-row.reverse .service-media { order: 0; }
  .nav-cta { display: none; }
  .burger { display: block; }
  nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem; }
  nav a { display: block; padding: .7rem 0; border-bottom: 0; }
}
