/* ============================================
   A MIELI GMBH – GLOBAL STYLESHEET
   ============================================ */

/* --- RESET & VARIABLES --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red-dark: #780000;
    --red: #C1121F;
    --cream: #FDF0D5;
    --gold: #F6BF51;
    --brown: #9A6A09;
    --white: #FFFFFF;
    --black: #1a1a1a;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e8e8e8;
    --gray-300: #d0d0d0;
    --gray-500: #6b6b6b;
    --gray-700: #3a3a3a;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- TOPBAR --- */
.topbar {
    background: var(--red-dark);
    color: var(--white);
    font-size: 0.8rem;
    padding: 8px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-left {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.9);
    transition: color var(--transition);
}

.topbar-item:hover {
    color: var(--gold);
}

.topbar-item svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

.topbar-right {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}

/* --- NAVBAR --- */
.navbar {
    background: var(--white);
    border-bottom: 3px solid var(--red);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo img {
    height: 70px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-links a {
    padding: 28px 18px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-700);
    transition: all var(--transition);
    position: relative;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--red);
    border-bottom-color: var(--red);
    background: rgba(193,18,31,0.03);
}

.nav-cta {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 12px 24px !important;
    border-bottom: none !important;
    margin: 0 0 0 10px !important;
    transition: all var(--transition) !important;
}

.nav-cta:hover {
    background: var(--red-dark) !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--black);
    margin: 5px 0;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}

.btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.btn-red {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-red:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.btn-gold {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--brown);
    border-color: var(--brown);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-outline-red {
    background: transparent;
    color: var(--red);
    border-color: var(--red);
}

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

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: var(--gray-700);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(120,0,0,0.85) 0%, rgba(26,26,26,0.7) 100%);
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.5) 40px, rgba(255,255,255,0.5) 41px),
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.5) 40px, rgba(255,255,255,0.5) 41px);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 80px 0;
    max-width: 700px;
}

.hero-stripe {
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

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

.hero-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    max-width: 550px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-badge {
    position: absolute;
    right: 40px;
    bottom: 40px;
    z-index: 3;
    background: var(--gold);
    color: var(--black);
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: rotate(5deg);
}

.hero-badge .badge-number {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.hero-badge .badge-text {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- PAGE HERO (Subpages) --- */
.page-hero {
    background: var(--gray-700);
    position: relative;
    padding: 100px 0 60px;
    overflow: hidden;
}

.page-hero .hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(120,0,0,0.9), rgba(26,26,26,0.8));
    z-index: 1;
}

.page-hero .hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.5) 40px, rgba(255,255,255,0.5) 41px),
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.5) 40px, rgba(255,255,255,0.5) 41px);
    z-index: 2;
}

.page-hero-content {
    position: relative;
    z-index: 3;
}

.page-hero h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-hero h1 span {
    color: var(--gold);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.breadcrumb a {
    color: var(--gold);
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb svg {
    width: 12px;
    height: 12px;
    fill: rgba(255,255,255,0.4);
}

/* --- SERVICE BAR --- */
.service-bar {
    background: var(--cream);
    border-bottom: 1px solid rgba(154,106,9,0.15);
}

.service-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.service-bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 20px;
    border-right: 1px solid rgba(154,106,9,0.15);
    transition: background var(--transition);
}

.service-bar-item:last-child {
    border-right: none;
}

.service-bar-item:hover {
    background: rgba(154,106,9,0.08);
}

.sbar-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sbar-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.sbar-text h4 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black);
}

.sbar-text p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 2px;
}

/* --- SECTIONS --- */
.section {
    padding: 80px 0;
}

.section-gray {
    background: var(--gray-100);
}

.section-cream {
    background: var(--cream);
}

.section-dark {
    background: var(--gray-700);
    color: var(--white);
}

.section-red {
    background: var(--red-dark);
    color: var(--white);
}

.section-header {
    margin-bottom: 50px;
}

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

.section-stripe {
    width: 50px;
    height: 4px;
    background: var(--red);
    margin-bottom: 15px;
}

