/* Brand colours sampled from the company logo */
:root {
  --red: #ca2c25;
  --red-dark: #a8221c;
  --navy: #291968;
  --navy-deep: #150f3d;
  --ink: #12141f;
  --paper: #ffffff;
  --off: #f4f5f8;
  --grey-100: #e8eaf0;
  --grey-300: #c7cad6;
  --grey-600: #5b6070;
  --whatsapp: #1f9d55;

  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;

  --nav-h: 76px;
  --radius: 16px;
  --shadow: 0 18px 40px -18px rgba(21, 15, 61, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.55rem; line-height: 1.1; overflow-wrap: anywhere; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1200px, 100% - 2 * clamp(1rem, 4vw, 2rem)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 0.7rem 1rem; border-radius: 8px; text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 1rem; }
.muted { color: var(--grey-600); }
.lead { font-size: 1.2rem; color: var(--ink); margin-bottom: 1rem; }

/* Buttons */
.btn { --bg: var(--red); --fg: #fff; --bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; border: 2px solid var(--bd); background: var(--bg); color: var(--fg);
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; line-height: 1.1; text-align: center;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.45); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { --bg: var(--red-dark); --bd: var(--red-dark); }
.btn--sm { padding: 0.55rem 1.05rem; font-size: 1rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.2rem; }
.btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, 0.7); }
.btn--ghost:hover { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn--outline { --bg: transparent; --fg: var(--navy); --bd: var(--navy); }
.btn--outline:hover { --bg: var(--navy); --fg: #fff; }
.btn--light { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn--light:hover { --bg: var(--off); --bd: var(--off); }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, 0.75); }
.btn--outline-light:hover { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn--whatsapp { --bg: var(--whatsapp); --bd: var(--whatsapp); }
.btn--whatsapp:hover { --bg: #187a42; --bd: #187a42; }
.btn:disabled { opacity: 0.65; cursor: progress; transform: none; }

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 7rem); position: relative; }
.section--tint { background: var(--off); }
.section--dark { background: var(--ink); color: #fff; overflow: hidden;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(160deg, var(--navy-deep), var(--ink) 70%);
  background-size: 56px 56px, 56px 56px, auto; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 0.9rem; }
.eyebrow::before { content: ''; width: 34px; height: 3px; background: currentColor; transform: skewX(-30deg); }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--red); }

.section-heading { margin-bottom: clamp(2rem, 5vw, 3.2rem); max-width: 46rem; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading h2 { color: var(--navy); }
.section-heading__intro { margin-top: 1rem; color: var(--grey-600); font-size: 1.15rem; }
.section-heading.is-light h2 { color: #fff; }
.section-heading.is-light .section-heading__intro { color: rgba(255, 255, 255, 0.78); }
.section-heading.is-light .eyebrow { color: #ff6a62; }
.section-heading.is-light .eyebrow::before { background: #ff6a62; }

/* Media frame used for photos */
.frame { position: relative; border-radius: var(--radius); isolation: isolate; }
.frame::before { content: ''; position: absolute; inset: 18px -14px -14px 18px; border-radius: var(--radius); border: 3px solid var(--red); z-index: -1; transition: inset 0.4s var(--ease); }
.frame:hover::before { inset: 12px -10px -10px 12px; }
.frame img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.frame--tall img { aspect-ratio: 5 / 6; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Navigation */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: box-shadow 0.3s, border-color 0.3s, background 0.3s; }
.nav--solid { box-shadow: 0 8px 28px -14px rgba(21, 15, 61, 0.4); border-bottom-color: var(--grey-100); background: #fff; }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--nav-h); transition: height 0.3s var(--ease); }
.nav--solid .nav__inner { height: 66px; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }
.brand__mark { height: 48px; width: auto; transition: height 0.3s var(--ease); }
.nav--solid .brand__mark { height: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--red); }
.brand__name em { font-style: normal; color: var(--red); }
.brand__sub { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--navy); margin-top: 3px; }

.nav__links { display: none; gap: 0.25rem; }
.nav__link { white-space: nowrap; position: relative; padding: 0.6rem 0.9rem; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); transition: color 0.2s; }
.nav__link::after { content: ''; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 2px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav__link:hover { color: var(--red); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--navy); }
.nav__cta { display: none; white-space: nowrap; }
.nav__toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 0; background: transparent; color: var(--navy); border-radius: 10px; }
.nav__toggle:hover { background: var(--off); }

.mobile-menu { overflow: hidden; background: #fff; border-top: 1px solid var(--grey-100); }
.mobile-menu__inner { padding-block: 0.75rem 1.5rem; }
.mobile-menu__link { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--grey-100); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.04em; text-transform: uppercase; }
.mobile-menu__link.is-active { color: var(--red); }
.mobile-menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.25rem; }

