/* ===================================
   VELTRIX HOME - HERO
=================================== */

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 750px;
    min-height: min(850px, 85svh);

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    isolation: isolate;
    background: var(--bg-surface);
}

/* ===================================
   HERO BACKGROUND
=================================== */

/* Background Wrapper */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;

    overflow: hidden;

    filter: blur(5px) brightness(0.88);
    transform: scale(1.06);
}

/* Background Image & Video */
.hero-media {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: var(--hero-position, center) center;
}

.hero-video {
    z-index: 1;
}

/* ===================================
   GRADIENT OVERLAY
=================================== */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        135deg,
        rgba(201, 168, 124, 0.65) 0%,
        rgba(232, 180, 184, 0.60) 50%,
        rgba(26, 26, 26, 0.45) 100%
    );

    pointer-events: none;
}

/* ===================================
   HERO CONTENT
=================================== */

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1100px;
    padding: 80px 24px;

    text-align: center;
}

/* Subtitle */
.hero-subtitle {
    display: block;
    margin-bottom: 24px;

    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.95);
}

/* Main Heading */
.hero-title {
    margin: 0 0 32px;

    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 90px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 1px;

    color: var(--text-main);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* Description */
.hero-description {
    max-width: 650px;
    margin: 0 auto;

    font-family: var(--font-ui);
    font-size: clamp(16px, 1.5vw, 21px);
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.5px;

    color: rgba(255, 255, 255, 0.95);
}

.hero-description p {
    margin: 0;
}

/* ===================================
   RESPONSIVE - TABLET
=================================== */

@media (max-width: 1024px) {
    .hero-section {
        min-height: 650px;
    }

    .hero-content {
        padding: 70px 24px;
    }

    .hero-title {
        font-size: clamp(44px, 6vw, 72px);
    }
}

/* ===================================
   RESPONSIVE - MOBILE
=================================== */

@media (max-width: 767px) {
    .hero-section {
        min-height: 560px;
    }

    .hero-background {
        filter: blur(4px) brightness(0.88);
        transform: scale(1.08);
    }

    .hero-content {
        padding: 70px 20px;
    }

    .hero-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 18px;
    }

    .hero-title {
        font-size: clamp(38px, 9vw, 58px);
        margin-bottom: 24px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.7;
    }
}



/* Homepage Philosophy and Signature Services */
.philosophy-section,
.services-section {
    padding: var(--section-py) 0;
    background: var(--bg-main);
}
.philosophy-container,
.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}
.philosophy-container {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
}
.philosophy-content,
.services-header-copy { min-width: 0; }
.philosophy-image {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
}
.philosophy-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.philosophy-main-image {
    max-width: 100%;
    align-self: center;
    justify-self: center;
    background: transparent;
}
.philosophy-main-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 680px;
    object-fit: contain;
}
.philosophy-content h2,
.services-title {
    margin: 0 0 20px;
    font-family: var(--font-heading);
    font-size: clamp(36px, 4vw, 60px);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-main);
    overflow-wrap: anywhere;
}
.services-label {
    display: block;
    margin-bottom: 16px;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand-primary);
}
.philosophy-description,
.philosophy-card p,
.services-intro {
    margin: 0;
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.philosophy-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.philosophy-card h3 {
    margin: 0 0 16px;
    font-family: var(--font-heading);
    font-size: 28px;
    line-height: 1.2;
    color: var(--text-main);
    overflow-wrap: anywhere;
}
.philosophy-card-image { aspect-ratio: 16 / 10; margin-bottom: 16px; }
.philosophy-card p { font-size: 14px; }
.services-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
}
.services-header-copy { max-width: 750px; }
.services-explore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    min-height: 44px;
    padding: 12px 24px;
    border: 1px solid var(--brand-primary);
    border-radius: var(--radius-full);
    font-family: var(--font-ui);
    color: var(--text-main);
    text-decoration: none;
}
.services-explore:hover { background: var(--gradient-primary); }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.service-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 420px;
    overflow: hidden;
    isolation: isolate;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
}
.service-card-media { position: absolute; inset: 0; z-index: -2; }
.service-card-image,
.service-card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.service-card-placeholder { background: var(--gradient-primary); }
.service-card-gradient {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(18,16,16,.94), rgba(18,16,16,.15));
    pointer-events: none;
}
.service-card-heading {
    position: absolute;
    inset: auto 0 0;
    padding: 28px 20px;
    text-align: center;
    display: none;
}
.service-card-heading h3,
.service-card-overlay h3 {
    margin: 0 0 16px;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.15;
    color: #fff;
    overflow-wrap: anywhere;
}
.service-card-overlay {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 28px 20px;
    text-align: center;
    background: linear-gradient(to top, rgba(18,16,16,.8), transparent);
    transition: opacity var(--transition-base), background var(--transition-base);
}
.service-card-overlay p {
    margin: 0 0 20px;
    font-family: var(--font-ui);
    font-size: 14px;
    line-height: 1.65;
    color: #fff;
    overflow-wrap: anywhere;
}
.service-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    margin-top: auto;
    padding: 12px 18px;
    border: 1px solid #fff;
    border-radius: var(--radius-full);
    color: #fff;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.service-card-button:hover { background: var(--gradient-primary); color: var(--text-main); }
