/* ============================================
   Visual S.r.l.
   Palette & Variables
   ============================================ */

/* Font locali (nessuna dipendenza esterna / GDPR-friendly) */
@font-face {
  font-family: 'Saira Extra Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/saira-extra-condensed-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Saira Extra Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/saira-extra-condensed-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Saira Extra Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/saira-extra-condensed-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Saira Extra Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/saira-extra-condensed-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/google-sans-latin.woff2') format('woff2');
}

:root {
  --primary: #004376;
  --secondary: #018ECF;
  --highlight: #F8C82E;
  --text: #222222;
  --gray-light: #f4f6f8;
  --white: #ffffff;
  --blue-dark: var(--primary);
  --blue-deep: #003052;
  --yellow: var(--highlight);
  --font-heading: 'Saira Extra Condensed', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Google Sans', 'Product Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-height: 80px;
  --transition: 0.25s ease;
  --shadow: 0 4px 24px rgba(0, 67, 118, 0.08);
  --shadow-hover: 0 8px 32px rgba(0, 67, 118, 0.14);
  --radius: 6px;
  --max-width: 1200px;
  --font-size-body: 16px;
  --font-size-ui: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: 1.7;
  color: var(--text);
  background-color: var(--gray-light);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--secondary);
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--blue-deep);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

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

p {
  margin-bottom: 1rem;
  font-size: var(--font-size-body);
}
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--white {
  background-color: var(--white);
}

.section--blue {
  background-color: var(--blue-dark);
  color: var(--white);
}

.section--blue h2,
.section--blue h3 {
  color: var(--white);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section__header p {
  margin-top: 1rem;
  font-size: var(--font-size-body);
  color: #4b5563;
}

.section--blue .section__header p {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: var(--font-size-ui);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 15px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--yellow);
  color: var(--blue-deep);
  border-color: var(--yellow);
}

.btn--primary:hover {
  background-color: #e0b51a;
  border-color: #e0b51a;
  color: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn--outline {
  background-color: transparent;
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn--outline:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn--white:hover {
  background-color: var(--yellow);
  border-color: var(--yellow);
  color: var(--blue-deep);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ============================================
   Dati societari
   ============================================ */
.company-data {
  max-width: 720px;
}

.company-data__intro {
  font-size: var(--font-size-body);
  color: #4b5563;
  margin-bottom: 2.5rem;
}

.company-data__block {
  background-color: var(--white);
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.company-data__block h2 {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.company-data__row {
  margin-bottom: 1rem;
  font-size: var(--font-size-body);
  color: var(--text);
  line-height: 1.6;
}

.company-data__row:last-child {
  margin-bottom: 0;
}

.company-data__label {
  font-family: var(--font-heading);
  font-size: var(--font-size-ui);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  width: 150px;
  height: auto;
  display: block;
  transition: opacity var(--transition);
}

.logo:hover .logo__img {
  opacity: 0.85;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  font-family: var(--font-heading);
  font-size: var(--font-size-ui);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-dark);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--blue-deep);
  background-color: var(--gray-light);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background-color: var(--yellow);
  border-radius: 2px;
}

.header__cta {
  flex-shrink: 0;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 2px solid var(--blue-dark);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 8px;
  transition: all var(--transition);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--blue-dark);
  transition: all var(--transition);
  transform-origin: center;
}

.nav-toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 4rem 0 0;
  background-color: var(--white);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  min-height: 480px;
}

.hero__content {
  padding: 2rem 0 4rem;
}

.hero__content h1,
.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6.25vw, 4.375rem);
  font-weight: 700;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 60px;
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 500;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 25px;
  margin-top: 20px;
  margin-bottom: 1rem;
}

.hero__text {
  font-size: var(--font-size-body);
  color: #4b5563;
  max-width: 520px;
}

.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem 0 4rem;
}

.hero__typo-block {
  text-align: right;
}

.hero__typo-line {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.hero__typo-line span {
  color: var(--yellow);
}

.hero__typo-tagline {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9ca3af;
  margin-top: 1.5rem;
  text-align: right;
}

.hero__abstract {
  position: absolute;
  bottom: 0;
  right: -10%;
  width: 120%;
  height: 200px;
  opacity: 0.5;
  pointer-events: none;
}

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

.card {
  background-color: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--yellow);
  transition: height var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue-dark);
}

.card:hover::before {
  height: 100%;
}

.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--blue-dark);
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  font-size: var(--font-size-ui);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-dark);
}

