/* Clockwise Insurance — Homepage */

/* Break out of .cw-container for full-bleed sections */
.home-full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* ===== HERO ===== */
.home-hero {
    position: relative;
    background: linear-gradient(135deg, #0a1628 0%, #0f2440 25%, #1a3a5c 55%, #1d4ed8 100%);
    color: #fff;
    overflow: hidden;
    padding: 4.5rem 0 5.5rem;
}
.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(59, 130, 246, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 10% 80%, rgba(99, 102, 241, 0.12) 0%, transparent 50%);
    pointer-events: none;
}
.home-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--cw-bg), transparent);
    pointer-events: none;
}
.home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (max-width: 900px) {
    .home-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .home-hero-visual { display: none; }
    .home-hero { padding: 3rem 0 4rem; }
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
}
.home-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
    animation: homePulse 2.5s ease-in-out infinite;
}
@keyframes homePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.home-hero h1 {
    font-family: var(--cw-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 1.25rem;
}
.home-hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #93c5fd, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.home-hero-lead {
    font-size: 1.1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
    margin: 0 0 2rem;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2rem;
}
.home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.home-btn-primary {
    background: #fff;
    color: #0f2440;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.home-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
    text-decoration: none;
    color: #0f2440;
}
.home-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(4px);
}
.home-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    color: #fff;
    transform: translateY(-2px);
}

.home-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.home-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}
.home-trust-pill i { color: #60a5fa; font-size: 0.7rem; }

/* Hero visual card */
.home-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.home-hero-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(12px);
    width: 100%;
    max-width: 380px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}
.home-hero-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}
.home-hero-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 800;
}
.home-hero-card p {
    margin: 0 0 1.25rem;
    font-size: 0.85rem;
    opacity: 0.75;
    line-height: 1.5;
}
.home-hero-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.home-hero-card-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0;
    font-size: 0.82rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.home-hero-card-list li i {
    color: #4ade80;
    font-size: 0.75rem;
}

/* ===== STATS STRIP ===== */
.home-stats-section {
    margin-top: -3rem;
    position: relative;
    z-index: 2;
    padding-bottom: 1rem;
}
.home-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (max-width: 768px) {
    .home-stats { grid-template-columns: 1fr; }
}
.home-stat {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    text-align: center;
    box-shadow: 0 12px 40px rgba(15, 36, 64, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 0.25s, box-shadow 0.25s;
}
.home-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(15, 36, 64, 0.14);
}
.home-stat-value {
    font-family: var(--cw-display);
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--cw-blue);
    line-height: 1;
    letter-spacing: -0.03em;
}
.home-stat-label {
    font-size: 0.82rem;
    color: var(--cw-muted);
    font-weight: 600;
    margin-top: 0.35rem;
}

/* ===== SECTION HEADERS ===== */
.home-section {
    padding: 4.5rem 0;
}
.home-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
    padding: 0 1.25rem;
}
.home-section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cw-blue);
    margin-bottom: 0.65rem;
}
.home-section-title {
    font-family: var(--cw-display);
    font-size: clamp(1.65rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--cw-navy);
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}
.home-section-sub {
    font-size: 1.05rem;
    color: var(--cw-muted);
    margin: 0;
    line-height: 1.6;
}

/* ===== WHY CHOOSE US ===== */
.home-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (max-width: 992px) {
    .home-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .home-why-grid { grid-template-columns: 1fr; }
}
.home-why-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--cw-border);
    transition: all 0.3s;
    text-align: center;
}
.home-why-card:hover {
    border-color: transparent;
    box-shadow: 0 16px 40px rgba(15, 36, 64, 0.1);
    transform: translateY(-4px);
}
.home-why-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}
.home-why-icon.blue { background: #dbeafe; color: #2563eb; }
.home-why-icon.green { background: #dcfce7; color: #16a34a; }
.home-why-icon.purple { background: #ede9fe; color: #7c3aed; }
.home-why-icon.orange { background: #fef3c7; color: #d97706; }
.home-why-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--cw-navy);
}
.home-why-card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--cw-muted);
    line-height: 1.55;
}

