/* Website design service page (web-design.html). Copy from 服務單頁素材.md (A). The header, closing CTA, footer and
   menu come from about.css and the home page's files; 製作流程與時程 is the home page's 服務流程 (process.css).
   Section backgrounds: paper, oat, paper, navy (process), oat, paper, navy (CTA). */
/* (about.css sets main h2 to margin 0; these need the page prefix to add space under the title) */
.wd-no{display:block;width:90px;margin:0 0 18px;font-family:Outfit,sans-serif;font-size:15px;font-weight:700;line-height:1.3;letter-spacing:1px;color:var(--orange);background:linear-gradient(var(--orange),var(--orange)) 34px 50% / 48px 1.5px no-repeat}
.wd-types,.wd-incl,.wd-cases{background:var(--paper)}
.wd-care{background:#f3eee6}

/* ---------- 2 website types: four oat cards, two by two ---------- */
.wd-types{padding:110px 9% 130px}
.page-wd .wd-types h2{margin-bottom:56px}
.wd-type-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,2.6vw,40px);margin:0;padding:0;list-style:none}
.wd-type-list>li{position:relative;padding:48px 52px 52px;border-radius:24px;background:#f3eee6;transition:background .5s,box-shadow .5s}
/* top row: the number on the left, a line icon in a circle on the right */
.wd-type-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.wd-type-top .wd-no{margin:0;transition:width .5s cubic-bezier(.16,1,.3,1),background-size .5s cubic-bezier(.16,1,.3,1),color .5s}
/* the icon circle is orange from the start (2026-11-18, asked for) */
.wd-ico{display:grid;place-items:center;width:60px;height:60px;border:1px solid var(--orange);border-radius:50%;background:var(--orange);color:#fff;transition:background .5s,border-color .5s,color .5s,transform .6s cubic-bezier(.16,1,.3,1)}
.wd-ico svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.wd-type-list h3{margin:0 0 24px;font-size:clamp(22px,1.9vw,26px);line-height:1.4;font-weight:800;color:var(--navy);transition:color .5s}
.wd-type-list dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px 18px;margin:0}
.wd-type-list dt{padding:2px 12px;border-radius:99px;background:#e4704c1a;font-size:13px;font-weight:700;line-height:1.7;color:#cf5d3a;white-space:nowrap;align-self:start;transition:background .5s,color .5s}
.wd-type-list dd{margin:0;font-size:15px;line-height:1.9;color:#3f4566;transition:color .5s}
/* 內容 as tags (white, like the services page's) */
.wd-chips{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 0;padding:0;list-style:none}
.wd-chips li{padding:4px 12px;border:1px solid #30375f1f;border-radius:8px;background:#fff;font-size:13px;line-height:1.6;color:#4b5275;transition:background .5s,border-color .5s,color .5s}
.wd-note{margin:12px 0 0;font-size:14px;line-height:1.8;color:#7a6d64;transition:color .5s}

/* hover (mouse only; chosen 2026-11-18): the orange icon turns a little and grows, the number's line grows,
   the card darkens slightly */
@media(hover:hover) and (pointer:fine){
  .wd-type-list>li:hover{background:#ebe3d6}
  .wd-type-list>li:hover .wd-ico{transform:rotate(-8deg) scale(1.06)}
  .wd-type-list>li:hover .wd-no{width:122px;background-size:80px 1.5px}
}

/* ---------- 3 why WordPress (navy, chosen 2026-11-18): title + intro, then four translucent cards with orange icons ---------- */
.wd-why{padding:120px 9% 130px;background:#363a54}
.wd-why-head{margin-bottom:64px}
/* balanced line breaks, so a title never leaves one character alone on its second line */
.wd-why h2,.wd-why-list h3{text-wrap:balance}
.page-wd .wd-why h2{color:var(--paper)}
.wd-why-lead{max-width:40em;margin:20px 0 0;font-size:17px;line-height:2;color:#c9cde0}
.wd-why-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0;padding:0;list-style:none}
.wd-why-list>li{padding:40px 34px 44px;border:1px solid #ffffff1f;border-radius:24px;background:#ffffff0a;transition:border-color .4s,background .4s}
.wd-why-list>li:hover{border-color:#e4704c99;background:#ffffff12}
.wd-why-ico{display:grid;place-items:center;width:56px;height:56px;margin-bottom:28px;border-radius:50%;background:var(--orange);color:#fff}
.wd-why-ico svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.wd-why-list h3{margin:0 0 12px;font-size:clamp(20px,1.6vw,23px);line-height:1.45;font-weight:800;color:#fff}
.wd-why-list p{margin:0;font-size:15px;line-height:1.9;color:#b9bfd8}

/* ---------- 4 included: title on the left, a two-column checklist (orange check circles) on the right ---------- */
.wd-incl{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:32px clamp(40px,6vw,120px);padding:120px 9% 130px}
.wd-incl-list small{font-size:.85em;font-weight:500;color:#7a6d64}
.wd-incl-lead{max-width:22em;margin:20px 0 0;font-size:16px;line-height:2;color:#3f4566}
/* the line may break only after the comma, never after 以下是 (2026-11-19) */
.wd-keep{display:inline-block}
.wd-check{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(24px,3vw,48px);margin:0;padding:0;list-style:none}
.wd-check li{position:relative;padding:18px 0 18px 40px;border-bottom:1px solid #30375f1f;font-size:17px;line-height:1.7;font-weight:600;color:var(--navy)}
.wd-check li:before{content:'';position:absolute;left:0;top:20px;width:24px;height:24px;border-radius:50%;background:var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat}

/* ---------- 5 process: the home page's dark timeline as is (the 時程／報價 notes and button were removed 2026-11-19) ---------- */

/* ---------- 5 hosting and maintenance (chosen 2026-11-19, "F"): left — title and text, then a navy status panel
   of the seven services, each with a softly pulsing orange dot; right — a drawn "monitored website" window, as tall
   as the panel beside it. The audiences and the button are left out for now. ---------- */
.wd-care{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"head ." "svc art";align-items:start;gap:40px clamp(40px,6vw,120px);padding:120px 9% 130px;scroll-margin-top:20px}
.wd-care-head{grid-area:head}
.wd-care-head p{margin:24px 0 0;font-size:16px;line-height:2;color:#3f4566}
.wd-care-svc{grid-area:svc;padding:40px 44px 44px;border-radius:24px;background:#363a54;box-shadow:0 30px 60px #2a2d3e33}
.wd-care-svc h3{margin:0 0 20px;font-size:22px;font-weight:800;color:var(--paper)}
.wd-care-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px;margin:0;padding:0;list-style:none}
.wd-care-list li{position:relative;padding:15px 0 15px 26px;border-bottom:1px solid #ffffff1a;font-size:17px;font-weight:700;line-height:1.6;color:#e6e8f2}
.wd-care-list li:before,.wd-care-list li:after{content:'';position:absolute;left:2px;top:calc(15px + .8em);width:9px;height:9px;margin-top:-4.5px;border-radius:50%;background:var(--orange)}
.wd-care-list li:after{animation:wdPulse 2.4s cubic-bezier(.16,1,.3,1) infinite;animation-delay:calc(var(--k,0) * .3s)}
@keyframes wdPulse{0%{transform:scale(1);opacity:.6}70%,100%{transform:scale(3);opacity:0}}
@media(prefers-reduced-motion:reduce){.wd-care-list li:after{animation:none;opacity:0}}
/* 2026-11-19: the drawing sits beside the panel only, as tall as it (top and bottom lined up); its contents centred */
.wd-care-art{grid-area:art;align-self:stretch;display:flex;position:relative;width:100%;max-width:560px;justify-self:center}
/* the drawing */
.wca-win{position:relative;display:flex;flex-direction:column;flex:1;overflow:hidden;border-radius:20px;background:var(--paper);box-shadow:0 40px 80px #30375f26,0 0 0 1px #30375f14}
.wca-bar{display:block;height:34px;background:radial-gradient(circle at 20px 17px,#e4704c 4.5px,#0000 5.5px),radial-gradient(circle at 38px 17px,#e9b44c 4.5px,#0000 5.5px),radial-gradient(circle at 56px 17px,#8bbf8b 4.5px,#0000 5.5px),#f1ece3}
.wca-body{display:flex;flex:1;flex-direction:column;justify-content:center;padding:34px 34px 38px}
.wca-pulse{display:block;width:100%;height:auto}
.wca-pulse path{fill:none;stroke:var(--orange);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:420;stroke-dashoffset:420;animation:wcaDraw 3.2s cubic-bezier(.45,0,.2,1) infinite}
.wca-pulse .wca-base{stroke:#30375f14;stroke-dasharray:none;animation:none}
@keyframes wcaDraw{0%{stroke-dashoffset:420}55%,75%{stroke-dashoffset:0}100%{stroke-dashoffset:-420}}
.wca-rows{display:grid;gap:14px;margin-top:30px}
.wca-rows i{display:flex;align-items:center;gap:12px;height:12px}
.wca-rows i:before{content:'';flex:none;width:12px;height:12px;border-radius:50%;background:var(--orange)}
.wca-rows i:after{content:'';height:10px;width:var(--w,70%);border-radius:6px;background:#30375f14}
.wca-badge{position:absolute;right:-18px;bottom:32px;display:grid;place-items:center;width:92px;height:92px;border-radius:50%;background:var(--orange);color:#fff;box-shadow:0 18px 36px #e4704c55;animation:wcaFloat 4s ease-in-out infinite}
.wca-badge svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@keyframes wcaFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media(prefers-reduced-motion:reduce){.wca-pulse path{animation:none;stroke-dashoffset:0}.wca-badge{animation:none}}
/* ---------- 7 cases: three works as on the works page. Laid out like the home page's FAQ (2026-11-19): navy
   section, an oat rounded panel inset 4% (content.css .faq), the grid fading in on the navy edges (.faq-grid) ---------- */
.wd-cases{position:relative;isolation:isolate;padding:100px 13%;background:#363a54}
.wd-cases:before{content:'';position:absolute;z-index:-1;inset:0 4%;border-radius:32px;background:#f3eee6}
.wd-cases-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:56px}
.wd-cases-head .btn{flex:none}
.wd-case{display:block;color:inherit;text-decoration:none}
.wd-shot{overflow:hidden;border-radius:12px;background:#f3eee6}
.wd-shot img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:top;transition:transform .9s cubic-bezier(.16,1,.3,1)}
.wd-case:hover .wd-shot img{transform:scale(1.05)}
.wd-case h3{margin:14px 0 0;font-size:17px;line-height:1.5;font-weight:800;color:var(--navy);transition:color .3s}
.wd-case h3:before{content:'';display:inline-block;width:16px;height:2px;margin:0 10px 0 0;vertical-align:middle;background:var(--orange);transform:translateY(-2px);transition:width .4s cubic-bezier(.16,1,.3,1)}
.wd-case:hover h3{color:var(--orange)}
.wd-case:hover h3:before{width:34px}
.wd-tags{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0;padding:0;list-style:none}
.wd-tags li{padding:3px 11px;border:1px solid #30375f26;border-radius:99px;font-size:12px;font-weight:600;line-height:1.6;color:#626477}

/* ---------- 網站案例: browser cards (chosen 2026-11-19, "A"; the tags were left out) ---------- */
/* shared: browser-window frame (same dots as the maintenance drawing), website type, round arrow */
.wcv-frame{overflow:hidden;border-radius:14px;background:#fff;box-shadow:0 22px 44px #30375f1f}
.wcv-bar{display:block;height:24px;background:radial-gradient(circle at 16px 12px,#e4704c 3.5px,#0000 4.5px),radial-gradient(circle at 30px 12px,#e9b44c 3.5px,#0000 4.5px),radial-gradient(circle at 44px 12px,#8bbf8b 3.5px,#0000 4.5px),#f1ece3}
.wcv-frame .wd-shot{border-radius:0}
.wcv-type{margin:6px 0 0;font-size:13px;line-height:1.7;color:#7a6d64}
.wcv-foot{display:flex}
.wcv-go{flex:none;display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--orange);border-radius:50%;color:var(--orange);transition:background .3s,color .3s}
.wcv-go svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s}
a.wd-case:hover .wcv-go{background:var(--orange);color:#fff}
a.wd-case:hover .wcv-go svg{transform:translate(2px,-2px)}
.wd-cv .wd-case h3{margin-top:0}

/* three paper cards, each a framed screenshot, name, website type and a round arrow */
.wd-cv{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,2.6vw,40px)}
.wcv-card{display:flex;flex-direction:column;padding:14px 14px 24px;border-radius:22px;background:var(--paper);transition:background .3s}
a.wcv-card:hover{background:#fff}
/* the round arrow sits to the right of the name and website type, centred on them (2026-11-19, moved up from the bottom) */
.wcv-txt{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;align-content:start;column-gap:16px;padding:22px 10px 0}
.wcv-txt h3{grid-column:1}
.wcv-txt .wcv-type{grid-column:1}
.wcv-txt .wcv-foot{grid-column:2;grid-row:1/3}
/* RWD check 2026-11-19: no single character left alone on the last line (card name and type, the process steps, the
   maintenance list); 769–1024px the three cards were too narrow (names in two lines), so there each card is a row:
   screenshot on the left, name, type and arrow on the right */
.wcv-txt h3,.wcv-type{text-wrap:balance}
.wd-process .process-list p,.wd-care-list li,.wd-type-list dd,.wd-why-list p{text-wrap:pretty}
@media(min-width:769px) and (max-width:1024px){
  .wd-cv{grid-template-columns:minmax(0,1fr);gap:20px}
  .wcv-card{display:grid;grid-template-columns:minmax(0,46%) minmax(0,1fr);align-items:center;padding:14px}
  .wcv-card .wcv-txt{padding:0 18px 0 32px}
}

/* reveals one after another (about.css .rv) */
.js-rv .wd-type-list .rv:nth-child(2),.js-rv .wd-why-list .rv:nth-child(2),.js-rv .wd-cv .rv:nth-child(2),.js-rv .wd-why-head p.rv,.js-rv .wd-care-body .rv:nth-child(2){transition-delay:.1s}
.js-rv .wd-type-list .rv:nth-child(3),.js-rv .wd-why-list .rv:nth-child(3),.js-rv .wd-cv .rv:nth-child(3){transition-delay:.2s}
.js-rv .wd-type-list .rv:nth-child(4),.js-rv .wd-why-list .rv:nth-child(4){transition-delay:.3s}
.js-rv .wd-check .rv{transition-delay:calc(var(--k,0) * .05s)}

/* closing: the second button sized like the first */
.wd-cta-alt{min-height:58px;padding:0 34px;font-size:17px}
/* closing title a little smaller on computers (2026-11-19; the home page keeps clamp(34px,4.2vw,60px)) */
@media(min-width:1025px){.page-wd .contact h2{font-size:clamp(43px,3.2vw,48px)}}

@media(max-width:1440px){
  /* 2026-11-19: 1025–1440 the service panel a little wider, the drawing a little narrower */
  .wd-care{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
  .wd-why-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* 2026-11-19: 1280 and below — website types one card per row; 每個網站皆包含 stacks (title and lead on top, the
   checklist in two columns underneath; one column from 768 down) */
/* 主機管理 1025–1366: a little more room inside the panel so "WordPress 核心與外掛更新" stays on one line from 1280 up */
@media(min-width:1025px) and (max-width:1366px){
  .wd-care-svc{padding-left:40px;padding-right:40px}
  .wd-care-list{column-gap:24px}
}
/* 網站案例 1025–1280: two columns, the third case hidden (2026-11-19) */
@media(min-width:1025px) and (max-width:1280px){
  .wd-cv{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wd-cv>.wcv-card:nth-child(3){display:none}
}
@media(max-width:1280px){
  .wd-type-list{grid-template-columns:minmax(0,1fr)}
  .wd-incl{grid-template-columns:minmax(0,1fr)}
  .wd-incl-lead{max-width:none}
}
@media(max-width:1024px){
  .wd-types,.wd-why,.wd-incl,.wd-care{padding:90px 7% 100px}
  .wd-type-list>li{padding:40px 36px 44px}
  .wd-care{grid-template-columns:minmax(0,1fr)}
  .wd-care{grid-template-areas:"head" "art" "svc";row-gap:32px}
  /* 2026-11-19: the drawing as wide as the service panel (line above, status rows below — side by side looked too flat),
     more space between it and the panel (the panel text sizes are now the same as on desktop) */
  .wd-care-art{max-width:none;justify-self:stretch;margin:8px 0 32px}
  .wca-body{padding:40px 48px 44px}
  .wd-why-head{margin-bottom:52px}
}
@media(max-width:768px){
  .wd-types,.wd-why,.wd-incl,.wd-care{padding:70px 7% 80px}
  .wd-cases{padding:64px calc(16px + 6%)}
  .wd-cases:before{inset:0 16px;border-radius:22px}
  .wd-cv{grid-template-columns:minmax(0,1fr);gap:16px}
  .wcv-card .wd-shot img{aspect-ratio:16/9}
  .page-wd .wd-types h2,.wd-cases-head{margin-bottom:36px}
  .wd-type-list{gap:16px}
  .wd-type-list dl{grid-template-columns:minmax(0,1fr);gap:8px}
  .wd-type-list dt{justify-self:start}
  .wd-type-list dd+dt{margin-top:10px}
  .wd-type-list>li{padding:32px 24px 36px;border-radius:18px}
  .wd-type-list h3{margin-bottom:18px;font-size:21px}
  .wd-type-list dd{font-size:14px}
  .wd-no{margin-bottom:12px;font-size:13px}
  .wd-type-top{margin-bottom:14px}
  .wd-ico{width:50px;height:50px}
  .wd-ico svg{width:22px;height:22px}
  .wd-chips li{padding:3px 10px;font-size:12px}
  .wd-note{font-size:13px}
  .wd-why-lead{font-size:15px;line-height:1.9}
  .wd-why-list{grid-template-columns:minmax(0,1fr);gap:16px}
  .wd-why-ico{width:48px;height:48px}
  .wd-why-ico svg{width:21px;height:21px}
  .wd-why-list h3{font-size:20px}
  .wd-why-list p{font-size:14px}
  .wd-why-list>li{padding:30px 24px 32px;border-radius:18px}
  .wd-why-ico{margin-bottom:20px}
  .wd-incl-lead{margin-top:14px;font-size:15px;line-height:1.9}
  .wd-check{grid-template-columns:minmax(0,1fr)}
  .wd-check li{padding:15px 0 15px 36px;font-size:17px}
  .wd-check li:before{top:18px;width:22px;height:22px;background-size:12px}
  .wd-care-head p{margin-top:18px;font-size:15px}
  .wd-care-svc{padding:30px 30px 32px;border-radius:18px}
  .wd-care-svc h3{margin-bottom:16px;font-size:20px}
  .wd-care-list{grid-template-columns:minmax(0,1fr)}
  .wd-care-list li{font-size:16px}
  .wca-body{padding:24px 22px 28px}
  .wca-badge{right:-6px;bottom:22px;width:68px;height:68px}
  .wca-badge svg{width:30px;height:30px}
  .wd-cases-head{display:block}
  .wd-cases-head .btn{margin-top:20px}
  .wd-cta-alt{width:100%;max-width:340px}
}
/* 1800 and up (2026-11-19): the panel and the drawing were far apart — the drawing fills its column, taller than the
   panel, with only the bottoms lined up */
@media(min-width:1800px){
  .wd-care{grid-template-areas:"head art" "svc art"}
  .wd-care-art{align-self:end;max-width:none;justify-self:stretch}
  .wca-body{padding:56px 56px 60px}
}