.card p {
  font-size: var(--font-size-body);
  color: #4b5563;
  margin-bottom: 0;
}

/* ============================================
   Features / Why choose us
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--blue-dark);
  border-radius: var(--radius);
  color: var(--yellow);
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  font-family: var(--font-heading);
  font-size: var(--font-size-ui);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  color: var(--blue-dark);
}

.feature p {
  font-size: var(--font-size-body);
  color: #4b5563;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  text-align: center;
  padding: 4rem 2rem;
}

.cta-section p {
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: var(--font-size-body);
}

.section--blue .cta-section p {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   Page Header (inner pages)
   ============================================ */
.page-header {
  background-color: var(--blue-deep);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--yellow);
}

.page-header h1 {
  color: var(--white);
  max-width: 800px;
}

.page-header p {
  margin-top: 1.25rem;
  font-size: var(--font-size-body);
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
}

/* ============================================
   Content blocks
   ============================================ */
.content-block {
  max-width: 800px;
}

.content-block h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block p {
  color: #4b5563;
  font-size: var(--font-size-body);
}

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

.value-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background-color: var(--white);
  border: 2px solid var(--blue-dark);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.value-card:hover {
  background-color: var(--blue-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.value-card:hover h3 {
  color: var(--yellow);
}

.value-card__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  color: var(--blue-dark);
  transition: color var(--transition);
}

.value-card:hover .value-card__icon {
  color: var(--yellow);
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: var(--font-size-ui);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-dark);
  transition: color var(--transition);
}

/* ============================================
   Services page
   ============================================ */
.service-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid #e5e7eb;
  align-items: start;
}

.service-item:first-child {
  padding-top: 0;
}

.service-item:last-child {
  border-bottom: none;
}

.service-item__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  opacity: 0.8;
}

.service-item h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

.service-item p {
  color: #4b5563;
  font-size: var(--font-size-body);
}

/* ============================================
   Contact page
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--blue-dark);
  border-radius: var(--radius);
  color: var(--yellow);
}

.contact-info__icon svg {
  width: 22px;
  height: 22px;
}

.contact-info__label {
  font-family: var(--font-heading);
  font-size: var(--font-size-ui);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-dark);
  margin-bottom: 0.25rem;
}

.contact-info__value {
  font-size: var(--font-size-body);
  color: var(--text);
}

.contact-info__value a {
  color: var(--text);
}

.contact-info__value a:hover {
  color: var(--blue-dark);
}

/* Google Reviews */
.google-reviews__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.google-reviews__score {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.google-reviews__stars {
  display: flex;
  gap: 3px;
  color: var(--highlight);
}

.google-reviews__star {
  display: flex;
  line-height: 0;
}

.google-reviews__stars svg {
  width: 22px;
  height: 22px;
}

.google-reviews__label {
  font-size: var(--font-size-body);
  color: #4b5563;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.google-reviews__count {
  display: none;
}

.google-reviews__link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: var(--font-size-body);
  color: var(--secondary);
  text-decoration: underline;
}

.google-reviews__link:hover {
  color: var(--primary);
}

.google-reviews__loading {
  font-size: var(--font-size-body);
  color: #4b5563;
}

