/* ============================================================
   AKALTA IoT THEME — Brand Design System
   Based on Akalta Manual de Identidad Corporativa
   ============================================================
   Colors (from brand manual):
     Primary Navy:   #2E2C78  (Pantone 101-15 C)
     Primary Cyan:   #39C3DC  (Pantone 118-5 C)
     Secondary Pink: #bf1e64  (Pantone 69-7 C)
     Secondary Gold: #f9dc5c  (Pantone 7-7 C)
     Neutral Dark:   #231F20  (Pantone Black C)
     Neutral Light:  #eee5e9  (Pantone 51-1C)
     White:          #FFFFFF
   Typography:
     Logotype: Azedo Bold (restricted to logo only)
     Eslogan:  Maven Pro (restricted to logo only)
     Headings: Montserrat (uppercase)
     Body:     Lato (italic for long-form)
   ============================================================ */

/* --- Fonts (self-hosted, SIL Open Font License; no requests to Google) --- */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/montserrat-latin-ext-wght-normal.woff2') format('woff2-variations'), url('../fonts/montserrat-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/lato-latin-ext-300-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: italic; font-weight: 300; font-display: swap; src: url('../fonts/lato-latin-ext-300-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/lato-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/lato-latin-ext-400-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/lato-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/lato-latin-ext-700-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/montserrat-latin-wght-normal.woff2') format('woff2-variations'), url('../fonts/montserrat-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/lato-latin-300-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Lato'; font-style: italic; font-weight: 300; font-display: swap; src: url('../fonts/lato-latin-300-italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/lato-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Lato'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/lato-latin-400-italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/lato-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Lato'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/lato-latin-700-italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* --- CSS Custom Properties --- */
:root {
  --navy:        #2E2C78;
  --navy-dark:   #1e1c50;
  --navy-light:  #3d3a9e;
  --cyan:        #39C3DC;
  --cyan-light:  #8ee8f9;
  --cyan-dark:   #1e8fa0;
  --pink:        #bf1e64;
  --gold:        #f9dc5c;
  --dark:        #231F20;
  --neutral:     #eee5e9;
  --white:       #ffffff;
  --gray-100:    #f7f6f8;
  --gray-200:    #eeecf0;
  --gray-400:    #b0adb8;
  --gray-600:    #6e6878;
  --gray-800:    #3a3642;

  --font-head:   'Montserrat', sans-serif;
  --font-body:   'Lato', sans-serif;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --shadow-sm:   0 2px 8px rgba(46,44,120,0.10);
  --shadow-md:   0 4px 24px rgba(46,44,120,0.15);
  --shadow-lg:   0 8px 48px rgba(46,44,120,0.20);

  --transition:  0.22s ease;
  --max-width:   1200px;
  --section-pad: 5rem 1.5rem;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }
ul { list-style: none; }

/* --- Typography Scale --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: var(--section-pad); }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }

.section--light { background: var(--gray-100); }
.section--navy-soft { background: #f4f3ff; }

.text-center { text-align: center; }
.text-cyan { color: var(--cyan); }
.text-white { color: var(--white); }

.tag {
  display: inline-block;
  background: rgba(57,195,220,0.12);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3em 0.9em;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(57,195,220,0.3);
  margin-bottom: 1rem;
  display: inline-block;
}

/* ============================================================
   HEADER & NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(46,44,120,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(57,195,220,0.18);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(30,28,80,0.99);
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav__logo-mark {
  height: 32px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

/* Navigation links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__links li {
  position: relative;
  list-style: none;
}

.nav__links a,
.nav__links li > span {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav__links li.has-submenu > a::after,
.nav__links li.has-submenu > span::after {
  content: '▾';
  font-size: 0.65rem;
  opacity: 0.7;
}

.nav__links a:hover,
.nav__links a.active,
.nav__links li:hover > a,
.nav__links li:hover > span {
  color: var(--cyan);
  background: rgba(57,195,220,0.08);
}

/* Submenu dropdown */
.nav__submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1e1c50;
  border: 1px solid rgba(57,195,220,0.25);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  padding: 0.5rem 0;
  min-width: 220px;
  z-index: 1000;
  list-style: none;
}

.nav__links li:hover > .nav__submenu,
.nav__links li:focus-within > .nav__submenu {
  display: block;
}

.nav__submenu li {
  display: block;
  width: 100%;
}

.nav__submenu a {
  display: block;
  padding: 0.6rem 1.25rem;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85);
  border-radius: 0;
  text-align: left;
}

.nav__submenu a:hover {
  background: rgba(57,195,220,0.15);
  color: var(--cyan);
}

