/* ═══════════════════════════════════════════════════════════════
   EverSpan Life – Global Styles
   Design tokens, reset, typography, buttons, layout, utilities
   ═══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --navy:       #1B2840;
  --navy-2:     #243352;
  --navy-3:     #0E1828;
  --blue:       #2E75B6;
  --blue-light: #EAF2FB;
  --blue-mid:   #C8DFF3;
  --amber:      #C97C2F;
  --amber-2:    #E8A24A;
  --amber-light:#FDF3E7;
  --sage:       #3A7D62;
  --sage-light: #EAF4F0;
  --cream:      #F5F1EB;
  --white:      #FAFAFA;
  --text:       #1B2840;
  --text-2:     #4A5568;
  --text-3:     #8896AA;
  --border:     rgba(27,40,64,0.10);
  --border-2:   rgba(27,40,64,0.06);
  --shadow-sm:  0 2px 8px rgba(27,40,64,0.08);
  --shadow-md:  0 8px 32px rgba(27,40,64,0.12);
  --shadow-lg:  0 24px 64px rgba(27,40,64,0.16);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
}

/* ─── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
.display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.display-xl { font-size: clamp(3rem, 6vw, 5.5rem); }
.display-lg { font-size: clamp(2.4rem, 4.5vw, 4rem); }
.display-md { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.display-sm { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
.body-lg { font-size: 1.125rem; line-height: 1.7; }
.body-md { font-size: 1rem; line-height: 1.65; }
.body-sm { font-size: 0.875rem; line-height: 1.6; }
.label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.esl-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.esl-container-sm { max-width: 800px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) {
  .esl-container, .esl-container-sm { padding: 0 20px; }
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-weight: 600;
  border-radius: 100px; border: none; cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap; text-decoration: none;
  justify-content:center;
}
.btn-primary {
  background: var(--amber); color: #fff;
  padding: 16px 36px; font-size: 1rem;
  box-shadow: 0 4px 20px rgba(201,124,47,0.35);
}
.btn-primary:hover {
  background: var(--amber-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,124,47,0.45);
}
.btn-secondary {
  background: transparent; color: var(--navy);
  padding: 15px 36px; font-size: 1rem;
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  background: var(--navy); color: #fff;
  border-color: var(--navy);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.12); color: #fff;
  padding: 12px 28px; font-size: 0.9375rem;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); }
.btn-sm { padding: 10px 14px; font-size: clamp(0.85rem, 1vw, 0.875rem); }

/* ─── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── SECTION SHARED ─────────────────────────────────────────── */
.esl-section-sm { padding: 0 0; }
.esl-section { padding: 100px 0; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.section-eyebrow-line { width: 32px; height: 2px; background: var(--amber); border-radius: 1px; }
.section-eyebrow-text { color: var(--amber); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 768px) { .esl-section { padding: 70px 0; } }

/* ─── UTILITY ────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.separator { height: 1px; background: var(--border); }


/* ─── UTILITY ────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.separator { height: 1px; background: var(--border); }
.container {
	padding: 0 40px;
}
@media (max-width: 868px) {
	.container {
	 padding: 0 20px;
	}
}

/* Wrapper */
.gform_wrapper.gravity-theme {
    font-family: 'Outfit', sans-serif;
}

/* Labels */
.gform_wrapper.gravity-theme .gfield_label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

/* Inputs / textarea / select */
.gform_wrapper.gravity-theme input[type="text"],
.gform_wrapper.gravity-theme input[type="email"],
.gform_wrapper.gravity-theme textarea,
.gform_wrapper.gravity-theme input[type="tel"],
.gform_wrapper.gravity-theme select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color .2s;
    background: #fff;
    box-shadow: none;
}

/* Focus */
.gform_wrapper.gravity-theme input:focus,
.gform_wrapper.gravity-theme textarea:focus,
.gform_wrapper.gravity-theme select:focus {
    border-color: var(--primary);
}

/* Textarea */
.gform_wrapper.gravity-theme textarea {
    resize: vertical;
    min-height: 140px;
}

/* Spacing */
.gform_wrapper.gravity-theme .gfield {
    margin-bottom: 16px;
}

/* Button */
.gform_wrapper.gravity-theme .gform_button {
    width: 100%;
    border: 0;
    cursor: pointer;
}

/* Remove default GF styles */
.gform_wrapper.gravity-theme .gfield_required {
    color: inherit;
}

