body {
    background-color: #1D1D1B;
    color: #E6E6E6;
}

/* Testi generici */
p,
span,
li,
a,
div,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #E6E6E6;
}

/* Link */
a {
    color: #E4CE17;
}
a:hover {
    color: #E4E015;
}

/* Bordo e outline generici */
*,
*::before,
*::after {
    border-color: #444;
}

/* Input, textarea, select */
input,
textarea,
select {
    background-color: #2A2A28;
    color: #E6E6E6;
    border: 1px solid #444;
}

input::placeholder,
textarea::placeholder {
    color: #999;
}

/* Pulsanti */
button {
    background-color: #333;
    color: #E6E6E6;
    border: 1px solid #555;
}
button:hover {
    background-color: #444;
}

/* Immagini */
img {
    filter: brightness(0.9);
}

/* Variabili colore adattate al dark 
:root {
    --blue: #6C8CFF;
    --darkblue: #4A6BFF;
    --lightblue: #8FA8FF;
}
*/
/* =========================================================
   DARK MODE – HEADER E MENU
   ========================================================= */

/* Header */
.header {
    background-color: #2A2A28;
    border-bottom: 1px solid #444;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.6);
}

/* Menu box */
.menu-box {
    background-color: #2A2A28;
}

a {
    color: #E4E015; 
    color: #E4CE17;
}  


/* Link del menu */
nav a {
    color: #E6E6E6;
    color: #E4CE17;
}
nav a:hover {
    color: #AFC4FF;
    color: #E4E015;
}

/* Contenitore menu */
ul#menu {
    border-color: #444;
	background-color: #1F1F1D;
}

/* Voci menu principali */
#menu li a,
#menu-1 li a {
    color: #E6E6E6;
    /*
    color: #E4CE17;
    color: #E4E015;
    */
}

#menu-1 li a {
    color: #E6E6E6;
    color: #E4E015;
    color: #E4CE17;
}

#menu li a b {
    color: #E4E015;
    color: #E4CE17;
}

/* Sotto-menu */
#menu ul li a,
#menu-1 ul li a {
	/*
    background-color: #2A2A28;
    color: #E6E6E6;
    border: 1px solid #444;
	*/
    border: 1px solid #444;
    border-color: #232321;
}

/* Hover sotto-menu */
#menu ul li a:hover,
#menu-1 ul li a:hover {
    background-color: #3A3A38;
}

/* Bold nel menu */
#menu b,
#menu-1 b {
    color: #E6E6E6;
}


#menu li:hover ul, #menu-1 li:hover ul {
    background-color: #3A3A38;
    background-color: #232321;
	border-color: #3A3A38;
	
}

hr {
	border-bottom-color: #2A2A28;
}

#menu .expand {
    background-color: #2A2A28;
  }

.grey {
    color: #ABABAB;
}

#menu a:hover {
	text-decoration-color: rgba(255, 255, 255, 0.2);
	text-decoration-color: rgba(228, 206, 23, 0.2);
}

.icon_court  { background-position: 25% 0%; }

input[type="checkbox"]:checked {
  border-color: #E4CE17;
  background: #E4CE17;
}

.subtitle {
    font-weight: 400;
}
.inverted-yellow {
    background: #E4CE17;
    color: #2A2A28;
    padding: 0px 3px;
}

/* =========================================================
   DARK MODE - BLOG ARTICLES
   ========================================================= */

.blog-news {
    line-height: 1.7;
}

.blog-news header {
    margin-bottom: 2rem;
}

.blog-news nav,
.blog-news section,
.blog-news aside {
    margin-top: 2.5rem;
}

.blog-news h1 {
    line-height: 1.15;
    text-wrap: balance;
}

.blog-news h2,
.blog-news .blog-heading {
    color: #fff;
    text-wrap: balance;
}

.blog-news ul,
.blog-news ol {
    padding-left: 1.4rem;
}

.blog-news li + li {
    margin-top: 0.55rem;
}

.blog-news a {
    color: #E4CE17;
}

.blog-news a:hover {
    color: #E4E015;
}

.blog-subtitle {
    font-size: 1.2rem;
    color: #E4E015;
    margin-bottom: 1rem;
}

