/**
 * Toivo Estate — Homepage Styles
 *
 * @package ToivoEstate
 */

/* ============================================================
   HERO
   ============================================================ */
.te-hero {
    padding: 160px 0 120px;
    background: var(--te-charcoal);
    position: relative;
    overflow: hidden;
}

.te-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -150px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(184, 115, 51, 0.07) 0%, transparent 70%);
    border-radius: 50%;
}

.te-hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 115, 51, 0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.te-hero .te-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero tag */
.te-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(184, 115, 51, 0.12);
    border: 1px solid rgba(184, 115, 51, 0.2);
    border-radius: 100px;
    padding: 6px 16px 6px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--te-copper-light);
    margin-bottom: 28px;
}

.te-hero-tag-dot {
    width: 8px;
    height: 8px;
    background: var(--te-copper);
    border-radius: 50%;
    animation: te-pulse 2s ease-in-out infinite;
}

@keyframes te-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Hero heading */
.te-hero h1 {
    font-family: var(--te-serif);
    font-size: clamp(2.6rem, 5.5vw, 3.6rem);
    font-weight: 400;
    color: var(--te-white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.te-hero h1 em {
    font-style: italic;
    color: var(--te-copper);
}

/* Hero description */
.te-hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 480px;
    line-height: 1.8;
    margin-bottom: 36px;
}

/* Hero buttons */
.te-hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero proof stats */
.te-hero-proof {
    display: flex;
    gap: 36px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.te-hero-proof-item strong {
    display: block;
    font-family: var(--te-serif);
    font-size: 1.5rem;
    color: var(--te-white);
    font-weight: 400;
}

.te-hero-proof-item span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
}

/* Hero visual + floating cards */
.te-hero-visual {
    position: relative;
}

.te-hero-card-main {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--te-radius-xl);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.te-hero-card-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.te-hero-card-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--te-charcoal-2) 0%, var(--te-charcoal-3) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.te-hero-card-img svg {
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.12);
}

.te-hero-card-img span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.2);
}

.te-hero-float {
    position: absolute;
    background: var(--te-white);
    border-radius: var(--te-radius-lg);
    padding: 16px 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
}

.te-hero-float-icon {
    width: 42px;
    height: 42px;
    background: var(--te-copper-muted);
    border-radius: var(--te-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.te-hero-float strong {
    display: block;
    font-size: 0.85rem;
    color: var(--te-charcoal);
}

.te-hero-float small {
    font-size: 0.72rem;
    color: var(--te-gray-400);
}

.te-hero-float.f1 {
    bottom: -20px;
    left: -20px;
    animation: te-float 4s ease-in-out infinite;
}

.te-hero-float.f2 {
    top: -16px;
    right: -16px;
    animation: te-float 4s ease-in-out infinite 1s;
}

@keyframes te-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.te-marquee-wrap {
    background: var(--te-sand);
    padding: 16px 0;
    overflow: hidden;
}

.te-marquee-track {
    display: flex;
    animation: te-marquee 30s linear infinite;
    width: max-content;
}

.te-marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 32px;
    white-space: nowrap;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--te-charcoal);
    letter-spacing: 0.01em;
}

.te-marquee-item .te-dot {
    width: 6px;
    height: 6px;
    background: var(--te-copper);
    border-radius: 50%;
}

@keyframes te-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.te-services {
    padding: 100px 0;
}

.te-services-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 60px;
}

.te-services-header h2 {
    margin-bottom: 16px;
}

.te-services-header p {
    font-size: 1rem;
}

.te-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.te-service-card {
    background: var(--te-white);
    border: 1px solid var(--te-gray-200);
    border-radius: var(--te-radius-xl);
    padding: 36px 28px;
    transition: all 0.4s var(--te-ease);
    position: relative;
    overflow: hidden;
}

.te-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--te-copper);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--te-ease);
}

.te-service-card:hover::before {
    transform: scaleX(1);
}

