/* ============================================
   Talamonte SLU - Main Stylesheet
   Mobile-first responsive design
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --blue: #1B9DC6;
    --blue-dark: #157DA0;
    --blue-light: #E8F6FB;
    --black: #1A1A1A;
    --gray-dark: #333333;
    --gray: #666666;
    --gray-light: #F5F5F5;
    --gray-border: #E0E0E0;
    --white: #FFFFFF;
    --font-title: 'BebasKai', 'Arial Black', sans-serif;
    --font-body: 'Humana970', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --nav-height: 70px;
    --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--blue-dark);
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    color: var(--black);
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    height: var(--nav-height);
    transition: background var(--transition), box-shadow var(--transition);
}

.nav--transparent {
    background: rgba(0, 0, 0, 0.3);
    box-shadow: none;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav__logo img,
.nav__logo svg {
    height: 40px;
    width: auto;
}

.nav__logo-text {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--white);
    letter-spacing: 0.1em;
}

.nav__menu {
    display: none;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav__link {
    font-family: var(--font-title);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    letter-spacing: 0.08em;
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--white);
}

.nav__lang {
    font-family: var(--font-body);
    font-size: 0.8rem;
    padding: 5px 12px;
    border: 1px solid var(--blue);
    border-radius: 3px;
    color: var(--blue);
    transition: all var(--transition);
}

.nav__lang:hover {
    background: var(--blue);
    color: var(--white);
}

/* Mobile hamburger */
.nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.nav__toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu open */
.nav__menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.97);
    padding: 20px;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.nav__menu.active .nav__link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
}

/* --- Hero Carousel --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    max-height: 900px;
    overflow: hidden;
    background: var(--black);
}

.hero__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero__slide.active {
    opacity: 1;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.5) 0%,
        rgba(0,0,0,0.45) 40%,
        rgba(0,0,0,0.65) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero__title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--white);
    letter-spacing: 0.15em;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero__cta {
    display: inline-block;
    padding: 14px 35px;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-title);
    font-size: 1rem;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.hero__cta:hover {
    background: var(--blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(27, 157, 198, 0.3);
}

/* Carousel dots */
.hero__dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero__dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: background var(--transition);
    padding: 0;
}

.hero__dot.active {
    background: var(--white);
}

/* Decorative squares (brand element) */
.decor-squares {
    display: flex;
    gap: 6px;
    margin-bottom: 15px;
}

.decor-squares span {
    width: 12px;
    height: 12px;
    background: var(--blue);
}

.decor-squares span:nth-child(2) {
    background: var(--gray-border);
}

.decor-squares span:nth-child(3) {
    background: var(--gray-light);
}

/* --- Section Base --- */
.section {
    padding: 60px 0;
}

.section--gray {
    background: var(--gray-light);
}

.section--blue {
    background: var(--blue);
    color: var(--white);
}

.section--blue h2,
.section--blue h3 {
    color: var(--white);
}

.section__header {
    text-align: center;
    margin-bottom: 40px;
}

.section__title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--black);
}

.section__subtitle {
    font-size: 1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section--blue .section__subtitle {
    color: rgba(255,255,255,0.85);
}

/* --- About Section --- */
.about {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

.about__content h3 {
    font-size: 1.5rem;
    color: var(--blue);
    margin-bottom: 15px;
}

.about__content p {
    margin-bottom: 15px;
    color: var(--gray);
}

.about__highlight {
    padding: 20px;
    border-left: 4px solid var(--blue);
    background: var(--blue-light);
    font-style: italic;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about__stat {
    text-align: center;
    padding: 20px;
}

.about__stat-number {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--blue);
    line-height: 1;
}

.about__stat-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 5px;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    padding: 30px 25px;
    text-align: center;
    transition: all var(--transition);
    text-decoration: none;
    display: block;
}

.service-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(27, 157, 198, 0.15);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    color: var(--blue);
}

.service-card__icon svg {
    width: 100%;
    height: 100%;
}

.service-card__title {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.service-card__desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 15px;
}

.service-card__link {
    font-family: var(--font-title);
    font-size: 0.85rem;
    color: var(--blue);
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-card__link::after {
    content: '\2192';
    transition: transform var(--transition);
}

.service-card:hover .service-card__link::after {
    transform: translateX(4px);
}

/* --- Gallery Mosaic --- */
.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.gallery-mosaic__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-mosaic__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-mosaic__item:hover img {
    transform: scale(1.05);
}

.gallery-mosaic__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-mosaic__item:hover .gallery-mosaic__overlay {
    opacity: 1;
}

.gallery-mosaic__label {
    font-family: var(--font-title);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border: 1px solid var(--gray-border);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--blue);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-card__text {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 20px;
    padding-top: 20px;
}

.testimonial-card__author {
    font-family: var(--font-title);
    color: var(--black);
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.testimonial-card__company {
    font-size: 0.85rem;
    color: var(--blue);
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--gray-dark);
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 15px;
    border: 1px solid var(--gray-border);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-dark);
    background: var(--white);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--gray);
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--blue);
}

