/* Kiến trúc Phú Cường — restored from the web archive (snapshot 2022-05-29, subpages 2017) */
:root {
  --primary: #00abfa;
  --primary-dark: #0277bd;
  --primary-ink: #0070a8;
  --accent: #ff9800;
  --red: #d9261c;
  --ink: #3c4858;
  --ink-soft: #6b7785;
  --line: #e5ecf1;
  --bg-alt: #f5f9fc;
  --font: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Mulish", "Open Sans", Arial, sans-serif;
  --wrap: 1170px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 70px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 15px/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-ink); }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 3px solid #0b3d5c; outline-offset: 2px; }
.top-bar :focus-visible, .site-nav :focus-visible, .hero :focus-visible, .hotline-card :focus-visible, .site-footer :focus-visible, .call-now:focus-visible { outline-color: #fff; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); line-height: 1.3; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.btn { display: inline-block; padding: 12px 34px; border: 2px solid var(--primary-ink); border-radius: 40px; background: var(--primary-ink); color: #fff; font: 600 15px/1.2 var(--font-head); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: #01579b; border-color: #01579b; color: #fff; }
.btn--outline { background: transparent; border-color: #fff; }
.btn--outline:hover { background: #fff; border-color: #fff; color: var(--primary-dark); }

/* ---------- top bar + header ---------- */
.top-bar { background: var(--primary-dark); color: #fff; font-size: 13.5px; }
.top-bar__inner { display: flex; flex-wrap: wrap; gap: 4px 26px; padding-block: 7px; }
.top-bar__item { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.top-bar__item svg { flex: none; }
.top-bar a { color: #fff; text-decoration: none; font-weight: 600; }
.top-bar a:hover { text-decoration: underline; }

.hero { position: relative; color: #fff; background: #2b3a4a url("../img/thiet-ke-biet-thu-hien-dai.jpg") center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.hero > * { position: relative; }

.site-nav { position: relative; z-index: 20; }
.site-nav__inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { position: relative; z-index: 60; color: #fff; font: 700 26px/1 var(--font-head); text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.brand span { font-weight: 300; }
.brand:hover { color: #fff; }
.nav-toggle { position: relative; z-index: 60; display: none; margin-left: auto; width: 44px; height: 44px; padding: 10px; background: none; border: 0; color: #fff; cursor: pointer; }
.nav-toggle svg { display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.primary-nav { margin-left: auto; }
.primary-nav__list { display: flex; flex-wrap: wrap; justify-content: flex-end; margin: 0; padding: 0; list-style: none; }
.primary-nav__list a { display: block; padding: 8px 11px; color: #fff; font: 600 13px/1.4 var(--font-head); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid transparent; }
.primary-nav__list a:hover { border-bottom-color: var(--primary); color: #fff; }

.hero__content { padding: 110px 20px 120px; text-align: center; }
.hero h1 { font-size: clamp(30px, 5vw, 56px); font-weight: 600; letter-spacing: .01em; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.hero__subtitle { margin: 16px auto 0; max-width: 40ch; font-size: clamp(17px, 2.2vw, 22px); font-weight: 300; }
.hero__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.hero__arrow { display: flex; justify-content: center; padding-bottom: 22px; }
.hero__arrow a { display: grid; place-items: center; width: 50px; height: 50px; color: #fff; animation: bounce 2s 3; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .hero__arrow a { animation: none; } }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { margin-bottom: 14px; text-align: center; color: var(--primary-ink); font-size: clamp(22px, 3vw, 30px); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.section__title::after { content: ""; display: block; width: 90px; height: 3px; margin: 14px auto 0; background: var(--accent); }
.section__lead { max-width: 820px; margin: 0 auto 36px; text-align: center; color: #5b6673; }
.hl { color: var(--red); font-weight: 700; }

/* giới thiệu */
.about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.about__intro { font-size: 16px; font-weight: 600; color: #5a6470; text-align: justify; }
.about__text p { text-align: justify; }
.company-card { margin: 0 0 20px; padding: 18px 20px; background: #fff; border-left: 4px solid var(--primary); box-shadow: 0 6px 22px rgba(0, 60, 100, .08); }
.company-card h3 { font-size: 17px; color: var(--primary-dark); text-transform: uppercase; margin-bottom: 6px; }
.company-card p { margin: 0; font-size: 14px; }
.office-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.office-gallery figure { margin: 0; }
.office-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.office-gallery figcaption { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; text-align: center; }

/* dịch vụ */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.service-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; }
.service-card { height: 100%; padding: 28px 24px 24px; background: #fff; border-radius: 6px; border-bottom: 3px solid transparent; box-shadow: 0 8px 26px rgba(0, 60, 100, .09); text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card { border-bottom-color: var(--accent); }
.service-card__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; }
.service-card h3 { font-size: 16px; color: var(--ink); text-transform: uppercase; margin-bottom: 8px; }
.service-card p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* báo giá */
.price-intro { max-width: 900px; margin: 0 auto 34px; padding: 20px 24px; background: #fff; border: 1px dashed var(--primary); border-radius: 6px; text-align: center; font-weight: 600; color: #4b5563; }
.price-intro a { color: var(--red); white-space: nowrap; }
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 40px; padding: 0; list-style: none; }
.reason { height: 100%; padding: 22px 22px 18px; background: #fff; border-radius: 6px; border-top: 3px solid var(--accent); box-shadow: 0 6px 20px rgba(0, 60, 100, .07); }
.reason h4 { display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: var(--primary-dark); text-transform: uppercase; margin-bottom: 8px; }
.reason h4 svg { flex: none; color: var(--accent); }
.reason p { margin: 0; font-size: 14px; text-align: justify; }
.subhead { margin: 0 0 18px; font-size: 19px; color: var(--primary-dark); text-transform: uppercase; }
.packages { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; margin-bottom: 40px; }
.package { padding: 22px 24px; background: #fff; border-radius: 6px; box-shadow: 0 6px 20px rgba(0, 60, 100, .07); }
.package h4 { font-size: 16px; color: var(--ink); margin: 14px 0 6px; text-transform: uppercase; }
.package h4:first-of-type { margin-top: 0; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 3px 0 3px 24px; font-size: 14px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 11px; height: 6px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; padding: 26px 22px 18px; background: #fff; border-radius: 6px; box-shadow: 0 6px 20px rgba(0, 60, 100, .07); counter-increment: step; }
.step::before { content: counter(step); position: absolute; top: -16px; left: 22px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-ink); color: #fff; font: 700 15px/1 var(--font-head); }
.step h4 { font-size: 15px; color: var(--primary-dark); text-transform: uppercase; margin-bottom: 8px; }
.step .check-list li { font-size: 13.5px; }

/* mẫu nhà */
.project-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.project { height: 100%; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 4px 16px rgba(0, 60, 100, .08); }
.project img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.project h3 { padding: 10px 12px 12px; font-size: 13px; font-weight: 700; color: var(--ink); text-transform: uppercase; line-height: 1.4; }
.styles-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 34px 0 0; padding: 0; list-style: none; }
.styles-list li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 30px; background: #fff; font-size: 13px; color: var(--ink-soft); }
.provinces { margin-top: 30px; text-align: center; font-size: 14px; color: var(--ink-soft); }
.provinces strong { color: var(--ink); }

/* liên hệ */
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.office-list { margin: 0; padding: 0; list-style: none; }
.office-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.office-list li:last-child { border-bottom: 0; }
.office-list svg { flex: none; margin-top: 4px; color: var(--primary); }
.office-list strong { display: block; color: var(--ink); }
.hotline-card { padding: 28px 26px; border-radius: 8px; background: linear-gradient(135deg, #01579b, var(--primary-dark)); color: #fff; text-align: center; }
.hotline-card h3 { font-size: 20px; text-transform: uppercase; margin-bottom: 8px; }
.hotline-card p { margin-bottom: 10px; }
.hotline-card__phone { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 12px; color: #fff; font: 800 30px/1.1 var(--font-head); text-decoration: none; }
.hotline-card__phone:hover { color: #fff; text-decoration: underline; }
.hotline-card__mail { color: #fff; font-weight: 600; }
.hotline-card__mail:hover { color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--primary-dark); color: #fff; font-size: 14px; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding-block: 18px 82px; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; }

.call-now { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 50; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 40px; background: var(--red); color: #fff; font: 700 15px/1 var(--font-head); text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.call-now:hover { color: #fff; background: #b71c1c; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .primary-nav__list a { padding: 8px 8px; font-size: 12px; }
  .project-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .js .nav-toggle { display: block; }
  .js .primary-nav { position: absolute; top: 0; left: 0; right: 0; padding: 76px 20px 20px; background: rgba(10, 25, 40, .97); display: none; }
  .js .primary-nav.is-open { display: block; }
  .primary-nav__list { flex-direction: column; }
  .primary-nav__list a { padding: 12px 4px; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about, .contact, .packages { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .brand { font-size: 21px; }
  .hero__content { padding: 60px 20px 70px; }
  .section { padding: 46px 0; }
  .reasons { grid-template-columns: minmax(0, 1fr); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .service-grid--2 { grid-template-columns: minmax(0, 1fr); }
  .office-gallery { gap: 10px; }
  .office-gallery figcaption { font-size: 11px; }
  .about__intro, .about__text p, .reason p { text-align: left; }
}

@media (max-width: 480px) {
  .service-grid { grid-template-columns: minmax(0, 1fr); }
}