.blog-podcast-box,
.blog-news .summary-box,
.blog-news .cta-box,
.blog-news .blog-index {
    background: rgba(228, 206, 23, 0.08);
    border: 1px solid rgba(228, 206, 23, 0.24);
    border-left: 5px solid #E4CE17;
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
}

.blog-podcast-box {
    padding: 15px;
    margin: 20px 0;
    font-weight: bold;
}

.blog-news .blog-index {
    background: rgba(42, 42, 40, 0.92);
}

.blog-news .blog-index h2,
.blog-news .cta-box h2 {
    margin-top: 0;
}

.blog-news .blog-index ol {
    margin: 0;
}

.blog-news .blog-index a {
    text-decoration: none;
}

.blog-news .blog-index a:hover {
    text-decoration: underline;
}

.blog-heading {
    margin-top: 2rem;
}

.blog-news .blog-table-wrap {
    overflow-x: auto;
    margin: 1.25rem 0;
    border: 1px solid #444;
    border-radius: 6px;
}

.blog-news table {
    min-width: 680px;
    background: #232321;
}

.blog-news table,
.blog-news th,
.blog-news td {
    border-color: #444;
}

.blog-news th {
    background-color: #2A2A28;
    color: #E4CE17;
}

.blog-news td {
    color: #E6E6E6;
}

.blog-news tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

.blog-news tr:hover {
    background-color: rgba(228, 206, 23, 0.08);
}

.blog-news .blog-note {
    font-size: 0.95rem;
    color: #ABABAB;
}

.blog-news .blog-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.blog-news .blog-cta-actions .button,
.blog-news .blog-cta-actions a.button {
    margin: 0;
}

.blog-news .button,
.blog-news a.button {
    color: #1D1D1B;
    background-color: #E4CE17;
    border: 1px solid #E4CE17;
    box-shadow: none;
}

.blog-news .button:hover,
.blog-news a.button:hover {
    color: #1D1D1B;
    background-color: #E4E015;
    border-color: #E4E015;
}

.blog-news .button.secondary,
.blog-news a.button.secondary {
    color: #E4CE17;
    background-color: transparent;
    border-color: rgba(228, 206, 23, 0.45);
}

.blog-news .button.secondary:hover,
.blog-news a.button.secondary:hover {
    color: #1D1D1B;
    background-color: #E4E015;
    border-color: #E4E015;
}

.blog-news details {
    margin: 1rem 0;
    padding: 0.85rem 1rem;
    background: #232321;
    border: 1px solid #444;
    border-radius: 6px;
}

.blog-news details[open] {
    background: #2A2A28;
}

.blog-news summary {
    color: #E4CE17;
    cursor: pointer;
    font-weight: bold;
}

.blog-news details p {
    margin-top: 0.85rem;
}

.blog-news hr {
    border-bottom-color: #2A2A28;
}

@media screen and (max-width: 768px) {
    .blog-news {
        max-width: 100%;
    }

    .blog-podcast-box,
    .blog-news .summary-box,
    .blog-news .cta-box,
    .blog-news .blog-index {
        padding: 1rem;
    }

    .blog-news .blog-cta-actions {
        display: grid;
    }

    .blog-news .blog-cta-actions .button,
    .blog-news .blog-cta-actions a.button {
        width: 100%;
        text-align: center;
    }
}

/* =========================================================
   PREMIUM COMPANY & BRAND PAGE STYLING
   ========================================================= */

.ip-brand-page {
    padding-bottom: 2.5rem;
}

.ip-brand-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #E4CE17;
    margin-bottom: 12px;
}

.ip-brand-kicker::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 2px;
    background-color: #E4CE17;
}

.ip-brand-hero-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin: 25px 0 35px;
    border: 1px solid #3A3A38;
    background: #181816;
}

.ip-brand-hero-img {
    width: 100%;
    height: clamp(300px, 42vh, 480px);
    object-fit: cover;
    display: block;
    filter: brightness(0.88);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.ip-brand-hero-card:hover .ip-brand-hero-img {
    transform: scale(1.02);
    filter: brightness(0.95);
}

.ip-brand-hero-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(29, 29, 27, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(228, 206, 23, 0.4);
    border-radius: 8px;
    padding: 12px 20px;
    color: #FFF;
    font-size: 0.95rem;
    font-weight: 600;
}

.ip-brand-hero-badge span {
    color: #E4CE17;
    font-weight: bold;
}

.ip-brand-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0 45px;
}

