/* 
* DGM Restauraciones - Estilos principales
* Paleta de colores:
* - Gris oscuro: #333333
* - Gris medio: #666666
* - Gris claro: #f5f5f5
* - Azul acento: #0066cc
* - Blanco: #ffffff
*/

/* ===== RESET Y ESTILOS BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
    overflow-x: hidden;

}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}
@view-transition {
    navigation: auto;
}
::view-transition-group(root) {
    animation-duration: 0.5s;
}
::view-transition-old(root){
    animation-duration: 0.5s;
    animation: slide-out-to-right 0.5s forwards;
}
::view-transition-new(root) {
    animation-duration: 0.5s;    
    animation: slide-in-from-left 0.5s forwards;
}
@keyframes slide-in-from-left {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}
@keyframes slide-out-to-right {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}
/* ===== HEADER Y NAVEGACIÓN ===== */

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

a {
    text-decoration: none;
    color: #0066cc;
    transition: color 0.3s ease;
}

a:hover {
    color: #004999;
}

ul, ol {
    list-style: none;
}

/* ===== UTILIDADES ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6rem;
    height: 0.3rem;
    background-color: #0066cc;
}

/* ===== BOTONES ===== */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 0.4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.6rem;
}

.btn-primary {
    background-color: #0066cc;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #004999;
    color: #ffffff;
}

.btn-secondary {
    background-color: transparent;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.btn-secondary:hover {
    background-color: #0066cc;
    color: #ffffff;
}

/* ===== HEADER Y NAVEGACIÓN ===== */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #333333;
}

.logo img {
    width: 150px;
    height: auto;
}

.main-nav .nav-list {
    display: flex;
}

.main-nav .nav-list li {
    margin-left: 2.5rem;
}

.main-nav .nav-list a {
    color: #333333;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav .nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0066cc;
    transition: width 0.3s ease;
}

.main-nav .nav-list a:hover::after,
.main-nav .nav-list a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 2.5rem;
    height: 0.3rem;
    background-color: #333333;
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #333333;
    transition: transform 0.3s ease;
}

.hamburger::before {
    top: -0.8rem;
}

.hamburger::after {
    bottom: -0.8rem;
}

/* ===== HERO SECTION ===== */
.hero {
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 10rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 2rem;
    margin-bottom: 3rem;
}