.service-card-button:focus-visible,
.services-explore:focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 4px; }
/* Keep the action focusable so keyboard focus reveals desktop details. */
@media (hover: hover) and (pointer: fine) and (min-width: 768px) {
    .service-card-heading { display: block; }
    .service-card-overlay { opacity: 0; justify-content: center; }
    .service-card-button { margin-top: 0; }
    .service-card:hover .service-card-overlay,
    .service-card:focus-within .service-card-overlay { opacity: 1; background: rgba(18,16,16,.86); }
    .service-card:hover .service-card-heading,
    .service-card:focus-within .service-card-heading { opacity: 0; }
    .service-card:hover .service-card-image,
    .service-card:focus-within .service-card-image { transform: scale(1.08); }
}
@media (max-width: 1024px) {
    .philosophy-container { grid-template-columns: 1fr; }
    .philosophy-main-image img { max-height: 520px; }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .philosophy-section,
    .services-section { padding: 60px 0; }
    .philosophy-container,
    .services-container { padding: 0 20px; }
    .services-header { align-items: flex-start; flex-direction: column; gap: 24px; }
    .philosophy-cards,
    .services-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 400px; }
}
@media (prefers-reduced-motion: reduce) {
    .service-card-image,
    .service-card-overlay { transition: none; }
}
/* ===================================
   VELTRIX HOME - VISIT US
=================================== */

.visit-section {
    padding: 90px 0 110px;
    background: var(--bg-main);
    color: var(--text-main);
}

.visit-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Heading */
.visit-heading {
    max-width: 520px;
    margin-bottom: 50px;
}

.visit-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;

    color: var(--brand-primary);
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
}

.visit-label::before {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background: var(--brand-primary);
}

.visit-title {
    margin: 0 0 30px;

    font-family: var(--font-heading);
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.25;
}

.visit-title span {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.visit-description {
    max-width: 440px;
    margin: 0;

    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-muted);
}

/* ===================================
   DETAILS AND MAP
=================================== */

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 2.1fr;
    gap: 50px;
    align-items: start;
}

/* Left Information Cards */
.visit-details {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.visit-info-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    padding: 20px 18px;
    border-radius: 18px;

    background: var(--bg-surface);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.035);
}

.visit-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;
    background: rgba(201, 168, 124, 0.12);
    color: var(--brand-primary);
    font-size: 24px;
}

.visit-icon-pink {
    background: rgba(232, 180, 184, 0.15);
    color: var(--brand-accent);
}

.visit-info-content {
    min-width: 0;
}

.visit-info-content h3 {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
}

.visit-info-content p {
    margin: 0;
    font-family: var(--font-ui);
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

/* ===================================
   INTERACTIVE MAP
=================================== */

.visit-map {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 450px;

    overflow: hidden;
    border-radius: 18px;
    background: var(--bg-surface);

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.visit-map .wpgmza_map {
    width: 100% !important;
    min-height: 450px;
}

.visit-map-placeholder {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    font-family: var(--font-ui);
}

/* ===================================
   RESPONSIVE
=================================== */

@media (max-width: 1024px) {
    .visit-grid {
        grid-template-columns: 1fr 1.4fr;
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .visit-section {
        padding: 65px 0;
    }

    .visit-container {
        padding: 0 20px;
    }

    .visit-heading {
        margin-bottom: 35px;
    }

    .visit-title {
        font-size: 36px;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .visit-map {
        min-height: 350px;
    }

    .visit-map .wpgmza_map {
        min-height: 350px;
    }
}