.form-checkbox a {
    color: var(--blue);
    text-decoration: underline;
}

.form-rgpd {
    font-size: 0.8rem;
    color: var(--gray);
    border: 1px solid var(--gray-border);
    padding: 15px;
    background: var(--gray-light);
}

.form-rgpd table {
    width: 100%;
    border-collapse: collapse;
}

.form-rgpd td {
    padding: 4px 0;
    vertical-align: top;
}

.form-rgpd td:first-child {
    font-weight: bold;
    width: 120px;
    color: var(--gray-dark);
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    font-family: var(--font-title);
    font-size: 1rem;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn--primary {
    background: var(--blue);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(27, 157, 198, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}

.btn--outline:hover {
    background: var(--blue);
    color: var(--white);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info__item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-info__icon {
    width: 24px;
    height: 24px;
    color: var(--blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info__text h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.contact-info__text p,
.contact-info__text a {
    font-size: 0.95rem;
    color: var(--gray);
}

.contact-map {
    width: 100%;
    height: 300px;
    border: 1px solid var(--gray-border);
    margin-top: 20px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Alert messages */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert--success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.alert--error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

/* --- Footer --- */
.footer {
    background: var(--black);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 25px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer__logo img,
.footer__logo svg {
    width: 200px;
    height: auto;
    margin-bottom: 15px;
}

.footer__desc {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer__title {
    font-family: var(--font-title);
    color: var(--white);
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--blue);
}

.footer__contact p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer__contact a {
    color: rgba(255,255,255,0.7);
}

.footer__contact a:hover {
    color: var(--blue);
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
    font-size: 0.8rem;
}

.footer__legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer__legal a {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}

.footer__legal a:hover {
    color: var(--blue);
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 10px 15px;
    z-index: 10;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.lightbox__nav:hover {
    opacity: 1;
}

.lightbox__prev {
    left: 10px;
}

.lightbox__next {
    right: 10px;
}

.lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-family: var(--font-title);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* --- Cookie Banner --- */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 20px;
}

.cookie-banner.active {
    display: block;
}

.cookie-banner__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.cookie-banner__title {
    font-family: var(--font-title);
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--black);
}

.cookie-banner__text {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-banner__btn {
    padding: 10px 20px;
    font-family: var(--font-title);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.cookie-banner__btn--accept {
    background: var(--blue);
    color: var(--white);
}

.cookie-banner__btn--accept:hover {
    background: var(--blue-dark);
}

.cookie-banner__btn--reject {
    background: var(--gray-light);
    color: var(--gray-dark);
}

.cookie-banner__btn--reject:hover {
    background: var(--gray-border);
}

.cookie-banner__btn--settings {
    background: transparent;
    color: var(--blue);
    border: 1px solid var(--blue);
}

.cookie-banner__btn--settings:hover {
    background: var(--blue);
    color: var(--white);
}

/* Cookie settings panel */
.cookie-settings {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-border);
}

.cookie-settings.active {
    display: block;
}

.cookie-settings__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.85rem;
}

.cookie-settings__item label {
    color: var(--gray-dark);
}

/* Toggle switch */
.toggle {
    position: relative;
    width: 44px;
    height: 24px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle__slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-border);
    border-radius: 24px;
    cursor: pointer;
    transition: background var(--transition);
}

.toggle__slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: transform var(--transition);
}

.toggle input:checked + .toggle__slider {
    background: var(--blue);
}

.toggle input:checked + .toggle__slider::before {
    transform: translateX(20px);
}

.toggle input:disabled + .toggle__slider {
    opacity: 0.6;
    cursor: not-allowed;
}

/* --- Btn Large --- */
.btn--large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

/* --- Page Hero (generic for inner pages) --- */
.page-hero {
    position: relative;
    padding: 140px 0 70px;
    text-align: center;
    overflow: hidden;
}

.page-hero--short {
    padding: 130px 0 50px;
}

.page-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero__title {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 15px;
}

.page-hero__subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Hero Services Checkmarks --- */
.hero__services {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
}

.hero__services li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 0.95rem;
    font-family: var(--font-title);
    letter-spacing: 0.05em;
}

.hero__services svg {
    color: var(--blue);
    flex-shrink: 0;
}

.hero__tagline {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 25px;
}

/* --- Section CTA (dark bar) --- */
.section-cta {
    text-align: center;
    padding: 60px 0;
    background: var(--black);
}

.section-cta h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 5px;
}

.section-cta p {
    font-family: var(--font-title);
    color: var(--blue);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
}

/* --- Section Dark (alternate) --- */
.section--dark {
    background: var(--black);
    color: var(--white);
}

.section--dark .section__title {
    color: var(--white);
}

.section--dark .section__subtitle {
    color: rgba(255,255,255,0.7);
}

/* --- Accordion --- */
.services-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion {
    border-bottom: 1px solid var(--gray-border);
}

.accordion__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-title);
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    color: var(--black);
    text-align: left;
    transition: color var(--transition);
}

