/*
Theme Name: Platform Frontend
Theme URI: https://github.com/platform-website-kit/platform-frontend
Description: Professional Elementor-powered WordPress theme for scalable marketing websites.
Author: Darwin Santil Dev
Author URI: https://darwinsantil.dev
Template: hello-elementor
Version: 2.0.0
Text Domain: platform-frontend
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
 * Platform Frontend base stylesheet.
 *
 * Website-specific CSS may be added below this comment in installed sites.
 * Platform Core's safe updater preserves local stylesheet changes and only
 * refreshes the release-owned theme header metadata when needed.
 */

/*
 * General
 * */
:root {
  --color-brand: #b42d2f;
  --color-brand-dark: #75161c;
  --color-brand-light: #dd383b;
  --color-white: #ffffff;
  --color-white-soft: #ffffff38;

  --gradient-title: linear-gradient(45deg, #75161c, #7b5457);
  --gradient-title-bright: linear-gradient(45deg, #e73e40, #e36f71);
  --gradient-title-light: linear-gradient(45deg, #fbf4e6, #faf8f54d);
  --gradient-cta: linear-gradient(180deg, #dd383b 0%, #75161c 100%);

  --anchor-offset: 110px;
  --anchor-offset-admin: 142px;
}

.elementor-headline-dynamic-text,
.gradient-title .heading-split__second {
  color: transparent;
  background-image: var(--gradient-title);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#b-h-title .elementor-headline-dynamic-text {
  background-image: var(--gradient-title-bright);
}

#t-title .elementor-headline-dynamic-text {
  background-image: var(--gradient-title-light);
}

.div-half {
  max-width: 660px;
}

.cpt-type .elementor-shortcode {
  color: var(--color-brand-dark);
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/*
 * Header
 * */
.m-m-glifo {
  position: relative;
  top: 3px;
  margin-right: 5px;
  color: var(--color-brand);
  font-size: 25px;
  font-weight: 700;
}

#main-header {
  backdrop-filter: blur(4px);
}

#main-menu-mobile .menu-item .has-submenu {
  align-items: center;
  justify-content: space-between;
}

#main-menu-mobile .menu-item .sub-menu {
  padding: 10px;
  background: rgba(180, 45, 47, 0.1) !important;
}

#main-menu-mobile .menu-item .sub-menu .menu-item {
  display: flex;
  align-items: center;
  gap: 7.5px;
}

#main-menu-mobile .menu-item .sub-menu .menu-item::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6.2px;
  display: inline-block;
  border-radius: 50%;
  background: var(--color-brand);
}

#elementor-popup-modal-361 .dialog-close-button {
  top: 30px;
  width: 20px;
  height: 20px;
  margin: 0;
}

.dialog-close-button {
  outline: none !important;
}

/*
 * Native Anchor Offsets
 * */
#map,
.elementor-menu-anchor[id] {
  scroll-margin-top: var(--anchor-offset);
}

body.admin-bar #map,
body.admin-bar .elementor-menu-anchor[id] {
  scroll-margin-top: var(--anchor-offset-admin);
}

/*
 * Home
 * */
.nro {
  position: absolute;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  margin-right: 15px;
  border-radius: 50%;
  color: var(--color-white-soft);
  font-size: 300px;
}

.location-phone-cta {
  display: block;
  margin-bottom: 15px;
  padding: 5px 20px 10px;
  border: 0;
  border-radius: 10px;
  background-color: transparent;
  background-image: var(--gradient-cta);
  box-shadow: 0 4px 6px -1px rgba(180, 45, 47, 0.2);
  color: var(--color-white) !important;
  fill: var(--color-white) !important;
  font-family: "Open Sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.location-phone-cta-title {
  margin-bottom: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.location-text-button {
  text-align: center;
}

.btn-tooltip-contact {
  cursor: pointer;
}

.tooltip-contact {
  visibility: hidden;
  opacity: 0;
  transform: scale(0);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    visibility 0.8s ease;
}

.btn-tooltip-contact:hover .tooltip-contact {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

/*
 * Footer
 * */
.f-menu .elementor-post__title:hover a {
  color: var(--color-brand) !important;
}

/*
 * Single Member
 * */
.member-title-info .elementor-image-box-img img {
  padding: 10px;
}

/*
 * Career Page
 * */
#form-field-resume_career,
#form-field-reference_career {
  padding: 10px;
}

/*
 * Request Appointment
 * */
.elementor-field-type-radio,
.elementor-field-type-checkbox {
  display: block;
}

.elementor-field-group {
  align-items: flex-start;
}

/*
 * Responsive
 * */
@media (max-width: 1024px) {
  :root {
    --anchor-offset: 45px;
    --anchor-offset-admin: 65px;
  }

  .div-half {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  :root {
    --anchor-offset: 50px;
    --anchor-offset-admin: 75px;
  }
}