/* Language switcher */
.nav__lang {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(57,195,220,0.35);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.nav__lang a {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 0.3rem 0.6rem;
  transition: background var(--transition), color var(--transition);
}

.nav__lang a:hover,
.nav__lang a.active {
  background: var(--cyan);
  color: var(--navy-dark);
}

/* Mobile hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy-dark);
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(57,195,220,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(191,30,100,0.08) 0%, transparent 60%),
    linear-gradient(135deg, #1a1850 0%, #2E2C78 50%, #1e1c50 100%);
}

/* Arc pattern overlay (brand "trama": the isotype arc, scattered and rotated) */
.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170' viewBox='0 0 170 170'%3E%3Cg fill='%2339C3DC'%3E%3Cpath transform='translate%2822 26%29 rotate%280%29' d='M-9 0A9 9 0 0 0 9 0H5.5A5.5 5.5 0 0 1-5.5 0Z'/%3E%3Cpath transform='translate%2884 14%29 rotate%28140%29' d='M-9 0A9 9 0 0 0 9 0H5.5A5.5 5.5 0 0 1-5.5 0Z'/%3E%3Cpath transform='translate%28140 44%29 rotate%28265%29' d='M-9 0A9 9 0 0 0 9 0H5.5A5.5 5.5 0 0 1-5.5 0Z'/%3E%3Cpath transform='translate%2852 84%29 rotate%2855%29' d='M-9 0A9 9 0 0 0 9 0H5.5A5.5 5.5 0 0 1-5.5 0Z'/%3E%3Cpath transform='translate%28116 104%29 rotate%28205%29' d='M-9 0A9 9 0 0 0 9 0H5.5A5.5 5.5 0 0 1-5.5 0Z'/%3E%3Cpath transform='translate%2818 140%29 rotate%28300%29' d='M-9 0A9 9 0 0 0 9 0H5.5A5.5 5.5 0 0 1-5.5 0Z'/%3E%3Cpath transform='translate%2890 150%29 rotate%2820%29' d='M-9 0A9 9 0 0 0 9 0H5.5A5.5 5.5 0 0 1-5.5 0Z'/%3E%3Cpath transform='translate%28150 136%29 rotate%28110%29' d='M-9 0A9 9 0 0 0 9 0H5.5A5.5 5.5 0 0 1-5.5 0Z'/%3E%3Cpath transform='translate%2870 48%29 rotate%28330%29' d='M-9 0A9 9 0 0 0 9 0H5.5A5.5 5.5 0 0 1-5.5 0Z'/%3E%3Cpath transform='translate%28132 170%29 rotate%28240%29' d='M-9 0A9 9 0 0 0 9 0H5.5A5.5 5.5 0 0 1-5.5 0Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 170px 170px;
  /* fade towards the text column so the headline stays clean */
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.35) 0%, #000 55%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,0.35) 0%, #000 55%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__text {}

.hero__eyebrow {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--cyan);
}

.hero__heading {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero__heading em {
  font-style: normal;
  color: var(--cyan);
}

.hero__subheading {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero emblem (right column): Akalta isotype as a connected hub */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__emblem {
  width: min(500px, 100%);
  aspect-ratio: 1;
}

.hero__emblem svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.emblem__orbit {
  transform-box: view-box;
  transform-origin: 240px 240px;
  animation: emblem-spin 140s linear infinite;
}

.emblem__core {
  animation: emblem-float 7s ease-in-out infinite;
}

.emblem__ripple {
  transform-box: view-box;
  transform-origin: 240.4px 239.5px;
  opacity: 0;
  animation: emblem-ripple 4.5s cubic-bezier(0.2, 0.6, 0.35, 1) infinite;
}
.emblem__ripple:nth-child(2) { animation-delay: 1.5s; }
.emblem__ripple:nth-child(3) { animation-delay: 3s; }

@keyframes emblem-ripple {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.3); opacity: 0; }
}

@keyframes emblem-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes emblem-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .emblem__orbit,
  .emblem__core,
  .emblem__ripple { animation: none; }
  .emblem__ripple:nth-child(1) { opacity: 0.35; transform: scale(1.35); }
  .emblem__ripple:nth-child(2) { opacity: 0.2;  transform: scale(1.75); }
  .emblem__ripple:nth-child(3) { opacity: 0.1;  transform: scale(2.15); }
  .emblem__pulses { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--cyan);
  color: var(--navy-dark);
  border-color: var(--cyan);
}