.section-header.center .section-stripe {
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red);
    margin-bottom: 8px;
}

.section-dark .section-tag {
    color: var(--gold);
}

.section-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 15px;
}

.section-title span {
    color: var(--red);
}

.section-dark .section-title span {
    color: var(--gold);
}

.section-desc {
    font-size: 1rem;
    color: var(--gray-500);
    max-width: 600px;
    line-height: 1.7;
}

.section-header.center .section-desc {
    margin: 0 auto;
}

.section-dark .section-desc {
    color: rgba(255,255,255,0.6);
}

/* --- ABOUT --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img-main {
    width: 100%;
    height: 450px;
    background: var(--gray-200);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 0.9rem;
    overflow: hidden;
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 180px;
    height: 180px;
    background: var(--red);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 2;
}

.about-img-accent .accent-number {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.about-img-accent .accent-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.about-img-border {
    position: absolute;
    top: -15px;
    right: -15px;
    bottom: 15px;
    left: 15px;
    border: 3px solid var(--gold);
    z-index: -1;
}

.about-text p {
    color: var(--gray-500);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-list {
    margin: 25px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.9rem;
}

.check-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon svg {
    width: 12px;
    height: 12px;
    fill: var(--white);
}

/* --- SERVICE CARDS --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 35px 30px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-icon {
    width: 60px;
    height: 60px;
    background: var(--cream);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--red);
    transition: fill var(--transition);
}

.service-card:hover .service-card-icon {
    background: var(--red);
    border-color: var(--red);
}

.service-card:hover .service-card-icon svg {
    fill: var(--white);
}

.service-card h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--red);
    letter-spacing: 0.5px;
    transition: gap var(--transition);
}

.service-card-link svg {
    width: 14px;
    height: 14px;
    fill: var(--red);
}

.service-card:hover .service-card-link {
    gap: 10px;
}

/* --- SERVICE DETAIL (Leistungen-Seite) --- */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 50px 0;
    border-bottom: 1px solid var(--gray-200);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-img {
    width: 100%;
    height: 350px;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 0.9rem;
    border-left: 5px solid var(--red);
    overflow: hidden;
}

.service-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-content h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--black);
}

.service-detail-content p {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-detail-list {
    margin: 15px 0 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-detail-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- CTA BANNER --- */
.cta-banner {
    background: var(--red);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.05);
    transform: rotate(45deg);
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-banner h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--white);
}

.cta-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* --- PROCESS --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.process-step {
    text-align: center;
    padding: 30px 25px;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 45px;
    right: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid var(--gray-200);
}

.process-step:last-child::after {
    display: none;
}

.step-num {
    width: 70px;
    height: 70px;
    background: var(--cream);
    border: 3px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--red);
    transition: all var(--transition);
}

.process-step:hover .step-num {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    transform: scale(1.1);
}

.process-step h4 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --- STATS --- */
.stats-section {
    background: var(--cream);
    padding: 50px 0;
    border-top: 1px solid rgba(154,106,9,0.15);
    border-bottom: 1px solid rgba(154,106,9,0.15);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-num {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-top: 5px;
}

/* --- WHY US --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.why-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 35px 30px;
    text-align: center;
    transition: all var(--transition);
}

.why-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.why-card-icon {
    width: 70px;
    height: 70px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-card-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--black);
}

.why-card h4 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* --- GALLERY --- */
.gallery-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 22px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--gray-700);
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--gray-200);
    cursor: pointer;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(120,0,0,0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.gallery-item-overlay span {
    color: var(--gold);
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-item-overlay h4 {
    color: var(--white);
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 4px;
}

.gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 0.85rem;
    flex-direction: column;
    gap: 8px;
}

.gallery-placeholder svg {
    width: 40px;
    height: 40px;
    fill: var(--gray-300);
}

/* --- LIGHTBOX --- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
    transition: color var(--transition);
}

.lightbox-close:hover {
    color: var(--gold);
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
}

/* --- CONTACT --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--gray-100);
    border-left: 4px solid var(--red);
    transition: all var(--transition);
}

.contact-info-item:hover {
    background: var(--cream);
}

.ci-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ci-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.ci-text .ci-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    font-weight: 700;
}

.ci-text .ci-value {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 2px;
}

.ci-text .ci-value a {
    color: var(--black);
    transition: color var(--transition);
}

.ci-text .ci-value a:hover {
    color: var(--red);
}

/* --- CONTACT FORM --- */
.contact-form {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-200);
    background: var(--gray-100);
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: var(--black);
    transition: all var(--transition);
    outline: none;
    appearance: none;
    border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(193,18,31,0.08);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b6b6b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 35px;
}

