/* ==========================================================================
   ProFlames Addons — Shared styles
   Loaded as a dependency by every widget stylesheet. Contains design tokens,
   resets, typography, buttons, section/section-header scaffolding, background
   variants and the scroll-reveal animation classes used across widgets.
   ========================================================================== */


:root {
    --white: #ffffff;
    --off-white: #f7f7f5;
    --warm-white: #fafaf8;
    --light-gray: #e8e6e1;
    --mid-gray: #b0ada6;
    --dark-gray: #3d3a35;
    --charcoal: hsl(221 94% 21% / 1);
    --black: hsl(207 100% 13% / 1);
    --blue: #1a3f8f;
    --blue-bright: #1e4db7;
    --blue-sky: #018cff;
    --blue-light: #e8edf7;
    --blue-pale: #f3f5fa;
    --accent: #1e4db7;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(15, 15, 13, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 15, 13, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 15, 13, 0.12);
    --shadow-xl: 0 24px 64px rgba(15, 15, 13, 0.16);
    --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --heading-font: 'Clash Display', sans-serif;
    --body-max-width: 1430px;
}

body,
html {
    margin: 0;
    font-family: "Inter Tight", sans-serif;
}

h1,
h2,
h3,
h4 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--black);
    text-transform: uppercase;
}

h3,
h4 {
    font-weight: 400;
    text-transform: capitalize;
}

h1 {
    font-size: clamp(2.25rem, 4.8vw, 3.8rem);
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

h3 {
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    background: none;
}

.container {
    width: 100%;
    max-width: var(--body-max-width, 1280px);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--heading-font);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    padding: 0.7rem 1.6rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-bright);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--light-gray);
}

.btn-outline:hover {
    border-color: var(--charcoal);
    background: var(--off-white);
}

.btn-white {
    background: var(--white);
    color: var(--blue);
}

.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 0.9rem 2.2rem;
    font-size: 1.05rem;
}

/* Section scaffolding */
.section {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
    position: relative;
    background: linear-gradient(175deg, rgb(248, 249, 254) 0%, rgb(255, 255, 255) 50%, rgb(245, 247, 252) 100%);
}

.section-label {
    display: inline-block;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-sky);
    margin-bottom: 0.75rem;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header-left {
    text-align: left;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 560px;
    margin: 0 auto;
}

.section-header h2::after,
.section-header-left h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 10px;
    margin: 0.85rem auto 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 10'%3E%3Cpath d='M0 5 Q10 0 20 5 T40 5 T60 5 T80 5' stroke='%231e4db7' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M0 5 Q10 2 20 5 T40 5 T60 5 T80 5' stroke='%23018cff' stroke-width='1.5' fill='none' stroke-linecap='round' opacity='0.5'/%3E%3C/svg%3E") 0 0 / 80px 10px repeat-x;
    animation: proflamesWaveDrift 3s ease-in-out infinite;
}

.section-header-left h2::after {
    margin: 0.85rem 0 0;
}

@keyframes proflamesWaveDrift {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 20px 0;
    }

    100% {
        background-position: 0 0;
    }
}

/* Background variants */
.bg-off-white {
    background: linear-gradient(175deg, rgb(247, 247, 245) 0%, rgb(255, 255, 255) 50%, rgb(242, 243, 239) 100%);
}

.bg-warm {
    background: linear-gradient(175deg, rgb(250, 250, 248) 0%, rgb(255, 255, 255) 50%, rgb(245, 244, 240) 100%);
}

.bg-charcoal {
    background: linear-gradient(170deg, rgb(3, 30, 89) 0%, rgb(3, 35, 104) 50%, rgb(2, 25, 74) 100%);
    color: var(--white);
}

.bg-charcoal h2,
.bg-charcoal h3 {
    color: var(--white);
}

.bg-charcoal .section-label {
    color: rgb(122, 147, 204);
}

.bg-charcoal .section-header p {
    color: rgba(255, 255, 255, 0.65);
}

.bg-charcoal .section-header h2::after,
.bg-charcoal .section-header-left h2::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 10'%3E%3Cpath d='M0 5 Q10 0 20 5 T40 5 T60 5 T80 5' stroke='%237a93cc' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M0 5 Q10 2 20 5 T40 5 T60 5 T80 5' stroke='%23018cff' stroke-width='1.5' fill='none' stroke-linecap='round' opacity='0.6'/%3E%3C/svg%3E") 0 0 / 80px 10px repeat-x;
}

.bg-charcoal .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.25);
}

.bg-charcoal .btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

/* Scroll reveal animation */

.reveal {
    /* opacity: 0;
    transform: translateY(32px); */
    transition: opacity 0.3s, transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.elementor-editor-active {
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.05s;
}

.reveal-delay-2 {
    transition-delay: 0.1s;
}

.reveal-delay-3 {
    transition-delay: 0.15s;
}

.reveal-delay-4 {
    transition-delay: 0.2s;
}

.reveal-delay-5 {
    transition-delay: 0.25s;
}

.reveal-delay-6 {
    transition-delay: 0.3s;
}

.wpcf7-response-output {
    margin: 0 !important;
    border: 1px solid blue !important;
    background: #1284d5;
    color: white;
    border-radius: 4px;
}

/* Floating Buttons */
/* Floating Buttons widget styles */
.floating-call {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: var(--blue);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-xl);
    gap: 0.5rem;
    align-items: center;
}

.floating-call svg {
    width: 20px;
    height: 20px;
}

.floating-whatsapp {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgb(37, 211, 102);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    align-items: center;
    justify-content: center;
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .floating-call {
        display: flex;
    }

    .floating-whatsapp {
        display: flex;
    }
}