/*
Theme Name: Christian Care Health
Theme URI: 
Author: RVADV Rafa
Author URI: 
Description: A theme for netWell Call Center Christian Care Health.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dive-and-design-pools
Tags: 
*/
@import url("https://use.typekit.net/vcy1qam.css");
/* ---------------------------------------- */
/* ------------ GLOBAL STYLES ------------- */
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
* { touch-action: manipulation; }
:root {
    --clr1: var(--wp--preset--color--dark);
    --clr2: var(--wp--preset--color--primary);
    --clr3: var(--wp--preset--color--secondary);
    --gray: var(--wp--preset--color--gray);

    --primary-font: var(--wp--preset--font-family--lato);
    --secondary-font: var(--wp--preset--font-family--lemonde-sans);

    --theme-color: var(--gray);
    --sz: clamp(14px, min(2vw, 3vh), 16px);
	font-size: var(--sz);
}
/* ---------------------------------------- */
/* Editor-only styles       .editor-styles-wrapper {}               */  
/* Frontend-only styles     body:not(.editor-styles-wrapper) {}     */

.grid-container { max-width: 1200px; margin: auto; }

.filtered { position: relative; }
.filtered::after {
    display: block; content: '';
    position: absolute; top:0;bottom:0;left:0;right:0;
    width: 100%; height: 100%; z-index: 0;
    background: 
        linear-gradient(164deg, rgba(35, 47, 58, 0.2), rgba(35, 47, 58, 0.3)),
        linear-gradient(164deg, rgba(11, 117, 186, 0.2), rgba(11, 117, 186, 0.3));
}

/* GSAP Initial Styles */
.gsap-split-load { position: relative; z-index: 1; }
.editor-styles-wrapper, body.block-editor-page .gsap-split-load { opacity: 1 !important; } 
body:not( .block-editor-page ) .gsap-split-load { opacity: 0; overflow: hidden; } 