.btn--primary:hover {
  background: var(--cyan-light);
  border-color: var(--cyan-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(57,195,220,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn--outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(57,195,220,0.05);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   SECTION HEADERS (reusable)
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header__tag {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan-dark);
  margin-bottom: 0.75rem;
}

.section--dark .section-header__tag { color: var(--cyan); }

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header__lead {
  max-width: 580px;
  margin: 0 auto;
  color: var(--gray-600);
  font-size: 1.05rem;
}

.section--dark .section-header__lead { color: rgba(255,255,255,0.7); }

/* ============================================================
   SERVICES / FEATURE CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(57,195,220,0.2);
}

.card:hover::before { opacity: 1; }

.card__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(46,44,120,0.08), rgba(57,195,220,0.12));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.card__icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* Dark card variant */
.card--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}

.card--dark h3 { color: var(--white); }
.card--dark p { color: rgba(255,255,255,0.65); }
.card--dark .card__icon {
  background: rgba(57,195,220,0.12);
  color: var(--cyan);
}
.card--dark:hover {
  border-color: rgba(57,195,220,0.35);
  background: rgba(255,255,255,0.07);
}

/* ============================================================
   STATS / METRICS BAR
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.stat:last-child { border-right: none; }

.stat__number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat__label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
}

/* ============================================================
   BLOG / NEWS
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.post-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--navy);
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  /* Duotone effect matching brand manual */
  filter: saturate(0.7) hue-rotate(10deg);
}

.post-card:hover .post-card__image img {
  transform: scale(1.04);
}

.post-card__image--placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 28% 25%, rgba(191,30,100,0.55) 0%, transparent 55%),
    radial-gradient(circle at 78% 85%, rgba(57,195,220,0.75) 0%, transparent 55%),
    var(--navy);
}

.post-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.post-card__meta .dot {
  width: 3px;
  height: 3px;
  background: var(--gray-400);
  border-radius: 50%;
}

.post-card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--dark);
}

.post-card h3 a {
  color: inherit;
}

.post-card h3 a:hover { color: var(--navy); }

.post-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  flex: 1;
  margin-bottom: 1.25rem;
}

.post-card__link {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition), color var(--transition);
}

.post-card__link:hover {
  color: var(--cyan-dark);
  gap: 0.7rem;
}

.post-card__link::after {
  content: '→';
}

/* ============================================================
   FULL POST / PAGE CONTENT
   ============================================================ */
.post-hero {
  background: var(--navy-dark);
  padding: 8rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.post-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(57,195,220,0.12) 0%, transparent 70%);
}

.post-hero .container { position: relative; z-index: 2; }

.post-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.post-hero .post-meta {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.post-hero .post-meta .dot {
  width: 3px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
}

.post-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.post-content p { margin-bottom: 1.4rem; }

.post-content ul,
.post-content ol {
  margin: 0 0 1.4rem 1.5rem;
  list-style: initial;
}

.post-content ol { list-style: decimal; }

.post-content li { margin-bottom: 0.4rem; }

.post-content blockquote {
  border-left: 3px solid var(--cyan);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--gray-100);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--gray-800);
}

.post-content code {
  background: var(--gray-200);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
  font-size: 0.88em;
}

.post-content pre {
  background: var(--dark);
  color: var(--cyan-light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-bottom: 1.4rem;
}

.post-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.post-content img {
  border-radius: var(--radius-md);
  margin: 2rem auto;
}

/* Tags on post */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }

.contact-info p {
  color: var(--gray-600);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.8;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--dark);
}

.contact-detail__icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(46,44,120,0.08), rgba(57,195,220,0.12));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}

.form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-800);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(57,195,220,0.12);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--navy);
}

.form__success svg { margin: 0 auto 1rem; color: var(--cyan); }

/* ============================================================
   ABOUT / TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.team-card {
  text-align: center;
}

.team-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 3px solid var(--cyan);
  /* Brand duotone treatment */
  filter: grayscale(0.3);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 {
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.team-card__role {
  font-size: 0.8rem;
  color: var(--cyan-dark);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.value-item {
  text-align: center;
  padding: 2rem 1rem;
}

.value-item__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  color: var(--cyan);
}

.value-item h4 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.value-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb__sep { opacity: 0.3; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  transition: all var(--transition);
}

.pagination a:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.pagination .active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 4rem 1.5rem 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand {}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer__logo-mark { height: 30px; width: auto; object-fit: contain; }

.footer__desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 260px;
}

.footer__social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}

