/*
Theme Name: ZETA.my HR & Accounting
Theme URI: https://zeta.my/
Author: ZETA
Description: ZETA's responsive HR consultancy and accounting services website for Malaysian SMEs.
Version: 2.0.0
Text Domain: zeta-my
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ink: #102434;
  --ink-soft: #325266;
  --brand: #0a6b6b;
  --brand-deep: #075357;
  --mint: #dff4ee;
  --paper: #f8faf9;
  --white: #ffffff;
  --line: #d9e4e3;
  --sand: #f2eadf;
  --accent: #f7bd52;
  --shadow: 0 18px 55px rgba(16, 36, 52, .10);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", Arial, sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.skip-link { position: absolute; left: -999px; top: 1rem; z-index: 100; background: var(--ink); color: white; padding: .65rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 1rem; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem; color: var(--brand-deep); font-size: .8rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.eyebrow.light { color: #b7ece4; }
h1, h2, h3 { font-family: Manrope, "DM Sans", sans-serif; line-height: 1.13; letter-spacing: -.035em; margin: 0; }
h1 { max-width: 850px; font-size: clamp(2.5rem, 6vw, 4.85rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
h3 { font-size: 1.28rem; font-weight: 800; }
p { margin: 0; }
.lead { max-width: 650px; color: var(--ink-soft); font-size: 1.17rem; line-height: 1.7; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .5rem; border: 1px solid transparent; border-radius: 999px; padding: .7rem 1.2rem; background: var(--brand); color: white; font-size: .95rem; font-weight: 700; transition: transform .2s ease, background .2s ease; cursor: pointer; }
.button:hover { background: var(--brand-deep); transform: translateY(-2px); }
.button.secondary { border-color: var(--ink); background: transparent; color: var(--ink); }
.button.secondary:hover { background: var(--ink); color: white; }
.button.warm { background: var(--accent); color: var(--ink); }
.button.warm:hover { background: #ffd278; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(217,228,227,.8); background: rgba(248,250,249,.92); backdrop-filter: blur(14px); }
.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-family: Manrope, sans-serif; font-size: 1.35rem; font-weight: 800; letter-spacing: -.06em; }
.brand-mark { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; background: var(--brand); color: white; font-size: 1.05rem; font-weight: 800; letter-spacing: -.1em; }
.site-header .brand-mark, .site-footer .brand-mark { overflow: hidden; border-radius: 50%; background: transparent; }
.site-header .brand-mark img, .site-footer .brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.site-header .brand-mark img { mix-blend-mode: multiply; }
.brand span:last-child { letter-spacing: -.03em; }
.form-card .wpcf7-form-control-wrap { display: block; margin-top: .4rem; }
.form-card .wpcf7-not-valid-tip { margin-top: .4rem; font-size: .82rem; }
.form-card .wpcf7-response-output { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 10px; font-size: .9rem; }
.form-card .wpcf7-spinner { margin: .3rem .6rem; }
.desktop-nav { display: flex; align-items: center; gap: 1.5rem; color: #3b525e; font-size: .91rem; font-weight: 600; }
.desktop-nav a:not(.header-cta):hover, .desktop-nav a.active { color: var(--brand); }
.header-cta { padding: .55rem 1rem; border-radius: 999px; background: var(--ink); color: white; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; color: var(--ink); font-size: 1.45rem; }
.mobile-nav { display: none; padding: 0 20px 1rem; }
.mobile-nav.open { display: grid; gap: .25rem; }
.mobile-nav a { padding: .7rem .2rem; font-weight: 700; }

.hero { position: relative; overflow: hidden; background: var(--ink); color: white; padding: 7.5rem 0 6.2rem; }
.hero::after { content: ""; position: absolute; right: -180px; bottom: -260px; width: 610px; height: 610px; border: 80px solid #147b7b; border-radius: 50%; opacity: .35; }
.hero .container { position: relative; z-index: 1; }
.hero h1 em { color: #b7ece4; font-style: normal; }
.hero .lead { margin-top: 1.5rem; color: #d5e4e6; }
.hero .button.secondary { border-color: #9fb7b8; color: white; }
.hero .button.secondary:hover { background: white; color: var(--ink); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr); align-items: end; gap: 3rem; }
.hero-note { position: relative; padding: 1.5rem; border: 1px solid rgba(205,236,232,.35); border-radius: var(--radius); background: rgba(255,255,255,.07); }
.hero-note p { color: #d5e4e6; font-size: .98rem; }
.hero-note strong { display: block; margin-bottom: .7rem; color: #b7ece4; font-size: 1.1rem; }
.hero-note .check-list { gap: .65rem; margin: 0; }
.hero-note .check-list li { padding-left: 1.55rem; color: #d5e4e6; font-size: .98rem; }
.hero-note .check-list li::before { color: #b7ece4; }

.section { padding: 6.25rem 0; }
.section.tight { padding: 4.2rem 0; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.7rem; }
.section-top > div:last-child { max-width: 470px; }
.cards { display: grid; gap: 1.25rem; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; padding: 1.85rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card h3 { margin: .9rem 0 .75rem; }
.card p { color: var(--ink-soft); }
.card .text-link { margin-top: auto; padding-top: 1.5rem; }
.service-icon { display: grid; width: 47px; height: 47px; place-items: center; border-radius: 14px; background: var(--mint); color: var(--brand-deep); font-weight: 800; }
.service-icon svg { width: 25px; height: 25px; }
.text-link { display: inline-flex; gap: .45rem; align-items: center; color: var(--brand-deep); font-size: .94rem; font-weight: 700; }
.text-link::after { content: "→"; font-size: 1.1rem; }
.text-link:hover { color: var(--ink); }

.pain-section { background: var(--sand); }
.pain-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4.5rem; align-items: start; }
.check-list { display: grid; gap: .85rem; padding: 0; margin: 1.7rem 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.7rem; color: #314b58; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .1rem; color: var(--brand); font-weight: 800; }
.outcome-panel { padding: 2.1rem; border-radius: var(--radius); background: var(--ink); color: white; box-shadow: var(--shadow); }
.outcome-panel h3 { margin-bottom: 1.3rem; font-size: 1.55rem; }
.outcome { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.15); }
.outcome:first-of-type { border-top: 0; }
.outcome b { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #b7ece4; color: var(--ink); font-size: .8rem; }
.outcome p { color: #d5e4e6; font-size: .95rem; }

.feature-band { background: var(--brand-deep); color: white; }
.feature-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; }
.feature-band .lead { color: #cceae5; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.detail-item { padding: 1rem; border: 1px solid rgba(224,247,242,.22); border-radius: 12px; background: rgba(255,255,255,.06); color: #e6f7f4; font-size: .93rem; }

.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: process; }
.process-item { position: relative; padding: 1.55rem 1.35rem 1.35rem; border-top: 2px solid var(--brand); background: white; }
.process-item::before { counter-increment: process; content: "0" counter(process); display: block; margin-bottom: 1rem; color: var(--brand); font-family: Manrope, sans-serif; font-weight: 800; }
.process-item p { margin-top: .55rem; color: var(--ink-soft); font-size: .94rem; }

.quote { padding: 2.4rem 2.5rem; border-radius: var(--radius); background: #e4f4f1; color: var(--ink); }
.quote p { max-width: 900px; font-family: Manrope, sans-serif; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 700; line-height: 1.35; letter-spacing: -.03em; }

.cta-section { padding: 4.8rem 0; background: var(--ink); color: white; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-section h2 { max-width: 690px; }
.cta-section p { max-width: 580px; margin-top: 1rem; color: #d5e4e6; }

.page-hero { padding: 5.6rem 0 4.6rem; background: var(--ink); color: white; }
.page-hero .lead { margin-top: 1.4rem; color: #d5e4e6; }
.breadcrumb { display: flex; gap: .55rem; margin-bottom: 1.4rem; color: #b7ece4; font-size: .9rem; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.page-hero.small { padding: 4.3rem 0 3.8rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; }
.split.sticky-aside > aside { position: sticky; top: 105px; }
.aside-card { padding: 1.5rem; border-radius: 16px; background: var(--mint); }
.aside-card h3 { margin-bottom: .75rem; }
.aside-card p { color: var(--ink-soft); font-size: .94rem; }
.aside-card .button { width: 100%; margin-top: 1.25rem; }
.content-block + .content-block { margin-top: 2.5rem; }
.content-block h2 { margin-bottom: 1rem; font-size: 2.15rem; }
.content-block p + p { margin-top: 1rem; }
.service-list { display: grid; gap: .8rem; margin-top: 1.35rem; }
.service-list article { padding: 1.25rem 1.3rem; border: 1px solid var(--line); border-left: 3px solid var(--brand); background: white; }
.service-list h3 { font-family: "DM Sans", sans-serif; font-size: 1rem; letter-spacing: 0; }
.service-list p { margin-top: .35rem; color: var(--ink-soft); font-size: .94rem; }
.table-wrap { overflow-x: auto; margin-top: 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: white; }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { padding: 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #eef6f4; font-size: .86rem; letter-spacing: .03em; text-transform: uppercase; }
td { color: var(--ink-soft); font-size: .93rem; }
tr:last-child td { border-bottom: 0; }

.about-statement { max-width: 940px; font-family: Manrope, sans-serif; font-size: clamp(1.7rem, 4vw, 3.1rem); font-weight: 800; line-height: 1.25; letter-spacing: -.04em; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.principle { min-height: 205px; padding: 1.5rem; background: white; }
.principle span { color: var(--brand); font-weight: 800; }
.principle h3 { margin: .8rem 0 .6rem; font-size: 1.08rem; }
.principle p { color: var(--ink-soft); font-size: .92rem; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: start; }
.contact-card { padding: 1.65rem; border-radius: var(--radius); background: var(--ink); color: white; }
.contact-card h2 { font-size: 2rem; }
.contact-card p { margin-top: .9rem; color: #d5e4e6; }
.contact-methods { display: grid; gap: .8rem; margin-top: 1.6rem; }
.contact-method { display: block; padding: 1rem; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; }
.contact-method strong { display: block; color: #b7ece4; font-size: .83rem; letter-spacing: .05em; text-transform: uppercase; }
.contact-method span { display: block; margin-top: .25rem; font-weight: 700; }
.form-card { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.form-card h2 { font-size: 2rem; }
.form-card > p { margin-top: .65rem; color: var(--ink-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.field { display: grid; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
label { color: var(--ink); font-size: .9rem; font-weight: 700; }
input, select, textarea { width: 100%; padding: .76rem .85rem; border: 1px solid #bacdcd; border-radius: 9px; background: #fcfdfd; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(10,107,107,.18); border-color: var(--brand); }
textarea { min-height: 130px; resize: vertical; }
.form-note { display: none; margin-top: 1rem; padding: .85rem 1rem; border-radius: 9px; background: var(--mint); color: var(--brand-deep); font-size: .94rem; }
.form-note.show { display: block; }

.site-footer { background: #0c1f2d; color: #d8e5e7; }
.footer-main { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 3rem; padding: 4rem 0 2.5rem; }
.footer-main .brand { color: white; }
.footer-intro { max-width: 350px; margin-top: 1rem; color: #b4c8cb; }
.footer-contact { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .65rem; color: #b7ece4; font-size: .88rem; font-weight: 600; }
.footer-contact a:hover { color: white; }
.footer-title { margin-bottom: .8rem; color: #b7ece4; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: .55rem; font-size: .94rem; }
.footer-links a:hover { color: #b7ece4; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,.13); color: #9db2b6; font-size: .8rem; }
.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 15; display: inline-flex; align-items: center; gap: .55rem; padding: .75rem 1.05rem; border-radius: 999px; background: #1b9368; color: white; box-shadow: 0 10px 25px rgba(7,83,87,.25); font-size: .9rem; font-weight: 700; }
.floating-whatsapp:hover { background: #147952; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .hero { padding: 5.4rem 0 4.6rem; }
  .hero-grid, .pain-grid, .feature-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-note { max-width: 560px; }
  .cards.three { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .split.sticky-aside > aside { position: static; }
  .footer-main { grid-template-columns: 1.2fr .8fr; }
  .footer-main > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 30px, 1160px); }
  .section { padding: 4.2rem 0; }
  .section-top, .cta-inner { display: block; }
  .section-top > div:last-child { margin-top: 1.2rem; }
  .cards.two, .cards.three, .process, .detail-grid, .principles, .footer-main { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-main > :first-child { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom span + span { display: block; margin-top: .3rem; }
  .footer-contact { display: grid; gap: .15rem; }
  .footer-contact > span { display: none; }
  .floating-whatsapp { right: 15px; bottom: 15px; padding: .7rem .95rem; }
}
