/* Icon font faces */
@font-face {
  font-family: 'far';
  src: url('../fonts/far/font.woff2') format('woff2'),
       url('../fonts/far/font.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'icon';
  src: url('../fonts/icon/font.woff2') format('woff2'),
       url('../fonts/icon/font.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'fab';
  src: url('../fonts/fab/font.woff2') format('woff2'),
       url('../fonts/fab/font.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Icon classes */
[class^="icon-"], [class*=" icon-"] {
  font-family: 'icon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-anchor:before  { content: "\e029"; font-family: 'icon'; }
.icon-call-in:before { content: "\e047"; font-family: 'icon'; }
.icon-envelope-letter:before { content: "\e01f"; font-family: 'icon'; }
.icon-badge:before   { content: "\e028"; font-family: 'icon'; }

/* FA Regular */
.far { font-family: 'far'; font-weight: normal; }
.fa-angle-left:before  { font-family: 'far'; content: "\f104"; }
.fa-angle-right:before { font-family: 'far'; content: "\f105"; }
.fa-users-medical:before  { font-family: 'far'; content: "\f830"; }
.fa-bell-concierge:before { font-family: 'far'; content: "\f562"; }
.fa-shield-check:before   { font-family: 'far'; content: "\f2f7"; }

/* FA Brands */
.fab { font-family: 'fab'; font-weight: normal; }
.fa-whatsapp-square:before { font-family: 'fab'; content: "\f40c"; }

/* ------------------------------------------------------------------ */
/* Base overrides                                                       */
/* ------------------------------------------------------------------ */
:root {
  --primary: #2fc6f6;
  --primary-darken-1: hsl(194.47, 92%, 55%);
  --primary-darken-2: hsl(194.47, 92%, 52%);
  --primary-darken-3: hsl(194.47, 92%, 47%);
  --primary-lighten-1: hsl(194.47, 92%, 67%);
  --primary-opacity-0:    rgba(47,198,246,0);
  --primary-opacity-0_1:  rgba(47,198,246,.1);
  --primary-opacity-0_2:  rgba(47,198,246,.2);
  --primary-opacity-0_3:  rgba(47,198,246,.3);
  --primary-opacity-0_5:  rgba(47,198,246,.5);
  --theme-color-main:     hsl(194.47,20%,20%);
  --theme-color-secondary:hsl(194.47,20%,80%);
  --theme-color-title:    hsl(194.47,20%,20%);
  --theme-color-strict-inverse: #ffffff;
}

html { font-size: 14px; }

body {
  font-size: 1rem;
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizelegibility;
  line-height: 1.6;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Open Sans', sans-serif; }

/* ------------------------------------------------------------------ */
/* CSS custom-prop shims used by theme                                 */
/* ------------------------------------------------------------------ */
.g-bg         { background-color: var(--bg, transparent); }
.g-color      { color: var(--color, inherit); }
.g-button-color {
  background-color: var(--button-color, #1b2d85);
  color: var(--color, #fff);
}
.g-button-color:hover {
  background-color: var(--button-color-hover, var(--button-color, #1b2d85));
  color: var(--color-hover, var(--color, #fff));
}

/* Background image helper — background-image is set directly in inline style */
.g-bg-image {
  background-size: cover;
  background-attachment: scroll;
  background-position: center;
  position: relative;
}
.g-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--bg-overlay, transparent);
  pointer-events: none;
  z-index: 0;
}
.g-bg-image > .container { position: relative; z-index: 1; }

/* ------------------------------------------------------------------ */
/* Contact form styling                                                 */
/* ------------------------------------------------------------------ */
.contact-form-wrapper {
  background: #fff;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
}
.contact-form-wrapper .form-control {
  border: none;
  border-bottom: 1px solid rgba(0,0,0,.1);
  background: rgba(0,0,0,.03);
  border-radius: 0;
  padding: .75rem 1rem;
  font-size: .9rem;
}
.contact-form-wrapper .form-control:focus {
  background: #fff;
  border-bottom-color: #909ece;
  box-shadow: none;
}
.contact-form-wrapper .btn-submit {
  background-color: #909ece;
  color: #fff;
  border: none;
  padding: .75rem 2rem;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: 1px;
  width: 100%;
  transition: background .2s;
}
.contact-form-wrapper .btn-submit:hover {
  background-color: #1b2d85;
}
.form-alert {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  display: none;
}
.form-alert.success { background: #d4edda; color: #155724; display: block; }
.form-alert.error   { background: #f8d7da; color: #721c24; display: block; }

/* ------------------------------------------------------------------ */
/* Animations                                                           */
/* ------------------------------------------------------------------ */
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.js-animation { opacity: 0; }
.js-animation.animated.slideInUp  { animation: slideInUp .7s ease forwards; }
.js-animation.animated.fadeInUp   { animation: fadeInUp .7s ease forwards; }
.js-animation.animated.fadeIn     { animation: fadeIn .7s ease forwards; }

/* Stagger cards */
.landing-block-inner .landing-block-node-card:nth-child(2).animated { animation-delay: .1s; }
.landing-block-inner .landing-block-node-card:nth-child(3).animated { animation-delay: .2s; }
.landing-block-inner .landing-block-node-card:nth-child(4).animated { animation-delay: .3s; }
.landing-block-inner .landing-block-node-card:nth-child(5).animated { animation-delay: .4s; }
.landing-block-inner .landing-block-node-card:nth-child(6).animated { animation-delay: .5s; }
.landing-block-inner .landing-block-card:nth-child(2).animated      { animation-delay: .15s; }
.landing-block-inner .landing-block-card:nth-child(3).animated      { animation-delay: .3s; }

/* ------------------------------------------------------------------ */
/* Sticky header                                                        */
/* ------------------------------------------------------------------ */
.u-header--sticky { position: sticky; top: 0; z-index: 1000; }
.u-header__section { box-shadow: none; transition: box-shadow .3s; }
.u-header__section.scrolled { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
