/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --accent-color: #BA80A6;
    --hover-color: #C4519B;
    --bg-color: #FDFDFD;
    /* neutral light background */
    --text-color: #333333;
    --text-light: #666666;
    --card-bg: #F7E6F0;
    --border-color: #EAEAEA;
    --border-radius: 10px;
    --max-width: 1280px;
    --header-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h1 {
    font-size: 2.75rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    line-height: 1.2;
}

h3 {
    font-size: 1.75rem;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    letter-spacing: -0.01em;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--hover-color);
    color: #FFFFFF;
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
    color: var(--text-color);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background-color: rgba(253, 253, 253, 0.95);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0 auto;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-phone {
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
}

.header-phone:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* Mobile Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
}

/* Layout */
.main-content {
    flex: 1;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 2rem;
}

section {
    margin-bottom: 5rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: transparent;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    margin-bottom: 1rem;
}

.card-content a {
    margin-top: auto;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* FAQ */
.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background-color: #fff;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: #F2F2F2;
    padding: 3rem 0 1rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-col {
    flex: 0 1 250px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-light);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem 0 2rem;
    text-align: center;
    border-top: 1px solid #E0E0E0;
    color: #888888;
    font-size: 0.875rem;
}

/* Price List */
.price-list-section {
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.price-category {
    margin-bottom: 3rem;
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
}

.price-category h2 {
    color: var(--accent-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--card-bg);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.price-item:last-child {
    border-bottom: none;
}

.price-item-info h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.price-item-info p {
    margin: 0;
    font-size: 0.95rem;
}

.price-item-value {
    text-align: right;
}

.price-item-value .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.price-item-value .unit {
    font-size: 0.85rem;
    color: var(--text-light);
}

.price-notes {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.price-notes p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-color);
}

.price-notes p:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .price-item-value {
        text-align: left;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        flex-direction: column;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        gap: 1.5rem;

        /* Smooth wipe from top animation */
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        padding-top: 0;
        padding-bottom: 0px;
        transition: max-height 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
            padding 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
            opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .nav.active {
        max-height: 800px;
        padding-top: 2rem;
        padding-bottom: 2rem;
        opacity: 1;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dropbtn {
        width: 100%;
        justify-content: center;
    }

    .header-cta {
        flex-direction: column;
    }

    .hamburger {
        display: block;
    }
}

/* Sleek UI & Animations */
.card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.btn {
    box-shadow: 0 4px 6px rgba(186, 128, 166, 0.2);
    transition: all 0.3s ease;
}

.btn:hover {
    box-shadow: 0 6px 15px rgba(196, 81, 155, 0.4);
    transform: translateY(-2px);
}

/* Animations Elements */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropbtn::after {
    content: '▾';
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 0.9em;
}

@media (hover: hover) {
    .dropdown:hover .dropbtn::after {
        transform: rotate(180deg);
    }
}

.dropdown.active .dropbtn::after {
    transform: rotate(180deg);
}

.dropdown-content {
    visibility: hidden;
    position: absolute;
    background-color: #FFFFFF;
    min-width: 220px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    z-index: 1000;
    top: calc(100% + 15px);
    left: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 18px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-content a:hover {
    background-color: var(--card-bg);
    color: var(--accent-color);
    padding-left: 24px;
}

@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        visibility: visible;
        transform: none;
        display: block;
        background-color: var(--bg-color);
        border-radius: 0;

        /* Smooth Mobile Accordion Animation CSS */
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 0;
        transition: max-height 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
            opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
            margin-top 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .dropdown.active .dropdown-content {
        max-height: 300px;
        opacity: 1;
        margin-top: 10px;
    }

    .dropdown-content a {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    .dropdown-content a:hover {
        padding-left: 0;
    }
}

/* Home Page Components */

/* Split Hero */
.split-hero {
    display: flex;
    align-items: center;
    gap: 4rem;
    text-align: left;
    padding: 2rem 0;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.75rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #111111;
}

.hero-text p {
    font-size: 1.25rem;
    margin: 0 0 2rem 0;
    max-width: 500px;
    font-weight: 400;
    color: #555555;
    line-height: 1.65;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Outline button */
.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--hover-color);
}

/* Placeholder card for Hero */
.placeholder-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 3rem;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.ph-line {
    background-color: rgba(186, 128, 166, 0.2);
    height: 16px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.ph-line.short {
    width: 40%;
}

.ph-line.medium {
    width: 70%;
}

.ph-line.long {
    width: 100%;
}

/* Trust Items */
.trust-points {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 4rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-item .icon {
    font-size: 1.25rem;
    opacity: 0.8;
}

.trust-item p {
    margin: 0;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
}

/* How it works */
.how-it-works {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    text-align: center;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    border-radius: var(--border-radius);
    background: var(--bg-color);
    padding: 2.5rem 1.5rem;
    border: 1px solid var(--border-color);
}

.step-num {
    width: 48px;
    height: 48px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-weight: 600;
    font-size: 1.25rem;
}

.step p {
    font-weight: 500;
    margin: 0;
    color: var(--text-color);
}

/* FAQ Accordion */
.faq-accordion .accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion details {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    padding: 1.25rem 1.5rem;
    transition: box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.accordion details:hover,
.accordion details[open] {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
}

.accordion summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    line-height: 1;
}

.accordion details[open]:not(.closing) summary::after {
    transform: rotate(45deg);
}

.accordion details p {
    margin-top: 1rem;
    margin-bottom: 0;
    color: var(--text-light);
}

/* Animate the answer content fading and sliding in */
.accordion details[open] p {
    animation: accordionSlideDown 0.7s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Keyframe for the slide/fade effect */
@keyframes accordionSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Band */
.cta-band {
    background-color: var(--card-bg);
    padding: 5rem 2rem;
    text-align: center;
    border-radius: var(--border-radius);
}

.cta-band-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-phone {
    font-weight: 600;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .main-content {
        padding: 2rem 1.5rem;
    }

    section {
        margin-bottom: 3.5rem;
    }

    .split-hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 1rem 0;
    }

    .hero-text h1 {
        font-size: 2.25rem !important;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1.15rem !important;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn,
    .hero-cta .btn-outline {
        width: 100%;
        text-align: center;
    }

    .trust-points {
        padding: 1.5rem 0;
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }

    .trust-item {
        width: 100%;
        justify-content: center;
    }

    /* Force inline layout blocks to stack */
    section[style*="display: flex"] {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    section>div[style*="flex: 1"],
    section>aside[style*="width:"] {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }

    /* Standardize Sticky Sidebar to static on mobile */
    aside[style*="position: sticky"] {
        position: static !important;
        margin-top: 1rem !important;
        padding: 2rem 1.5rem !important;
    }

    /* Typography scaling for mobile */
    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    /* Footer Cleanup */
    .footer {
        padding: 3rem 0 1rem 0;
    }

    .footer-container {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-col {
        flex: 1 1 100%;
    }

    /* CTA Band cleanup */
    .cta-band {
        padding: 3rem 1.5rem;
    }

    .cta-band-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-band-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 1.25rem;
    }

    .main-content {
        padding: 1.5rem 1rem;
    }

    .hero-text h1 {
        font-size: 2rem !important;
    }

    .accordion details {
        padding: 1rem;
    }

    .card-content {
        padding: 1.5rem;
    }
}