@font-face { font-family: Poppins; font-weight: 300; font-display: swap; src: url(/fonts/Poppins-Light.ttf) format('truetype'); }
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(/fonts/Poppins-Regular.ttf) format('truetype'); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(/fonts/Poppins-Medium.ttf) format('truetype'); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(/fonts/Poppins-SemiBold.ttf) format('truetype'); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(/fonts/Poppins-Bold.ttf) format('truetype'); }

:root {
  --navy: #0d1b3e;
  --blue: #1769c2;
  --blue-dark: #11529a;
  --sky: #e9f2fc;
  --amber: #f5a623;
  --text: #4a5263;
  --heading: #0d1228;
  --line: #e1e6ee;
  --bg-alt: #f6f8fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 27, 62, .08);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Poppins, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.7; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4, .h3 { color: var(--heading); line-height: 1.25; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); }
h3, .h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.small { font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 8px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; font-family: inherit; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); color: var(--navy); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; }
.brand img { width: 200px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.site-nav ul a { color: var(--heading); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); gap: 14px; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .brand img { width: 170px; }
}

/* Hero */
.hero { position: relative; color: #fff; background: linear-gradient(100deg, rgba(9,18,44,.92) 0%, rgba(9,18,44,.72) 42%, rgba(9,18,44,.18) 100%), var(--hero-img, url(/images/hero-team-office.jpg)) 65% center / cover no-repeat; }
.hero-inner { padding: clamp(80px, 12vw, 150px) 0; max-width: 760px; margin-left: max(20px, calc((100% - var(--container)) / 2)); }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.hero-text { font-size: 1.08rem; color: #dbe3f1; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--amber); margin-bottom: .8em; }
.section-head .kicker, .split .kicker { color: var(--blue); }

.page-hero { background: linear-gradient(100deg, rgba(9,18,44,.93), rgba(9,18,44,.75)), var(--header-img, url(/images/header-makati-skyline.jpg)) center 70% / cover no-repeat; color: #dbe3f1; padding: 56px 0 64px; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero-sub { font-size: 1.1rem; max-width: 760px; margin: 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: .85rem; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: #9fc3ef; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.intro { margin: 0 auto 48px; text-align: center; font-size: 1.05rem; }
.center-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: box-shadow .25s, transform .25s, border-color .25s; display: flex; flex-direction: column; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.card-icon { width: 48px; height: 48px; object-fit: contain; margin-bottom: 20px; }
.card h3 a, .card h2 a { color: var(--heading); text-decoration: none; }
.card h3 a:hover, .card h2 a:hover { color: var(--blue); }
.card p { font-size: .95rem; flex: 1; }
.card-link { font-weight: 600; font-size: .9rem; text-decoration: none; }
.card-link::after { content: ' \2192'; }
.post-card { padding: 0 0 26px; overflow: hidden; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 18px; }
.post-card time, .post-card h3, .post-card p { padding: 0 26px; }
.post-card time { font-size: .8rem; color: #7a8394; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 1; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--sky); border: 1px solid #cfe0f5; }
.feature p { margin: 0; font-size: .95rem; }

/* Prose */
.prose { font-size: 1.02rem; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose blockquote { margin: 1.5em 0; padding: 14px 22px; background: var(--sky); border: 1px solid #cfe0f5; border-radius: 8px; font-style: italic; }
.prose img { border-radius: 10px; margin: 1.5em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.post-meta { color: #7a8394; font-size: .9rem; }
.post-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.related { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }

.faqs details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; background: #fff; }
.faqs summary { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--heading); list-style: none; position: relative; padding-right: 48px; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: '+'; position: absolute; right: 20px; top: 12px; font-size: 1.4rem; color: var(--blue); }
.faqs details[open] summary::after { content: '\2212'; }
.faqs details p { padding: 0 20px 16px; margin: 0; }

.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 22px; }
.sidebar-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.quote-box { background: var(--navy); color: #cdd6e6; border: 0; }
.quote-box a:not(.btn) { color: #fff; }
.sidebar-title { font-weight: 600; color: var(--heading); font-size: 1.1rem; }
.quote-box .sidebar-title { color: #fff; }
.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links li { border-bottom: 1px solid var(--line); }
.sidebar-links li:last-child { border-bottom: 0; }
.sidebar-links a { display: block; padding: 10px 0; text-decoration: none; color: var(--heading); font-size: .95rem; }
.sidebar-links a:hover { color: var(--blue); }
@media (max-width: 960px) { .with-sidebar { grid-template-columns: 1fr; } .sidebar { position: static; } }

/* CTA */
.cta { background: linear-gradient(110deg, var(--blue) 0%, var(--navy) 100%); color: #dbe7f7; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3em; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cta p { margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Forms */
.form { display: grid; gap: 18px; margin-top: 24px; }
.form label { display: grid; gap: 6px; font-weight: 500; color: var(--heading); font-size: .92rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #c9d2df; border-radius: 8px; background: #fff; color: var(--heading); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: 3px solid rgba(23,105,194,.18); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.notice { border-radius: 10px; padding: 18px 22px; margin: 0 0 20px; }
.notice ul { margin: 0; padding-left: 1.2em; }
.notice-success { background: #e8f7ee; border: 1px solid #a8dfbd; color: #155d33; }
.notice-success h2 { color: #155d33; font-size: 1.3rem; }
.notice-error { background: #fdecec; border: 1px solid #f3b4b4; color: #8a1f1f; }

.pager { display: flex; justify-content: space-between; margin-top: 40px; }

/* Footer */
.site-footer { background: var(--navy); color: #aab6cc; font-size: .92rem; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-title { color: #fff; font-weight: 600; font-size: 1.05rem; margin-bottom: 1em; }
.site-footer a { color: #d6dff0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links, .social { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.social { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding: 22px 0; font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
