/* ============ TP Webdesign & PC-Service – Modern Minimal (song ngữ DE/VI) ============ */
:root {
  --bg: #ffffff;
  --soft: #f4f7fe;
  --ink: #0e1b33;
  --muted: #5a6a86;
  --line: #e4e9f4;
  --accent: #2563eb;
  --accent-dark: #1e4fd8;
  --accent-soft: #e8effe;
  --green: #16a34a;
  --green-soft: #e8f7ee;
  --red: #dc2626;
  --red-soft: #fdecec;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(14, 27, 51, 0.08);
  --shadow-sm: 0 4px 14px rgba(14, 27, 51, 0.06);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1140px, 92%); margin: 0 auto; }
.container.narrow { width: min(860px, 92%); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); text-align: center; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 14px auto 0; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px; font-size: 1rem; font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, .28); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: .92rem; border-radius: 10px; }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 14px; height: 72px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.02rem; white-space: nowrap; }
.brand svg { flex: none; }
.main-nav { display: flex; gap: 17px; margin-left: auto; }
.main-nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .96rem; position: relative; padding: 4px 0; }
.main-nav a:hover { color: var(--ink); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); border-radius: 2px; transition: width .18s ease;
}
.main-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.lang-switch button {
  border: none; background: transparent; padding: 6px 12px; border-radius: 8px;
  font-weight: 700; font-size: .82rem; color: var(--muted); cursor: pointer; font-family: inherit;
}
.lang-switch button.active { background: #fff; color: var(--accent); box-shadow: var(--shadow-sm); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(560px 340px at 12% 8%, rgba(37, 99, 235, .10), transparent 65%),
    radial-gradient(640px 420px at 92% 18%, rgba(37, 99, 235, .08), transparent 65%),
    linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badge {
  display: inline-block; background: var(--accent-soft); color: var(--accent);
  font-weight: 600; font-size: .85rem; padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); margin-bottom: 18px; }
.lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 30px; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-points { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: .94rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: "✓"; color: var(--accent); font-weight: 800; }

