@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #1c1917;
  --ink-soft: #44403c;
  --paper: #f7f4f0;
  --paper-deep: #efeae3;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-deep: #0d5c56;
  --accent: #e07a3d;
  --accent-hover: #c9652c;
  --gold: #d4a017;
  --muted: #78716c;
  --line: rgba(28, 25, 23, 0.1);
  --nav-h: 74px;
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shell: min(920px, calc(100% - 2rem));
  --shell-wide: min(980px, calc(100% - 2rem));
  --img-xs: 120px;
  --img-sm: 150px;
  --img-md: 180px;
  --img-lg: 210px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 15.5px;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; }

/* Centered shells — margins left & right */
.container {
  width: var(--shell);
  margin-inline: auto;
}
.wide {
  width: var(--shell-wide);
  margin-inline: auto;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.75;
  margin-inline: auto;
}

.text-accent { color: var(--accent); font-style: italic; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.45rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(224, 122, 61, 0.28);
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

.btn-ghost-dark {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }

.btn-teal {
  background: var(--teal);
  color: #fff;
}
.btn-teal:hover { background: var(--teal-deep); }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ——— Nav: logo | centered links | CTA ——— */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s;
}
.navbar.scrolled {
  background: rgba(28, 25, 23, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.nav-inner {
  width: min(1100px, calc(100% - 1.5rem));
  margin-inline: auto;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}
.nav-logo img { height: 38px; width: auto; }
.nav-links {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}
.nav-link {
  padding: 0.4rem 0.7rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-link.active { color: var(--accent); }
.nav-cta { display: none; }
.nav-toggle {
  width: 42px; height: 42px; border: 0;
  background: rgba(255,255,255,0.1);
  color: #fff; cursor: pointer; border-radius: 10px;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 120;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle[aria-expanded="true"] {
  background: rgba(255,255,255,0.18);
}
.mobile-menu {
  position: fixed; top: 0; right: -100%;
  width: min(300px, 88vw); height: 100dvh;
  background: #1c1917; padding: 4.5rem 1.35rem 2rem;
  z-index: 110; transition: right 0.35s var(--ease);
  display: flex; flex-direction: column; gap: 0.2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  color: #fff; padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 500; text-align: center;
}
.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(28,25,23,0.5);
  opacity: 0; visibility: hidden; z-index: 105; transition: 0.3s;
}
.menu-overlay.open { opacity: 1; visibility: visible; }

@media (min-width: 1024px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle { display: none; }
  .container { width: min(880px, calc(100% - 4rem)); }
  .wide { width: min(940px, calc(100% - 4rem)); }
  .nav-inner { width: min(1100px, calc(100% - 3rem)); }
}

@media (max-width: 1023px) {
  .nav-inner {
    grid-template-columns: 1fr auto;
  }
  .navbar.menu-open {
    background: rgba(28, 25, 23, 0.96);
  }
}

/* =========================================
   CENTERED VIDEO HERO (NursesPrint-style)
   ========================================= */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1c1917;
  color: #fff;
  text-align: center;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(28,25,23,0.28) 0%, rgba(28,25,23,0.38) 42%, rgba(28,25,23,0.58) 100%),
    radial-gradient(ellipse at 50% 40%, rgba(15,118,110,0.12), transparent 62%);
}
.hero-blob { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
}
.hero-center {
  max-width: 720px;
  margin-inline: auto;
  position: relative;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin-bottom: 1.35rem;
  backdrop-filter: blur(10px);
}
.hero-badge-pill img {
  width: 22px; height: 22px;
  border-radius: 50%;
  object-fit: cover;
}
.dot-ping { position: relative; width: 9px; height: 9px; margin-left: 0.25rem; }
.dot-ping span {
  position: absolute; inset: 0; border-radius: 50%; background: var(--accent);
}
.dot-ping span:first-child {
  animation: ping 1.6s cubic-bezier(0,0,0.2,1) infinite; opacity: 0.55;
}
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 7vw, 3.85rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 1.15rem;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-title em,
.hero-title .text-accent {
  font-style: italic;
  color: #f0b27a;
  font-weight: 500;
}

