@import url("_footer.css");
@import url("_header.css");
@import url("_buttons.css");
@import url("_newsletter_section.css");


/* -------------------------------------------------------------
   GLOBAL TOKENS — DESIGN SYSTEM
   ------------------------------------------------------------- */
/* Inter Regular */
@font-face {
    font-family: 'Inter';
    src: url('../../fonts/Inter_28pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Source Sans Pro (SourceSans3) Bold */
@font-face {
    font-family: 'Source Sans Pro';
    src: url('../../fonts/SourceSans3-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Colors */
    --color-text: #000000;
    --color-brand: #D20D17;
    --color-sand: #F7F3EB;
    --color-white: #ffffff;

    /* Typography */
    --font-heading: 'Source Sans Pro', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Font sizes */
    --fs-base: 16px;
    --fs-button: 18px;
    --fs-heading-1: 48px;
    --fs-heading-2: 36px;
    --fs-heading-3: 28px;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Buttons */
    --btn-height: 52px;
    --btn-radius: 12px;
    --btn-font-weight: 700;
    --btn-font-size: var(--fs-button);

    /* Shadows */
    --shadow-card: 0 6px 16px rgba(0,0,0,0.08);
}

/* -------------------------------------------------------------
   BASE STYLES
   ------------------------------------------------------------- */

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--color-text);
    background-color: var(--color-white);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

/* Optional: adjust sizing for Elementor (can override in global kit) */
h1 { font-size: var(--fs-heading-1); }
h2 { font-size: var(--fs-heading-2); }
h3 { font-size: var(--fs-heading-3); }

/* Menu */
ul.header-nav {
    display: flex;
    gap: 24px;
}

/* Links */
a {
    text-decoration: none;
    color: var(--color-brand);
}

.elementor-heading-title {
    line-height: 1.4;
}

.ts-fadeout-bg {
    background: linear-gradient(265.42deg, rgba(255, 255, 255, 0) -12.79%, #FFFFFF 77.54%) !important;
}

.ts-stamp {
    position: absolute;
    bottom: -30px;
    right: -30px;
}

.ts-clipped-bg {
    position: absolute;
    left: 0;
    border-radius: 0;
    height: 100%;
    /*clip-path: polygon(0 0, 60% 0, 60% 100%, 0 100%);*/
}

.ts-clipped-bg.left {
    left: 0%;
    width: 60%;
}

.ts-clipped-bg.right {
    left: 40%;
    width: 60%;
}

.ts-split-color-bg.right {
    background: linear-gradient(to right,
    transparent 0%,
    transparent 60%,
    var(--color-sand, #FFFFFF) 60%,
    var(--color-sand, #FFFFFF) 100%
    );
}

.ts-split-color-bg.left {
    background: linear-gradient(to right,
    var(--color-sand, #FFFFFF) 0%,
    var(--color-sand, #FFFFFF) 40%,
    transparent 40%,
    transparent 100%
    );
}

.ts-corner-bg {
    position: relative;
    background: #FFFFFF;
    overflow: hidden;
    z-index: 2;
}

.ts-corner-bg::after {
    content: "";
    position: absolute;
    top: 0;
    width: 600px;
    height: 100%;
    background: var(--color-sand);
    border-radius: 100% 0 0 0;
    z-index: 1;
}

.ts-corner-bg.left::after {
    border-radius: 0 100% 0 0;
}

.ts-corner-bg::before {
    content: "";
    position: absolute;
    top: 0;
    width: 800px;
    height: 100%;
    background: #ffffff;
}

.ts-corner-bg.right::after,
.ts-corner-bg.right::before {
    right: 0;
}

.ts-corner-bg.left::after,
.ts-corner-bg.left::before {
    left: 0;
}

.ts-gallery .elementor-gallery__container .e-gallery-item[style*="--column: 1"] {
    transform: translateY(100px);
}

/* Container with background image */
.ts-address-section {
    position: relative;
    overflow: hidden;
}

/* Gradient overlay fading to transparent from left to right */
.ts-address-section::after {
    content: "";
    position: absolute;
    inset: 0;

    /* White background fading to transparent */
    background: linear-gradient(
            to right,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 1) 10%,
            rgba(255, 255, 255, 0) 100%
    );

    z-index: 1;
    pointer-events: none;
}

/* Content above gradient */
.ts-address-section > * {
    position: relative;
    z-index: 2;
}

.elementor-widget-text-editor a, 
.elementor-widget-heading a {
    color: #D4141C !important; 
    text-decoration: underline; 
}

.elementor-widget-text-editor a:hover, 
.elementor-widget-heading a:hover {
    color: #990F15 !important; 
}