/* ============================================
   ĐAKOVIĆ PVC i ALU Stolarija - Stylesheet
   Brand Colors: #0b76bd, #28ace2
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
    --color-primary: #0b76bd;
    --color-primary-light: #28ace2;
    --color-primary-dark: #085a91;
    --color-primary-rgb: 11, 118, 189;
    --color-accent: #28ace2;
    --color-accent-rgb: 40, 172, 226;

    --color-white: #ffffff;
    --color-black: #0a0a0a;
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-hero: 1.2s ease;

    --header-height: 80px;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--color-gray-700);
    background-color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ---- Utility Classes ---- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-accent {
    color: var(--color-primary-light);
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary-light);
    margin-bottom: 16px;
    position: relative;
    padding-left: 40px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
}

.section-label--center {
    display: block;
    text-align: center;
    padding-left: 0;
}

.section-label--center::before {
    display: none;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-gray-900);
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-title--center {
    text-align: center;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.4);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--color-primary-rgb), 0.5);
}

.btn--outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.btn--large {
    padding: 18px 40px;
    font-size: 1.0625rem;
}

.btn--full {
    width: 100%;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: all var(--transition-base);
}

.header--scrolled {
    background: rgba(10, 30, 58, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.header__logo img {
    height: 48px;
    width: auto;
    transition: var(--transition-base);
}

.header--scrolled .header__logo img {
    height: 40px;
}

.header__menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__link {
    padding: 8px 20px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-white);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
}

.header--scrolled .header__link {
    color: rgba(255, 255, 255, 0.85);
}

.header__link:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.15);
}

.header--scrolled .header__link:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

.header__link--cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white) !important;
    padding: 10px 24px;
    box-shadow: 0 2px 10px rgba(var(--color-primary-rgb), 0.3);
}

.header__link--cta:hover {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary)) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.4);
}

/* Hamburger */
.header__hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 1001;
}

.header__hamburger-line {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.header--scrolled .header__hamburger-line {
    background: rgba(255, 255, 255, 0.9);
}

.header__hamburger--active .header__hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.header__hamburger--active .header__hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.header__hamburger--active .header__hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero__slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.5s ease, transform 7s ease;
    will-change: opacity, transform;
}

.hero__slide--active {
    opacity: 1;
    transform: scale(1);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 30, 60, 0.75) 0%,
        rgba(var(--color-primary-rgb), 0.45) 50%,
        rgba(10, 30, 60, 0.65) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero__text-wrapper {
    max-width: 700px;
    padding-top: 40px;
}

.hero__subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #7dd3fc;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s ease 0.3s forwards;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s ease 0.5s forwards;
}

.hero__title-accent {
    background: linear-gradient(135deg, #7dd3fc, #bae6fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 560px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s ease 0.7s forwards;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s ease 0.9s forwards;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Controls */
.hero__controls {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.hero__progress {
    display: flex;
    gap: 12px;
    align-items: center;
}

.hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
}

.hero__dot--active {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
    box-shadow: 0 0 15px rgba(var(--color-accent-rgb), 0.6);
}

.hero__dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all var(--transition-base);
}

.hero__dot--active::after {
    border-color: rgba(var(--color-accent-rgb), 0.4);
}

/* Scroll Indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.hero__scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.hero__scroll-wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

.hero__scroll-text {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    writing-mode: vertical-rl;
    display: none;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--color-white);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__text {
    font-size: 1.0625rem;
    color: var(--color-gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-gray-200);
}

.about__stat {
    text-align: center;
}

.about__stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    font-family: var(--font-display);
}

.about__stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-light);
}

.about__stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-gray-500);
    margin-top: 8px;
    font-weight: 500;
}

.about__image {
    position: relative;
}

.about__image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.1), rgba(var(--color-accent-rgb), 0.15));
    border-radius: var(--radius-xl);
    z-index: -1;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 120px 0;
    background: var(--color-gray-50);
}

.services__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.services__intro {
    font-size: 1.0625rem;
    color: var(--color-gray-500);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    transition: all var(--transition-base);
    border: 1px solid var(--color-gray-200);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.08), rgba(var(--color-accent-rgb), 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-primary);
    transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    transform: scale(1.05);
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 12px;
}

.service-card__title a {
    color: inherit;
    transition: color var(--transition-fast);
}

.service-card__title a:hover {
    color: var(--color-primary);
}

.service-card__text {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.service-card__link:hover {
    color: var(--color-primary-light);
    gap: 10px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 120px 0;
    background: var(--color-white);
}

.features__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features__image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.features__list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 16px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.feature-item:hover {
    background: var(--color-gray-50);
}

.feature-item__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.feature-item__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 4px;
}

.feature-item__text {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
    line-height: 1.6;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    padding: 120px 0;
    background: var(--color-gray-50);
}

.gallery__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.gallery__intro {
    font-size: 1.0625rem;
    color: var(--color-gray-500);
    margin-top: 8px;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
    outline: none;
}

.gallery__item:focus-visible {
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.gallery__item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
    transform: scale(1.08);
}

/* Zoom icon overlay */
.gallery__item::after {
    content: '';
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(var(--color-primary-rgb), 0.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E") center / 20px no-repeat;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity var(--transition-base), transform var(--transition-base);
    pointer-events: none;
}

.gallery__item:hover::after,
.gallery__item:focus-visible::after {
    opacity: 1;
    transform: scale(1);
}

.gallery__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
    color: var(--color-white);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.gallery__item:hover .gallery__caption,
.gallery__item:focus-visible .gallery__caption {
    transform: translateY(0);
}

.gallery__caption h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.gallery__caption p {
    font-size: 0.8125rem;
    opacity: 0.85;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 20, 38, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 40px 24px;
}

.lightbox--open {
    opacity: 1;
    visibility: visible;
}

.lightbox__content {
    position: relative;
    max-width: 1000px;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.7, 1);
}

.lightbox--open .lightbox__content {
    transform: scale(1);
}

.lightbox__image {
    max-width: 100%;
    max-height: calc(100vh - 160px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
    margin-top: 16px;
    text-align: center;
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 500;
    max-width: 640px;
}

.lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    z-index: 10;
}

.lightbox__close:hover {
    background: var(--color-primary-light);
    transform: rotate(90deg);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    z-index: 10;
}

.lightbox__nav:hover {
    background: var(--color-primary-light);
}

.lightbox__nav--prev {
    left: 24px;
}

.lightbox__nav--next {
    right: 24px;
}

.lightbox__counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    letter-spacing: 1px;
    z-index: 10;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta__background {
    position: absolute;
    inset: 0;
}

.cta__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(var(--color-primary-rgb), 0.92) 0%,
        rgba(var(--color-accent-rgb), 0.88) 100%
    );
}