/* Email columns spacing */
.gform_wrapper.gravity-theme .ginput_complex {
    gap: 0px;
}

/* Character counter */
.gform_wrapper.gravity-theme .ginput_counter {
    margin-top: 8px;
    font-size: 12px;
    opacity: .7;
}
.esl-contact-form .gform_button {
	margin: 0
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 24px;
    border: 0;
    border-radius: var(--radius-md);
    background: var(--amber);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition:
        transform .2s ease,
        opacity .2s ease,
        background .2s ease;
}

/* Hover */
.esl-contact-form .gform_button:hover {
    transform: translateY(-1px);
    opacity: .92;
}

/* Focus */
.esl-contact-form .gform_button:focus {
    outline: none;
}

/* Gravity Forms footer */
.esl-contact-form .gform_footer {
    margin-top: 0px;
    padding: 0;
}
.page-template-template-contact .gform_wrapper.gravity-theme .gform_footer {
	margin: 0;
	padding: 0;
}
.page-template-template-contact .gform_wrapper.gravity-theme .gform_fields {
	grid-column-gap: 0;
	grid-row-gap: 0;
}
.esp-contact {
	display:grid; 
	grid-template-columns:1fr 1fr; 
	gap:40px; 
	align-items:start;
}
@media (max-width: 700px) {
	.esp-contact {    grid-template-columns: 1fr;}

}
.esl-board-card img {
    width: 200px;
    height: 300px;
    border-radius: 20px;
    object-fit: cover;
    margin: 0 auto 14px;
}
.esl-feature-img {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.esl-feature-video video {
    display: block;
    width: 100%;
    height: auto;
}
.esl-feature-video{
    width: 333px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.esl-steps .esl-feature-img img {
  width: 100%;
  height: 400px;
	object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
	.esl-steps .esl-feature-img img {
	  width: 100%;
	  height: 300px;
		object-fit: cover;
	  display: block;
	}
}
.esl-board-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 48px;
    align-items: center;
    justify-items: center;
    margin-top: 64px;
    opacity: .65;
}

.esl-board-logos img {
    max-width: 140px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
}



@media (max-width: 1024px) {
    .esl-board-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

@media (max-width: 700px) {
    .esl-board-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        margin-top: 48px;
    }

    .esl-board-logos img {
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .esl-board-logos {
        grid-template-columns: 1fr;
    }
}

.esl-dark-block--image {
    display: grid;
    grid-template-columns: 1.2fr 500px;
    gap: 60px;
    align-items: center;
}

.esl-dark-block-content {
    max-width: 650px;
}

.esl-dark-block-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.esl-dark-block-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    border-radius: 16px;
}

.esl-dark-block-note span {
    color: var(--amber-2);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .esl-dark-block--image {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .esl-dark-block-image {
        order: -1; 
    }

    .esl-dark-block-image img {
        max-width: 450px;
    }
}


.esl-longevity-hero .esl-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
}

.esl-longevity-hero h1 {
    color: #fff;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: .95;
    margin-bottom: 24px;
}

.esl-longevity-hero h1 strong {
    display: block;
    font-weight: inherit;
}

.esl-longevity-hero p {
    max-width: 900px;
    margin: 0 auto 36px;
    color: rgba(255,255,255,.92);
    font-size: 1.4rem;
    line-height: 1.5;
}

.esl-longevity-hero .section-eyebrow {
    justify-content: center;
}

.esl-longevity-hero .section-eyebrow-text {
    color: var(--amber-2);
}

@media (max-width: 768px) {
    .esl-longevity-hero {
        min-height: 560px;
    }

    .esl-longevity-hero p {
        font-size: 1.05rem;
    }
}
.esl-pricing-text {
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.esl-step {
	position: relative;
}
.esl-step h3 {
	position: absolute;
    left: -1px;
	right: -1px;
    bottom: -1px;
    text-align: left;
    padding: 30px 30px 23px 30px;
    border-radius: 0 0 20px 20px;
    backdrop-filter: blur(30px);
    --webkit-backdrop-filter: blur(30px);
    background-color: rgba(0, 0, 0, 0.2);
    font-family: Montserrat, sans-serif;
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    color: #fff;
    font-weight: 500;
}

.esl-longevity-audience .esl-container {
    position: relative;
    z-index: 2;
}

.esl-longevity-audience h2,
.esl-longevity-audience .display,
.esl-longevity-audience p {
    color: #fff;
}

.esl-longevity-audience .esl-checklist li {
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(8px);

    border-radius: 999px;
    padding: 14px 24px;
    margin-bottom: 14px;

    color: #fff;
    font-weight: 600;

    width: fit-content;
}

.esl-longevity-audience .esl-checklist-icon {
    color: var(--amber-2);
}

.esl-longevity-audience .esl-feature-row {
    min-height: 650px;
    align-items: center;
}

.esl-longevity-audience .esl-feature-text {
    max-width: 700px;
}

.esl-longevity-audience .esl-feature-text h2 {
    font-size: clamp(2rem, 6vw, 4.5rem);
    margin-bottom: 32px;
	color: white;
}

.esl-longevity-audience .display {
    color: #fff !important;
}
.esl-nav-login {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.42);
    text-decoration: none;
    font-weight: 500;
    transition: all .2s ease;
	font-size: 0.9rem;
}

.esl-nav-login:hover {
    color: #fff;
}

.esl-nav-login i {
    font-size: 14px;
}
.btn-login {
	display: flex;
	gap: 1vw;
}
@media (max-width: 899px) {
	.btn-login a svg,
	.btn-login a {
		color: white;
	}
}
@media (max-width: 600px) {
	.btn-login {
		gap: 2vw;
	}
	.btn-login span {
		display: none
	}
	.btn-login a svg {
		width: 30px;
		height: 30px;
		color: white;
	}
}

.esl-testimonials{
    padding:120px 0;
    background:var(--cream);
}

.testimonial-card{
    height:100%;
    padding:32px;
    margin:0 12px;

    background:#fff;
    border-radius:24px;

/*     box-shadow:0 10px 30px rgba(0,0,0,.06); */
}

.testimonial-card img{
    width:72px;
    height:72px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:24px;
}

.testimonial-card h3{
    margin-bottom:16px;
}

.testimonial-card p{
    color:#555;
    line-height:1.7;
}

.testimonial-card span{
    display:block;
    margin-top:24px;
    font-weight:600;
}
/* Slick Dots */

.esl-testimonials-slider .slick-dots{
    position:relative;
    bottom:auto;

    display:flex !important;
    justify-content:center;
    align-items:center;
    gap:12px;

    margin-top:30px;
    padding:0;

    list-style:none;
}

.esl-testimonials-slider .slick-dots li{
    width:auto;
    height:auto;
    margin:0;
}

.esl-testimonials-slider .slick-dots button{
    width:12px;
    height:12px;

    padding:0;

    border:none;
    border-radius:50%;

    background:rgba(27, 40, 64, .2);

    transition:all .3s ease;

    font-size:0;
    cursor:pointer;
}

.esl-testimonials-slider .slick-dots button:hover{
    background:rgba(27, 40, 64, .5);
}

.esl-testimonials-slider .slick-dots .slick-active button{
    width:36px;
    border-radius:999px;

    background:var(--amber-2);
}
.esl-testimonials-section .title {
	margin-bottom: 30px;
}
.testimonial-author {
	margin-top: 30px;
}
.testimonial-card-inner p {
	font-style: italic;
}
.footer-img {
	margin-top: 15px;
	max-width: 60px;
}

.esl-feature-slider-section{
    overflow:hidden;
    padding:120px 0;
    background:var(--cream);
}

.esl-feature-slider{
    width:100vw;
    margin-left:calc(50% - 50vw);
}

.esl-feature-slide{
    position:relative;
    margin:0 12px;
    border-radius:24px;
    overflow:hidden;
}

.esl-feature-slide img{
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    display:block;
}

.esl-feature-overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;

    padding:32px;

    background:linear-gradient(
        transparent,
        rgba(0,0,0,.7)
    );
}

