/* ============================================
   VEER - Reference Design Styles (Homepage)
   ============================================ */

/* White navbar on home */
.ref-design .veer-navbar {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(10,46,115,0.06);
    padding: 8px 0;
}
.ref-design .veer-navbar .brand-text strong { color: var(--primary); }
.ref-design .veer-navbar .brand-text small { color: var(--gray); }
.ref-design .veer-navbar .nav-link { color: var(--dark); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; }
.ref-design .veer-navbar .nav-link:hover, .ref-design .veer-navbar .nav-link.active { color: var(--secondary); }
.ref-design .veer-navbar .btn-nav-call { background: var(--bg); color: var(--primary); border-color: var(--gray-light); }
.ref-design body.has-topbar .veer-navbar { top: 36px; }
.ref-design .brand-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(145deg, var(--primary) 55%, var(--secondary) 55%);
    border: 2px solid rgba(255,255,255,0.9);
    box-shadow: 0 4px 14px rgba(10,46,115,0.2);
}

/* ---- DESKTOP HERO ---- */
.ref-hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ref-hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center 30%;
    transform: scale(1.02);
}
.ref-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.75) 42%, rgba(10,46,115,0.25) 70%, rgba(10,46,115,0.45) 100%);
}
.ref-hero-wrap {
    padding: 32px 0 48px;
}

.ref-hero-label {
    display: inline-block;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.ref-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.08;
    margin-bottom: 18px;
    text-transform: uppercase;
}
.ref-hero-title span { color: var(--secondary); }

.ref-hero-desc {
    font-size: 16px;
    color: var(--gray);
    max-width: 520px;
    margin-bottom: 28px;
    line-height: 1.75;
}

.ref-hero-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 32px;
    max-width: 520px;
}
.ref-hero-icon-item { text-align: center; }
.ref-icon-circle {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-light);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 8px;
    color: var(--primary);
    font-size: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.ref-hero-icon-item:hover .ref-icon-circle {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-4px);
}
.ref-hero-icon-item span { font-size: 11px; font-weight: 600; color: var(--dark); line-height: 1.3; display: block; }