.accordion__header:hover {
    color: var(--blue);
}

.accordion__header[aria-expanded="true"] {
    color: var(--blue);
}

.accordion__icon {
    font-size: 1.5rem;
    transition: transform var(--transition);
    color: var(--blue);
}

.accordion__header[aria-expanded="true"] .accordion__icon {
    transform: rotate(45deg);
}

.accordion__body {
    display: none;
    padding: 0 0 20px;
}

.accordion__body.active {
    display: block;
}

.accordion__services {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.accordion__service-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: var(--gray-light);
    color: var(--gray-dark);
    transition: all var(--transition);
}

.accordion__service-link:hover {
    background: var(--blue-light);
    color: var(--blue);
}

.accordion__service-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.accordion__service-icon svg {
    width: 100%;
    height: 100%;
}

.accordion__service-name {
    flex: 1;
    font-family: var(--font-title);
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.accordion__service-arrow {
    color: var(--blue);
    font-size: 1.2rem;
}

/* --- Process Steps --- */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.process-step__number {
    font-family: var(--font-title);
    font-size: 3rem;
    color: var(--blue);
    line-height: 1;
    min-width: 60px;
}

.process-step__content h3 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 5px;
}

.process-step__content p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- Brands Grid --- */
.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item img {
    max-height: 50px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition);
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-item__name {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--gray);
    letter-spacing: 0.1em;
}

/* --- Clients Grid --- */
.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.client-item {
    text-align: center;
}

.client-item img {
    max-height: 60px;
    max-width: 150px;
    object-fit: contain;
    margin: 0 auto 10px;
}

.client-item__name {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--gray-dark);
    letter-spacing: 0.05em;
}

.client-item__stars {
    display: flex;
    justify-content: center;
    gap: 2px;
    color: #FFB800;
    margin-top: 5px;
}

/* --- Timeline --- */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--blue);
    transform: translateX(-50%);
}

.timeline__item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
}

.timeline__item--left {
    flex-direction: row;
}

.timeline__item--right {
    flex-direction: row-reverse;
}

.timeline__year {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--blue);
    min-width: 50%;
    text-align: center;
    padding: 0 20px;
}

.timeline__content {
    min-width: 50%;
    padding: 0 20px;
}

.timeline__content h3 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 5px;
}

.timeline__content p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* --- About Page --- */
.about-page {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.about-page__content p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.about-service-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    text-align: center;
    color: var(--gray-dark);
    transition: color var(--transition);
}

.about-service-icon:hover {
    color: var(--blue);
}

.about-service-icon svg {
    width: 48px;
    height: 48px;
}

.about-service-icon span {
    font-family: var(--font-title);
    font-size: 0.75rem;
    letter-spacing: 0.03em;
}

/* --- Company Info --- */
.company-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
    background: var(--gray-light);
}

.company-info__name {
    font-size: 1.8rem;
    color: var(--blue);
    margin-bottom: 10px;
}

.company-info__address {
    color: var(--gray);
    line-height: 1.7;
}

.company-info__contact p {
    margin-bottom: 5px;
    color: var(--gray-dark);
}

/* --- Service Detail Page (redesigned) --- */
.service-hero {
    position: relative;
    padding: 140px 0 70px;
    text-align: center;
    overflow: hidden;
}

.service-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.service-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.service-hero .container {
    position: relative;
    z-index: 1;
}

.service-hero__title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.service-hero__desc {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
    font-family: var(--font-title);
    font-size: 0.85rem;
    color: var(--blue);
    letter-spacing: 0.05em;
}

/* --- Service Detail Content --- */
.service-detail {
    max-width: 800px;
    margin: 0 auto;
}

.service-detail__header {
    text-align: center;
    margin-bottom: 30px;
}

.service-detail__title {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 8px;
}

.service-detail__subtitle {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--blue);
    letter-spacing: 0.05em;
}

.service-detail__content p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.service-detail__list {
    margin: 5px 0 15px 20px;
    color: var(--gray);
    line-height: 1.7;
}

.service-detail__cta {
    text-align: center;
    margin-top: 30px;
}

