/* ==========================================================================
   AdvertMedia — site styles
   One source of truth for brand tokens, type scale, buttons and components.
   Elementor elements opt in with the CSS classes listed in README.
   ========================================================================== */

:root {
	--am-red: #c82929;
	--am-red-dark: #a91f1f;
	--am-black: #0e0e0e;
	--am-ink: #383838;
	--am-text: #555555;
	--am-muted: #777777;
	--am-line: #d4d4d4;
	--am-soft: #f7f7f7;
	--am-grey: #f0f1f0;
	--am-white: #ffffff;
	--am-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--am-font-alt: "Montserrat", var(--am-font);
	--am-wrap: 1200px;
	--am-gutter: clamp(16px, 4vw, 24px);
	--am-section: clamp(64px, 9vw, 120px);
	--am-radius: 0px;
	--am-ease: cubic-bezier(.2, .7, .2, 1);
	/* Elementor container defaults */
	--container-default-padding-top: 0px;
	--container-default-padding-right: 0px;
	--container-default-padding-bottom: 0px;
	--container-default-padding-left: 0px;
	--content-width: var(--am-wrap);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
	font-family: var(--am-font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--am-text);
	background: var(--am-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--am-font); color: var(--am-black); line-height: 1.15; }
a { color: var(--am-red); text-decoration: none; transition: color .2s var(--am-ease); }
a:hover, a:focus { color: var(--am-red-dark); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--am-red); outline-offset: 3px; }
::selection { background: var(--am-red); color: #fff; }
.am-content { overflow-x: clip; }

/* ---------- Type scale (apply to Elementor widgets via "CSS Classes") ---------- */
.am-display .elementor-heading-title,
.am-display.elementor-heading-title {
	font-size: clamp(48px, 8vw, 115px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.01em;
	color: var(--am-black);
}
.am-h1 .elementor-heading-title {
	font-size: clamp(38px, 5.6vw, 80px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: .03em;
	color: var(--am-black);
}
.am-h2 .elementor-heading-title {
	font-size: clamp(30px, 3.6vw, 50px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .02em;
	color: var(--am-black);
}
.am-h3 .elementor-heading-title {
	font-size: clamp(26px, 2.6vw, 36px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: .03em;
	color: var(--am-black);
}
.am-h4 .elementor-heading-title {
	font-size: clamp(20px, 1.8vw, 24px);
	font-weight: 700;
	line-height: 1.3;
	color: var(--am-black);
}
.am-eyebrow .elementor-heading-title {
	font-family: var(--am-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--am-red);
}
.am-lead,
.am-lead p {
	font-size: clamp(18px, 1.7vw, 24px);
	font-weight: 300;
	line-height: 1.55;
	color: var(--am-black);
}
.am-text, .am-text p { font-size: 16px; line-height: 1.75; color: var(--am-muted); }
.am-text-dark, .am-text-dark p { font-size: clamp(16px, 1.4vw, 20px); font-weight: 300; line-height: 1.75; color: var(--am-black); }
.am-lead p:last-child, .am-text p:last-child, .am-text-dark p:last-child { margin-bottom: 0; }
.am-accent { color: var(--am-red); }
.am-on-dark .elementor-heading-title,
.am-on-dark .am-lead, .am-on-dark .am-lead p,
.am-on-dark .am-text, .am-on-dark .am-text p,
.am-on-dark .am-text-dark, .am-on-dark .am-text-dark p { color: #f0f3f2; }
.am-on-dark .am-eyebrow .elementor-heading-title { color: #fff; }
.am-bg-black.am-on-dark .am-eyebrow .elementor-heading-title { color: var(--am-red); }
.am-on-dark .am-text, .am-on-dark .am-text p { color: #c9c9c9; }
.am-maxw-760 { max-width: 760px; }
.am-maxw-900 { max-width: 900px; }
.am-center, .am-center .elementor-heading-title { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Sections ---------- */
.e-con.am-section {
	--padding-top: var(--am-section);
	--padding-bottom: var(--am-section);
	--padding-left: var(--am-gutter);
	--padding-right: var(--am-gutter);
}
.e-con.am-section--tight { --padding-top: clamp(48px, 6vw, 80px); --padding-bottom: clamp(48px, 6vw, 80px); }
.e-con.am-section--top0 { --padding-top: 0px; }
.e-con.am-section--hero { --padding-top: clamp(40px, 6vw, 90px); --padding-bottom: clamp(48px, 7vw, 100px); }
.e-con.am-bg-soft { background-color: var(--am-soft); }
.e-con.am-bg-grey { background-color: var(--am-grey); }
.e-con.am-bg-red { background-color: var(--am-red); }
.e-con.am-bg-black { background-color: var(--am-black); }
.e-con.am-bg-waves {
	background-color: #fff;
	background-image: url("../img/pattern-waves.jpg");
	background-repeat: repeat;
	background-size: 508px auto;
}
.e-con.am-stack-sm { --gap: 16px; --row-gap: 16px; }
.e-con.am-stack-md { --gap: 28px; --row-gap: 28px; }
.e-con.am-stack-lg { --gap: 48px; --row-gap: 48px; --column-gap: 48px; }
.e-con.am-head-row { align-items: flex-end; justify-content: space-between; }

/* ---------- Buttons (Elementor Button widget + CSS class) ---------- */
.am-btn .elementor-button,
.am-btn-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border: 2px solid var(--am-black);
	border-radius: var(--am-radius);
	background: var(--am-black);
	color: #fff;
	font-family: var(--am-font-alt);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .02em;
	transition: background-color .25s var(--am-ease), color .25s var(--am-ease), border-color .25s var(--am-ease), transform .25s var(--am-ease);
}
.am-btn .elementor-button:hover,
.am-btn .elementor-button:focus-visible,
.am-btn-link:hover { background: var(--am-red); border-color: var(--am-red); color: #fff; }
.am-btn--ghost-dark .elementor-button { background: transparent; color: var(--am-black); padding: 10px 20px; font-size: 14px; }
.am-btn--ghost-dark .elementor-button:hover { background: var(--am-black); border-color: var(--am-black); color: #fff; }
.am-btn--ghost-light .elementor-button { background: transparent; border-color: #fff; color: #fff; }
.am-btn--ghost-light .elementor-button:hover { background: #fff; border-color: #fff; color: var(--am-black); }
.am-btn--light .elementor-button { background: #fff; border-color: #fff; color: var(--am-black); }
.am-btn--light .elementor-button:hover { background: var(--am-black); border-color: var(--am-black); color: #fff; }
.am-btn--caps .elementor-button { text-transform: uppercase; font-size: 13px; letter-spacing: .08em; padding: 12px 22px; }

/* Small red label (heading widget) */
.am-tag .elementor-heading-title {
	display: inline-block;
	padding: 4px 12px;
	background: var(--am-red);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: .04em;
	text-transform: uppercase;
}

/* ---------- Hero banner (image + overlay) ---------- */
.e-con.am-banner {
	--min-height: clamp(460px, 52vw, 740px);
	--padding-left: var(--am-gutter);
	--padding-right: var(--am-gutter);
	--padding-top: 80px;
	--padding-bottom: 80px;
	position: relative;
	justify-content: center;
	background-size: cover;
	background-position: center;
	isolation: isolate;
}
.e-con.am-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(14,14,14,.82) 0%, rgba(14,14,14,.55) 55%, rgba(14,14,14,.35) 100%);
	z-index: -1;
}
.am-banner .elementor-heading-title { color: #f0f3f2; }
.am-banner .am-h2 .elementor-heading-title { max-width: 900px; }
.e-con.am-banner--card { --min-height: clamp(380px, 40vw, 570px); --padding-left: clamp(24px, 5vw, 64px); --padding-right: clamp(24px, 5vw, 64px); }

/* ---------- Service cards (Icon Box widget) ---------- */
.am-service-card { height: 100%; }
.am-service-card .elementor-icon-box-wrapper {
	height: 100%;
	min-height: 254px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 36px 24px;
	border: 1px solid #c8c8c8;
	background: #fff;
	text-align: center;
	transition: background-color .3s var(--am-ease), border-color .3s var(--am-ease), transform .3s var(--am-ease), box-shadow .3s var(--am-ease);
}
.am-service-card .elementor-icon-box-icon { margin: 0 0 4px; }
.am-service-card .elementor-icon { font-size: 28px; color: var(--am-red); fill: var(--am-red); transition: color .3s, fill .3s; }
.am-service-card .elementor-icon svg { width: 28px; height: 28px; fill: currentColor; }
.am-service-card .elementor-icon-box-title { margin: 0; font-size: 36px; font-weight: 700; line-height: 1.1; color: #bebebe; transition: color .3s; }
.am-service-card .elementor-icon-box-title a { color: inherit; }
.am-service-card .elementor-icon-box-description { margin: 0; font-size: 18px; font-weight: 400; line-height: 1.5; color: var(--am-muted); transition: color .3s; }
.am-service-card:hover .elementor-icon-box-wrapper,
.am-service-card:focus-within .elementor-icon-box-wrapper {
	background: var(--am-red);
	border-color: var(--am-red);
	transform: translateY(-4px);
	box-shadow: 0 18px 40px -18px rgba(200, 41, 41, .55);
}
.am-service-card:hover .elementor-icon,
.am-service-card:focus-within .elementor-icon,
.am-service-card:hover .elementor-icon-box-description,
.am-service-card:focus-within .elementor-icon-box-description { color: #fff; fill: #fff; }
.am-service-card:hover .elementor-icon-box-title,
.am-service-card:focus-within .elementor-icon-box-title { color: rgba(255,255,255,.75); }
/* whole card clickable */
.am-service-card .elementor-icon-box-wrapper { position: relative; }
.am-service-card .elementor-icon-box-title a::after { content: ""; position: absolute; inset: 0; }

/* ---------- Feature list (Icon Box, icon on the right) ---------- */
.elementor-widget.am-feature .elementor-icon-box-wrapper { display: flex; flex-direction: row-reverse; align-items: flex-start; justify-content: space-between; gap: 24px; text-align: start; }
.am-feature .elementor-icon-box-content { flex: 1 1 auto; text-align: start; }
.am-feature .elementor-icon-box-icon { margin: 0; flex: 0 0 auto; }
.am-feature .elementor-icon { font-size: 34px; color: var(--am-red); }
.am-feature .elementor-icon svg { width: 34px; height: 34px; fill: currentColor; }
.am-feature .elementor-icon-box-title { margin: 0 0 12px; font-size: 24px; font-weight: 700; color: var(--am-black); }
.am-feature .elementor-icon-box-description { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.8; color: var(--am-muted); }

/* ---------- Process / values (Icon Box, icon on top, centred) ---------- */
.am-step .elementor-icon-box-wrapper { text-align: center; }
.am-step .elementor-icon-box-icon { margin-bottom: 18px; }
.am-step .elementor-icon { font-size: 36px; color: var(--am-red); }
.am-step .elementor-icon svg { width: 36px; height: 36px; fill: currentColor; }
.am-step .elementor-icon-box-title { margin: 0 0 12px; font-size: 18px; font-weight: 700; color: var(--am-black); }
.am-step--lg .elementor-icon-box-title { font-size: 24px; }
.am-step .elementor-icon-box-description { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--am-muted); }

/* ---------- Contact info (Icon Box, left aligned) ---------- */
.elementor-widget.am-info .elementor-icon-box-wrapper { text-align: start; align-items: flex-start; }
.e-con.am-info-grid { margin-top: 36px; }
.am-info .elementor-icon-box-icon { margin-bottom: 20px; }
.am-info .elementor-icon { font-size: 30px; color: var(--am-red); }
.am-info .elementor-icon svg { width: 30px; height: 30px; fill: currentColor; }
.am-info .elementor-icon-box-title { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--am-black); text-transform: capitalize; }
.am-info .elementor-icon-box-description { margin: 0; font-size: 16px; line-height: 1.8; color: var(--am-muted); }
.am-info .elementor-icon-box-description a { color: var(--am-muted); }
.am-info .elementor-icon-box-description a:hover { color: var(--am-red); }

/* ---------- Bento tiles (Services page) ---------- */
.e-con.am-bento { --gap: 0px; --row-gap: 0px; --column-gap: 0px; }
.e-con.am-tile {
	--min-height: 384px;
	--padding-top: 48px; --padding-bottom: 48px; --padding-left: 32px; --padding-right: 32px;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.e-con.am-tile--img { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; background-size: cover; background-position: center; }
.am-tile-num .elementor-heading-title { font-size: clamp(72px, 7.6vw, 110px); font-weight: 800; line-height: 1; color: rgba(255,255,255,.25); }
.am-bg-black .am-tile-num .elementor-heading-title { color: #3d3d3d; }
.am-tile-title .elementor-heading-title { font-size: clamp(26px, 2.5vw, 36px); font-weight: 700; line-height: 1.2; letter-spacing: .04em; color: #fff; }
.am-tile .am-text p, .am-tile .am-text { color: #fff; font-size: 14px; max-width: 380px; margin-inline: auto; }

/* ---------- Client logos ---------- */
.e-con.am-logos { --gap: 12px; --row-gap: 12px; --column-gap: 12px; }
.am-logo { background: #fff; border: 1px solid #ececec; transition: border-color .25s, box-shadow .25s; }
.am-logo img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 14%; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.am-logo:hover { border-color: #dcdcdc; box-shadow: 0 10px 30px -18px rgba(0,0,0,.35); }
.am-logo:hover img { filter: none; opacity: 1; }

/* ---------- Testimonials slider ---------- */
.e-con.am-slider { position: relative; --padding-left: 72px; --padding-right: 72px; }
.am-slider__viewport { overflow: hidden; width: 100%; }
.am-slider__track { display: flex; transition: transform .6s var(--am-ease); will-change: transform; }
.am-slider__track > .e-con,
.am-slider__track > .am-slide { flex: 0 0 100%; max-width: 100%; }
.e-con.am-slide { --flex-direction: row; flex-direction: row; align-items: flex-start; --gap: 40px; --column-gap: 40px; position: relative; padding-bottom: 54px !important; }
.am-slide .am-avatar img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: top; }
.am-slide .am-avatar { flex: 0 0 104px; }
.am-quote-name .elementor-heading-title { font-size: 18px; font-weight: 700; color: var(--am-black); }
.am-quote-role, .am-quote-role p { margin: 2px 0 14px; font-size: 14px; font-weight: 300; color: var(--am-muted); }
.am-quote, .am-quote p { font-size: clamp(16px, 1.4vw, 19px); font-weight: 300; line-height: 1.7; color: var(--am-ink); }
.e-con.am-slide::after {
	content: "\201D";
	position: absolute;
	right: 0;
	bottom: -42px;
	font-family: Georgia, serif;
	font-size: 140px;
	font-weight: 700;
	line-height: 1;
	color: var(--am-red);
}
.am-slider__btn {
	position: absolute;
	top: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 0;
	background: var(--am-black);
	color: #fff;
	cursor: pointer;
	padding: 0;
	transition: background-color .2s;
}
.am-slider__btn:hover, .am-slider__btn:focus-visible { background: var(--am-red); }
.am-slider__btn svg { width: 18px; height: 18px; fill: currentColor; }
.am-slider__btn--prev { left: 0; }
.am-slider__btn--next { right: 0; }
.am-slider__dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.am-slider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #c9c9c9; cursor: pointer; }
.am-slider__dots button[aria-current="true"] { background: var(--am-red); }

/* ---------- Team ---------- */
.e-con.am-team-card { --gap: 6px; --row-gap: 6px; }
.am-team-card .am-avatar, .am-team-card .am-avatar .elementor-widget-container { text-align: left; }
.am-team-card .am-avatar img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid rgba(255,255,255,.15); }
.am-team-name .elementor-heading-title { margin-top: 14px; font-family: var(--am-font-alt); font-size: 17px; font-weight: 700; color: #f0f3f2; }
.am-team-role .elementor-heading-title { font-family: var(--am-font-alt); font-size: 14px; font-weight: 600; color: var(--am-red); letter-spacing: .02em; }
.am-team-card .am-text p { font-family: var(--am-font-alt); font-size: 14px; line-height: 1.85; color: #bdbdbd; margin-top: 6px; }

/* ---------- Accordion (HTML widget with <details>) ---------- */
.am-accordion { display: grid; gap: 14px; }
.am-acc { border: 1px solid var(--am-ink); background: #fff; }
.am-acc summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .03em;
	color: var(--am-black);
	transition: background-color .2s, color .2s;
}
.am-acc summary::-webkit-details-marker { display: none; }
.am-acc summary::before {
	content: "+";
	flex: 0 0 18px;
	height: 18px;
	display: grid;
	place-items: center;
	background: var(--am-black);
	color: #fff;
	font-size: 15px;
	line-height: 1;
	border-radius: 2px;
}
.am-acc[open] { border-color: var(--am-red); }
.am-acc[open] summary { background: var(--am-red); color: #fff; }
.am-acc[open] summary::before { content: "\2212"; background: #fff; color: var(--am-red); }
.am-acc--dark[open] { border-color: var(--am-black); }
.am-acc--dark[open] summary { background: var(--am-black); }
.am-acc--dark[open] summary::before { color: var(--am-black); }
.am-acc__body { padding: 22px 28px 26px; font-size: 15px; line-height: 1.8; color: var(--am-muted); }
.am-acc__body p { margin: 0 0 10px; }
.am-acc__body ul { margin: 0 0 10px; padding-left: 18px; }
.am-acc__body li { margin-bottom: 4px; }
.am-acc__body .am-btn-link { margin-top: 8px; padding: 10px 18px; font-size: 13px; }

/* ---------- Breadcrumb ---------- */
.am-breadcrumb { font-size: 14px; color: var(--am-muted); }
.am-breadcrumb a { color: var(--am-muted); }
.am-breadcrumb a:hover { color: var(--am-red); }
.am-breadcrumb span[aria-hidden] { margin: 0 8px; color: #bbb; }

/* ---------- Case study gallery ---------- */
.am-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 19vw, 260px); grid-auto-flow: dense; gap: 18px; }
.am-gallery figure { margin: 0; overflow: hidden; background: #eee; }
.am-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--am-ease); }
.am-gallery figure:hover img { transform: scale(1.04); }
.am-gallery .am-g-big { grid-column: span 2; grid-row: span 2; }
.am-gallery .am-g-wide { grid-column: span 2; }
.am-gallery .am-g-tall { grid-row: span 2; }
.am-gallery .am-g-big-r { grid-column: 2 / span 2; grid-row: span 2; }
.am-gallery .am-g-full { grid-column: 1 / -1; grid-row: span 2; }
.am-case-logo img { max-height: 150px; width: auto; object-fit: contain; }

/* ---------- Projects (shortcode) ---------- */
.am-projects__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.am-project { position: relative; }
.am-project__media { display: block; overflow: hidden; aspect-ratio: 340 / 273; background: #eee; }
.am-project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--am-ease); }
.am-project:hover .am-project__media img { transform: scale(1.05); }
.am-project__title { margin: 22px 0 6px; font-size: 20px; font-weight: 700; color: var(--am-black); }
.am-project__title a { color: inherit; }
.am-project__title a::after { content: ""; position: absolute; inset: 0; }
.am-project:hover .am-project__title { color: var(--am-red); }
.am-project__meta { margin: 0; font-size: 14px; font-weight: 300; color: var(--am-muted); }
.am-project__meta span { color: var(--am-red); font-weight: 400; }
.am-projects__nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 40px; }
.am-projects__nav button {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 16px;
	border: 2px solid var(--am-red);
	border-radius: 0;
	background: transparent;
	color: var(--am-red);
	font-family: var(--am-font-alt);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.am-projects__nav button:hover:not(:disabled) { background: var(--am-red); color: #fff; }
.am-projects__nav button:disabled { opacity: .35; cursor: default; }
.am-projects__nav svg { width: 14px; height: 14px; fill: currentColor; }
.am-project[hidden] { display: none; }

/* ---------- Posts (shortcode) ---------- */
.am-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.am-post { position: relative; display: flex; flex-direction: column; padding: 28px 24px; background: rgba(255,255,255,.88); border: 1px solid #ececec; transition: box-shadow .3s, transform .3s; }
.am-post:hover { box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); transform: translateY(-3px); }
.am-post__date { font-size: 14px; font-weight: 300; color: var(--am-muted); }
.am-post__title { margin: 10px 0 14px; font-size: 22px; font-weight: 700; line-height: 1.35; color: var(--am-black); }
.am-post__title a { color: inherit; }
.am-post__title a::after { content: ""; position: absolute; inset: 0; }
.am-post:hover .am-post__title { color: var(--am-red); }
.am-post__excerpt { margin: 0 0 18px; font-size: 14px; font-weight: 300; line-height: 1.75; color: var(--am-muted); }
.am-post__more { margin-top: auto; font-family: var(--am-font-alt); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--am-red); }

/* ---------- Contact form (shortcode) ---------- */
.am-form { display: grid; gap: 22px; }
.am-form__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.am-field { position: relative; display: block; }
.am-field span.am-field__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.am-field svg { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: var(--am-black); pointer-events: none; }
.am-form input[type="text"], .am-form input[type="email"], .am-form input[type="tel"], .am-form input[type="url"], .am-form textarea, .am-form select {
	width: 100%;
	padding: 14px 44px 14px 16px;
	border: 1px solid #a9a9a9;
	border-radius: 0;
	background: #fff;
	font-family: var(--am-font);
	font-size: 15px;
	color: var(--am-black);
	transition: border-color .2s, box-shadow .2s;
}
.am-form textarea { min-height: 170px; padding-right: 16px; resize: vertical; }
.am-form input:focus, .am-form textarea:focus, .am-form select:focus { outline: none; border-color: var(--am-red); box-shadow: 0 0 0 3px rgba(200,41,41,.15); }
.am-form ::placeholder { color: #8a8a8a; }
.am-form__hp { position: absolute !important; left: -9999px !important; }
.am-form button[type="submit"] {
	justify-self: start;
	padding: 15px 28px;
	border: 2px solid var(--am-black);
	border-radius: 0;
	background: var(--am-black);
	color: #fff;
	font-family: var(--am-font-alt);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .25s, border-color .25s;
}
.am-form button[type="submit"]:hover { background: var(--am-red); border-color: var(--am-red); }
.am-notice { padding: 14px 18px; border-left: 4px solid var(--am-red); background: #fff; color: var(--am-black); }
.am-notice--ok { border-color: #2e7d32; }

/* ---------- Social icons row (shortcode) ---------- */
.am-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.am-socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--am-black); color: #fff; transition: background-color .2s, transform .2s; }
.am-socials a:hover { background: var(--am-red); color: #fff; transform: translateY(-2px); }
.am-socials svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Map ---------- */
.am-map iframe { display: block; width: 100%; height: clamp(320px, 45vw, 560px); filter: grayscale(.2); }

/* ==========================================================================
   Header + full-screen menu
   ========================================================================== */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100000; padding: 10px 16px; background: #fff; color: var(--am-black); }
.am-header { position: sticky; top: 0; z-index: 999; background: #fff; transition: box-shadow .3s; }
.admin-bar .am-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .am-header { top: 0; } }
.am-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(0,0,0,.35); }
.am-header__inner { max-width: var(--am-wrap); margin: 0 auto; padding: 22px var(--am-gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; transition: padding .3s; }
.am-header.is-scrolled .am-header__inner { padding-top: 12px; padding-bottom: 12px; }
.am-header__logo img { display: block; width: clamp(150px, 16vw, 218px); height: auto; transition: width .3s; }
.am-header.is-scrolled .am-header__logo img { width: clamp(130px, 13vw, 170px); }
.am-header__actions { display: flex; align-items: center; gap: 12px; }
.am-header__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: var(--am-black); color: #fff; transition: background-color .2s; }
.am-header__icon:hover, .am-header__icon:focus-visible { background: var(--am-red); color: #fff; }
.am-header__icon svg { width: 17px; height: 17px; fill: currentColor; }
.am-burger { position: relative; width: 44px; height: 44px; margin-left: 6px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--am-black); cursor: pointer; }
.am-burger:hover, .am-burger:focus { background: transparent; color: var(--am-red); }
.am-burger__bars, .am-burger__bars::before, .am-burger__bars::after { position: absolute; left: 10px; width: 24px; height: 2.5px; background: currentColor; transition: transform .3s var(--am-ease), opacity .2s, top .3s; content: ""; }
.am-burger__bars { top: 21px; }
.am-burger__bars::before { left: 0; top: -7px; }
.am-burger__bars::after { left: 0; top: 7px; }
.am-burger[aria-expanded="true"] .am-burger__bars { background: transparent; }
.am-burger[aria-expanded="true"] .am-burger__bars::before { top: 0; transform: rotate(45deg); background: var(--am-black); }
.am-burger[aria-expanded="true"] .am-burger__bars::after { top: 0; transform: rotate(-45deg); background: var(--am-black); }

.am-menu-panel { position: fixed; inset: 0; z-index: -1; overflow-y: auto; background: #fff; padding: 140px var(--am-gutter) 60px; opacity: 0; visibility: hidden; transition: opacity .35s var(--am-ease), visibility .35s; }
.am-menu-panel[hidden] { display: block; }
.am-menu-panel.is-open { opacity: 1; visibility: visible; }
.am-menu-panel__nav { max-width: 400px; margin: 0 auto; }
.am-menu { margin: 0; padding: 0; list-style: none; }
.am-menu > li { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; border-bottom: 1px solid #cfcfcf; }
.am-menu > li > a { display: block; padding: 12px 0; font-size: clamp(20px, 2vw, 24px); font-weight: 700; line-height: 1.4; text-transform: uppercase; color: var(--am-black); transform: translateY(12px); opacity: 0; transition: color .2s, transform .5s var(--am-ease), opacity .5s; }
.am-menu-panel.is-open .am-menu > li > a { transform: none; opacity: 1; }
.am-menu-panel.is-open .am-menu > li:nth-child(2) > a { transition-delay: .05s; }
.am-menu-panel.is-open .am-menu > li:nth-child(3) > a { transition-delay: .1s; }
.am-menu-panel.is-open .am-menu > li:nth-child(4) > a { transition-delay: .15s; }
.am-menu-panel.is-open .am-menu > li:nth-child(5) > a { transition-delay: .2s; }
.am-menu > li > a:hover, .am-menu > li.current-menu-item > a, .am-menu > li.current-menu-ancestor > a, .am-menu > li.current-page-ancestor > a { color: var(--am-red); }
.am-sub-toggle { margin-left: 6px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--am-black); font-size: 26px; font-weight: 700; line-height: 1; cursor: pointer; transition: transform .3s, color .2s; }
.am-sub-toggle:hover, .am-sub-toggle:focus { background: transparent; color: var(--am-red); }
.am-sub-toggle[aria-expanded="true"] { color: var(--am-red); transform: rotate(45deg); }
.am-menu .sub-menu { flex: 1 0 100%; display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; margin: 0; padding: 6px 0 16px; list-style: none; border-top: 1px solid #cfcfcf; }
.am-menu .sub-menu.is-open { display: grid; }
.am-menu .sub-menu a { display: block; padding: 8px 4px; font-size: 14px; line-height: 1.4; text-align: center; color: var(--am-muted); }
.am-menu .sub-menu a:hover, .am-menu .sub-menu .current-menu-item > a { color: var(--am-red); }
body.am-menu-open { overflow: hidden; }

/* ---------- Desktop navigation ---------- */
.am-header__inner { gap: 28px; }
.am-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.am-nav__list { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); margin: 0; padding: 0; list-style: none; }
.am-nav__list > li { position: relative; }
.am-nav__list > li > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--am-black);
}
.am-nav__list > li > a::before {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 4px;
	height: 2px;
	background: var(--am-red);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .35s var(--am-ease);
}
.am-nav__list > li:hover > a::before,
.am-nav__list > li > a:focus-visible::before,
.am-nav__list > li.current-menu-item > a::before,
.am-nav__list > li.current-menu-ancestor > a::before,
.am-nav__list > li.current-page-ancestor > a::before,
.am-nav__list > li.current_page_parent > a::before { transform: scaleX(1); transform-origin: left; }
.am-nav__list > li.current-menu-item > a,
.am-nav__list > li.current-menu-ancestor > a,
.am-nav__list > li.current-page-ancestor > a,
.am-nav__list > li:hover > a { color: var(--am-red); }
.am-nav__list > .menu-item-has-children > a::after {
	content: "";
	width: 7px; height: 7px;
	margin: -4px 0 0 2px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .3s var(--am-ease), margin .3s;
}
.am-nav__list > .menu-item-has-children:hover > a::after,
.am-nav__list > .menu-item-has-children:focus-within > a::after { transform: rotate(-135deg); margin-top: 4px; }
.am-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 20;
	display: grid;
	grid-template-columns: repeat(2, minmax(220px, 1fr));
	gap: 2px 8px;
	min-width: 520px;
	margin: 0;
	padding: 16px;
	list-style: none;
	background: #fff;
	border-top: 3px solid var(--am-red);
	box-shadow: 0 24px 50px -20px rgba(0,0,0,.28);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 12px);
	transition: opacity .25s var(--am-ease), transform .3s var(--am-ease), visibility .25s;
}
.am-nav .menu-item-has-children:hover > .sub-menu,
.am-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.am-nav .sub-menu a { display: block; padding: 10px 12px; font-size: 14px; line-height: 1.4; color: var(--am-ink); border-left: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s, padding .2s; }
.am-nav .sub-menu a:hover, .am-nav .sub-menu a:focus-visible, .am-nav .sub-menu .current-menu-item > a { background: var(--am-soft); color: var(--am-red); border-left-color: var(--am-red); padding-left: 16px; }
.am-header__cta {
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	margin-left: 4px;
	border: 2px solid var(--am-black);
	background: var(--am-black);
	color: #fff;
	font-family: var(--am-font-alt);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	white-space: nowrap;
	transition: background-color .25s, border-color .25s, color .25s;
}
.am-header__cta:hover, .am-header__cta:focus-visible { background: var(--am-red); border-color: var(--am-red); color: #fff; }
.am-header .am-header__icon, .am-header .am-header__icon:visited { color: #fff; }
.am-header__icon--wa:hover { background: #25d366; }
.am-burger { display: none; }
.am-menu-panel__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.am-menu-panel__contact a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid #d6d6d6; color: var(--am-black); font-size: 14px; font-weight: 600; }
.am-menu-panel__contact a:hover { border-color: var(--am-red); color: var(--am-red); }
.am-menu-panel__contact svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 1100px) {
	.am-nav, .am-header__cta { display: none; }
	.am-burger { display: block; }
}
@media (max-width: 480px) {
	.am-header__icon { display: none; }
}

/* ---------- Floating WhatsApp ---------- */
.am-wa-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 990;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 56px;
	padding: 0 16px;
	border-radius: 30px;
	background: #25d366;
	color: #fff;
	box-shadow: 0 12px 30px -10px rgba(0,0,0,.4);
	transition: transform .3s var(--am-ease), box-shadow .3s;
}
.am-wa-float:hover, .am-wa-float:focus-visible { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 36px -12px rgba(0,0,0,.45); }
.am-wa-float svg { width: 26px; height: 26px; fill: currentColor; }
.am-wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: am-pulse 2.6s infinite; }
.am-wa-float__label { font-size: 14px; font-weight: 600; white-space: nowrap; max-width: 0; overflow: hidden; transition: max-width .4s var(--am-ease); }
.am-wa-float:hover .am-wa-float__label, .am-wa-float:focus-visible .am-wa-float__label { max-width: 140px; }
@keyframes am-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
body.am-menu-open .am-wa-float { display: none; }

/* ---------- Light motion (added by site.js; content stays visible without JS) ---------- */
.am-anim .am-reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--am-ease), transform .9s var(--am-ease); transition-delay: var(--am-delay, 0s); }
.am-anim .am-reveal--fade { transform: none; }
.am-anim .am-reveal--zoom { transform: scale(.96); }
.am-anim .am-reveal.is-in { opacity: 1; transform: none; }
.am-btn .elementor-button { position: relative; overflow: hidden; }
.am-btn .elementor-button-icon, .am-btn .elementor-button-text { position: relative; z-index: 1; }
.am-project__media, .am-gallery figure, .am-tile--img { overflow: hidden; }
.am-header { transition: box-shadow .3s, transform .35s var(--am-ease); }


/* ==========================================================================
   Footer
   ========================================================================== */
.am-footer { background: var(--am-black); color: #fff; padding: clamp(64px, 8vw, 100px) var(--am-gutter) 40px; }
.am-footer__inner { max-width: var(--am-wrap); margin: 0 auto; }
.am-footer__logo img { display: block; width: 200px; height: auto; }
.am-footer__claim { max-width: 1120px; margin: clamp(48px, 7vw, 100px) 0 clamp(40px, 5vw, 70px); font-size: clamp(40px, 6.8vw, 98px); font-weight: 700; line-height: 1.02; letter-spacing: .02em; color: #f0f3f2; }
.am-footer__claim span { color: var(--am-red); }
.am-footer__contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; font-size: clamp(17px, 1.6vw, 22px); font-weight: 300; line-height: 1.6; }
.am-footer__contacts address { font-style: normal; margin: 0; }
.am-footer__contacts a { color: #fff; }
.am-footer__contacts a:hover, .am-footer__contacts .am-footer__email { color: var(--am-red); }
.am-footer__contacts .am-footer__email:hover { color: #fff; }
.am-footer__email { word-break: break-word; }
.am-footer__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid #2a2a2a; }
.am-footer__label { margin: 0 0 14px; font-size: 18px; font-weight: 700; color: var(--am-red); text-transform: lowercase; }
.am-footer__label::first-letter { text-transform: uppercase; }
.am-footer__social { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.am-footer__social a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: #fff; }
.am-footer__social a:hover { color: var(--am-red); }
.am-footer__social svg { width: 16px; height: 16px; fill: currentColor; }
.am-footer__copy { margin: 0; font-size: 15px; color: #8c8c8c; }

/* ==========================================================================
   Blog (Hello Elementor templates)
   ========================================================================== */
.single-post .site-main, .blog .site-main, .archive .site-main, .search .site-main, .page:not(.elementor-page) .site-main { max-width: 860px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--am-gutter); }
.single-post .entry-title, .blog .page-header .entry-title, .archive .page-header .entry-title { font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; color: var(--am-black); }
.single-post .page-content { font-size: 18px; line-height: 1.85; color: var(--am-ink); }
.single-post .page-content h2 { margin: 1.6em 0 .6em; font-size: 28px; }
.single-post .page-content img { margin: 0 0 28px; }
.blog .post, .archive .post { margin-bottom: 48px; padding-bottom: 40px; border-bottom: 1px solid #ececec; }
.blog .post .entry-title a, .archive .post .entry-title a { color: var(--am-black); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.am-projects__grid, .am-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
	.e-con.am-slider { --padding-left: 56px; --padding-right: 56px; }
	.e-con.am-tile { --min-height: 320px; }
}
@media (max-width: 767px) {
	.am-projects__grid, .am-posts { grid-template-columns: 1fr; }
	.am-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.am-gallery .am-g-big, .am-gallery .am-g-big-r, .am-gallery .am-g-full { grid-column: span 2; grid-row: span 1; }
	.am-gallery .am-g-tall { grid-row: span 1; }
	.am-form__row { grid-template-columns: 1fr; }
	.am-footer__contacts { grid-template-columns: 1fr; gap: 18px; }
	.e-con.am-slider { --padding-left: 0px; --padding-right: 0px; }
	.am-slider__btn { top: auto; bottom: -6px; margin: 0; }
	.am-slider__btn--prev { left: auto; right: 48px; }
	.e-con.am-slide { flex-direction: column; --gap: 18px; padding-bottom: 72px !important; }
	.e-con.am-slide::after { bottom: -26px; right: auto; left: 0; font-size: 110px; }
	.am-menu .sub-menu { grid-template-columns: 1fr 1fr; }
	.am-service-card .elementor-icon-box-wrapper { min-height: 200px; }
	.am-feature .elementor-icon-box-wrapper { gap: 16px; }
	.e-con.am-head-row { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
.am-accent-heading .elementor-heading-title { color: var(--am-red); }
.am-post-meta { margin: -8px 0 24px; font-size: 14px; color: var(--am-muted); }
.single-post .am-post-cover { display: block; width: 100%; height: auto; margin-bottom: 36px; }
.blog .post .entry-title, .archive .post .entry-title { font-size: 26px; font-weight: 700; margin-bottom: 18px; }
.blog .post img, .archive .post img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 14px; }
.blog .post p, .archive .post p { font-size: 16px; color: var(--am-muted); }

/* ---------- Case-study gallery (Elementor "Basic Gallery" widget + class am-gallery-widget) ---------- */
.am-gallery-widget .gallery {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: clamp(160px, 19vw, 260px);
	grid-auto-flow: dense;
	gap: 18px;
	margin: 0 !important;
}
.am-gallery-widget .gallery br { display: none; }
.am-gallery-widget .gallery .gallery-item {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	background: #eee;
}
.am-gallery-widget .gallery-icon, .am-gallery-widget .gallery-icon a { display: block; width: 100%; height: 100%; }
.am-gallery-widget .gallery-item img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	border: 0 !important;
	transition: transform .6s var(--am-ease);
}
.am-gallery-widget .gallery-item:hover img { transform: scale(1.04); }
.am-gallery-widget .gallery-caption { display: none; }
.am-gallery-widget .am-g-big { grid-column: span 2; grid-row: span 2; }
.am-gallery-widget .am-g-big-r { grid-column: 2 / span 2; grid-row: span 2; }
.am-gallery-widget .am-g-wide { grid-column: span 2; }
.am-gallery-widget .am-g-full { grid-column: 1 / -1; grid-row: span 2; }
@media (max-width: 767px) {
	.am-gallery-widget .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.am-gallery-widget .am-g-big, .am-gallery-widget .am-g-big-r, .am-gallery-widget .am-g-full { grid-column: span 2; grid-row: span 1; }
}