.ref-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.ref-btn-call {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 28px; border-radius: 50px;
    background: var(--primary);
    color: var(--white); font-weight: 700; font-size: 15px;
    box-shadow: 0 6px 24px rgba(10,46,115,0.35);
}
.ref-btn-call:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); }
.ref-btn-wa {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 28px; border-radius: 50px;
    background: #25D366;
    color: var(--white); font-weight: 700; font-size: 15px;
    box-shadow: 0 6px 24px rgba(37,211,102,0.35);
}
.ref-btn-wa:hover { background: #1fb855; color: var(--white); transform: translateY(-2px); }

/* Glass panel */
.ref-hero-panel {
    background: rgba(10,46,115,0.82);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 28px 24px;
    max-width: 320px;
    margin-left: auto;
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.ref-panel-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 0;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ref-panel-item:last-child { border-bottom: none; }
.ref-panel-item i { color: var(--secondary); font-size: 18px; width: 24px; text-align: center; }

/* Experience seal */
.ref-experience-seal {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 130px; height: 130px;
    z-index: 4;
}
.seal-inner {
    width: 100%; height: 100%;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffd700, #ffaa00);
    border: 5px solid var(--primary);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    animation: sealPulse 3s ease-in-out infinite;
}
.seal-inner strong { font-family: var(--font-display); font-size: 32px; font-weight: 900; color: var(--primary); line-height: 1; }
.seal-inner span { font-size: 9px; font-weight: 800; color: var(--primary); letter-spacing: 0.5px; line-height: 1.2; margin-top: 2px; }
@keyframes sealPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.ref-quick-services {
    position: absolute;
    right: 0;
    bottom: -20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ref-quick-svc {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
    border-left: 3px solid var(--secondary);
}
.ref-quick-svc i { color: var(--secondary); font-size: 16px; }
.ref-quick-svc:hover { transform: translateX(-6px); color: var(--secondary); }

/* Trust Strip */
.ref-trust-strip {
    background: var(--primary);
    padding: 18px 0;
}
.ref-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.ref-trust-item {
    display: flex; align-items: center; gap: 12px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    justify-content: center;
    text-align: center;
}
.ref-trust-item i { color: var(--secondary); font-size: 22px; flex-shrink: 0; }

/* Stats Bar */
.ref-stats-bar {
    background: var(--white);
    padding: 28px 0;
    border-bottom: 1px solid var(--gray-light);
}
.ref-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.ref-stat-box {
    text-align: center;
    padding: 16px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.ref-stat-box:hover { background: var(--bg); transform: translateY(-4px); }
.ref-stat-box i { font-size: 28px; color: var(--secondary); margin-bottom: 8px; display: block; }
.ref-stat-box strong { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--primary); }
.ref-stat-box span { font-size: 12px; color: var(--gray); font-weight: 600; }

/* Service Cards Reference */
.ref-service-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.ref-svc-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    background: var(--white);
}
.ref-svc-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(10,46,115,0.15); }

.ref-svc-head { padding: 28px 28px 20px; color: var(--white); }
.ref-svc-blue .ref-svc-head { background: linear-gradient(135deg, var(--primary) 0%, #1a4a9e 100%); }
.ref-svc-orange .ref-svc-head { background: linear-gradient(135deg, var(--secondary) 0%, #ff9a3c 100%); }

.ref-svc-head h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.ref-svc-head ul { margin: 0 0 16px; padding: 0; }
.ref-svc-head li {
    padding: 5px 0;
    font-size: 14px;
    display: flex; align-items: center; gap: 10px;
}
.ref-svc-head li i { opacity: 0.9; }

.ref-svc-mini-icons {
    display: flex; flex-wrap: wrap; gap: 10px;
}
.ref-svc-mini-icons span {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
}

.ref-svc-body {
    padding: 0;
    position: relative;
}
.ref-svc-body img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}
.ref-svc-btn {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 16px;
    padding: 11px 24px;
    border-radius: 50px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
}
.ref-svc-orange .ref-svc-btn-light { background: var(--secondary); }
.ref-svc-btn:hover { color: var(--white); transform: translateX(4px); }

/* About + Founder */
.ref-about-row {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 48px;
}
.ref-founder-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}
.ref-founder-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.ref-founder-badge {
    position: absolute;
    bottom: 0px;
    right: -26px;
    background: var(--secondary);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.ref-founder-badge strong { display: block; font-size: 24px; font-weight: 900; }
.ref-founder-badge span { font-size: 11px; font-weight: 600; opacity: 0.9; }

.ref-about-mini-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 24px 0;
}
.ref-about-mini-stats div {
    background: var(--white);
    padding: 14px 10px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}
.ref-about-mini-stats strong { display: block; font-size: 15px; font-weight: 800; color: var(--secondary); }
.ref-about-mini-stats span { font-size: 10px; color: var(--gray); font-weight: 600; text-transform: uppercase; }

.ref-why-section { padding-top: 20px; border-top: 1px solid var(--gray-light); }
.ref-why-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
    text-align: center;
}
.ref-why-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.ref-why-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 12px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}
.ref-why-item:hover { transform: translateY(-6px); border-color: var(--secondary); }
.ref-why-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    background: rgba(10,46,115,0.06);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px;
    color: var(--primary);
    font-size: 22px;
    transition: var(--transition);
}
.ref-why-item:hover .ref-why-icon { background: var(--secondary); color: var(--white); }
.ref-why-item span { font-size: 12px; font-weight: 700; color: var(--dark); line-height: 1.3; display: block; }

/* Map Banner */
.ref-map-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 32px 0;
}
.ref-map-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.ref-map-text small {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 6px;
}
.ref-map-text h4 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
}
.ref-map-text h4 span { color: var(--secondary); }
.ref-map-visual {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--secondary);
}
.ref-map-visual > i { font-size: 48px; opacity: 0.8; }
.ref-map-pins { display: flex; flex-wrap: wrap; gap: 8px; }
.ref-map-pins span {
    padding: 6px 14px;
    background: rgba(255,255,255,0.12);
    border-radius: 50px;
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Process Flow */
.ref-process-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px;
}
.ref-process-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 80px;
    position: relative;
}
.ref-process-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--secondary);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 10px;
    transition: var(--transition);
}
.ref-process-node:hover .ref-process-circle { background: var(--secondary); color: var(--white); transform: scale(1.1); }
.ref-process-node > span { font-size: 11px; font-weight: 700; color: var(--primary); text-align: center; line-height: 1.3; }
.ref-process-arrow {
    position: absolute;
    right: -8px;
    top: 20px;
    color: var(--secondary);
    font-size: 12px;
}