.te-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.te-service-icon {
    width: 56px;
    height: 56px;
    background: var(--te-copper-muted);
    border-radius: var(--te-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 1.4rem;
}

.te-service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.te-service-card p {
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 18px;
}

.te-service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.te-service-list li {
    font-size: 0.82rem;
    color: var(--te-gray-500);
    padding-left: 16px;
    position: relative;
}

.te-service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    background: var(--te-copper);
    border-radius: 50%;
}

/* ============================================================
   BUILD PROCESS
   ============================================================ */
.te-build-process {
    padding: 100px 0;
    background: var(--te-charcoal);
    position: relative;
    overflow: hidden;
}

.te-build-process::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 115, 51, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.te-build-process .te-container {
    position: relative;
    z-index: 1;
}

.te-build-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 60px;
}

.te-build-header h2 {
    font-family: var(--te-serif);
    font-weight: 400;
    color: var(--te-white);
    margin-bottom: 16px;
}

.te-build-header h2 em {
    color: var(--te-copper);
    font-style: italic;
}

.te-build-header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.te-build-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.te-build-step {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--te-radius-xl);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s var(--te-ease);
    position: relative;
}

.te-build-step:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(184, 115, 51, 0.2);
    transform: translateY(-4px);
}

.te-build-step-num {
    font-family: var(--te-serif);
    font-size: 2.2rem;
    color: var(--te-copper);
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1;
}

.te-build-step h4 {
    color: var(--te-white);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.te-build-step p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    line-height: 1.7;
}

.te-build-step-connector {
    position: absolute;
    top: 50%;
    right: -12px;
    width: 24px;
    height: 2px;
    background: rgba(184, 115, 51, 0.3);
    z-index: 2;
}

.te-build-step:last-child .te-build-step-connector {
    display: none;
}

/* ============================================================
   PROJECTS
   ============================================================ */
.te-projects {
    padding: 100px 0;
}

.te-projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.te-projects-header-left {
    max-width: 480px;
}

.te-projects-header-left h2 {
    margin-bottom: 12px;
}

.te-projects-header-left p {
    font-size: 0.95rem;
}

.te-projects-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.te-project-card {
    position: relative;
    border-radius: var(--te-radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--te-sand) 0%, var(--te-gray-100) 100%);
    transition: all 0.4s var(--te-ease);
    cursor: pointer;
}

.te-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.te-project-card.te-large {
    grid-row: span 2;
    min-height: 520px;
}

.te-project-card.te-small {
    min-height: 250px;
}

img.te-project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.te-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(26, 26, 26, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}

.te-project-tag {
    display: inline-flex;
    background: var(--te-copper);
    color: var(--te-white);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    width: fit-content;
}

.te-project-overlay h3 {
    color: var(--te-white);
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.te-project-overlay p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ============================================================
   PROPERTY MANAGEMENT
   ============================================================ */
.te-prop-mgmt {
    padding: 100px 0;
    background: var(--te-off-white);
}

.te-pm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.te-pm-content .te-label {
    margin-bottom: 16px;
}

.te-pm-content h2 {
    margin-bottom: 16px;
}

.te-pm-content > p {
    font-size: 0.95rem;
    margin-bottom: 32px;
    line-height: 1.8;
}

.te-pm-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.te-pm-feature {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    background: var(--te-white);
    border-radius: var(--te-radius-lg);
    border: 1px solid var(--te-gray-200);
    transition: all 0.3s var(--te-ease);
}

.te-pm-feature:hover {
    border-color: var(--te-copper);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transform: translateX(4px);
}

.te-pm-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--te-copper-muted);
    border-radius: var(--te-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.te-pm-feature h4 {
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.te-pm-feature p {
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.6;
}

/* Property management visual */
.te-pm-visual {
    position: relative;
}

.te-pm-visual-card {
    background: var(--te-sand);
    border-radius: var(--te-radius-xl);
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.te-pm-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.te-pm-float {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--te-charcoal);
    border-radius: var(--te-radius-lg);
    padding: 20px 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    animation: te-float 4s ease-in-out infinite;
}

.te-pm-float-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.te-pm-float-stat {
    text-align: center;
}

.te-pm-float-stat strong {
    display: block;
    font-family: var(--te-serif);
    font-size: 1.3rem;
    color: var(--te-copper);
    font-weight: 400;
}

.te-pm-float-stat span {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.te-pm-float-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   PARENT COMPANY BANNER
   ============================================================ */
.te-parent-banner {
    padding: 80px 0;
    background: var(--te-sand);
}

.te-parent-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--te-white);
    border: 1px solid var(--te-gray-200);
    border-radius: var(--te-radius-xl);
    padding: 48px;
}

.te-parent-card-content .te-parent-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--te-gray-400);
    margin-bottom: 16px;
}

