:root{
 --navy:#0a1428;
 --navy2:#101831;
 --gold:#c99736;
 --gold-light:#dea94a;
 --cream:#fbf7f0;
 --ink:#111827;
 --muted:#5f6571;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--navy);font-family:Inter,Arial,sans-serif;color:#fff}
a{text-decoration:none;color:inherit}
.wrap{width:min(1180px,calc(100% - 48px));margin:auto}

.topbar{position:absolute;top:0;left:0;right:0;z-index:30;padding:18px 0}
.nav{display:grid;grid-template-columns:280px 1fr 150px;align-items:center;gap:25px}
.logo{display:flex;align-items:center;gap:12px}
.logo-icon{width:48px;height:58px;border:1px solid var(--gold);border-radius:22px 22px 4px 4px;display:grid;place-items:center;color:var(--gold);font-size:26px}
.logo-text b{display:block;font:600 24px/1 "Cormorant Garamond",serif;letter-spacing:.16em}
.logo-text small{display:block;text-align:center;color:var(--gold);letter-spacing:.38em;font-size:10px;margin-top:7px;font-weight:700}
.menu{display:flex;justify-content:center;gap:30px}
.menu a{font-size:12px;color:#fff;opacity:.92;padding:10px 0}
.menu a.active{color:var(--gold-light);border-bottom:1px solid var(--gold)}
.login{justify-self:end;background:linear-gradient(135deg,#d6a543,#b9852d);border-radius:19px;padding:11px 20px;font-size:12px;font-weight:700}

.hero{position:relative;min-height:590px;overflow:hidden}
.hero-bg{position:absolute;inset:0;background:
linear-gradient(90deg,rgba(6,13,27,.78),rgba(6,13,27,.34) 60%,rgba(6,13,27,.3)),
url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=2000&q=92") center/cover no-repeat}
.hero-dark{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(7,13,27,.18),rgba(7,13,27,.12) 55%,rgba(7,13,27,.8))}
.hero-grid{position:relative;z-index:5;min-height:590px;display:grid;grid-template-columns:1fr 430px;gap:70px;align-items:center;padding-top:72px}
.hero-copy h1{font:600 61px/.96 "Cormorant Garamond",serif;margin:0}
.hero-copy h1 span{color:var(--gold-light)}
.accent-line{width:39px;height:2px;background:var(--gold);margin:22px 0 18px}
.hero-copy p{font-size:14px;line-height:1.75;margin:0;color:#f3f5f8}
.hero-buttons{display:flex;gap:14px;margin-top:27px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:45px;border-radius:11px;padding:0 21px;font-size:12px;font-weight:700}
.gold{background:linear-gradient(135deg,#d8aa4f,#ba8428);color:#fff}
.ghost{border:1px solid rgba(255,255,255,.8);background:rgba(0,0,0,.07)}
.light{background:#fffaf3;color:#171b25;border:1px solid #60656f}
.hero-note{margin-top:21px;font-size:11px}

.memorial-card{position:relative;background:linear-gradient(#fffdf9,#f5eee4);color:#151820;border-radius:17px;padding:27px 27px 22px;box-shadow:0 30px 70px rgba(0,0,0,.32);border-left:4px solid #c79233}
.card-brand{position:absolute;top:17px;left:20px;color:#b9862d;font-size:20px}
.card-tools{position:absolute;top:17px;right:20px;font-size:14px}
.portrait-wrap{position:relative;width:151px;height:151px;margin:3px auto 16px}
.portrait-wrap img{width:100%;height:100%;object-fit:cover;border-radius:50%;border:4px solid #fff;box-shadow:0 0 0 2px var(--gold)}
.heart{position:absolute;right:-1px;bottom:4px;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:#fff}
.memorial-card h2{text-align:center;font:600 27px "Cormorant Garamond",serif;margin:2px 0 7px}
.years{text-align:center;font-size:13px}
.mini-line{width:31px;height:2px;background:var(--gold);margin:15px auto}
.memorial-card blockquote{text-align:center;margin:0 0 18px;font:italic 15px/1.4 "Cormorant Garamond",serif;color:#413a33}
.card-actions{border-top:1px solid #ddd4c8;padding-top:17px;display:grid;grid-template-columns:repeat(4,1fr)}
.card-actions a{text-align:center}
.card-actions b{display:block;font-size:20px;font-weight:400}
.card-actions small{font-size:7px}
.flowers-right{position:absolute;z-index:4;right:30px;bottom:28px;color:#eee3cf;font-size:50px;letter-spacing:-20px;opacity:.9}
.candle{position:absolute;z-index:4;right:81px;bottom:17px;color:#f4bb58;font-size:52px}

.benefits{background:#f9f6f1;padding:10px 0 18px;color:var(--ink)}
.benefits-box{background:#fff;border:1px solid #ece4da;box-shadow:0 8px 20px rgba(30,40,55,.08);border-radius:14px;display:grid;grid-template-columns:repeat(4,1fr);padding:21px 18px}
.benefit{display:flex;gap:15px;align-items:flex-start;padding:0 21px;border-right:1px solid #ded7cc}
.benefit:last-child{border-right:none}
.benefit i{font-style:normal;font-size:30px}
.benefit b{display:block;font-size:12px;margin-bottom:5px}
.benefit span{display:block;color:#505866;font-size:9px;line-height:1.55}

.about{background:#fffaf3;color:#0d1730;padding:62px 0 38px}
.about-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:52px;align-items:center}
.about-copy h2{font:600 44px/.96 "Cormorant Garamond",serif;margin:0}
.accent-line.small{margin:17px 0}
.about-copy p{font-size:11px;line-height:1.7;color:#29303b;max-width:390px}
.about-copy ul{list-style:none;margin:20px 0 0;padding:0}
.about-copy li{font-size:10px;margin:10px 0}
.about-copy li::before{content:"✓";color:#b17c27;font-weight:900;margin-right:8px}

.devices{position:relative;min-height:330px}
.leaf-decoration{position:absolute;right:5px;top:-38px;color:#74915d;font-size:34px;line-height:.65;transform:rotate(-15deg)}
.laptop{position:absolute;right:30px;top:5px;width:475px;height:285px;background:#151820;border-radius:8px;padding:7px;box-shadow:0 22px 40px rgba(0,0,0,.18)}
.screen{height:100%;background:#fffaf3;border-radius:3px;overflow:hidden}
.screen-menu{text-align:center;padding:10px;font-size:5px;color:#222}
.screen-content{display:grid;grid-template-columns:125px 1fr;gap:15px;padding:15px}
.profile-mini{text-align:center}
.profile-mini img{width:58px;height:58px;border-radius:50%;object-fit:cover}
.profile-mini h3{font:600 15px/1 "Cormorant Garamond",serif;margin:5px 0}
.profile-mini span,.profile-mini em{display:block;font-size:6px;margin-top:4px}
.gallery-mini p{font-size:8px;color:#222}
.video-box{height:115px;border-radius:6px;background:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1)),url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=650&q=80") center/cover;display:grid;place-items:center;color:#fff;font-size:25px}
.thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.thumbs i{height:50px;border-radius:3px;background:linear-gradient(135deg,#8a6a45,#d3b182)}
.laptop-base{position:absolute;left:-23px;right:-23px;height:9px;bottom:-9px;background:#9da0a4;border-radius:0 0 50% 50%}
.phone{position:absolute;left:10px;bottom:0;width:100px;height:220px;background:#111;border-radius:18px;padding:6px;box-shadow:0 12px 25px rgba(0,0,0,.22)}
.phone-screen{height:100%;background:#fff9ef;color:#20242a;border-radius:13px;text-align:center;padding:13px 8px}
.phone-screen img{width:39px;height:39px;border-radius:50%;object-fit:cover}
.phone-screen h4{font:600 11px/1 "Cormorant Garamond",serif;margin:5px 0}
.phone-screen span,.phone-screen small{font-size:5px}
.phone-video{height:60px;background:linear-gradient(135deg,#967a5b,#c8aa82);margin:9px 0;border-radius:4px;display:grid;place-items:center;color:white}
.qr-card{position:absolute;right:-5px;bottom:-5px;width:126px;background:#f5ead8;color:#493d2e;text-align:center;padding:13px 9px;border-radius:4px;box-shadow:0 13px 30px rgba(0,0,0,.13);transform:rotate(1deg)}
.qr-card>b{color:#af7d2b;font-size:16px}
.qr-card small{display:block;font-size:6px;margin:3px}
.qr-card h4{font:600 11px/1 "Cormorant Garamond",serif;margin:3px}
.qr-grid{width:48px;height:48px;margin:6px auto;display:grid;grid-template-columns:repeat(3,1fr);gap:2px;background:#fff;padding:2px}
.qr-grid i{background:#111}
.qr-grid i:nth-child(2),.qr-grid i:nth-child(4),.qr-grid i:nth-child(8){background:#fff}
.qr-card p{font-size:5px}

.features{background:linear-gradient(180deg,#111831,#0c1429);padding:37px 0 39px}
.features h2{text-align:center;font:600 30px "Cormorant Garamond",serif;margin:0 0 30px}
.features-grid{display:grid;grid-template-columns:repeat(5,1fr)}
.features-grid article{text-align:center;padding:0 19px;border-right:1px solid rgba(255,255,255,.1)}
.features-grid article:last-child{border-right:0}
.features-grid i{font-style:normal;color:#d2a13e;font-size:30px}
.features-grid h3{font-size:11px;margin:10px 0 6px}
.features-grid p{font-size:9px;line-height:1.55;color:#eef1f6;margin:0}

.final-cta{background:linear-gradient(90deg,#efe4d3,#fffaf3);color:#121a2e;padding:29px 0}
.final-grid{display:grid;grid-template-columns:1.3fr .7fr;align-items:center}
.final-cta h2{font:600 35px/1.03 "Cormorant Garamond",serif;margin:0}
.final-cta h2 span{color:#af7f33}
.final-cta p{font:14px "Cormorant Garamond",serif;margin:10px 0 0}
.cta-buttons{display:flex;flex-direction:column;gap:9px;align-items:flex-start}

footer{background:#091225;padding:22px 0}
.footer-grid{display:grid;grid-template-columns:1fr 1fr 1.4fr;align-items:center}
.footer-logo .logo-icon{width:38px;height:46px;font-size:20px}
.footer-logo .logo-text b{font-size:17px}
.footer-copy{text-align:center;font:12px "Cormorant Garamond",serif}
.footer-copy span{color:#d1a343}
.copyright{text-align:right;font-size:8px;color:#d2d7df}

@media(max-width:900px){
 .nav{grid-template-columns:1fr auto}.menu{display:none}
 .hero-grid,.about-grid,.final-grid{grid-template-columns:1fr}
 .hero-grid{padding:120px 0 50px}
 .memorial-card{width:min(430px,100%);margin:auto}
 .benefits-box{grid-template-columns:1fr 1fr;gap:20px}
 .benefit{border-right:0}
 .features-grid{grid-template-columns:1fr 1fr;gap:24px}
 .features-grid article{border-right:0}
 .devices{transform:scale(.86);transform-origin:top left;width:116%}
}
@media(max-width:560px){
 .wrap{width:min(100% - 28px,1180px)}
 .hero-copy h1{font-size:46px}
 .hero-buttons{flex-direction:column;align-items:stretch}
 .benefits-box,.features-grid{grid-template-columns:1fr}
 .about-copy h2,.final-cta h2{font-size:34px}
 .devices{transform:scale(.62);width:160%;min-height:260px}
 .footer-grid{grid-template-columns:1fr;gap:18px;text-align:center}
 .copyright{text-align:center}
}