/* --- Service Gallery Carousel --- */
.service-gallery {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.service-gallery__carousel {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.service-gallery__slide {
    display: none;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.service-gallery__slide.active {
    display: block;
}

.service-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-gallery__nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.service-gallery__prev,
.service-gallery__next {
    background: var(--blue);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.service-gallery__prev:hover,
.service-gallery__next:hover {
    background: var(--blue-dark);
}

.service-gallery__dots {
    display: flex;
    gap: 8px;
}

.service-gallery__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--gray-border);
    cursor: pointer;
    transition: background var(--transition);
}

.service-gallery__dot.active {
    background: var(--blue);
}

/* --- Related Services --- */
.related-services {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.related-service {
    display: inline-block;
    padding: 12px 25px;
    font-family: var(--font-title);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: var(--gray-dark);
    border: 1px solid var(--gray-border);
    transition: all var(--transition);
}

.related-service:hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* --- Service Testimonials teaser --- */
.service-testimonials {
    text-align: center;
    padding: 30px;
    background: var(--gray-light);
}

.service-testimonials__title {
    color: var(--gray);
    margin-bottom: 15px;
    font-style: italic;
}

/* --- Portfolio --- */
.portfolio-section {
    margin-bottom: 50px;
}

.portfolio-section__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue);
}

.portfolio-section__icon {
    width: 36px;
    height: 36px;
    color: var(--blue);
}

.portfolio-section__icon svg {
    width: 100%;
    height: 100%;
}

.portfolio-section__title {
    font-size: 1.3rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.portfolio-grid__item {
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-grid__item:hover img {
    transform: scale(1.05);
}

.portfolio-grid__more {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3;
    background: var(--blue-light);
    color: var(--blue);
    font-family: var(--font-title);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    transition: all var(--transition);
}

.portfolio-grid__more:hover {
    background: var(--blue);
    color: var(--white);
}

/* --- Contact Page --- */
.contact-page-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.contact-page-intro p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.contact-page-intro__tagline {
    font-size: 1.1rem;
    color: var(--gray-dark);
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--gray-light);
}

.contact-card__icon {
    width: 40px;
    height: 40px;
    color: var(--blue);
    margin: 0 auto 15px;
}

.contact-card h4 {
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.contact-card p,
.contact-card a {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-page-map {
    width: 100%;
    height: 350px;
    margin-bottom: 20px;
}

.contact-page-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form--page {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

/* --- Legal Pages --- */
.legal {
    padding: 120px 0 60px;
}

.legal h1 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.legal h2 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
    color: var(--blue);
}

.legal h3 {
    font-size: 1.1rem;
    margin: 20px 0 10px;
}

.legal p {
    margin-bottom: 12px;
    color: var(--gray);
    line-height: 1.7;
}

.legal ul, .legal ol {
    margin: 10px 0 15px 25px;
    color: var(--gray);
    line-height: 1.7;
}

.legal a {
    color: var(--blue);
    text-decoration: underline;
}

.legal table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.legal th, .legal td {
    padding: 10px;
    border: 1px solid var(--gray-border);
    text-align: left;
    font-size: 0.9rem;
}

.legal th {
    background: var(--gray-light);
    font-family: var(--font-title);
    letter-spacing: 0.05em;
}

/* --- Scroll to top --- */
.scroll-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--blue);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.scroll-top:hover {
    background: var(--blue-dark);
    transform: translateY(-3px);
}

.scroll-top.visible {
    display: flex;
}

/* --- Responsive: Tablet (768px+) --- */
@media (min-width: 768px) {
    .hero__title {
        font-size: 3.5rem;
    }

    .hero__subtitle {
        font-size: 1.3rem;
    }

    .hero__services {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px 20px;
    }

    .section {
        padding: 80px 0;
    }

    .section__title {
        font-size: 2.5rem;
    }

    .about {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .gallery-mosaic {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__inner {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .service-hero__title {
        font-size: 3rem;
    }

    .page-hero__title {
        font-size: 2.8rem;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .about-page {
        grid-template-columns: 1.5fr 1fr;
    }

    .company-info {
        grid-template-columns: 1fr 1fr;
    }

    .about-services-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* --- Responsive: Desktop (1024px+) --- */
@media (min-width: 1024px) {
    .nav__menu {
        display: flex;
    }

    .nav__toggle {
        display: none;
    }

    .hero__title {
        font-size: 4rem;
    }

    .section {
        padding: 100px 0;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .gallery-mosaic {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-map {
        height: 350px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .page-hero__title {
        font-size: 3.2rem;
    }

    .timeline__year {
        font-size: 2.5rem;
    }
}

/* --- Print --- */
@media print {
    .nav, .hero, .cookie-banner, .scroll-top, .lightbox {
        display: none !important;
    }

    .section {
        padding: 20px 0;
    }

    body {
        font-size: 12pt;
        color: #000;
    }
}