.te-parent-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.te-parent-card-content p {
    font-size: 0.92rem;
    margin-bottom: 24px;
    line-height: 1.8;
}

.te-parent-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.te-parent-logo-mark {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #C9A84C, #A8882E);
    border-radius: var(--te-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--te-white);
    font-family: var(--te-serif);
    font-size: 1.3rem;
}

.te-parent-logo-text {
    font-weight: 800;
    font-size: 1.1rem;
    color: #0B1426;
}

.te-parent-card-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.te-parent-service {
    background: var(--te-off-white);
    border-radius: var(--te-radius-lg);
    padding: 20px;
    text-align: center;
    transition: all 0.3s var(--te-ease);
}

.te-parent-service:hover {
    background: var(--te-sand);
    transform: translateY(-2px);
}

.te-parent-service .te-ps-icon {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.te-parent-service h4 {
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.te-parent-service p {
    font-size: 0.75rem;
    margin: 0;
    color: var(--te-gray-400);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.te-testimonials {
    padding: 100px 0;
}

.te-test-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 60px;
}

.te-test-header h2 {
    margin-bottom: 16px;
}

.te-test-header p {
    font-size: 1rem;
}

.te-test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.te-test-card {
    background: var(--te-white);
    border: 1px solid var(--te-gray-200);
    border-radius: var(--te-radius-xl);
    padding: 32px 28px;
    transition: all 0.4s var(--te-ease);
}

.te-test-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.te-test-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.te-test-stars span {
    font-size: 0.92rem;
    color: var(--te-copper);
}

.te-test-card blockquote {
    font-size: 0.88rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--te-gray-600);
    margin: 0 0 20px;
    padding: 0;
    border: none;
}

.te-test-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.te-test-avatar {
    width: 40px;
    height: 40px;
    background: var(--te-copper-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--te-serif);
    font-size: 0.95rem;
    color: var(--te-copper-dark);
}

.te-test-info strong {
    display: block;
    font-size: 0.85rem;
    color: var(--te-charcoal);
}

.te-test-info span {
    font-size: 0.75rem;
    color: var(--te-gray-400);
}

/* ============================================================
   CTA HOME
   ============================================================ */
.te-cta-home {
    padding: 100px 0;
    background: var(--te-charcoal);
    position: relative;
    overflow: hidden;
}

.te-cta-home::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 115, 51, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.te-cta-home .te-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.te-cta-content .te-label {
    color: var(--te-copper);
}

.te-cta-content h2 {
    font-family: var(--te-serif);
    font-weight: 400;
    color: var(--te-white);
    margin-bottom: 16px;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.te-cta-content h2 em {
    color: var(--te-copper);
    font-style: italic;
}

.te-cta-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
    max-width: 440px;
    line-height: 1.8;
}

.te-cta-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* CTA form */
.te-cta-form {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--te-radius-xl);
    padding: 36px;
}

.te-cta-form h3 {
    color: var(--te-white);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.te-cta-form > p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
}

.te-cta-form-group {
    margin-bottom: 14px;
}

.te-cta-form-group input,
.te-cta-form-group select,
.te-cta-form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--te-radius);
    font-family: var(--te-font);
    font-size: 0.88rem;
    color: var(--te-white);
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.te-cta-form-group input::placeholder,
.te-cta-form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.te-cta-form-group select {
    appearance: none;
    -webkit-appearance: none;
    color: rgba(255, 255, 255, 0.5);
}

.te-cta-form-group select option {
    background: var(--te-charcoal);
    color: var(--te-white);
}

.te-cta-form-group input:focus,
.te-cta-form-group select:focus,
.te-cta-form-group textarea:focus {
    outline: none;
    border-color: var(--te-copper);
}