.ref-quote-card {
    background: linear-gradient(160deg, var(--primary) 0%, #0d3d8f 100%);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 120px;
}
.ref-quote-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.ref-quote-card p { font-size: 14px; opacity: 0.8; margin-bottom: 24px; }
.ref-quote-phone {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 24px;
    border-radius: 50px;
    background: var(--secondary);
    color: var(--white);
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 8px 28px rgba(255,122,0,0.4);
    margin-bottom: 16px;
}
.ref-quote-phone:hover { color: var(--white); transform: scale(1.03); }
.ref-quote-link { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 600; }
.ref-quote-link:hover { color: var(--secondary); }

/* Projects Row */
.ref-projects-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.ref-project-thumb {
    border-radius: 14px;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.ref-project-cta {
    background: linear-gradient(160deg, var(--primary), var(--primary-light));
    border-radius: 14px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}
.ref-project-cta h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; line-height: 1.4; }
.ref-cta-call {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    background: var(--secondary);
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
}
.ref-cta-call:hover { color: var(--white); transform: scale(1.05); }

.ref-feature-bar { margin-top: 0; padding: 40px 0; }
.ref-feature-bar .feature-bar-inner { margin-top: 0; }

/* Contact Section Dark */
.ref-contact-section {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 80px 0;
}
.ref-contact-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 28px;
}
.ref-contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 32px; }
.ref-contact-side { color: var(--white); }
.ref-contact-side h4 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.ref-contact-list > div {
    display: flex; gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.ref-contact-list i {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    color: var(--secondary);
    flex-shrink: 0;
}
.ref-contact-list small { display: block; font-size: 11px; opacity: 0.6; margin-bottom: 2px; }
.ref-contact-list a, .ref-contact-list span { color: var(--white); font-weight: 600; font-size: 15px; }

.ref-why-checklist {
    margin: 28px 0;
    padding: 20px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
}
.ref-why-checklist h5 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.ref-why-checklist li {
    padding: 6px 0;
    font-size: 14px;
    display: flex; align-items: center; gap: 10px;
}
.ref-why-checklist li i { color: var(--secondary); }

.ref-warranty-seal {
    display: flex; align-items: center; gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    border-radius: var(--radius);
    color: var(--primary);
}
.ref-warranty-seal i { font-size: 40px; }
.ref-warranty-seal strong { display: block; font-size: 24px; font-weight: 900; line-height: 1; }
.ref-warranty-seal span { font-size: 13px; font-weight: 700; }

.ref-trust-values { background: var(--white); }
.ref-testimonial-card { border: none; box-shadow: var(--shadow-lg); }

/* Tablet adjustments */
@media (max-width: 1199px) {
    .ref-hero-icons { grid-template-columns: repeat(2, 1fr); }
    .ref-quick-services { display: none; }
    .ref-why-grid { grid-template-columns: repeat(3, 1fr); }
    .ref-projects-row { grid-template-columns: repeat(3, 1fr); }
    .ref-stats-grid { grid-template-columns: repeat(3, 1fr); }
    .ref-about-row { grid-template-columns: 280px 1fr; }
    .ref-process-flow { gap: 8px; }
}

@media (max-width: 991px) {
    .ref-service-cards { grid-template-columns: 1fr; }
    .ref-about-row { grid-template-columns: 1fr; }
    .ref-founder-img img { height: 320px; }
    .ref-why-grid { grid-template-columns: repeat(2, 1fr); }
    .ref-trust-grid { grid-template-columns: 1fr; gap: 12px; }
    .ref-trust-item { justify-content: flex-start; text-align: left; }
    .ref-map-inner { flex-direction: column; text-align: center; }
    .ref-projects-row { grid-template-columns: repeat(2, 1fr); }
    .ref-project-cta { grid-column: 1 / -1; }
}
