/* ==========================================================================
   Doctorul Inimii — foaie de stil
   Scrisă de la zero pentru a reproduce aspectul site-ului vechi (WordPress),
   fără cod din tema originală. Fonturi locale (Dosis, Abel — licență OFL).
   ========================================================================== */

@font-face {
  font-family: "Dosis";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/dosis-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/dosis-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: "Dosis";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/dosis-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/dosis-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: "Abel";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/abel-latin-400-normal.woff2") format("woff2");
}

:root {
  --navy: #2c3d58;
  --blue: #87c5e4;
  --blue-dark: #1e73be;
  --red: #af2424;
  --text: #777;
  --heading: #404040;
  --hover-bg: #edf9ff;
  --footer-bg: #e1eef9;
  --header-h: 90px;
  --header-h-sticky: 55px;
  --grid: 1140px;
  --ease-anim: cubic-bezier(.445, .05, .55, .95);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Dosis", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.66em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.4em;
  color: var(--text);
}

a { color: #2e2e2e; text-decoration: none; transition: color .15s ease; }
a:hover { color: #21abce; }

strong, b { font-weight: 700; color: var(--text); }

img { max-width: 100%; height: auto; border: 0; vertical-align: top; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  line-height: 1.3em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--heading);
}
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

ul { margin: 0 0 20px; padding-left: 20px; }
li { font-size: 16px; line-height: 1.4em; }

::selection { background: #777; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Grilă ---------------------------------------------------- */

.grid {
  max-width: var(--grid);
  margin: 0 auto;
}
.row {
  display: flex;
  flex-wrap: wrap;
}
.col { padding: 0 15px; min-width: 0; }
/* Conținut obișnuit de pagină: grilă cu margine interioară de 20px */
.page-wrap { padding: 0 20px; }
.page-wrap .row > .col { padding: 0; }
@media (max-width: 1140px) {
  .psec__content.grid { padding-left: 20px; padding-right: 20px; }
}
.row > .col { flex: 0 0 100%; max-width: 100%; }
.row > .col-1  { flex-basis: 8.3333%;  max-width: 8.3333%; }
.row > .col-5  { flex-basis: 41.6667%; max-width: 41.6667%; }
.row > .col-6  { flex-basis: 50%;      max-width: 50%; }
.row > .col-7  { flex-basis: 58.3333%; max-width: 58.3333%; }
.row > .col-3  { flex-basis: 25%;      max-width: 25%; }

@media (max-width: 767px) {
  .row > [class*="col-"] { flex-basis: 100%; max-width: 100%; }
  .row > .col-1:empty, .row > .col:empty { display: none; }
}

.spacer { height: var(--s, 40px); }
@media (max-width: 1024px) { .spacer.dt-only { display: none; } }

/* ---------- Preloader ---------------------------------------------- */

.preloader { display: none; }
.js .preloader {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility 0s linear .5s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__logo { width: 247px; height: auto; display: block; margin: 0 auto; }
.preloader__bars { margin-top: 85px; height: 50px; display: flex; justify-content: center; gap: 0; }
.preloader__bars span {
  display: block;
  width: 4px;
  height: 50px;
  margin: 0 4px;
  border-radius: 2px;
  background: var(--blue);
  animation: bar-scale 1s infinite cubic-bezier(.2, .68, .18, 1.08);
}
.preloader__bars span:nth-child(1) { animation-delay: -.4s; }
.preloader__bars span:nth-child(2) { animation-delay: -.3s; }
.preloader__bars span:nth-child(3) { animation-delay: -.2s; }
.preloader__bars span:nth-child(4) { animation-delay: -.1s; }
.preloader__bars span:nth-child(5) { animation-delay: 0s; }
@keyframes bar-scale {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(.4); }
}

/* ---------- Header ------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  height: var(--header-h);
  transition: height .3s ease;
}
.site-header__bg {
  position: absolute; inset: 0;
  background: #fff;
  box-shadow: 0 1px 0 #f7f7f7;
  transition: opacity .3s ease;
}
.header-soft .site-header__bg { opacity: .9; }

.site-header__inner {
  position: relative;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: block;
  height: var(--header-h);
  position: relative;
  transition: height .3s ease;
}
.site-logo img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
}
.site-logo__sticky { display: none !important; }

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0 -20px 0 0;
  padding: 0;
}
.main-nav li { margin: 0; font-size: 13px; line-height: 1; }
.main-nav li + li { margin-left: 1px; }
.main-nav a {
  display: block;
  height: var(--header-h);
  line-height: var(--header-h);
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  transition: background-color .2s ease, color .2s ease, height .3s ease, line-height .3s ease;
}
.main-nav a:hover,
.main-nav li.is-current > a {
  background-color: var(--hover-bg);
  color: #222;
}

.header-spacer { height: var(--header-h); }

/* Bara de sus (goală) afișată pe pagina Echipa */
.site-toolbar { position: relative; height: 35px; transition: height .3s ease; }
.has-toolbar .site-header { height: calc(var(--header-h) + 35px); }
.has-toolbar .site-header__inner { height: var(--header-h); }
.has-toolbar .header-spacer { height: calc(var(--header-h) + 35px); }
.has-toolbar .site-header.is-sticky { height: var(--header-h-sticky); }
.has-toolbar .site-header.is-sticky .site-toolbar { height: 0; }
.has-toolbar .site-header.is-sticky .site-header__inner { height: var(--header-h-sticky); }

/* Header micșorat la scroll */
.site-header.is-sticky { height: var(--header-h-sticky); }
.site-header.is-sticky .site-header__bg { opacity: 1; }
.site-header.is-sticky .site-logo { height: var(--header-h-sticky); }
.site-header.is-sticky .site-logo__main { display: none; }
.site-header.is-sticky .site-logo__sticky { display: block !important; }
.site-header.is-sticky .main-nav a { height: var(--header-h-sticky); line-height: var(--header-h-sticky); }

/* Header transparent (pagina Contact) */
.trans-header .header-spacer { display: none; }
.trans-header .site-header:not(.is-sticky) .site-header__bg { opacity: 0; }
.trans-header .site-header:not(.is-sticky) .site-logo__main { visibility: hidden; }
.trans-header .site-header:not(.is-sticky) .main-nav a { color: #fff; }
.trans-header .site-header:not(.is-sticky) .main-nav a:hover,
.trans-header .site-header:not(.is-sticky) .main-nav li.is-current > a { background-color: #fff; color: #222; }
.trans-header .site-header:not(.is-sticky) .nav-toggle span { background: #fff; }

/* Buton meniu mobil */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: #444;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  background: #fff;
  border-top: 1px solid #ededed;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
}
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { border-bottom: 1px solid #ededed; margin: 0; }
.mobile-nav a {
  display: block;
  padding: 15px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #444;
}
.mobile-nav li.is-current > a, .mobile-nav a:hover { background: var(--hover-bg); color: #222; }

@media (max-width: 1140px) {
  .site-header { position: relative; }
  .header-spacer { display: none; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.is-sticky { height: var(--header-h); }
  .site-header.is-sticky .site-logo { height: var(--header-h); }
  .site-header.is-sticky .site-logo__main { display: block; }
  .site-header.is-sticky .site-logo__sticky { display: none !important; }
  .trans-header .site-header .site-header__bg { opacity: 1 !important; }
  .trans-header .site-header .site-logo__main { visibility: visible !important; }
  .trans-header .site-header .nav-toggle span { background: #444 !important; }
}
@media (min-width: 1141px) {
  .mobile-nav { display: none !important; }
}

/* ---------- Secțiuni de pagină (fundal, parallax, forme) ------------- */

.psec {
  position: relative;
  min-height: var(--minh, 100px);
  display: flex;
  flex-direction: column;
  background-color: var(--bgc, transparent);
}
.psec__content {
  position: relative;
  z-index: 11;
  width: 100%;
  padding-top: var(--pt, 10px);
  padding-bottom: var(--pb, 10px);
}
.psec--center { justify-content: center; }
.psec--center > .psec__content { margin-top: auto; margin-bottom: auto; }

.psec__bgwrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.psec__bg {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center center;
  will-change: transform;
  backface-visibility: hidden;
}
.psec__bg--cover { background-size: cover; }

.shape {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10;
  pointer-events: none;
  line-height: 0;
}
.shape svg { display: block; width: 100%; }
.shape--bottom { bottom: -1px; }
.shape--top { top: -1px; }
.shape--speech { display: flex; }
.shape--speech i { display: block; width: 50%; height: var(--h); background: var(--c); }
.shape--speech.shape--top i:first-child { border-bottom-right-radius: var(--h); }
.shape--speech.shape--top i:last-child  { border-bottom-left-radius: var(--h); }

/* ---------- Titluri ------------------------------------------------- */

.ftitle {
  margin: 0 0 18px;
  word-wrap: break-word;
  text-align: left;
}
.ftitle > span { display: block; }
.ftitle .ln { display: block; margin-bottom: 20px; }
.ftitle .ln:last-child { margin-bottom: 0; }

/* Titlul mare din prima secțiune (Acasă) */
.ftitle--hero {
  font-family: "Abel", "Dosis", sans-serif;
  font-size: 65px;
  line-height: 80%;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: none;
  color: var(--navy);
  padding: 0;
  text-shadow: -.69px 3.94px 8px rgba(255, 255, 255, .5);
}
.ftitle--hero-sub {
  font-family: "Dosis", sans-serif;
  font-size: 40px;
  line-height: 80%;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: none;
  color: var(--red);
  padding: 30px 0 0;
}
/* Titluri albe peste poze (Acasă, Prevenția MSC) */
.ftitle--spec {
  font-family: "Abel", "Dosis", sans-serif;
  font-size: 65px;
  line-height: 80%;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: none;
  color: #fff;
  padding: 0;
  text-shadow: -.69px 3.94px 8px #050928;
}
/* Titluri secțiuni din Servicii / Consult */
.ftitle--section {
  font-family: "Abel", "Dosis", sans-serif;
  font-size: 36px;
  line-height: 1.3em;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0 0 20px;
}
/* Titluri „contact” / „localizare” */
.ftitle--contact {
  font-family: "Abel", "Dosis", sans-serif;
  font-size: 56px;
  line-height: 1.3em;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0 0 25px;
}
/* Titluri pagina Prevenția MSC */
.ftitle--msc {
  font-family: "Abel", "Dosis", sans-serif;
  font-size: 40px;
  line-height: 80%;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: none;
  color: #fff;
  text-shadow: 2.12px 3.39px 12px #000;
}
.ftitle--msc-sub {
  font-family: "Dosis", sans-serif;
  font-size: 30px;
  line-height: 80%;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: none;
  color: #fff;
  padding: 30px 0 0;
}

@media (max-width: 1280px) {
  .ftitle--hero-sub { font-size: 30px; }
  .ftitle--msc-sub  { font-size: 30px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .ftitle--hero, .ftitle--spec, .ftitle--hero-sub, .ftitle--msc, .ftitle--msc-sub { font-size: 50px; }
  .ftitle--section, .ftitle--contact { font-size: 40px; }
}
@media (max-width: 767px) {
  .ftitle { text-align: center !important; }
  .ftitle--hero, .ftitle--spec, .ftitle--hero-sub, .ftitle--msc, .ftitle--msc-sub,
  .ftitle--section, .ftitle--contact { font-size: 25px; }
}

/* ---------- Imagini, butoane, casete -------------------------------- */

.img { position: relative; line-height: 4px; margin-bottom: 10px; }
.img img { display: inline-block; }
.img--full img { width: 100%; }

.btn-wrap { margin: 16px 0 0; padding-bottom: 3px; }
.btn-savvy {
  position: relative;
  display: inline-block;
  width: 250px;
  max-width: 100%;
  padding: 17.5px 28px;
  border: 2px solid;
  overflow: hidden;
  text-align: center;
  font-size: 14px;
  line-height: 100%;
  font-weight: 700;
  letter-spacing: 2px;
  transition: color .1s ease-in-out, border-color .1s ease-in-out;
}
.btn-savvy span { position: relative; z-index: 2; }
.btn-savvy::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: all .2s ease-out;
  background: var(--blue);
}
.btn-savvy:hover::after,
.btn-savvy:focus-visible::after { width: 120%; height: 4000%; opacity: 1; }
.btn-savvy--blue { border-color: var(--blue); color: var(--blue); }
.btn-savvy--white { border-color: #fff; color: #fff; }
.btn-savvy:hover, .btn-savvy:focus-visible { color: #fff; }

.textbox {
  background: var(--blue);
  padding: 30px 30px 15px;
  border-radius: 1px;
  margin: 0;
}
.textbox p, .textbox li { color: #fff; }

/* ---------- Animații la intrarea în ecran --------------------------- */

.js .anim { opacity: 0; }
.js .anim.in-view { opacity: 1; }
.js .anim.in-view.fade-in  { animation: anim-fade .7s 1 var(--ease-anim); }
.js .anim.in-view.scale-up { animation: anim-scale .7s 1 var(--ease-anim); }
@keyframes anim-fade  { from { opacity: .1; } to { opacity: 1; } }
@keyframes anim-scale { from { opacity: .1; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .js .anim { opacity: 1 !important; animation: none !important; }
  .preloader__bars span { animation: none; }
}

/* ---------- Footer ------------------------------------------------- */

.site-footer {
  background: var(--footer-bg);
  padding: 79px 0 81px;
  text-align: center;
  font-size: 14px;
  color: #808080;
}
.site-footer__logo { margin-bottom: 45px; line-height: 0; }
.site-footer__logo img { display: inline-block; }
.site-footer__social { margin-bottom: 49px; line-height: 0; height: 16px; }
.site-footer__social a {
  display: inline-block;
  line-height: 0;
  fill: #777;
  color: #777;
  transition: fill .2s ease;
}
.site-footer__social a:hover { fill: #a5a5a5; }
.site-footer__social svg { width: 16px; height: 16px; }
.site-footer__copy {
  font-size: 12px;
  line-height: 20px;
  color: #777;
}

/* ---------- Buton „sus” -------------------------------------------- */

.go-top {
  position: fixed;
  right: 22px;
  bottom: -50px;
  z-index: 300;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .2);
  fill: #fff;
  opacity: 0;
  transition: opacity .25s ease, bottom .25s ease, background-color .2s ease;
}
.go-top.is-active { opacity: 1; bottom: 72px; }
.go-top:hover { background: rgba(0, 0, 0, .3); }

/* ==========================================================================
   Pagini
   ========================================================================== */

/* Pagini cu fundal albastru deschis (Servicii, Consult) */
.page-servicii, .page-consult { background: var(--hover-bg); }

.svc-row { align-items: flex-start; }
.svc-text ul { padding-left: 33px; margin: 0 0 20px; }
.svc-text li { font-size: 14px; line-height: 1.66em; }
.svc-text p.j { text-align: justify; }

/* ---------- Echipa: slider cu file ---------------------------------- */

.page-echipa .page-wrap { padding-top: 50px; padding-bottom: 50px; }
.page-echipa .tab-slider { margin-right: 30px; }
.tabs-nav {
  margin-bottom: 20px;
  text-align: center;
  font-size: 30px;
  line-height: 1.66em;
}
.tabs-nav button {
  display: inline-block;
  margin: 0 2px 0 0;
  padding: 15px;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 23px;
  vertical-align: top;
  color: #00043a;
  opacity: .4;
  transition: opacity .2s ease-out;
}
.tabs-nav button:hover, .tabs-nav button.is-active { opacity: 1; }
.tabs-nav button:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }

.tab-slider {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}
.tab-slider__track {
  display: flex;
  transition: transform .3s ease;
  will-change: transform;
}
.tab-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: flex-start;
}
.tab-slide__img { width: 50%; }
.tab-slide__img img { width: 100%; height: auto; display: block; }
.tab-slide__content {
  width: 50%;
  padding: 0 70px;
}
.tab-slide__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #222;
  line-height: 1.3em;
}
.tab-slide__title hr {
  max-width: 10%;
  margin: 15px auto 25px 0;
  border: 0;
  border-top: 3px solid #040300;
}
.tab-slide__desc p { color: #6a6665; margin-bottom: 0; }
@media (max-width: 1024px) {
  .tab-slide { flex-wrap: wrap; }
  .tab-slide__img, .tab-slide__content { width: 100%; }
  .tab-slide__content { padding: 50px 25px; }
}
@media (max-width: 767px) {
  .tabs-nav button { font-size: 16px; padding: 8px 10px; }
}

/* ---------- Tarife ------------------------------------------------- */

.tarife-box {
  background-color: rgba(255, 255, 255, .6);
  padding: 30px;
}
.tarife-list { list-style: none; margin: 0; padding: 0; }
.tarife-col { padding: 0 !important; }
.tarife-list li {
  position: relative;
  margin: 0 0 6px;
  padding: 0 0 0 21px;
  line-height: 26.4px;
}
.tarife-list li svg {
  position: absolute;
  top: 5px;
  left: 0;
  width: 16px;
  height: 16px;
  fill: var(--blue-dark);
}
.tarife-list h4 {
  margin: 0;
  font-size: 18px;
  line-height: 26.4px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--heading);
}
.tarife-cat-title {
  margin: 25px 0 12px;
  font-family: "Abel", "Dosis", sans-serif;
  font-size: 26px;
  letter-spacing: 2px;
  color: var(--navy);
}
.tarife-cat-title:first-child { margin-top: 0; }

/* ---------- Prevenția MSC (cartonașe care se întorc) ---------------- */

.flip-row { display: flex; margin: 0; }
.flip-row > .flip { flex: 1 1 25%; padding: 0 1px; }
.flip {
  perspective: 1200px;
  min-height: 250px;
}
.flip__inner {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 250px;
  transform-style: preserve-3d;
  transition: transform .6s ease;
}
.flip:hover .flip__inner,
.flip:focus-within .flip__inner,
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face {
  grid-area: 1 / 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}
.flip__front {
  background-size: cover;
  background-position: center;
  text-align: center;
}
.flip__front h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3em;
  font-weight: 600;
  color: var(--heading);
}
.flip__back {
  background: #fff;
  transform: rotateY(180deg);
  text-align: left;
}
.flip__back p { margin: 0; font-size: 16px; }
@media (max-width: 1024px) {
  .flip-row { flex-wrap: wrap; }
  .flip-row > .flip { flex-basis: 50%; padding: 1px; }
}
@media (max-width: 767px) {
  .flip-row > .flip { flex-basis: 100%; }
}

/* ---------- Contact ------------------------------------------------ */

.contact-hero { display: block; min-height: 0; overflow: hidden; margin-bottom: 0; border-bottom: 1px solid #f2f2f2; }
.contact-hero__img { display: block; width: 100%; height: auto; }
.contact-row { align-items: flex-start; }
.contact-row > .col { padding: 0; }
.contact-info { padding-left: 15px !important; }
.contact-info p { margin-bottom: 20px; }
.contact-info a { color: var(--text); }
.contact-info a:hover { color: #21abce; }
.contact-social { margin: 30px 0 20px; line-height: 0; }
.contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ccc;
  fill: #fff;
  transition: background-color .2s ease;
}
.contact-social a:hover { background: var(--blue-dark); }
.contact-social svg { width: 24px; height: 24px; }
.contact-building { line-height: 0; margin-bottom: 10px; }
.contact-building img { width: 420px; height: 350px; object-fit: cover; }
.ftitle--loc { padding: 20px 0 60px; }

.cform label {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.4em;
  color: var(--text);
}
.cform input[type="text"],
.cform input[type="email"],
.cform input[type="tel"],
.cform textarea {
  display: block;
  width: 275px;
  max-width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  height: 37px;
  border: 1px solid #e3e3e3;
  background: #fafafa;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  color: #767676;
  border-radius: 0;
  transition: border-color .2s ease;
}
.cform textarea { width: 404px; height: 217px; resize: vertical; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform .field-error { display: block; margin-top: 4px; color: #dc3232; font-size: 13px; }
.cform__submit { padding-top: 80px; }
.cform button {
  display: inline-block;
  width: 119px;
  height: 40px;
  padding: 0;
  border: 2px solid #252525;
  background: #fff;
  color: #252525;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.cform button:hover { background: #252525; color: #fff; }
.cform button[disabled] { opacity: .6; cursor: wait; }
.form-msg { margin: 15px 0 0; font-size: 15px; min-height: 1px; }
.form-msg.ok { color: #398f14; }
.form-msg.err { color: #dc3232; }
@media (max-width: 767px) {
  .contact-info { padding-left: 0 !important; }
  .cform input[type="text"], .cform input[type="email"], .cform input[type="tel"], .cform textarea { width: 100%; }
  .cform__submit { padding-top: 20px; }
}

.map-embed { position: relative; width: 100%; height: 450px; margin-bottom: 35px; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: #e5e3df; text-align: center; padding: 20px;
}
.map-consent p { margin: 0; }
.map-consent button {
  padding: 12px 24px; border: 2px solid var(--blue); background: #fff; color: var(--navy);
  font: inherit; font-weight: 700; letter-spacing: 1px; cursor: pointer;
}
.map-consent button:hover { background: var(--blue); color: #fff; }

/* ---------- Pagina 404 --------------------------------------------- */

.page-404 .page-wrap { padding: 120px 0; text-align: center; }
.page-404 h1 { font-family: "Abel", sans-serif; font-size: 80px; color: var(--navy); }
