/* 
   TITAN INDUSTRY GROUP CO LTD - Stylesheet
   Color Palette:
   - Primary: #1a3a5c (Dark Blue)
   - Secondary: #e8a838 (Orange/Gold)
   - Background: #ffffff (White)
   - Accents: #f4f4f4 (Light Grey)
   - Text: #333333 (Dark Grey)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1a3a5c;
    --secondary-color: #e8a838;
    --secondary-hover: #d1922d;
    --text-color: #333333;
    --light-text: #666666;
    --bg-color: #ffffff;
    --accent-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 40px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #122a44;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.logo img {
    display: block;
    height: auto;
    max-height: 52px;
    width: auto;
    max-width: min(400px, 65vw);
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-color);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
}

/* Products dropdown */
.nav-item-has-submenu {
    position: relative;
}

.nav-parent-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-chevron {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.nav-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 769px) {
    .nav-submenu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background-color: var(--white);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        border: 1px solid var(--border-color);
        border-radius: 6px;
        padding: 8px 0;
        display: none;
        z-index: 1002;
    }

    /* Invisible bridge so the pointer can reach submenu without losing :hover */
    .nav-submenu::before {
        content: "";
        position: absolute;
        top: -12px;
        left: 0;
        right: 0;
        height: 12px;
    }

    .nav-item-has-submenu:hover .nav-submenu,
    .nav-item-has-submenu:focus-within .nav-submenu,
    .nav-item-has-submenu.is-open .nav-submenu {
        display: block;
    }

    .nav-item-has-submenu:hover .nav-chevron,
    .nav-item-has-submenu:focus-within .nav-chevron,
    .nav-item-has-submenu.is-open .nav-chevron {
        transform: rotate(180deg);
    }

    .nav-submenu a {
        display: block;
        padding: 10px 20px;
        white-space: nowrap;
    }

    .nav-submenu a.active {
        background-color: var(--accent-bg);
        color: var(--secondary-color);
    }
}

/* Branded TiO₂ page */
.agent-intro-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.agent-highlight-card {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid var(--secondary-color);
    text-align: center;
}

.agent-highlight-card i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.agent-highlight-card h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.agent-highlight-card p {
    color: var(--light-text);
    font-size: 15px;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--primary-color);
    padding: 8px;
    line-height: 1;
}

.mobile-menu-btn:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Hero Section (homepage) */
.hero {
    background: linear-gradient(rgba(26, 58, 92, 0.8), rgba(26, 58, 92, 0.8)), url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
    min-height: clamp(280px, 38vh, 440px);
    padding: 48px 0;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

/* Page section headers (home + inner pages) */
.page-section-header,
.home-section-header {
    text-align: center;
    margin-bottom: 28px;
}

.page-section-header h1,
.page-section-header h2,
.home-section-header h2 {
    color: var(--primary-color);
    font-size: 30px;
    margin: 0;
    line-height: 1.25;
}

.page-title {
    color: var(--primary-color);
    font-size: 30px;
    margin: 0;
    line-height: 1.25;
}

.page-intro,
.page-section-desc,
.home-section-desc {
    color: var(--light-text);
    max-width: 720px;
    margin: 12px auto 0;
}

.page-section-header .btn,
.home-section-header .btn {
    margin-top: 16px;
}

.legal-page .legal-body {
    max-width: 720px;
    margin: 32px auto 0;
    text-align: left;
}

.legal-heading {
    color: var(--primary-color);
    font-size: 22px;
    margin: 28px 0 12px;
    line-height: 1.3;
}

.legal-list {
    margin: 0 0 16px 1.25rem;
    padding: 0;
}

.legal-list li {
    margin-bottom: 8px;
}

.legal-back {
    margin-top: 32px;
}

.form-privacy-note {
    font-size: 13px;
    color: var(--light-text);
    margin: 12px 0 0;
    line-height: 1.5;
}

.form-privacy-note a {
    color: var(--primary-color);
    text-decoration: underline;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 1.3;
}

.section-title--category {
    border-left: 5px solid var(--secondary-color);
    padding-left: 15px;
}

.panel-title {
    margin-bottom: 20px;
}

.product-hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product-detail h1 {
    color: var(--primary-color);
    font-size: 36px;
    margin: 10px 0 16px;
    line-height: 1.2;
}

.product-lead {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 20px;
}

.product-applications {
    margin-bottom: 20px;
}

.product-applications h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.product-cta-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.product-cta-row .btn {
    flex: 1 1 0;
    min-width: 12rem;
    text-align: center;
}

.product-page-block {
    margin-top: 48px;
}

.product-page-block--tight {
    margin-top: 40px;
}

.product-grid--section {
    margin-bottom: 40px;
}

.about-intro-grid {
    align-items: stretch;
}

.about-intro-grid .page-title {
    text-align: center;
    margin-bottom: 16px;
}

.about-intro-lead {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 16px;
}

.about-stats-intro {
    max-width: 800px;
    margin: 0 auto 28px;
}

main:has(> .hero) .home-section-intro {
    margin-top: 12px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(28px, 4.2vw, 42px);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(16px, 2vw, 18px);
    margin-bottom: 16px;
    line-height: 1.5;
    opacity: 0.9;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 12px;
    max-width: 720px;
    margin: 0 auto 24px;
    padding: 10px 16px;
    font-size: clamp(13px, 1.6vw, 15px);
    line-height: 1.4;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    opacity: 1;
}

.hero-trust-divider {
    opacity: 0.65;
}

@media (max-width: 600px) {
    .hero-trust-divider {
        display: none;
    }
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Features/Advantages */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 0;
}

.features-grid--supply {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.supply-solutions-section {
    background-color: var(--accent-bg);
}

.feature-card {
    background: var(--white);
    padding: 22px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--secondary-color);
}

.feature-card i {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Industry partners (home) */
.partners-section {
    background-color: var(--accent-bg);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.partner-logo:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.partner-logo img {
    display: block;
    width: 100%;
    max-width: 220px;
    max-height: 72px;
    object-fit: contain;
    object-position: center;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-hero-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 6 / 5;
    max-height: 500px;
    border-radius: 8px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
}

.product-hero-image.is-placeholder::after {
    content: attr(data-sku) " — product image";
    font-weight: bold;
    color: #999;
    text-align: center;
    padding: 20px;
}

.product-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Card headers: icons + label (no packaging photos on list/home) */
.product-img--category,
.product-img--sku {
    flex-direction: column;
    gap: 14px;
    background: linear-gradient(160deg, #f0f4f8 0%, #e8ecf1 100%);
    border-bottom: 1px solid var(--border-color);
}

.product-img--category i,
.product-img--sku i {
    font-size: 52px;
    color: var(--secondary-color);
    line-height: 1;
}

.product-img--category span {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--primary-color);
}

.product-img--sku span {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--primary-color);
}

.product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px;
}

.product-info > .btn {
    margin-top: auto;
    width: 100%;
}

.product-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-bg);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 10px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-specs {
    margin: 15px 0;
    font-size: 14px;
}

