:root {
  --primary: #E4B45C;
  --primary-dark: #C99A3F;
  --ink: #EDEAE3;
  --muted: #A8A9A4;
  --bg: #14161A;
  --panel: #1C1F25;
  --line: #2C3038;
  --radius: 4px;
  --max-width: 1140px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
.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(228,180,92,.92); color: #14161A; text-decoration: none; font-size: .78rem; font-weight: 600; padding: .45rem .85rem; border-radius: 999px; }

header { position: sticky; top: 0; background: rgba(20,22,26,.92); 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: .85rem; padding-bottom: .85rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 42px; height: 42px; }
.brand-text { font-weight: 600; letter-spacing: .14em; font-size: .9rem; line-height: 1.25; }
.brand-text small { display: block; font-weight: 400; font-size: .6rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
nav ul { display: flex; gap: 1.6rem; list-style: none; }
nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem 0; border-bottom: 1px solid transparent; }
nav a:hover, nav a.active { color: var(--primary); border-bottom-color: var(--primary); }

.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: .9rem; letter-spacing: .04em; padding: .85rem 1.7rem; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: background .15s ease, color .15s ease; }
.btn-primary { background: var(--primary); color: #14161A; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: var(--primary); color: #14161A; }
.btn-light:hover { background: var(--primary-dark); }
.btn-outline { border-color: rgba(237,234,227,.4); color: var(--ink); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.nav-cta { border: 1px solid var(--primary); color: var(--primary); padding: .55rem 1.2rem; font-size: .82rem; }
.nav-cta:hover { background: var(--primary); color: #14161A; }

.burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4.5px auto; 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 { padding: 5.5rem 0; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 75% 20%, #232730 0%, var(--bg) 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.kicker { color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; margin-bottom: 1rem; }
h1, h2 { font-family: "Fraunces", Georgia, serif; font-weight: 500; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); line-height: 1.1; margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.15; margin-bottom: .9rem; }
h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .45rem; letter-spacing: .02em; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 36rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 1.6rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; }
.hero-points li { color: var(--muted); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; position: relative; padding-left: 1rem; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; background: var(--primary); transform: translateY(-50%) rotate(45deg); }
.hero-media img { border: 1px solid var(--line); aspect-ratio: 4/3.4; object-fit: cover; }
.hero-media { position: relative; }
.hero-media::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--primary); z-index: -1; }
.hero-media.noimg { background: #1E222A; border: 1px solid var(--line); min-height: 320px; }
.hero-media.noimg img { display: none; }

.section { padding: 5rem 0; }
.section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lead { color: var(--muted); max-width: 40rem; margin-bottom: 2rem; }
.grid { display: grid; gap: 1.4rem; }
.cards-4, .cards-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 2.2rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.card p { color: var(--muted); font-size: .93rem; }
.icon { width: 46px; height: 46px; border: 1px solid var(--primary); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.icon svg { width: 24px; height: 24px; }
.center { text-align: center; margin-top: 2.6rem; }

.step { border-top: 2px solid var(--primary); background: var(--bg); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.8rem; }
.step p { color: var(--muted); font-size: .93rem; }
.num { display: inline-block; font-family: "Fraunces", Georgia, serif; font-size: 2rem; color: var(--primary); margin-bottom: .6rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.gallery figure { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.gallery img { aspect-ratio: 1/1; object-fit: cover; width: 100%; filter: saturate(.92); transition: transform .3s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; bottom: 0; right: 0; background: linear-gradient(transparent, rgba(10,11,13,.85)); color: var(--ink); padding: 1.6rem .9rem .7rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.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; padding: 0; color: var(--muted); }

.cta-strip { background: var(--panel); border-top: 1px solid var(--primary); padding: 4rem 0; }
.cta-strip p { color: var(--muted); }
.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: .9rem; }

.page-hero { padding: 4rem 0 3.5rem; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 70% 0%, #232730 0%, var(--bg) 65%); }

.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; 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.6rem; }
.checks li { padding-left: 1.6rem; position: relative; margin-bottom: .55rem; font-size: .95rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: var(--primary); transform: rotate(45deg); }
.service-media { overflow: hidden; margin: 0; border: 1px solid var(--line); }
.service-media img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.service-media.noimg { background: var(--panel); 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: 1rem; font-weight: 500; }
.contact-card a { text-decoration: none; }
.contact-form h2 { margin-bottom: 1.2rem; }
.contact-form label { display: block; font-weight: 500; font-size: .85rem; letter-spacing: .04em; margin-bottom: 1rem; color: var(--muted); }
.contact-form input, .contact-form textarea { width: 100%; margin-top: .35rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: var(--bg); color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { outline: 1px solid var(--primary); border-color: var(--primary); }
.form-note { font-size: .8rem; color: var(--muted); margin-top: .8rem; }
.form-sent { display: none; margin-top: .8rem; font-weight: 600; color: var(--primary); }
.contact-form.sent .form-sent { display: block; }

footer { background: #0E1013; color: var(--muted); padding: 3rem 0 1.5rem; font-size: .92rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.footer-brand { color: var(--ink); font-weight: 600; letter-spacing: .14em; margin-bottom: .5rem; }
.footer-h { color: var(--ink); font-weight: 600; margin-bottom: .5rem; letter-spacing: .06em; }
footer a { color: var(--muted); 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; }
.proto a { text-decoration: underline; }

@media (max-width: 860px) {
  .hero { padding: 3.5rem 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; }
  .hero-media::after { display: none; }
  .nav-cta { display: none; }
  .burger { display: block; }
  nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); 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; }
}
