:root {
    --primary: #E53935;
    --primary-dark: #0F766E;
    --primary-light: #FF8A8020;
    --accent: #F59E0B;
    --dark: #1A1A1A;
    --dark-2: #1E293B;
    --dark-3: #334155;
    --mid: #64748B;
    --light: #F1F5F9;
    --lighter: #F8FAFC;
    --white: #FFFFFF;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-md: 0px;
    --radius-lg: 0px;
    --transition: 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-2);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.bg-dark-auto {
    background: var(--dark) !important;
    color: var(--white) !important;
}

.bg-dark-auto h1,
.bg-dark-auto h2,
.bg-dark-auto h3,
.bg-dark-auto h4 {
    color: var(--white) !important;
}

/* Navbar */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-md);
    padding: 15px 0;
    border-bottom: 1px solid var(--light);
    position: sticky;
    top: 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--dark);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand span {
    color: var(--primary);
}

.navbar-brand svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.nav-link {
    font-weight: 500;
    color: var(--dark-3) !important;
    padding: 8px 16px !important;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

/* Buttons */
.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    border-radius: 0px;
    padding: 14px 28px;
    font-weight: 600;
    font-family: var(--font-heading);
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 0px;
    padding: 12px 26px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--white);
}

/* Hero */
.hero-section {
    padding: 120px 0;
    background: var(--lighter);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--dark-3);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary-dark);
    border-radius: 0px;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

/* Sections */
.section-padding {
    padding: 90px 0;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: 15px;
}

.section-desc {
    text-align: center;
    color: var(--mid);
    max-width: 650px;
    margin: 0 auto 50px;
    font-size: 1.0625rem;
}

/* Cards & Elements */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--light);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.feature-box {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 0px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.blog-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--light);
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.875rem;
    color: var(--mid);
    margin-bottom: 10px;
    display: flex;
    gap: 16px;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-title a {
    color: var(--dark);
}

.blog-title a:hover {
    color: var(--primary);
}

.contact-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light);
}

.form-control {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 2px solid var(--light);
    background: var(--lighter);
    outline: none;
    transition: var(--transition);
    font-family: var(--font-body);
}

.form-control:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: none;
}

/* Map */
.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--light);
    padding: 70px 0 20px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.footer-brand svg {
    width: 32px;
    height: 32px;
    color: var(--primary-light);
}

footer h5 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.125rem;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 12px;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
}

footer a:hover {
    color: var(--primary-light);
    text-decoration: none;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    gap: 16px;
}

/* Cookie Banner - Better Ads Compliant */
.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    max-width: 420px;
    width: calc(100% - 32px);
    background: var(--dark-2);
    border: 1px solid rgba(13, 148, 136, 0.25);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: none;
    pointer-events: auto;
    animation: slideUp 0.35s ease;
}

.cookie-banner.show {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-banner p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    flex: 1;
    min-width: 160px;
    line-height: 1.5;
}

.cookie-btn {
    padding: 8px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.cookie-btn-primary {
    background: var(--primary);
    color: white;
}

.cookie-btn-primary:hover {
    background: var(--primary-dark);
}

.cookie-btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.cookie-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}