.hero-desc {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.hero-trust {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 0.35rem; }
.hero-trust svg { width: 14px; height: 14px; color: var(--accent); }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.hero-tag svg { width: 13px; height: 13px; color: #f0b27a; }

/* Floating accents around centered hero */
.hero-float {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  display: none;
}
.hero-float.polaroid {
  width: 118px;
  padding: 8px 8px 28px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  transform: rotate(-8deg);
}
.hero-float.polaroid img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 3px;
}
.hero-float.stats-card {
  width: 200px;
  background: rgba(255,255,255,0.96);
  color: var(--ink);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  text-align: left;
  pointer-events: auto;
}
.hero-float.stats-card .stat-row {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}
.hero-float.stats-card .stat-row:last-child { border-bottom: 0; }
.hero-float.stats-card strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--teal);
}
.float-left { left: max(1rem, calc(50% - 480px)); top: 28%; }
.float-right { right: max(1rem, calc(50% - 480px)); top: 34%; }

.avatars {
  display: flex;
  justify-content: center;
  margin: 1.25rem 0 0.5rem;
}
.avatars img {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.9);
  margin-left: -10px;
}
.avatars img:first-child { margin-left: 0; }

.scroll-indicator {
  position: absolute;
  bottom: 1.25rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.scroll-mouse {
  width: 16px; height: 26px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 10px; position: relative;
}
.scroll-wheel {
  width: 3px; height: 5px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute; top: 5px; left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease-in-out infinite;
}
@keyframes scrollWheel {
  0% { opacity: 1; top: 5px; }
  100% { opacity: 0; top: 13px; }
}

@media (min-width: 1100px) {
  .hero-float { display: block; }
}

/* ——— Page hero (inner) — centered ——— */
.page-hero {
  position: relative;
  min-height: 38svh;
  display: grid;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 2.75rem) 0 2.75rem;
  color: #fff;
  overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.page-hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,25,23,0.45), rgba(28,25,23,0.82));
}
.page-hero-content {
  position: relative; z-index: 1;
  max-width: 36rem;
  margin-inline: auto;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
  color: #fff;
}
.page-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 0.98rem;
  margin-inline: auto;
}
.page-hero .eyebrow { color: #f0b27a; }

/* ——— Sections ——— */
.section {
  padding: 4rem 0;
  position: relative;
  text-align: center;
}
.section-tight { padding: 2.5rem 0; }
.section-mist { background: var(--paper-deep); }
.section-ink {
  background: #1c1917;
  color: #fff;
}

.section-head {
  margin: 0 auto 2rem;
  max-width: 34rem;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  margin-bottom: 0.65rem;
  font-weight: 600;
}
.section-head p {
  color: var(--muted);
  font-size: 0.98rem;
}
.section-ink .section-head p { color: rgba(255,255,255,0.68); }

/* ——— Small image frames ——— */
.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e7e2db;
  margin-inline: auto;
}
.photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.6s var(--ease);
}
.photo-frame:hover img { transform: scale(1.04); }
.photo-caption {
  position: absolute;
  left: 0.65rem; right: 0.65rem; bottom: 0.65rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.photo-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  max-width: 720px;
  margin-inline: auto;
}
.photo-strip-stack { display: grid; gap: 0.65rem; }
.photo-frame.tall { height: var(--img-lg); }
.photo-frame.short { height: var(--img-xs); }

@media (min-width: 700px) {
  .photo-strip { grid-template-columns: 1.15fr 0.85fr; }
  .photo-frame.tall { height: 220px; }
  .photo-frame.short { height: 104px; }
}

/* Polaroid accent */
.polaroid-inline {
  width: 130px;
  padding: 8px 8px 26px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(28,25,23,0.12);
  transform: rotate(4deg);
  margin: 1.5rem auto 0;
}
.polaroid-inline img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 2px;
}

/* ——— Service rows ——— */
.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  max-width: 760px;
  margin-inline: auto;
}
.service-row:last-child { border-bottom: 0; }
.service-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: var(--img-md);
  background: #e7e2db;
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}
.service-visual img:not(.svg-badge) {
  width: 100%; height: 100%;
  object-fit: cover;
}
.service-visual .svg-badge {
  position: absolute;
  top: 0.65rem; left: 0.65rem;
  width: 36px; height: 36px;
}
.service-copy { text-align: center; }
.service-copy h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}
.service-copy p {
  color: var(--muted);
  margin-bottom: 0.75rem;
  font-size: 0.94rem;
  max-width: 28rem;
  margin-inline: auto;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.88rem;
}
.service-link svg { width: 15px; height: 15px; transition: transform 0.25s; }
.service-link:hover svg { transform: translateX(3px); }

