/* ========================================
   TONRO.sk - Main Stylesheet
   1:1 Replica of original design
   ======================================== */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;700&display=swap');

/* ---- CSS Variables ---- */
:root {
    --primary: #ff2a13;
    --primary-dark: #ac1100;
    --primary-hover: #ef2201;
    --primary-shadow: #a71000;
    --text-dark: #272727;
    --text-secondary: #6e6d6d;
    --text-light: #999;
    --bg-light: #f5f5f5;
    --bg-dark: #272727;
    --bg-white: #fff;
    --border-color: #e0e0e0;
    --font-family: 'Raleway', Arial, sans-serif;
    --container-width: 1240px;
    --header-height: 80px;
    --transition: all 0.3s ease;
}

/* ---- Reset & Base ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 15px;
}

h1 { font-size: 42px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

/* ---- Buttons ---- */
.btn-primary,
.btn-tonro {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    border-radius: 0;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 3px 0 var(--primary-shadow);
}

.btn-primary:hover,
.btn-tonro:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 0 var(--primary-shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: none;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.site-logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.site-logo .logo-scrolled {
    display: none;
}

.site-header.scrolled .site-logo .logo-default {
    display: none;
}

.site-header.scrolled .site-logo .logo-scrolled {
    display: block;
}

/* ---- Navigation ---- */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    display: block;
    padding: 10px 15px;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary);
}

.main-nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--primary);
}

/* ---- Language Switcher ---- */
.lang-switcher {
    display: flex;
    align-items: center;
    margin-left: 20px;
    gap: 8px;
}

.lang-switcher a {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.lang-switcher a:hover {
    color: var(--primary);
}

.lang-switcher a.active {
    color: var(--primary);
    border-color: var(--primary);
}

/* ---- Mobile Menu Toggle ---- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    margin: 6px 0;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ========================================
   HERO SECTIONS
   ======================================== */

/* Home Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 700px;
    margin-top: var(--header-height);
    overflow: hidden;
}

.hero-slider .swiper {
    width: 100%;
    height: 100%;
}

.hero-slider .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.hero-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slider .swiper-slide .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider .swiper-slide .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-slider .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 80%;
    max-width: 800px;
}

.hero-slider .slide-content h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-slider .slide-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    font-weight: 300;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--primary);
}

/* Subpage Hero (Parallax) */
.page-hero {
    position: relative;
    height: 400px;
    margin-top: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: translateZ(0);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.page-hero-content h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    font-weight: 300;
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: var(--bg-dark);
    color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #fff;
}

.section-dark p {
    color: rgba(255, 255, 255, 0.8);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.section-title p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 20px;
}

/* ---- Text + Image Block ---- */
.text-image-block {
    display: flex;
    align-items: center;
    gap: 60px;
}

.text-image-block.reversed {
    flex-direction: row-reverse;
}

.text-image-block .text-col {
    flex: 1;
}

.text-image-block .image-col {
    flex: 1;
}

.text-image-block .image-col img {
    width: 100%;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ---- Service Blocks ---- */
.service-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-block {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-block:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-block .icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 28px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-block:hover .icon {
    background: var(--primary-dark);
}

.service-block h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-block p {
    font-size: 14px;
    line-height: 1.7;
}

/* ---- Reference Logos ---- */
.reference-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.reference-logos .ref-logo {
    flex: 0 0 auto;
    max-width: 200px;
    padding: 20px;
    opacity: 0.7;
    transition: var(--transition);
    filter: grayscale(100%);
}

.reference-logos .ref-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.reference-logos .ref-logo img {
    max-height: 80px;
    width: auto;
}

.reference-logos .ref-name {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
}

/* ---- Certificates ---- */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.certificate-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.certificate-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.certificate-card img {
    max-height: 200px;
    width: auto;
    margin-bottom: 15px;
}

.certificate-card h4 {
    font-size: 16px;
    font-weight: 700;
}

/* ---- Products Grid ---- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    overflow: hidden;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #fafafa;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.product-info .product-material {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.product-info .product-spec {
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0;
}

/* ---- Technology Grid ---- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.tech-card {
    display: flex;
    gap: 25px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 25px;
    transition: var(--transition);
}

.tech-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-image {
    flex: 0 0 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-image img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
}

.tech-info {
    flex: 1;
}

.tech-info h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.tech-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---- Gallery Grid ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ---- Content Block ---- */
.content-block {
    max-width: 900px;
    margin: 0 auto;
}

.content-block h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
}

.content-block ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.content-block ul li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.content-block ul li strong {
    color: var(--text-dark);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.contact-info-item .icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 16px;
}

.contact-info-item .info h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
}

.contact-info-item .info p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-info-item .info a {
    color: var(--text-secondary);
}

.contact-info-item .info a:hover {
    color: var(--primary);
}

.contact-persons {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.contact-person {
    margin-bottom: 20px;
}

.contact-person h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
}

.contact-person .role {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 5px;
}

.contact-person p {
    font-size: 14px;
    margin: 0;
}

/* ---- Contact Form ---- */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-form label .required {
    color: var(--primary);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--bg-white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 42, 19, 0.1);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.form-alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ---- Google Map ---- */
.google-map {
    position: relative;
    width: 100%;
    height: 400px;
    background: var(--bg-light);
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.google-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    cursor: default;
}

.map-address-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    white-space: nowrap;
    pointer-events: none;
}