/* Hero visual: browser mockup */
.hero-visual { position: relative; }
.browser-mock {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); overflow: hidden; transform: rotate(1.2deg);
}
.bm-bar { display: flex; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: #fbfcff; }
.bm-bar span { width: 11px; height: 11px; border-radius: 50%; background: #dfe6f3; }
.bm-bar span:first-child { background: #ffc9c9; }
.bm-bar span:nth-child(2) { background: #ffe9b3; }
.bm-bar span:nth-child(3) { background: #c2eccf; }
.bm-body { padding: 26px 24px 30px; }
.bm-hero { height: 86px; border-radius: 12px; background: linear-gradient(120deg, var(--accent), #6d9bff); position: relative; }
.bm-hero::after { content: ""; position: absolute; left: 18px; bottom: 16px; width: 44%; height: 10px; border-radius: 6px; background: rgba(255,255,255,.85); }
.bm-lines { margin: 20px 0 18px; display: grid; gap: 10px; }
.bm-lines span { height: 9px; border-radius: 6px; background: #e8edf8; }
.bm-lines span.short { width: 58%; }
.bm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bm-cards i { height: 58px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 12px 16px; font-size: .85rem;
  animation: floaty 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .9rem; }
.float-card span { color: var(--muted); }
.float-card .fc-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.fc1 { top: -22px; right: -12px; }
.fc2 { bottom: -20px; left: -16px; animation-delay: 2.4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Sections / Cards ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--soft); }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 46px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 46px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.service-card { padding: 34px 30px; }
.service-card h3 { font-size: 1.3rem; margin: 18px 0 10px; }
.service-card p { color: var(--muted); margin-bottom: 18px; }
.icon-circle {
  width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft);
  display: grid; place-items: center; color: var(--accent);
}
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink); font-size: .97rem; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 19px; height: 19px; border-radius: 50%; background: var(--accent-soft);
  color: var(--accent); font-size: .72rem; font-weight: 800; display: grid; place-items: center;
}

/* ---------- Price tables ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 46px; align-items: start; }
.price-card { padding: 28px 26px; }
.price-card h3 { font-size: 1.15rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.price-card h3 .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--accent); flex: none; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th {
  text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); padding: 10px 6px; border-bottom: 2px solid var(--line);
}
.price-table th:last-child { text-align: right; }
.price-table td { padding: 13px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: #f8faff; }
.pname { font-weight: 600; font-size: .96rem; }
.pdesc { color: var(--muted); font-size: .84rem; margin-top: 2px; }
.price { text-align: right; font-weight: 700; color: var(--accent); white-space: nowrap; font-size: .98rem; }
.price-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 26px; }

/* ---------- Forms ---------- */
.form-card { padding: 36px 34px; margin-top: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .97rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px;
  background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3.5px rgba(37, 99, 235, .13);
}
.form-note { color: var(--muted); font-size: .84rem; margin: 16px 0 18px; }
.form-status { display: none; margin-top: 18px; padding: 13px 16px; border-radius: 11px; font-size: .95rem; }
.form-status.ok { display: block; background: var(--green-soft); color: var(--green); border: 1px solid #bbe6c9; }
.form-status.err { display: block; background: var(--red-soft); color: var(--red); border: 1px solid #f4c4c4; }

/* ---------- FAQ + Ask ---------- */
.faq-grid { display: grid; grid-template-columns: 1.15fr .95fr; gap: 34px; margin-top: 46px; align-items: start; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 13px; margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  background: none; border: none; cursor: pointer; text-align: left;
  padding: 17px 20px; font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--ink);
}
.faq-q .chev { flex: none; transition: transform .22s ease; color: var(--muted); display: grid; place-items: center; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding: 0 20px 18px; color: var(--muted); font-size: .96rem; }
.ask-card { margin-top: 0; padding: 30px 28px; }
.ask-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.ask-sub { color: var(--muted); font-size: .94rem; margin-bottom: 20px; }
.ask-card .field { margin-bottom: 16px; }

/* ---------- Contact ---------- */
.contact-card { padding: 30px 26px; text-align: center; }
.contact-card .icon-circle { margin: 0 auto 16px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: .96rem; }
.contact-big { color: var(--accent); font-weight: 700; text-decoration: none; font-size: 1.02rem; word-break: break-all; }
.contact-big:hover { text-decoration: underline; }
.area-line { text-align: center; margin-top: 34px; color: var(--muted); font-size: .96rem; }
.area-line strong { color: var(--ink); margin-right: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: #0c1730; color: #c4cfe6; padding: 52px 0 34px; margin-top: 20px; }
.footer-inner { display: grid; gap: 22px; }
.footer-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: #8fa0c2; font-size: .92rem; width: 100%; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links button, .footer-links a {
  background: none; border: none; color: #c4cfe6; font-size: .92rem; cursor: pointer;
  text-decoration: none; font-family: inherit; padding: 0;
}
.footer-links button:hover, .footer-links a:hover { color: #fff; text-decoration: underline; }
.copyright { color: #7588ad; font-size: .88rem; border-top: 1px solid #1c2c4d; padding-top: 20px; }

/* ---------- Modals (Impressum / Datenschutz) ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 20, 40, .55); backdrop-filter: blur(3px); }
.modal-dialog {
  position: relative; background: #fff; border-radius: 18px; max-width: 660px; width: 100%;
  max-height: 82vh; overflow-y: auto; padding: 34px 32px; box-shadow: var(--shadow);
}
.modal-dialog h3 { font-size: 1.3rem; margin-bottom: 16px; }
.modal-body p { margin-bottom: 12px; color: var(--muted); font-size: .95rem; }
.modal-body strong { color: var(--ink); }
.modal-x {
  position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border-radius: 10px;
  border: none; background: var(--soft); color: var(--muted); font-size: 1.25rem; cursor: pointer; line-height: 1;
}
.modal-x:hover { background: var(--accent-soft); color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0; padding: 10px 4%;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 8px; border-bottom: 1px solid var(--soft); font-size: 1.02rem; }
  .burger { display: flex; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero { padding: 56px 0 80px; }
  .cards-2, .price-grid, .faq-grid { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .fc1 { right: 4px; }
  .fc2 { left: 4px; }
}
@media (max-width: 640px) {
  .cards-3, .form-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .form-card { padding: 26px 20px; }
  .nav-cta { display: none; }
  .hero-ctas .btn { flex: 1; justify-content: center; }
}
@media (max-width: 520px) {
  .brand span { display: none; }
}

/* ---------- Muster-Websites (Demo-Showcase) ---------- */
.samples-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 46px; }
.sample-card { display: block; text-decoration: none; color: inherit; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.sample-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sample-thumb { background: #fff; border-bottom: 1px solid var(--line); }
.st-bar { display: flex; gap: 5px; padding: 9px 12px; background: #fbfcff; border-bottom: 1px solid var(--line); }
.st-bar span { width: 8px; height: 8px; border-radius: 50%; background: #dfe6f3; }
.st-hero { height: 78px; position: relative; }
.st-hero::after {
  content: ""; position: absolute; left: 16px; bottom: 15px; width: 48%; height: 9px;
  border-radius: 6px; background: rgba(255,255,255,.88);
  box-shadow: 0 -17px 0 -2px rgba(255,255,255,.38);
}
.st-hero.th-red  { background: linear-gradient(120deg, #8f1d1d, #c0392b); }
.st-hero.th-pink { background: linear-gradient(120deg, #c25f77, #f0b7c0); }
.st-hero.th-teal { background: linear-gradient(120deg, #3f7566, #7ab8a4); }
.st-lines { padding: 14px 16px 4px; display: grid; gap: 7px; }
.st-lines i { height: 7px; border-radius: 5px; background: #e8edf8; display: block; }
.st-lines i.short { width: 55%; }
.st-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding: 12px 16px 16px; }
.st-cards b { height: 32px; border-radius: 8px; }
.st-cards.th-red b  { background: #f7e8e1; }
.st-cards.th-pink b { background: #fceef1; }
.st-cards.th-teal b { background: #e6f2ee; }
.sample-body { padding: 20px 22px 24px; }
.sample-tag {
  display: inline-block; font-size: .73rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 10px;
}
.sample-body h3 { font-size: 1.1rem; margin-bottom: 6px; line-height: 1.35; }
.sample-body p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.sample-link { color: var(--accent); font-weight: 700; font-size: .95rem; }
.sample-link::after { content: " →"; }
.sample-card:hover .sample-link { text-decoration: underline; }
.samples-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 24px; }
@media (max-width: 980px) { .samples-grid { grid-template-columns: 1fr; } }
@media (min-width: 981px) and (max-width: 1120px) { .samples-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Dòng giá theo giờ (Stundensatz) ---------- */
.price-hourly {
  width: fit-content; max-width: 100%; margin: 28px auto 0; text-align: center;
  background: var(--accent-soft); color: var(--accent-dark);
  font-weight: 600; font-size: .95rem; border-radius: 999px; padding: 12px 26px;
}
.price-hourly + .price-note { margin-top: 14px; }

/* ---------- Ảnh thật ---------- */
.hero-photo { width: 100%; aspect-ratio: 1 / 0.82; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); display: block; }
.service-photo { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; display: block; }

/* ---------- Banner khuyến mãi ---------- */
.promo { margin-top: -26px; padding-bottom: 70px; }
.promo-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(115deg, var(--accent) 0%, #4f83f1 60%, #6d9bff 100%);
  border-radius: 20px; padding: 34px 38px; color: #fff; box-shadow: 0 14px 34px rgba(37, 99, 235, .25);
}
.promo-badge {
  display: inline-block; background: #ffd166; color: #4a3200; font-size: .72rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px; margin-bottom: 10px;
}
.promo-text h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: 6px; }
.promo-text p { color: rgba(255,255,255,.88); font-size: .97rem; max-width: 560px; }
.promo-btn { background: #fff; color: var(--accent-dark); padding: 13px 28px; border-radius: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .15s; }
.promo-btn:hover { transform: translateY(-2px); }
@media (max-width: 640px) { .promo-card { padding: 26px 22px; text-align: center; justify-content: center; } }

/* ---------- Nút WhatsApp nổi ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(37, 211, 102, .4);
  transition: transform .15s ease;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; opacity: .35; animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .35; } 70% { transform: scale(1.6); opacity: 0; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.09); }
.wa-float svg { position: relative; }

/* ---------- Màu thẻ demo café ---------- */
.st-hero.th-brown { background: linear-gradient(120deg, #6b4226, #a87952); }
.st-cards.th-brown b { background: #f4e9dc; }

/* ---------- Thumbnail demo dạng ảnh thật ---------- */
.st-hero.photo { background-position: center; background-size: cover; background-repeat: no-repeat; }
.st-hero.photo::after { display: none; }

/* ---- Logo ---- */
.brand-logo { border-radius: 9px; flex: none; box-shadow: 0 2px 8px rgba(14,27,51,.18); }
.footer-brand .brand-logo { background: #ffffff; padding: 3px; width: 20px; height: 20px; border-radius: 8px; box-shadow: none; }