/* ===== SERVICES ===== */
.home-services-bg {
    background: linear-gradient(180deg, #fff 0%, #f1f5f9 100%);
}
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (max-width: 992px) {
    .home-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .home-services-grid { grid-template-columns: 1fr; }
}
.home-service-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem 1.75rem;
    border: 1px solid var(--cw-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}
.home-service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent, #2563eb);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}
.home-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(15, 36, 64, 0.12);
    border-color: transparent;
    text-decoration: none;
    color: inherit;
}
.home-service-card:hover::after {
    transform: scaleX(1);
}
.home-service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    background: var(--icon-bg, #dbeafe);
    color: var(--accent, #2563eb);
    transition: transform 0.3s;
}
.home-service-card:hover .home-service-icon {
    transform: scale(1.08);
}
.home-service-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--cw-navy);
}
.home-service-card p {
    margin: 0 0 1.25rem;
    font-size: 0.88rem;
    color: var(--cw-muted);
    line-height: 1.55;
}
.home-service-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent, #2563eb);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s;
}
.home-service-card:hover .home-service-link {
    gap: 0.6rem;
}

.home-services-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ===== TESTIMONIALS ===== */
.home-testimonials {
    background: var(--cw-navy);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.home-testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.home-testimonials .home-section-eyebrow { color: #60a5fa; }
.home-testimonials .home-section-title { color: #fff; }
.home-testimonials .home-section-sub { color: rgba(255, 255, 255, 0.65); }

.home-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
    .home-testimonials-grid { grid-template-columns: 1fr; }
}
.home-testimonial {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(8px);
    transition: background 0.25s;
}
.home-testimonial:hover {
    background: rgba(255, 255, 255, 0.09);
}
.home-testimonial-stars {
    color: #fbbf24;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.home-testimonial-quote {
    font-size: 1rem;
    line-height: 1.65;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.25rem;
}
.home-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.home-testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
}
.home-testimonial-name {
    font-weight: 700;
    font-size: 0.9rem;
}
.home-testimonial-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ===== BLOG ===== */
.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (max-width: 768px) {
    .home-blog-grid { grid-template-columns: 1fr; }
}
.home-blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--cw-border);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.home-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 36, 64, 0.1);
    text-decoration: none;
    color: inherit;
}
.home-blog-thumb {
    height: 160px;
    background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #2563eb;
    opacity: 0.5;
}
.home-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-blog-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.home-blog-meta {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--cw-blue);
    margin-bottom: 0.5rem;
}
.home-blog-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--cw-navy);
    line-height: 1.35;
}
.home-blog-card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--cw-muted);
    line-height: 1.55;
    flex: 1;
}
.home-blog-read {
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cw-blue);
}

/* ===== CTA BANNER ===== */
.home-cta {
    background: linear-gradient(135deg, #0f2440 0%, #2563eb 100%);
    color: #fff;
    padding: 4rem 1.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.home-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.home-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}
.home-cta h2 {
    font-family: var(--cw-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}
.home-cta p {
    font-size: 1.05rem;
    opacity: 0.82;
    margin: 0 0 2rem;
    line-height: 1.6;
}
.home-cta-actions {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
}
.home-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.75;
}
.home-cta-phone a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.home-cta-phone a:hover {
    text-decoration: underline;
}

/* ===== PARTNERS STRIP ===== */
.home-partners {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--cw-border);
    background: #fff;
}
.home-partners-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
    text-align: center;
}
.home-partners-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--cw-muted);
    margin-bottom: 1.25rem;
}
.home-partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem;
}
.home-partner-item {
    font-size: 0.95rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: -0.01em;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.home-partner-item:hover {
    opacity: 1;
    color: var(--cw-navy);
}
