/* =========================================================================
   Asiamost theme styles (palette + layout matched to Figma)
   1. Tokens   2. Base/type   3. Layout   4. Icons   5. Buttons
   6. Header/nav   7. Hero + contact bar   8. Home sections
   9. Banner   10. About   11. Contact   12. CPT detail
   13. Blog/generic   14. Footer   15. Animations   16. Responsive
   ========================================================================= */

/* 1. Tokens -------------------------------------------------------------- */
:root {
	--am-teal: #00899e;          /* primary accent */
	--am-teal-dark: #007182;
	--am-teal-bright: #00a9a5;   /* contact bar / gradient */
	--am-orange: #f15a29;        /* secondary accent (logo MOST, contact icons) */
	--am-orange-dark: #d6491c;
	--am-black: #161616;
	--am-black-01: #1d1d1d;
	--am-dark-panel: #1f2226;
	--am-grey-01: #5b5b5b;
	--am-grey-02: #8a8a8a;
	--am-grey-bg: #f5f6f7;
	--am-border: #e4e6e8;
	--am-white: #ffffff;
	--am-font-heading: 'Montserrat', 'Segoe UI', Arial, sans-serif;
	--am-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--am-maxw: 1200px;
	--am-radius: 6px;
	--am-shadow: 0 18px 40px rgba(20, 20, 20, 0.10);
	--am-header-h: 80px;
}

/* 2. Base & type --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0; font-family: var(--am-font-body); font-size: 16px; line-height: 1.6;
	color: var(--am-grey-01); background: var(--am-white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--am-teal); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--am-teal-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--am-font-heading); color: var(--am-black-01); margin: 0 0 .6em; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1.1em; }

.am-heading-h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: .02em; font-weight: 700; text-transform: uppercase; margin-bottom: .7em; }
.am-heading-h4 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.am-heading--light, .am-heading--light * { color: var(--am-white); }
.am-body { color: var(--am-grey-01); margin-bottom: 1.1em; }
.am-text-center { text-align: center; }

/* Eyebrow (teal) */
.am-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.am-eyebrow--centered { justify-content: center; }
.am-eyebrow__line { display: block; width: 40px; height: 2px; background: var(--am-teal); }
.am-eyebrow__text { font-family: var(--am-font-heading); font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--am-teal); }

/* 3. Layout -------------------------------------------------------------- */
.am-container { width: 100%; max-width: var(--am-maxw); margin: 0 auto; padding: 0 24px; }
.am-narrow { max-width: 860px; }
.am-section { padding: clamp(54px, 7vw, 92px) 0; }
.am-section__head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.am-section__head .am-eyebrow { margin-bottom: 12px; }
.am-section__foot { text-align: center; margin-top: 44px; }

