/* CSS for insurance landing page */

/* Seguros Cancún - Custom Styles */
/* BEM Methodology - Indie App Style */

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --bg-light: #F8F9FA;
    --bg-texture: #FEFEFE;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-texture);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
}

textarea {
    resize: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.text-handwritten {
    font-family: 'Indie Flower', cursive;
    font-size: 1.3rem;
    transform: rotate(-1deg);
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: var(--border-radius);
    padding: 12px 30px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #FF8E8E);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FF5252, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: white;
}

/* ===== COOKIE NOTICE ===== */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    padding: 20px;
    z-index: 1000;
    border: 3px solid var(--accent-color);
}

.cookie-notice__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-notice__text {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.cookie-notice__accept {
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: var(--secondary-color);
    color: white;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--accent-color);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.navbar-brand__logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar-brand__text {
    color: var(--primary-color);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover {
    background: rgba(78, 205, 196, 0.1);
    color: var(--secondary-color) !important;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero__background {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    opacity: 0.1;
    z-index: -1;
}

.hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero__highlight {
    color: var(--primary-color);
    position: relative;
}

.hero__highlight::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-color);
    opacity: 0.7;
    z-index: -1;
    transform: rotate(-1deg);
}

.hero__subtitle {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Caveat', cursive;
}

.hero__description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero__cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    padding: 15px 30px;
}

.hero__image {
    position: relative;
}

.hero__image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: var(--border-radius);
    padding: 12px 30px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #FF8E8E);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FF5252, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ===== COOKIE NOTICE ===== */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    padding: 20px;
    z-index: 1000;
    border: 3px solid var(--accent-color);
    animation: slideUp 0.5s ease;
}

.cookie-notice__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-notice__text {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.cookie-notice__text i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.cookie-notice__actions {
    display: flex;
    gap: 10px;
}

.cookie-notice__accept,
.cookie-notice__decline {
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.cookie-notice__accept {
    background: var(--secondary-color);
    color: white;
}

.cookie-notice__decline {
    background: var(--text-light);
    color: white;
}

.cookie-notice__accept:hover,
.cookie-notice__decline:hover {
    transform: translateY(-2px);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== NAVIGATION ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--accent-color);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.navbar-brand__logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar-brand__text {
    color: var(--primary-color);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover {
    background: rgba(78, 205, 196, 0.1);
    color: var(--secondary-color) !important;
}

.nav-link:hover::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--accent-color);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero__background {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    opacity: 0.1;
    z-index: -1;
}

.hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__content {
    animation: fadeInLeft 1s ease;
}

.hero__title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero__highlight {
    color: var(--primary-color);
    position: relative;
}

.hero__highlight::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-color);
    opacity: 0.7;
    z-index: -1;
    transform: rotate(-1deg);
}

.hero__subtitle {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Caveat', cursive;
}

.hero__description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero__cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    padding: 15px 30px;
}

.hero__btn-secondary {
    font-size: 1.1rem;
    padding: 12px 25px;
}

.hero__image {
    animation: fadeInRight 1s ease;
    position: relative;
}

.hero__image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.2;
    transform: rotate(3deg);
}

.hero__image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    background: var(--bg-light);
    position: relative;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,230,109,0.1)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
}

.benefits__title {
    color: var(--text-dark);
    text-align: center;
    position: relative;
}

.benefits__title::after {
    content: '✨';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%) rotate(15deg);
    font-size: 2rem;
}

.benefits__subtitle {
    color: var(--text-light);
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.benefits__card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.benefits__card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,107,107,0.1), transparent);
    transform: rotate(0deg);
    transition: transform 0.6s ease;
}

.benefits__card:hover::before {
    transform: rotate(180deg);
}

.benefits__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.benefits__icon {
    position: relative;
    margin-bottom: 2rem;
}

