/* ===================================
   HOME PAGE (index.html)
   Everything is scoped to body.home, so the shared styles in styles.css
   keep working unchanged for every other page that uses these classes.
   =================================== */
.home {
    --home-ink: #231c20;
    --home-ink-soft: #4a4246;
    --home-muted: #6b6468;
    --home-line: rgba(35, 28, 32, 0.1);
    --home-blush: #fdf5f9;
    --home-pink-deep: #b8007d;
}

/* ---------- Shared type and controls ---------- */
.home .section-header h2,
.home .service-areas-title,
.home .issa-main-title,
.home .company-presentation-title,
.home .intro-text h2,
.home .pet-friendly-title,
.home .process-title,
.home .map-section-header h2 {
    color: var(--home-ink);
    font-size: clamp(2rem, 1.45rem + 1.9vw, 2.9rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.home .section-header p,
.home .service-areas-subtitle {
    font-style: normal;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--home-ink-soft);
}

.home-kicker,
.home .section-label,
.home .section-label-process {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.1rem;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--home-pink-deep);
    background: none;
    padding: 0;
}

.home-kicker::before,
.home .section-label::before,
.home .section-label-process::before {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-pink), var(--light-pink));
}

.home .section-header .home-kicker,
.home .service-areas-header .home-kicker,
.home .issa-section .home-kicker {
    display: flex;
    justify-content: center;
}

.home main .btn-outline {
    padding: 0.95rem 2rem;
    border: 1.5px solid var(--home-ink);
    border-radius: 999px;
    background: transparent;
    color: var(--home-ink);
    font-size: 0.975rem;
}

.home main .btn-outline:hover {
    background: var(--home-ink);
    color: #ffffff;
}

.home .section-cta {
    margin-top: 3rem;
    text-align: center;
}

.home main .btn-text::after {
    content: '\2192';
    transition: transform 0.25s ease;
}

.home main .btn-text:hover {
    transform: none;
}

.home main .btn-text:hover::after {
    transform: translateX(4px);
}

.home main a:focus-visible,
.home main summary:focus-visible {
    outline: 3px solid var(--home-pink-deep);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- Hero ---------- */
.home-eyebrow {
    margin-bottom: 1.1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--home-pink-deep);
}

.home .hero-premium-title {
    font-size: clamp(2.3rem, 1.5rem + 2.9vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin-bottom: 1.25rem;
    text-wrap: balance;
}

.home-hero-lead {
    max-width: 34rem;
    margin-bottom: 1.5rem;
    font-size: 1.1875rem;
    line-height: 1.65;
    color: var(--home-ink-soft);
}

.home-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.75rem;
    padding: 0.5rem 1.1rem 0.5rem 0.9rem;
    border: 1px solid var(--home-line);
    border-radius: 999px;
    background: #ffffff;
    font-size: 0.9375rem;
    line-height: 1.4;
    color: var(--home-ink-soft);
    text-decoration: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-rating strong {
    color: var(--home-ink);
    font-weight: 600;
}

.home-rating:hover {
    border-color: rgba(214, 0, 156, 0.35);
    box-shadow: 0 10px 24px -14px rgba(214, 0, 156, 0.5);
    color: var(--home-ink-soft);
}

.home-rating-stars {
    color: #f2a900;
    font-size: 1rem;
    letter-spacing: 2px;
}

.home .section-header .home-rating {
    margin: 1.5rem 0 0;
}

.home .hero-cta-buttons {
    gap: 0.9rem;
}

.home .btn-call-hero {
    padding: 1.05rem 1.75rem;
    border-width: 1.5px;
    border-radius: 999px;
}

.home-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.75rem;
    margin: 1.9rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.9375rem;
    color: var(--home-ink-soft);
}

.home-hero-points li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.home-hero-points li::before {
    content: '';
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.home-hero-points a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home .quote-form-card {
    border-radius: 24px;
}

.home .quote-form-title {
    font-size: 1.6rem;
}

/* Desktop hero: photo with a dark wash, copy stays in view beside the form.
   Below 769px the shared "image first" mobile hero from styles.css applies. */
@media (min-width: 769px) {
    .home .hero-premium {
        min-height: 0;
        align-items: stretch;
        overflow: clip;
        background:
            linear-gradient(100deg, rgba(24, 17, 21, 0.9) 0%, rgba(24, 17, 21, 0.7) 45%, rgba(24, 17, 21, 0.38) 100%),
            url('../../images/JPEG/herobanner.jpg') center / cover no-repeat;
        background-attachment: scroll;
    }

    .home .hero-premium::before {
        background: radial-gradient(55% 70% at 8% 100%, rgba(214, 0, 156, 0.3), transparent 62%);
        animation: none;
        opacity: 1;
        transform: none;
    }

    .home .hero-premium-content {
        padding: 4.5rem 0 5rem;
    }

    .home .hero-premium-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 4rem;
        align-items: start;
    }

    .home .hero-premium-text {
        position: sticky;
        top: 8.5rem;
        padding-top: 2.5rem;
    }

    .home .hero-premium-title {
        text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
    }

    .home .hero-premium .home-eyebrow {
        color: #f9c7df;
    }

    .home .hero-premium .home-hero-lead {
        color: rgba(255, 255, 255, 0.88);
    }

    .home .hero-premium .home-rating {
        border-color: rgba(255, 255, 255, 0.24);
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.86);
        backdrop-filter: blur(6px);
    }

    .home .hero-premium .home-rating strong {
        color: #ffffff;
    }

    .home .hero-premium .home-rating:hover {
        border-color: rgba(255, 255, 255, 0.55);
        box-shadow: none;
    }

    .home .hero-premium .home-hero-points {
        color: rgba(255, 255, 255, 0.86);
    }

    .home .quote-form-card {
        box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
    }
}