/* Form */
.form {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow);
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--font-size-ui);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-dark);
  margin-bottom: 0.4rem;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--text);
  background-color: var(--gray-light);
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23004376' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--blue-dark);
  background-color: var(--white);
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form__checkbox input {
  margin-top: 0.3rem;
  accent-color: var(--blue-dark);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.form__checkbox label {
  font-size: var(--font-size-body);
  color: #4b5563;
  line-height: 1.5;
}

.form__checkbox a {
  text-decoration: underline;
}

.form .btn {
  width: 100%;
}

.form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-feedback {
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: var(--font-size-body);
  line-height: 1.5;
}

.form-feedback--success {
  background-color: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.form-feedback--error {
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* Map */
.map-container {
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: none;
}

.map-container--active .map-consent-placeholder {
  display: none;
}

.map-container--active iframe {
  display: block;
}

.map-consent-placeholder {
  background-color: var(--gray-light);
  border: 2px dashed #d1d5db;
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.7;
}

.map-consent-placeholder p {
  color: #4b5563;
  max-width: 420px;
  margin-bottom: 0;
}

/* Legal / policy pages */
.legal-content {
  max-width: 1200px !important;
}

.legal-content__placeholder {
  background-color: var(--gray-light);
  border: 2px dashed #d1d5db;
  border-radius: var(--radius);
  padding: 2.5rem;
  margin: 2rem 0;
  color: #4b5563;
}

.legal-content__embed {
  margin-top: 2rem;
}

/* Iubenda (Cookie Solution + Policy embed) */
/* Nota: Iubenda inietta markup con ID/classi proprie; questi override lo riportano nel look&feel del sito. */
.iubenda-cs-container,
.iubenda-cs-container *,
.iubenda-cs-preferences-link,
#iubenda_policy,
#iubenda_policy *,
.iubenda_legal_document,
.iubenda_legal_document * {
  font-family: var(--font-body) !important;
}

/* Constrain policy content to site container width */
#iubenda_policy,
.iubenda_legal_document {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Make embedded policy layout fluid on small screens */
@media (max-width: 768px) {
  #iubenda_policy,
  .iubenda_legal_document {
    max-width: 100%;
  }
}

/* Tips list */
.tips-box {
  background-color: var(--white);
  border-left: 4px solid var(--yellow);
  padding: 2rem;
  margin-top: 3rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.tips-box h3 {
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-size: var(--font-size-ui);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-dark);
}

.tips-box ul {
  list-style: none;
}

.tips-box li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #4b5563;
  font-size: var(--font-size-body);
}

.tips-box li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background-color: var(--yellow);
  border-radius: 50%;
}

.tips-box--contact {
  margin-top: 0.5rem;
  margin-bottom: 0;
  width: 100%;
  align-self: stretch;
}

.section__header--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 800px;
}

/* ============================================
   Core business block
   ============================================ */
.core-business {
  position: relative;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  margin-bottom: 4rem;
  overflow: hidden;
}

.core-business__deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.core-business__line {
  position: absolute;
  top: -20%;
  right: 10%;
  width: 120%;
  height: 140%;
  background: repeating-linear-gradient(
    -35deg,
    transparent,
    transparent 18px,
    rgba(248, 200, 46, 0.12) 18px,
    rgba(248, 200, 46, 0.12) 20px
  );
}

.core-business__coord {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(248, 200, 46, 0.25);
  line-height: 1;
}

.core-business__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.core-business__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 720px;
}

.core-business p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  font-size: var(--font-size-body);
}

.core-business p + p {
  margin-top: 1rem;
}

.domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
  max-width: 900px;
}

.domain-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(248, 200, 46, 0.45);
  border-radius: var(--radius);
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.06);
}

/* Secondary services */
.secondary-services {
  margin-top: 1rem;
}

.secondary-services__header {
  max-width: 700px;
  margin-bottom: 2rem;
}

.secondary-services__header h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin-bottom: 0.75rem;
  color: var(--blue-dark);
}

.secondary-services__header p {
  color: #4b5563;
  font-size: var(--font-size-body);
}

.cards-grid--secondary {
  grid-template-columns: repeat(3, 1fr);
}

.card--secondary {
  background-color: var(--gray-light);
  border-color: #e5e7eb;
  padding: 1.75rem;
}

.card--secondary:hover {
  border-color: #d1d5db;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card--secondary::before {
  width: 3px;
  background-color: var(--secondary);
}

.card--secondary h4 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.card--secondary p {
  font-size: 0.95rem;
}