/* ===== SERVICIOS DESTACADOS ===== */
.featured-services {
    padding: 8rem 0;
    background-color: #f5f5f5;

}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px,  1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.service-card {
    background-color: #ffffff;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem;
    text-align: center;
    color: #333333;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 8rem;
    height: 8rem;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-icon i {
    font-size: 3.2rem;
    color: #0066cc;
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.service-card p {
    margin-bottom: 2rem;
    color: #666666;
}

/* ===== CARRUSEL ANTES/DESPUÉS ===== */
.before-after {
    padding: 8rem 0;
    background-color: #f5f5f5;
}

.carousel {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 900px;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 1.5rem;
}

.before-after-comparison {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.before, .after {
    flex: 1;
    position: relative;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.before img, .after img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.4rem;
    font-size: 1.4rem;
    font-weight: 500;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: #ffffff;
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.carousel-btn i {
    font-size: 1.8rem;
    color: #333333;
}

/* ===== POR QUÉ ELEGIRNOS ===== */
.why-choose-us {
    padding: 8rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 4rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 8rem;
    height: 8rem;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.feature-icon i {
    font-size: 3.2rem;
    color: #0066cc;
}

.feature h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.feature p {
    color: #666666;
}

/* ===== TESTIMONIOS ===== */
.testimonials {
    padding: 8rem 0;
    background-color: #f5f5f5;
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    background-color: #ffffff;
    border-radius: 0.8rem;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 1.5rem;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    color: #666666;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
}

.author-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.rating {
    color: #ffc107;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.testimonial-btn {
    background-color: transparent;
    border: 2px solid #0066cc;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.testimonial-btn:hover {
    background-color: #0066cc;
}

.testimonial-btn:hover i {
    color: #ffffff;
}

.testimonial-btn i {
    font-size: 1.8rem;
    color: #0066cc;
    transition: color 0.3s ease;
}

.custom-pattern {
	background:
		  radial-gradient(100% 100% at 100% 100%, #0000 46%,#B2CDE5 47% 53%,#0000 54%) 10px 10px,
		  radial-gradient(100% 100% at 0 0, #0000 46%,#B2CDE5 47% 53%,#0000 54%) 10px 10px,
		  radial-gradient(100% 100%, #0000 22%, #B2CDE5 23% 29%, #0000 30% 34%, #B2CDE5 35% 41%, #0000 42%)
		  #F0F0FA;
	background-size: 4px 4px; 
	
}

/* ===== CTA ===== */
.cta {
    padding: 8rem 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
}

.cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #333333;
    color: #ffffff;
    padding: 6rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-logo p {
    color: #999999;
    font-size: 1.4rem;
}

.footer h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4rem;
    height: 0.2rem;
    background-color: #0066cc;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: #ffffff;
    transition: color 0.3s ease;
}

.footer-text p {
    text-align: center;
    color: #ffffff;
}

.footer-text p a {
    color: #ffffff;
    margin-bottom: 2rem;
}

.footer-links ul li a:hover {
    color: #fdfdfd;
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.footer-contact p i {
    margin-right: 1rem;
    color: #0066cc;
}

.footer-contact p a {
    color: #ffffff;
}

.footer-contact p a:hover {
    color: #fdfdfd;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: rgba(89, 157, 247, 0.953);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: #0066cc;
}

.social-icons a i {
    font-size: 1.8rem;
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #ffffff;
    font-size: 1.4rem;
}

/* ===== PÁGINA DE SERVICIOS ===== */
.page-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/services-hero.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 8rem 0;
    text-align: center;
}

.page-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.page-hero p {
    font-size: 1.8rem;
    max-width: 700px;
    margin: 0 auto;
}

.services-filter {
    padding: 4rem 0 2rem;
}

.filter-container {
    text-align: center;
}

.filter-container h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 1rem 2rem;
    background-color: #f5f5f5;
    border: none;
    border-radius: 0.4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #0066cc;
    color: #ffffff;
}

.services-catalog {
    padding: 2rem 0 8rem;
}

.services-catalog .service-card {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-info p {
    margin-bottom: 2rem;
    color: #666666;
    flex-grow: 1;
}

/* ===== PÁGINA DE SERVICIO INDIVIDUAL ===== */
.service-hero {
    padding: 6rem 0;
}

.service-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.service-hero-content p {
    font-size: 1.8rem;
    color: #666666;
    margin-bottom: 2rem;
}

.service-hero-image {
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-description {
    padding: 6rem 0;
    background-color: #f5f5f5;
}

.service-description .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.service-content h2, .service-gallery h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.service-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin: 2.5rem 0 1.5rem;
}

.service-content ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.service-content ul li {
    margin-bottom: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.service-pricing {
    padding: 6rem 0;
}

.pricing-table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.pricing-table th, .pricing-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.pricing-table th {
    background-color: #f5f5f5;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.pricing-table tr:hover {
    background-color: #f9f9f9;
}

.pricing-notes {
    color: #666666;
    font-size: 1.4rem;
    font-style: italic;
}

.service-booking {
    padding: 6rem 0;
    background-color: #f5f5f5;
}

.booking-form, .contact-form {
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.4rem;
    font-family: 'Roboto', sans-serif;
    font-size: 1.6rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.form-checkbox input {
    width: auto;
    margin-right: 1rem;
}

.form-checkbox label {
    margin-bottom: 0;
}

.form-submit {
    text-align: center;
    margin-top: 3rem;
}

.related-services {
    padding: 6rem 0;
}

/* ===== PÁGINA DE CONTACTO ===== */
.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    margin-bottom: 3rem;
}

.contact-icon {
    width: 5rem;
    height: 5rem;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.contact-icon i {
    font-size: 2rem;
    color: #0066cc;
}

.contact-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.social-contact {
    margin-top: 3rem;
}

.map-section {
    padding: 1rem 0;
}

.map-container {
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-section {
    padding: 3rem 0;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.4rem;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: #f5f5f5;
    border: none;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #e0e0e0;
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 1.5rem;
    max-height: 500px;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

/* ===== PÁGINA DE GALERÍA ===== */
.gallery-filter {
    padding: 4rem 0 2rem;
}

.portfolio-gallery {
    padding: 2rem 0 8rem;
}

.portfolio-gallery .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-gallery .gallery-item {
    position: relative;
    height: 250px;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 100%;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-info {
    text-align: center;
    padding: 2rem;
    color: #ffffff;
}

.gallery-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.gallery-info p {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.btn-view {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 0.4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background-color: #ffffff;
    color: #333333;
}

.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1100;
    overflow: auto;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: 5% auto;
    background-color: #ffffff;
    border-radius: 0.8rem;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    color: #ffffff;
    cursor: pointer;
    z-index: 1110;
}

.modal-image-container {
    width: 100%;
    height: 500px;
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 2rem;
}

.modal-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.box {
  width: 200px; height: 300px;
  position: relative;
  border: 1px solid #BBB;
  background: #EEE;
}
.ribbon {
  position: absolute;
  left: -5px; top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 75px; height: 75px;
  text-align: right;
}
.ribbon span {
  font-size: 10px;
  font-weight: bold;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  width: 100px;
  display: block;
  background: #97c3f5;
  background: linear-gradient(#2989d8 0%, #1e5799 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 19px; left: -21px;
}
.ribbon span::before {
  content: "";
  position: absolute; left: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid #1e5799;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #1e5799;
}
.ribbon span::after {
  content: "";
  position: absolute; right: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #1e5799;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #1e5799;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    html {
        font-size: 60%;
    }
    
    .service-hero .container,
    .service-description .container,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-hero-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 58%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }
    
    .main-nav .nav-list.active {
        right: 0;
    }
    
    .main-nav .nav-list li {
        margin: 1.5rem 0;
    }
    
    .before-after-comparison {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .desktop-only {
        display: none !important;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 55%;
    }
    
    .hero h2 {
        font-size: 3.2rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-gallery .gallery-grid {
        grid-template-columns: 1fr;
    }
}