:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --background-color: #0D0E12;
    --card-bg-color: #17191F;
    --text-main-color: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
}

.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* Main text color for dark body background */
    background-color: var(--background-color); /* Ensure consistency if main is not full-width */
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-about__section {
    padding: 60px 0;
    text-align: center;
}

.page-about__section--introduction {
    background-color: var(--background-color);
}

.page-about__section--history {
    background-color: var(--card-bg-color);
}

.page-about__dark-section {
    background: var(--card-bg-color); /* Using card background for dark sections */
    color: var(--text-main-color);
}

.page-about__section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.page-about__section-title--light {
    color: var(--text-main-color);
}

.page-about__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main-color);
}

.page-about__text-block--light {
    color: var(--text-main-color);
}

.page-about__highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--background-color);
}

.page-about__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-about__hero-section img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 30px;
    min-width: 200px; /* Min size constraint */
    min-height: 200px; /* Min size constraint */
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.page-about__main-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-main-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 140, 26, 0.5);
    /* No fixed font-size for H1, relying on clamp if needed later, but for now just weight/color */
}

.page-about__hero-description {
    font-size: 19px;
    color: var(--text-main-color);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-about__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 150px; /* Ensure buttons are not too small */
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__cta-button--primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: #ffffff;
    border: none;
}

.page-about__cta-button--secondary {
    background: var(--card-bg-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-about__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-about__cta-center {
    margin-top: 40px;
    text-align: center;
}

/* Values Grid */
.page-about__values-grid,
.page-about__product-grid,
.page-about__commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__value-card,
.page-about__product-card,
.page-about__commitment-item {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-main-color);
}

.page-about__value-card:hover,
.page-about__product-card:hover,
.page-about__commitment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-about__value-title,
.page-about__product-title,
.page-about__commitment-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-about__value-description,
.page-about__product-description,
.page-about__commitment-description {
    font-size: 16px;
    color: var(--text-main-color);
}

.page-about__product-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Min size constraint */
    min-height: 200px; /* Min size constraint */
}

/* General images */
.page-about__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 40px auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    max-width: 800px;
    min-width: 200px; /* Min size constraint */
    min-height: 200px; /* Min size constraint */
}

.page-about__image--center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-about__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

details.page-about__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg-color);
    color: var(--text-main-color);
}

details.page-about__faq-item summary.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main-color);
}

details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
    display: none;
}

details.page-about__faq-item summary.page-about__faq-question:hover {
    background: rgba(255, 140, 26, 0.1); /* Slight hover effect with primary color */
}

.page-about__faq-qtext {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color);
}

.page-about__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
    padding: 0 20px 20px;
    background: rgba(23, 25, 31, 0.8); /* Slightly lighter card bg for answer */
    border-radius: 0 0 5px 5px;
    color: var(--text-main-color);
}

.page-about__faq-answer p {
    margin: 0;
    font-size: 16px;
    color: var(--text-main-color);
}

.page-about__faq-answer a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Final CTA Section */
.page-about__section--cta-final {
    padding: 80px 0;
    background: linear-gradient(90deg, var(--deep-orange) 0%, var(--primary-color) 100%);
    color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__main-title {
        font-size: 40px;
    }
    .page-about__section-title {
        font-size: 32px;
    }
    .page-about__text-block {
        font-size: 16px;
    }
    .page-about__hero-description {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__hero-section img {
        border-radius: 4px;
        margin-bottom: 20px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-about__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-about__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-about__cta-group {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .page-about__cta-button {
        padding: 12px 20px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-about__section {
        padding: 40px 0;
    }
    .page-about__section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    .page-about__text-block {
        font-size: 15px;
    }
    .page-about__values-grid,
    .page-about__product-grid,
    .page-about__commitment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    .page-about__value-card,
    .page-about__product-card,
    .page-about__commitment-item {
        padding: 20px;
    }
    .page-about__value-title,
    .page-about__product-title,
    .page-about__commitment-title {
        font-size: 20px;
    }
    .page-about__product-image {
        height: 200px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-about__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 5px;
    }
    details.page-about__faq-item summary.page-about__faq-question {
        padding: 15px;
    }
    .page-about__faq-qtext {
        font-size: 15px;
    }
    details.page-about__faq-item .page-about__faq-answer {
        padding: 0 15px 15px;
    }
    .page-about__faq-answer p {
        font-size: 14px;
    }
    .page-about__container {
        padding: 0 15px;
    }
    /* Ensure all images inside page-about are responsive */
    .page-about img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__cta-buttons,
    .page-about__button-group,
    .page-about__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
    }
    .page-about__cta-group {
        display: flex;
        flex-direction: column; /* Mobile buttons stack vertically */
    }
}

@media (max-width: 480px) {
    .page-about__main-title {
        font-size: 28px;
    }
    .page-about__section-title {
        font-size: 24px;
    }
}