.form-submit {
    width: 100%;
    padding: 15px;
    background: var(--red);
    color: var(--white);
    border: none;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background var(--transition);
}

.form-submit:hover {
    background: var(--red-dark);
}

.form-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 15px 0;
    color: var(--gray-500);
    font-size: 0.8rem;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    border-top: 1px solid var(--gray-200);
}

.form-divider span {
    padding: 0 12px;
}

.form-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    background: #25D366;
    color: var(--white);
    border: none;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background var(--transition);
    text-decoration: none;
}

.form-whatsapp-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
    flex-shrink: 0;
}

.form-whatsapp-btn:hover {
    background: #1ebe5d;
    color: var(--white);
}

.ci-icon-whatsapp {
    background: #25D366 !important;
}

.ci-icon-whatsapp svg {
    fill: var(--white) !important;
}

/* --- MAP --- */
.map-section {
    height: 350px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- TEAM --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all var(--transition);
}

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

.team-card-img {
    height: 300px;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 0.85rem;
    overflow: hidden;
}

.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-info {
    padding: 25px 20px;
}

.team-card-info h4 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.team-card-info p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* --- TIMELINE --- */
.timeline {
    position: relative;
    padding-left: 40px;
    max-width: 700px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--red);
}

.timeline-item {
    position: relative;
    padding: 0 0 40px 30px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -34px;
    top: 5px;
    width: 22px;
    height: 22px;
    background: var(--gold);
    border: 3px solid var(--red);
}

.timeline-item h4 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.timeline-item .year {
    font-size: 0.8rem;
    color: var(--red);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* --- LEGAL PAGES --- */
.legal-content {
    max-width: 800px;
}

.legal-content h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 40px 0 15px;
    color: var(--black);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-200);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 25px 0 10px;
    color: var(--black);
}

.legal-content p {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 10px;
}

.legal-content ul {
    margin: 10px 0 15px 20px;
    list-style: disc;
}

.legal-content ul li {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 5px;
}

.legal-content a {
    color: var(--red);
    transition: color var(--transition);
}

.legal-content a:hover {
    color: var(--red-dark);
}

/* --- FOOTER --- */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
    height: 60px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

.footer-col h4 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--gold);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--red);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-col ul li a:hover::before {
    width: 15px;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    transition: color var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

/* --- SCROLL TOP --- */
.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: var(--red);
    color: var(--white);
    border: none;
    cursor: pointer;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--red-dark);
    transform: translateY(-3px);
}

.scroll-top svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

/* --- REVEAL --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .service-bar-inner { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-step::after { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-badge { display: none; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .service-detail { grid-template-columns: 1fr; }
    .service-detail.reverse { direction: ltr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        padding: 15px 30px;
        font-size: 1.1rem;
        border-bottom: none;
        margin-bottom: 0;
    }
    .nav-links a:hover { background: var(--cream); }
    .nav-cta { margin: 15px 0 0 0 !important; padding: 14px 40px !important; }
    .mobile-toggle { display: block; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-list { grid-template-columns: 1fr; }
    .service-bar-inner { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cta-banner-inner { text-align: center; justify-content: center; }
    .topbar-right { display: none; }
    .contact-form { padding: 25px 20px; }
    .team-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-filters { gap: 6px; }
    .filter-btn { padding: 8px 16px; font-size: 0.75rem; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .display-none {
        display: none;
    }
}