.ip-brand-stat-card {
    background: #232321;
    border: 1px solid #3A3A38;
    border-radius: 10px;
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.ip-brand-stat-card:hover {
    transform: translateY(-4px);
    border-color: #E4CE17;
}

.ip-brand-stat-val {
    display: block;
    font-size: 2.6rem;
    font-weight: 800;
    color: #E4CE17;
    line-height: 1.1;
    margin-bottom: 8px;
}

.ip-brand-stat-label {
    font-size: 0.92rem;
    color: #D6D6D6;
    line-height: 1.4;
}

/* Process cards */
.ip-brand-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin: 30px 0;
}

.ip-brand-process-card {
    background: #232321;
    border: 1px solid #383835;
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.ip-brand-process-card:hover {
    transform: translateY(-4px);
    border-color: #E4CE17;
}

.ip-brand-process-num {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    color: #E4CE17;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.ip-brand-process-card h3 {
    font-size: 1.15rem;
    color: #FFF;
    margin-bottom: 12px;
    line-height: 1.35;
}

.ip-brand-process-card p {
    font-size: 0.92rem;
    color: #CFCFCF;
    line-height: 1.55;
    margin: 0;
}

/* Quote box */
.ip-brand-quote {
    background: linear-gradient(135deg, #262624 0%, #1F1F1D 100%);
    border: 1px solid #3D3D3A;
    border-left: 4px solid #E4CE17;
    border-radius: 10px;
    padding: 28px 32px;
    margin: 30px 0;
    font-style: italic;
}

.ip-brand-quote blockquote {
    font-size: 1.15rem;
    color: #FFFFFF;
    line-height: 1.65;
    margin-bottom: 12px;
}

.ip-brand-quote cite {
    font-style: normal;
    font-weight: bold;
    color: #E4CE17;
    display: block;
    font-size: 0.95rem;
}

.ip-brand-quote span {
    color: #A0A09C;
    font-size: 0.85rem;
}

/* Feature grid */
.ip-brand-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.ip-brand-feat-card {
    background: #232321;
    border: 1px solid #383835;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.ip-brand-feat-card:hover {
    transform: translateY(-4px);
    border-color: #E4CE17;
}

.ip-brand-feat-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.ip-brand-feat-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ip-brand-feat-body h3 {
    color: #FFF;
    font-size: 1.18rem;
    margin-bottom: 10px;
}

.ip-brand-feat-body p {
    color: #CFCFCF;
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

/* Certifications strip */
.ip-brand-certs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
    padding: 25px 20px;
    background: #232321;
    border: 1px solid #383835;
    border-radius: 10px;
    margin: 30px 0;
}

.ip-brand-cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #E6E6E6;
    font-size: 0.95rem;
    font-weight: 600;
}

.ip-brand-cert-item img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Call to action card */
.ip-brand-cta-box {
    background: linear-gradient(135deg, #2A2A27 0%, #1D1D1B 100%);
    border: 1px solid #444;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    margin: 40px 0 20px;
}

.ip-brand-cta-box h2 {
    color: #FFF;
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.ip-brand-cta-box p {
    max-width: 680px;
    margin: 0 auto 24px;
    color: #D1D1CD;
    font-size: 1.05rem;
    line-height: 1.6;
}

.ip-brand-cta-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.ip-brand-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #E4CE17;
    color: #1D1D1B !important;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    border: 1px solid #E4CE17;
    box-shadow: 0 4px 16px rgba(228, 206, 23, 0.25);
}

.ip-brand-btn-primary:hover {
    background-color: #ffffff;
    color: #1D1D1B !important;
    border-color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.ip-brand-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: transparent;
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 26px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    border: 1px solid #4A4A45;
}

.ip-brand-btn-secondary:hover {
    border-color: #E4CE17;
    color: #E4CE17 !important;
    background-color: rgba(228, 206, 23, 0.08);
    transform: translateY(-2px);
}


@media screen and (max-width: 768px) {
    .ip-brand-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ip-brand-stat-val {
        font-size: 2.1rem;
    }
    .ip-brand-hero-img {
        height: 260px;
    }
}

/* Section styling */
.ip-brand-section {
    margin: 55px 0;
}

.ip-brand-section-header {
    margin-bottom: 28px;
}

.ip-brand-section-header.center {
    text-align: center;
}

.ip-brand-section-header h2 {
    font-size: 1.85rem;
    color: #FFFFFF;
    margin: 6px 0 12px;
    letter-spacing: -0.01em;
}

.ip-brand-section-header p.lead {
    font-size: 1.05rem;
    color: #BEBEBA;
    max-width: 740px;
    line-height: 1.6;
    margin: 0;
}

.ip-brand-section-header.center p.lead {
    margin: 0 auto;
}

/* Map & Leadership Card */
.ip-brand-map-card {
    background: #232321;
    border: 1px solid #383835;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#italy-map {
    width: 100%;
    max-width: 440px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.45));
}

