.beb-page { background:#faf5ed; }
.beb-page main :is(.beb-section) h2 { letter-spacing:-.045em; line-height:1.05; }
.beb-page h2 { font-size:clamp(1.7rem,3.6vw,3rem); margin-bottom:.55em; }
.beb-page p { line-height:1.7; }
.beb-section { width:min(1180px,90%); margin-inline:auto; }
.beb-logo { width:135px; height:135px; margin-bottom:18px; }
.beb-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; margin-top:24px; }
.beb-section { padding:clamp(32px,6vw,72px) 0; border-top:1px solid #dacbc5; }
.beb-cards,.beb-info { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.beb-card { padding:clamp(20px,4vw,42px); border:1px solid #dacbc5; border-radius:18px; background:#fffaf4; }
.beb-card h3 { font-size:1.35rem; margin-bottom:12px; }
.beb-services { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding:0; list-style:none; }
.beb-services li { border-bottom:1px solid #dacbc5; padding:14px 0; }
.beb-gallery { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:24px; }
.beb-gallery a { display:block; overflow:hidden; border-radius:12px; }
.beb-gallery img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; }
.beb-gallery a:focus-visible { outline:3px solid #782337; outline-offset:3px; }
.beb-contact { background:#702235; color:#fffaf4; border:0; }
.beb-contact a:not(.button) { color:inherit; text-decoration:underline; }
.beb-contact .button { background:#fffaf4; color:#702235; }
.beb-policy { margin-top:24px; }
.beb-policy summary { cursor:pointer; }
.beb-policy details p { padding:8px 0 16px; }
.beb-credits { margin-top:20px; font-size:.85rem; }
@media(max-width:720px) {
 .beb-cards,.beb-info { grid-template-columns:1fr; }
 .beb-logo { width:108px; height:108px; }
 .beb-gallery,.beb-services { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.beb-page main { font-size:clamp(1.125rem,1.5vw,1.4rem); }
.beb-page h2 { font-size:clamp(2.1rem,4vw,3.5rem); }
.beb-logo { display:block; width:clamp(210px,26vw,310px); max-width:100%; height:auto; }
.beb-card h3 { font-size:clamp(1.5rem,2.4vw,1.9rem); }
.beb-page main .button,.beb-policy summary { font-size:1.0625rem; }
.beb-page main .button { white-space:normal; text-align:center; }
.beb-credits { font-size:1rem; }


.beb-welcome { display:flex; align-items:center; gap:clamp(18px,5vw,60px); flex-wrap:wrap; }
.beb-welcome .beb-logo { margin:0; }
.beb-welcome .beb-actions { margin:0; }
.beb-page .page-hero-content h1 { overflow-wrap:anywhere; }

.beb-page .header .brand img {
 width:70px;
 height:70px;
 object-fit:contain;
 mix-blend-mode:multiply;
}
@media(max-width:800px) {
 .beb-page .header .brand img { width:58px; height:58px; }
}

.beb-page .header .brand img,
.beb-page .page-transition img[src$="beb/logo-nitido.webp"] {
 mix-blend-mode:normal;
}

@media (max-width:800px) {
 .beb-page { --beb-header-height:85px; }
 .beb-page .header {
  height:calc(var(--beb-header-height) + env(safe-area-inset-top));
  padding-top:env(safe-area-inset-top);
 }
 .beb-page .header nav {
  top:calc(var(--beb-header-height) + env(safe-area-inset-top));
 }
 .beb-page .page-hero {
  min-height:calc(100vh - var(--beb-header-height) - env(safe-area-inset-top));
  min-height:calc(100dvh - var(--beb-header-height) - env(safe-area-inset-top));
  padding-left:max(6%,env(safe-area-inset-left));
  padding-right:max(6%,env(safe-area-inset-right));
  padding-bottom:max(48px,env(safe-area-inset-bottom));
  border:0;
  border-radius:0;
 }
 .beb-page .page-hero-image { width:100%; height:100%; object-fit:cover; }
}