.esl-feature-overlay h3{
    color:#fff;
    margin:8px 0 0;
}

.esl-slide-count{
    color:rgba(255,255,255,.8);
    font-size:.875rem;
    letter-spacing:.08em;
}

/* Slick arrows */

.esl-feature-slider .slick-arrow{
    width:56px;
    height:56px;
    border-radius:50%;
    background:#fff;
    z-index:10;
}

.esl-feature-slider .slick-prev{
    left:40px;
}

.esl-feature-slider .slick-next{
    right:40px;
}

/* Active slide */

.esl-feature-slide{
    opacity:.8;
    transform:scale(.96);
    transition:.3s ease;
}

.slick-center .esl-feature-slide{
    opacity:1;
    transform:scale(1);
}

/* ==========================================
   Slick Arrows
========================================== */

.esl-feature-slider .slick-prev,
.esl-feature-slider .slick-next{
    width:56px;
    height:56px;

    border:1px solid rgba(27,40,64,.15);
    border-radius:50%;

    background:#fff;

    z-index:10;

    transition:.25s ease;
}

.esl-feature-slider .slick-prev:hover,
.esl-feature-slider .slick-next:hover{
    background:var(--amber-2);
    border-color:var(--amber-2);
}
.esl-feature-slider .slick-prev,
.esl-feature-slider .slick-next{
    position:absolute;
    top:40%;
    transform:translateY(-50%);
    z-index:10;
	cursor: pointer;
}
.esl-feature-slider .slick-prev{
    left:30px;
	font-size: 0;
	position: absolute;
}