@media (min-width: 1000px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .mobile-menu { display: none; }
  .brand { margin-right: 0; }
  .nav__inner { gap: 1rem; }
  .nav__links { margin-left: auto; }
}
@media (max-width: 420px) { .brand__name { font-size: 1.25rem; } .brand__mark { height: 40px; } }

/* Page header (inner pages) */
.page-header { position: relative; overflow: hidden; color: #fff; padding-block: clamp(3.5rem, 9vw, 6.5rem); background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(120deg, var(--navy-deep), var(--navy) 55%, #3a1f6f); background-size: 56px 56px, 56px 56px, auto; }
.page-header__bolt { position: absolute; right: -4%; top: -20%; width: min(46vw, 520px); height: 150%; background: var(--red); opacity: 0.9; clip-path: polygon(46% 0, 100% 0, 62% 46%, 92% 46%, 30% 100%, 48% 55%, 18% 55%); }
.page-header .container { position: relative; }
.page-header h1 { font-size: clamp(2.6rem, 7vw, 5rem); max-width: 16ch; }
.page-header__lead { margin-top: 1rem; max-width: 38rem; font-size: 1.2rem; color: rgba(255, 255, 255, 0.85); }

/* Footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); font-size: 1rem; }
.footer__grid { display: grid; gap: 2.5rem; padding-block: 4rem 3rem; grid-template-columns: 1fr; }
.footer__logo { background: #fff; border-radius: 12px; padding: 0.9rem 1.1rem; max-width: 330px; margin-bottom: 1.25rem; }
.footer h3 { font-size: 1.25rem; letter-spacing: 0.1em; color: #fff; margin-bottom: 1rem; }
.footer li + li { margin-top: 0.55rem; }
.footer a { text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.footer__contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer__contact svg { flex: none; margin-top: 4px; color: #ff6a62; }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.95rem; }
.footer__bar-inner { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; padding-block: 1.25rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.3fr 0.7fr 1.2fr 1.2fr; } }

/* Back to top */
.back-to-top { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90; width: 50px; height: 50px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5); transition: background 0.2s, transform 0.2s; }
.back-to-top:hover { background: var(--navy); transform: translateY(-3px); }

@media (max-width: 700px) {
  .page-header__bolt { width: 60vw; opacity: 0.4; }
}

