:root {
  --red: #d81e15;
  --red-dark: #b3160f;
  --navy: #0f4865;
  --navy-2: #1d3557;
  --ink: #1b2430;
  --muted: #5b6676;
  --line: #e3e7ee;
  --tint: #f5f3ef;
  --white: #fff;
  --serif: Cambria, "Times New Roman", "Noto Serif", serif; /* Georgia vỡ dấu tiếng Việt */
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 38, 63, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .9em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 20px; }
.brand { text-decoration: none; display: inline-flex; align-items: baseline; gap: 2px; white-space: nowrap; }
.brand img { height: 40px; width: auto; }
.brand-invert { background: #fff; padding: 8px 14px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--navy); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--red); }
.nav .nav-cta { background: var(--red); color: #fff; padding: 9px 18px; border-radius: 999px; border: 0; }
.nav .nav-cta:hover { background: var(--red-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 14px 26px; border-radius: 999px; transition: background .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border: 2px solid var(--navy); color: var(--navy); padding: 12px 24px; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--red); }

/* Hero */
.hero { background: linear-gradient(160deg, #f8f6f2 0%, #eef1f6 100%); padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 36px; border-top: 1px solid #d7dce5; padding-top: 24px; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); }
.hero-facts span { font-size: .88rem; color: var(--muted); }
.hero-photo { margin: 0; position: relative; }
.hero-photo::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; background: var(--red); border-radius: var(--radius); }
.hero-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-photo figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(12, 52, 74, .9); color: #fff; font-size: .82rem; padding: 7px 13px; border-radius: 999px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: #d5dce8; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: #ff8b9c; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p:last-child { color: var(--muted); margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.values li { border-top: 3px solid var(--red); padding-top: 14px; }
.values h3 { font-size: 1.05rem; margin-bottom: .3em; }
.values p { font-size: .92rem; color: var(--muted); margin: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon { width: 52px; height: 52px; border-radius: 12px; background: #fdecef; display: grid; place-items: center; margin-bottom: 18px; }
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-tag { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4em; }
.service h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); }
.service-desc { color: var(--muted); font-size: .97rem; }
.service ul { margin-bottom: 22px; }
.service li { position: relative; padding-left: 20px; font-size: .94rem; margin-bottom: 6px; }
.service li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.service-link { margin-top: auto; font-weight: 700; color: var(--red); text-decoration: none; overflow-wrap: anywhere; }
.service-link:hover { text-decoration: underline; }
.service-cta { background: var(--red); border-color: var(--red); color: #fff; justify-content: center; align-items: flex-start; }
.service-cta h3 { color: #fff; }
.service-cta p { color: #ffe3e7; }
.note { margin: 30px 0 0; font-size: .88rem; color: var(--muted); max-width: 820px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.gallery figure { margin: 0; position: relative; grid-column: span 2; border-radius: var(--radius); overflow: hidden; }
.gallery .g-wide { grid-column: span 3; }
.gallery img { width: 100%; height: 100%; min-height: 240px; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(12, 52, 74, .9); color: #fff; font-size: .82rem; padding: 6px 12px; border-radius: 999px; }

/* Legal */
.legal-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.legal { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.legal div { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.legal dt { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #9fb0c8; margin-bottom: 4px; }
.legal dd { margin: 0; color: #fff; font-weight: 600; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: border-color .2s, box-shadow .2s; }
.contact-card:hover { border-color: var(--red); box-shadow: var(--shadow); }
.contact-label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.contact-value { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.contact-hint { margin-top: auto; padding-top: 14px; font-size: .88rem; color: var(--muted); }
.hours { margin: 28px 0 0; color: var(--muted); }
.hours strong { color: var(--ink); }

/* Footer */
.site-footer { background: #082c3f; color: #a9b6c9; padding: 56px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { margin-top: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .85rem; }

/* Responsive */
@media (max-width: 980px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: repeat(2, 1fr); }
  .legal-grid, .about-grid { grid-template-columns: 1fr; }
  .nav { gap: 18px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { text-align: center; margin-top: 14px; padding: 13px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 440px; margin-right: 18px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure, .gallery .g-wide { grid-column: span 1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .services, .contact, .values, .legal, .gallery, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