#italy-map path, #italy-map polygon {
    fill: #2C2C29 !important;
    stroke: #444440 !important;
    stroke-width: 1px;
    transition: fill 0.25s ease, stroke 0.25s ease;
}

#italy-map .lombardia {
    fill: #363630 !important;
    stroke: #E4CE17 !important;
    stroke-width: 1.5px;
}

#italy-map path:hover, #italy-map polygon:hover {
    fill: #44443D !important;
    stroke: #E4CE17 !important;
    cursor: pointer;
}

#italy-map .region-quota circle {
    fill: #E4CE17 !important;
    stroke: #1D1D1B !important;
    stroke-width: 2px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

#italy-map .region-quota text {
    fill: #1D1D1B !important;
    font-weight: 800 !important;
    font-size: 11px !important;
}

#italy-map .region-quota:hover circle {
    filter: drop-shadow(0 0 6px rgba(228, 206, 23, 0.9));
}

.ip-brand-lead-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.ip-brand-lead-item {
    background: #232321;
    border: 1px solid #383835;
    border-left: 4px solid #E4CE17;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: baseline;
    gap: 16px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ip-brand-lead-item:hover {
    transform: translateX(4px);
    border-color: #E4CE17;
}

.ip-brand-lead-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: #E4CE17;
    min-width: 95px;
    line-height: 1;
}

.ip-brand-lead-txt {
    font-size: 0.95rem;
    color: #D1D1CD;
    line-height: 1.35;
}

/* =========================================================
   PREMIUM ENGINEERING & TECHNOLOGY PAGE STYLING
   ========================================================= */

.ip-tech-page {
    padding-bottom: 3rem;
}

.ip-tech-hero {
    margin-bottom: 45px;
}

.ip-tech-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #E4CE17;
    margin-bottom: 12px;
}

.ip-tech-kicker::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 2px;
    background-color: #E4CE17;
}

.ip-tech-hero-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin: 25px 0 35px;
    border: 1px solid #3A3A38;
    background: #181816;
}