.te-cta-form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.te-cta-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.te-cta-form-submit {
    width: 100%;
    margin-top: 6px;
    padding: 14px;
}

/* ============================================================
   ONGOING PROJECT
   ============================================================ */
.te-ongoing-project {
    padding: 100px 0;
    background: var(--te-off-white);
}

.te-ongoing-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 60px;
}

.te-ongoing-header h2 {
    margin-bottom: 16px;
}

.te-ongoing-header p {
    font-size: 1rem;
}

.te-ongoing-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

/* Gallery grid */
.te-ongoing-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.te-ongoing-gallery-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.te-ongoing-gallery-image {
    aspect-ratio: 4 / 3;
    border-radius: var(--te-radius-lg);
    overflow: hidden;
    background: var(--te-sand);
    border: 1px solid var(--te-gray-200);
    transition: all 0.4s var(--te-ease);
}

.te-ongoing-gallery-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.te-ongoing-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.te-ongoing-gallery-image .te-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--te-gray-300);
}

.te-ongoing-gallery-image .te-img-placeholder svg {
    opacity: 0.4;
}

.te-ongoing-gallery-image .te-img-placeholder span {
    font-size: 0.75rem;
    color: var(--te-gray-400);
}

.te-ongoing-gallery-caption {
    font-size: 0.82rem;
    color: var(--te-gray-500);
    font-weight: 500;
    padding-left: 4px;
}

/* Video player */
.te-ongoing-video {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.te-ongoing-video-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--te-radius-xl);
    overflow: hidden;
    background: var(--te-charcoal);
    border: 1px solid var(--te-gray-200);
}

.te-ongoing-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.te-ongoing-video-wrapper .te-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.15);
}

.te-ongoing-video-wrapper .te-img-placeholder span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.25);
}

.te-ongoing-video-caption {
    font-size: 0.82rem;
    color: var(--te-gray-500);
    font-weight: 500;
    padding-left: 4px;
}

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
    .te-hero .te-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .te-hero-visual {
        max-width: 500px;
    }

    .te-services-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .te-build-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .te-build-step-connector {
        display: none;
    }

    .te-projects-grid {
        grid-template-columns: 1fr;
    }

    .te-project-card.te-large {
        min-height: 360px;
        grid-row: span 1;
    }

    .te-ongoing-showcase {
        grid-template-columns: 1fr;
    }

    .te-pm-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .te-parent-card {
        grid-template-columns: 1fr;
    }

    .te-cta-home .te-container {
        grid-template-columns: 1fr;
    }

    .te-test-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
    .te-hero {
        padding: 140px 0 80px;
    }

    .te-hero h1 {
        font-size: 2.2rem;
    }

    .te-hero-proof {
        gap: 20px;
        flex-wrap: wrap;
    }

    .te-hero-float {
        display: none;
    }

    .te-build-steps {
        grid-template-columns: 1fr;
    }

    .te-parent-card {
        padding: 28px;
    }

    .te-parent-card-services {
        grid-template-columns: 1fr;
    }

    .te-cta-form-row {
        grid-template-columns: 1fr;
    }

    .te-pm-float {
        display: none;
    }

    .te-projects-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
    .te-hero {
        padding: 120px 0 60px;
    }

    .te-hero h1 {
        font-size: 1.8rem;
    }

    .te-hero-desc {
        font-size: 0.95rem;
    }

    .te-hero-buttons {
        flex-direction: column;
    }

    .te-hero-proof {
        flex-direction: column;
        gap: 16px;
    }

    .te-services,
    .te-build-process,
    .te-projects,
    .te-prop-mgmt,
    .te-ongoing-project,
    .te-testimonials,
    .te-cta-home {
        padding: 60px 0;
    }

    .te-ongoing-gallery {
        grid-template-columns: 1fr;
    }

    .te-parent-banner {
        padding: 48px 0;
    }

    .te-parent-card {
        padding: 20px;
    }

    .te-cta-form {
        padding: 24px;
    }

    .te-project-card.te-large,
    .te-project-card.te-small {
        min-height: 220px;
    }
}