.product-specs li {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 40px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--primary-color);
    color: var(--white);
}

tr:nth-child(even) {
    background-color: var(--accent-bg);
}

.product-model-link {
    color: var(--primary-color);
    text-decoration: none;
}

.product-model-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.faq-question {
    padding: 20px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--accent-bg);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(180px, 1.35fr) repeat(3, minmax(150px, 1fr)) minmax(120px, auto);
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-col-qr {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-qr {
    display: block;
    max-width: 150px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 18px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-col ul li a.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.92);
}

.footer-col ul li a.footer-contact-link:hover {
    color: var(--secondary-color);
    padding-left: 0;
}

.footer-email-group {
    margin-bottom: 14px;
}

.footer-email-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 4px;
}

.contact-info-card a {
    color: var(--secondary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-info-card a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 0;
    background: var(--accent-bg);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--light-text);
}

.breadcrumbs span {
    margin: 0 10px;
    color: #ccc;
}

/* Home / contact section intros */
.home-section-intro,
.contact-page-intro {
    color: var(--light-text);
    margin: 20px auto 0;
    max-width: 800px;
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .contact-page-intro {
        max-width: none;
        white-space: nowrap;
    }
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: stretch;
}

/* Prevent wide product hero images from blowing out grid tracks */
.contact-wrapper > * {
    min-width: 0;
}

@media (min-width: 769px) {
    .contact-wrapper.about-intro-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-card,
.contact-form-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-form-container form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form-container .form-group-grow {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.contact-form-container .form-group-grow textarea {
    flex: 1;
    min-height: 120px;
    resize: vertical;
}

.contact-info-card {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
}

.contact-info-item {
    margin-bottom: 24px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item h5 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.contact-email-entry {
    margin-bottom: 18px;
}

.contact-email-entry:last-child {
    margin-bottom: 0;
}

.contact-email-entry h5 {
    margin-bottom: 6px;
}

.contact-email-entry p {
    margin: 0;
}

.contact-info-card .panel-title {
    color: var(--white);
    font-size: 22px;
}

.contact-form-container .panel-title {
    color: var(--primary-color);
    font-size: 22px;
}

.map-section {
    width: 100%;
    line-height: 0;
}

.map-section img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
}

.form-group {
    margin-bottom: 20px;
}

.honeypot {
    display: none !important;
}

.form-alert {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 4px;
    background: #fdecea;
    border: 1px solid #e8a838;
    color: #7a1f1f;
    font-size: 15px;
}

.form-captcha {
    min-height: 78px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
}

/* Download page document list */
.download-file-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.download-file-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border-color);
    max-width: 100%;
}

.download-file-info {
    flex: 1 1 12rem;
    min-width: 0;
    max-width: 100%;
}

