/* ============================================================
   COMPASS-TAX — corporate site recreation
   Two designs share these base tokens, then scope by wrapper.
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --serif-jp: "Noto Serif JP", serif;
  --sans-jp: "Noto Sans JP", sans-serif;
  --display: "Cormorant Garamond", "Noto Serif JP", serif;

  --navy: #16263f;
  --navy-2: #1c2a44;
  --ink: #11161f;
  --gold: #b9985a;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans-jp); color: #1b2230; background: #d8d8d6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---- version switcher ---------------------------------- */
.switcher {
  position: fixed; z-index: 200; top: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px; padding: 5px;
  background: rgba(17,22,31,.86); backdrop-filter: blur(10px);
  border-radius: 999px; box-shadow: 0 8px 30px rgba(0,0,0,.28);
}
.switcher button {
  font-size: 12px; letter-spacing: .04em; color: #c8cdd6;
  padding: 8px 18px; border-radius: 999px; transition: .25s; white-space: nowrap;
}
.switcher button.on { background: #fff; color: #11161f; font-weight: 700; }

.page { width: 100%; overflow-x: hidden; }

/* placeholder image base */
.ph {
  position: relative; overflow: hidden;
  background-size: cover; background-position: center;
}
.ph .ph-cap {
  position: absolute; left: 12px; bottom: 10px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px; letter-spacing: .08em; color: rgba(255,255,255,.34);
  pointer-events: none;
}

/* ============================================================
   DESIGN A — DARK
   ============================================================ */
.A { background: #ffffff; color: #1b2230; }
.A .logo-mark path, .A .logo-mark circle { stroke: #1b2230; }

/* header */
.A-header { position: relative; z-index: 30; background: #fff; }
.A-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 38px 0;
}
.A-brand { display: flex; align-items: center; gap: 14px; }
.A-brand .name { font-family: var(--serif-jp); font-weight: 600; font-size: 22px; letter-spacing: .04em; line-height: 1.1; }
.A-brand .name small { display: block; font-family: var(--display); font-size: 10px; letter-spacing: .42em; color: #7c8492; margin-top: 3px; font-weight: 500; }
.A-utils { display: flex; align-items: center; gap: 22px; }
.A-social { display: flex; gap: 9px; }
.A-social a { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; color: #fff; }
.A-social .fb { background: #2b4a8b; }
.A-social .ln { background: #16b400; }
.A-tel { display: flex; align-items: center; gap: 10px; padding-left: 22px; border-left: 1px solid #e2e4e8; }
.A-tel .num { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: .02em; }
.A-nav { display: flex; justify-content: flex-end; gap: 40px; padding: 16px 40px 16px; }
.A-nav a { font-size: 14px; letter-spacing: .04em; color: #2a3140; padding-bottom: 6px; position: relative; }
.A-nav a.active { color: #16263f; }
.A-nav a.active::after { content:""; position:absolute; left:0; right:0; bottom:-1px; height:2px; background:#16263f; }
.A-nav a:hover { color: #16263f; }

/* hero */
.A-hero { position: relative; height: 620px; color: #fff; }
.A-hero .ph { position: absolute; inset: 0; }
.A-hero .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,22,.82) 0%, rgba(10,14,22,.5) 45%, rgba(10,14,22,.25) 100%); }
.A-hero .inner { position: relative; max-width: 1280px; margin: 0 auto; height: 100%; padding: 0 38px; display: flex; flex-direction: column; justify-content: center; }
.A-hero h1 { font-family: var(--serif-jp); font-weight: 500; font-size: 46px; line-height: 1.5; letter-spacing: .03em; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.A-hero .sub { margin-top: 26px; font-size: 15px; letter-spacing: .14em; color: #d7dbe2; }
.A-scroll {
  position: absolute; left: 30px; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 16px;
  writing-mode: vertical-rl; font-family: var(--display); font-size: 12px; letter-spacing: .42em; color: #c7ccd5;
}
.A-scroll::after { content:""; width: 1px; height: 70px; background: linear-gradient(#c7ccd5, transparent); }

/* feature trio */
.A-trio { display: grid; grid-template-columns: repeat(3, 1fr); }
.A-card { position: relative; min-height: 350px; color: #fff; overflow: hidden; }
.A-card .ph { position: absolute; inset: 0; }
.A-card .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,20,30,.62), rgba(15,20,30,.86)); transition: .4s; }
.A-card:hover .scrim { background: linear-gradient(180deg, rgba(15,20,30,.5), rgba(15,20,30,.8)); }
.A-card .body { position: relative; padding: 44px 40px; }
.A-card .num { font-family: var(--display); font-size: 52px; font-weight: 400; line-height: 1; color: #fff; }
.A-card h3 { font-family: var(--display); font-size: 24px; font-weight: 500; margin-top: 18px; letter-spacing: .02em; }
.A-card h3 span { display: block; font-family: var(--serif-jp); font-size: 16px; font-weight: 400; margin-top: 6px; letter-spacing: .04em; }
.A-card p { margin-top: 22px; font-size: 13.5px; line-height: 2; color: #cfd3da; }
.A-more { margin-top: 30px; display: inline-flex; align-items: center; gap: 22px; font-size: 14px; letter-spacing: .06em; }
.A-more .ar { width: 34px; height: 1px; background: currentColor; position: relative; }
.A-more .ar::after { content:""; position:absolute; right:0; top:-3px; width:7px; height:7px; border-top:1px solid currentColor; border-right:1px solid currentColor; transform: rotate(45deg); }
.A-card:hover .A-more .ar { width: 46px; }
.A-more .ar { transition:.3s; }

/* news (shared-ish) */
.news { background: #f5f5f3; padding: 96px 0; }
.A .news { background: #fff; }
.news-wrap { max-width: 1120px; margin: 0 auto; padding: 0 38px; display: grid; grid-template-columns: 280px 1fr; gap: 20px; }
.news-head h2 { font-family: var(--display); font-size: 52px; font-weight: 400; letter-spacing: .02em; color: #1b2230; }
.news-head .jp { font-size: 13px; letter-spacing: .2em; color: #6b7280; margin-top: 4px; }
.news-head .rule { width: 46px; height: 1px; background: #c3c6cc; margin: 26px 0 30px; }
.news-btn { display: inline-flex; align-items: center; gap: 28px; border: 1px solid #c9ccd2; padding: 14px 26px; font-size: 13px; letter-spacing: .08em; color: #1b2230; transition: .3s; }
.news-btn:hover { background: #16263f; color: #fff; border-color: #16263f; }
.news-btn .ar { width: 26px; height:1px; background: currentColor; position: relative; }
.news-btn .ar::after { content:""; position:absolute; right:0; top:-3px; width:6px; height:6px; border-top:1px solid currentColor; border-right:1px solid currentColor; transform: rotate(45deg); }
.news-list { }
.news-row { display: flex; align-items: center; gap: 38px; padding: 22px 8px; border-bottom: 1px solid #e6e6e4; transition: .25s; }
.news-row:first-child { border-top: 1px solid #e6e6e4; }
.news-row .date { font-family: var(--display); font-size: 16px; letter-spacing: .04em; color: #4a525f; min-width: 92px; }
.news-row .ttl { font-size: 14.5px; color: #2a3140; flex: 1; }
.news-row .chev { color: #b3b7bf; transition:.25s; }
.news-row:hover { background: rgba(22,38,63,.03); }
.news-row:hover .chev { transform: translateX(4px); color: #16263f; }

/* contact (dark) */
.A-contact { position: relative; background: var(--ink); color: #fff; padding: 92px 0; overflow: hidden; }
.A-contact .ph { position: absolute; inset: 0; opacity: .26; }
.A-contact .scrim { position:absolute; inset:0; background: linear-gradient(180deg,#141b27,#1b2740); opacity:.86; }
.contact-wrap { position: relative; max-width: 1120px; margin: 0 auto; padding: 0 38px; display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: center; }
.contact-head h2 { font-family: var(--display); font-size: 50px; font-weight: 400; }
.contact-head .jp { font-size: 13px; letter-spacing: .2em; color: #aeb6c4; margin-top: 6px; }
.contact-head p { margin-top: 26px; font-size: 13.5px; line-height: 1.9; color: #c2c8d2; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-btn { border: 1px solid rgba(255,255,255,.32); padding: 30px; display: flex; align-items: center; justify-content: center; gap: 16px; transition: .3s; }
.contact-btn:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.6); }
.contact-btn .big { font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: .03em; }
.contact-btn .lab { font-size: 15px; letter-spacing: .06em; }
.contact-btn .sub2 { font-size: 11px; color: #aeb6c4; margin-top: 4px; letter-spacing: .08em; }
.contact-btn .ar2 { width: 30px; height:1px; background:#fff; position:relative; margin-left: 6px; }
.contact-btn .ar2::after{content:"";position:absolute;right:0;top:-3px;width:7px;height:7px;border-top:1px solid #fff;border-right:1px solid #fff;transform:rotate(45deg);}

/* footer (dark) */
.ft { background: var(--navy); color: #d4d8e0; padding: 70px 0 30px; }
.A .ft { background: #141b27; }
.ft-wrap { max-width: 1120px; margin: 0 auto; padding: 0 38px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
.ft-brand .name { font-family: var(--serif-jp); font-weight: 600; font-size: 22px; color: #fff; letter-spacing: .04em; }
.ft-brand .name small { display:block; font-family: var(--display); font-size:9px; letter-spacing:.42em; color:#9aa3b4; margin-top:4px; }
.ft-row { display:flex; align-items:center; gap:14px; }
.ft-info { margin-top: 28px; font-size: 13px; line-height: 2.1; color: #aab2c0; }
.ft-info .co { color: #e6e9ef; font-weight: 500; }
.ft-links { display: flex; flex-direction: column; gap: 18px; padding-top: 6px; }
.ft-links a { font-size: 13.5px; color: #c2c8d4; transition:.2s; }
.ft-links a:hover { color: #fff; }
.ft-top { grid-column: 1 / -1; display: flex; justify-content: flex-end; margin-top: 30px; }
.ft-top a { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--display); font-size: 12px; letter-spacing: .2em; color: #c2c8d4; }
.ft-top .up { width: 30px; height: 1px; background: #c2c8d4; position: relative; }
.ft-top .up::after { content:""; position:absolute; left:50%; top:-4px; width:8px; height:8px; border-top:1px solid #c2c8d4; border-left:1px solid #c2c8d4; transform: translateX(-50%) rotate(45deg); }

/* ============================================================
   DESIGN B — LIGHT
   ============================================================ */
.B { background: #efece5; color: #1d2530; }

.B-header { display: flex; align-items: stretch; background: #fff; position: relative; z-index: 30; }
.B-brand { display:flex; align-items:center; gap:14px; padding: 18px 34px; }
.B-brand .name { font-family: var(--serif-jp); font-weight:600; font-size:22px; letter-spacing:.04em; }
.B-brand .name small { display:block; font-family: var(--display); font-size:10px; letter-spacing:.42em; color:#7c8492; margin-top:3px; }
.B-nav { display:flex; align-items:center; gap: 30px; margin-left: 10px; }
.B-nav a { font-size: 14px; letter-spacing:.04em; color:#2a3140; transition:.2s; }
.B-nav a:hover { color: var(--navy); }
.B-tel { display:flex; align-items:center; gap:12px; margin-left:auto; padding: 0 28px; border-left:1px solid #ececec; }
.B-tel .num { font-family: var(--display); font-size:24px; font-weight:600; }
.B-tel .hrs { font-size:11px; color:#7c8492; letter-spacing:.06em; }
.B-cta { background: var(--navy); color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; padding: 0 34px; font-size:13px; letter-spacing:.06em; transition:.3s; }
.B-cta:hover { background:#1f3556; }

/* hero */
.B-hero { position: relative; background: linear-gradient(135deg,#f3f1ea 0%, #eae6dd 100%); }
.B-hero .inner { max-width: 1280px; margin: 0 auto; position: relative; height: 540px; }
.B-hero .copy { position: relative; z-index: 5; padding: 96px 0 0 40px; max-width: 560px; }
.B-hero h1 { font-family: var(--serif-jp); font-weight:600; font-size:44px; line-height:1.55; letter-spacing:.03em; color:#1a2230; }
.B-hero .lead { margin-top: 26px; font-size:14.5px; line-height:2; color:#4a525f; }
.B-hero .rule { width:54px; height:1px; background: var(--gold); margin: 34px 0 16px; }
.B-hero .brandline { font-family: var(--serif-jp); font-size:16px; letter-spacing:.06em; color:#2a3140; }
.B-hero .art { position: absolute; top: 0; right: 0; width: 60%; height: 100%; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.B-hero .art .ph { position:absolute; inset:0; }
.B-scroll { position:absolute; left:0; bottom:18px; display:flex; flex-direction:column; align-items:center; gap:14px; writing-mode: vertical-rl; font-family: var(--display); font-size:12px; letter-spacing:.4em; color:#8b8478; }
.B-scroll::after { content:""; width:1px; height:54px; background: linear-gradient(#a9a294,transparent); }

/* services */
.B-serv { padding: 92px 0; }
.serv-wrap { max-width: 1160px; margin: 0 auto; padding: 0 38px; display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.serv-card { background:#faf9f6; border:1px solid #e7e3da; box-shadow: 0 18px 40px rgba(40,40,40,.05); position: relative; padding: 42px 34px 40px; transition:.35s; }
.serv-card::after { content:""; position:absolute; left:0; right:0; bottom:0; height:3px; background: var(--navy); transform: scaleX(.0); transform-origin:left; transition:.4s; }
.serv-card:nth-child(2)::after { background: var(--gold); }
.serv-card:nth-child(3)::after { background: var(--navy); }
.serv-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px rgba(40,40,40,.1); }
.serv-card:hover::after { transform: scaleX(1); }
.serv-top { display:flex; align-items:center; justify-content:space-between; }
.serv-num { font-family: var(--display); font-size:60px; font-weight:400; color:#c9b896; line-height:1; }
.serv-ic { color: var(--navy); }
.serv-card h3 { font-family: var(--serif-jp); font-size:22px; font-weight:600; margin-top:24px; letter-spacing:.02em; color:#1a2230; }
.serv-card .en { font-family: var(--display); font-size:12px; letter-spacing:.18em; color:#9a917f; margin-top:8px; }
.serv-card p { margin-top:20px; font-size:13.5px; line-height:1.95; color:#586172; }
.serv-more { margin-top:26px; display:inline-flex; align-items:center; gap:18px; font-size:13.5px; letter-spacing:.06em; color:#2a3140; }
.serv-more .ar { width:30px; height:1px; background: currentColor; position:relative; transition:.3s; }
.serv-more .ar::after{content:"";position:absolute;right:0;top:-3px;width:6px;height:6px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg);}
.serv-card:hover .serv-more .ar { width:42px; }

/* news B */
.B .news { background: #e9e6df; }
.B .news-head h2, .B .news-row .date { color:#1a2230; }
.B .news-row { border-color:#d6d2c8; }
.B .news-row:first-child { border-top-color:#d6d2c8; }

/* contact B */
.B-contact { position: relative; background: var(--navy); color:#fff; padding: 88px 0; overflow:hidden; }
.B-contact .ph { position:absolute; inset:0; opacity:.18; }
.B-contact .scrim { position:absolute; inset:0; background: linear-gradient(120deg,#16263f,#1d3458); opacity:.9; }
.B-contact .contact-btn .big { color:#fff; }
.B-contact .contact-btn .ico-gold { color: var(--gold); }

/* footer B */
.B .ft { background: var(--navy); }
.B .ft-wrap { grid-template-columns: 1.3fr 1fr 1fr; }
.B-ftlinks { display:grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; padding-top:6px; }
.B-ftlinks a { font-size:13.5px; color:#c2c8d4; }
.B-ftlinks a:hover { color:#fff; }

/* ============================================================
   DESIGN C — full-bleed hero + About + dark service cards
   ============================================================ */
.C { background: #fff; color: #1d2530; }

/* header (same structure as B) */
.C-header { display:flex; align-items:stretch; background:#fff; position:relative; z-index:30; border-bottom:1px solid #eee; }
.C-header .B-cta { padding: 0 30px; }

/* hero */
.C-hero { position: relative; height: 660px; overflow: hidden; }
.C-hero .ph { position:absolute; inset:0; }
.C-hero .scrim { position:absolute; inset:0; background: linear-gradient(100deg, rgba(244,244,242,.96) 0%, rgba(244,244,242,.7) 26%, rgba(244,244,242,.12) 44%, rgba(20,28,42,.04) 60%); }
.C-hero .inner { position:relative; max-width:1280px; margin:0 auto; height:100%; padding: 0 40px; display:flex; flex-direction:column; justify-content:center; }
.C-hero h1 { font-family: var(--serif-jp); font-weight:600; font-size:46px; line-height:1.55; letter-spacing:.03em; color:#1a2230; }
.C-hero .lead { margin-top:24px; font-size:14.5px; line-height:2; color:#46505f; }
.C-hero .brandline { margin-top:30px; display:flex; align-items:center; gap:16px; font-family:var(--serif-jp); font-size:15px; letter-spacing:.06em; color:#2a3140; }
.C-hero .brandline::before { content:""; width:42px; height:1px; background:#1a2230; }
.C-scroll { position:absolute; right:30px; bottom:0; display:flex; flex-direction:column; align-items:center; gap:14px; writing-mode:vertical-rl; font-family:var(--display); font-size:12px; letter-spacing:.4em; color:#6b7280; }
.C-scroll::after { content:""; width:1px; height:62px; background:linear-gradient(#8b93a0,transparent); }

/* about */
.C-about { background:#f4f4f2; padding: 92px 0; }
.about-wrap { max-width:1180px; margin:0 auto; padding:0 40px; display:grid; grid-template-columns: 1fr 1fr; gap:60px; align-items:center; }
.about-txt .en { font-family:var(--display); font-size:15px; letter-spacing:.16em; color:var(--gold); }
.about-txt h2 { font-family:var(--serif-jp); font-weight:600; font-size:32px; margin-top:10px; letter-spacing:.03em; color:#1a2230; }
.about-txt p { margin-top:26px; font-size:14.5px; line-height:2.1; color:#4a525f; }
.about-btn { margin-top:34px; display:inline-flex; align-items:center; gap:26px; border:1px solid #c9ccd2; padding:14px 26px; font-size:13px; letter-spacing:.08em; color:#1b2230; transition:.3s; }
.about-btn:hover { background:var(--navy); color:#fff; border-color:var(--navy); }
.about-btn .ar { width:24px; height:1px; background:currentColor; position:relative; }
.about-btn .ar::after{content:"";position:absolute;right:0;top:-3px;width:6px;height:6px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg);}
.about-img { height:330px; }
.about-img .ph { width:100%; height:100%; }

/* service (centered heading, dark image cards) */
.C-serv { padding: 90px 0 96px; }
.sec-head { text-align:center; margin-bottom:54px; }
.sec-head h2 { font-family:var(--display); font-size:44px; font-weight:400; letter-spacing:.04em; color:#1a2230; }
.sec-head .jp { font-size:13px; letter-spacing:.2em; color:#6b7280; margin-top:6px; }
.sec-head .rule { width:42px; height:1px; background:var(--gold); margin:18px auto 0; }
.cserv-wrap { max-width:1160px; margin:0 auto; padding:0 40px; display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.cserv-card { position:relative; min-height:230px; color:#fff; overflow:hidden; }
.cserv-card .ph { position:absolute; inset:0; }
.cserv-card .scrim { position:absolute; inset:0; background:linear-gradient(180deg, rgba(16,24,40,.82), rgba(16,24,40,.9)); transition:.4s; }
.cserv-card:hover .scrim { background:linear-gradient(180deg, rgba(16,24,40,.72), rgba(16,24,40,.86)); }
.cserv-card .body { position:relative; padding:34px 30px; }
.cserv-num { font-family:var(--display); font-size:46px; font-weight:400; color:var(--gold); line-height:1; }
.cserv-card h3 { font-family:var(--serif-jp); font-size:21px; font-weight:600; margin-top:14px; letter-spacing:.02em; }
.cserv-card .en { font-family:var(--display); font-size:11px; letter-spacing:.16em; color:#aeb6c4; margin-top:7px; }
.cserv-card p { margin-top:18px; font-size:13px; line-height:1.95; color:#cdd2db; }
.cserv-more { margin-top:24px; display:inline-flex; align-items:center; gap:16px; font-size:13px; letter-spacing:.06em; }
.cserv-more .ar { width:28px; height:1px; background:currentColor; position:relative; transition:.3s; }
.cserv-more .ar::after{content:"";position:absolute;right:0;top:-3px;width:6px;height:6px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg);}
.cserv-card:hover .cserv-more .ar { width:40px; }

/* design C reuses news (white) + B contact + B footer */
.C .news { background:#fff; }
.C-contact .contact-head p { max-width:none; }

/* --- real image support for <Img src=...> placeholders --- */
.ph { position: relative; overflow: hidden; }
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   RESPONSIVE — tuned for mobile-first quality (tablet → phone)
   ============================================================ */

/* tablet / small laptop */
@media (max-width: 980px) {
  .A-trio { grid-template-columns: 1fr; }
  .serv-wrap { grid-template-columns: 1fr; }
  .news-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .contact-actions { grid-template-columns: 1fr; }
  .ft-wrap { grid-template-columns: 1fr 1fr; }
  .A-nav { flex-wrap: wrap; gap: 20px; }
  .B-hero .art { width: 100%; opacity: .35; clip-path:none; }
  .B-hero .copy { background: rgba(243,241,234,.4); }
  .B-nav, .B-tel { display:none; }
  .about-wrap { grid-template-columns: 1fr; gap: 30px; }
  .cserv-wrap { grid-template-columns: 1fr; }
  .C-hero .scrim { background: linear-gradient(180deg, rgba(244,244,242,.92), rgba(244,244,242,.55)); }
}

/* phone (≤ 720px): single column, compact spacing, legible hero */
@media (max-width: 720px) {
  /* switcher fits small screens */
  .switcher { top: 10px; gap: 2px; padding: 4px; max-width: 94vw; }
  .switcher button { font-size: 10px; padding: 7px 11px; letter-spacing: .02em; }

  /* generic section rhythm + side gutters */
  .news, .B-serv, .A-contact, .B-contact, .C-about, .C-serv { padding: 56px 0; }
  .news-wrap, .contact-wrap, .serv-wrap, .cserv-wrap, .about-wrap,
  .ft-wrap, .A-hero .inner, .C-hero .inner { padding-left: 20px; padding-right: 20px; }

  /* ---- Design A ---- */
  .A-top { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 20px 0; }
  .A-utils { width: 100%; justify-content: space-between; gap: 12px; }
  .A-tel { padding-left: 14px; }
  .A-tel .num { font-size: 20px; }
  .A-nav { gap: 14px 18px; padding: 14px 20px; justify-content: flex-start; }
  .A-nav a { font-size: 13px; }
  .A-hero { height: auto; min-height: 440px; }
  .A-hero .inner { padding-top: 80px; padding-bottom: 80px; }
  .A-hero h1 { font-size: 27px; line-height: 1.55; }
  .A-hero .scrim { background: linear-gradient(180deg, rgba(10,14,22,.78) 0%, rgba(10,14,22,.5) 100%); }
  .A-scroll { display: none; }
  .A-card { min-height: 300px; }
  .A-card .body { padding: 34px 24px; }
  .A-card .num { font-size: 42px; }

  /* ---- shared: news / contact / footer ---- */
  .news-head h2, .contact-head h2 { font-size: 40px; }
  .news-head .rule { margin: 16px 0 22px; }
  .news-row { gap: 12px 16px; padding: 18px 4px; flex-wrap: wrap; }
  .news-row .date { min-width: 0; font-size: 14px; }
  .news-row .ttl { flex: 1 1 100%; font-size: 14px; }
  .contact-actions { gap: 14px; }
  .contact-btn { padding: 22px; }
  .contact-btn .big { font-size: 24px; }
  .ft { padding: 50px 0 26px; }
  .ft-wrap { grid-template-columns: 1fr; gap: 26px; }
  .B-ftlinks { grid-template-columns: 1fr 1fr; }

  /* ---- Design B ---- */
  .B-header { flex-wrap: wrap; }
  .B-brand { padding: 14px 20px; }
  .B-cta { margin-left: auto; padding: 0 22px; }
  .B-hero .inner { height: auto; }
  .B-hero .art { position: relative; width: 100%; height: 220px; opacity: 1; }
  .B-hero .copy { position: relative; max-width: none; padding: 40px 20px; background: none; }
  .B-hero h1 { font-size: 26px; line-height: 1.6; }
  .B-scroll { display: none; }
  .serv-card { padding: 32px 26px; }

  /* ---- Design C ---- */
  .C-header { flex-wrap: wrap; }
  .C-header .B-cta { margin-left: auto; }
  .C-hero { height: auto; min-height: 460px; }
  .C-hero .inner { padding-top: 90px; padding-bottom: 70px; }
  .C-hero h1 { font-size: 27px; line-height: 1.55; }
  .C-hero .scrim { background: linear-gradient(180deg, rgba(244,244,242,.95) 0%, rgba(244,244,242,.6) 70%, rgba(20,28,42,.05) 100%); }
  .C-scroll { display: none; }
  .about-txt h2 { font-size: 26px; }
  .about-img { height: 240px; }
  .sec-head { margin-bottom: 36px; }
  .sec-head h2 { font-size: 34px; }
  .cserv-card { min-height: 200px; }
}

/* small phones (≤ 400px) */
@media (max-width: 400px) {
  .A-brand .name, .B-brand .name, .ft-brand .name { font-size: 19px; }
  .A-tel .num, .B-tel .num { font-size: 18px; }
  .A-hero h1, .C-hero h1 { font-size: 24px; }
  .B-hero h1 { font-size: 23px; }
  .news-head h2, .contact-head h2 { font-size: 34px; }
  .contact-btn .big { font-size: 21px; }
  .B-ftlinks { grid-template-columns: 1fr; }
  .switcher button { font-size: 9px; padding: 7px 9px; }
}