.footer__social a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.footer__col h5 {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer__col ul li {
  margin-bottom: 0.6rem;
}

.footer__col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer__col ul li a:hover { color: var(--cyan); }

.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer__bottom a {
  color: rgba(255,255,255,0.4);
}

.footer__bottom a:hover { color: var(--cyan); }

/* ============================================================
   DECORATIVE ELEMENTS (brand-aligned)
   ============================================================ */

/* Cyan accent line (used in section dividers, etc.) */
.accent-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-light));
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

.accent-line--left { margin-left: 0; }

/* Hexagon chip (decorative, mirrors cover art) */
.hex-chip {
  display: inline-block;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  padding: 1.5rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__visual { display: none; }

  .hero__eyebrow { justify-content: center; }
  .hero__subheading { margin: 0 auto 2.5rem; }
  .hero__actions { justify-content: center; }
}

@media (max-width: 768px) {
  :root { --section-pad: 3.5rem 1.25rem; }

  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--navy-dark);
    padding: 2rem 1.5rem;
    gap: 0.5rem;
    z-index: 999;
    overflow-y: auto;
  }

  .nav__links.open a {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav__lang { display: none; }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .form-row { grid-template-columns: 1fr; }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat:nth-child(even) { border-right: none; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }

  .btn { padding: 0.75rem 1.25rem; font-size: 0.7rem; }

  .post-content { padding: 2rem 1rem 3rem; }
}


/* ============================================================
   PAGE HERO (compact) & WIDE PAGE BODY — pages and sector pages
   ============================================================ */
/* Tags inside dark heroes: cyan text so the label is readable */
.post-hero .tag {
  color: var(--cyan);
  background: rgba(57,195,220,0.12);
  border-color: rgba(57,195,220,0.45);
}

/* Compact hero: short title + breadcrumb, left-aligned in the content width */
.post-hero--compact {
  padding: calc(72px + 2.5rem) 1.5rem 2.5rem;
  text-align: left;
}
.post-hero--compact .breadcrumb { margin-bottom: 1rem; }
.post-hero--compact .tag { margin-bottom: 0.75rem; }
.post-hero--compact h1 { margin-bottom: 0; }

/* Featured image as hero background (sector pages) */
.post-hero--image {
  padding-top: calc(72px + 3.5rem);
  padding-bottom: 3.5rem;
  background:
    linear-gradient(90deg, rgba(30,28,80,0.96) 0%, rgba(30,28,80,0.86) 45%, rgba(30,28,80,0.45) 100%),
    var(--hero-image) center / cover no-repeat,
    var(--navy-dark);
}
.post-hero--image::after { display: none; }