/* 4. Icons (inline SVG tinted via currentColor) -------------------------- */
.am-icon { display: inline-flex; align-items: center; justify-content: center; line-height: 0; color: var(--am-teal); --stroke-0: currentColor; --fill-0: currentColor; flex: 0 0 auto; }
.am-icon svg { width: 100%; height: 100%; display: block; }
.am-icon--sm { width: 20px; height: 20px; }
.am-icon--md { width: 34px; height: 34px; }
.am-icon--bar { width: 26px; height: 26px; color: #fff; }
.am-icon--orange { color: var(--am-orange); }

/* 5. Buttons ------------------------------------------------------------- */
.am-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--am-font-heading); font-weight: 600; font-size: 14px; letter-spacing: .08em;
	text-transform: uppercase; padding: 14px 32px; border-radius: var(--am-radius);
	border: 2px solid transparent; cursor: pointer; transition: all .2s ease;
}
.am-btn--primary { background: var(--am-teal); color: #fff; border-color: var(--am-teal); }
.am-btn--primary:hover { background: var(--am-teal-dark); border-color: var(--am-teal-dark); color: #fff; }
.am-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.am-btn--ghost:hover { background: #fff; color: var(--am-black-01); }
.am-btn--light { background: #fff; color: var(--am-black-01); border-color: #fff; }
.am-btn--light:hover { background: var(--am-teal); border-color: var(--am-teal); color: #fff; }

.am-skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--am-teal); color: #fff; padding: 10px 18px; }
.am-skip-link:focus { left: 12px; top: 12px; }

/* 6. Header & nav -------------------------------------------------------- */
.am-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: background .3s ease, box-shadow .3s ease, padding .3s ease; }
.am-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.am-logo img { height: 28px; width: auto; }
.am-header.is-solid { background: var(--am-black); box-shadow: 0 4px 18px rgba(0, 0, 0, .25); padding: 10px 0; }

.am-primary-nav { display: flex; align-items: center; gap: 28px; }
.am-nav { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.am-nav__item { position: relative; display: flex; align-items: center; gap: 4px; }
.am-nav__item > a { position: relative; display: inline-flex; align-items: center; gap: 6px; font-family: var(--am-font-heading); font-weight: 500; font-size: 14px; letter-spacing: .04em; color: rgba(255, 255, 255, .9); padding: 8px 0; text-transform: uppercase; }
.am-nav__item > a:hover { color: #fff; }
.am-nav__item.is-active > a { color: #fff; }
.am-nav__item.is-active > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #fff; }
.am-nav__toggle { background: none; border: 0; padding: 0 2px; margin: 0; cursor: pointer; color: rgba(255, 255, 255, .9); display: inline-flex; align-items: center; }
.am-nav__chevron { transition: transform .25s ease; }

.am-nav__submenu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px; background: #fff; border-radius: var(--am-radius); box-shadow: var(--am-shadow); list-style: none; margin: 0; padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 50; }
.am-nav__submenu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.am-nav__item--has-children:hover .am-nav__submenu,
.am-nav__item--has-children.is-open .am-nav__submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.am-nav__item--has-children:hover .am-nav__chevron,
.am-nav__item--has-children.is-open .am-nav__chevron { transform: rotate(180deg); }
.am-nav__submenu a { display: block; padding: 10px 20px; font-size: 14px; color: var(--am-grey-01); font-family: var(--am-font-body); text-transform: none; letter-spacing: 0; }
.am-nav__submenu a:hover { background: var(--am-grey-bg); color: var(--am-teal); }

.am-lang { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 13px; font-weight: 600; }
.am-lang img { filter: brightness(0) invert(1); }

.am-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.am-burger span { width: 26px; height: 2px; background: #fff; transition: transform .25s ease, opacity .25s ease; }
.am-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.am-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.am-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 7. Hero + contact bar -------------------------------------------------- */
.am-hero { position: relative; min-height: 560px; height: 78vh; max-height: 760px; background-size: cover; background-position: center; }
.am-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .12) 38%, rgba(0, 0, 0, .12) 100%); }

.am-contact-bar { position: absolute; left: 0; right: 0; bottom: 0; background: var(--am-teal); }
.am-contact-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.am-contact-bar__item { display: flex; align-items: center; gap: 14px; flex: 1; color: #fff; }
.am-contact-bar__label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.am-contact-bar__item a, .am-contact-bar__item span { color: #fff; font-weight: 600; font-size: 16px; }
.am-contact-bar__item a:hover { color: rgba(255, 255, 255, .85); }
.am-contact-bar__divider { width: 1px; align-self: stretch; background: rgba(255, 255, 255, .3); margin: 4px 0; }

/* 8. Home sections ------------------------------------------------------- */
/* Company background: text left, image right */
.am-company__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.am-company__media img { border-radius: var(--am-radius); box-shadow: var(--am-shadow); width: 100%; object-fit: cover; }

/* Services */
.am-capabilities { background: var(--am-grey-bg); }
.am-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.am-service-card { background: #fff; border-radius: var(--am-radius); padding: 34px 28px; border: 1px solid var(--am-border); transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.am-service-card:hover { transform: translateY(-6px); box-shadow: var(--am-shadow); }
.am-service-card__icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(0, 137, 158, .1); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--am-teal); }
.am-service-card__title { font-size: 18px; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 12px; }
.am-service-card__text { color: var(--am-grey-01); font-size: 15px; flex: 1; }
.am-service-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--am-font-heading); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--am-teal); }
.am-service-card__link:hover { gap: 12px; }

/* Why choose us: dark split */
.am-why { background: var(--am-dark-panel); color: #fff; padding: clamp(54px, 7vw, 92px) 0; }
.am-why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.am-why__media img { border-radius: var(--am-radius); width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.am-why__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 24px; }
.am-why__item { display: flex; gap: 16px; align-items: flex-start; }
.am-why__item .am-icon { color: var(--am-teal); margin-top: 2px; }
.am-why__title { color: #fff; font-size: 18px; margin-bottom: 8px; }
.am-why__text { color: rgba(255, 255, 255, .75); font-size: 15px; margin: 0; }

/* Projects */
.am-projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.am-project-card { border-radius: var(--am-radius); overflow: hidden; background: #fff; border: 1px solid var(--am-border); }
.am-project-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.am-project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.am-project-card:hover .am-project-card__media img { transform: scale(1.07); }
.am-project-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .4), transparent 55%); }
.am-project-card__badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--am-teal); color: #fff; font-family: var(--am-font-heading); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 3px; }
.am-project-card__body { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.am-project-card__title { font-size: 17px; text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.am-project-card__cta { display: inline-flex; align-items: center; gap: 6px; color: var(--am-teal); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }

/* Promise & values: split */
.am-promise__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.am-promise__media img { border-radius: var(--am-radius); box-shadow: var(--am-shadow); width: 100%; object-fit: cover; }
.am-values__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 10px; }
.am-values__grid--row { grid-template-columns: repeat(4, 1fr); }
.am-values__card { background: var(--am-grey-bg); border: 1px solid var(--am-border); border-radius: var(--am-radius); padding: 26px 20px; text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.am-values__card:hover { transform: translateY(-4px); box-shadow: var(--am-shadow); }
.am-values__card .am-icon { margin: 0 auto 14px; color: var(--am-teal); }
.am-values__card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .03em; margin: 0; }

/* Philosophy: split text + image */
.am-philosophy__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.am-philosophy__mark { margin: 6px 0 14px; opacity: .9; }
.am-philosophy__quote { font-family: var(--am-font-heading); font-weight: 500; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.4; color: var(--am-black-01); margin: 0; }
.am-philosophy__media img { border-radius: var(--am-radius); box-shadow: var(--am-shadow); width: 100%; object-fit: cover; }

/* CTA: light band */
.am-cta { background: var(--am-grey-bg); color: var(--am-black-01); padding: clamp(48px, 6vw, 84px) 0; }
.am-cta__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.am-cta__title { color: var(--am-black-01); font-size: clamp(24px, 3.2vw, 36px); text-transform: uppercase; margin-bottom: 26px; }
.am-cta__text { color: var(--am-grey-01); font-size: 17px; margin-bottom: 28px; }

/* Partners */
.am-partners { padding: 50px 0; background: #fff; border-top: 1px solid var(--am-border); }
.am-partners__label { text-align: center; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; color: var(--am-grey-02); margin-bottom: 26px; }
.am-partners__row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); }
.am-partners__row img { max-height: 52px; width: auto; opacity: .65; filter: grayscale(1); transition: opacity .25s ease, filter .25s ease; }
.am-partners__row img:hover { opacity: 1; filter: grayscale(0); }

/* 9. Banner -------------------------------------------------------------- */
.am-banner { position: relative; background-size: cover; background-position: center; color: #fff; min-height: 340px; display: flex; align-items: center; justify-content: center; padding: calc(var(--am-header-h) + 26px) 0 46px; text-align: center; }
.am-banner__overlay { position: absolute; inset: 0; background: rgba(16, 16, 16, .55); }
.am-banner .am-container { position: relative; }
.am-banner__title { color: #fff; font-size: clamp(28px, 4.2vw, 46px); text-transform: uppercase; letter-spacing: .06em; margin: 0; }

/* 10. About -------------------------------------------------------------- */
.am-about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.am-about__media img { border-radius: var(--am-radius); box-shadow: var(--am-shadow); width: 100%; object-fit: cover; }
.am-about__extra { margin-top: 18px; }

.am-philosophy-band { background: var(--am-teal); color: #fff; padding: clamp(34px, 4vw, 52px) 0; }
.am-philosophy-band__inner { text-align: center; max-width: 900px; margin: 0 auto; }
.am-philosophy-band__label { display: block; font-family: var(--am-font-heading); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: rgba(255, 255, 255, .85); margin-bottom: 12px; }
.am-philosophy-band__quote { font-family: var(--am-font-heading); font-weight: 500; font-size: clamp(18px, 2.2vw, 26px); line-height: 1.4; color: #fff; margin: 0; }

.am-richtext { color: var(--am-grey-01); }
.am-richtext h2, .am-richtext h3 { margin-top: 1.4em; }
.am-richtext ul, .am-richtext ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.am-richtext li { margin-bottom: .5em; }
.am-richtext img { border-radius: var(--am-radius); margin: 1.2em 0; }

/* 11. Contact ------------------------------------------------------------ */
.am-contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.am-contact__card { background: var(--am-grey-bg); border-radius: var(--am-radius); padding: clamp(28px, 4vw, 40px); }
.am-contact__logo { height: 26px; width: auto; margin-bottom: 28px; }
.am-contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.am-contact__list-item { display: flex; gap: 16px; align-items: flex-start; }
.am-contact__icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 8px; background: #fff; box-shadow: 0 6px 16px rgba(20, 20, 20, .06); display: flex; align-items: center; justify-content: center; }
.am-contact__list-label { display: block; font-family: var(--am-font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 13px; color: var(--am-black-01); margin-bottom: 4px; }
.am-contact__list-value { color: var(--am-grey-01); font-size: 15px; }

.am-contact__form-title { margin-bottom: 28px; }
.am-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.am-field { margin-bottom: 22px; }
.am-field label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 6px; color: var(--am-grey-01); }
.am-cf7 input[type="text"], .am-cf7 input[type="email"], .am-cf7 input[type="tel"], .am-cf7 textarea, .am-cf7 select,
.am-fallback-form input, .am-fallback-form textarea, .am-fallback-form select {
	width: 100%; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--am-border); border-radius: 0;
	font-family: var(--am-font-body); font-size: 15px; background: transparent; color: var(--am-black-01);
}
.am-cf7 textarea, .am-fallback-form textarea { resize: vertical; }
.am-cf7 input:focus, .am-cf7 textarea:focus, .am-cf7 select:focus,
.am-fallback-form input:focus, .am-fallback-form textarea:focus, .am-fallback-form select:focus { outline: none; border-bottom-color: var(--am-teal); }
.am-cf7 .wpcf7-submit, .am-fallback-form button { margin-top: 8px; background: var(--am-teal); color: #fff; border: 0; border-radius: var(--am-radius); font-family: var(--am-font-heading); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 14px 36px; cursor: pointer; transition: background .2s ease; }
.am-cf7 .wpcf7-submit:hover, .am-fallback-form button:hover { background: var(--am-teal-dark); }
.am-fallback-form__note { font-size: 13px; color: var(--am-grey-02); margin-top: 16px; }

.am-contact-map { line-height: 0; }
.am-contact-map iframe { display: block; width: 100%; }

/* 12. CPT detail --------------------------------------------------------- */
.am-capability-detail__head { display: flex; gap: 22px; align-items: stretch; margin-bottom: 28px; }
.am-capability-detail__bar { flex: 0 0 6px; width: 6px; background: var(--am-teal); border-radius: 3px; }
.am-detail-back { margin-top: 34px; }

.am-project-detail__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.am-project-detail__main { border-radius: var(--am-radius); overflow: hidden; box-shadow: var(--am-shadow); }
.am-project-detail__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.am-project-detail__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.am-project-detail__thumb { position: relative; border-radius: var(--am-radius); overflow: hidden; }
.am-project-detail__thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.am-project-detail__thumb--more img { filter: brightness(.45); }
.am-project-detail__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--am-font-heading); font-weight: 700; font-size: 22px; }
.am-project-detail__meta { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 14px; }
.am-project-detail__meta li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--am-border); }
.am-project-detail__meta-label { color: var(--am-grey-02); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; font-weight: 600; }
.am-project-detail__meta-value { color: var(--am-black-01); font-weight: 600; text-align: right; }

/* Filter */
.am-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 42px; }
.am-filter__btn { background: transparent; border: 1px solid var(--am-border); border-radius: 30px; padding: 9px 22px; font-family: var(--am-font-heading); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--am-grey-01); cursor: pointer; transition: all .2s ease; }
.am-filter__btn:hover { border-color: var(--am-teal); color: var(--am-teal); }
.am-filter__btn.is-active { background: var(--am-teal); border-color: var(--am-teal); color: #fff; }
.am-project-card.is-hidden { display: none; }

/* 13. Blog / generic ----------------------------------------------------- */
.am-blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.am-blog__card { border: 1px solid var(--am-border); border-radius: var(--am-radius); overflow: hidden; background: #fff; }
.am-blog__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.am-blog__body { padding: 24px; }
.am-blog__date { font-size: 13px; color: var(--am-grey-02); text-transform: uppercase; letter-spacing: .06em; }
.am-blog__title { font-size: 20px; margin: 8px 0 12px; }
.am-pagination { margin-top: 48px; text-align: center; }
.am-pagination .page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--am-border); border-radius: var(--am-radius); margin: 0 4px; color: var(--am-grey-01); }
.am-pagination .page-numbers.current { background: var(--am-teal); border-color: var(--am-teal); color: #fff; }
.am-single__meta { color: var(--am-grey-02); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; margin-bottom: 20px; }

/* 14. Footer ------------------------------------------------------------- */
.am-footer { background: var(--am-black); color: rgba(255, 255, 255, .75); padding: clamp(48px, 6vw, 76px) 0 0; }
.am-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.am-footer__brand img { height: 26px; width: auto; margin-bottom: 20px; }
.am-footer__brand p { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .6); }
.am-footer__col h3 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.am-footer__links { list-style: none; margin: 0; padding: 0; }
.am-footer__links li { margin-bottom: 12px; }
.am-footer__links a { color: rgba(255, 255, 255, .7); font-size: 14px; }
.am-footer__links a:hover { color: var(--am-teal-bright); padding-left: 4px; }
.am-footer__contact ul { list-style: none; margin: 0; padding: 0; }
.am-footer__contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.am-footer__contact li .am-icon { margin-top: 1px; }
.am-footer__contact a { color: rgba(255, 255, 255, .8); }
.am-footer__contact a:hover { color: var(--am-orange); }
.am-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; }
.am-footer__bottom p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .55); text-align: center; }