@media (min-width: 768px) {
  .service-row {
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    text-align: left;
  }
  .service-visual {
    height: 150px;
    max-width: none;
    margin: 0;
  }
  .service-copy { text-align: left; }
  .service-copy p { margin-inline: 0; }
  .service-row.reverse { grid-template-columns: 1fr 200px; }
  .service-row.reverse .service-copy { order: 1; }
  .service-row.reverse .service-visual { order: 2; }
}

/* ——— Project gallery ——— */
.project-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  max-width: 820px;
  margin-inline: auto;
}
.project-tile {
  position: relative;
  height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1c1917;
  text-align: left;
}
.project-tile img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.88;
  transition: transform 0.55s var(--ease), opacity 0.3s;
}
.project-tile:hover img { transform: scale(1.05); opacity: 1; }
.project-tile-body {
  position: absolute; inset: auto 0 0 0;
  padding: 0.9rem 1rem;
  background: linear-gradient(transparent, rgba(28,25,23,0.92));
  color: #fff;
}
.project-tile-body .tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f0b27a;
  margin-bottom: 0.2rem;
}
.project-tile-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}
.project-tile-body p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .project-gallery { grid-template-columns: 1fr 1fr; }
  .project-tile.wide { grid-column: span 2; height: 200px; }
  .project-tile { height: 170px; }
}

/* ——— Process ——— */
.process-art {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 1.75rem;
  opacity: 0.88;
}
.process-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 760px;
  margin-inline: auto;
  text-align: left;
}
.process-step {
  padding: 0.85rem 0.25rem;
  border-top: 2px solid var(--teal);
}
.process-step:nth-child(3n) { border-color: var(--accent); }
.process-num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.process-step h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.process-step p { color: var(--muted); font-size: 0.9rem; }

@media (min-width: 640px) {
  .process-track { grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
}
@media (min-width: 900px) {
  .process-track { grid-template-columns: repeat(3, 1fr); }
}

/* ——— Industries ——— */
.industry-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  max-width: 720px;
  margin-inline: auto;
}
.industry-cell {
  position: relative;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.industry-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.68);
  transition: filter 0.3s, transform 0.45s var(--ease);
}
.industry-cell:hover img { filter: brightness(0.85); transform: scale(1.05); }
.industry-cell span {
  position: absolute;
  left: 0.65rem; bottom: 0.6rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}
@media (min-width: 700px) {
  .industry-mosaic { grid-template-columns: repeat(4, 1fr); }
  .industry-cell { height: 115px; }
}

/* ——— Testimonials carousel ——— */
.testimonial-carousel {
  position: relative;
  max-width: 680px;
  margin: 0.5rem auto 0;
  text-align: center;
}
.testimonial-track {
  position: relative;
  min-height: 230px;
}
.testimonial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.5rem 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.97);
  filter: blur(4px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease),
    filter 0.7s var(--ease),
    visibility 0.7s;
  pointer-events: none;
}
.testimonial-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}
.testimonial-slide.is-exit {
  opacity: 0;
  transform: translateY(-14px) scale(0.98);
  filter: blur(3px);
}
.testimonial-stars {
  display: inline-flex;
  gap: 0.2rem;
  color: #f0b27a;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  animation: starPulse 2.8s ease-in-out infinite;
}
.testimonial-stars .is-muted { color: rgba(255,255,255,0.22); }
@keyframes starPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.testimonial-slide blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-style: italic;
  line-height: 1.4;
  color: rgba(255,255,255,0.96);
  max-width: 34ch;
}
.testimonial-slide cite {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-style: normal;
  font-family: var(--font-body);
}
.testimonial-slide cite strong {
  color: #f0b27a;
  font-size: 0.92rem;
  font-weight: 700;
}
.testimonial-slide cite span {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
}
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}
.testimonial-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s var(--ease), border-color 0.25s;
}
.testimonial-nav svg { width: 18px; height: 18px; }
.testimonial-nav:hover {
  background: rgba(224,122,61,0.22);
  border-color: rgba(240,178,122,0.55);
  transform: scale(1.06);
}
.testimonial-dots {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.28);
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.35s;
}
.testimonial-dot.is-active {
  width: 22px;
  background: #f0b27a;
}