/* Tablet: stack the copy above the form so the form fields keep their width */
@media (min-width: 769px) and (max-width: 1024px) {
    .home .hero-premium-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 3rem;
    }

    .home .hero-premium-text {
        position: static;
        padding-top: 0;
    }

    .home .hero-premium-form {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .home .btn-call-hero {
        border-color: var(--home-ink);
        color: var(--home-ink);
        padding: 0.9rem 1.5rem;
    }

    .home .btn-call-hero:hover {
        background: var(--home-ink);
        color: #ffffff;
    }

    .home-hero-lead {
        font-size: 1.0625rem;
    }
}

/* ---------- Stats band ---------- */
.home .home-stats {
    padding: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--home-line);
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-stat {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 2.6rem 1rem;
    text-align: center;
}

.home-stat + .home-stat {
    border-left: 1px solid var(--home-line);
}

.home-stat strong {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 1.5rem + 1.7vw, 2.9rem);
    font-weight: 600;
    line-height: 1;
    color: var(--home-ink);
}

.home-stat > span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--home-muted);
}

/* ---------- Services ---------- */
.home .services-section {
    padding: 6.5rem 0;
    background: #ffffff;
}

.home .services-grid {
    gap: 2rem;
}

/* main.js sets an inline transform and transition on .service-card and
   .feature-card for its scroll reveal, so hover lift uses `translate` and
   the transition list is forced here. */
.home .service-card,
.home .feature-card {
    transition: opacity 0.6s ease, transform 0.6s ease, translate 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease !important;
}

.home .service-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--home-line);
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(35, 28, 32, 0.04);
}

.home .service-card:hover {
    translate: 0 -6px;
    border-color: rgba(214, 0, 156, 0.25);
    box-shadow: 0 30px 60px -32px rgba(214, 0, 156, 0.4);
}

.home .service-image {
    height: auto;
    aspect-ratio: 4/3;
    border-radius: 0;
}

.home .service-image img {
    display: block;
    transition: transform 0.7s ease;
}

.home .service-card:hover .service-image img {
    transform: scale(1.05);
}

.home .service-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.75rem 1.75rem 2rem;
}

.home .service-card h3 {
    color: var(--home-ink);
    font-size: 1.45rem;
    line-height: 1.25;
    margin-bottom: 0.6rem;
}

.home .service-card p {
    font-size: 0.975rem;
    line-height: 1.7;
    color: var(--home-ink-soft);
    margin-bottom: 1.4rem;
}

.home .service-card .btn-text {
    align-self: flex-start;
    margin-top: auto;
    font-size: 0.9rem;
}

.home .home-service-guide {
    justify-content: center;
    border-color: transparent;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(214, 0, 156, 0.5), transparent 62%),
        #2b2528;
}

.home .home-service-guide .service-content {
    justify-content: center;
    padding: 2.25rem;
}

.home .home-service-guide .home-kicker {
    color: #f9c7df;
}

.home .home-service-guide h3 {
    color: #ffffff;
    font-size: 1.7rem;
}

.home .home-service-guide p {
    color: rgba(255, 255, 255, 0.84);
}

.home .home-service-guide .btn-text {
    margin-top: 0;
    color: #ffffff;
}

.home .home-service-guide .btn-text + .btn-text {
    margin-top: 0.8rem;
    color: #f9c7df;
}

.home .home-service-guide a:focus-visible {
    outline-color: #ffffff;
}

/* ---------- Why choose us ---------- */
.home .why-choose-us {
    padding: 6.5rem 0;
    background: var(--home-blush);
}

.home .features-grid {
    gap: 1.5rem;
}

.home .feature-card {
    padding: 2.25rem;
    border: 1px solid var(--home-line);
    border-radius: 20px;
    background: #ffffff;
    text-align: left;
}

.home .feature-card:hover {
    transform: none;
    translate: 0 -4px;
    border-color: rgba(214, 0, 156, 0.22);
    box-shadow: 0 26px 50px -30px rgba(214, 0, 156, 0.35);
}

.home .feature-icon {
    width: 52px;
    height: 52px;
    margin: 0 0 1.4rem;
    border-radius: 14px;
    background: #fdeaf4;
}

.home .feature-card:hover .feature-icon {
    background: #fbd9ea;
    transform: none;
}

.home .feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-pink);
}

