/* ======================================================================
   Tasisat Alborz — Responsive, RTL, Bootstrap 5.3-compatible theme
   Primary visual reference: supplied full-page homepage mockup.
   All photos are placeholders until real assets are approved.
   ====================================================================== */
:root {
  --navy: #092b49;
  --navy-dark: #06233c;
  --navy-ink: #103653;
  --orange: #f87609;
  --orange-hover: #e86300;
  --teal: #108b9b;
  --sky: #eaf7fb;
  --sky-soft: #f3fbfd;
  --text: #142f48;
  --muted: #617484;
  --border: #e3ecf0;
  --shadow: 0 3px 13px rgba(15, 54, 77, .09);
  --shadow-strong: 0 13px 28px rgba(15, 54, 77, .14);
  --radius: 16px;
  --font: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
}
html { direction: rtl; scroll-behavior: smooth; scroll-padding-top: 86px; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: #fff; font-family: var(--font); font-weight: 400; text-align: right; line-height: 1.85; overflow-x: hidden; }
body, input, textarea, button, select { font-family: var(--font); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(19, 149, 175, .45); outline-offset: 2px; }
a, a:hover { text-decoration: none; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 850; line-height: 1.48; }
p { line-height: 1.85; }
button { border: 0; }
.ui-icon { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.container-wide { width: min(1360px, calc(100% - 80px)); margin: 0 auto; }
.skip-link { position: fixed; right: 8px; top: -60px; z-index: 9999; background: white; border: 2px solid var(--orange); padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { top: 8px; }
.app-loading { margin: 50px auto; width: max-content; }
.noscript-warning { padding: 18px; background: #fff4dc; text-align: center; }

/* Header --------------------------------------------------------------- */
.site-header { position: relative; z-index: 80; width: 100%; height: 78px; background: #fff; box-shadow: 0 1px 8px rgba(13, 50, 78, .07); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 64px; height: 64px; }
.brand-mark svg, .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; gap: 0; line-height: 1.4; }
.brand-copy strong { color: var(--navy); font-size: 25px; font-weight: 900; letter-spacing: -.9px; }
.brand-copy small { color: #365774; font-size: 10px; font-weight: 700; }
.main-nav { flex: 1; display: flex; justify-content: center; align-items: center; gap: clamp(16px, 2.25vw, 37px); min-width: 0; }
.main-nav .nav-link { position: relative; color: #1e3042; white-space: nowrap; display: inline-flex; align-items: center; height: 78px; font-weight: 750; font-size: 14px; transition: color .2s ease; padding: 0 1px; }
.main-nav .nav-link:hover, .main-nav .nav-link.is-current { color: var(--navy); }
.main-nav .nav-link.is-current::after { content: ''; height: 3px; background: var(--orange); position: absolute; left: 0; right: 0; bottom: 10px; border-radius: 999px; }
.header-actions { display: flex; flex-direction: column; align-items: stretch; gap: 1px; flex: 0 0 auto; }
.header-call { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 12px; padding: 7px 17px; background: var(--orange); color: #fff; box-shadow: 0 5px 12px rgba(248, 118, 9, .2); font-weight: 900; font-size: 19px; white-space: nowrap; direction: ltr; }
.header-call .ui-icon { color: #fff; }
.header-call:hover, .btn-primary-orange:hover, .request-submit:hover { background: var(--orange-hover); color: #fff; }
.header-call-caption { color: #6a7783; font-weight: 700; font-size: 10px; text-align: center; line-height: 1.5; }
.menu-toggle { display: none; color: var(--navy); background: var(--sky); border-radius: 10px; padding: 10px; }

/* Hero ----------------------------------------------------------------- */
.hero { width: 100%; display: flex; flex-direction: row; min-height: 376px; isolation: isolate; overflow: hidden; background: var(--navy-dark); }
.hero-content { position: relative; flex: 0 0 56.5%; min-width: 0; color: #fff; display: flex; justify-content: center; align-items: center; background: radial-gradient(ellipse at 100% 16%, rgba(18, 114, 158, .38), transparent 65%), linear-gradient(116deg, #03233b 12%, #0c4567 60%, #0b4362 100%); }
.hero-content__inner { position: relative; z-index: 2; width: min(630px, calc(100% - 90px)); padding: 32px 0; }
.hero-content__mountain { pointer-events: none; position: absolute; inset: 0 0 0 auto; opacity: .7; width: 76%; display: flex; align-items: flex-end; justify-content: flex-end; }
.hero-content__mountain svg { width: 100%; height: 100%; }
.hero h1 { font-size: clamp(29px, 3.15vw, 48px); font-weight: 900; color: white; line-height: 1.46; letter-spacing: -.8px; text-shadow: 0 3px 7px rgba(0,0,0,.1); }
.hero h1 em { color: #ff8b12; font-style: normal; }
.hero p { color: #effaff; font-size: clamp(12px, 1vw, 16px); font-weight: 600; line-height: 2.05; max-width: 550px; margin-top: 13px; }
.hero-location { display: inline-flex; align-items: center; gap: 6px; margin: 16px 0 18px; background: rgba(24, 126, 167, .39); border: 1px solid rgba(208, 243, 255, .18); border-radius: 30px; padding: 6px 12px; color: #f0fcff; font-size: 12px; font-weight: 750; }
.hero-location .ui-icon { color: #78e2f4; }
.hero-buttons { display: flex; align-items: stretch; gap: 16px; }
.btn-primary-orange, .btn-secondary-white { border-radius: 10px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 12px 21px; min-width: 188px; min-height: 47px; font-size: 14px; font-weight: 850; transition: background .2s, transform .2s, box-shadow .2s; }
.btn-primary-orange { background: var(--orange); color: white; box-shadow: 0 4px 12px rgba(248, 118, 9, .2); }
.btn-secondary-white { background: #fff; color: var(--navy); }
.btn-secondary-white:hover { background: #ecf8fd; color: var(--navy); }
.btn-primary-orange:active, .btn-secondary-white:active { transform: translateY(1px); }
.hero-media { position: relative; flex: 0 0 43.5%; min-height: inherit; overflow: hidden; }
.hero-media::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 40px; background: linear-gradient(270deg, rgba(9,49,76,.48), transparent); pointer-events: none; }

/* Image placeholders: keep exact slot proportions, replace via imageUrl. */
.photo-img { width: 100%; height: 100%; display: block; object-fit: cover; }
.photo-placeholder { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; overflow: hidden; text-align: center; background: linear-gradient(135deg, #f0f5f9 0%, #dfeaf0 100%); color: #7894a7; }
.photo-placeholder::before { content: ''; position: absolute; inset: 12px; border: 1.5px dashed rgba(98, 137, 157, .39); border-radius: 10px; pointer-events: none; }
.photo-placeholder::after { content: ''; position: absolute; width: 48%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.24); filter: blur(12px); transform: translate(80%,-50%); pointer-events: none; }
.photo-placeholder__drawing { position: relative; z-index: 1; display: grid; place-items: center; width: fit-content; color: #6a9bb8; opacity: .8; }
.photo-placeholder__text { z-index: 1; max-width: 88%; padding: 0 9px; font-size: 12px; line-height: 1.7; font-weight: 700; }
.photo-placeholder__badge { z-index: 1; padding: 1px 9px; font-size: 10px; background: rgba(255,255,255,.8); border-radius: 30px; color: #64889c; }
.photo-placeholder--hero { background: radial-gradient(circle at 40% 34%, #f2f7fb, #d6e4ed 72%, #c5d9e8); }
.photo-placeholder--hero::before { inset: 20px; border: 2px dashed rgba(85, 126, 153, .4); border-radius: 17px; }
.photo-placeholder--hero .photo-placeholder__text { font-size: 18px; max-width: 270px; }
.photo-placeholder--hero .photo-placeholder__drawing { color: #3c7799; opacity: .7; }
.photo-placeholder--service { background: linear-gradient(155deg, #f9fcfd, #e8f1f5); border-radius: 12px; }
.photo-placeholder--service::before { inset: 7px; border-color: rgba(121, 156, 175, .23); border-radius: 7px; }
.photo-placeholder--service .photo-placeholder__text { font-size: 9px; }
.photo-placeholder--service .photo-placeholder__badge { display: none; }
.photo-placeholder--project, .photo-placeholder--article { background: linear-gradient(135deg,#dce9f1,#bfd8e5); }
.photo-placeholder--project .photo-placeholder__text, .photo-placeholder--article .photo-placeholder__text { max-width: 80%; color: #567d94; font-size: 11px; }
.photo-placeholder--project .photo-placeholder__badge, .photo-placeholder--article .photo-placeholder__badge { font-size: 9px; }
.photo-placeholder--van { background: linear-gradient(115deg,#e8f3f7,#b6d2e1); }
.photo-placeholder--van .photo-placeholder__drawing { color: #396c91; }
.photo-placeholder--modal { height: 260px; background: #eaf4f9; }

/* Sections and headings ------------------------------------------------ */
.section-shell { padding: 29px 0 20px; }
.section-heading { text-align: center; flex: 1; }
.section-heading h2 { color: var(--navy); display: flex; align-items: center; justify-content: center; gap: 16px; font-size: clamp(20px, 1.8vw, 27px); font-weight: 900; }
.section-heading h2 span { width: 48px; max-width: 12%; border-top: 3px solid var(--orange); border-radius: 30px; }
.section-heading p { font-size: 13px; font-weight: 550; color: #657482; margin-top: 5px; }
.section-services { padding-top: 21px; }
.services-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; margin-top: 19px; }
.service-card { min-width: 0; background: #fff; border: 1px solid #e7edf0; border-radius: 17px; box-shadow: var(--shadow); padding: 10px; text-align: center; transition: transform .2s, box-shadow .2s; }
.service-card:hover, .project-card:hover, .article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-strong); }
.service-card__photo { height: 112px; border-radius: 12px; overflow: hidden; }
.service-card__body { padding: 11px 2px 2px; }
.service-card h3 { color: var(--navy); font-weight: 900; font-size: 16px; min-height: 26px; }
.service-card p { color: #677583; font-size: 12px; line-height: 1.8; margin: 5px auto 11px; min-height: 43px; max-width: 175px; }
.text-action { display: inline-flex; align-items: center; justify-content: center; gap: 3px; padding: 3px 10px; font-size: 11px; font-weight: 850; color: var(--orange); background: #fff; border: 1px solid #e3e9ed; border-radius: 40px; }
.text-action:hover { color: var(--orange-hover); border-color: #ffb677; background: #fffaf7; }

/* Why choose us -------------------------------------------------------- */
.why-section { padding-top: 2px; padding-bottom: 0; }
.why-bar { display: grid; grid-template-columns: 1.23fr 3.7fr; align-items: center; background: linear-gradient(110deg,#eaf8fb,#f2fbfd 70%,#e9f6fa); border-radius: 24px; min-height: 143px; padding: 20px 24px; }
.why-intro { padding: 0 13px; }
.why-intro h2 { color: var(--navy); font-size: 25px; font-weight: 900; }
.why-intro p { margin-top: 6px; font-size: 12px; color: #465f72; line-height: 1.9; }
.benefits-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.benefit { min-height: 105px; padding: 2px 14px 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; border-right: 1px solid #c5dfe9; }
.benefit:first-child { border-right: 1px solid #c5dfe9; }
.benefit .ui-icon { color: var(--orange); margin-bottom: 5px; }
.benefit h3 { color: var(--navy); font-size: 16px; font-weight: 900; }
.benefit p { font-size: 11px; line-height: 1.8; color: #5b7182; max-width: 180px; margin-top: 2px; }

/* Coverage ------------------------------------------------------------- */
.coverage-section { position: relative; overflow: hidden; background: #fff; padding: 18px 0 21px; isolation: isolate; }
.coverage-inner { position: relative; z-index: 2; }
.coverage-section .section-heading p { margin-top: 3px; }
.areas-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 18px; margin: 19px auto 0; width: min(1100px, 92%); }
.area-chip { white-space: nowrap; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 7px 11px; font-weight: 900; font-size: 15px; color: var(--navy); background: linear-gradient(90deg,#e7f7fc,#d9f0f8); border-radius: 36px; }
.area-chip .ui-icon { color: var(--orange); fill: rgba(250, 115, 11, .13); }
.skyline { z-index: -1; pointer-events: none; position: absolute; width: 260px; height: 70px; bottom: 0; opacity: .38; background: linear-gradient(to top, #7fb8d9,transparent); clip-path: polygon(0 100%,0 55%,5% 55%,5% 80%,8% 80%,8% 30%,11% 30%,11% 78%,16% 78%,16% 40%,19% 40%,19% 95%,24% 95%,24% 20%,26% 20%,26% 0,28% 20%,28% 100%,34% 100%,34% 60%,40% 60%,40% 85%,46% 85%,46% 42%,49% 42%,49% 100%,55% 100%,55% 70%,63% 70%,63% 100%,71% 100%,71% 55%,78% 55%,78% 100%,100% 100%); }
.skyline-left { left: 0; }
.skyline-right { right: -38px; transform: scaleX(-1); opacity: .2; }

/* Projects ------------------------------------------------------------- */
.section-projects { background: #fff; padding-top: 12px; }
.section-heading-row { display: flex; align-items: end; justify-content: center; position: relative; }
.section-heading-row .outline-link { position: absolute; left: 0; top: 22px; }
.outline-link { display: inline-flex; gap: 5px; align-items: center; padding: 5px 13px; border: 1px solid #ffad75; border-radius: 30px; background: #fff; color: #e96908; font-size: 11px; font-weight: 850; white-space: nowrap; }
.outline-link:hover { background: #fff3e9; color: #d55c00; }
.projects-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; margin-top: 19px; }
.project-card { border: 1px solid #e3e9ed; box-shadow: var(--shadow); overflow: hidden; border-radius: 14px; background: white; min-width: 0; transition: transform .2s,box-shadow .2s; }
.project-card > button, .project-card > a { display: flex; flex-direction: column; width: 100%; padding: 0; background: none; text-align: right; color: inherit; text-decoration:none; }
.project-photo { width: 100%; height: 155px; overflow: hidden; }
.brands-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; margin-top:24px; }
.brand-card { min-height:170px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; padding:18px 10px; background:#fff; border:1px solid #e5eef2; border-radius:14px; text-align:center; box-shadow:0 6px 18px rgba(16,62,84,.06); }
.brand-card img { width:100%; height:64px; object-fit:contain; }
.brand-fallback { display:grid; place-items:center; width:100%; height:64px; color:#0b4c6b; font-size:21px; font-weight:800; }
.brand-card h3 { margin:5px 0 0; font-size:16px; color:#103e54; }
.brand-card small { color:#718996; direction:ltr; }
.authorized-badge { color:#16824a; font-size:11px; font-weight:700; }
.hero-complement { margin:0 0 8px; color:#ffd1a7; font-weight:700; }
.project-card__caption { padding: 9px 13px 10px; width: 100%; }
.project-card__caption h3 { font-size: 13px; font-weight: 850; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.project-card__caption span { font-size: 11px; font-weight: 650; color: #647787; display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; }
.project-card__caption .ui-icon { color: var(--orange); }

/* Articles ------------------------------------------------------------- */
.section-articles { padding-top: 21px; padding-bottom: 25px; }
.articles-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 18px; }
.article-card { min-width: 0; background: white; border-radius: 14px; border: 1px solid #e5edf2; box-shadow: var(--shadow); overflow: hidden; transition: transform .2s,box-shadow .2s; }
.article-card__button { display: flex; width: 100%; min-height: 158px; gap: 0; padding: 0; background: transparent; color: inherit; text-align: right; }
.article-card__photo { flex: 0 0 38%; min-width: 0; min-height: 158px; overflow: hidden; }
.article-card__copy { min-width: 0; padding: 13px 14px 10px; display: flex; flex-direction: column; align-items: flex-start; }
.article-category { display: inline-block; color: var(--teal); background: #ecf8fb; border-radius: 20px; padding: 1px 8px; font-size: 10px; font-weight: 800; margin-bottom: 5px; }
.article-card__copy h3 { color: var(--navy); font-size: 14px; font-weight: 900; line-height: 1.6; }
.article-card__copy p { font-size: 11px; color: #697a89; line-height: 1.8; margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; color: #7b8994; font-size: 10px; font-weight: 550; flex-wrap: wrap; }
.article-meta span { display: inline-flex; align-items: center; gap: 3px; }
.article-meta .ui-icon { color: var(--orange); }

/* Reviews -------------------------------------------------------------- */
.reviews-section { background: linear-gradient(180deg,#e9f8fc,#dcf1f7); padding: 24px 0 15px; }
.reviews-shell { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.reviews-grid { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.carousel-arrow { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; background: #fff; box-shadow: 0 3px 8px rgba(21,79,106,.16); color: var(--navy); border-radius: 50%; }
.carousel-arrow:hover { color: var(--orange); }
.review-card { background: #fff; padding: 16px 18px 11px; border-radius: 13px; min-height: 156px; box-shadow: 0 3px 10px rgba(26, 84, 110, .13); }
.review-card__top { display: flex; gap: 12px; align-items: flex-start; }
.review-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex: 0 0 48px; background: #d9e9f1; color: #52819e; overflow: hidden; }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-card blockquote { color: #31475a; font-size: 12px; line-height: 1.9; margin: 0; font-weight: 550; min-height: 72px; }
.review-card__meta { display: flex; justify-content: space-between; align-items: end; gap: 7px; margin-top: 10px; }
.review-identity { display: flex; flex-direction: column; }
.review-identity b { color: var(--navy); font-size: 12px; }
.review-identity small { font-size: 10px; color: #678394; display: flex; align-items: center; gap: 4px; }
.review-identity .ui-icon { color: var(--teal); }
.review-stars { display: flex; gap: 1px; color: #f6a200; }
.review-stars .ui-icon { fill: #f6a200; stroke-width: 1.3; }
.demo-disclaimer { text-align: center; font-size: 10px; color: #567d8c; margin-top: 9px; }

/* Contact / Request form ----------------------------------------------- */
.contact-section { background: linear-gradient(180deg,#f6fbfc,#ecf7fa); padding: 23px 0 16px; }
.contact-grid { display: grid; grid-template-columns: .98fr .98fr 1.25fr; gap: 18px; align-items: stretch; }
.contact-van { border-radius: 24px; overflow: hidden; position: relative; min-height: 300px; box-shadow: 0 2px 12px rgba(23,80,102,.09); }
.contact-van > .photo-placeholder, .contact-van > .photo-img { position: absolute; inset: 0; }
.van-callout { position: absolute; inset: auto 0 0; padding: 18px 23px 20px; background: linear-gradient(95deg,rgba(1,35,58,.98),rgba(6,59,91,.93)); color: #fff; border-radius: 42px 42px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.van-callout strong { color: #fff; font-size: 15px; line-height: 1.8; font-weight: 800; }
.van-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; background: transparent; padding: 0; direction: ltr; font-weight: 900; font-size: 18px; }
.van-phone:hover { color: #ff9d51; }
.contact-info { text-align: center; padding: 8px 6px; display: flex; flex-direction: column; align-items: stretch; }
.contact-info h2, .request-card h2 { font-size: 20px; font-weight: 900; display: flex; gap: 6px; align-items: center; justify-content: center; color: var(--navy); }
.contact-info h2 .ui-icon, .request-card h2 .ui-icon { color: var(--orange); }
.contact-intro { font-size: 12px; margin: 6px auto 10px; color: #657687; line-height: 1.9; max-width: 340px; }
.contact-phones { display: flex; flex-direction: column; gap: 4px; }
.contact-phone-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12px; font-weight: 800; padding: 3px 9px; }
.contact-phone-row span { display: inline-flex; align-items: center; gap: 7px; }
.contact-phone-row .ui-icon { color: var(--orange); }
.contact-phone-row button { background: transparent; padding: 0; font-size: 17px; font-weight: 900; color: var(--navy); direction: ltr; }
.whatsapp-button { display: flex; justify-content: center; align-items: center; gap: 9px; width: 100%; min-height: 62px; background: #09b332; border-radius: 11px; color: #fff; margin: 11px 0 10px; box-shadow: 0 4px 9px rgba(7,144,47,.19); }
.whatsapp-button:hover { background: #07962a; }
.whatsapp-button span { display: flex; flex-direction: column; line-height: 1.5; text-align: right; }
.whatsapp-button strong { color: white; font-size: 16px; }
.whatsapp-button small { font-size: 10px; color: #e7ffef; }
.contact-address { display: flex; align-items: flex-start; justify-content: center; gap: 8px; color: var(--navy); font-size: 11px; }
.contact-address .ui-icon { color: var(--orange); margin-top: 4px; }
.contact-address strong { font-size: 12px; }
.contact-address p { font-size: 10.5px; line-height: 1.75; color: #657687; max-width: 290px; }
.request-card { background: rgba(255,255,255,.92); border: 1px solid #e2eaee; padding: 15px 18px 13px; box-shadow: var(--shadow); border-radius: 17px; scroll-margin-top: 96px; }
.request-card > p { font-size: 11px; color: #647a8a; text-align: center; margin: 4px 0 10px; }
.request-card form { display: flex; flex-direction: column; gap: 8px; }
.request-card label { display: flex; flex-direction: column; gap: 3px; font-size: 10px; font-weight: 800; color: #4c6271; }
.request-card label span { padding-inline-start: 4px; }
.request-card label b { color: var(--orange); font-size: 12px; }
.form-two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.request-card input, .request-card select, .request-card textarea { width: 100%; border: 1px solid #d6e2e8; border-radius: 9px; background: #f8fbfd; color: var(--navy); padding: 7px 11px; outline: none; font-size: 12px; font-weight: 550; min-height: 38px; box-shadow: inset 0 1px 2px rgba(18,64,86,.02); }
.request-card input::placeholder, .request-card textarea::placeholder { color: #9aabb5; font-weight: 450; }
.request-card select { cursor: pointer; }
.request-card textarea { min-height: 56px; max-height: 140px; resize: vertical; }
.request-card input:focus, .request-card select:focus, .request-card textarea:focus { border-color: #76bdcb; box-shadow: 0 0 0 3px rgba(29,162,185,.1); }
.request-submit { min-height: 41px; border-radius: 9px; background: var(--orange); color: white; font-weight: 900; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-status { font-size: 11px; text-align: right; margin: 0; }
.form-status:empty { display: none; }
.form-status.is-error { color: #bb2732; }
.form-status.is-success { color: #137a43; }

/* Footer --------------------------------------------------------------- */
.site-footer { background: linear-gradient(110deg,#082844,#0c3558 50%,#092a47); color: white; padding: 27px 0 13px; }
.footer-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1.25fr 1fr; gap: 17px; }
.footer-brand-block { padding-inline-start: 9px; }
.brand--footer .brand-copy strong, .brand--footer .brand-copy small { color: #fff; }
.brand--footer .brand-copy strong { font-size: 20px; }
.brand--footer .brand-copy small { font-size: 9px; opacity: .76; }
.brand--footer .brand-mark { width: 53px; height: 53px; filter: brightness(1.4); }
.footer-brand-block > p { color: #c3d9e8; margin-top: 10px; font-size: 11px; line-height: 2; max-width: 320px; }
.footer-col, .footer-social { padding-inline-start: 16px; border-right: 1px solid rgba(191,225,241,.35); }
.footer-col h3 { font-size: 16px; font-weight: 900; color: white; margin: 5px 0 9px; }
.footer-col a, .footer-col button, .footer-col > span { display: flex; align-items: flex-start; gap: 5px; color: #d4e4ee; background: none; text-align: right; padding: 1px 0; font-size: 12px; min-height: 24px; font-weight: 550; line-height: 1.8; }
.footer-col a:hover, .footer-col button:hover { color: #ff9b50; }
.footer-col .ui-icon { color: #ff9748; margin-top: 3px; }
.footer-contacts button { direction: ltr; justify-content: flex-end; }
.footer-contacts > span { line-height: 1.75; }
.footer-social { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-wa { display: inline-flex; align-items: center; gap: 6px; justify-content: center; min-width: 120px; padding: 6px 12px; border-radius: 9px; background: #08b42f; color: #fff; font-weight: 850; font-size: 13px; }
.footer-wa:hover { background: #03952b; }
.social-icons { display: flex; gap: 17px; align-items: center; }
.social-icons button { background: transparent; color: #dce9f4; padding: 0; }
.social-icons button:hover { color: #ff993b; }
.footer-social p { color: #bfced8; font-size: 10px; line-height: 1.8; }
.footer-bottom { margin-top: 22px; border-top: 1px solid rgba(214,238,249,.31); padding-top: 11px; display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; color: #adc4d4; font-size: 10px; }
.mobile-bottom-bar { display: none; }

/* Dialog, preview notices --------------------------------------------- */
.content-modal { width: min(650px, calc(100% - 32px)); max-height: min(85vh,900px); margin: auto; padding: 0; border: 0; border-radius: 21px; color: var(--navy); box-shadow: 0 26px 90px rgba(7,39,64,.3); overflow: auto; }
.content-modal::backdrop { background: rgba(4,27,45,.62); backdrop-filter: blur(4px); }
.modal-frame { position: relative; }
.modal-close { z-index: 2; position: absolute; top: 12px; left: 13px; width: 35px; height: 35px; border-radius: 50%; color: var(--navy); background: white; box-shadow: 0 2px 9px rgba(0,0,0,.16); font-size: 29px; line-height: 28px; display: grid; place-items: center; }
.modal-close:hover { background: #f0f6f9; }
.detail-hero, .article-modal > .photo-placeholder, .article-modal > .photo-img { width: 100%; height: 260px; }
.detail-content { padding: 23px 28px 29px; }
.detail-content h2, .list-modal h2 { font-size: 24px; font-weight: 900; }
.detail-content p { color: #526d80; font-size: 15px; line-height: 2.15; margin: 10px 0 22px; }
.modal-cta { width: fit-content; }
.list-modal { padding: 29px 25px; }
.list-modal__items { display: flex; flex-direction: column; margin-top: 15px; }
.list-modal__items button { display: flex; align-items: center; gap: 14px; background: white; color: var(--navy); border-bottom: 1px solid #e1edf3; padding: 15px 0; text-align: right; font-weight: 750; }
.list-modal__items button span { flex: 1; }
.list-modal__items button .ui-icon { color: var(--orange); }
.list-modal__items button:hover { background: #f4fafd; }
.toast-message { z-index: 500; position: fixed; left: 50%; bottom: 28px; transform: translate(-50%,25px); opacity: 0; visibility: hidden; pointer-events: none; padding: 12px 20px; width: max-content; max-width: calc(100vw - 30px); text-align: center; background: var(--navy-dark); border: 1px solid rgba(255,255,255,.15); box-shadow: 0 9px 24px rgba(9,47,69,.24); color: white; border-radius: 12px; font-size: 13px; line-height: 1.8; transition: opacity .2s,transform .2s,visibility .2s; }
.toast-message.is-visible { opacity: 1; visibility: visible; transform: translate(-50%,0); }

/* Breakpoints ---------------------------------------------------------- */
@media (max-width: 1240px) {
  .container-wide { width: min(1180px,calc(100% - 48px)); }
  .site-header__inner { gap: 18px; }
  .brand-copy strong { font-size: 21px; }
  .brand-mark { width: 53px; height: 53px; }
  .main-nav { gap: 17px; }
  .main-nav .nav-link { font-size: 12.5px; }
  .header-call { font-size: 16px; padding: 6px 12px; }
  .hero-content__inner { width: calc(100% - 64px); }
  .service-card h3 { font-size: 14px; }
  .service-card p { font-size: 11px; }
  .benefit p { font-size: 10px; }
  .article-card__copy { padding: 10px; }
  .article-card__copy h3 { font-size: 12px; }
  .article-card__copy p { font-size: 10px; }
  .contact-grid { gap: 12px; }
}
@media (max-width: 1010px) {
  .site-header { height: 67px; }
  .site-header__inner { justify-content: space-between; }
  .brand { order: 1; }
  .menu-toggle { order: 2; display: grid; place-items: center; }
  .header-actions { order: 3; margin-inline-start: auto; }
  .main-nav { display: none; position: absolute; top: 67px; right: 0; left: 0; flex-direction: column; gap: 0; align-items: stretch; background: #fff; border-top: 1px solid #e4eef1; box-shadow: 0 14px 27px rgba(13,62,84,.15); padding: 10px 22px 14px; max-height: calc(100vh - 67px); overflow-y: auto; }
  .main-nav.is-open { display: flex; }
  .main-nav .nav-link { height: auto; padding: 12px 10px; font-size: 15px; border-bottom: 1px solid #edf2f4; }
  .main-nav .nav-link.is-current::after { top: 12px; right: 0; left: auto; bottom: 12px; width: 3px; height: auto; }
  .hero { min-height: 355px; }
  .hero-content { flex-basis: 58%; }
  .hero-media { flex-basis: 42%; }
  .hero h1 { font-size: clamp(27px,3vw,38px); }
  .services-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .service-card__photo { height: 130px; }
  .why-bar { grid-template-columns: 1fr; gap: 17px; }
  .why-intro { text-align: center; }
  .benefit { border-right: 1px solid #c5dfe9; }
  .benefit:first-child { border-right: 0; }
  .areas-grid { gap: 9px; width: 100%; }
  .area-chip { font-size: 12px; }
  .projects-grid { gap: 12px; }
  .brands-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .project-photo { height: 135px; }
  .articles-grid { gap: 9px; }
  .article-card__button { min-height: 180px; flex-direction: column; }
  .article-card__photo { flex: 0 0 auto; height: 110px; min-height: 110px; width: 100%; }
  .article-card__copy { min-height: 135px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-van { display: none; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3,1fr); }
  .footer-social { grid-column: 1 / -1; flex-direction: row; justify-content: center; border-right: 0; border-top: 1px solid rgba(255,255,255,.15); padding-top: 13px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .container-wide { width: calc(100% - 28px); }
  .site-header { height: 64px; }
  .site-header__inner { gap: 8px; }
  .brand-mark { width: 46px; height: 46px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { font-size: 8px; }
  .menu-toggle { order: 0; padding: 8px; margin-left: auto; margin-right: 0; }
  .brand { order: 1; margin-inline: auto; gap: 4px; }
  .header-actions { display: none; }
  .main-nav { top: 64px; }
  .hero { flex-direction: column; }
  .hero-content { width: 100%; flex-basis: auto; order: 2; }
  .hero-content__inner { padding: 28px 0 31px; width: calc(100% - 36px); }
  .hero h1 { font-size: clamp(27px,7vw,40px); }
  .hero p { font-size: 12px; }
  .hero-media { order: 1; width: 100%; flex-basis: auto; height: 225px; min-height: 225px; }
  .hero-media::after { inset: auto 0 0; width: auto; height: 30px; background: linear-gradient(0deg,rgba(10,56,79,.4),transparent); }
  .hero-location { margin: 13px 0 15px; }
  .hero-buttons { gap: 9px; }
  .btn-primary-orange, .btn-secondary-white { min-width: 0; flex: 1; font-size: 12px; padding: 10px; }
  .section-shell { padding: 24px 0 15px; }
  .section-heading h2 { font-size: 21px; gap: 8px; }
  .section-heading h2 span { width: 25px; border-top-width: 2px; }
  .section-heading p { font-size: 11px; max-width: 360px; margin-inline: auto; }
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; margin-top: 15px; }
  .brands-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .service-card { padding: 8px; }
  .service-card__photo { height: 105px; }
  .service-card__body { padding: 9px 1px 1px; }
  .service-card h3 { font-size: 14px; }
  .service-card p { font-size: 11px; min-height: 39px; }
  .why-bar { padding: 21px 12px; border-radius: 18px; gap: 17px; }
  .why-intro h2 { font-size: 21px; }
  .benefits-grid { grid-template-columns: repeat(2,1fr); gap: 14px 0; }
  .benefit, .benefit:first-child { border-right: 0; }
  .benefit:nth-child(2n) { border-right: 1px solid #c5dfe9; }
  .benefit h3 { font-size: 14px; }
  .benefit p { font-size: 11px; }
  .coverage-section { padding: 23px 0 23px; }
  .areas-grid { grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 17px; }
  .area-chip { font-size: 12px; gap: 4px; }
  .area-chip .ui-icon { width: 15px; }
  .section-heading-row { flex-direction: column; align-items: center; gap: 10px; }
  .section-heading-row .outline-link { position: static; }
  .projects-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .project-photo { height: 145px; }
  .project-card__caption { padding: 7px 9px 10px; }
  .project-card__caption h3 { font-size: 11px; }
  .articles-grid { grid-template-columns: 1fr; gap: 12px; }
  .article-card__button { flex-direction: row; min-height: 130px; }
  .article-card__photo { flex: 0 0 37%; width: 37%; height: auto; min-height: 130px; }
  .article-card__copy { min-height: 130px; padding: 12px; }
  .article-card__copy h3 { font-size: 14px; }
  .article-card__copy p { font-size: 11px; }
  .reviews-shell { gap: 6px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card { min-height: 145px; }
  .review-card:not(:first-child) { display: none; }
  .carousel-arrow { flex-basis: 30px; width: 30px; height: 30px; }
  .demo-disclaimer { font-size: 9px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-van { display: block; min-height: 230px; }
  .contact-van .van-callout { padding: 10px 18px 13px; }
  .van-callout strong { font-size: 12px; }
  .contact-info { order: 2; padding: 18px 11px; }
  .request-card { order: 1; }
  .contact-van { order: 3; }
  .request-card h2, .contact-info h2 { font-size: 20px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px 12px; }
  .footer-brand-block { grid-column: 1 / -1; padding: 0; }
  .footer-brand-block > p { max-width: 550px; }
  .footer-col { padding-inline-start: 7px; }
  .footer-social { grid-column: 1 / -1; flex-wrap: wrap; }
  .footer-bottom { font-size: 9px; margin-bottom: 58px; }
  .mobile-bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(3,1fr); min-height: 61px; padding-bottom: env(safe-area-inset-bottom); background: #fff; box-shadow: 0 -5px 15px rgba(13, 53, 78, .14); }
  .mobile-bottom-bar button, .mobile-bottom-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 4px; color: var(--navy); background: white; font-size: 10px; font-weight: 800; }
  .mobile-bottom-bar button:first-child { background: var(--orange); color: #fff; }
  .mobile-bottom-bar button:last-child { color: #0a9836; }
  .toast-message { bottom: 77px; }
}
@media (max-width: 360px) {
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { font-size: 7px; }
  .photo-placeholder__text { font-size: 10px; }
  .hero h1 { font-size: 26px; }
  .services-grid { gap: 7px; }
  .service-card__photo { height: 92px; }
  .area-chip { padding: 6px 3px; font-size: 11px; }
  .form-two-cols { grid-template-columns: 1fr; }
  .project-photo { height: 112px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Phase 5B homepage quality refinements */
.skip-link { left: 8px; right: auto; }
.hero-complement { margin: 0 0 5px; }
.hero-service-title { margin-top: 0 !important; color: #ffd0a5 !important; font-size: clamp(15px, 1.35vw, 20px) !important; font-weight: 800 !important; }
.services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-card { display: flex; flex-direction: column; height: 100%; padding: 11px; }
.service-card__photo { height: auto; aspect-ratio: 16 / 9; }
.service-card__body { display: flex; flex: 1; flex-direction: column; padding: 12px 3px 3px; }
.service-card h3 { min-height: 0; }
.service-card p { min-height: 0; }
.service-card .text-action { margin-top: auto; align-self: center; }
.areas-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; width: min(1100px, 100%); }
.projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-photo { height: auto; aspect-ratio: 4 / 3; }
.article-card__photo { min-height: 0; aspect-ratio: 16 / 9; }
.footer-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.footer-col a, .footer-contacts a, .footer-social a { display: flex; align-items: center; gap: 7px; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; }
.mobile-bottom-bar a:first-child { background: var(--orange); color: #fff; }
@media (max-width: 1010px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-photo { aspect-ratio: 4 / 3; height: auto; }
}
@media (max-width: 760px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card__photo { height: auto; aspect-ratio: 16 / 9; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-photo { height: auto; aspect-ratio: 4 / 3; }
  .article-card__photo { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 360px) {
  .services-grid { grid-template-columns: 1fr; }
}
@media print {
  .skip-link, .mobile-bottom-bar, .toast-message { display: none !important; }
}

/* Phase 5C targeted media and readability fixes */
.article-card { height: 100%; }
.article-card__button { flex-direction: column; height: 100%; min-height: 0; }
.article-card__photo { width: 100%; flex: 0 0 auto; height: auto; min-height: 0; aspect-ratio: 16 / 9; }
.article-card__copy { flex: 1; min-height: 0; }
.article-card__copy p { font-size: 12px; line-height: 1.85; }
.footer-brand-block > p, .footer-col a, .footer-contacts span, .footer-contacts a { font-size: 12px; line-height: 1.8; }
.areas-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: min(1100px, 100%); }
.area-chip { flex: 0 1 140px; }
@media (max-width: 760px) {
  .article-card__button { flex-direction: column; }
  .article-card__photo { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .article-card__copy { min-height: 0; }
  .footer-brand-block > p, .footer-col a, .footer-contacts span, .footer-contacts a { font-size: 12px; }
  .mobile-bottom-bar { min-height: 64px; }
  .footer-bottom { margin-bottom: 68px; }
}
/* Phase 3 internal content pages */
.internal-page{min-height:60vh;background:#f7fbfd}.content-page{padding:28px 20px 72px}.breadcrumbs{display:flex;gap:10px;align-items:center;font-size:.85rem;color:#648094;margin-bottom:28px}.breadcrumbs a{color:#167ca7;text-decoration:none}.content-page__heading{text-align:center;margin-bottom:32px}.content-page__heading h1{color:#0b2945;font-weight:800}.content-page__heading p{color:#60798b}.content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.content-card{background:#fff;border:1px solid #e3eef3;border-radius:16px;overflow:hidden;box-shadow:0 8px 24px #0b29450d}.content-card__photo{min-height:150px;background:#dff3fa}.content-card__body{padding:20px}.content-card__body h2{font-size:1.15rem;line-height:1.8}.content-card__body h2 a{color:#0b2945;text-decoration:none}.content-card__body p{color:#60798b;line-height:2}.content-card__body small{color:#e66916}.article-body{background:#fff;border-radius:16px;padding:28px;line-height:2.15;color:#334e60;max-width:900px;margin:auto}.article-body h2,.article-body h3{color:#0b2945}.article-body .photo-placeholder{margin-bottom:24px}.empty-state{grid-column:1/-1;text-align:center;background:#fff;border:1px dashed #b6d7e4;padding:35px;border-radius:14px;color:#60798b}.faq-list{max-width:900px;margin:auto}.faq-list details{background:#fff;border-bottom:1px solid #dbeaf0;padding:18px 22px}.faq-list summary{cursor:pointer;color:#0b2945;font-weight:700}.faq-list details div{padding-top:16px;color:#60798b;line-height:2}.pagination{margin-top:30px;justify-content:center}@media(max-width:800px){.content-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.content-grid{grid-template-columns:1fr}.content-page{padding-inline:15px}.article-body{padding:20px}}