.ip-tech-hero-img {
    width: 100%;
    height: clamp(280px, 38vh, 440px);
    object-fit: cover;
    display: block;
    filter: brightness(0.85);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.ip-tech-hero-card:hover .ip-tech-hero-img {
    transform: scale(1.02);
    filter: brightness(0.92);
}

.ip-tech-hero-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(29, 29, 27, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(228, 206, 23, 0.4);
    border-radius: 8px;
    padding: 12px 20px;
    color: #FFF;
    font-size: 0.95rem;
    font-weight: 600;
}

.ip-tech-hero-badge span {
    color: #E4CE17;
    font-weight: bold;
}

/* Section Containers */
.ip-tech-section {
    margin: 55px 0;
}

.ip-tech-section-header {
    margin-bottom: 28px;
}

.ip-tech-section-header.center {
    text-align: center;
}

.ip-tech-section-header h2 {
    font-size: 1.85rem;
    color: #FFFFFF;
    margin: 6px 0 12px;
    letter-spacing: -0.01em;
}

.ip-tech-section-header p.lead {
    font-size: 1.05rem;
    color: #BEBEBA;
    max-width: 780px;
    line-height: 1.6;
    margin: 0;
}

.ip-tech-section-header.center p.lead {
    margin: 0 auto;
}

/* Glass Types Grid (Monolithic vs Laminated) */
.ip-tech-glass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.ip-tech-glass-card {
    background: #232321;
    border: 1px solid #383835;
    border-radius: 12px;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ip-tech-glass-card:hover {
    transform: translateY(-4px);
    border-color: #E4CE17;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.ip-tech-glass-card.highlight {
    border-color: rgba(228, 206, 23, 0.5);
    background: linear-gradient(180deg, #262622 0%, #20201E 100%);
}

.ip-tech-glass-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    background: rgba(228, 206, 23, 0.15);
    color: #E4CE17;
    border: 1px solid rgba(228, 206, 23, 0.35);
}

.ip-tech-glass-tag.recommended {
    background: #E4CE17;
    color: #1D1D1B;
    border-color: #E4CE17;
}

.ip-tech-glass-card h3 {
    font-size: 1.35rem;
    color: #FFF;
    margin: 0 0 12px;
}

.ip-tech-glass-spec {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #E4CE17;
    font-weight: 700;
    margin-bottom: 14px;
}

.ip-tech-glass-card p {
    font-size: 0.94rem;
    color: #CFCFCF;
    line-height: 1.6;
    margin-bottom: 14px;
}

/* Pendulum Test Cards (alpha, beta, phi) */
.ip-tech-pendulum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
    margin: 30px 0;
}

.ip-tech-pendulum-card {
    background: #232321;
    border: 1px solid #383835;
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.ip-tech-pendulum-card:hover {
    transform: translateY(-4px);
    border-color: #E4CE17;
}

.ip-tech-pendulum-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(228, 206, 23, 0.12);
    color: #E4CE17;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    border: 1px solid rgba(228, 206, 23, 0.3);
}

.ip-tech-pendulum-card h3 {
    font-size: 1.15rem;
    color: #FFF;
    margin-bottom: 8px;
}

.ip-tech-pendulum-card p.desc {
    font-size: 0.9rem;
    color: #A0A09C;
    margin-bottom: 14px;
    line-height: 1.45;
}

.ip-tech-pendulum-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ip-tech-pendulum-item {
    background: #1B1B19;
    border: 1px solid #30302E;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.86rem;
    color: #D6D6D6;
    line-height: 1.4;
}

.ip-tech-pendulum-item strong {
    color: #E4CE17;
}

.ip-tech-pendulum-item.safe {
    border-left: 3px solid #28A745;
}

.ip-tech-pendulum-item.warning {
    border-left: 3px solid #FFC107;
}

.ip-tech-pendulum-item.danger {
    border-left: 3px solid #DC3545;
}

/* Federations & Standards Strip */
.ip-tech-feds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.ip-tech-fed-card {
    background: #232321;
    border: 1px solid #383835;
    border-top: 3px solid #E4CE17;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ip-tech-fed-card:hover {
    transform: translateY(-3px);
}

.ip-tech-fed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.ip-tech-fed-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #FFFFFF;
}

.ip-tech-fed-country {
    font-size: 0.75rem;
    font-weight: 700;
    color: #E4CE17;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ip-tech-fed-card p {
    font-size: 0.88rem;
    color: #CFCFCF;
    line-height: 1.5;
    margin: 0;
}

/* Innovations Cards (Grid with Images) */
.ip-tech-innovations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.ip-tech-innov-card {
    background: #232321;
    border: 1px solid #383835;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.ip-tech-innov-card:hover {
    transform: translateY(-4px);
    border-color: #E4CE17;
}

.ip-tech-innov-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.ip-tech-innov-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ip-tech-innov-body h3 {
    font-size: 1.18rem;
    color: #FFF;
    margin-bottom: 10px;
    line-height: 1.35;
}

.ip-tech-innov-body p {
    font-size: 0.92rem;
    color: #CFCFCF;
    line-height: 1.55;
    margin: 0;
}

/* Wind Rating Tier Cards */
.ip-tech-wind-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
    margin: 25px 0;
}