.map-address-pin::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
}

.map-pin-logo {
    width: 40px;
    height: auto;
    flex-shrink: 0;
}

.map-pin-text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.3;
    color: var(--text-dark);
}

.map-pin-text strong {
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 1px;
}

@media (max-width: 576px) {
    .map-address-pin {
        white-space: normal;
        max-width: 240px;
    }
}

/* ---- Billing Info ---- */
.billing-info {
    background: var(--bg-light);
    padding: 30px;
    margin-top: 20px;
}

.billing-info h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.billing-info table {
    width: 100%;
}

.billing-info table td {
    padding: 5px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.billing-info table td:first-child {
    font-weight: 700;
    color: var(--text-dark);
    width: 120px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-col p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* IT2Core Badge */
.it2core-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    background: #fff;
    transition: all 0.2s ease;
    opacity: 0.85;
}

.it2core-badge:hover {
    border-color: rgba(255, 255, 255, 0.6);
    opacity: 1;
    transform: translateY(-1px);
}

.it2core-badge img {
    display: block;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet Landscape */
@media (max-width: 1240px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    h1, .hero-slider .slide-content h1 {
        font-size: 36px;
    }

    h2, .section-title h2 {
        font-size: 30px;
    }
}

/* Tablet Portrait */
@media (max-width: 1024px) {
    .main-nav ul li a {
        padding: 10px 10px;
        font-size: 12px;
    }

    .text-image-block {
        gap: 30px;
    }

    .section {
        padding: 60px 0;
    }

    .hero-slider {
        height: 500px;
    }

    .page-hero {
        height: 300px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Landscape */
@media (max-width: 778px) {
    :root {
        --header-height: 60px;
    }

    .site-logo img {
        height: 35px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--bg-white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: var(--transition);
        overflow-y: auto;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .main-nav ul li a {
        padding: 12px 0;
        font-size: 14px;
    }

    .main-nav ul li a.active::after {
        display: none;
    }

    .lang-switcher {
        margin-left: 0;
        margin-top: 20px;
        justify-content: center;
    }

    .hero-slider {
        height: 400px;
    }

    .hero-slider .slide-content h1 {
        font-size: 28px;
    }

    .hero-slider .slide-content p {
        font-size: 16px;
    }

    .page-hero {
        height: 250px;
        background-attachment: scroll !important;
    }

    .page-hero-bg {
        background-attachment: scroll !important;
    }

    .page-hero-content h1 {
        font-size: 28px;
    }

    .section {
        padding: 50px 0;
    }

    .text-image-block,
    .text-image-block.reversed {
        flex-direction: column;
        gap: 30px;
    }

    .service-blocks {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-card {
        flex-direction: column;
    }

    .tech-image {
        flex: 0 0 auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .hero-slider {
        height: 350px;
    }

    .hero-slider .slide-content h1 {
        font-size: 24px;
    }

    .hero-slider .slide-content p {
        font-size: 14px;
    }

    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }

    .section {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .service-block {
        padding: 30px 20px;
    }

    .reference-logos {
        gap: 20px;
    }

    .reference-logos .ref-logo {
        max-width: 150px;
        padding: 10px;
    }
}

/* ---- Utility Classes ---- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary) !important; }
.text-white { color: #fff !important; }
.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--bg-dark); }
.mt-0 { margin-top: 0; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.py-40 { padding-top: 40px; padding-bottom: 40px; }
.py-80 { padding-top: 80px; padding-bottom: 80px; }

/* Mobile overlay when menu is open */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-overlay.active {
    display: block;
}
