@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-arabic-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-arabic-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-arabic-600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-arabic-700.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --charcoal: #121922;
  --charcoal-soft: #1b2632;
  --gold: #b99a63;
  --gold-light: #dec58f;
  --paper: #f5f3ee;
  --white: #fff;
  --ink-muted: #666b70;
  --line-light: rgba(255,255,255,.16);
  --line-dark: rgba(18,25,34,.16);
  --font-ar: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-en: Arial, Helvetica, sans-serif;
  --page-font: var(--font-ar);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--charcoal); background: var(--paper); font: 16px/1.8 var(--page-font); -webkit-font-smoothing: antialiased; }
html[lang="en"] { --page-font: var(--font-en); }
body, button, input, select, textarea { font-family: var(--page-font); }
button, input, select, textarea { font-size: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
img { max-width: 100%; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
::selection { color: var(--charcoal); background: var(--gold-light); }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; inset-block-start: 10px; inset-inline-start: 10px; padding: 10px 16px; color: var(--charcoal); background: var(--gold-light); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Header and geometric tower mark */
.site-header { position: absolute; z-index: 20; inset: 0 0 auto; padding-block-start: env(safe-area-inset-top,0px); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.18); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 42px; color: var(--gold-light); }
.brand-name { display: grid; gap: 2px; max-width: 250px; line-height: 1.3; white-space: normal; }
.brand-name strong { color: var(--white); font-size: 19px; font-weight: 700; }
.brand-name small { color: var(--gold-light); font-size: 10px; font-weight: 500; }
.main-nav { display: flex; align-items: center; gap: clamp(14px,2vw,30px); }
@media (min-width: 1025px) {
  .main-nav { flex: 1; min-width: 0; flex-wrap: wrap; gap: 8px 14px; }
  .header-actions { flex-shrink: 0; }
}
.main-nav a { color: #e8e5dd; font-size: 13px; transition: color .2s ease; }
.main-nav a:hover { color: var(--gold-light); }
.main-nav .guest-nav-link { color: var(--gold-light); font-weight: 600; }
.main-nav .account-gate { border: 0; padding: 0; color: #e8e5dd; background: transparent; font: inherit; font-size: 13px; cursor: pointer; transition: color .2s ease; }
.main-nav .account-gate:hover { color: var(--gold-light); }
.nav-dropdown { position: relative; color: #e8e5dd; font-size: 13px; }
.nav-dropdown > summary { display: flex; align-items: center; gap: 7px; cursor: pointer; list-style: none; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after { width: 6px; height: 6px; border-inline-end: 1px solid var(--gold-light); border-bottom: 1px solid var(--gold-light); content: ""; transform: rotate(45deg) translateY(-2px); }
.nav-dropdown[open] > summary, .nav-dropdown > summary:hover { color: var(--gold-light); }
.nav-submenu { position: absolute; z-index: 25; inset-block-start: calc(100% + 16px); inset-inline-start: 0; width: max-content; min-width: 230px; display: grid; gap: 0; border: 1px solid rgba(221,193,138,.38); padding: 7px 13px; background: var(--charcoal-soft); box-shadow: 0 14px 32px rgba(0,0,0,.26); }
.nav-submenu a { min-height: 41px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); padding: 6px 2px; color: #e8e5dd; font-size: 12px; }
.nav-submenu a:last-child { border-bottom: 0; }
.nav-submenu a:hover { color: var(--gold-light); }
@media (min-width: 1025px) { .nav-submenu { max-height: min(70vh, 560px); max-width: min(340px, 90vw); overflow-y: auto; } }
.main-nav a[aria-current="page"], .main-nav .contains-current-page > summary { color: var(--gold-light); text-decoration: underline; text-underline-offset: 6px; }
.account-notice { width: min(440px, calc(100% - 32px)); border: 1px solid var(--gold); padding: 26px; color: var(--charcoal); background: var(--paper); box-shadow: 0 20px 70px rgba(0,0,0,.35); }
.account-notice::backdrop { background: rgba(9,9,8,.72); }
.account-notice h2 { margin: 0 0 12px; font-size: 21px; }
.account-notice p { margin: 0 0 22px; color: var(--ink-muted); font-size: 14px; line-height: 1.9; }
.header-actions { display: flex; align-items: center; gap: 11px; }
.lang-toggle { min-height: 42px; border: 1px solid rgba(255,255,255,.3); padding: 7px 12px; color: var(--white); background: transparent; font: 12px var(--font-en); cursor: pointer; }
.header-cta { min-height: 42px; display: inline-flex; align-items: center; gap: 15px; padding: 8px 15px; border: 1px solid rgba(255,255,255,.45); font-size: 12px; }
.header-cta span:last-child { color: var(--gold-light); font-size: 16px; }
.menu-toggle { display: none; }

/* Hero */
.hero { min-height: min(800px, 100svh); min-height: max(680px, min(800px, 100svh)); position: relative; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--charcoal); }
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image { background: url("assets/hero-towers.webp") center 48% / cover no-repeat; transform: scale(1.01); }
.hero-overlay { background: linear-gradient(270deg, rgba(10,10,9,.91) 0%, rgba(10,10,9,.79) 34%, rgba(10,10,9,.35) 73%, rgba(10,10,9,.18) 100%), linear-gradient(0deg,rgba(10,10,9,.38),transparent 52%); }
html[dir="ltr"] .hero-overlay { background: linear-gradient(90deg, rgba(10,10,9,.91) 0%, rgba(10,10,9,.79) 34%, rgba(10,10,9,.35) 73%, rgba(10,10,9,.18) 100%), linear-gradient(0deg,rgba(10,10,9,.38),transparent 52%); }
.hero-content { position: relative; z-index: 1; padding-block: 128px 110px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 19px; color: #d9d4ca; font-size: 12px; letter-spacing: .04em; }
.eyebrow > span:first-child { width: 27px; height: 1px; flex: 0 0 27px; background: var(--gold); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(48px,7vw,82px); font-weight: 500; letter-spacing: -.045em; line-height: 1.35; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero h1.hero-brand-title { display: grid; gap: 4px; max-width: 900px; font-size: inherit; font-weight: 600; letter-spacing: 0; line-height: 1.25; }
.hero-brand-primary { color: var(--white); font-size: clamp(54px,7vw,82px); font-weight: 700; line-height: 1.25; }
.hero-brand-sub { color: var(--gold-light); font-size: clamp(25px,3.4vw,38px); font-weight: 500; line-height: 1.55; }
.hero h1.hero-brand-title + .hero-copy { max-width: 610px; margin-top: 17px; font-size: 17px; }
.hero-copy { max-width: 510px; margin: 20px 0 0; color: #ddd9d0; font-size: 16px; line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 31px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; border: 0; padding: 12px 17px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--charcoal); background: var(--gold-light); }
.button-gold:hover { background: #ead5a7; }
.button-outline { border: 1px solid #9b804e; color: #443822; background: transparent; }
.button-outline:hover { color: var(--white); background: var(--charcoal); }
.button-gold span:last-child { font-size: 17px; }
.text-link { min-height: 48px; display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-size: 13px; }
.guest-entry-link { min-height: 48px; display: inline-flex; align-items: center; border-bottom: 1px solid rgba(213,184,128,.65); color: var(--gold-light); font-size: 12px; }
.text-link span:last-child { color: var(--gold-light); font-size: 17px; }
.hero-foot { position: absolute; inset: auto 0 34px; display: flex; align-items: center; gap: 12px; color: #dedbd3; font-size: 11px; }
.gold-rule { width: 34px; height: 1px; background: var(--gold); }
.hero-foot-spacer { flex: 1; }
.scroll-cue { color: #c7c2b7; }

/* Shared section styles */
.section { padding-block: 104px; }
.services-section, .process-section { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 43px; }
.eyebrow-dark { color: #726e65; }
.section-heading h2, .about-lead h2, .faq-grid h2, .contact-intro h2 { margin: 0; font-size: clamp(37px,4.5vw,56px); font-weight: 500; letter-spacing: -.035em; line-height: 1.4; white-space: pre-line; }
.section-intro { max-width: 410px; margin: 0 0 5px; color: var(--ink-muted); font-size: 14px; line-height: 2.1; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid var(--line-dark); }
.service-card { min-height: 310px; position: relative; padding: 25px 25px 68px; border-inline-start: 1px solid var(--line-dark); }
.service-card:first-child { border-inline-start: 0; }
.service-primary { grid-column: 1 / -1; display: grid; grid-template-columns: 68px minmax(0,1fr) 180px; grid-template-rows: auto 1fr; align-items: center; column-gap: 22px; min-height: 230px; padding: 25px 28px; }
.service-primary .service-index { grid-area: 1 / 1; align-self: end; }
.service-primary .service-icon { grid-area: 2 / 1; margin: 10px 0 0; }
.service-primary h3 { grid-area: 1 / 2; align-self: end; }
.service-primary p { grid-area: 2 / 2; align-self: start; }
.service-primary .service-link { position: static; grid-area: 1 / 3; grid-row: 1 / 3; align-self: center; }
.service-index { color: #987940; font: 11px var(--font-en); }
.service-icon { width: 52px; height: 52px; margin-block: 26px 15px; color: #987940; }
.service-card h3 { margin: 0 0 9px; font-size: 20px; font-weight: 600; }
.service-card p { max-width: 310px; margin: 0; color: var(--ink-muted); font-size: 13px; line-height: 2; }
.service-link { position: absolute; inset-inline: 25px; bottom: 23px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line-dark); padding-bottom: 8px; font-size: 12px; }
.service-link span:last-child { color: #987940; font-size: 18px; }
#approved-services { display: contents; }
.scope-note { margin: 17px 0 0; color: #777269; font-size: 11px; }

/* Placeholder gallery */
.gallery-section { background: #eae6dd; }
.gallery-heading { margin-bottom: 28px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-button { min-height: 42px; border: 1px solid rgba(17,17,15,.22); padding: 8px 14px; color: #504d46; background: transparent; font-size: 11px; cursor: pointer; transition: color .2s ease,background-color .2s ease,border-color .2s ease; }
.filter-button:hover, .filter-button.is-active { color: var(--white); border-color: var(--charcoal); background: var(--charcoal); }
.gallery-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; }
.gallery-card { min-width: 0; height: 350px; position: relative; margin: 0; overflow: hidden; background: #d0cbc0; }
.gallery-card.gallery-feature { height: 430px; grid-row: span 1; }
.gallery-card[hidden] { display: none; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); transition: transform .65s ease; }
.gallery-card:hover img { transform: scale(1.035); }
.gallery-card::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent,rgba(0,0,0,.78)); content: ""; pointer-events: none; }
.gallery-card figcaption { position: absolute; z-index: 1; inset: auto 19px 19px; display: grid; gap: 3px; color: var(--white); }
.gallery-category { color: var(--gold-light); font-size: 10px; }
.gallery-card strong { font-size: 18px; font-weight: 500; }
.gallery-card small { color: #e0ddd5; font-size: 10px; }

/* About and editable vision / values */
.about-section { color: var(--white); background: var(--charcoal); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 11%; }
.about-lead h2 { max-width: 510px; color: var(--gold-light); }
.about-lead > p:not(.eyebrow) { max-width: 500px; margin: 17px 0; color: #d2cfc7; font-size: 14px; line-height: 2.15; }
.draft-note { display: inline-block; border-inline-start: 2px solid var(--gold); padding-inline-start: 11px; color: #b6b1a6; font-size: 11px; }
.about-cards { border-top: 1px solid var(--line-light); }
.about-cards article { position: relative; border-bottom: 1px solid var(--line-light); padding-block: 22px; padding-inline-start: 45px; padding-inline-end: 0; }
.about-number { position: absolute; inset-block-start: 24px; inset-inline-start: 0; color: var(--gold); font: 11px var(--font-en); }
.about-cards h3 { margin: 0 0 4px; font-size: 17px; font-weight: 500; }
.about-cards p { margin: 0; color: #bcb8af; font-size: 12px; line-height: 1.9; }

/* Work stages */
.process-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0; padding: 0; border-block: 1px solid var(--line-dark); list-style: none; }
.process-list li { min-height: 190px; display: flex; flex-direction: column; gap: 21px; padding: 21px 19px; border-inline-start: 1px solid var(--line-dark); }
.process-list li:first-child { border-inline-start: 0; }
.process-list li > span { color: #987940; font: 12px var(--font-en); }
.process-list h3 { margin: 0 0 5px; font-size: 16px; font-weight: 600; }
.process-list p { margin: 0; color: var(--ink-muted); font-size: 12px; line-height: 1.9; }

/* FAQ */
.faq-section { color: var(--white); background: var(--charcoal-soft); }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 10%; }
.faq-grid h2 { color: var(--gold-light); }
.faq-intro { max-width: 300px; color: #c4c0b8; font-size: 13px; }
.faq-list { border-top: 1px solid var(--line-light); }
.faq-list details { border-bottom: 1px solid var(--line-light); }
.faq-list summary { min-height: 57px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; font-size: 14px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { color: var(--gold-light); content: "+"; font: 20px var(--font-en); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 0 17px; color: #c4c0b8; font-size: 12px; line-height: 2; }

/* Contact and quote form */
.contact-section { background: #eae6dd; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 8%; }
.contact-intro h2 { margin-bottom: 11px; }
.contact-intro > p:not(.eyebrow) { color: var(--ink-muted); font-size: 13px; }
.contact-links { margin-top: 32px; border-top: 1px solid var(--line-dark); }
.contact-link { min-height: 70px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line-dark); padding-block: 12px; }
.contact-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #b59a65; color: #8b6e37; font: 10px var(--font-en); }
.contact-link > span:last-child { display: grid; gap: 1px; }
.contact-link small { color: #777269; font-size: 10px; }
.contact-link strong { font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.contact-link.is-unset { cursor: default; }
.contact-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social-contact { margin-top: 28px; border-top: 1px solid var(--line-dark); padding-top: 21px; }
.social-contact h3 { margin: 0 0 14px; font-size: 16px; font-weight: 600; }
.social-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.social-empty { margin: 0; color: var(--ink-muted); font-size: 11px; line-height: 1.8; }
.social-link { min-width: 0; min-height: 66px; display: grid; justify-items: center; align-content: center; gap: 5px; border: 1px solid rgba(17,17,15,.12); color: var(--charcoal); background: rgba(255,255,255,.35); font-size: 9px; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.social-link:hover { transform: translateY(-2px); border-color: #b59a65; background: #fff; }
.social-link[hidden], #contact-map[hidden], .contact-actions [hidden], .social-empty[hidden] { display: none !important; }
.social-icon { width: 27px; height: 27px; display: grid; place-items: center; color: #826735; }
.social-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social-icon .social-dot { fill: currentColor; stroke: none; }
.social-icon .social-fill { fill: currentColor; stroke: none; }
.social-letter { border: 1px solid #b59a65; font: 700 20px/1 Arial, sans-serif; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.contact-actions .button { min-height: 45px; justify-content: center; padding-inline: 14px; font-size: 11px; }
.page-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 13px; color: #e4dfd3; font-size: 11px; }
.page-breadcrumbs a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.route-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.route-card { min-height: 160px; display: grid; align-content: space-between; gap: 20px; border: 1px solid #d8d1c4; padding: 20px; background: rgba(255,255,255,.55); transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.route-card-visual { align-content: start; gap: 11px; padding: 0 0 17px; overflow: hidden; }
.route-card-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #d4cec2; }
.route-card-visual > span, .route-card-visual > div, .route-card-visual > strong { margin-inline: 17px; }
.route-card-visual > span { margin-top: 3px; }
.route-card:hover { transform: translateY(-3px); border-color: #b59a65; background: #fff; }
.route-card span { color: #8a6e39; font-size: 10px; letter-spacing: .07em; }
.route-card h3 { margin: 0; font-size: 18px; font-weight: 500; }
.route-card p { margin: 7px 0 0; color: #68645c; font-size: 12px; line-height: 1.9; }
.route-card strong { justify-self: start; color: #71572b; font-size: 12px; }
.guide-directory { display: grid; gap: 34px; margin-top: 30px; }
.guide-group > h2, .guide-source-heading { margin: 0 0 16px; font-size: clamp(22px,3vw,30px); font-weight: 500; }
.guide-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.guide-card { min-width: 0; min-height: 190px; display: grid; align-content: space-between; gap: 16px; padding: 20px; border: 1px solid #d8d1c4; color: var(--ink); background: rgba(255,255,255,.56); transition: transform .2s ease,border-color .2s ease,background .2s ease; }
.guide-card:hover,.related-link:hover,.search-result:hover { transform: translateY(-2px); border-color: #b59a65; background: #fff; }
.guide-card-number { color: #8a6e39; font-size: 11px; letter-spacing: .08em; }
.guide-card h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.6; }
.guide-card p { margin: 7px 0 0; color: #68645c; font-size: 12px; line-height: 1.9; }
.guide-card strong { color: #71572b; font-size: 11px; }
.guide-ai-note { display: grid; gap: 7px; margin-top: 34px; }
.guide-ai-note p { margin: 0; }
.guide-ai-note a { justify-self: start; color: #71572b; text-decoration: underline; text-underline-offset: 4px; }
.guide-layout { display: grid; gap: 21px; max-width: 900px; }
.guide-section { padding: clamp(20px,4vw,32px); border: 1px solid #ded8cd; background: rgba(255,255,255,.55); }
.guide-section h2 { margin: 0 0 11px; font-size: clamp(19px,3vw,25px); font-weight: 600; }
.guide-section p,.guide-section li { color: #5f5b54; font-size: 14px; line-height: 2; }
.guide-section p { margin: 0; }
.guide-section ul { display: grid; gap: 5px; margin: 13px 0 0; padding-inline-start: 22px; }
.guide-source-heading { margin-top: 12px; }
.guide-review-date { margin: -8px 0 0; color: #666158; font-size: 12px; line-height: 1.9; }
.guide-checklist { padding: clamp(20px,4vw,30px); border: 1px solid #d8d1c4; background: #fff; }
.guide-checklist h2 { margin: 0 0 8px; font-size: clamp(19px,3vw,25px); font-weight: 600; }
.guide-checklist > p { margin: 0; color: #68645c; font-size: 12px; line-height: 1.9; }
.guide-checklist-list { display: grid; gap: 8px; margin-block: 18px; }
.guide-checklist-item { display: flex; align-items: flex-start; gap: 11px; padding: 12px; border: 1px solid #e3ddd2; color: #514d46; font-size: 13px; line-height: 1.8; cursor: pointer; }
.guide-checklist-item input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: #8b7040; }
.guide-source-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.guide-source-card { padding: 17px; border: 1px solid #d8d1c4; background: #fff; }
.guide-source-card small { color: #796744; font-size: 10px; }
.guide-source-link { display: block; margin-top: 6px; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.7; text-decoration: underline; text-decoration-color: #b59a65; text-underline-offset: 3px; }
.guide-source-card p { margin: 8px 0 0; color: #68645c; font-size: 11px; line-height: 1.85; }
.guide-related-links { display: flex; flex-wrap: wrap; gap: 9px; }
.related-link { display: inline-flex; min-height: 42px; align-items: center; padding: 9px 13px; border: 1px solid #d8d1c4; color: #55482e; background: rgba(255,255,255,.55); font-size: 12px; transition: transform .2s ease,border-color .2s ease,background .2s ease; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.site-search-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; max-width: 800px; margin: 28px 0 14px; }
.search-result-count { min-height: 25px; color: #68645c; font-size: 12px; }
.search-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.search-result { padding: 17px; border: 1px solid #d8d1c4; color: var(--ink); background: rgba(255,255,255,.56); transition: transform .2s ease,border-color .2s ease,background .2s ease; }
.search-result h2 { margin: 0 0 7px; font-size: 15px; font-weight: 600; }
.search-result p { margin: 0; color: #68645c; font-size: 11px; line-height: 1.85; }
.site-search-form .field { margin: 0; }
.site-search-form > .button { min-height: 48px; }
.empty-projects a { display: inline-flex; margin: 12px; color: #71572b; text-decoration: underline; text-underline-offset: 3px; }
.section-note { border-inline-start: 3px solid var(--gold); padding: 13px 16px; color: #625d53; background: #f7f2e8; font-size: 12px; line-height: 1.9; }
.empty-projects { border: 1px solid #d8d1c4; padding: clamp(24px,5vw,50px); text-align: center; background: #fff; }
.empty-projects h2 { margin: 0 0 10px; font-size: 25px; }
.empty-projects p { max-width: 650px; margin: 0 auto; color: var(--ink-muted); font-size: 13px; }
.design-detail-card { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.9fr); gap: clamp(22px,5vw,58px); align-items: center; }
.design-detail-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #d4cec2; }
.design-detail-copy h1 { margin: 12px 0; font-size: clamp(29px,4vw,44px); line-height: 1.45; }
.design-detail-copy > p { color: #666158; font-size: 13px; line-height: 2; }
.design-detail-copy .contact-actions { margin-block: 20px 10px; }
.design-detail-copy .text-action { display: inline-flex; margin-top: 11px; color: #72592e; font-size: 12px; }
.design-library-section { padding-block: clamp(26px,5vw,58px); }
.design-library-intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.design-library-intro .section-note { flex: 1; margin: 0; }
.design-library-intro > .button, .design-library-intro .contact-actions { flex: 0 0 auto; }
.design-category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 24px; }
.design-category-card { position: relative; display: flex; min-height: 340px; flex-direction: column; overflow: hidden; color: #fff; background: #191917; text-decoration: none; isolation: isolate; }
.design-category-card::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.03) 15%,rgba(0,0,0,.82) 100%); content: ""; }
.design-category-card > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.design-category-card:hover > img, .design-category-card:focus-visible > img { transform: scale(1.04); }
.design-category-copy { display: grid; align-content: end; gap: 8px; min-height: 340px; padding: 23px; }
.design-category-generated { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; border: 1px solid rgba(255,255,255,.72); padding: 5px 9px; color: #fff; background: rgba(17,20,22,.72); font-size: 10px; }
.design-category-copy h2, .design-category-copy p { margin: 0; }
.design-category-copy h2 { color: #fff; font-size: clamp(19px,2vw,25px); }
.design-category-copy p { max-width: 36ch; color: rgba(255,255,255,.8); font-size: 12px; line-height: 1.8; }
.design-category-copy strong { margin-top: 5px; color: #e0c78f; font-size: 12px; }
.design-category-count { color: #e0c78f; font: 10px var(--font-en); letter-spacing: .04em; }

/* Local planning and AI-ready helper screens. */
.smart-status-note { margin: 0 0 24px; border: 1px solid #dfd4bd; border-inline-start: 4px solid #a9853f; padding: 16px 19px; background: #f7f4ee; color: #4f493e; }
.smart-status-note strong { display: block; color: #332c20; font-size: 14px; }
.smart-status-note p { margin: 7px 0 0; font-size: 12px; line-height: 1.9; }
.smart-helper-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.smart-helper-card, .smart-form-card, .saved-project-card { min-width: 0; border: 1px solid #ded8ce; padding: clamp(19px,3vw,31px); background: #fff; box-shadow: 0 12px 34px rgba(22,20,15,.035); }
.smart-helper-card h2, .saved-project-card h2 { margin: 0 0 13px; font-size: clamp(19px,2.4vw,27px); line-height: 1.5; }
.smart-helper-side { background: #181816; color: #fff; }
.smart-helper-side h2 { color: #f5f0e5; }
.smart-checklist { display: grid; gap: 11px; margin: 12px 0 0; padding-inline-start: 20px; color: #e6dfd2; font-size: 13px; line-height: 1.8; }
.smart-followup-heading { margin-top: 62px; }
.smart-answer { margin-top: 17px; border: 1px solid #ded8ce; padding: 18px; background: #f8f6f1; color: #38352e; line-height: 1.85; }
.smart-answer > strong, .smart-answer > h2 { display: block; color: #2d2a25; font-size: 16px; }
.smart-answer ul, .smart-answer ol { display: grid; gap: 7px; margin: 9px 0; padding-inline-start: 22px; font-size: 13px; }
.smart-answer p { margin: 12px 0 0; font-size: 12px; }
.smart-form-card { margin-top: 23px; }
.smart-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.smart-form-card .field { min-width: 0; }
.smart-form-card .field input, .smart-form-card .field select, .smart-form-card .field textarea { width: 100%; min-height: 47px; border: 1px solid #d8d2c7; border-radius: 0; padding: 11px 13px; background: #fff; color: #27251f; font: inherit; font-size: 14px; }
.smart-form-card .field textarea { min-height: 112px; resize: vertical; }
.smart-form-card .field small { display: block; margin-top: 6px; color: #716c62; font-size: 11px; line-height: 1.8; }
.smart-form-card .field :focus-visible { outline: 3px solid rgba(174,139,66,.38); outline-offset: 1px; border-color: #93733b; }
.field-wide { grid-column: 1 / -1; }
.smart-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 19px; }
.smart-form-actions .form-status { flex-basis: 100%; margin: 0; }
.smart-form-card button:disabled { cursor: not-allowed; opacity: .55; }
.local-photo-preview { display: flex; align-items: start; gap: 12px; }
.local-photo-preview img { display: block; width: min(100%,420px); max-height: 320px; object-fit: contain; background: #eeece7; }
.local-photo-preview .text-action { border: 0; background: transparent; cursor: pointer; }
.professional-disclaimer { margin: 22px 0 0; border-inline-start: 3px solid #b99650; padding: 9px 13px; background: #f6f2e9; color: #595349; font-size: 12px; line-height: 1.9; }
.smart-results-block { margin-top: 48px; scroll-margin-top: 20px; }
.smart-results-block[hidden] { display: none; }
.design-compare-choice { display: flex; align-items: center; gap: 8px; padding: 9px 15px; border-top: 1px solid #e9e5dd; color: #4e4639; font-size: 12px; }
.design-compare-choice input { accent-color: #94723a; width: 17px; height: 17px; }
.smart-compare { margin-top: 28px; border: 1px solid #ded8ce; padding: clamp(16px,3vw,25px); background: #fff; }
.smart-compare h3 { margin: 0 0 15px; font-size: 18px; }
.compare-reference-grid, .material-compare-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.compare-reference-grid article, .material-compare-card { min-width: 0; border: 1px solid #e5e0d7; padding: 14px; background: #faf9f6; }
.compare-reference-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.compare-reference-grid h4, .material-compare-card h3 { margin: 10px 0 6px; }
.compare-reference-grid p { color: #655f54; font-size: 12px; line-height: 1.8; }
.material-comparison { margin-top: 22px; }
.material-comparison > h2 { font-size: 22px; }
.material-comparison > p { color: #625d53; font-size: 13px; line-height: 1.8; }
.material-compare-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.material-compare-card h3 { font-size: 17px; }
.material-compare-card dl { margin: 0; }
.material-compare-row { padding: 9px 0; border-top: 1px solid #e3dfd7; }
.material-compare-row dt { color: #3d382f; font-size: 11px; font-weight: 600; line-height: 1.7; }
.material-compare-row dd { margin: 4px 0 0; color: #797367; font-size: 11px; line-height: 1.65; }
.material-use-note { margin-top: 16px; }
.saved-project-card { margin-top: 18px; }
.saved-project-card[hidden] { display: none; }
.saved-brief-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; margin: 14px 0; }
.saved-brief-fields > div { min-width: 0; border-top: 1px solid #e7e2d9; padding: 11px 0; }
.saved-brief-fields dt { margin-bottom: 4px; color: #756c5d; font-size: 11px; }
.saved-brief-fields dd { margin: 0; overflow-wrap: anywhere; color: #2f2c27; font-size: 13px; line-height: 1.8; white-space: pre-wrap; }
.saved-project-actions { flex-wrap: wrap; margin-top: 17px; }
.saved-design-references { margin-top: 28px; }
.saved-reference-card { min-width: 0; border: 1px solid #e5e0d7; padding-bottom: 14px; background: #fff; }
.saved-reference-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.saved-reference-card h3, .saved-reference-card p, .saved-reference-card a { margin-inline: 14px; }
.saved-reference-card h3 { font-size: 15px; }
.saved-reference-card p { color: #6f685d; font-size: 11px; }
.saved-reference-card a { color: #74592a; font-size: 12px; }
.quote-project-prefill { margin-bottom: 16px; }
.quote-project-prefill p { margin-bottom: 0; }
.cost-quote-hint { display: block; margin-top: 9px; color: #786f60; font-size: 11px; line-height: 1.7; }
.cost-result-card button:disabled { cursor: not-allowed; opacity: .55; }
@media (max-width: 760px) {
  .smart-helper-layout { grid-template-columns: 1fr; }
  .smart-form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .material-compare-grid { grid-template-columns: 1fr; }
  .smart-followup-heading { margin-top: 40px; }
  .smart-form-actions > .button { width: 100%; justify-content: center; }
  .saved-brief-fields { grid-template-columns: 1fr; }
  .compare-reference-grid { grid-template-columns: 1fr; }
}
.design-toolbar { display: grid; grid-template-columns: 2fr repeat(3,minmax(0,1fr)); gap: 12px; padding: 18px; border: 1px solid #e4dfd5; background: #faf9f6; }
.design-toolbar .field { font-size: 11px; }
.design-toolbar input, .design-toolbar select { width: 100%; min-width: 0; min-height: 45px; border: 1px solid #d7d3ca; padding: 9px 11px; color: var(--charcoal); background: #fff; font: inherit; font-weight: 400; }
.design-toolbar input:focus, .design-toolbar select:focus { border-color: #95773e; outline: 2px solid rgba(197,165,103,.26); }
.design-result-count { min-height: 20px; margin: 16px 0 10px; color: #716b60; font-size: 11px; }
.design-license-note { margin: 10px 0 0; color: #716b60; font-size: 10px; line-height: 1.8; }
.design-license-note a { color: #72592e; text-underline-offset: 3px; }
.design-loading { margin: 24px 0; color: #70695e; font-size: 12px; }
.design-loading.is-error { padding: 16px; border-inline-start: 3px solid #a13c31; color: #8f3027; background: #fff7f5; }
.design-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.design-card { min-width: 0; overflow: hidden; border: 1px solid #e5e0d7; background: #fff; }
.design-card-media { position: relative; overflow: hidden; background: #ece9e2; }
.design-card-image-link { display: block; }
.design-card-image-link img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.design-card:hover .design-card-image-link img { transform: scale(1.025); }
.design-save-button { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: #251f16; background: rgba(255,255,255,.94); font: 24px/1 Arial,sans-serif; cursor: pointer; }
.design-save-button[aria-pressed="true"] { color: #9b2d37; }
.design-save-button { font-size: 0; }
.design-save-button::before { content: ''; width: 21px; height: 21px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21 3 12C-2 5 7-1 12 6 17-1 26 5 21 12Z' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21 3 12C-2 5 7-1 12 6 17-1 26 5 21 12Z' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat; }
.design-save-button[aria-pressed="true"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21 3 12C-2 5 7-1 12 6 17-1 26 5 21 12Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21 3 12C-2 5 7-1 12 6 17-1 26 5 21 12Z'/%3E%3C/svg%3E"); }
.design-save-button:focus-visible, .design-card a:focus-visible, .design-category-card:focus-visible { outline: 3px solid #c49d4b; outline-offset: 3px; }
.design-card-copy { display: grid; gap: 9px; padding: 17px; }
.design-card-copy h2, .design-card-copy h3 { margin: 0; font-size: 17px; line-height: 1.6; }
.design-card-copy h2 a, .design-card-copy h3 a { color: #25231f; text-decoration: none; }
.design-card-description { min-height: 43px; margin: 0; color: #6c675e; font-size: 11px; line-height: 1.9; }
.design-source-label { margin: 0; color: #8a6e39; font-size: 10px; }
.design-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.design-tag { padding: 4px 8px; color: #625a49; background: #f3f0e9; font-size: 9px; }
.design-card-detail { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; color: #72592e; font-size: 11px; text-decoration: none; }
.design-library-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; padding: 24px; color: #fff; background: #191917; }
.design-library-cta h2, .design-library-cta p { margin: 0; }
.design-library-cta h2 { color: #fff; font-size: 21px; }
.design-library-cta p { max-width: 65ch; margin-top: 6px; color: #d0cbc0; font-size: 11px; line-height: 1.8; }
.design-detail-figure { position: relative; margin: 0; background: #e8e4db; }
.design-detail-figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.design-detail-figure figcaption { padding: 9px 12px; color: #6d675c; background: #f6f4ef; font-size: 10px; }
.design-detail-copy { min-width: 0; }
.design-detail-copy h1 { color: #201e1a; }
.design-detail-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 15px; margin-block: 18px; padding-block: 13px; border-block: 1px solid #e6e1d8; }
.design-detail-facts p { margin: 0; color: #655f55; font-size: 11px; line-height: 1.8; }
.design-detail-facts strong { color: #302c25; }
.design-local-note, .design-attribution, .design-disclaimer { color: #70695e; font-size: 10px !important; line-height: 1.8; }
.design-attribution a { color: #72592e; text-decoration: underline; text-underline-offset: 3px; }
.design-disclaimer { padding: 10px 12px; background: #f6f3ec; }
.design-related { margin-top: 44px; }
.design-related .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.design-related .section-heading h2 { margin: 4px 0 0; }
.design-related .section-heading > a { color: #72592e; font-size: 11px; }
.design-related-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.design-related-card { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 13px; min-width: 0; color: #27241f; text-decoration: none; }
.design-related-card img { display: block; width: 110px; height: 84px; object-fit: cover; }
.design-related-card span { font-size: 12px; line-height: 1.8; }
.design-favorite-status { min-height: 1.5em; }
.guide-visual-gallery { margin-block: 34px; padding-block: 28px; border-top: 1px solid #ded8cd; }
.guide-visual-gallery .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.guide-visual-gallery .section-heading h2 { margin: 0; font-size: clamp(22px,3vw,32px); }
.guide-visual-gallery-note { max-width: 48ch; margin: 0; color: #6d675c; font-size: 11px; line-height: 1.8; }
.category-assistant-note, .guide-helper-note { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-block: 25px; border: 1px solid #ded8cd; padding: 17px; background: #f8f6f0; }
.category-assistant-note strong, .guide-helper-note strong { font-size: 14px; }
.category-assistant-note p, .guide-helper-note p { margin: 4px 0 0; color: #6d675c; font-size: 11px; line-height: 1.8; }
.category-assistant-note .button, .guide-helper-note .button { flex: 0 0 auto; }
.legal-page .site-header { position: relative; background: var(--charcoal); }
.quote-card { padding: 30px; background: var(--white); box-shadow: 0 18px 55px rgba(17,17,15,.07); }
.quote-card h2 { margin: 0 0 8px; font-size: 25px; font-weight: 600; }
.quote-card .eyebrow { margin-bottom: 11px; }
.form-disclaimer { margin: 0 0 21px; border-inline-start: 2px solid var(--gold); padding-inline-start: 10px; color: #69655e; font-size: 11px; line-height: 1.8; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 13px; }
.field { min-width: 0; display: grid; gap: 6px; font-size: 12px; font-weight: 600; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-height: 47px; border: 1px solid #d7d3ca; border-radius: 0; padding: 10px 12px; color: var(--charcoal); background: #fff; font-size: 13px; font-weight: 400; }
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #89857d; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #95773e; outline: 2px solid rgba(197,165,103,.26); }
.field input[type="file"] { min-height: auto; padding: 10px; font-size: 11px; }
.file-field > small { color: #716d65; font-size: 10px; font-weight: 400; line-height: 1.8; }
.file-list { margin: 0; padding-inline-start: 20px; color: #56524a; font-size: 10px; font-weight: 400; overflow-wrap: anywhere; }
.field-error { min-height: 0; color: #a12d25; font-size: 10px; font-weight: 400; }
.field [aria-invalid="true"] { border-color: #a12d25; }
.form-privacy { margin: 13px 0; color: #716d65; font-size: 10px; line-height: 1.9; }
.form-privacy a { color: #755a2c; text-decoration: underline; text-underline-offset: 3px; }
.submit-button { min-width: 170px; }
.form-status { min-height: 0; margin: 12px 0 0; color: #714f1b; font-size: 12px; line-height: 1.8; }
.form-status:empty { display: none; }

/* Footer, WhatsApp and legal documents */
.site-footer { color: #d6d2ca; background: var(--charcoal); }
.footer-main, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-main { min-height: 100px; border-bottom: 1px solid var(--line-light); }
.footer-main > p { color: #aaa69d; font-size: 11px; }
.footer-brand .brand-name small { color: var(--gold-light); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 11px; }
.legal-nav a:hover, .footer-bottom a:hover { color: var(--gold-light); }
.footer-bottom { min-height: 55px; color: #a9a59c; font-size: 10px; }
.footer-bottom a { color: var(--gold-light); }
.whatsapp-button { position: fixed; z-index: 30; inset: auto 22px calc(22px + env(safe-area-inset-bottom,0px)) auto; min-height: 50px; display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; color: var(--charcoal); background: var(--gold-light); box-shadow: 0 8px 28px rgba(0,0,0,.18); font-size: 12px; font-weight: 700; transition: transform .2s ease, opacity .2s ease; }
.whatsapp-button:hover { transform: translateY(-2px); }
.whatsapp-button svg { width: 21px; height: 21px; }
.whatsapp-button.is-unset { display: none; }
html[dir="ltr"] .whatsapp-button { inset-inline-start: 22px; inset-inline-end: auto; }

/* Visual library, locally zoomable images, and generated concept labeling */
.design-category-visual-hero { position: relative; min-height: clamp(270px,38vw,470px); overflow: hidden; color: #fff; background: var(--charcoal); isolation: isolate; }
.design-category-visual-hero > img, .design-category-hero-shade { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.design-category-hero-shade { z-index: -1; background: linear-gradient(90deg,rgba(12,15,18,.15),rgba(12,15,18,.78)),linear-gradient(0deg,rgba(12,15,18,.78),transparent 75%); }
html[dir="ltr"] .design-category-hero-shade { background: linear-gradient(270deg,rgba(12,15,18,.15),rgba(12,15,18,.78)),linear-gradient(0deg,rgba(12,15,18,.78),transparent 75%); }
.design-category-hero-copy { min-height: inherit; display: flex; flex-direction: column; align-items: flex-start; justify-content: end; gap: 9px; padding-block: 30px 36px; }
.design-category-hero-copy > p { margin: 0; color: #fff; font-size: clamp(23px,4vw,38px); font-weight: 600; }
.design-category-hero-label { color: var(--gold-light); font-size: 11px; }
.design-category-hero-copy .contact-actions { margin-top: 7px; }
.design-category-hero-copy .button-outline { color: #fff; border-color: rgba(255,255,255,.7); }
.design-zoom-button { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; color: #211f19; background: rgba(255,255,255,.94); font: 25px/1 Arial,sans-serif; cursor: zoom-in; }
.design-zoom-button { font-size: 0; display: grid; place-items: center; }
.design-zoom-button::before { content: ''; width: 18px; height: 18px; background: linear-gradient(currentColor,currentColor) center/2px 100% no-repeat,linear-gradient(currentColor,currentColor) center/100% 2px no-repeat; }
.design-card-detail > span { font-size: 0; width: 9px; height: 9px; border-top: 1px solid currentColor; border-inline-end: 1px solid currentColor; }
.design-detail-zoom { position: relative; display: block; width: 100%; overflow: hidden; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.design-detail-zoom img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.design-detail-zoom > span { position: absolute; inset-inline-end: 13px; inset-block-end: 13px; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; color: #211f19; background: rgba(255,255,255,.93); font: 25px/1 Arial,sans-serif; }
.design-detail-zoom > span { font-size: 0; }
.design-detail-zoom > span::before { content: ''; width: 18px; height: 18px; background: linear-gradient(currentColor,currentColor) center/2px 100% no-repeat,linear-gradient(currentColor,currentColor) center/100% 2px no-repeat; }
.image-zoom-dialog { position: fixed; inset: 50% auto auto 50%; width: min(1000px,calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 28px); transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.3); padding: 18px; color: #fff; background: #151719; box-shadow: 0 20px 80px rgba(0,0,0,.5); }
.image-zoom-dialog[open] { display: grid; justify-items: center; gap: 10px; }
.image-zoom-dialog::backdrop { background: rgba(0,0,0,.82); }
.image-zoom-dialog img { width: auto; max-width: 100%; max-height: calc(100dvh - 110px); object-fit: contain; }
.image-zoom-caption { max-width: 70ch; margin: 0; color: #e7e1d5; font-size: 12px; text-align: center; }
.image-zoom-close { position: absolute; z-index: 1; inset-block-start: 7px; inset-inline-end: 7px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; color: #fff; background: rgba(18,25,34,.9); font-size: 27px; cursor: pointer; }
body.has-whatsapp .site-footer { padding-block-end: calc(72px + env(safe-area-inset-bottom,0px)); }
body.nav-open .whatsapp-button { display: none; }
@media (max-width: 1024px) {
  body.nav-open .site-header { position: fixed; background: var(--charcoal-soft); }
  body.nav-open #primary-nav { top: var(--nav-top, 82px); max-height: calc(100vh - var(--nav-top, 82px)); max-height: calc(100dvh - var(--nav-top, 82px)); padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
}
.section-directory-tools { margin-block: 24px; }
.guide-card.route-card-visual { padding: 0 0 20px; }
.guide-card.route-card-visual > :not(img) { margin-inline: 16px; }
.design-additional-images { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 12px; margin-top: 14px; }
.design-additional-images img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
body.nav-open { overflow: hidden; }
.legal-page { min-height: 100vh; display: flex; flex-direction: column; }
.legal-header { position: relative; color: var(--white); background: var(--charcoal); }
.legal-content { flex: 1; padding-block: 62px 90px; }
.legal-content h1 { margin: 0 0 12px; font-size: clamp(34px,5vw,54px); font-weight: 500; }
.legal-updated { color: #777269; font-size: 12px; }
.legal-notice { margin-block: 24px; border-inline-start: 3px solid var(--gold); padding: 13px 16px; color: #4e4b45; background: #e9e4d9; font-size: 13px; }
.legal-content article { max-width: 850px; }
.legal-content h2 { margin: 30px 0 7px; font-size: 20px; }
.legal-content p, .legal-content li { color: #514e47; font-size: 14px; line-height: 2.1; }
.legal-content ul { padding-inline-start: 23px; }

/* Phase one platform tools: local-only, responsive widgets */
.platform-section, .helper-section { background: #f3f0e9; }
.tool-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.tool-card { min-width: 0; border: 1px solid #d8d2c5; padding: 27px; background: #fff; }
.tool-tag, .material-card > div > span { color: #876c37; font-size: 11px; }
.tool-card h3 { margin: 7px 0; font-size: 22px; font-weight: 600; }
.tool-card > p:not(.tool-tag):not(.tool-result) { color: var(--ink-muted); font-size: 13px; line-height: 1.9; }
.tool-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin-block: 18px; }
.tool-fields .field:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tool-action { min-height: 48px; margin-top: 8px; }
.tool-result { min-height: 0; margin: 15px 0 0; border-inline-start: 2px solid var(--gold); padding: 9px 12px; color: #514b40; background: #f6f2e9; font-size: 12px; line-height: 1.9; }
.tool-result:empty { display: none; }
.tool-result ul { margin: 8px 0 0; padding-inline-start: 20px; }
.tool-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin: -15px 0 25px; }
.tool-shortcuts a { min-height: 40px; display: inline-flex; align-items: center; border: 1px solid #d0c8b8; padding: 8px 12px; color: #5f5034; background: rgba(255,255,255,.6); font-size: 11px; }
.tool-shortcuts a:hover { border-color: #927541; background: white; }
.materials-section { background: #eae6dd; }
.material-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.material-card { overflow: hidden; border: 1px solid rgba(17,17,15,.13); background: white; }
.material-card img { width: 100%; height: 190px; object-fit: cover; }
.material-card > div { padding: 18px; }
.material-card h3 { margin: 6px 0; font-size: 18px; }
.material-card p { min-height: 52px; margin: 0 0 14px; color: var(--ink-muted); font-size: 12px; line-height: 1.8; }
.text-action { min-height: 42px; border: 0; border-bottom: 1px solid #9c814d; padding: 5px 0; color: #705a31; background: transparent; font: inherit; font-size: 12px; text-align: start; cursor: pointer; }
.checklist-section { color: white; background: var(--charcoal-soft); }
.checklist-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9%; align-items: start; }
.checklist-grid h2 { color: var(--gold-light); font-size: clamp(34px,4.2vw,52px); line-height: 1.4; }
.checklist-note { color: #c4c0b8; font-size: 13px; line-height: 2; }
.checklist-section .text-action { color: var(--gold-light); }
.readiness-list { border-top: 1px solid var(--line-light); }
.readiness-list label { display: flex; align-items: flex-start; gap: 12px; border-bottom: 1px solid var(--line-light); padding: 17px 4px; font-size: 13px; line-height: 1.8; cursor: pointer; }
.readiness-list input { flex: 0 0 auto; width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--gold); }
.helper-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 14px; max-width: 820px; }
.helper-form .button { min-height: 48px; }
.helper-result { max-width: 820px; }
.demo-section { background: var(--charcoal); color: white; }
.demo-section .section-intro, .demo-admin-section .section-intro { max-width: 450px; }
.portal-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; border: 1px solid var(--line-light); padding: 26px; }
.portal-preview h3 { margin: 14px 0 4px; color: var(--gold-light); font-size: 25px; }
.portal-preview p, .portal-empty { color: #c4c0b8; font-size: 12px; line-height: 1.9; }
.demo-pill { display: inline-block; border: 1px solid var(--gold); padding: 6px 9px; color: var(--gold-light); font-size: 10px; }
.portal-preview ol { display: grid; gap: 8px; margin: 0; padding-inline-start: 24px; color: #eee; font-size: 13px; line-height: 1.8; }
.portal-empty { grid-column: 1 / -1; border-top: 1px solid var(--line-light); padding-top: 15px; }
.portal-media { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.portal-media > div { min-width: 0; display: grid; align-content: start; gap: 7px; border: 1px solid var(--line-light); padding: 10px; }
.portal-media img { width: 100%; height: 135px; object-fit: cover; }
.portal-media small, .portal-document span { color: #c4c0b8; font-size: 10px; line-height: 1.8; }
.portal-document strong { color: var(--gold-light); font-size: 13px; }
.demo-admin-section { background: #f3f0e9; }
.admin-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; border: 1px solid #d7d1c4; padding: 18px; background: white; font-size: 12px; }
.admin-row label { display: flex; align-items: center; gap: 10px; }
.admin-row select { min-height: 42px; border: 1px solid #d7d1c4; padding: 7px; background: white; color: var(--charcoal); font: inherit; }
.admin-row > span:last-child { color: #716d65; }
.roadmap-note { margin: 18px 0 0; color: #666158; font-size: 12px; line-height: 1.9; }
.legal-back { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: #72592e; font-size: 13px; }

@media (max-width: 980px) {
  .header-inner { gap: 16px; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 12px; }
  .header-cta { gap: 8px; padding-inline: 11px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-card.gallery-feature { height: 360px; grid-column: 1 / -1; }
  .gallery-card { height: 300px; }
  .material-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (min-width: 721px) and (max-width: 1024px) {
  .header-inner { position: relative; }
  .main-nav { position: absolute; inset-block-start: 82px; inset-inline: 0; display: none; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 22px; padding: 10px 22px 18px; border: 1px solid var(--line-light); background: var(--charcoal-soft); }
  .main-nav.is-open { position: fixed; inset-block-start: calc(82px + env(safe-area-inset-top,0px)); inset-inline: 0; display: grid; grid-template-columns: 1fr; max-height: calc(100dvh - 82px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(18px + env(safe-area-inset-bottom,0px)); }
  .main-nav > a, .main-nav > details > summary { min-height: 46px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 13px; text-align: start; }
  .main-nav .nav-dropdown { font-size: 13px; }
  .main-nav .nav-submenu { position: static; grid-column: 1 / -1; width: auto; min-width: 0; box-shadow: none; }
  .main-nav .nav-submenu a { min-height: 42px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 12px; }
  .header-cta { display: none; }
  .menu-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.3); padding: 8px; background: transparent; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { width: 19px; height: 1px; background: var(--white); }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }
  .wrap { width: calc(100% - 40px); }
  .route-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guide-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guide-source-list,.search-results { grid-template-columns: 1fr; }
  .header-inner { min-height: 70px; }
  .brand { gap: 8px; }
  .brand-name { max-width: 170px; }
  .brand-mark { width: 35px; height: 35px; flex-basis: 35px; }
  .brand-name strong { font-size: 16px; }
  .brand-name small { font-size: 9px; }
  .main-nav { position: fixed; inset: calc(70px + env(safe-area-inset-top,0px)) 0 auto; display: none; max-height: calc(100dvh - 70px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); overflow-y: auto; overscroll-behavior: contain; padding: 9px 20px calc(17px + env(safe-area-inset-bottom,0px)); border-bottom: 1px solid var(--line-light); background: var(--charcoal-soft); }
  .main-nav.is-open { display: grid; }
  .main-nav > a, .main-nav > details > summary { min-height: 45px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; }
  .main-nav .nav-dropdown { font-size: 14px; }
  .main-nav .nav-submenu { position: static; width: auto; min-width: 0; border: 0; padding: 0 12px 7px; background: rgba(255,255,255,.035); box-shadow: none; }
  .main-nav .nav-submenu a { min-height: 42px; font-size: 13px; }
  .main-nav a { min-height: 45px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; }
  .main-nav .account-gate { min-height: 45px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; text-align: start; }
  .main-nav > :last-child { border-bottom: 0; }
  .header-actions { gap: 7px; }
  .lang-toggle { min-height: 40px; padding-inline: 10px; }
  .header-cta { display: none; }
  .menu-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.3); padding: 8px; background: transparent; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { width: 19px; height: 1px; background: var(--white); }
  .hero { min-height: max(660px, 100svh); }
  .hero-image { background-image: url("assets/hero-towers-mobile.webp"); background-position: 53% center; }
  .hero-overlay { background: linear-gradient(270deg,rgba(10,10,9,.87),rgba(10,10,9,.62) 60%,rgba(10,10,9,.28)),linear-gradient(0deg,rgba(10,10,9,.4),transparent 60%); }
  html[dir="ltr"] .hero-overlay { background: linear-gradient(90deg,rgba(10,10,9,.87),rgba(10,10,9,.62) 60%,rgba(10,10,9,.28)),linear-gradient(0deg,rgba(10,10,9,.4),transparent 60%); }
  .hero-content { padding-block: 116px 105px; }
  .eyebrow { margin-bottom: 14px; font-size: 11px; }
  .hero h1 { max-width: 100%; font-size: clamp(39px,10.5vw,56px); line-height: 1.48; letter-spacing: 0; }
  html[lang="en"] .hero h1 { font-size: clamp(34px,8.6vw,48px); letter-spacing: -.025em; }
  .hero h1.hero-brand-title { gap: 3px; line-height: 1.35; }
  .hero-brand-primary { font-size: clamp(36px,10.5vw,49px); line-height: 1.4; }
  .hero-brand-sub { font-size: clamp(20px,5.9vw,27px); line-height: 1.6; }
  html[lang="en"] .hero-brand-primary { font-size: clamp(34px,8.4vw,45px); }
  html[lang="en"] .hero-brand-sub { font-size: clamp(17px,4.8vw,23px); }
  .hero h1.hero-brand-title + .hero-copy { margin-top: 14px; font-size: 14px; }
  .section-heading h2, .about-lead h2, .faq-grid h2, .contact-intro h2 { white-space: pre-line; }
  .hero-copy { max-width: 440px; margin-top: 15px; font-size: 14px; line-height: 2; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 7px; margin-top: 22px; }
  .hero-actions .button { width: min(100%,240px); min-height: 50px; }
  .text-link { min-height: 45px; }
  .guest-entry-link { min-height: 42px; }
  .hero-foot { bottom: 22px; font-size: 10px; }
  .section { padding-block: 72px; }
  .section-heading { display: grid; gap: 14px; margin-bottom: 28px; }
  .section-heading h2, .about-lead h2, .faq-grid h2, .contact-intro h2 { font-size: clamp(34px,9vw,46px); letter-spacing: 0; line-height: 1.45; }
  .section-intro { max-width: 580px; font-size: 13px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 275px; border-inline-start: 0; border-bottom: 1px solid var(--line-dark); padding: 22px 17px 65px; }
  .service-card:first-child { border-bottom: 0; }
  .service-primary { display: block; min-height: 275px; padding: 22px 17px 65px; }
  .service-primary .service-index { display: inline; }
  .service-primary .service-icon { margin-block: 18px 10px; }
  .service-primary h3 { margin-bottom: 9px; }
  .service-primary p { max-width: 100%; }
  .service-primary .service-link { position: absolute; inset-inline: 17px; bottom: 18px; }
  .service-icon { margin-block: 18px 10px; }
  .service-card h3 { font-size: 19px; }
  .service-link { inset-inline: 17px; bottom: 18px; }
  .gallery-filters { gap: 7px; }
  .filter-button { min-height: 40px; padding-inline: 10px; font-size: 10px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-card, .gallery-card.gallery-feature { height: 235px; grid-column: auto; }
  .gallery-card.gallery-feature { grid-column: 1 / -1; height: 285px; }
  .gallery-card figcaption { inset-inline: 12px; bottom: 13px; }
  .gallery-card strong { font-size: 15px; }
  .gallery-card small { font-size: 9px; }
  .tool-grid, .checklist-grid { grid-template-columns: 1fr; gap: 22px; }
  .tool-card { padding: 21px 17px; }
  .tool-card h3 { font-size: 20px; }
  .tool-fields { grid-template-columns: 1fr; gap: 11px; }
  .tool-fields .field:last-child:nth-child(odd) { grid-column: auto; }
  .material-grid { grid-template-columns: 1fr; }
  .material-card img { height: 210px; }
  .material-card p { min-height: 0; }
  .helper-form { grid-template-columns: 1fr; }
  .helper-form .button { width: 100%; justify-content: center; }
  .portal-preview { grid-template-columns: 1fr; padding: 20px 16px; }
  .portal-empty { grid-column: auto; }
  .portal-media { grid-template-columns: 1fr; }
  .admin-row { grid-template-columns: 1fr; gap: 11px; }
  .admin-row label { justify-content: space-between; }
  .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .about-cards article { padding-block: 18px; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-list li { min-height: 155px; padding: 17px 13px; border-bottom: 1px solid var(--line-dark); }
  .process-list li:nth-child(odd) { border-inline-start: 0; }
  .process-list li:nth-last-child(-n+2) { border-bottom: 0; }
  .process-list h3 { font-size: 14px; }
  .process-list p { font-size: 11px; }
  .faq-grid { gap: 15px; }
  .faq-list summary { min-height: 55px; font-size: 13px; }
  .contact-grid { gap: 25px; }
  .quote-card { padding: 22px 17px; }
  .quote-card h2 { font-size: 22px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .field-wide { grid-column: auto; }
  .field input, .field select, .field textarea { min-height: 48px; font-size: 16px; }
  .field textarea { min-height: 120px; }
  .submit-button { width: 100%; justify-content: center; }
  .footer-main, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-main { padding-block: 23px; gap: 13px; }
  .footer-main > p { margin: 0; }
  .footer-bottom { min-height: 65px; justify-content: center; gap: 4px; }
  .whatsapp-button { inset-inline-end: 13px; bottom: calc(13px + env(safe-area-inset-bottom,0px)); min-height: 47px; }
  html[dir="ltr"] .whatsapp-button { inset-inline-start: 13px; }
  .legal-content { padding-block: 42px 72px; }
  .legal-header .header-cta { display: none; }
}

@media (max-width: 390px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { gap: 8px; }
  .brand { gap: 6px; }
  .brand-name { max-width: 148px; }
  .brand-mark { width: 30px; height: 30px; flex-basis: 30px; }
  .brand-name strong { font-size: 14px; }
  .brand-name small { font-size: 8.5px; }
  .header-actions { gap: 5px; }
  .route-card-grid { grid-template-columns: 1fr; }
  .guide-card-grid { grid-template-columns: 1fr; }
  .site-search-form { grid-template-columns: 1fr; }
  .header-cta { display: none; }
  .lang-toggle { padding-inline: 7px; font-size: 11px; }
  .menu-toggle { width: 38px; height: 40px; }
  .hero h1 { font-size: clamp(37px,10vw,43px); }
  .hero-brand-primary { font-size: clamp(34px,10vw,42px); }
  .hero-brand-sub { font-size: clamp(19px,5.8vw,23px); }
  .gallery-card, .gallery-card.gallery-feature { height: 220px; }
  .gallery-card.gallery-feature { height: 265px; }
}

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

/* Dedicated cost and materials pages */
.subpage-hero { padding-block: 94px 75px; color: white; background: linear-gradient(110deg,#101720 0%,#1d2936 65%,#2a3642 100%); }
.subpage-hero h1 { max-width: 880px; margin: 0 0 12px; color: var(--gold-light); font-size: clamp(38px,6vw,68px); font-weight: 500; line-height: 1.35; }
.subpage-hero p:not(.eyebrow) { max-width: 760px; margin: 0; color: #d0ccc3; font-size: 14px; line-height: 2; }
.cost-page-section, .material-directory { background: #f0ede6; }
.cost-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(290px,.65fr); gap: 22px; align-items: start; }
.cost-form, .cost-result-card { min-width: 0; padding: 28px; background: white; box-shadow: 0 14px 42px rgba(17,17,15,.06); }
.cost-form h2, .cost-result-card h2 { margin: 0 0 20px; font-size: 24px; }
.cost-form .form-grid { margin-bottom: 18px; }
.option-set { margin: 15px 0 20px; border: 1px solid #ded9cf; padding: 15px; }
.option-set legend { padding-inline: 7px; font-size: 12px; font-weight: 600; }
.check-option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.check-option-grid label { display: flex; align-items: center; gap: 9px; color: #48443d; font-size: 12px; line-height: 1.7; }
.check-option-grid input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: #947542; }
.cost-status { margin: 16px 0 0; border-inline-start: 3px solid var(--gold); padding: 12px 14px; color: #554c3d; background: #f5f1e9; font-size: 12px; line-height: 1.9; }
.cost-result-card { position: sticky; top: 90px; border-top: 3px solid var(--gold); }
.cost-result-card h2 { margin: 14px 0 3px; }
.unavailable-amount { margin: 0; color: #887651; font: 700 38px var(--font-en); letter-spacing: .08em; }
.cost-result-card > p:not(.unavailable-amount) { color: var(--ink-muted); font-size: 12px; line-height: 1.9; }
.result-breakdown { margin: 20px 0; border-top: 1px solid var(--line-dark); }
.result-breakdown div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line-dark); padding-block: 12px; font-size: 11px; }
.result-breakdown dt { color: #635f56; }
.result-breakdown dd { margin: 0; color: #81704c; font-weight: 600; white-space: nowrap; }
.cost-result-card .button { width: 100%; }
.cost-form [hidden] { display: none !important; }
.cost-form .field, .floor-area-row { min-width: 0; }
.cost-form input:not([type="checkbox"]), .cost-form select { max-width: 100%; min-height: 46px; }
.floor-area-row { padding-block: 14px; border-bottom: 1px solid var(--line-light, #e7e2d9); }
.floor-area-row:last-child { border-bottom: 0; }
.floor-area-row h3 { margin: 0 0 12px; color: var(--charcoal); font-size: 16px; }
.cost-area-summary { padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid #ded8ce; }
.cost-area-summary .result-breakdown dd { max-width: 55%; text-align: end; overflow-wrap: anywhere; white-space: normal; }
.cost-floor-totals, .cost-pricing-notes { font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .cost-form input, .cost-form select { font-size: 16px; }
  .cost-form .option-set { min-width: 0; margin-inline: 0; padding-inline: 10px; }
}
.estimate-notes { background: white; }
.estimate-note-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid var(--line-dark); }
.estimate-note-grid article { padding: 22px; border-inline-start: 1px solid var(--line-dark); }
.estimate-note-grid article:first-child { border-inline-start: 0; }
.estimate-note-grid h3 { margin: 0 0 8px; font-size: 16px; }
.estimate-note-grid p { margin: 0; color: var(--ink-muted); font-size: 12px; line-height: 2; }
.price-data-banner { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; border: 1px solid #d8c9a8; padding: 16px; background: #f8f4eb; }
.price-data-banner > div { flex: 1; }
.price-data-banner strong { color: #554427; font-size: 13px; }
.price-data-banner p { margin: 4px 0 0; color: #6d685e; font-size: 11px; line-height: 1.8; }
.status-dot { width: 11px; height: 11px; flex: 0 0 11px; border-radius: 50%; background: #b08437; box-shadow: 0 0 0 4px #e8dcc4; }
.directory-controls { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 13px; align-items: end; margin-bottom: 24px; }
.directory-controls .field small { color: #787369; font-size: 10px; font-weight: 400; }
.directory-controls select:disabled { color: #79746b; background: #ece9e2; }
.material-category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.material-category-card { position: relative; min-width: 0; min-height: 230px; border: 1px solid #ded9cf; padding: 21px; background: white; }
.material-category-card[hidden] { display: none; }
.material-category-card > span { color: #a88b51; font: 11px var(--font-en); }
.material-category-card h2 { margin: 13px 0 8px; font-size: 17px; line-height: 1.7; }
.material-category-card p { min-height: 62px; margin: 0 0 15px; color: var(--ink-muted); font-size: 11px; line-height: 1.9; }
.material-category-card small { display: inline-block; border-inline-start: 2px solid #c4a76e; padding-inline-start: 8px; color: #777166; font-size: 10px; }
.empty-category { margin: 25px 0; border: 1px dashed #c9c1b1; padding: 22px; color: #625d53; text-align: center; }
.quality-compare { margin-top: 70px; border-top: 1px solid var(--line-dark); padding-top: 35px; }
.quality-compare h2 { margin: 0; font-size: clamp(24px,3.4vw,38px); line-height: 1.5; }
.quality-compare > p:not(.eyebrow) { max-width: 800px; color: var(--ink-muted); font-size: 12px; line-height: 1.9; }
.quality-criteria { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.quality-criteria span { border: 1px solid #c8bea9; padding: 9px 12px; color: #5b4d31; background: #faf8f3; font-size: 11px; }
@media (max-width: 980px) {
  .cost-layout { grid-template-columns: 1fr 1fr; }
  .directory-controls { grid-template-columns: 1fr 1fr; }
  .material-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .subpage-hero { padding-block: calc(96px + env(safe-area-inset-top, 0px)) 52px; }
  .subpage-hero h1 { font-size: clamp(34px,9vw,48px); }
  .cost-layout { grid-template-columns: 1fr; }
  .cost-form, .cost-result-card { padding: 22px 17px; }
  .cost-result-card { position: static; }
  .check-option-grid, .directory-controls, .material-category-grid { grid-template-columns: 1fr; }
  .estimate-note-grid { grid-template-columns: 1fr; }
  .estimate-note-grid article, .estimate-note-grid article:first-child { border-inline-start: 0; border-bottom: 1px solid var(--line-dark); padding: 18px 4px; }
  .estimate-note-grid article:last-child { border-bottom: 0; }
  .price-data-banner { align-items: flex-start; flex-wrap: wrap; }
  .material-category-card { min-height: 0; padding: 18px; }
  .material-category-card p { min-height: 0; }
}

/* Advertising inquiry: local-only preview until a reviewed backend is connected. */
.ads-intro { background: #f3f0e9; }
.ads-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.82fr); gap: 30px; align-items: start; }
.ads-content, .ad-request-card { min-width: 0; }
.ads-content .section-heading { align-items: start; gap: 18px; }
.ads-content .section-intro { max-width: 390px; }
.ad-placement-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 27px 0; }
.ad-placement-grid article { display: flex; align-items: center; gap: 12px; min-height: 76px; border: 1px solid #ddd7ca; padding: 14px; background: rgba(255,255,255,.65); }
.ad-placement-grid article span { color: #9c7c43; font: 12px var(--font-en); }
.ad-placement-grid article strong { color: #302c24; font-size: 12px; line-height: 1.8; }
.ad-package-empty, .ad-workflow-note { margin-top: 15px; border: 1px solid #ded8cb; padding: 21px; background: white; }
.ad-package-empty h3, .ad-workflow-note h3 { margin: 10px 0 6px; font-size: 17px; }
.ad-package-empty p, .ad-workflow-note p { margin: 0; color: #686359; font-size: 12px; line-height: 2; }
.demo-pill { display: inline-block; border: 1px solid #c8b88f; padding: 5px 8px; color: #725d33; font-size: 9px; letter-spacing: .04em; }
.ad-workflow-note { border-inline-start: 3px solid var(--gold); }
.ad-request-card { padding: 27px; border-top: 3px solid var(--gold); background: white; box-shadow: 0 16px 48px rgba(17,17,15,.08); }
.ad-request-card > h2 { margin: 0 0 8px; font-size: clamp(22px,3vw,30px); }
.ad-local-notice, .draft-banner { margin: 0 0 20px; border-inline-start: 3px solid #b89553; padding: 11px 13px; color: #5e5138; background: #f7f2e8; font-size: 11px; line-height: 1.9; }
.ad-request-card .form-grid { gap: 14px; margin-bottom: 19px; }
.ad-request-card .field { min-width: 0; }
.ad-request-card .field input:not([type="checkbox"]), .ad-request-card .field select, .ad-request-card .field textarea { width: 100%; min-width: 0; }
.ad-request-card .field small { display: block; margin-top: 5px; color: #777166; font-size: 10px; line-height: 1.8; }
.ad-request-card .field .ad-files-status { color: #526246; }
.ad-request-card .field .ad-files-status.is-error { color: #a22f28; }
.ad-placement-options { display: flex; flex-wrap: wrap; gap: 10px 17px; border: 1px solid #ded9cf; padding: 13px; }
.ad-placement-options legend { padding-inline: 6px; font-size: 11px; font-weight: 600; }
.ad-placement-options label, .ad-rights { display: flex; align-items: flex-start; gap: 8px; color: #575248; font-size: 11px; line-height: 1.8; }
.ad-placement-options input, .ad-rights input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; accent-color: #9c7c43; }
.ad-request-card .button { width: 100%; }
.ad-form-status { min-height: 28px; margin: 14px 0 0; color: #75694f; font-size: 11px; line-height: 1.9; }
.ad-form-status.is-error { color: #9d3029; }
.ad-form-status.is-success { color: #416039; }
.ad-legal-links { margin: 13px 0 0; color: #777166; font-size: 10px; line-height: 2; }
.ad-legal-links a { color: #725d33; text-decoration: underline; text-underline-offset: 3px; }
.legal-content { background: #f3f0e9; }
.legal-draft { max-width: 860px; }
.legal-draft article { border-bottom: 1px solid #ddd7ca; padding: 20px 0; }
.legal-draft article h2 { margin: 0 0 8px; font-size: 18px; }
.legal-draft article p { margin: 0; color: #5f5a51; font-size: 13px; line-height: 2.1; }
.legal-draft > .button { margin-top: 23px; }

/* Guest 2D concept studio. All geometry here is for visualization, not compliance. */
.studio-hero .studio-start { width: fit-content; margin-top: 24px; }
.studio-intro { background: #f3f0e9; }
.studio-mode-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.studio-mode-grid article { min-height: 185px; border: 1px solid #ddd7ca; padding: 22px; background: rgba(255,255,255,.68); }
.studio-mode-grid article > span { color: #9c7c43; font: 12px var(--font-en); }
.studio-mode-grid h3 { margin: 16px 0 8px; font-size: 17px; }
.studio-mode-grid p { margin: 0; color: #686359; font-size: 12px; line-height: 2; }
.studio-workspace { background: #fff; }
.studio-disclaimer { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 22px; border-inline-start: 3px solid var(--gold); padding: 14px 16px; color: #5c513c; background: #f7f2e8; font-size: 12px; line-height: 1.9; }
.studio-disclaimer strong { flex: 0 0 auto; color: #554427; }
.studio-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(300px,.75fr); gap: 18px; align-items: start; }
.studio-canvas-card, .studio-control-card { min-width: 0; border: 1px solid #ded9cf; background: #fff; }
.studio-canvas-card { overflow: hidden; }
.studio-canvas-toolbar, .studio-canvas-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 17px; }
.studio-canvas-toolbar { border-bottom: 1px solid #ebe7df; }
.studio-canvas-toolbar > div { display: flex; align-items: baseline; gap: 12px; }
.studio-canvas-toolbar strong { color: #28251f; font-size: 13px; }
.studio-canvas-toolbar > div span, .studio-canvas-foot { color: #777166; font-size: 10px; }
.studio-badge { border: 1px solid #c8b88f; padding: 4px 7px; color: #725d33; font: 9px var(--font-en); letter-spacing: .04em; }
.studio-svg-wrap { overflow: hidden; padding: 8px; background: #f1eee7; }
#studio-canvas { display: block; width: 100%; height: auto; touch-action: none; }
.studio-board-bg { fill: #faf9f6; }
.studio-dimension-label { fill: #65583f; font-family: inherit; font-size: 15px; text-anchor: middle; }
.studio-vertical-label { writing-mode: vertical-rl; }
.studio-room { cursor: grab; outline: none; }
.studio-room:active { cursor: grabbing; }
.studio-room rect { stroke: rgba(69,58,37,.6); stroke-width: 2; vector-effect: non-scaling-stroke; }
.studio-room.is-selected rect { stroke: #85672f; stroke-width: 3; }
.studio-room:focus rect { stroke: #171714; stroke-dasharray: 7 4; }
.studio-room-label, .studio-room-measure { fill: #28251f; font-family: inherit; text-anchor: middle; pointer-events: none; }
.studio-room-label { font-size: 15px; font-weight: 700; }
.studio-room-measure { fill: #514b3f; font-size: 12px; }
.studio-canvas-foot { min-height: 48px; border-top: 1px solid #ebe7df; }
.studio-canvas-foot span:first-child { line-height: 1.7; }
.studio-canvas-foot span:last-child { flex: 0 0 auto; color: #725d33; font-weight: 600; }
.studio-controls { display: grid; gap: 12px; }
.studio-control-card { padding: 18px; }
.studio-control-card h3 { margin: 0 0 14px; font-size: 15px; }
.studio-fields { display: grid; gap: 12px; }
.studio-dimension-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.studio-control-card .field { min-width: 0; }
.studio-control-card input, .studio-control-card select { width: 100%; min-width: 0; }
.studio-control-card input[type="color"] { height: 43px; padding: 4px; }
.studio-control-card input:disabled, .studio-control-card button:disabled { opacity: .5; cursor: not-allowed; }
.studio-help, .studio-export-card > p { margin: 0; color: #746f65; font-size: 10px; line-height: 1.9; }
.studio-action { width: 100%; margin-top: 13px; }
.studio-card-title-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.studio-card-title-row h3 { margin: 0 0 14px; }
.studio-delete { border: 0; margin-top: -12px; padding: 5px; color: #99483f; background: transparent; font: inherit; font-size: 10px; cursor: pointer; }
.studio-room-area { margin: 12px 0 0; color: #725d33; font-size: 11px; font-weight: 600; }
.studio-status { min-height: 0; margin: 10px 0 0; color: #416039; font-size: 10px; line-height: 1.8; }
.studio-status:empty { display: none; }
.studio-status.is-error { color: #9d3029; }
.studio-status.is-success { color: #416039; }
.studio-next { background: #f3f0e9; }
.studio-next-panel { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 24px 45px; align-items: center; border-top: 1px solid #d8d0c0; padding-top: 30px; }
.studio-next-panel h2 { margin: 0; font-size: clamp(28px,4vw,42px); line-height: 1.5; }
.studio-next-panel > p { margin: 0; color: #625d53; font-size: 12px; line-height: 2; }
.studio-next-panel > a { grid-column: 2; color: #72592e; justify-self: start; }

@media (max-width: 980px) {
  .studio-layout { grid-template-columns: minmax(0,1.2fr) minmax(270px,.8fr); gap: 12px; }
  .studio-control-card { padding: 15px; }
}
@media (max-width: 720px) {
  .studio-hero .studio-start { width: min(100%,260px); }
  .studio-mode-grid { grid-template-columns: 1fr; gap: 9px; }
  .studio-mode-grid article { min-height: 0; padding: 17px; }
  .studio-mode-grid h3 { margin: 9px 0 5px; }
  .studio-disclaimer { display: grid; gap: 3px; font-size: 11px; }
  .studio-layout { grid-template-columns: minmax(0,1fr); }
  .studio-svg-wrap { padding: 4px; }
  .studio-canvas-toolbar, .studio-canvas-foot { padding: 11px; }
  .studio-canvas-toolbar > div { gap: 7px; }
  .studio-canvas-foot { align-items: flex-start; }
  .studio-dimension-fields { gap: 8px; }
  .studio-controls { grid-template-columns: 1fr; }
  .studio-next-panel { grid-template-columns: 1fr; gap: 12px; }
  .design-detail-card { grid-template-columns: 1fr; gap: 20px; }
  .studio-next-panel > a { grid-column: 1; }
  .design-library-intro, .design-library-cta { align-items: stretch; flex-direction: column; }
  .design-library-intro > .button, .design-library-intro .contact-actions { width: 100%; }
  .design-category-grid, .design-grid { grid-template-columns: 1fr; }
  .design-category-card, .design-category-copy { min-height: 285px; }
  .category-assistant-note, .guide-helper-note { align-items: stretch; flex-direction: column; }
  .category-assistant-note .button, .guide-helper-note .button { width: 100%; justify-content: center; }
  .design-toolbar { grid-template-columns: 1fr 1fr; padding: 13px; gap: 10px; }
  .design-toolbar .field:first-child { grid-column: 1 / -1; }
  .design-library-cta .button { width: 100%; }
  .design-detail-facts { grid-template-columns: 1fr; }
  .design-related-grid { grid-template-columns: 1fr; }
  .design-related .section-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 980px) {
  .ads-grid { grid-template-columns: 1fr; }
  .ad-request-card { max-width: none; }
}
@media (max-width: 720px) {
  .ad-request-card { padding: 21px 16px; }
  .ad-placement-grid { grid-template-columns: 1fr; gap: 8px; margin-block: 20px; }
  .ad-placement-grid article { min-height: 62px; }
  .ads-content .section-heading { display: block; }
  .ads-content .section-intro { margin-top: 14px; }
  .ad-placement-options { display: grid; grid-template-columns: 1fr; }
  .legal-draft article { padding-block: 17px; }
}
