:root{--bg:#070808;--panel:#101111;--panel2:#151515;--gold:#c99a4d;--gold2:#e1bb70;--text:#eee7dc;--muted:#aaa39a;--line:#2b241b}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;line-height:1.6}.container{width:min(1160px,92%);margin:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(4,5,5,.94);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.nav-wrap{min-height:86px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:10px;color:var(--gold2);text-decoration:none}.brand-mark{font-size:38px;filter:drop-shadow(0 0 8px #c99a4d55)}.brand strong{display:block;font-family:Georgia,serif;font-size:23px;letter-spacing:3px}.brand small{display:block;font-size:9px;letter-spacing:1.5px;color:#8f8373}.main-nav{display:flex;gap:24px;margin-left:auto}.main-nav a,.phone{color:#c5beb4;text-decoration:none;font-size:13px;text-transform:uppercase}.main-nav a:hover{color:var(--gold2)}.phone{display:flex;flex-direction:column;border-left:1px solid var(--line);padding-left:22px}.phone small{color:var(--gold);font-size:9px}.phone strong{font-family:Georgia,serif;font-size:20px;letter-spacing:1px;color:#f3ede4}.menu-btn{display:none;margin-left:auto;background:none;border:1px solid var(--line);color:var(--gold2);font-size:24px;border-radius:5px}.hero{min-height:620px;display:flex;align-items:center;position:relative;background:linear-gradient(90deg,#070808 0%,rgba(7,8,8,.88) 43%,rgba(7,8,8,.2) 72%),url('https://images.unsplash.com/photo-1518709594023-6eab9bab7b23?auto=format&fit=crop&w=1800&q=85') center/cover}.hero-overlay{position:absolute;inset:0;background:radial-gradient(circle at 75% 40%,transparent 0,rgba(0,0,0,.58) 65%)}.hero-content{position:relative;z-index:2;padding:85px 0;max-width:720px}.eyebrow,.section-title p{color:#c8b79d;letter-spacing:2px;font-size:12px}.hero h1,.section h2{font-family:Georgia,serif;font-weight:400;text-transform:uppercase}.hero h1{font-size:clamp(40px,6vw,72px);line-height:1.08;margin:15px 0;color:var(--gold2);text-shadow:0 3px 18px #000}.hero h1 span{font-size:.62em;color:#f0e9df}.lead{max-width:590px;color:#c4beb5;font-size:18px}.hero-actions{display:flex;gap:14px;margin-top:30px}.btn{display:inline-block;padding:14px 22px;text-transform:uppercase;text-decoration:none;font-weight:700;font-size:12px;letter-spacing:.6px;border:1px solid var(--gold);transition:.25s}.btn.primary{background:linear-gradient(135deg,#b47d2f,#d5a659);color:#110c05}.btn.ghost{color:#e6dfd4;background:#1118}.btn:hover{transform:translateY(-2px);box-shadow:0 8px 22px #0008}.section{padding:78px 0;border-top:1px solid #1c1813}.section-title{text-align:center;margin-bottom:34px}.section-title h2{margin:4px 0 7px;font-size:34px}.section-title span{color:var(--muted)}.service-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.service-card{min-height:270px;padding:24px 16px;background:linear-gradient(180deg,#151515,#0f1010);color:var(--text);border:1px solid #29231c;border-radius:4px;text-align:center;cursor:pointer;transition:.25s}.service-card:hover,.service-card:focus{transform:translateY(-8px);border-color:var(--gold);box-shadow:0 12px 28px #000}.service-card .icon{display:block;font-size:38px;color:var(--gold2);margin-bottom:18px}.service-card h3{font-family:Georgia,serif;font-weight:400;text-transform:uppercase;font-size:15px;min-height:48px}.service-card p{color:#9f9991;font-size:12px;min-height:72px}.service-card b{font-size:10px;color:var(--gold)}.why{background:#0d0e0e}.why-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:56px;align-items:center}.why-photo{height:420px;border:1px solid var(--line);background:linear-gradient(90deg,transparent,#0008),url('https://images.unsplash.com/photo-1507501336603-6e31db2be093?auto=format&fit=crop&w=1200&q=85') center/cover}.why h2{font-size:38px;margin:8px 0}.why p{color:#b8b1a8}.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:34px}.benefits div{text-align:center;border-top:1px solid var(--line);padding-top:18px}.benefits strong{display:block;color:var(--gold2);font-size:24px}.benefits span{font-size:10px;text-transform:uppercase;color:#c2bbb1}.gallery-section{background:#090a0a}.gallery,.modal-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.gallery img,.modal-gallery img{width:100%;height:240px;object-fit:cover;border:1px solid var(--line);filter:saturate(.75) contrast(1.05);transition:.25s}.gallery img:hover,.modal-gallery img:hover{transform:scale(1.02);filter:saturate(1)}.contact{background:linear-gradient(120deg,#0e0f0f,#15100b)}.contact-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:50px;align-items:center}.contact a{color:var(--gold2)}.map-card{height:300px;border:1px solid #4a3823;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at center,#3b2b18 0 3px,transparent 4px),repeating-linear-gradient(30deg,#171717 0 2px,#111 2px 26px);color:var(--gold2);font-family:Georgia,serif;font-size:24px}.map-card:before{content:'⌖';font-size:65px;color:var(--gold)}.map-card small{font:12px Arial;color:#bfb6aa}footer{border-top:1px solid var(--line);padding:28px 0;background:#050606}.footer-row{display:flex;align-items:center;justify-content:space-between}.footer-row p{font-size:12px;color:#817b74}dialog{width:min(980px,92%);border:1px solid var(--gold);background:#0b0c0c;color:var(--text);padding:28px;box-shadow:0 30px 100px #000}dialog::backdrop{background:#000c;backdrop-filter:blur(4px)}.modal-close{position:absolute;right:14px;top:10px;background:none;border:0;color:var(--gold2);font-size:34px;cursor:pointer}.modal-head{text-align:center}.modal-head p{color:var(--gold);letter-spacing:3px}.modal-head h2{font-family:Georgia,serif;font-weight:400;text-transform:uppercase}.modal-gallery{margin-top:22px}.modal-gallery img{height:220px}@media(max-width:1000px){.service-grid{grid-template-columns:repeat(3,1fr)}.main-nav{position:absolute;left:0;right:0;top:86px;display:none;flex-direction:column;background:#080909;padding:20px 4%;border-bottom:1px solid var(--line)}.main-nav.open{display:flex}.menu-btn{display:block}.phone{display:none}}@media(max-width:700px){.hero{min-height:560px;background-position:65% center}.hero h1{font-size:42px}.hero-actions{flex-direction:column;align-items:flex-start}.service-grid{grid-template-columns:repeat(2,1fr)}.why-grid,.contact-grid{grid-template-columns:1fr}.why-photo{height:300px}.benefits{grid-template-columns:repeat(2,1fr)}.gallery,.modal-gallery{grid-template-columns:1fr 1fr}.gallery img,.modal-gallery img{height:180px}.footer-row{flex-direction:column;gap:12px;text-align:center}}@media(max-width:430px){.service-grid{grid-template-columns:1fr}.gallery,.modal-gallery{grid-template-columns:1fr}.gallery img,.modal-gallery img{height:220px}.brand strong{font-size:20px}.section{padding:58px 0}}

/* Hero banner with the supplied Anubis artwork */
.hero.hero-image{min-height:0;display:block;position:relative;background:#050606;overflow:hidden}
.hero.hero-image>img{display:block;width:100%;height:auto;max-height:690px;object-fit:cover;object-position:center}
.hero-hotspots{position:absolute;inset:0;pointer-events:none}
.hero-hotspot{position:absolute;display:block;pointer-events:auto;border:1px solid transparent}
.hero-hotspot:focus-visible{outline:3px solid #e1bb70;outline-offset:3px}
.hero-hotspot.call{left:5.3%;top:73.7%;width:18.5%;height:9.2%}
.hero-hotspot.help{left:25.4%;top:73.7%;width:17.8%;height:9.2%}
@media(max-width:700px){
  .hero.hero-image{min-height:0}
  .hero.hero-image>img{min-height:340px;object-fit:cover;object-position:59% center}
  .hero-hotspot.call{left:4%;top:75%;width:30%;height:10%}
  .hero-hotspot.help{left:35%;top:75%;width:28%;height:10%}
}


/* Supplied “Защо да изберете Анубис” banner */
.why-banner{width:100%;background:#080909;border-top:1px solid #2b241b;border-bottom:1px solid #2b241b;overflow:hidden}
.why-banner img{display:block;width:100%;height:auto;object-fit:cover;object-position:center}
@media(max-width:700px){.why-banner img{min-height:250px;object-fit:cover;object-position:center}}

/* Contact offices and Google Maps links */
.contact-heading{text-align:center;margin-bottom:30px}.contact-heading h2{font-family:Georgia,serif;font-weight:400;text-transform:uppercase;font-size:34px;margin:4px 0 12px}.contact-heading p{color:#bdb5aa}.office-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.office-card{min-height:210px;display:flex;align-items:flex-start;gap:16px;padding:26px 22px;text-decoration:none;background:linear-gradient(145deg,#17130e,#0d0e0e);border:1px solid #4a3823;color:var(--text);transition:.25s}.office-card:hover,.office-card:focus-visible{transform:translateY(-5px);border-color:var(--gold);box-shadow:0 14px 30px #0008;outline:none}.office-pin{flex:0 0 auto;font-size:42px;line-height:1;color:var(--gold)}.office-card>span:last-child{display:flex;flex-direction:column;height:100%}.office-card strong{display:block;font-family:Georgia,serif;font-size:20px;font-weight:400;color:var(--gold2);margin-bottom:10px}.office-card small{display:block;font-size:14px;line-height:1.55;color:#c8c0b6}.office-card b{display:block;margin-top:auto;padding-top:18px;font-size:11px;letter-spacing:.5px;text-transform:uppercase;color:var(--gold)}.contact-action{text-align:center;margin-top:28px}@media(max-width:900px){.office-grid{grid-template-columns:1fr}.office-card{min-height:0}}@media(max-width:430px){.office-card{padding:22px 18px}.office-pin{font-size:34px}.contact-heading h2{font-size:28px}}

/* Full-screen single image preview */
.modal-gallery img,.gallery img{cursor:zoom-in}
dialog.image-lightbox{width:100vw;max-width:none;height:100vh;max-height:none;margin:0;padding:24px;border:0;background:rgba(0,0,0,.96);overflow:hidden}
dialog.image-lightbox::backdrop{background:#000}
.image-lightbox img{display:block;width:100%;height:100%;object-fit:contain;filter:none;transform:none}
.image-lightbox .lightbox-close{position:fixed;right:22px;top:14px;z-index:2;width:48px;height:48px;border:1px solid #c99a4d;background:#080909;color:#e1bb70;font-size:36px;line-height:42px;cursor:pointer;border-radius:50%}
@media(max-width:700px){dialog.image-lightbox{padding:12px}.image-lightbox .lightbox-close{right:12px;top:10px}}


/* Text presentation for the “Услуги” modal */
.services-text {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 8px 4px 18px;
  color: #eee8dc;
  text-align: left;
}
.services-text > p {
  margin: 0 0 18px;
  color: #d5b06a;
  font-family: Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}
.services-text ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.services-text li {
  position: relative;
  padding: 10px 10px 10px 26px;
  border-bottom: 1px solid rgba(213,176,106,.22);
  line-height: 1.45;
}
.services-text li::before {
  content: '◆';
  position: absolute;
  left: 2px;
  top: 11px;
  color: #c99b4b;
  font-size: .65rem;
}
@media (max-width: 700px) {
  .services-text ul { grid-template-columns: 1fr; gap: 4px; }
}

/* Balanced services modal: use the full available width without an empty side */
#serviceModal:has(.services-text){width:min(1180px,96%);padding:28px 34px}
#serviceModal:has(.services-text) .services-text{width:100%;max-width:none;margin:0;padding:8px 0 18px}
#serviceModal:has(.services-text) .services-text ul{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 22px;align-items:start}
#serviceModal:has(.services-text) .services-text li{min-height:64px;padding:10px 8px 10px 24px}
@media(max-width:900px){#serviceModal:has(.services-text) .services-text ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#serviceModal:has(.services-text){width:94%;padding:24px 18px}#serviceModal:has(.services-text) .services-text ul{grid-template-columns:1fr}#serviceModal:has(.services-text) .services-text li{min-height:0}}

.brand-logo{display:block;width:150px;height:68px;object-fit:contain;object-position:left center}.brand:has(.brand-logo) span:not(.brand-mark){display:none}@media(max-width:430px){.brand-logo{width:120px;height:58px}}

/* Larger text inside Services */
.services-list li, #servicesModal li, .services-modal li { font-size: 22px !important; line-height: 1.55 !important; }
#servicesModal p, .services-modal p { font-size: 23px !important; line-height: 1.5 !important; }
@media (max-width: 700px) { .services-list li, #servicesModal li, .services-modal li { font-size: 19px !important; } #servicesModal p, .services-modal p { font-size: 20px !important; } }


/* ANUBIS: stronger readability for "Защо да изберете Анубис" */
#why,
.why,
.why-us,
.why-section,
.why-anubis {
    color: #ffffff !important;
}

#why h1, #why h2, #why h3, #why p, #why li, #why span,
.why h1, .why h2, .why h3, .why p, .why li, .why span,
.why-us h1, .why-us h2, .why-us h3, .why-us p, .why-us li, .why-us span,
.why-section h1, .why-section h2, .why-section h3, .why-section p, .why-section li, .why-section span,
.why-anubis h1, .why-anubis h2, .why-anubis h3, .why-anubis p, .why-anubis li, .why-anubis span {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.95), 0 0 8px rgba(255,255,255,.12) !important;
}

#why p, #why li,
.why p, .why li,
.why-us p, .why-us li,
.why-section p, .why-section li,
.why-anubis p, .why-anubis li {
    font-weight: 600 !important;
    line-height: 1.7 !important;
}

#why .ornament, #why .decor, #why .divider,
.why .ornament, .why .decor, .why .divider,
.why-us .ornament, .why-us .decor, .why-us .divider,
.why-section .ornament, .why-section .decor, .why-section .divider,
.why-anubis .ornament, .why-anubis .decor, .why-anubis .divider {
    opacity: 1 !important;
    filter: brightness(1.35) contrast(1.25) drop-shadow(0 0 7px rgba(212,175,55,.55)) !important;
}

/* Also strengthen common gold pseudo-element ornaments inside the section */
#why *::before, #why *::after,
.why *::before, .why *::after,
.why-us *::before, .why-us *::after,
.why-section *::before, .why-section *::after,
.why-anubis *::before, .why-anubis *::after {
    opacity: 1 !important;
}


/* ANUBIS: improved hero title and tagline colors/readability */
.anubis-hero-readable h1,
.anubis-hero-readable h2,
.anubis-hero-readable .hero-title,
.anubis-hero-readable .title {
    color: #ffffff !important;
    opacity: 1 !important;
    font-weight: 700 !important;
    text-shadow:
        0 2px 3px rgba(0,0,0,.95),
        0 0 10px rgba(255,255,255,.18) !important;
}

.anubis-hero-readable p,
.anubis-hero-readable .subtitle,
.anubis-hero-readable .tagline {
    color: #f4d27a !important;
    opacity: 1 !important;
    font-weight: 600 !important;
    text-shadow:
        0 2px 3px rgba(0,0,0,.95),
        0 0 8px rgba(212,175,55,.30) !important;
}

.anubis-hero-readable strong,
.anubis-hero-readable em,
.anubis-hero-readable span {
    opacity: 1 !important;
}

@media(min-width:1001px){.service-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.modal-gallery:has(.services-text){display:block}.services-text{max-width:750px;margin:auto;color:#ddd1c1;font-size:16px;line-height:1.85}.services-text li{margin-bottom:7px}.services-text a{color:var(--gold2)}

/* Responsive, accessible hero: all copy is real HTML text, never baked into an image. */
.hero.anubis-new-hero{min-height:0;display:block;background:radial-gradient(ellipse at 50% 40%,#33200e 0%,#100e0c 47%,#050505 90%);border-bottom:2px solid #aa7c32;overflow:hidden}
.anubis-hero-layout{max-width:1600px;margin:auto;padding:55px 32px 38px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:20px}
.anubis-hero-intro,.anubis-hero-details{min-width:0;text-align:center;position:relative;z-index:1}
.anubis-hero-kicker{display:block;font-size:clamp(15px,1.35vw,20px);font-weight:700;letter-spacing:.09em;color:#e6bf76;margin-bottom:20px}
.anubis-new-hero h1{font-family:Georgia,serif;font-size:clamp(30px,2.6vw,47px);line-height:1.2;color:#ffe0a1;font-weight:700;text-transform:none;text-shadow:0 2px 10px #000;margin:0 0 20px}
.anubis-hero-intro p,.anubis-hero-details p{font-size:clamp(19px,1.6vw,25px);line-height:1.45;color:#fff7e8;margin:10px 0 23px}
.anubis-hero-details h2{font-family:Georgia,serif;color:#ffe0a1;font-size:clamp(24px,2.1vw,34px);line-height:1.25;margin:15px 0 8px;text-transform:none}
.anubis-hero-rule{width:70%;height:2px;background:linear-gradient(90deg,transparent,#e1bb70,transparent);margin:22px auto}
.anubis-hero-statue{display:block;width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 7px 24px #000)}
.anubis-hero-call{display:inline-block;margin-top:16px;padding:14px 18px;border:2px solid #dfb668;border-radius:6px;background:#2c1b0d;color:#fff4d9;text-decoration:none;font-size:clamp(18px,1.45vw,23px);font-weight:700;line-height:1.35}
.anubis-hero-call:hover,.anubis-hero-call:focus-visible{background:#513112;outline:2px solid #fff1d4;outline-offset:3px}
@media(max-width:1050px){.anubis-hero-layout{grid-template-columns:1fr 1fr;gap:14px}.anubis-hero-intro{grid-column:1/-1}.anubis-hero-statue{grid-column:1;grid-row:2}.anubis-hero-details{grid-column:2;grid-row:2}}
@media(max-width:700px){.anubis-hero-layout{display:flex;flex-direction:column;padding:32px 18px 40px;gap:14px}.anubis-hero-intro{order:1}.anubis-hero-statue{order:2;max-width:440px}.anubis-hero-details{order:3;width:100%}.anubis-new-hero h1{font-size:clamp(30px,8vw,42px)}.anubis-hero-details h2{font-size:clamp(25px,6.5vw,32px)}.anubis-hero-intro p,.anubis-hero-details p{font-size:21px}.anubis-hero-call{display:block;max-width:420px;margin:24px auto 0;font-size:21px}}

/* Original-site positioning: a single full-width horizontal hero directly under navigation. */
@media(min-width:1051px){
 .hero.anubis-new-hero{width:100%;margin:0;padding:0}
 .anubis-hero-layout{max-width:1920px;min-height:clamp(390px,34vw,610px);padding:16px clamp(18px,3vw,64px);grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) minmax(0,1fr);gap:clamp(10px,1.4vw,26px)}
 .anubis-hero-statue{max-height:clamp(350px,32vw,575px);width:100%;object-fit:contain}
 .anubis-hero-intro p{margin-bottom:0}
 .anubis-hero-details h2{font-size:clamp(24px,1.85vw,35px)}
 .anubis-hero-details p{font-size:clamp(19px,1.4vw,26px)}
}
@media(min-width:701px) and (max-width:1050px){
 .anubis-hero-layout{padding:25px 24px}
 .anubis-hero-statue{max-height:470px}
}
@media(max-width:700px){
 .hero.anubis-new-hero{margin:0;width:100%}
 .anubis-hero-layout{padding-top:24px}
}

/* Final hero: readable copy on the left, Anubis on the right, no phone number. */
.anubis-hero-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)!important;gap:clamp(12px,3vw,56px)!important}
.anubis-hero-intro{text-align:left;max-width:720px;justify-self:center}
.anubis-hero-intro h2{font-family:Georgia,serif;color:#ffe0a1;font-size:clamp(23px,2.05vw,35px);line-height:1.22;margin:12px 0 7px}
.anubis-hero-intro p{font-size:clamp(20px,1.65vw,27px);margin:4px 0 15px;color:#fff7e8}
.anubis-hero-intro .anubis-hero-rule{margin:17px 0;width:78%}
.anubis-hero-statue{grid-column:2;justify-self:center;max-width:100%}
@media(max-width:700px){
 .anubis-hero-layout{display:flex!important;flex-direction:column!important;gap:8px!important;padding:28px 22px!important}
 .anubis-hero-intro{order:1;width:100%;text-align:center}
 .anubis-hero-intro .anubis-hero-rule{margin:18px auto}
 .anubis-hero-intro h2{font-size:clamp(24px,6vw,30px)}
 .anubis-hero-intro p{font-size:21px}
 .anubis-hero-statue{order:2;width:100%;max-width:420px;max-height:none}
}
/* Premium readable Cyrillic headings, with responsive left/right layout */
.anubis-hero-kicker{font-family:Georgia,'Times New Roman',serif;letter-spacing:.16em;color:#f1d49c;font-weight:600;text-shadow:0 2px 5px #000}
.anubis-hero-intro h1{font-family:Georgia,'Times New Roman',serif;font-weight:700;letter-spacing:.015em;color:#f9e5b7;text-shadow:0 2px 1px #5e3511,0 5px 14px #000;line-height:1.19}
.anubis-hero-intro h2{font-family:Georgia,'Times New Roman',serif;font-weight:700;letter-spacing:.025em;color:#e9bd6b;text-shadow:0 3px 10px #000}
.anubis-hero-intro p{font-family:Georgia,'Times New Roman',serif;color:#fff5e4;line-height:1.42}
.anubis-hero-statue{filter:drop-shadow(0 12px 18px rgba(0,0,0,.75));height:auto}
@media(min-width:701px){.anubis-hero-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)!important}.anubis-hero-intro{grid-column:1}.anubis-hero-statue{grid-column:2}}
@media(max-width:700px){.anubis-hero-intro h1{font-size:clamp(29px,7vw,42px)}.anubis-hero-intro h2{font-size:clamp(23px,5.8vw,30px)}}
/* Larger Anubis, pedestal aligned flush to the lower gold divider. */
@media(min-width:701px){
 .anubis-hero-layout{align-items:end!important;padding-bottom:0!important;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr)!important;gap:8px!important}
 .anubis-hero-intro{align-self:center;padding:28px 0}
 .anubis-hero-statue{align-self:end;justify-self:end;width:112%;max-width:none;max-height:none!important;height:auto;display:block;margin:0 -2% -2px 0;object-fit:contain;object-position:bottom right}
}
@media(max-width:700px){
 .anubis-hero-layout{padding-bottom:0!important}
 .anubis-hero-statue{max-width:none!important;width:110%!important;margin:8px -5% -2px!important;align-self:center;max-height:none!important}
}
/* Match the hero typography to the existing section headings below. */
.anubis-new-hero .anubis-hero-kicker{font-family:Arial,Helvetica,sans-serif;font-weight:400;letter-spacing:2px;color:#c8b79d}
.anubis-new-hero .anubis-hero-intro h1,.anubis-new-hero .anubis-hero-intro h2{font-family:Georgia,serif;font-weight:400;text-transform:uppercase;letter-spacing:normal;text-shadow:0 3px 12px #000;color:#e1bb70}
.anubis-new-hero .anubis-hero-intro p{font-family:Arial,Helvetica,sans-serif;font-weight:400;letter-spacing:normal;color:#eee7dc;line-height:1.6}

/* Two contact numbers in the header */
.phone-group{display:flex;align-items:center;gap:12px}.phone-group .phone{padding-left:12px}.phone-group .phone strong{font-size:17px;white-space:nowrap}@media(max-width:1180px){.phone-group{display:none}}

/* Паметници: подредени снимки една до друга, адаптивна галерия */
#serviceModal .modal-gallery.headstones-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px;align-items:start}
#serviceModal .headstones-gallery .services-text{grid-column:1/-1;width:100%}
#serviceModal .headstones-gallery img{width:100%;height:210px;object-fit:cover;display:block;border-radius:5px}
@media(max-width:700px){#serviceModal .modal-gallery.headstones-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}#serviceModal .headstones-gallery img{height:170px}}
@media(max-width:360px){#serviceModal .headstones-gallery img{height:135px}}

/* Информационен надпис над каталожните снимки */
#serviceModal .catalog-notice{grid-column:1/-1;width:100%;padding:20px 24px;margin:0 0 12px;border:1px solid #8d6a37;background:linear-gradient(130deg,#21190f,#11100e);text-align:center;border-radius:5px;color:#eee4d5;box-shadow:inset 0 0 0 1px #44321b}
#serviceModal .catalog-notice strong{display:block;font-family:Georgia,serif;font-size:clamp(22px,3vw,29px);font-weight:400;color:#e1bb70;letter-spacing:.5px}
#serviceModal .catalog-notice p{font-size:clamp(16px,1.7vw,18px);line-height:1.65;max-width:740px;margin:10px auto 0}
#serviceModal .modal-gallery:has(.catalog-notice){display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
#serviceModal .modal-gallery:has(.catalog-notice)>.services-text{grid-column:1/-1}
@media(max-width:700px){#serviceModal .modal-gallery:has(.catalog-notice){grid-template-columns:repeat(2,minmax(0,1fr))}#serviceModal .catalog-notice{padding:17px 13px}}

/* Mobile compatibility: iOS Safari and Android Chrome */
html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body{overflow-x:hidden}
img,video,iframe{max-width:100%}
button,a{-webkit-tap-highlight-color:rgba(225,187,112,.2);touch-action:manipulation}
button{font:inherit}
@media(max-width:1000px){
 .nav-wrap{min-height:72px;gap:12px}
 .main-nav{top:100%;max-height:calc(100dvh - 72px);overflow-y:auto;overscroll-behavior:contain;z-index:50;gap:0}
 .main-nav a{display:block;padding:13px 8px;font-size:16px;border-bottom:1px solid #30281e}
 .menu-btn{min-width:48px;min-height:48px;display:flex;align-items:center;justify-content:center;cursor:pointer}
 .brand-logo{max-width:140px;height:auto;max-height:64px}
}
@media(max-width:700px){
 .container{width:min(100% - 32px,1160px)}
 .anubis-hero-layout{padding:24px 16px 0!important}
 .anubis-hero-intro h1{font-size:clamp(27px,7vw,40px);overflow-wrap:break-word}
 .anubis-hero-intro h2{font-size:clamp(22px,5.8vw,30px)}
 .anubis-hero-intro p{font-size:clamp(18px,4.7vw,21px)}
 .anubis-hero-statue{width:100%!important;margin:8px 0 -2px!important;max-width:480px!important}
 .service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .service-card{min-width:0;min-height:210px;padding:18px 10px}
 .service-card h3{overflow-wrap:anywhere;font-size:14px}
 .section-title h2,.contact-heading h2{font-size:clamp(26px,7vw,34px)}
 .gallery,.modal-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
 .gallery img,.modal-gallery img{height:clamp(140px,42vw,220px)}
 .contact-action .btn{min-height:48px;max-width:100%;white-space:normal}
 dialog#serviceModal{width:calc(100% - 20px);max-width:none;max-height:calc(100dvh - 24px);padding:28px 14px 20px;overflow-y:auto}
 .modal-head h2{font-size:clamp(23px,6vw,32px);padding:0 18px}
 #serviceModal .modal-gallery.headstones-gallery img{height:clamp(130px,38vw,190px)}
 .office-card{min-width:0}
}
@media(max-width:380px){.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-card{padding:14px 7px}.gallery,.modal-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@supports(padding:env(safe-area-inset-bottom)){dialog.image-lightbox{padding-bottom:max(12px,env(safe-area-inset-bottom))}}