.download-file-item:first-child {
    border-top: 1px solid var(--border-color);
}

.download-file-title {
    margin: 0 0 6px;
    color: var(--primary-color);
    font-size: 20px;
    overflow-wrap: break-word;
}

.download-file-meta {
    margin: 0;
    color: var(--light-text);
    font-size: 14px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 768px) {
    .download-file-item {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 10px;
        padding: 16px 0;
    }

    .download-file-info {
        flex: 0 0 auto;
    }

    .download-file-title {
        margin-bottom: 4px;
        font-size: 18px;
    }

    .download-file-meta {
        line-height: 1.45;
    }

    .download-file-item .btn {
        width: 100%;
        max-width: 100%;
        margin-top: 2px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* Product page TDS request modal */
.tds-request-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tds-request-modal[hidden] {
    display: none !important;
}

.tds-request-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 58, 92, 0.55);
}

.tds-request-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: min(90vh, 720px);
    overflow-y: auto;
    padding: 28px 28px 24px;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.tds-request-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--light-text);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.tds-request-modal-close:hover,
.tds-request-modal-close:focus {
    background: var(--accent-bg);
    color: var(--primary-color);
}

.tds-request-title {
    margin: 0 36px 12px 0;
    color: var(--primary-color);
    font-size: 24px;
}

.tds-request-intro {
    margin-bottom: 16px;
    color: var(--light-text);
    font-size: 15px;
}

.tds-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

body.tds-modal-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        height: 64px;
        min-height: 64px;
        position: relative;
    }

    .logo {
        max-height: 64px;
        line-height: 0;
    }

    .logo img {
        height: auto;
        max-height: 42px;
        width: auto;
        max-width: min(220px, 58vw);
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background-color: var(--white);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        border-top: 1px solid var(--border-color);
        z-index: 1001;
    }
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-links li:last-child {
        border-bottom: none;
    }
    .nav-links a {
        display: block;
        padding: 16px 20px;
    }
    .nav-item-has-submenu {
        width: 100%;
    }
    .nav-parent-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 16px 20px;
    }
    .nav-submenu {
        display: none;
        background-color: var(--accent-bg);
    }
    body.nav-open .nav-item-has-submenu .nav-submenu {
        display: block;
    }
    body.nav-open .nav-item-has-submenu .nav-chevron {
        transform: rotate(180deg);
    }
    .nav-submenu li {
        border-bottom: 1px solid var(--border-color);
    }
    .nav-submenu li:last-child {
        border-bottom: none;
    }
    .nav-submenu a {
        padding: 14px 20px 14px 36px;
        font-size: 15px;
    }
    .agent-intro-grid {
        grid-template-columns: 1fr;
    }
    body.nav-open {
        overflow: hidden;
    }
    body.nav-open .nav-links {
        display: flex;
    }
    .hero {
        min-height: clamp(260px, 34vh, 360px);
        padding: 36px 0;
    }

    .hero h1 {
        font-size: 28px;
    }

    .section-padding {
        padding: 32px 0;
    }

    .page-section-header,
    .home-section-header {
        margin-bottom: 20px;
    }

    .page-section-header h1,
    .page-section-header h2,
    .home-section-header h2,
    .page-title {
        font-size: 26px;
    }

    .section-title {
        font-size: 24px;
    }

    .product-detail h1 {
        font-size: 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col-qr {
        margin-top: 8px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form-container form {
        display: block;
    }

    .contact-form-container .form-group-grow {
        display: block;
        flex: none;
    }

    .contact-form-container .form-group-grow textarea {
        min-height: 0;
    }
    .tds-form-grid {
        grid-template-columns: 1fr;
    }

    .tds-request-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .tds-request-modal-dialog {
        width: 100%;
        max-width: 100%;
        max-height: min(82dvh, 560px);
        padding: 14px 14px 12px;
        border-radius: 10px 10px 0 0;
    }

    .tds-request-modal-close {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 24px;
    }

    .tds-request-title {
        font-size: 18px;
        margin: 0 28px 6px 0;
    }

    .tds-request-intro {
        font-size: 13px;
        margin-bottom: 10px;
        line-height: 1.45;
    }

    .tds-request-modal .tds-form-grid {
        gap: 10px;
    }

    .tds-request-modal .form-group {
        margin-bottom: 10px;
    }

    .tds-request-modal .form-group label {
        margin-bottom: 4px;
        font-size: 14px;
    }

    .tds-request-modal .form-control {
        padding: 9px 10px;
        font-size: 16px;
    }

    .tds-request-modal textarea.form-control {
        min-height: 64px;
    }

    .tds-request-modal .form-privacy-note {
        margin: 6px 0 0;
        font-size: 12px;
    }

    .tds-request-modal .tds-request-submit {
        padding: 10px 16px;
        font-size: 15px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .partner-logo {
        padding: 18px 16px;
        min-height: 100px;
    }
}