.ip-tech-wind-card {
    background: #232321;
    border: 1px solid #383835;
    border-radius: 10px;
    padding: 22px 18px;
    text-align: center;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.ip-tech-wind-card:hover {
    transform: translateY(-4px);
    border-color: #E4CE17;
}

.ip-tech-wind-card.extreme {
    border-color: rgba(228, 206, 23, 0.4);
    background: linear-gradient(180deg, #262622 0%, #1E1E1C 100%);
}

.ip-tech-wind-speed {
    font-size: 2.2rem;
    font-weight: 800;
    color: #E4CE17;
    line-height: 1;
    margin-bottom: 6px;
}

.ip-tech-wind-kmh {
    font-size: 0.88rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.ip-tech-wind-tier {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #A0A09C;
}

.ip-tech-wind-desc {
    font-size: 0.84rem;
    color: #C0C0BA;
    margin-top: 10px;
    line-height: 1.4;
}

/* Recommendation Quote/Notice box */
.ip-tech-notice-box {
    background: linear-gradient(135deg, #262624 0%, #1F1F1D 100%);
    border: 1px solid #3D3D3A;
    border-left: 4px solid #E4CE17;
    border-radius: 10px;
    padding: 24px 28px;
    margin: 28px 0;
}

.ip-tech-notice-box h3 {
    color: #E4CE17;
    font-size: 1.15rem;
    margin: 0 0 10px;
}

.ip-tech-notice-box p {
    color: #D6D6D2;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .ip-tech-glass-grid,
    .ip-tech-pendulum-grid,
    .ip-tech-feds-grid,
    .ip-tech-innovations-grid,
    .ip-tech-wind-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   PREMIUM CERTIFICATIONS PAGE STYLING
   ========================================================= */

.ip-certs-page {
    padding-bottom: 3.5rem;
}

.ip-certs-hero {
    margin-bottom: 40px;
}

.ip-certs-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #E4CE17;
    margin-bottom: 12px;
}

.ip-certs-kicker::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 2px;
    background-color: #E4CE17;
}

/* Accreditations Trust Strip */
.ip-certs-trust-strip {
    background: linear-gradient(135deg, #242421 0%, #1A1A18 100%);
    border: 1px solid #3A3A36;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 30px 0 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.ip-certs-trust-kicker {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #E4CE17;
    margin-bottom: 18px;
    text-align: center;
}

.ip-certs-trust-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
}

.ip-certs-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s ease;
    padding: 10px 14px;
    border-radius: 8px;
}

.ip-certs-trust-item:hover {
    transform: translateY(-3px);
    background: rgba(228, 206, 23, 0.06);
}

.ip-certs-trust-item img {
    height: 60px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
    margin-bottom: 8px;
    display: block;
}

.ip-certs-trust-item span {
    font-size: 0.76rem;
    font-weight: 700;
    color: #D6D6D2;
    text-align: center;
    letter-spacing: 0.04em;
}

/* Quick Certs Overview Grid */
.ip-certs-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin: 35px 0 50px;
}

.ip-certs-overview-card {
    background: #232321;
    border: 1px solid #383835;
    border-radius: 10px;
    padding: 26px 20px;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ip-certs-overview-card:hover {
    transform: translateY(-4px);
    border-color: #E4CE17;
}

.ip-certs-overview-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.ip-certs-overview-tuv {
    width: 76px;
    height: 76px;
}

.ip-certs-overview-card:hover .ip-certs-overview-icon {
    transform: scale(1.08);
}

.ip-certs-overview-card h3 {
    font-size: 1.12rem;
    color: #FFF;
    margin: 0 0 8px;
}

.ip-certs-overview-card p {
    font-size: 0.86rem;
    color: #A0A09C;
    margin: 0;
    line-height: 1.45;
}

/* Detailed Pillar Cards */
.ip-certs-pillars {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin: 40px 0;
}

.ip-certs-pillar-card {
    background: #232321;
    border: 1px solid #383835;
    border-radius: 12px;
    padding: 35px 30px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ip-certs-pillar-card:hover {
    border-color: #E4CE17;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.ip-certs-pillar-card .row-2-1 {
    display: grid;
    grid-template-columns: 2.15fr 1fr;
    grid-column-gap: 40px;
    align-items: center;
}

@media only screen and (max-width: 900px) {
    .ip-certs-pillar-card .row-2-1 {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .ip-certs-pillar-card .row-2-1 > div {
        width: 100%;
    }
}

.ip-certs-badge-box {
    background: radial-gradient(circle at center, #272724 0%, #161614 100%);
    border: 1px solid #3E3E3A;
    border-radius: 12px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 270px;
    height: 100%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ip-certs-badge-box:hover {
    border-color: #E4CE17;
    box-shadow: inset 0 1px 0 rgba(228, 206, 23, 0.2), 0 12px 30px rgba(228, 206, 23, 0.15);
}

.ip-certs-badge-img {
    max-width: 220px;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.ip-certs-tuv-img {
    max-width: 210px;
    max-height: 210px;
    filter: drop-shadow(0 8px 25px rgba(9, 61, 116, 0.5));
}

.ip-certs-ce-img {
    max-width: 210px;
    max-height: 210px;
}

.ip-certs-dual-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.ip-certs-dual-badges .ip-certs-badge-img {
    max-width: 140px;
    max-height: 140px;
}

.ip-certs-badge-box:hover .ip-certs-badge-img {
    transform: scale(1.06);
}

.ip-certs-badge-label {
    margin-top: 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #E4CE17;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
}

.ip-certs-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    background: rgba(228, 206, 23, 0.12);
    color: #E4CE17;
    border: 1px solid rgba(228, 206, 23, 0.3);
}

.ip-certs-pillar-card h2 {
    font-size: 1.55rem;
    color: #FFFFFF;
    margin: 0 0 16px;
    line-height: 1.3;
}

.ip-certs-pillar-card p {
    font-size: 0.94rem;
    color: #CFCFCF;
    line-height: 1.65;
    margin-bottom: 14px;
}

.ip-certs-benefit-box {
    background: #1B1B19;
    border: 1px solid #30302E;
    border-left: 3px solid #E4CE17;
    border-radius: 6px;
    padding: 14px 18px;
    margin-top: 16px;
}

.ip-certs-benefit-box strong {
    color: #E4CE17;
    font-size: 0.92rem;
    display: block;
    margin-bottom: 4px;
}

.ip-certs-benefit-box p {
    font-size: 0.88rem;
    color: #D1D1CD;
    margin: 0;
    line-height: 1.5;
}

/* Legal Liability Banner */
.ip-certs-legal-banner {
    background: linear-gradient(135deg, #262624 0%, #1D1D1B 100%);
    border: 1px solid #3D3D3A;
    border-left: 4px solid #E4CE17;
    border-radius: 12px;
    padding: 30px;
    margin: 50px 0 40px;
}

.ip-certs-legal-banner h3 {
    color: #E4CE17;
    font-size: 1.25rem;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ip-certs-legal-banner p {
    color: #D1D1CD;
    font-size: 0.96rem;
    line-height: 1.65;
    margin: 0 0 12px;
}

.ip-certs-legal-banner p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .ip-certs-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ip-certs-pillar-card {
        padding: 24px 20px;
    }
}


/* =========================================================
   CATALOG PAGE STYLES (.ip-cat-*)
   ========================================================= */

.ip-cat-page {
    padding-bottom: 3.5rem;
}

.ip-cat-hero {
    margin-bottom: 35px;
}

.ip-cat-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #E4CE17;
    margin-bottom: 12px;
}

.ip-cat-kicker::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 2px;
    background-color: #E4CE17;
}

/* Quick Model Filter Pills */
.ip-cat-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0 35px;
    padding: 12px 16px;
    background: #232321;
    border: 1px solid #383835;
    border-radius: 50px;
    align-items: center;
    justify-content: center;
}

.ip-cat-nav-pill {
    padding: 8px 18px;
    border-radius: 30px;
    background: #181816;
    border: 1px solid #353532;
    color: #E0E0DC;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ip-cat-nav-pill:hover,
.ip-cat-nav-pill.active {
    background: #E4CE17;
    color: #1D1D1B;
    border-color: #E4CE17;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(228, 206, 23, 0.3);
}

/* Visual Model Overview Cards */
.ip-cat-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
    margin: 30px 0 55px;
}

.ip-cat-overview-card {
    background: #232321;
    border: 1px solid #383835;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.ip-cat-overview-card:hover {
    transform: translateY(-5px);
    border-color: #E4CE17;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.ip-cat-overview-thumb {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #333330;
}

.ip-cat-overview-body {
    padding: 18px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ip-cat-env-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.ip-cat-env-badge.outdoor {
    background: rgba(228, 206, 23, 0.15);
    color: #E4CE17;
    border: 1px solid rgba(228, 206, 23, 0.35);
}

.ip-cat-env-badge.indoor {
    background: rgba(41, 150, 243, 0.15);
    color: #64B5F6;
    border: 1px solid rgba(41, 150, 243, 0.35);
}

.ip-cat-overview-body h3 {
    font-size: 1.05rem;
    color: #FFFFFF;
    margin: 0 0 6px;
    line-height: 1.3;
}

.ip-cat-overview-body p {
    font-size: 0.82rem;
    color: #A8A8A4;
    line-height: 1.45;
    margin: 0 0 14px;
    flex-grow: 1;
}

.ip-cat-overview-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: #E4CE17;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Individual Model Sections */
.ip-cat-section {
    margin: 60px 0;
    scroll-margin-top: 110px;
}

.ip-cat-section-header {
    margin-bottom: 24px;
}

.ip-cat-section-header h2 {
    font-size: 1.85rem;
    color: #FFFFFF;
    margin: 4px 0 8px;
}

.ip-cat-section-header p {
    font-size: 1rem;
    color: #C0C0BC;
    max-width: 900px;
    margin: 0;
    line-height: 1.6;
}

/* Model Main Presentation Card */
.ip-cat-model-card {
    background: #232321;
    border: 1px solid #383835;
    border-radius: 12px;
    padding: 32px 30px;
    margin-bottom: 30px;
    transition: border-color 0.25s ease;
}

.ip-cat-model-card:hover {
    border-color: #4A4A45;
}

.ip-cat-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.ip-cat-spec-box {
    background: #191917;
    border: 1px solid #333330;
    border-radius: 8px;
    padding: 12px 14px;
}

.ip-cat-spec-lbl {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #E4CE17;
    margin-bottom: 4px;
    display: block;
}

.ip-cat-spec-val {
    font-size: 0.88rem;
    color: #ECECE8;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}

/* Model Trust Logos Strip */
.ip-cat-trust-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 14px 18px;
    background: #1B1B19;
    border: 1px solid #30302E;
    border-radius: 8px;
    margin-top: 20px;
}

.ip-cat-trust-label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #A0A09C;
    margin-right: 6px;
}

.ip-cat-trust-strip img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

/* Variants Grid */
.ip-cat-variants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
    margin: 25px 0 45px;
}

.ip-cat-variant-card {
    background: #1F1F1D;
    border: 1px solid #383835;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ip-cat-variant-card:hover {
    transform: translateY(-4px);
    border-color: #E4CE17;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.ip-cat-variant-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: #141412;
}

.ip-cat-variant-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ip-cat-variant-card:hover .ip-cat-variant-img-wrap img {
    transform: scale(1.06);
}

.ip-cat-variant-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(29, 29, 27, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(228, 206, 23, 0.4);
    color: #E4CE17;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.04em;
}

.ip-cat-variant-body {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ip-cat-variant-body h4 {
    font-size: 0.96rem;
    color: #FFFFFF;
    margin: 0 0 12px;
    line-height: 1.35;
    flex-grow: 1;
}

.ip-cat-variant-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.ip-cat-tag-wind {
    background: rgba(228, 206, 23, 0.1);
    border: 1px solid rgba(228, 206, 23, 0.3);
    color: #E4CE17;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
}

.ip-cat-tag-steel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid #444440;
    color: #CFCFCB;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
}

.ip-cat-btn-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #E4CE17;
    color: #1D1D1B;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 9px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    text-align: center;
    border: none;
    width: 100%;
}

.ip-cat-btn-quote:hover {
    background: #F3DC20;
    transform: translateY(-2px);
    color: #1D1D1B;
}

/* Sub-type Divider */
.ip-cat-type-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 30px 0 16px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
}

.ip-cat-type-divider::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 20px;
    background: #E4CE17;
    border-radius: 2px;
}

@media screen and (max-width: 768px) {
    .ip-cat-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ip-cat-model-card {
        padding: 22px 18px;
    }
}

@media screen and (max-width: 480px) {
    .ip-cat-overview-grid {
        grid-template-columns: 1fr;
    }
    .ip-cat-nav-pill {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}