@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
:root {
    --teal:        #0F6E56;
    --teal-dark:   #0a4a38;
    --teal-mid:    #1D9E75;
    --teal-light:  #5DCAA5;
    --teal-soft:   #E1F5EE;
    --gold:        #BA7517;
    --gold-mid:    #EF9F27;
    --gold-light:  #FAC775;
    --gold-soft:   #FAEEDA;
    --text-dark:   #1a2e28;
    --text-mid:    #3d5a52;
    --text-muted:  #6b8c82;
    --white:       #ffffff;
    --off-white:   #f7fdfb;
    --border:      rgba(15,110,86,0.12);
}
 
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--off-white);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ── KEYFRAMES ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(29,158,117,0.35); }
    70%  { box-shadow: 0 0 0 12px rgba(29,158,117,0); }
    100% { box-shadow: 0 0 0 0 rgba(29,158,117,0); }
}
.anim        { animation: fadeUp 0.65s ease both; }
.anim-d1     { animation-delay: .10s; }
.anim-d2     { animation-delay: .20s; }
.anim-d3     { animation-delay: .30s; }
.anim-d4     { animation-delay: .40s; }

/* ── TOP NAV ── */
.top-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(15,110,86,0.07);
}
.top-nav .nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.top-nav img { height: 60px; object-fit: contain; }
.concession-pill a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: background .2s, transform .15s;
    animation: pulse-ring 2.5s infinite;
}
.concession-pill a:hover {
    background: var(--teal-mid);
    transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, #1a8a6a 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0 64px;
}
.hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -100px;
    width: 580px; height: 580px;
    border-radius: 50%;
    background: rgba(93,202,165,0.07);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -120px; left: -80px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: rgba(29,158,117,0.09);
    pointer-events: none;
}

/* hero left */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(250,199,117,0.15);
    border: 1px solid rgba(250,199,117,0.3);
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
}
.hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    font-weight: 400;
    margin-bottom: 4px;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 900;
    color: var(--white); 
    margin-bottom: 6px;
}
.hero-title em {
    font-style: normal;
    color: var(--gold-light);
}
.hero-date {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-style: italic;
    color: rgba(255,255,255,0.65);
    margin-bottom: 28px;
}
.hero-offer-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 2px;
}
.hero-offer-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}
.hero-pkg-box {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
    padding: 26px 28px;
    margin-bottom: 24px;
    margin-top: 24px;
}
.hero-checklist {
    list-style: none;
    padding: 0; margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}
.hero-checklist li {
    font-size: 14px;
    color: rgba(255,255,255,0.88);
    display: flex;
    align-items: center;
    gap: 9px;
}
.hero-checklist li::before {
    content: '';
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--teal-light);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}
.badge-note {
    background: rgba(250,199,117,0.12);
    border: 1px solid rgba(250,199,117,0.28);
    border-left: 3px solid var(--gold-light);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.82);
    margin-bottom: 20px;
}
.badge-date {
    display: inline-block; 
    font-size: 36px;
    font-weight: 900;
    color: var(--gold-light);
}
.badge-date sup {
    font-size: 16px;
    vertical-align: super;
}
.wave-wrap { display: none; }

/* ── GRAVITY FORM CARD ── */
.royalcare-landing-form{
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    .gform_heading{
        display: none;
    }
    .gform_wrapper.gravity-theme .gfield_label{
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 8px;
        display: block;
        text-align: left;
        color: #3d5a52;
    }
    .gform_wrapper.gravity-theme input[type=color], .gform_wrapper.gravity-theme input[type=date], .gform_wrapper.gravity-theme input[type=datetime-local], .gform_wrapper.gravity-theme input[type=datetime], .gform_wrapper.gravity-theme input[type=email], .gform_wrapper.gravity-theme input[type=month], .gform_wrapper.gravity-theme input[type=number], .gform_wrapper.gravity-theme input[type=password], .gform_wrapper.gravity-theme input[type=search], .gform_wrapper.gravity-theme input[type=tel], .gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=time], .gform_wrapper.gravity-theme input[type=url], .gform_wrapper.gravity-theme input[type=week], .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea{
        border-radius: 5px;
        border: 1px solid #1f1e1d26;
        height: 45px;
        padding: 5px 20px;
    }
    .gfield_consent_label{
        color: #1b6e57;
        display: block;
        text-align: left;
    }
    .gform_button{
        background-color: #1b6e57;
        padding: 10px 30px;
        border-radius: 50px;
        border: 1px solid #1b6e57;
        outline: none;
        font-weight: 500;
        color: #fff;
        margin-bottom: 0px !important;
    }
    .gfield--type-consent{
        .ginput_container_consent{
            display: flex;
            gap: 12px;
            align-items: start;
            input{
                margin-top: 4px;
            }
        }
    }
}

/* ── WHY SECTION ── */
.why-section { background: var(--white); padding: 80px 0; }

.why-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 32px;
    height: 100%;
    transition: transform .25s, box-shadow .25s;
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(15,110,86,0.1);
}
.why-card.who-card {
    border-top: 4px solid var(--gold);
}
.why-card:not(.who-card) {
    border-top: 4px solid var(--teal);
}
.why-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 22px;
}
.why-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.why-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-mid);
}
.check {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--teal-soft);
    border: 1.5px solid var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
}
.who-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.who-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-mid);
    background: var(--white);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(186,117,23,0.1);
}

/* ── DATES SECTION ── */
.dates-section { padding: 80px 0; background: var(--off-white); }

.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    height: 100%;
    transition: transform .25s, box-shadow .25s;
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(15,110,86,0.1);
}
.info-card .icon {
    font-size: 32px;
    margin-bottom: 14px;
}
.info-card h5 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.info-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}
.info-card p strong { color: var(--text-dark); }

/* ── CTA SECTION ── */
.cta-section {
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(93,202,165,0.08);
}
.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
}
.cta-section p {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin: 0 auto 36px;
}
.phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 34px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}
.phone-btn:first-of-type {
    background: var(--white);
    color: var(--teal);
}
.phone-btn:first-of-type:hover {
    background: var(--teal-soft);
    transform: translateY(-2px);
}
.phone-btn.ms-1 {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: var(--white);
}
.phone-btn.ms-1:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

/* ── FOOTER ── */
footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.55);
    text-align: center;
    padding: 26px 32px;
    font-size: 13px;
}
footer strong { color: rgba(255,255,255,0.9); }

/* ── SECTION LABEL ── */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--teal-soft);
    color: var(--teal);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.2;
}
.section-sub {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
}

/* ── REVEAL ANIMATION (scroll) ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .hero { padding: 52px 0 44px; }
    .hero-checklist { grid-template-columns: 1fr; }
    .hero-pkg-box { padding: 20px; }
    #royalcarelandingform { padding: 28px 20px;}
    .why-card, .info-card { margin-bottom: 0; }
}

.hero .d-none-lg-screen{
    display: none;
}

@media (max-width: 992px){
    .hero .column-reverse-lap{
        flex-direction: column-reverse;
    }
    .hero .d-none-lg-screen{
        display: block;
        margin-bottom: 30px;
    }
    .hero .d-n-mobile-screen{
        display: none;
    }
    .anim-d2{
        margin-top: 0;
    }
    .hero-pkg-box{
        margin-top: 0;
    }
}