.benefits__icon img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.benefits__icon i {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
    color: var(--primary-color);
    background: white;
    padding: 8px;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.benefits__card-title {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.benefits__card-text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__btn {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-notice__content {
        text-align: center;
    }
    
    .cookie-notice__actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 320px) {
    .hero__title {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .benefits__card {
        padding: 30px 20px;
    }
}

/* ===== SERVICES SECTION ===== */
.services__title {
    color: var(--text-dark);
    text-align: center;
}

.services__subtitle {
    color: var(--text-light);
    text-align: center;
    font-size: 1.2rem;
}

.services__item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.services__item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.services__image {
    height: 200px;
    overflow: hidden;
}

.services__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.services__item:hover .services__image img {
    transform: scale(1.05);
}

.services__content {
    padding: 30px;
}

.services__title-item {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.services__description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.services__features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.services__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.services__features i {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* ===== ABOUT SECTION ===== */
.about__content {
    padding: 20px 0;
}

.about__title {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.about__text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about__stats {
    display: flex;
    gap: 30px;
    margin-top: 2rem;
}

.about__stat {
    text-align: center;
}

.about__stat h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.about__stat p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.about__images {
    position: relative;
}

.about__image-main {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

.about__image-secondary {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    border-radius: var(--border-radius);
    border: 4px solid white;
    box-shadow: var(--shadow);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials__title {
    color: var(--text-dark);
    text-align: center;
}

.testimonials__subtitle {
    color: var(--text-light);
    text-align: center;
    font-size: 1.2rem;
}

.testimonials__card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.testimonials__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonials__image {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.testimonials__image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.testimonials__stars {
    margin-bottom: 20px;
}

.testimonials__stars i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin: 0 2px;
}

.testimonials__text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonials__author h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.testimonials__author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== QUOTE FORM SECTION ===== */
.quote {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.quote__title {
    color: white;
    text-align: center;
    margin-bottom: 1rem;
}

.quote__subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

.quote__form-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-hover);
}

.quote__form .form-label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 8px;
}

.quote__form .form-control,
.quote__form .form-select {
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: var(--transition);
}

.quote__form .form-control:focus,
.quote__form .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 205, 196, 0.25);
}

.quote__submit {
    background: linear-gradient(135deg, var(--primary-color), #FF8E8E);
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    margin-top: 20px;
}

/* ===== PROCESS SECTION ===== */
.process {
    background: var(--bg-light);
}

.process__title {
    color: var(--text-dark);
    text-align: center;
}

.process__subtitle {
    color: var(--text-light);
    text-align: center;
    font-size: 1.2rem;
}

.process__image {
    position: relative;
}

.process__image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

.process__steps {
    padding: 20px 0;
}

.process__step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 3rem;
    position: relative;
}

.process__step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 22px;
    top: 50px;
    width: 2px;
    height: calc(100% + 1rem);
    background: var(--accent-color);
    opacity: 0.3;
}

.process__step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.process__step-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.process__step-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.process__guarantee {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 3px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.process__guarantee::before {
    content: '🛡️';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 4rem;
    opacity: 0.1;
    transform: rotate(15deg);
}

.process__guarantee-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.process__guarantee-text {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark) !important;
}

.footer__logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.footer__brand h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer__description {
    color: #BDC3C7;
    line-height: 1.6;
}

.footer__title {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: 'Caveat', cursive;
}

.footer__links {
    list-style: none;
    padding: 0;
}

.footer__links li {
    margin-bottom: 8px;
}

.footer__links a {
    color: #BDC3C7;
    text-decoration: none;
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--secondary-color);
}

.footer__contact p {
    color: #BDC3C7;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__contact i {
    color: var(--accent-color);
    width: 16px;
}

.footer__divider {
    border-color: #34495E;
    margin: 40px 0 20px;
}

.footer__copyright,
.footer__powered {
    color: #95A5A6;
    margin: 0;
}

/* ===== ADDITIONAL ANIMATIONS AND EFFECTS ===== */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Form validation styles */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

/* Loading state for buttons */
.btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced mobile responsiveness */
@media (max-width: 576px) {
    .hero__title {
        font-size: 2rem;
    }
    
    .benefits__card,
    .services__item,
    .testimonials__card {
        margin-bottom: 2rem;
    }
    
    .about__stats {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .cookie-notice {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .cookie-notice__content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-notice__actions {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
    
    .hero__btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .quote__form-container {
        padding: 20px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .cookie-notice,
    .btn {
        display: none !important;
    }
    
    .container {
        max-width: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #D32F2F;
        --secondary-color: #1976D2;
        --text-dark: #000000;
        --text-light: #424242;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero__background {
        transform: none !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Sticky elements */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Utility classes */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
} 