/* Service cards (home) */
.cards { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.service-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s, background 0.3s; }
.service-card:hover, .service-card:focus-within { transform: translateY(-8px); border-color: var(--red); background: rgba(255, 255, 255, 0.08); box-shadow: 0 22px 40px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--red); }
.service-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-deep); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.07); }
.service-card__icon { position: absolute; left: 1rem; bottom: 1rem; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--red); color: #fff; box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.6); }
.service-card__body { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.4rem 1.4rem 1.5rem; flex: 1; }
.service-card__num { font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: 0.2em; color: #ff6a62; }
.service-card h3 { color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chips li { font-size: 0.9rem; padding: 0.25rem 0.7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.9); border: 1px solid rgba(255, 255, 255, 0.15); }
.service-card__more { margin-top: auto; padding-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-head); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.service-card__more svg { transition: transform 0.25s var(--ease); }
.service-card:hover .service-card__more svg { transform: translateX(5px); }

/* Checklist */
.checklist { display: grid; gap: 0.75rem; margin-block: 1.5rem 2rem; }
.checklist li { display: flex; align-items: center; gap: 0.9rem; padding: 0.95rem 1.1rem; background: var(--off); border-left: 4px solid var(--navy); border-radius: 10px; font-size: 1.2rem; font-weight: 500; transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s; }
.checklist li:hover { transform: translateX(6px); border-left-color: var(--red); background: #fff; box-shadow: var(--shadow); }
.checklist__tick { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; }

/* Gallery */
.filter-bar { position: sticky; top: 66px; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--grey-100); }
.filter { display: flex; gap: 0.6rem; padding-block: 0.8rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filter::-webkit-scrollbar { display: none; }
.filter__btn { flex: none; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1.1rem; border-radius: 999px; border: 2px solid var(--grey-100); background: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; transition: all 0.25s var(--ease); }
.filter__btn span { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding-inline: 0.35rem; border-radius: 999px; background: var(--off); font-size: 0.9rem; color: var(--grey-600); transition: inherit; }
.filter__btn:hover { border-color: var(--navy); color: var(--navy); }
.filter__btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter__btn.is-active span { background: var(--red); color: #fff; }

.gallery-group + .gallery-group { margin-top: clamp(3rem, 7vw, 5rem); }
.gallery-group__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--navy); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 1rem; }
.gallery-group__title::after { content: ''; flex: 1; height: 3px; background: linear-gradient(90deg, var(--red) 0 60px, var(--grey-100) 60px); }
.gallery { --cols: 2; --gap: 14px; container-type: inline-size; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: var(--gap); grid-auto-flow: dense; }
@media (min-width: 760px) { .gallery { --cols: 3; --gap: 18px; } }
@media (min-width: 1100px) { .gallery { --cols: 4; --gap: 20px; } }
.tile { --cw: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols)); position: relative; display: block; width: 100%; height: calc(var(--cw) * 1.25); padding: 0; border: 0; overflow: hidden; border-radius: 14px; background: var(--grey-100); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.tile--wide { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(21, 15, 61, 0.55)); opacity: 0; transition: opacity 0.35s; }
.tile:hover, .tile:focus-visible { transform: translateY(-5px); box-shadow: 0 22px 36px -20px rgba(21, 15, 61, 0.65); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.07); }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
.tile__zoom { position: absolute; right: 12px; bottom: 12px; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; opacity: 0; transform: scale(0.7); transition: opacity 0.3s, transform 0.35s var(--ease); }
.tile:hover .tile__zoom, .tile:focus-visible .tile__zoom { opacity: 1; transform: scale(1); }
@media (hover: none) { .tile__zoom { opacity: 1; transform: none; width: 36px; height: 36px; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(9, 8, 24, 0.94); }
.lightbox__stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 64px clamp(0.5rem, 7vw, 6rem) 56px; overflow: hidden; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px -20px #000; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-drag: none; }
.lightbox__btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); background: rgba(21, 15, 61, 0.7); color: #fff; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.lightbox__btn:hover { background: var(--red); border-color: var(--red); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__nav { top: 50%; margin-top: -26px; }
.lightbox__nav--prev { left: clamp(6px, 2vw, 24px); }
.lightbox__nav--next { right: clamp(6px, 2vw, 24px); }
.lightbox__count { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-family: var(--font-head); font-weight: 600; letter-spacing: 0.15em; color: rgba(255, 255, 255, 0.85); }
@media (max-width: 600px) { .lightbox__nav { top: auto; bottom: 8px; margin-top: 0; width: 46px; height: 46px; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; color: #fff; padding-block: clamp(3.5rem, 8vw, 5.5rem); background: linear-gradient(115deg, var(--red-dark), var(--red) 38%, var(--navy) 100%); }
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band__inner { position: relative; display: grid; gap: 2rem; align-items: center; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta-band p { margin-top: 0.8rem; font-size: 1.2rem; max-width: 34rem; color: rgba(255, 255, 255, 0.9); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
@media (min-width: 1000px) { .cta-band__inner { grid-template-columns: 1.1fr 1fr; } .cta-band__actions { justify-content: flex-end; } }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form__grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.98rem; }
.field input, .field select, .field textarea { width: 100%; padding: 0.85rem 1rem; border: 2px solid var(--grey-300); border-radius: 12px; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(41, 25, 104, 0.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field__error { margin-top: 0.35rem; font-size: 0.92rem; font-weight: 500; color: #b3211b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-note { padding: 1.4rem 1.5rem; border-radius: 14px; background: var(--off); border-left: 5px solid var(--navy); }
.form-note h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 0.4rem; }
.form-note__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.1rem; }
.form-note--ok { border-left-color: var(--whatsapp); display: grid; gap: 0.4rem; }
.form-note--ok svg { color: var(--whatsapp); }
.form-note--error { border-left-color: var(--red); background: #fdf1f0; }
.form-note--error h3 { color: #b3211b; }

/* HOME: hero */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(100svh - var(--nav-h)); min-height: max(560px, calc(100svh - var(--nav-h))); color: #fff; overflow: hidden; background: var(--ink); }
.hero__bg, .hero__overlay { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: hero-zoom 22s ease-out forwards; }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__overlay { z-index: -1; background: linear-gradient(100deg, rgba(21, 15, 61, 0.94) 0%, rgba(18, 20, 31, 0.8) 48%, rgba(18, 20, 31, 0.5) 100%), linear-gradient(0deg, rgba(18, 20, 31, 0.85), transparent 45%); }
.hero__slash { position: absolute; z-index: -1; right: -6%; top: 0; bottom: 0; width: 34%; background: linear-gradient(180deg, rgba(202, 44, 37, 0.85), rgba(41, 25, 104, 0.6)); clip-path: polygon(46% 0, 100% 0, 100% 100%, 0 100%); opacity: 0.35; mix-blend-mode: screen; }
.hero__inner { padding-block: clamp(3rem, 9vh, 6rem) 2rem; }
.hero__title { font-size: clamp(2.6rem, 7.6vw, 6.2rem); line-height: 0.94; }
.hero__line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__line > span { display: block; }
.hero__line .is-accent { color: var(--red); text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.hero__lead { margin-top: 1.5rem; max-width: 36rem; font-size: clamp(1.1rem, 2vw, 1.3rem); color: rgba(255, 255, 255, 0.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__info { display: grid; gap: 0.4rem 2rem; padding: 1.1rem clamp(1rem, 4vw, 2rem); margin-top: 1rem; background: rgba(18, 20, 31, 0.72); backdrop-filter: blur(8px); border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 1rem; }
.hero__info li { display: flex; align-items: center; gap: 0.6rem; }
.hero__info svg { color: #ff6a62; flex: none; }
.hero__info a { text-decoration: none; }
.hero__info a:hover { text-decoration: underline; }
@media (min-width: 900px) { .hero__info { grid-template-columns: repeat(3, auto); justify-content: center; } }

/* HOME: intro */
.intro__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.intro__text p + p { margin-top: 0.9rem; }
.intro__text .btn { margin-top: 1.6rem; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 0.85fr 1fr; } .intro__media { max-width: 480px; } }
.intro__grid > div:first-child .btn { margin-top: 1.4rem; }
.intro__grid p + p { margin-top: 0.9rem; }

/* HOME: featured */
.featured__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 0; }
.featured__head .section-heading { margin-bottom: 2rem; }
.featured__head > div:last-child { margin-bottom: 2rem; }
.featured__grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1000px) { .featured__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.featured__item { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: var(--grey-100); }
.featured__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.featured__item::after { content: ''; position: absolute; left: 0; bottom: 0; height: 5px; width: 0; background: var(--red); transition: width 0.45s var(--ease); }
.featured__item:hover img { transform: scale(1.07); }
.featured__item:hover::after { width: 100%; }

/* HOME: why */
.why__grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why__grid { grid-template-columns: repeat(3, 1fr); } }
.why__card { padding: 1.8rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--grey-100); border-top: 4px solid var(--navy); transition: transform 0.3s var(--ease), box-shadow 0.3s, border-top-color 0.3s; }
.why__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-top-color: var(--red); }
.why__icon, .value__icon, .spec__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: #fff; margin-bottom: 1rem; transition: background 0.3s; }
.why__card:hover .why__icon { background: var(--red); }
.why__card h3 { color: var(--navy); margin-bottom: 0.5rem; }
.why__card p { color: var(--grey-600); }

/* SERVICES page */
.service-row { padding-block: clamp(3rem, 7vw, 5.5rem); }
.service-row:nth-child(even) { background: var(--off); }
.service-row__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.service-row__media { max-width: 520px; width: 100%; margin-inline: auto; padding-right: 14px; }
.service-row__text { position: relative; }
.service-row__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.service-row__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(3.6rem, 7vw, 5.5rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--grey-300); pointer-events: none; }
.service-row__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--red); color: #fff; }
.service-row h2 { color: var(--navy); font-size: clamp(2rem, 4.2vw, 3.1rem); }
@media (min-width: 900px) {
  .service-row__grid { grid-template-columns: 1fr 1fr; }
  .service-row.is-reversed .service-row__media { order: 2; }
  .service-row.is-reversed .service-row__text { order: 1; }
  .service-row.is-reversed .service-row__media { padding-right: 0; padding-left: 14px; }
  .service-row.is-reversed .frame::before { inset: 18px 18px -14px -14px; }
}

/* ABOUT */
.spec { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .spec { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .spec { grid-template-columns: repeat(4, 1fr); } }
.spec__card { padding: 1.8rem; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); transition: transform 0.3s var(--ease), border-color 0.3s; }
.spec__card:hover { transform: translateY(-6px); border-color: var(--red); }
.spec__icon { background: var(--red); }
.spec__card h3 { color: #fff; margin-bottom: 0.9rem; }
.spec__card li { display: flex; align-items: flex-start; gap: 0.5rem; color: rgba(255, 255, 255, 0.85); padding-block: 0.2rem; }
.spec__card li svg { color: #ff6a62; flex: none; margin-top: 0.4em; }
.mv { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-bottom: 1.25rem; }
@media (min-width: 800px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv__card { padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: var(--radius); color: #fff; }
.mv__card--red { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.mv__card--navy { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); }
.mv__card svg { margin-bottom: 1rem; }
.mv__card h3 { font-size: 1.9rem; margin-bottom: 0.7rem; }
.mv__card p { font-size: 1.15rem; color: rgba(255, 255, 255, 0.92); }
.values { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { padding: 1.6rem; border-radius: var(--radius); background: var(--off); border: 1px solid var(--grey-100); }
.value h3 { color: var(--navy); margin-bottom: 0.4rem; }
.value p { color: var(--grey-600); }
.trust { display: grid; gap: clamp(2rem, 6vw, 4rem); align-items: start; }
@media (min-width: 900px) { .trust { grid-template-columns: 1.2fr 0.8fr; } }
.trust__list { display: grid; gap: 1.1rem; }
.trust__list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.trust__list .checklist__tick { margin-top: 4px; }
.trust__list strong { display: block; font-size: 1.15rem; color: var(--navy); }
.trust__list span:not(.checklist__tick) { color: var(--grey-600); }
.trust__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; padding-right: 14px; }
@media (min-width: 900px) { .trust__photos { grid-template-columns: 1fr; max-width: 340px; } }

/* CONTACT */
.contact__grid { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: start; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: var(--navy); margin-bottom: 1.4rem; }
.contact__list { display: grid; gap: 0.9rem; }
.contact__item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--off); border-radius: 14px; border: 1px solid var(--grey-100); text-decoration: none; transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s; overflow-wrap: anywhere; }
a.contact__item:hover { transform: translateX(6px); border-color: var(--red); box-shadow: var(--shadow); }
.contact__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--red); color: #fff; }
.contact__item small { display: block; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-600); font-weight: 600; }
.contact__item strong { font-weight: 600; font-size: 1.1rem; }
.contact__logo { margin-top: 1.8rem; padding: 1.1rem 1.4rem; background: #fff; border: 1px solid var(--grey-100); border-radius: 14px; max-width: 360px; }
.contact__form { padding: clamp(1.4rem, 4vw, 2.4rem); border-radius: 20px; background: #fff; border: 1px solid var(--grey-100); box-shadow: var(--shadow); border-top: 5px solid var(--red); }
.contact__form .muted { margin: -0.8rem 0 1.4rem; font-size: 0.95rem; }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.notfound h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); color: var(--navy); margin-bottom: 1rem; }
.notfound .btn { margin-top: 1rem; }

/* ===== Static-site additions (replaces the React/Motion behaviour) ===== */
[hidden] { display: none !important; }
.icon { flex: none; }
body { animation: pageIn 0.4s ease-out; }
body.is-leaving { opacity: 0; transition: opacity 0.18s ease-in; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease) var(--d, 0s), transform 0.7s var(--ease) var(--d, 0s); }
.js .reveal.from-left { transform: translateX(-40px); }
.js .reveal.from-right { transform: translateX(40px); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* entrance animations (hero and page headers) */
.enter { opacity: 0; animation: enterUp 0.8s var(--ease) var(--d, 0s) forwards; }
.enter--left { animation-name: enterLeft; }
.slide-up { display: block; transform: translateY(110%); animation: slideUp 0.85s var(--ease) var(--d, 0s) forwards; }
.page-header h1.enter { animation-duration: 0.7s; }
@keyframes enterUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes enterLeft { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes slideUp { to { transform: none; } }

/* mobile menu */
.mobile-menu:not([hidden]) { animation: menuIn 0.3s var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.back-to-top { animation: pageIn 0.3s ease-out; }

/* projects filter + lightbox */
#gallery-root.is-fading { animation: pageIn 0.3s ease-out; }
.lightbox:not([hidden]) { animation: pageIn 0.2s ease-out; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .enter, .slide-up { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  body { animation: none; }
}

/* keep the enlarged photo fully on screen */
.lightbox__stage { height: 100vh; height: 100dvh; }
.lightbox__img { max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); }