.cta__content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta__text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    line-height: 1.8;
}

.cta .btn--primary {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta .btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--color-white);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact__text {
    font-size: 1.0625rem;
    color: var(--color-gray-500);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact__detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact__detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.08), rgba(var(--color-accent-rgb), 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.contact__detail h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 2px;
}

.contact__detail p {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
}

.contact__detail a {
    color: var(--color-primary);
}

.contact__detail a:hover {
    color: var(--color-primary-light);
}

/* Contact Form */
.contact__form-wrapper {
    background: var(--color-gray-50);
    border-radius: var(--radius-xl);
    padding: 48px;
    border: 1px solid var(--color-gray-200);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    color: var(--color-gray-800);
    background: var(--color-white);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 4px rgba(var(--color-accent-rgb), 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-gray-900);
    padding: 80px 0 0;
    color: var(--color-gray-400);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer__description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-gray-400);
}

.footer__links h3,
.footer__contact h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 24px;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    font-size: 0.9375rem;
    color: var(--color-gray-400);
    transition: all var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-primary-light);
    padding-left: 4px;
}

.footer__contact p {
    font-size: 0.9375rem;
    margin-bottom: 10px;
}

.footer__contact a {
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
}

.footer__contact a:hover {
    color: var(--color-primary-light);
}