/* ——— Story / about ——— */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  max-width: 820px;
  margin-inline: auto;
}
.story-copy { text-align: center; }
.story-copy p {
  color: var(--muted);
  margin-bottom: 0.85rem;
  font-size: 0.98rem;
}
.story-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  max-width: 380px;
  margin-inline: auto;
}
.story-photos .photo-frame:first-child {
  grid-column: 1 / -1;
  height: 150px;
}
.story-photos .photo-frame { height: 100px; }
.story-photos .svg-wide {
  grid-column: 1 / -1;
  max-width: 220px;
  margin: 0.35rem auto 0;
}

.value-list {
  display: grid;
  gap: 1rem;
  max-width: 560px;
  margin: 1.75rem auto 0;
  text-align: left;
}
.value-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.85rem;
  align-items: start;
}
.value-item img { width: 40px; height: 40px; }
.value-item h4 { font-size: 1.15rem; margin-bottom: 0.15rem; }
.value-item p { color: var(--muted); font-size: 0.9rem; }

@media (min-width: 860px) {
  .story-grid { grid-template-columns: 1fr 0.9fr; text-align: left; gap: 2.25rem; }
  .story-copy { text-align: left; }
  .story-copy .btn-group { justify-content: flex-start; }
  .story-photos { margin: 0; max-width: none; }
}

/* ——— Tech ——— */
.tech-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.tech-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.tech-visual {
  border-radius: var(--radius);
  overflow: hidden;
  height: var(--img-md);
  position: relative;
  background: #e7e2db;
  max-width: 360px;
  margin-inline: auto;
  width: 100%;
}
.tech-visual img:not(.overlay-svg) {
  width: 100%; height: 100%; object-fit: cover;
}
.tech-visual .overlay-svg {
  position: absolute; right: 0.65rem; bottom: 0.65rem;
  width: 40px; height: 40px;
}
.tech-tags {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  margin-top: 0.75rem; justify-content: center;
}
.tech-tag {
  padding: 0.3rem 0.6rem;
  background: var(--paper-deep);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 500;
  border-radius: 999px;
}
@media (min-width: 720px) {
  .tech-block {
    grid-template-columns: 200px 1fr;
    text-align: left;
  }
  .tech-visual { height: 140px; max-width: none; margin: 0; }
  .tech-tags { justify-content: flex-start; }
  .tech-block:nth-child(even) { grid-template-columns: 1fr 200px; }
  .tech-block:nth-child(even) .tech-visual { order: 2; }
}

/* ——— Case studies ——— */
.case-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin: 0 auto 2.25rem;
  max-width: 760px;
  text-align: center;
}
.case-media {
  border-radius: var(--radius);
  overflow: hidden;
  height: 170px;
  background: #e7e2db;
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-body .sector {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.case-body h2 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin-bottom: 0.85rem;
}
.case-meta { display: grid; gap: 0.75rem; text-align: left; }
.case-meta dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.1rem;
}
.case-meta dd { color: var(--muted); font-size: 0.9rem; }
.case-icon { width: 36px; margin: 0.85rem auto 0; }
@media (min-width: 760px) {
  .case-feature {
    grid-template-columns: 220px 1fr;
    text-align: left;
    gap: 1.5rem;
  }
  .case-media { height: 200px; max-width: none; margin: 0; }
  .case-feature:nth-child(even) .case-media { order: 2; }
  .case-icon { margin-left: 0; }
}