.card__index {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.feature__number {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.value-card__index {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1;
}

.value-card:hover .value-card__index {
  color: var(--yellow);
}

.value-card__text {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.5;
}

.value-card:hover .value-card__text {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   Services page – core & workflow
   ============================================ */
.service-core {
  position: relative;
  background-color: var(--white);
  border: 2px solid var(--blue-dark);
  border-radius: var(--radius);
  padding: 3rem;
  margin-bottom: 4rem;
  overflow: hidden;
}

.service-core__deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.service-core__line {
  position: absolute;
  top: -10%;
  right: 0;
  width: 100%;
  height: 120%;
  background: repeating-linear-gradient(
    -40deg,
    transparent,
    transparent 14px,
    rgba(0, 67, 118, 0.06) 14px,
    rgba(0, 67, 118, 0.06) 16px
  );
}

.service-core__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.service-core h2 {
  margin-bottom: 1.25rem;
  max-width: 800px;
}

.service-core p {
  color: #4b5563;
  max-width: 800px;
}

.service-core__list {
  list-style: none;
  margin-top: 1.25rem;
  max-width: 800px;
}

.service-core__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: #4b5563;
  font-size: var(--font-size-body);
}

.service-core__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background-color: var(--yellow);
  transform: rotate(45deg);
}

.application-areas {
  margin-bottom: 4rem;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.application-card {
  background-color: var(--gray-light);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.application-card:hover {
  border-color: var(--blue-dark);
  box-shadow: var(--shadow);
}

.application-card__index {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.application-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.application-card p {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 0;
}

.workflow-section {
  margin-bottom: 4rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.workflow-step {
  border-top: 3px solid var(--yellow);
  padding-top: 1.25rem;
}

.workflow-step__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1;
  margin-bottom: 0.75rem;
  opacity: 0.35;
}

.workflow-step h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.workflow-step p {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 0;
}

.services-secondary {
  margin-top: 1rem;
}

.services-secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-secondary-card {
  background-color: var(--gray-light);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 1.75rem;
}

.service-secondary-card__index {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.service-secondary-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.service-secondary-card p {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background-color: var(--blue-deep);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .logo__img {
  width: 150px;
}

.footer__company {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer__desc {
  margin-top: 1rem;
  font-size: var(--font-size-body);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-ui);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}

.footer__list li {
  margin-bottom: 0.6rem;
}

.footer__list a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer__list a:hover {
  color: var(--yellow);
  padding-left: 4px;
}

.footer__contact p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.8);
}

.footer__contact a:hover {
  color: var(--yellow);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* In footer bottom row, keep columns aligned to top */
.footer__bottom .footer__company {
  margin-top: 0;
}

.footer__bottom p {
  margin-bottom: 0.25rem;
}

.footer__bottom p:last-child {
  margin-bottom: 0;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer__legal a:hover {
  color: var(--yellow);
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 992px) {
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__visual {
    align-items: center;
    padding-bottom: 2rem;
  }

  .hero__typo-block {
    text-align: center;
  }

  .hero__typo-tagline {
    text-align: center;
  }

  .hero__abstract {
    right: 0;
    width: 100%;
  }

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

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

  .cards-grid--secondary,
  .application-grid,
  .workflow-grid,
  .services-secondary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .core-business {
    padding: 2.25rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 1.5rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
  }

  .nav--open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav__link {
    display: block;
    padding: 1rem;
    font-size: var(--font-size-ui);
    text-align: center;
  }

  .header__cta {
    width: 100%;
  }

  .header__cta .btn {
    width: 100%;
  }

  .logo__img {
    width: 120px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .service-item__number {
    font-size: 2rem;
  }

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

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

  .form {
    padding: 1.5rem;
  }

  .cards-grid--secondary,
  .application-grid,
  .workflow-grid,
  .services-secondary-grid {
    grid-template-columns: 1fr;
  }

  .core-business,
  .service-core {
    padding: 1.75rem;
  }

  .core-business__coord {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }
}

/* ============================================
   Site lock / maintenance
   ============================================ */
.site-lock-page {
  min-height: 100vh;
  background-color: var(--gray-light);
}

.site-lock {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-lock__hero {
  background-color: var(--blue-deep);
  color: var(--white);
  padding: 4rem 1.5rem 5rem;
  position: relative;
}

.site-lock__hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--yellow);
}

.site-lock__hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.site-lock__logo {
  width: 180px;
  height: auto;
  margin: 0 auto 1.5rem;
}

.site-lock__company {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.site-lock__headline {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.site-lock__intro {
  font-size: var(--font-size-body);
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.site-lock__contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.site-lock__contact-item {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.site-lock__contact-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 0.35rem;
}

.site-lock__contact-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--font-size-body);
  line-height: 1.5;
}

.site-lock__contact-item a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-lock__contact-item a:hover {
  color: var(--yellow);
}

.site-lock__access {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 1.5rem 3rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 1;
}

.site-lock__card {
  width: 100%;
  max-width: 460px;
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-hover);
  border: 1px solid #e5e7eb;
}

.site-lock__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.site-lock__title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--blue-deep);
}

.site-lock__text {
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.site-lock__error {
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.site-lock__submit {
  width: 100%;
}

@media (max-width: 768px) {
  .site-lock__hero {
    padding: 3rem 1.25rem 4.5rem;
  }

  .site-lock__contacts {
    grid-template-columns: 1fr;
  }

  .site-lock__card {
    padding: 1.75rem;
  }
}