.footer__bottom {
    text-align: center;
    padding: 28px 0;
    font-size: 0.8125rem;
    color: var(--color-gray-500);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__grid,
    .features__grid,
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .features__image {
        order: -1;
    }

    .features__image img,
    .about__image img {
        height: 360px;
    }

    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer__brand {
        grid-column: span 2;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .header__container {
        padding: 0 20px;
    }

    .header__hamburger {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 380px;
        height: 100vh;
        background: var(--color-white);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
        padding: 100px 32px 40px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        display: flex;
        flex-direction: column;
    }

    .header__nav--open {
        right: 0;
    }

    .header__menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .header__link,
    .header--scrolled .header__link {
        color: var(--color-gray-700);
        padding: 20px 0;
        width: 100%;
        border-radius: 0;
        font-size: 1.1875rem;
        font-weight: 500;
        letter-spacing: 0.2px;
        border-bottom: 1px solid var(--color-gray-200);
        position: relative;
        transition: color var(--transition-base);
        background: none;
        display: block;
        text-align: left;
    }

    .header__link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -1px;
        width: 0;
        height: 2.5px;
        background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
        transition: width 0.35s ease;
        border-radius: 2px;
    }

    .header__link:hover,
    .header--scrolled .header__link:hover {
        color: var(--color-primary);
        background: none;
    }

    .header__link:hover::after {
        width: 40%;
    }

    .header__link--cta {
        margin-top: 0;
        text-align: left;
        background: none !important;
        color: var(--color-primary) !important;
        box-shadow: none !important;
        padding: 20px 0;
        border-bottom: 1px solid var(--color-gray-200);
        font-weight: 600;
        border-radius: 0 !important;
    }

    .header__link--cta:hover {
        background: none !important;
        transform: none;
        box-shadow: none !important;
    }

    .header__link--cta::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -1px;
        width: 0;
        height: 2.5px;
        background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
        transition: width 0.35s ease;
        border-radius: 2px;
    }

    .header__link--cta:hover::after {
        width: 40%;
    }

    /* Mobile Overlay */
    .header__nav--open::before {
        content: '';
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.4);
        z-index: -1;
    }

    .hero__content {
        padding: 0 24px;
    }

    .hero__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        text-align: center;
    }

    .hero__scroll-indicator {
        display: none;
    }

    .about,
    .services,
    .features,
    .gallery,
    .cta,
    .contact {
        padding: 80px 0;
    }

    .about__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .about__stat-number {
        font-size: 2rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery__item img {
        height: 200px;
    }

    .gallery__caption {
        transform: translateY(0);
        padding: 16px 14px 12px;
    }

    .gallery__caption h3 {
        font-size: 0.9375rem;
    }

    .gallery__caption p {
        font-size: 0.75rem;
    }

    .gallery__item::after {
        display: none;
    }

    .lightbox {
        padding: 16px;
    }

    .lightbox__close {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
    }

    .lightbox__nav {
        width: 44px;
        height: 44px;
    }

    .lightbox__nav--prev {
        left: 10px;
    }

    .lightbox__nav--next {
        right: 10px;
    }

    .lightbox__image {
        max-height: calc(100vh - 120px);
    }

    .lightbox__caption {
        font-size: 0.875rem;
        margin-top: 12px;
    }

    .contact__form-wrapper {
        padding: 28px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer__brand {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.875rem;
    }

    .hero__description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.625rem;
    }

    .about__stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================================
   SERVICE PAGES (subpages)
   ============================================ */
.page-hero {
    position: relative;
    padding: calc(var(--header-height) + 72px) 0 72px;
    background: linear-gradient(135deg, #0a2540 0%, var(--color-primary-dark) 55%, var(--color-primary) 100%);
    color: var(--color-white);
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(40, 172, 226, 0.35), transparent 70%);
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.breadcrumb {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 22px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--color-white);
}

.breadcrumb__sep {
    margin: 0 8px;
    opacity: 0.5;
}

.breadcrumb [aria-current] {
    color: #7dd3fc;
}

.page-hero__subtitle {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #7dd3fc;
    margin-bottom: 16px;
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 18px;
}

.page-hero__text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.page-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Service content section */
.service-section {
    padding: 90px 0;
}

.service-section--alt {
    background: var(--color-gray-50);
}

.service-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.service-prose .section-label {
    margin-bottom: 14px;
}

.service-prose h2 {
    margin-bottom: 22px;
}

.service-prose p {
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.service-features {
    list-style: none;
    margin-top: 26px;
    display: grid;
    gap: 14px;
}

.service-features li {
    position: relative;
    padding-left: 36px;
    color: var(--color-gray-700);
    font-weight: 500;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(var(--color-primary-rgb), 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230b76bd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.service-figure img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* FAQ */
.faq {
    padding: 90px 0;
}

.faq__list {
    max-width: 820px;
    margin: 44px auto 0;
}

.faq__item {
    border-bottom: 1px solid var(--color-gray-200);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-gray-800);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq__question:hover {
    color: var(--color-primary);
}

.faq__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform var(--transition-base);
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform var(--transition-base);
}

.faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item--open .faq__icon::after {
    transform: translate(-50%, -50%) rotate(0);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq__item--open .faq__answer {
    max-height: 480px;
}

.faq__answer p {
    padding-bottom: 24px;
    color: var(--color-gray-600);
    line-height: 1.8;
}

/* Other services */
.other-services {
    padding: 90px 0;
    background: var(--color-gray-50);
}

.other-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 44px;
}

.other-service-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    font-weight: 600;
    color: var(--color-gray-800);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.other-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    color: var(--color-primary);
}

.other-service-card span {
    color: var(--color-primary);
    transition: transform var(--transition-base);
}

.other-service-card:hover span {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .service-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-figure {
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: calc(var(--header-height) + 48px) 0 56px;
    }

    .service-section,
    .faq,
    .other-services {
        padding: 64px 0;
    }

    .service-figure img {
        height: 320px;
    }

    .page-hero__actions {
        flex-direction: column;
    }

    .page-hero__actions .btn {
        text-align: center;
    }
}
