:root {
  --plum: #2a0005;
  --plum-2: #3a0610;
  --purple: #6b2a90;
  --purple-dark: #4c176b;
  --lavender: #efe5f4;
  --cream: #fbf8f6;
  --paper: #fffdfc;
  --ink: #21181d;
  --muted: #756970;
  --line: rgba(42,0,5,.10);
  --shadow: 0 20px 55px rgba(47, 18, 42, .10);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section-pad { padding: 96px 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 9999; background: #fff; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,253,252,.90);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(42,0,5,.07); border-color: var(--line); }
.nav-wrap { height: 92px; display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; height: 76px; overflow: hidden; }
.brand img { width: 132px; height: 92px; object-fit: contain; transform: scale(1.05); }
.main-nav { display: flex; justify-content: center; gap: 30px; }
.main-nav a { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; position: relative; padding: 12px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 4px; width: 0; height: 2px; background: var(--purple); transition: width .22s ease; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border-radius: 13px; font-weight: 700; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--purple-dark), #7f30a6); box-shadow: 0 12px 26px rgba(107,42,144,.18); }
.btn-primary:hover { box-shadow: 0 16px 32px rgba(107,42,144,.28); }
.btn-ghost { border-color: rgba(107,42,144,.35); color: var(--purple-dark); background: rgba(255,255,255,.72); }
.full { width: 100%; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--plum); margin: 5px 0; }

.hero { padding-top: 54px; background: radial-gradient(circle at 10% 10%, #f5edf8 0, transparent 30%), linear-gradient(180deg,#fffdfc 0,#faf6f6 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: 60px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--purple); font-size: 12px; text-transform: uppercase; letter-spacing: .18em; font-weight: 800; }
h1,h2 { font-family: "Cormorant Garamond", Georgia, serif; color: var(--plum); font-weight: 600; line-height: .98; margin: 0; }
h1 { font-size: clamp(58px, 7vw, 96px); letter-spacing: -.035em; }
h1 em { color: var(--purple); font-weight: 500; }
h2 { font-size: clamp(42px, 4.8vw, 64px); letter-spacing: -.025em; }
.hero-lead { margin: 28px 0 30px; max-width: 560px; color: #574b52; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-location { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hero-location svg { width: 19px; color: var(--purple); }
.hero-visual { position: relative; min-width: 0; }
.hero-frame { border-radius: 90px 28px 28px 90px; overflow: hidden; min-height: 590px; box-shadow: var(--shadow); border-left: 2px solid rgba(107,42,144,.55); }
.hero-frame img { width: 100%; height: 590px; object-fit: cover; object-position: 62% center; }
.hero-badge { position: absolute; left: -22px; bottom: 34px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow); }
.hero-badge span { display:block; color: var(--purple); text-transform: uppercase; letter-spacing:.16em; font-size: 10px; font-weight:800; }
.hero-badge strong { font-family: "Cormorant Garamond", serif; font-size: 28px; color: var(--plum); }

.section-heading { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-heading h2 { margin-bottom: 16px; }
.section-heading p:last-child { color: var(--muted); line-height: 1.7; }

.services { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.service-card { background: linear-gradient(180deg,#fff 0,#fdfafa 100%); border: 1px solid var(--line); border-radius: 22px; padding: 28px 18px; min-height: 260px; text-align: center; box-shadow: 0 10px 30px rgba(42,0,5,.045); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(107,42,144,.28); box-shadow: var(--shadow); }
.service-card .icon { width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items:center; color: var(--purple); background: #fcf7fd; border: 1px solid #eee3f1; }
.service-card .icon svg { width: 29px; height: 29px; stroke-width: 1.5; }
.service-card h3 { color: var(--plum); font-size: 16px; margin: 0 0 10px; }
.service-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.gallery { background: linear-gradient(180deg,#faf6f6 0,#fff 100%); }
.gallery-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 12px; }
.gallery-item { border: 0; padding: 0; background: none; overflow: hidden; border-radius: 18px; cursor: zoom-in; min-height: 260px; }
.gallery-item:nth-child(1), .gallery-item:nth-child(2) { grid-column: span 3; }
.gallery-item:nth-child(3), .gallery-item:nth-child(4), .gallery-item:nth-child(5), .gallery-item:nth-child(6) { grid-column: span 1.5; }
.gallery-item img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.center { display:flex; justify-content:center; margin-top:28px; }

.about-contact { background: #fff; }
.about-grid { display: grid; grid-template-columns: .72fr 1.1fr 1fr; gap: 36px; align-items: stretch; }
.about-image { border-radius: 26px; overflow: hidden; min-height: 430px; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { padding: 30px 10px; }
.about-copy h2, .contact-card h2 { font-size: 48px; margin-bottom: 20px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 34px; }
.values div { text-align:center; font-size: 11px; font-weight:700; line-height:1.4; color:#5c4f56; }
.values svg { display:block; margin: 0 auto 10px; color: var(--purple); width:28px; height:28px; stroke-width:1.5; }
.contact-card { border: 1px solid var(--line); border-radius: 26px; padding: 30px; background: #fcf8fb; box-shadow: 0 12px 34px rgba(42,0,5,.05); }
.contact-list { display: grid; gap: 17px; margin: 28px 0; }
.contact-list > * { display:flex; align-items:center; gap:12px; font-size:14px; }
.contact-list svg { color:var(--purple); width:20px; }
.contact-list strong { font-weight:700; color:var(--purple-dark); }

.footer { background: linear-gradient(135deg,#240005,#360817); color: #fff; padding: 22px 0; }
.footer-inner { min-height: 90px; display:grid; grid-template-columns: 150px 1fr 44px; gap:20px; align-items:center; }
.footer-brand { height:70px; overflow:hidden; display:flex; align-items:center; }
.footer-brand img { width: 118px; height: 78px; object-fit: contain; filter: brightness(0) invert(1); opacity:.95; }
.footer p { text-align:center; font-size:12px; opacity:.76; }
.social-link { width:42px; height:42px; border:1px solid rgba(255,255,255,.25); border-radius:50%; display:grid; place-items:center; }
.social-link svg { width:20px; }
.to-top { position:fixed; right:22px; bottom:22px; width:48px; height:48px; border-radius:50%; border:0; background:var(--purple); color:#fff; box-shadow:0 12px 28px rgba(107,42,144,.28); display:grid; place-items:center; opacity:0; pointer-events:none; transform:translateY(10px); transition:.25s ease; cursor:pointer; z-index:500; }
.to-top.show { opacity:1; pointer-events:auto; transform:none; }

.lightbox { position:fixed; inset:0; z-index:3000; background:rgba(20,8,18,.92); display:grid; place-items:center; opacity:0; pointer-events:none; transition:opacity .2s ease; padding:40px; }
.lightbox.open { opacity:1; pointer-events:auto; }
.lightbox img { max-width:min(980px,92vw); max-height:86vh; border-radius:18px; box-shadow:0 30px 80px rgba(0,0,0,.45); }
.lightbox-close { position:absolute; top:22px; right:22px; width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.1); color:white; display:grid; place-items:center; cursor:pointer; }

.reveal { opacity:0; transform:translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 1100px) {
  .nav-wrap { grid-template-columns: 130px 1fr auto; gap:18px; }
  .main-nav { gap:18px; }
  .service-grid { grid-template-columns: repeat(4,1fr); }
  .about-grid { grid-template-columns: .8fr 1.2fr; }
  .contact-card { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .container { width:min(100% - 28px, 1180px); }
  .section-pad { padding:72px 0; }
  .nav-wrap { height:78px; grid-template-columns: 110px 1fr 46px; }
  .brand { height:68px; }
  .brand img { width:105px; height:74px; }
  .nav-cta { justify-self:end; margin-right:4px; min-height:42px; padding-inline:14px; font-size:11px; }
  .menu-toggle { display:block; justify-self:end; }
  .main-nav { position:absolute; left:14px; right:14px; top:78px; background:#fff; border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow); padding:14px; display:grid; gap:0; opacity:0; transform:translateY(-8px); pointer-events:none; transition:.2s ease; }
  .main-nav.open { opacity:1; transform:none; pointer-events:auto; }
  .main-nav a { padding:14px; border-bottom:1px solid var(--line); }
  .main-nav a:last-child { border-bottom:0; }
  .main-nav a::after { display:none; }
  .hero { padding-top:32px; }
  .hero-grid { grid-template-columns:1fr; gap:38px; }
  .hero-copy { text-align:center; }
  .hero-lead { margin-inline:auto; }
  .hero-actions { justify-content:center; }
  .hero-location { justify-content:center; }
  .hero-frame { min-height:460px; border-radius:70px 26px 26px 70px; }
  .hero-frame img { height:460px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item, .gallery-item:nth-child(n) { grid-column:auto; min-height:230px; }
  .gallery-item img { min-height:230px; }
  .about-grid { grid-template-columns:1fr; }
  .about-image { min-height:360px; }
  .contact-card { grid-column:auto; }
}

@media (max-width: 520px) {
  .nav-wrap { grid-template-columns: 100px 1fr 42px; }
  .nav-cta { display:none; }
  .hero h1 { font-size:56px; }
  .hero-actions { display:grid; grid-template-columns:1fr; }
  .hero-actions .btn { width:100%; }
  .hero-frame { min-height:390px; border-radius:50px 20px 20px 50px; }
  .hero-frame img { height:390px; }
  .hero-badge { left:10px; bottom:14px; }
  .service-grid { grid-template-columns:1fr; }
  .service-card { min-height:auto; }
  .gallery-grid { grid-template-columns:1fr 1fr; gap:8px; }
  .gallery-item, .gallery-item img { min-height:180px; }
  .values { grid-template-columns:1fr; text-align:left; }
  .values div { display:flex; align-items:center; text-align:left; gap:12px; }
  .values svg { margin:0; flex:0 0 auto; }
  .footer-inner { grid-template-columns:1fr; justify-items:center; text-align:center; }
  .footer-brand { height:60px; }
  .footer p { margin:0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
  .reveal { opacity:1; transform:none; }
}