/* 15. Animations --------------------------------------------------------- */
.am-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.am-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.am-reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* 16. Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
	.am-services-grid, .am-projects-grid, .am-blog__grid { grid-template-columns: repeat(2, 1fr); }
	.am-values__grid--row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.am-burger { display: flex; }
	.am-primary-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(82vw, 340px); background: var(--am-black); flex-direction: column; align-items: stretch; gap: 0; padding: 90px 24px 40px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; z-index: 99; }
	.am-primary-nav.is-open { transform: translateX(0); }
	.am-nav { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.am-nav__item { border-bottom: 1px solid rgba(255, 255, 255, .1); flex-wrap: wrap; justify-content: space-between; }
	.am-nav__item > a { padding: 14px 0; flex: 1; }
	.am-nav__toggle { padding: 14px 6px; }
	.am-nav__item.is-active > a::after { display: none; }
	.am-nav__submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 10px; min-width: 0; display: none; flex-basis: 100%; }
	.am-nav__item--has-children.is-open .am-nav__submenu { display: block; }
	.am-nav__submenu a { color: rgba(255, 255, 255, .7); padding: 10px 12px; }
	.am-nav__submenu a:hover { background: rgba(255, 255, 255, .06); }
	.am-lang { margin-top: 18px; }
	body.am-menu-open { overflow: hidden; }

	.am-company__grid, .am-about__grid, .am-contact__grid, .am-project-detail__grid,
	.am-why__grid, .am-promise__grid, .am-philosophy__grid { grid-template-columns: 1fr; }
	.am-about__media, .am-why__media { order: -1; }
	.am-philosophy__media { order: -1; }
	.am-contact-bar__inner { flex-wrap: wrap; }
	.am-contact-bar__divider { display: none; }
	.am-contact-bar__item { flex: 1 1 45%; }
}

@media (max-width: 600px) {
	.am-services-grid, .am-projects-grid, .am-blog__grid, .am-values__grid, .am-values__grid--row { grid-template-columns: 1fr; }
	.am-hero { height: 72vh; min-height: 460px; }
	.am-form-row { grid-template-columns: 1fr; gap: 0; }
	.am-btn { width: 100%; }
	.am-contact-bar__inner { flex-direction: column; align-items: stretch; }
	.am-contact-bar__item { flex: 1 1 100%; }
	.am-footer__grid { grid-template-columns: 1fr; gap: 30px; }
	.am-project-card__body { flex-direction: column; align-items: flex-start; }
}