.esl-feature-slider .slick-next{
    right:30px;
	font-size: 0;
}


.esl-feature-slider .slick-prev:before,
.esl-feature-slider .slick-next:before{
    font-size:0;
}

/* Custom arrows */

.esl-feature-slider .slick-prev:after{
    content:'←';

    font-size:22px;
    font-weight:300;
    color:var(--navy);
}

.esl-feature-slider .slick-next:after{
    content:'→';

    font-size:22px;
    font-weight:300;
    color:var(--navy);
}

.esl-feature-slider .slick-prev:hover:after,
.esl-feature-slider .slick-next:hover:after{
    color:#fff;
}


/* ==========================================
   Slick Dots
========================================== */

.esl-feature-slider .slick-dots{
    display:flex !important;
    justify-content:center;
    align-items:center;

    gap:12px;

    margin-top:40px;

    position:relative;
    bottom:auto;
}

.esl-feature-slider .slick-dots li{
    width:auto;
    height:auto;
    margin:0;
}

.esl-feature-slider .slick-dots button{
    width:10px;
    height:10px;

    padding:0;

    border:none;
    border-radius:50%;

    background:rgba(27,40,64,.2);

    transition:.3s ease;

    font-size:0;
}

.esl-feature-slider .slick-dots button:hover{
    background:rgba(27,40,64,.45);
}

.esl-feature-slider .slick-dots .slick-active button{
    width:42px;
    border-radius:999px;

    background:var(--amber-2);
}
.esl-feature-slider ul li {
	list-style: none;
}
.esl-feature-slider .slick-dots button{
    width:10px;
    height:10px;

    padding:0;

    font-size:0;
    line-height:0;

    color:transparent;

    border:none;
    border-radius:50%;

    background:rgba(51,24,31,.2);
}
.logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
	margin-top: 45px;
}

.logos img {
    max-width: 150px;
    height: auto;
	width: 20%;
}

footer .logos img {
    max-width: 150px;
    height: auto;
	  width: 30%;
}

.esl-footer-badges {
	max-width: 280px;
}
@media (max-width: 600px) {

}
.esl-bio-socials {
	display: flex;
	justify-content: center;
	align-items: flex-start;
}
.esl-bio-socials a {
	width: 25px;
	margin: 10px;
}
.esl-bio-socials{
    display:flex;
    align-items:center;
    gap:14px;
    margin-top:14px;
}

.esl-bio-socials a{
    color:#fff;
    line-height:0;
    transition:opacity .2s ease;
}

.esl-bio-socials a:hover{
    opacity:.75;
}

.esl-bio-socials svg{
    width:20px;
    height:20px;
    display:block;
}
.esl-logo-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: space-around;
}
.esl-logo-item img {
	margin-top: 10px;
	max-height: 40px !important;
}
@media (min-width: 992px) {

    .esl-bio-portrait-col {
        position: sticky;
        top: 120px;
        align-self: start;
    }

}

.esl-footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.esl-footer-social a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.esl-footer-social a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.rank-math-question{
    cursor:pointer;
    margin:0 !important;
    padding: 10px 24px 10px 0;
    position:relative;
}
h3.rank-math-question {
	margin-bottom: 0;
	margin-top: 0;
}

.rank-math-answer{
    display:none;
    padding:0 24px 24px 0;
}

.rank-math-list-item{
    border-bottom:1px solid rgba(255,255,255,.15);
}

.rank-math-list-item.active .rank-math-answer{
    display:block;
}
.rank-math-question::after{
    content:"+";
    position:absolute;
    right:24px;
    top:50%;
    transform:translateY(-50%);
    font-size:28px;
    line-height:1;
}

.rank-math-list-item.active .rank-math-question::after{
    content:"−";
}