/* Base Content Styles */
body { background-color: #fff; }
h2 { font-size: 32px; line-height: 1; font-weight: 400; }
h3 { font-size: 26px; line-height: 1; font-weight: 600; }
h4 { font-size: 20px; line-height: 1; font-weight: 600; }
p  { font-size: 16px; line-height: 1.42; }
ul { font-size: 18px; }
ul li { position: relative; }
ul.diamond { padding-left: 22px; }
ul.diamond li { margin-bottom: 8px; padding-left: 0; }
ul.diamond li::before { content: " "; transform: rotate(45deg); position: absolute; left: -19px; top: 8px;
    width: 8px; height: 8px; background: var(--clr3);
}
a  {}
hr {}
@media screen and (max-width: 600px) {
    h2 { font-size: 28px; }
    h3 { font-size: 24px; }
    h4 { font-size: 20px; }
    p  { }
    ul { }
    ul li { }
    a  {}
    hr {}
}

.highlight {
    position: relative;
    display: inline;
    box-shadow: 0 -0.4em 0 #5F5F5F22 inset;
}

/* buttons */
.wp-block-buttons { --btn-clr: var(--clr2); }
.wp-block-buttons .wp-block-button { margin-right: 1em; }
.wp-block-buttons .wp-block-button :is( a , .wp-element-button ) {
    position: relative;
    border-radius: 0;
    box-shadow: 0 0 0 8px #fff4;
    background: #fff;
    color: var(--clr2);
    padding: 0.6em 3em 0.6em 3em;
    border-radius: 100px;
    font-weight: 600;
}
.wp-block-buttons .wp-block-button a:hover { background: var(--clr2); color: #fff; }

/* ---------------------------------------- */
/* ----------- Template Styles ------------ */
/* ---------------------------------------- */
/* VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV */

/* basic hero */
.basic-hero { min-height: 500px; position: relative; }
.basic-hero::after {
    content:''; display: block; width: 100%; height: 100%;
    position: absolute; bottom: 0; left: 0;
    background: linear-gradient( #000b 0%, #0004 100%);
    z-index: 0;
}
.basic-hero .wp-block-cover__inner-container { max-width: min(1400px, calc( 100% - 2em)); z-index: 1; }
.basic-hero .wp-block-cover__inner-container p { max-width: 800px; text-shadow: 0 2px 4px #000a; }
@media screen and (max-width: 600px) {
    .basic-hero .wp-block-cover__inner-container { padding: 32vw 1em; }
    .basic-hero .wp-block-cover__inner-container > * {  text-align: center; }
}


/* -------------- Homepage Hero  ------------ */
.homepage-hero { position: relative; padding-top: 42px; padding-bottom: 100px; }
.homepage-hero .note { width: fit-content; margin-left: 0 !important; box-shadow: 0 0 0 1px #0001; }
.homepage-hero img.wp-block-cover__image-background { z-index: -1; }
.homepage-hero h4 {}
.homepage-hero p {}
.homepage-hero ul {}
.homepage-hero ul li { position: relative; }

.homepage-hero::before { content: ''; position: absolute; right: max( 0px, calc((100% - 2000px )/ 2)); bottom: 0; width: clamp( 900px, 54%, 1200px); height: 100%;
    background-image: url('/wp-content/uploads/2025/11/cch-hero-side-stats.png'); background-size: cover; background-repeat: no-repeat; background-position: bottom right;
}
@media screen and (max-width: 1000px) { .homepage-hero::before { background-image: url('/wp-content/uploads/2025/11/cch-hero-side-no-stats.png'); opacity: 0.42; background-position: bottom center; width: 100%; background-size: cover; } }
@media screen and (max-width: 600px) { .homepage-hero::before { max-height: 400px;  } }


/* -------------- Contact Styles ------------ */
/* form section styles */

.contact-form-modal-wrap { position: fixed; top: 0; bottom: 0; left: 0; right: 0; margin: auto; z-index: 2; background: #0007; display: none; }
.contact-form-modal-wrap.active { display: block; }
.contact-form-modal { background: #fff; max-width: min(calc( 100% - 2em), 1000px); border: 1px solid #0001; padding: 2em; box-shadow: 0 4px 8px 0 #0003;
    z-index: 2; max-width: 600px; height: fit-content; margin: auto !important; top: 0; bottom: 0; left: 0; right: 0; position: absolute;
}
.contact-form-modal > h3 { position: relative; } 
.contact-form-modal > h3::before { content: ''; display: block; width: 142px; height: 4px; background: #3EB8E9; position: absolute; bottom: -10px; }
.contact-form-modal > p { max-width: 642px; margin-left: 0 !important; } 
.contact-form-modal form > p { display: flex; gap: 1em;}
.contact-form-modal form > p span { width: 50%;  }
@media screen and (max-width: 600px) {
    .contact-form-modal form > p { display: flex; flex-direction: column;}
    .contact-form-modal form > p span { width: 100%;  }
}
.contact-form-modal form > p span:has( input, select, textarea ) { width: 100%;  }
.contact-form-modal form > p :is( input, select, textarea ) { width: 100%; }
.contact-form-modal form :is( input, select, textarea) { font-size: 1em; padding: 0.64em 1em; font-family: var(--primary-font); border: 1px solid #CFCFCF; background: #F3F3F3; width: 100%; }  
.contact-form-modal form textarea { height: 100px; }  
.contact-form-modal form input[type="submit"] { background: var(--clr2); color: #fff; cursor: pointer; width: fit-content; padding: 0.64em 4.2em; text-transform: uppercase; border: none; }
.contact-form-modal form input[type="submit"]:hover { background: var(--clr3); }
.contact-form-modal form p label { display: block; }
.contact-form-modal form p label span.label { font-size: 0.9em; display: block; color: var(--clr3); text-transform: uppercase; font-weight: 700; line-height: 100%; margin-bottom: 0.4em; }  
.contact-form-modal form p span.wpcf7-spinner { width: 24px; }
.contact-form-modal form p span.wpcf7-not-valid-tip { background: #fff; border: 1px solid #cfcfcf; border-top: none; padding: 0.2em 1em; background: var(--clr3); color: #fff; width: fit-content; translate: 1em; }

/* -------------- Split Content  ------------ */
.split-content { padding-top: 24px; padding-bottom: 24px;}
.split-content .left { width: 50%; padding-right: 10%; }
.split-content .left img { border-radius: 0 4vw 4vw 0; }
.split-content .right { padding-right: max( 0px, calc((100vw - 1400px) /2)); }
.split-content .right p { max-width: 600px; color: #5F5F5F; }
@media screen and (max-width: 1000px) {
    .split-content { flex-direction: column; padding-top: 0;}
    .split-content .left { width: 100%; padding-right: 0; }
    .split-content .left img { border-radius: 0; }
    .split-content .right { padding: 16px; }
}

/* -------------- Icon Row  ------------ */
.icon-row { display: flex; width: 100%; max-width: 1000px; gap: 24px; margin: 42px auto !important;}
.icon-row figure {}
.icon-row figure img { mix-blend-mode: multiply; }
@media screen and (max-width: 1000px) {
    .icon-row { flex-wrap: wrap; margin: 16px auto !important; }
    .icon-row figure { width: 25%;}
}

/* -------------- Why Choose Us Section  ------------ */
.why-choose-us {}
.why-choose-us > h2 { color: #1D2C4B; display: flex; margin: auto; width: fit-content; }
.why-choose-us > .wp-block-group {}
.why-choose-us > .wp-block-group > div { width: 100%; }
.why-choose-us > .wp-block-group > div:not( :first-of-type ) { border-left: 2px solid #D9D9D9; }
.why-choose-us > .wp-block-group > div h4 { color: #506174; }
.why-choose-us > .wp-block-group > div p { color: #5F5F5F; }
@media screen and (max-width: 1000px) {
    .why-choose-us > .wp-block-group { flex-direction: column; }
    .why-choose-us > .wp-block-group > div { width: 100%; border-left: 0px !important; padding: 32px 0 8px 0 !important; border-top: 1px solid #D9D9D9; text-align: center; }
}

/* -------------- CTA Cover Section  ------------ */
.cta-cover-section {}
.cta-cover-section p { max-width: 600px; }
@media screen and (max-width: 1000px) {
    .cta-cover-section { padding: 32px 16px !important; min-height: 400px !important; }
    .cta-cover-section h2 { font-size: 22px; }
}