/* ——— Blog ——— */
.blog-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 auto 1.75rem;
  max-width: 820px;
  text-align: left;
}
.blog-feature-main {
  position: relative;
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
}
.blog-feature-main img { width: 100%; height: 100%; object-fit: cover; }
.blog-feature-main .overlay {
  position: absolute; inset: auto 0 0 0;
  padding: 1.1rem;
  background: linear-gradient(transparent, rgba(28,25,23,0.92));
  color: #fff;
}
.blog-side { display: grid; gap: 0.65rem; }
.blog-side-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.65rem;
  align-items: center;
}
.blog-side-item img {
  width: 72px; height: 60px;
  object-fit: cover;
  border-radius: 8px;
}
.blog-side-item h3 { font-size: 1rem; margin-bottom: 0.1rem; }
.blog-side-item p { font-size: 0.74rem; color: var(--muted); }

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  max-width: 820px;
  margin-inline: auto;
  text-align: left;
}
.blog-card { display: block; transition: transform 0.3s var(--ease); }
.blog-card:hover { transform: translateY(-3px); }
.blog-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
}
.blog-card .meta {
  font-size: 0.7rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.blog-card h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.blog-card p { color: var(--muted); font-size: 0.86rem; }

@media (min-width: 700px) {
  .blog-feature { grid-template-columns: 1.2fr 0.8fr; }
  .blog-feature-main { height: 280px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ——— Blog article ——— */
.article-hero { min-height: 46svh; }
.article-hero .page-hero-content { max-width: 42rem; }
.article-back {
  display: inline-block;
  margin-bottom: 0.85rem;
  text-decoration: none;
}
.article-back:hover { color: #fff; }
.article-category {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: #f0b27a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  color: rgba(255,255,255,0.78) !important;
  font-size: 0.92rem !important;
}
.article-section { padding-top: 2.25rem; }
.article-shell {
  max-width: 720px;
  margin-inline: auto;
  text-align: left;
}
.article-feature-image {
  margin: 0 0 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(28,25,23,0.12);
}
.article-feature-image img {
  display: block;
  width: 100%;
  height: clamp(220px, 42vw, 380px);
  object-fit: cover;
}
.article-deck {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}
.article-body {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.85;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  color: var(--ink);
  margin: 2rem 0 0.75rem;
  line-height: 1.2;
}
.article-body p { margin-bottom: 1.15rem; }
.article-body p:last-child { margin-bottom: 0; }
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.article-related {
  background: var(--paper-deep);
  padding-top: 3rem;
}
.article-related .blog-grid { margin-top: 0.5rem; }

/* ——— Contact ——— */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 860px;
  margin-inline: auto;
  text-align: left;
}
.contact-visual .main-shot {
  border-radius: var(--radius);
  overflow: hidden;
  height: 180px;
  margin-bottom: 0.75rem;
}
.contact-visual .main-shot img {
  width: 100%; height: 100%; object-fit: cover;
}
.contact-map-svg { max-width: 100%; margin-bottom: 0.65rem; border-radius: 10px; }
.contact-details { display: grid; gap: 0.6rem; }
.contact-detail {
  display: flex; gap: 0.55rem; align-items: center;
  color: var(--ink-soft); font-size: 0.9rem;
}
.contact-detail svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; }
.contact-thumbs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.75rem;
}
.contact-thumbs .photo-frame { height: 80px; }

.contact-form {
  background: var(--white);
  padding: 1.35rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(28,25,23,0.06);
  text-align: left;
}
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
.form-group { display: flex; flex-direction: column; gap: 0.28rem; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
}
.form-textarea { min-height: 110px; resize: vertical; }
.form-error { color: #b91c1c; font-size: 0.76rem; }
.form-success {
  margin: 0.75rem 0; padding: 0.7rem 0.85rem;
  background: #ecfdf5; color: #065f46; border-radius: 8px; font-size: 0.86rem;
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 1.65rem; }
}
@media (min-width: 860px) {
  .contact-layout { grid-template-columns: 0.85fr 1.15fr; gap: 1.75rem; }
  .contact-visual { position: sticky; top: calc(var(--nav-h) + 1rem); }
}

/* ——— CTA ——— */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
  color: #fff;
  text-align: center;
}
.cta-band-bg { position: absolute; inset: 0; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,118,110,0.88), rgba(28,25,23,0.9));
}
.cta-band-content {
  position: relative; z-index: 1;
  max-width: 34rem;
  margin-inline: auto;
}
.cta-band h2 {
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  margin-bottom: 0.75rem;
}
.cta-band p {
  color: rgba(255,255,255,0.78);
  margin-bottom: 1.35rem;
  font-size: 0.98rem;
}

/* ——— Filters ——— */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  justify-content: center; margin-bottom: 1.5rem;
}
.filter-btn {
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(224,122,61,0.06);
}
.search-field {
  position: relative;
  max-width: 320px;
  margin: 0 auto 1rem;
}
.search-field svg {
  position: absolute; left: 0.8rem; top: 50%;
  transform: translateY(-50%);
  width: 15px; height: 15px; color: var(--muted);
}
.search-field input {
  width: 100%;
  padding: 0.7rem 0.85rem 0.7rem 2.35rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  text-align: left;
}