.home .feature-card h3 {
    color: var(--home-ink);
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

.home .feature-card p {
    margin: 0;
    font-size: 0.975rem;
    line-height: 1.7;
    color: var(--home-ink-soft);
}

/* ---------- Meet Daisy / team ---------- */
.home .company-presentation {
    padding: 7rem 0;
    background: #ffffff;
}

.home .company-presentation-intro {
    color: var(--home-ink);
}

.home .intro-section {
    padding: 6.5rem 0;
}

.home .intro-video {
    border-radius: 20px;
}

.home .intro-text .btn {
    align-self: flex-start;
}

/* ---------- Process ---------- */
/* The shared layout gives steps and connectors equal columns, which squeezes
   the step text. Here the connectors get a short fixed track instead. */
@media (min-width: 1025px) {
    .home .process-steps-wrapper {
        grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr);
        align-items: stretch;
    }

    .home .process-step {
        padding: 2.5rem 1.5rem;
    }

    .home .process-connector {
        align-self: center;
        margin: 0;
    }
}

/* ---------- Service areas ---------- */
.home .service-areas-section {
    background: var(--home-blush);
}

.home .service-areas-header {
    max-width: 820px;
    margin: 0 auto 2.75rem;
}

.home .service-areas-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.75rem;
}

.home .service-area-item {
    position: relative;
    padding: 0.7rem 1.1rem;
    border: 1px solid var(--home-line);
    border-radius: 999px;
    box-shadow: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.home .service-area-item:hover {
    transform: none;
    border-color: rgba(214, 0, 156, 0.4);
    box-shadow: 0 12px 26px -16px rgba(214, 0, 156, 0.5);
}

.home .service-area-name {
    color: var(--home-ink);
    font-size: 0.975rem;
}

/* The whole pill is the link target */
.home .service-area-name::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
}

.home .service-areas-cta {
    margin-top: 2rem;
    color: var(--home-ink-soft);
}

/* ---------- ISSA ---------- */
.home .issa-main-title {
    margin-bottom: 2.75rem;
}

.home .issa-stats .stat {
    border: 1px solid var(--home-line);
    border-radius: 16px;
    background: #ffffff;
}

.home .issa-stats .stat strong {
    color: var(--home-ink);
}

/* ---------- FAQ ---------- */
.home .faq-preview {
    padding: 6.5rem 0;
}

.home-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 4.5rem;
    align-items: start;
}

.home .home-faq-layout .section-header {
    position: sticky;
    top: 8.5rem;
    max-width: none;
    margin: 0;
    text-align: left;
}

.home .home-faq-layout .section-header .home-kicker {
    justify-content: flex-start;
}

.home .home-faq-layout .section-header .btn {
    margin-top: 1.25rem;
}

.home .faq-list {
    display: block;
    margin: 0;
    border-top: 1px solid var(--home-line);
}

.home .faq-list .faq-item {
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--home-line);
    border-radius: 0;
    background: none;
    overflow: visible;
}

.home .faq-list .faq-item:hover {
    box-shadow: none;
    transform: none;
}

.home .faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 0;
    list-style: none;
    cursor: pointer;
}

.home .faq-list summary::-webkit-details-marker {
    display: none;
}

.home .faq-list summary::after {
    content: '';
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 1px solid var(--home-line);
    border-radius: 50%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8007d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.home .faq-list details[open] summary::after {
    transform: rotate(45deg);
    background-color: #fdeaf4;
}

.home .faq-list .faq-item h3 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.35;
    color: var(--home-ink);
    transition: color 0.25s ease;
}

.home .faq-list summary:hover h3 {
    color: var(--home-pink-deep);
}

.home .faq-list .faq-item p {
    margin: 0;
    padding: 0 3.5rem 1.6rem 0;
    color: var(--home-ink-soft);
}

/* ---------- Map ---------- */
.home .map-section-header {
    text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .home .services-grid,
    .home .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-faq-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .home .home-faq-layout .section-header {
        position: static;
    }
}

@media (max-width: 768px) {
    .home-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-stat {
        padding: 1.9rem 0.75rem;
    }

    .home-stat:nth-child(3) {
        border-left: 0;
    }

    .home-stat:nth-child(n + 3) {
        border-top: 1px solid var(--home-line);
    }

    .home .services-section,
    .home .why-choose-us,
    .home .faq-preview,
    .home .intro-section {
        padding: 4.5rem 0;
    }

    .home .company-presentation {
        padding: 4.5rem 0;
    }

    .home .service-areas-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home .faq-list .faq-item p {
        padding-right: 0;
    }
}

@media (max-width: 600px) {
    .home .services-grid,
    .home .features-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home .feature-card {
        padding: 1.75rem;
    }

    .home .faq-list .faq-item h3 {
        font-size: 1.125rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home .service-card,
    .home .feature-card,
    .home .service-image img,
    .home .faq-list summary::after {
        transition: none !important;
    }

    .home .service-card:hover,
    .home .feature-card:hover {
        translate: none;
    }

    .home .service-card:hover .service-image img {
        transform: none;
    }
}