/* Wide body for layout-rich pages; plain text keeps a readable measure */
.post-content.page-body {
  max-width: var(--max-width);
  padding: 3.5rem 1.5rem 5rem;
}
.page-body > p,
.page-body > ul,
.page-body > ol,
.page-body > blockquote,
.page-body > h2,
.page-body > h3,
.page-body > h4,
.page-body > table,
.page-body > figure {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Images inside layout boxes fill the box (no article margins) */
.post-content .services-intro__image img,
.post-content .service-block__visual img {
  margin: 0;
  border-radius: 0;
}

@media (max-width: 768px) {
  .post-hero--compact,
  .post-hero--image { padding: calc(72px + 1.75rem) 1.25rem 1.75rem; }
  .post-content.page-body { padding: 2rem 1rem 3rem; }
}

/* ============================================================
   ICONS — line icons as CSS masks (take the current text colour)
   Usage in page HTML:
     <div class="card__icon icon--location"></div>        (feature-card box)
     <span class="icon icon--rfid"></span>                (inline, 1em)
   Available: award, bell, box, calendar, cart, chart, clipboard, clock, cloud, dashboard, database, factory, globe, graduation, hardhat, heartbeat, laptop, layers, lightbulb, link, location, lock, microscope, patient, people, rfid, search, shield, shirt, signal, siren, snowflake, support, tag, target, theater, thermometer, trophy, truck, user, wrench
   ============================================================ */
.icon,
.card__icon[class*="icon--"]::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
  vertical-align: -0.125em;
}
.card__icon[class*="icon--"] { color: var(--cyan-dark); }
.card__icon[class*="icon--"]::before { width: 38px; height: 38px; }
.card--dark .card__icon[class*="icon--"] { color: var(--cyan); }
.section--dark .card__icon[class*="icon--"] { color: var(--cyan); }
/* Image icons placed inside the box (e.g. uploaded PNG/SVG icons) */
.card__icon img,
.post-content .card__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0;
  border-radius: 0;
}
.icon--award { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M8.5 14L7 22l5-3 5 3-1.5-8'/%3E%3C/svg%3E"); }
.icon--bell { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.9 1.9 0 0 0 3.4 0'/%3E%3C/svg%3E"); }
.icon--box { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l9 5v10l-9 5-9-5V7z'/%3E%3Cpath d='M3 7l9 5 9-5'/%3E%3Cpath d='M12 12v10'/%3E%3C/svg%3E"); }
.icon--calendar { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M8 3v4'/%3E%3Cpath d='M16 3v4'/%3E%3C/svg%3E"); }
.icon--cart { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2 3h3l2.7 12.4a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.6L21 7H6'/%3E%3C/svg%3E"); }
.icon--chart { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 15l4-4 3 3 5-6'/%3E%3C/svg%3E"); }
.icon--clipboard { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='18' rx='2'/%3E%3Cpath d='M9 2h6v4H9z'/%3E%3Cpath d='M9 12h6'/%3E%3Cpath d='M9 16h4'/%3E%3C/svg%3E"); }
.icon--clock { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.icon--cloud { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18a5 5 0 1 1 .9-9.9A6 6 0 0 1 19 10a4 4 0 0 1-1 8z'/%3E%3C/svg%3E"); }
.icon--dashboard { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 9h18'/%3E%3Cpath d='M9 21V9'/%3E%3C/svg%3E"); }
.icon--database { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v14c0 1.7 3.6 3 8 3s8-1.3 8-3V5'/%3E%3Cpath d='M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3'/%3E%3C/svg%3E"); }
.icon--factory { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 21h20'/%3E%3Cpath d='M3 21V11l6 4v-4l6 4V5h5v16'/%3E%3C/svg%3E"); }
.icon--globe { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3a14 14 0 0 1 0 18'/%3E%3Cpath d='M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }
.icon--graduation { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9l10-5 10 5-10 5z'/%3E%3Cpath d='M6 11v5c3 2 9 2 12 0v-5'/%3E%3C/svg%3E"); }
.icon--hardhat { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 18h20'/%3E%3Cpath d='M4 18v-2a8 8 0 0 1 16 0v2'/%3E%3Cpath d='M10 8V5h4v3'/%3E%3C/svg%3E"); }
.icon--heartbeat { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l2-6 4 12 2-6h6'/%3E%3C/svg%3E"); }
.icon--laptop { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='11' rx='1'/%3E%3Cpath d='M2 20h20'/%3E%3C/svg%3E"); }
.icon--layers { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l10 5-10 5L2 7z'/%3E%3Cpath d='M2 12l10 5 10-5'/%3E%3Cpath d='M2 17l10 5 10-5'/%3E%3C/svg%3E"); }
.icon--lightbulb { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3Cpath d='M12 2a7 7 0 0 0-4 12.7V17h8v-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E"); }
.icon--link { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3C/svg%3E"); }
.icon--location { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E"); }
.icon--lock { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }
.icon--microscope { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18h8'/%3E%3Cpath d='M3 22h18'/%3E%3Cpath d='M14 22a7 7 0 1 0 0-14'/%3E%3Cpath d='M9 14h2'/%3E%3Cpath d='M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2z'/%3E%3Cpath d='M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3'/%3E%3C/svg%3E"); }
.icon--patient { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18V6'/%3E%3Cpath d='M3 14h18v4'/%3E%3Cpath d='M21 14v-0a3 3 0 0 0-3-3h-7v3'/%3E%3Ccircle cx='7' cy='11' r='2'/%3E%3C/svg%3E"); }
.icon--people { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2 20a7 7 0 0 1 14 0'/%3E%3Cpath d='M16 4.5a3.5 3.5 0 0 1 0 7'/%3E%3Cpath d='M18 14a6 6 0 0 1 4 6'/%3E%3C/svg%3E"); }
.icon--rfid { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='12' height='10' rx='2'/%3E%3Ccircle cx='7' cy='12' r='1.3'/%3E%3Cpath d='M18 9.5a4 4 0 0 1 0 5'/%3E%3Cpath d='M20.5 7.5a7 7 0 0 1 0 9'/%3E%3C/svg%3E"); }
.icon--search { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E"); }
.icon--shield { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.icon--shirt { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3L4 6l2 4 2-1v11h8V9l2 1 2-4-4-3c-1 2-2.5 3-4 3S9 5 8 3z'/%3E%3C/svg%3E"); }
.icon--signal { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9a15 15 0 0 1 20 0'/%3E%3Cpath d='M5 12.5a10 10 0 0 1 14 0'/%3E%3Cpath d='M8.5 16a5 5 0 0 1 7 0'/%3E%3Ccircle cx='12' cy='19.5' r='1'/%3E%3C/svg%3E"); }
.icon--siren { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18v-6a5 5 0 0 1 10 0v6'/%3E%3Cpath d='M5 21h14v-3H5z'/%3E%3Cpath d='M12 2v2'/%3E%3Cpath d='M4.2 5.2l1.4 1.4'/%3E%3Cpath d='M19.8 5.2l-1.4 1.4'/%3E%3C/svg%3E"); }
.icon--snowflake { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20'/%3E%3Cpath d='M3.3 7l17.4 10'/%3E%3Cpath d='M20.7 7L3.3 17'/%3E%3Cpath d='M9 4l3 2 3-2'/%3E%3Cpath d='M9 20l3-2 3 2'/%3E%3C/svg%3E"); }
.icon--support { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M5.6 5.6l3.6 3.6'/%3E%3Cpath d='M14.8 14.8l3.6 3.6'/%3E%3Cpath d='M14.8 9.2l3.6-3.6'/%3E%3Cpath d='M5.6 18.4l3.6-3.6'/%3E%3C/svg%3E"); }
.icon--tag { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12V4h8l10 10-8 8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E"); }
.icon--target { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E"); }
.icon--theater { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v6a8 8 0 0 1-16 0z'/%3E%3Cpath d='M9 9h.01'/%3E%3Cpath d='M15 9h.01'/%3E%3Cpath d='M9 13a4 4 0 0 0 6 0'/%3E%3C/svg%3E"); }
.icon--thermometer { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 14.8V4a2 2 0 0 0-4 0v10.8a4 4 0 1 0 4 0z'/%3E%3C/svg%3E"); }
.icon--trophy { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M7 4h10v5a5 5 0 0 1-10 0z'/%3E%3Cpath d='M17 5h3v2a3 3 0 0 1-3 3'/%3E%3Cpath d='M7 5H4v2a3 3 0 0 0 3 3'/%3E%3C/svg%3E"); }
.icon--truck { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5h13v11H1z'/%3E%3Cpath d='M14 9h4l3 3v4h-7'/%3E%3Ccircle cx='5.5' cy='18' r='2'/%3E%3Ccircle cx='17.5' cy='18' r='2'/%3E%3C/svg%3E"); }
.icon--user { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.icon--wrench { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.5 2.5-2.4-.6-.6-2.4z'/%3E%3C/svg%3E"); }


/* Card icon box holding an illustration image: larger box, image fills it */
.card__icon:has(img) {
  padding: 0.5rem;
}
.card__icon:has(img) img,
.post-content .card__icon:has(img) img {
  width: 100%;
  height: 100%;
}

/* Card "icon" that is a product logo: no box, logo at a readable size */
.card .card__icon--logo,
.card--dark .card__icon--logo,
.card .card__icon--logo:has(img) {
  width: auto;
  height: 64px;
  padding: 0;
  background: none;
  justify-content: flex-start;
}
.card__icon--logo img,
.post-content .card__icon--logo img,
.post-content .card__icon--logo:has(img) img {
  width: auto;
  height: 40px;
  max-width: 220px;
  object-fit: contain;
}

/* Links inside dark cards */
.card--dark .post-card__link { color: var(--cyan); }
.card--dark .post-card__link:hover { color: var(--white); }

/* Two-column text + media block (stacks on mobile) */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .split-2 { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Feature photo with the brand's magenta dotted frame (offset) */
.feature-media {
  position: relative;
  margin: 1rem 1rem 0 0;
}
.feature-media::before {
  content: "";
  position: absolute;
  inset: -1rem 1rem 1rem -1rem;
  border: 3px dotted var(--pink);
  border-radius: var(--radius-xl);
  pointer-events: none;
}
.feature-media img,
.post-content .feature-media img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin: 0;
}


/* ============================================================
   PRODUCT PAGE COMPONENTS (Bambeo)
   ============================================================ */
/* Values panels: cards fill the row */
.post-content .about-values .values-grid,
.about-values .values-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Readable questions in navy "values" panels */
.about-values .value-card__quote {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  font-style: normal;
}
.about-values p { color: rgba(255,255,255,0.78); }

/* Screenshot in the intro box: no colour filter, whole image visible */
.services-intro .services-intro__image--screenshot { background: var(--white); border: 1px solid var(--gray-200); }
.services-intro__image--screenshot img,
.post-content .services-intro__image--screenshot img {
  filter: none;
  object-fit: contain;
  margin: 0;
  border-radius: 0;
}

/* Phone / portrait screenshot in a service block */
.service-block .service-block__visual--phone { aspect-ratio: 4 / 5; max-height: 560px; }
.service-block__visual--phone img { object-position: center 30%; }

/* Event → action examples */
.event-flow {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 980px;
  margin: 2rem auto 0;
}
.event-flow__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0.85rem;
}
.event-flow__event,
.event-flow__action {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.5;
}
.event-flow__event { background: rgba(57,195,220,0.12); color: var(--navy); }
.event-flow__action { background: var(--navy); color: var(--white); }
.event-flow__event .icon { color: var(--cyan-dark); font-size: 1.4rem; flex-shrink: 0; }
.event-flow__action .icon { color: var(--cyan); font-size: 1.4rem; flex-shrink: 0; }
.event-flow__arrow {
  display: flex;
  align-items: center;
  color: var(--cyan-dark);
  font-size: 1.5rem;
  font-weight: 700;
}
.event-flow__label {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.85rem;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.event-flow__label span:nth-child(2) { width: 1.5rem; }
@media (max-width: 768px) {
  .event-flow__row, .event-flow__label { grid-template-columns: 1fr; }
  .event-flow__arrow { justify-content: center; transform: rotate(90deg); }
  .event-flow__label { display: none; }
  .event-flow { gap: 2rem; }
  .event-flow__row { gap: 0.4rem; }
}

/* Process steps inside page content */
.post-content .process-steps { margin: 2.5rem 0 1rem; gap: 1.5rem; }
.post-content .process-step p { font-size: 0.95rem; }


/* Partner / client logo wall */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem 2.5rem;
  align-items: center;
  justify-items: center;
  max-width: 1000px;
  margin: 2.5rem auto 4rem;
}
.logo-wall img,
.post-content .logo-wall img {
  width: auto;
  height: auto;
  max-width: 160px;
  max-height: 48px;
  margin: 0;
  border-radius: 0;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter var(--transition), opacity var(--transition);
}
.logo-wall img:hover { filter: none; opacity: 1; }
.logo-wall--5 { grid-template-columns: repeat(5, 1fr); max-width: 900px; }
.post-content .team-grid,
.team-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); justify-content: center; }
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }


/* Request a demo: numbered "what to expect" steps */
.demo-steps {
  list-style: none;
  counter-reset: demo;
  margin: 1.5rem 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.demo-steps li {
  counter-increment: demo;
  position: relative;
  padding-left: 3rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.demo-steps li::before {
  content: counter(demo);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px rgba(57,195,220,0.35);
}
.demo-steps strong { color: var(--navy); }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .site-footer,
  .hero,
  .nav__toggle { display: none; }
  body { color: #000; }
}

/* ============================================================
   AKALTA — pages.css
   Extended layout styles for About, Services, Contact pages.
   These are applied via the page.hbs template and activated
   through Publii's custom page templates or via Markdown
   shortcodes / HTML blocks within the editor.
   ============================================================ */

/* ============================================================
   SERVICES PAGE
   Use these classes inside the Publii editor's HTML blocks
   ============================================================ */

/* Full-width intro block */
.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.services-intro__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy);
}

.services-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) hue-rotate(10deg);
}

.services-intro__content h2 {
  margin-bottom: 1rem;
}

.services-intro__content p {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Service detail block (alternating layout) */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0;
  border-top: 1px solid var(--gray-200);
}

.service-block--reverse {
  direction: rtl;
}

.service-block--reverse > * {
  direction: ltr;
}

.service-block__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(46,44,120,0.08), rgba(57,195,220,0.15));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.service-block__icon svg { width: 32px; height: 32px; }

.service-block h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.service-block p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.service-block ul {
  list-style: none;
  margin: 0;
}

.service-block ul li {
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.service-block ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-block__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #1e1c50, #2E2C78);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
}

.service-block__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Technology tags row */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tech-tag {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35em 0.8em;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
  transition: all var(--transition);
}

.tech-tag:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Process steps */
.process-steps {
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--navy));
  opacity: 0.2;
}

.process-step {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.process-step__number {
  counter-increment: steps;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--cyan);
}

.process-step h4 {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark);
}

.process-step p {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.about-mission__block {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--gray-100);
  border-left: 4px solid var(--cyan);
}

.about-mission__block h3 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--cyan-dark);
  margin-bottom: 0.75rem;
}

.about-mission__block p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  font-style: italic;
  margin: 0;
}

/* Values grid (dark bg) */
.about-values {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  margin: 3.5rem 0;
}

.about-values h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 0.5rem;
}

.about-values .accent-line { margin-bottom: 2.5rem; }

.about-values .values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2rem;
}

.value-card {
  text-align: center;
}

.value-card__quote {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.value-card h4 {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: 0.75rem;
}

/* Timeline (company history) */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), var(--navy));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--cyan);
}

.timeline-item__year {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-dark);
  margin-bottom: 0.35rem;
}

.timeline-item h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
  color: var(--dark);
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.page-contact .post-content {
  max-width: 100%;
  padding: 0;
}

.contact-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

/* Success message (shown after form submit) */
.form__success {
  text-align: center;
  padding: 3rem 2rem;
}

.form__success__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
}

.form__success h3 {
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.form__success p {
  color: var(--gray-600);
}

/* ============================================================
   RESPONSIVE OVERRIDES FOR PAGES
   ============================================================ */

@media (max-width: 768px) {
  .services-intro,
  .service-block,
  .about-mission {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-block--reverse {
    direction: ltr;
  }

  .process-steps::before { display: none; }

  .about-values { padding: 2rem 1.25rem; }

  .contact-wrapper { padding: 2.5rem 1.25rem 4rem; }
}

/* --- Form consent & first-layer privacy notice --- */
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; margin: 0.5rem 0 1.25rem; font-size: 0.85rem; color: var(--gray-600, #555); line-height: 1.5; }
.form-consent input[type="checkbox"] { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; accent-color: var(--navy); }
.form-consent a, .form-privacy a { color: var(--navy); text-decoration: underline; }
.form-privacy { font-size: 0.75rem; color: var(--gray-400); line-height: 1.55; margin-top: 1rem; text-align: left; }
.form-privacy strong { color: var(--gray-600, #555); font-weight: 700; }
.form-error { color: #c0392b; font-size: 0.8rem; margin: -0.75rem 0 1rem; display: none; }
.form-error.is-visible { display: block; }
/* Legal pages: readable tables */
.page-body table.legal-table { width: 100%; max-width: 760px; border-collapse: collapse; margin: 1rem auto 2rem; font-size: 0.9rem; }
.page-body table.legal-table th, .page-body table.legal-table td { border: 1px solid var(--gray-200); padding: 0.6rem 0.75rem; text-align: left; vertical-align: top; }
.page-body table.legal-table th { background: var(--gray-100, #f4f4f8); font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; }

/* Language switcher stays visible on mobile, next to the menu button */
@media (max-width: 1024px) {
  .nav__lang { display: flex; margin-left: auto; margin-right: 0.75rem; }
}

/* ============================================================
   Magenta dotted frame ON TOP of side images
   (home "About us", intro images and image + text blocks on pages;
   blog posts don't use these classes)
   ============================================================ */
.feature-media::before { z-index: 2; }
.feature-media img,
.post-content .feature-media img { z-index: 1; }

.services-intro__image,
.service-block__visual {
  position: relative;
  overflow: visible;              /* let the offset frame show outside the box */
  margin: 1rem 0 0 1rem;          /* room for the frame offset (up and left) */
}
.services-intro__image::after,
.service-block__visual::after {
  content: "";
  position: absolute;
  inset: -1rem 1rem 1rem -1rem;
  border: 3px dotted var(--pink);
  border-radius: var(--radius-xl);
  pointer-events: none;
  z-index: 2;
}
/* The image keeps the rounded corners now that the box no longer clips it */
.services-intro__image img,
.service-block__visual img,
.post-content .services-intro__image img,
.post-content .service-block__visual img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
}

/* Mobile menu: the header's backdrop-filter makes it the containing block for
   fixed-position children, so "inset: 72px 0 0 0" collapsed the panel to 0px.
   Give the open panel an explicit viewport height instead. */
@media (max-width: 768px) {
  .nav__links.open {
    top: 72px;
    bottom: auto;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    max-height: none;
  }
}

/* Mobile menu: show every submenu expanded under its heading
   (hover dropdowns don't work on touch screens) */
@media (max-width: 768px) {
  .nav__links.open { align-items: stretch; gap: 0; }
  .nav__links.open > li { width: 100%; }
  .nav__links.open > li > a {
    display: flex;
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
  }
  .nav__links.open > li > span {
    display: block;
    font-size: 0.72rem;
    color: var(--cyan);
    background: none;
    padding: 1.1rem 1rem 0.35rem;
    cursor: default;
  }
  .nav__links.open li.has-submenu > a::after,
  .nav__links.open li.has-submenu > span::after { content: none; }
  .nav__links.open .nav__submenu {
    display: block;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0.5rem;
    min-width: 0;
  }
  .nav__links.open .nav__submenu a {
    white-space: normal;
    font-size: 0.9rem;
    padding: 0.7rem 1rem 0.7rem 1.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
}