/* ——— Footer ——— */
.site-footer {
  background: #1c1917;
  color: rgba(255,255,255,0.68);
  padding: 3.25rem 0 1.25rem;
  text-align: center;
}
.footer-art { display: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
  max-width: 880px;
  margin-inline: auto;
}
.footer-brand img { height: 40px; margin: 0 auto 0.85rem; }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0 auto 1rem;
  max-width: 28ch;
}
.footer-social { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.footer-social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: rgba(255,255,255,0.75);
  transition: 0.2s;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-social svg { width: 14px; height: 14px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0b27a;
  margin-bottom: 0.75rem;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  padding: 0.25rem 0;
  color: rgba(255,255,255,0.62);
}
.footer-col a:hover { color: #fff; }
.footer-contact-item {
  display: flex; gap: 0.5rem; align-items: center;
  justify-content: center;
  margin-bottom: 0.55rem;
  font-size: 0.86rem;
}
.footer-contact-item svg {
  width: 14px; height: 14px; color: var(--teal); flex-shrink: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.1rem;
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.4);
  max-width: 880px;
  margin-inline: auto;
}
.footer-bottom-links { display: flex; gap: 1rem; }

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; text-align: left; }
  .footer-brand img, .footer-social { margin-left: 0; justify-content: flex-start; }
  .footer-brand p { margin-left: 0; }
  .footer-contact-item { justify-content: flex-start; }
  .footer-bottom { justify-content: space-between; }
  .site-footer { text-align: left; }
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }

.text-center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 1rem; }

@media (max-width: 639px) {
  .section { padding: 3.25rem 0; }
  .hero-buttons .btn { width: min(100%, 280px); }
}

/* ——— Mobile hero: exact screen fit, text on top ——— */
@media (max-width: 768px) {
  .hero-section {
    height: 100svh;
    height: 100dvh;
    min-height: 100svh;
    max-height: 100dvh;
    align-items: center;
    justify-content: center;
  }

  .hero-video {
    object-fit: cover;
    object-position: center center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(28,25,23,0.42) 0%, rgba(28,25,23,0.52) 45%, rgba(28,25,23,0.72) 100%),
      radial-gradient(ellipse at 50% 35%, rgba(15,118,110,0.14), transparent 60%);
  }

  .hero-content {
    padding: calc(var(--nav-h) + 0.5rem) 0 1.25rem;
    display: flex;
    align-items: center;
    min-height: 0;
  }

  .hero-center {
    max-width: 100%;
    width: 100%;
  }

  .hero-badge-pill {
    margin-bottom: 0.7rem;
    padding: 0.32rem 0.75rem 0.32rem 0.4rem;
    font-size: 0.62rem;
    max-width: calc(100% - 0.5rem);
  }

  .hero-badge-pill span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42vw;
  }

  .hero-title {
    font-size: clamp(1.7rem, 7.2vw, 2.25rem);
    line-height: 1.12;
    margin-bottom: 0.65rem;
  }

  .hero-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0 auto 1rem;
    max-width: 28rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-buttons {
    gap: 0.55rem;
    margin-bottom: 0.65rem;
  }

  .hero-buttons .btn {
    min-height: 2.55rem;
    padding: 0.55rem 1.1rem;
    font-size: 0.84rem;
  }

  .avatars,
  .hero-tags,
  .scroll-indicator {
    display: none;
  }

  .hero-trust {
    font-size: 0.68rem;
    gap: 0.35rem 0.85rem;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 1.55rem;
  }
  .hero-desc {
    -webkit-line-clamp: 2;
    font-size: 0.82rem;
  }
  .hero-badge-pill {
    display: none;
  }
}

/* ——— WhatsApp floating widget ——— */
.whatsapp-widget {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  animation: waPulse 2.6s ease-in-out infinite;
}
.whatsapp-widget:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.45);
  color: #fff;
  animation: none;
}
.whatsapp-widget svg {
  width: 30px;
  height: 30px;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35), 0 0 0 10px rgba(37, 211, 102, 0.12); }
}
@media (max-width: 640px) {
  .whatsapp-widget {
    right: 0.85rem;
    bottom: 0.85rem;
    width: 52px;
    height: 52px;
  }
  .whatsapp-widget svg { width: 28px; height: 28px; }
}
