/* Targeted refinements only: retain the established cream, green and terracotta. */
.header-actions > .icon-link{
  color:var(--accent);
  background:#f0e2d7;
  border:1px solid #d4b29d;
}
.header-actions > .icon-link .icon{width:21px;height:21px;stroke-width:1.8}
.header-actions > .icon-link:hover{background:var(--accent);border-color:var(--accent);color:var(--white)}

.service-card{background:#fbf7f1;box-shadow:inset 0 3px 0 #b76c50}
.service-card:hover{background:#f3eadf}
.card-top > .service-icon{width:56px;height:56px;color:var(--accent)}
.faq-list{border-top:0}
.faq-item{margin-bottom:14px;padding-inline:20px;background:#f2f1e9;border:1px solid #d8d7c9;border-radius:8px}
.faq-item[open]{background:#f8f4ec;border-color:#bd9e88}
.faq-item:last-child{margin-bottom:0}

.price-table thead{background:var(--accent);color:var(--white)}
.price-table thead th{border-color:#b76c50}
.table-scroll.price-table table tbody tr > td{color:#893c29;font-weight:650}

.menu-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}
.menu-top .menu-heading{padding-bottom:0}
.menu-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-height:44px;padding:9px;border:1px solid #d4b29d;border-radius:50%;background:#f0e2d7;color:var(--accent)}
.menu-close .icon{width:23px;height:23px}
.menu-close:hover{background:var(--accent);border-color:var(--accent);color:var(--white)}

/* The approved introduction sits between the unchanged hero and services. */
.home-introduction{background:#efefe8;border-bottom:1px solid var(--line)}
.home-introduction-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:start}
.home-introduction h2{font-size:clamp(38.72px,3.8vw,54px);line-height:1.18;max-width:480px}
.home-introduction-copy{border-left:2px solid #b76c50;padding-left:34px;min-width:0}
.home-introduction-copy p{font-size:20.02px;line-height:1.85;color:var(--muted)}
.home-introduction-copy p:last-child{color:var(--ink)}
/* Each contact method is one full-card anchor; the visual button is a span. */
.contact-panel-heading{max-width:920px;margin-bottom:38px}
.contact-panel-heading h2{max-width:900px;margin-bottom:0;font-size:clamp(42px,4.4vw,60px);line-height:1.16}
.contact-options-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.contact-method-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:34px 36px;border:1px solid #cbb8a7;border-radius:20px;background:var(--paper);color:var(--ink);text-decoration:none;transition:background .2s,border-color .2s}
.contact-method-card:hover{background:#fbf7f1;border-color:#b76c50}
.contact-method-icon{display:flex;align-items:center;justify-content:center;width:50px;height:50px;margin-bottom:20px;border:1px solid #d4b29d;border-radius:50%;background:#f0e2d7;color:var(--accent)}
.contact-method-icon .icon{width:25px;height:25px;stroke-width:1.8}
.contact-method-title{font-family:var(--serif);font-size:27.83px;line-height:1.3;margin-bottom:12px}
.contact-method-value{font-size:clamp(28px,2.6vw,38.61px);font-weight:400;letter-spacing:-.025em;line-height:1.4;max-width:100%}
.contact-method-email .contact-method-value{font-size:clamp(24px,2.25vw,32px);white-space:nowrap;letter-spacing:-.035em}
.contact-method-hint{display:block;margin-top:9px;margin-bottom:28px;color:var(--accent);font-size:15.73px;line-height:1.5}
.contact-method-button{display:flex;align-items:center;justify-content:space-between;gap:22px;width:100%;min-height:52px;margin-top:auto;padding:12px 22px;border:1px solid var(--ink);border-radius:6px;background:var(--ink);color:var(--white);font-size:18.59px;line-height:1.5;font-weight:600;transition:background .2s,border-color .2s}
.contact-method-button .icon{width:20px;height:20px}
.contact-method-card:hover .contact-method-button{text-decoration:underline;text-underline-offset:4px}
.contact-method-card:active .contact-method-button{background:#29474a;border-color:#29474a}
.contact-section .contact-panel-copy{max-width:900px;margin-top:32px;font-size:20.02px;line-height:1.8}
.contact-section .contact-panel-area{max-width:none;font-size:17.16px;line-height:1.7}
@media(max-width:1000px){.contact-method-card{padding:30px 26px}.contact-method-email .contact-method-value{font-size:clamp(20px,2.6vw,26px)}}
@media(max-width:768px){
  .home-introduction-grid{grid-template-columns:1fr;gap:28px}
  .home-introduction h2{max-width:650px}
  .home-introduction-copy{padding-left:25px}
  .contact-options-grid{grid-template-columns:1fr;gap:20px}
  .contact-method-card{padding:30px}
  .contact-method-value{font-size:32.175px}
  .contact-method-email .contact-method-value{font-size:29.601px}
  /* Preserve the previous approved H1 size and every photo-layout rule. */
  .hero h1{font-size:clamp(45.0846px,5.09652vw,74.4876px)}
  .table-scroll.price-table table tbody tr > th{background:#eee5d8;border-top:3px solid #b76c50}
}
@media(max-width:760px){.hero h1{font-size:60.7662px}}
@media(max-width:540px){
  .home-introduction h2{font-size:38.72px}
  .home-introduction-copy{padding-left:20px}
  .home-introduction-copy p{font-size:20.02px;line-height:1.8}
  .contact-panel-heading{margin-bottom:28px}
  .contact-panel-heading h2{font-size:39.6px}
  .contact-method-card{padding:27px 22px;border-radius:18px}
  .contact-method-icon{width:46px;height:46px;margin-bottom:18px}
  .contact-method-title{font-size:27.83px}
  .contact-method-value{font-size:29.601px}
  .contact-method-email .contact-method-value{font-size:clamp(23px,6.9vw,29.601px)}
  .contact-method-hint{font-size:14.3px}
  .contact-method-button{width:100%;min-height:52px;font-size:17.16px;padding-inline:18px}
  .contact-section .contact-panel-copy{font-size:18.59px;line-height:1.75}
  .faq-item{padding-inline:16px}
  .menu-top{gap:12px}
  .hero h1{font-size:clamp(43.1244px,10.29105vw,56.8458px)}
}
/* The previously approved related-service emphasis stays unchanged. */
.related-links{border-top:0;gap:16px 22px}
.related-links a{padding:20px 22px;border:1px solid #d4b29d;border-left:3px solid #b76c50;border-radius:8px;background:#fbf7f1;min-height:80px;line-height:1.6;transition:background .2s,border-color .2s}
.related-links a:hover{background:#f3eadf;border-color:var(--accent)}
@media(max-width:540px){.related-links{gap:14px}.related-links a{padding:18px;gap:16px}}

/* Enlarge only the two technical diagrams; preserve their complete image ratio. */
.technical-layers{width:min(100%,683.65px);max-width:683.65px}
.technical-ug{width:min(100%,692.12px);max-width:692.12px}
@media(max-width:768px){.technical-stack.container{width:calc(100% - 20px)}}

/* Final approved accents: only the three card types and the area pin. */
.area-section .section-heading > .icon{color:var(--accent)}
.service-card,.service-card:hover,.faq-item,.faq-item[open],.related-links a,.related-links a:hover{background-color:#E2DED3;border-color:#b5ad9c}
.service-grid,.service-card .card-link{border-color:#b5ad9c}
.service-card:hover,.faq-item[open],.related-links a:hover{border-color:#9b8e78}

/* Desktop only. Phone/tablet layout through 1023px remains untouched. */
@media(min-width:1024px){
  .site-header:has(+ main > .hero) .wordmark > .icon{display:none}
  /* Text transforms retain every original photo/hero flow dimension. */
  .hero-content{transform:translateY(-44px)}
  .hero h1{transform:translateY(-16px)}
  .hero-subtitle{transform:translateY(-32px)}
  .home-introduction{padding-bottom:40px}
  #gyik{padding-block:64px}
  #gyik .faq-grid{grid-template-columns:minmax(280px,.6fr) minmax(0,1.4fr);column-gap:48px}
  .contact-panel-heading{max-width:none}
  .contact-panel-heading h2{max-width:none}
}
@media(min-width:1024px){
  #muszaki-abrak .technical-stack.container{width:min(1720px,calc(100% - 48px));max-width:1720px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:28px}
  #muszaki-abrak .technical-layers,#muszaki-abrak .technical-ug{width:100%;max-width:none}
}
/* Wide, short laptop windows: shrink the title visually, retaining its flow box. */
@media(min-width:1440px) and (max-height:640px){
  .hero-content{transform:translateY(-54px)}
  .hero h1{transform:translateY(-16px) scale(.92);transform-origin:left top}
  .hero-subtitle{transform:translateY(-60px)}
}

/* Only the six replaced service-page main images: preserve the full originals. */
.service-photo .service-replacement-image{height:auto;aspect-ratio:4 / 3;object-fit:cover;object-position:50% 40%;max-height:none}
.service-intro > .service-photo{align-self:start}

/* Equal visible canvases: retain both full originals without distortion or cropping. */
.technical-pair.service-diagrams{grid-template-columns:minmax(0,1fr);max-width:720px;row-gap:20px}
.technical-pair.service-diagrams > .diagram-link{width:100%;aspect-ratio:5 / 4;justify-self:center;margin:0;overflow:hidden;border:1px solid var(--line);background:var(--white)}
.technical-pair.service-diagrams > .diagram-link > img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain}

/* Keep the existing sticky navigation completely opaque on every page. */
.site-header{background:var(--paper);opacity:1;backdrop-filter:none;-webkit-backdrop-filter:none}

/* Four opening-specific services; existing cards and service images stay unchanged. */
.menu-opening-group{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}
.menu-opening-group .menu-heading{padding-bottom:14px}
.menu-opening-group li:first-child a{border-top:0}
.opening-section-heading{max-width:1060px;margin-bottom:40px}
.opening-section-heading h2{margin-bottom:24px}
.opening-intro{font-size:20.02px;line-height:1.85;color:var(--muted)}
.opening-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
.opening-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#E2DED3;border:1px solid #b5ad9c;border-radius:8px;text-decoration:none;transition:border-color .2s}
.opening-card:hover{border-color:#9b8e78}
.opening-card-media{position:relative;width:100%;aspect-ratio:4 / 3;overflow:hidden;background:var(--white)}
.opening-card-media > .opening-card-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center}
.opening-card-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;min-width:0;padding:30px}
.opening-card h3{font-family:var(--serif);font-size:30.25px;line-height:1.25;margin-bottom:16px}
.opening-card p{font-size:20.02px;line-height:1.8;color:var(--muted);margin-bottom:24px}
.opening-card .card-link{width:100%;margin-top:auto;border-top:1px solid #b5ad9c}
.opening-service-page .service-photo .diagram-link{display:block;width:100%;margin:0;background:var(--white)}
.opening-service-page .service-photo .service-replacement-image{object-fit:contain;object-position:center;background:var(--white)}
@media(min-width:1024px){
  .opening-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .technical-pair.service-diagrams.container{width:min(1720px,calc(100% - 48px));max-width:1720px;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:28px}
}
@media(max-width:540px){
  .opening-grid{gap:24px}
  .opening-section-heading{margin-bottom:30px}
  .opening-card-copy{padding:26px}
}
