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

:root {
    --color-primary: #2563eb;
    --color-primary-mid: #3b82f6;
    --color-accent: #0ea5e9;
    --color-accent-dark: #0284c7;
    --color-cta: #f97316;
    --color-cta-hover: #ea580c;
    --color-text: #1e293b;
    --color-muted: #64748b;
    --color-bg: #f8fafc;
    --color-surface: #f1f5f9;
    --color-header: #ffffff;
    --color-header-border: #e2e8f0;
    --font-sans: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    --max-width: 1200px;
    --radius: 10px;
    --shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    margin-left: 1rem;
    line-height: 2;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2563eb 100%);
    color: #fff;
    padding: 0.7rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(30, 60, 114, 0.25);
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1.15;
    color: #fff;
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.12rem;
}

.logo-name {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.15;
    color: #fff;
}

.logo-tagline {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.4px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.2;
}

/* 로고 높이 = 회사명 + 아래 글자 합산 높이 */
.logo-img {
    height: calc(1.6rem * 1.15 + 0.12rem + 0.62rem * 1.2);
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.75rem;
    margin-left: 0;
}

nav a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
    font-size: 0.95rem;
    font-weight: 500;
}

nav a:hover {
    color: #fff;
    opacity: 0.85;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background:
        linear-gradient(90deg, rgba(248, 250, 252, 0.82) 0%, rgba(248, 250, 252, 0.45) 32%, rgba(248, 250, 252, 0.08) 55%, transparent 70%),
        url("../images/ironcad-hero-banner.jpg") right center / cover no-repeat;
    color: var(--color-text);
    padding: 5.5rem 2rem;
    text-align: left;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid #e2e8f0;
    image-rendering: auto;
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    animation: fadeInDown 0.8s ease;
    max-width: 18ch;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9), 0 0 24px rgba(255, 255, 255, 0.75);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
    animation: fadeInUp 0.8s ease;
    max-width: 36rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

.hero-description {
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 2rem;
    animation: fadeInUp 0.9s ease;
    max-width: 34rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1e3c72;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
    animation: fadeInDown 0.7s ease;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-cta);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    animation: fadeInUp 1s ease;
}

.cta-button--ghost {
    background: rgba(255, 255, 255, 0.92);
    color: #1e3c72;
    border: 2px solid #1e3c72;
    animation: fadeInUp 1.05s ease;
}

.cta-button--ghost:hover {
    background: #1e3c72;
    color: #fff;
    box-shadow: 0 8px 20px rgba(30, 60, 114, 0.2);
    transform: translateY(-3px);
}

.why-grid .card h3 {
    color: #1e3c72;
}

.advantage-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.advantage-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 1.35rem 1.25rem;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--color-accent);
}

.advantage-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    color: #1e3c72;
}

.advantage-card__lead {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.55rem;
    font-size: 0.98rem;
}

.advantage-card p:last-child {
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

.reseller-strip {
    margin-top: 2rem;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
}

.reseller-strip h3 {
    margin: 0 0 0.6rem;
    color: #1e3c72;
    font-size: 1.25rem;
}

.reseller-strip > p {
    color: var(--color-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.reseller-strip__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.reseller-strip__list li {
    background: #fff;
    border: 1px solid #bfdbfe;
    color: #1e3c72;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
}

.rd-points {
    list-style: none;
    margin: 0.75rem 0 1rem;
    padding: 0;
    text-align: left;
}

.rd-points li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.5;
}

.rd-points li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.cta-button:hover {
    background-color: var(--color-cta-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

/* Container & Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section:not(.hero) {
    padding: 4rem 2rem;
    background-color: white;
    margin-bottom: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

main > section:nth-of-type(even):not(.hero) {
    background-color: var(--color-surface);
}

h2 {
    font-size: 2.35rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #0f172a;
    border-bottom: 3px solid var(--color-accent);
    padding-bottom: 1rem;
    display: inline-block;
    width: 100%;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-intro {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-muted);
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Figures & Images */
figure {
    margin: 0;
}

figure img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    background: #e8eef8;
}

figcaption {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-top: 0.5rem;
    text-align: center;
}

.about-figure {
    text-align: center;
    margin: 2rem auto;
    max-width: 860px;
}

.about-figure img {
    border-radius: var(--radius);
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    box-shadow: var(--shadow);
}

.product-card figure img {
    aspect-ratio: 16 / 10;
    border: 1px solid #e5e7eb;
}

.product-card figure img.img-full,
.rd-products .product-card figure img {
    aspect-ratio: auto;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    object-position: center;
    background: #f8fafc;
    padding: 0.5rem;
}

.feature figure img {
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
    border: 1px solid #e5e7eb;
}

/* Showcase rows */
.showcase-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0 2.5rem;
}

.showcase-row figure {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8ecf4;
}

.showcase-row img {
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: cover;
    border-radius: 0;
}

.showcase-row figcaption {
    padding: 0.6rem 0.75rem 0.85rem;
    font-weight: 600;
    color: #334155;
}

.showcase-row--services {
    margin-top: 2.5rem;
}

.showcase-link {
    transition: transform 0.25s, box-shadow 0.25s;
}

.showcase-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(30, 60, 114, 0.16);
}

.showcase-link a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.showcase-link__hint {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-accent);
}

/* Feature / PDM galleries */
.gallery-title {
    text-align: center;
    margin: 3rem 0 1.5rem;
    color: #0f172a;
    font-size: 1.6rem;
    border: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.gallery-grid--plm {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(30, 60, 114, 0.12);
}

.gallery-item img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    border-radius: 0;
}

.gallery-item--video {
    grid-column: 1 / -1;
}

.gallery-item--video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #0f172a;
    border: 0;
}

.gallery-item figcaption {
    padding: 0.55rem 0.5rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary-mid);
}

.partner-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
    padding: 1rem 1.25rem;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.partner-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.rd-products {
    margin-bottom: 2.5rem;
}

.ax-live-panel {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1.75rem;
    align-items: center;
    margin: 0 0 2.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #1e3c72 100%);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: #e2e8f0;
}

.ax-live-panel__media {
    margin: 0;
}

.ax-live-panel__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(125, 211, 252, 0.45);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.35);
}

.ax-live-panel__media figcaption {
    color: #94a3b8;
    margin-top: 0.65rem;
}

.ax-live-panel__body h3 {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: 1.55rem;
}

.ax-live-panel__tagline {
    color: #7dd3fc;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.ax-live-panel__body > p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 0.85rem;
}

.ax-live-panel .rd-points li {
    color: #e2e8f0;
}

.ax-live-panel .badge {
    background: #0ea5e9;
}

.smartplm-panel {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 1.75rem;
    align-items: center;
    margin: 0 0 0.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.smartplm-panel__media {
    margin: 0;
    order: 2;
}

.smartplm-panel__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.smartplm-panel__media figcaption {
    color: var(--color-muted);
    margin-top: 0.65rem;
}

.smartplm-panel__body {
    order: 1;
}

.smartplm-panel__body h3 {
    margin: 0 0 0.5rem;
    color: #1e3c72;
    font-size: 1.55rem;
}

.smartplm-panel__tagline {
    color: #0284c7;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.smartplm-panel__body > p {
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: 0.85rem;
}

.smartplm-panel .badge {
    background: #1e3c72;
}

.advantage-panel {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 1px solid #bae6fd;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.advantage-panel__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.advantage-panel__body h3 {
    margin-top: 0;
    color: #0f172a;
    font-size: 1.45rem;
}

.advantage-panel__body p {
    color: var(--color-muted);
    margin-bottom: 1rem;
}

.advantage-panel__body ul {
    margin-left: 1.1rem;
    color: var(--color-text);
    line-height: 1.9;
}

/* Design Automation Systems */
.da-systems {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.da-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 1.75rem;
    align-items: start;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.da-card:nth-child(even) {
    grid-template-columns: 1fr 1.15fr;
}

.da-card:nth-child(even) .da-card__media {
    order: 2;
}

.da-card__media video {
    width: 100%;
    max-height: 420px;
    border-radius: 8px;
    background: #0f172a;
    border: 1px solid #e2e8f0;
    aspect-ratio: 5 / 4;
    object-fit: contain;
}

.da-card__image {
    margin: 0;
}

.da-card__image img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    aspect-ratio: 5 / 4;
}

.da-card__image figcaption {
    margin-top: 0.6rem;
    font-weight: 600;
    color: #334155;
}

.da-card__body h3 {
    margin-top: 0;
    color: #0f172a;
    font-size: 1.35rem;
}

.da-card__body > p {
    color: var(--color-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.da-flow {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.da-flow li {
    position: relative;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0c4a6e;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
}

.da-flow li:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-accent);
    font-weight: 700;
}

.da-flow li:not(:last-child) {
    margin-right: 0.6rem;
}

.img-placeholder {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-mid);
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 180px;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
}

.product-card .img-placeholder {
    min-height: 200px;
}

.feature .img-placeholder {
    min-height: 140px;
    margin: 0 auto 1rem;
}

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

.card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card h3 {
    color: var(--color-primary);
    margin-top: 0;
}

/* Products Section */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border: 2px solid #ddd;
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.15);
}

.product-card h3 {
    color: var(--color-primary);
    margin: 1rem 0 0.75rem;
}

.product-card p {
    flex: 1;
    text-align: left;
}

.product-card .badge {
    display: inline-block;
    background-color: var(--color-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 1rem;
    align-self: center;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    padding: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
    border-left: 4px solid var(--color-accent);
    border-radius: 5px;
    border: 1px solid #e0f2fe;
    border-left-width: 4px;
    border-left-color: var(--color-accent);
}

.feature h3 {
    color: var(--color-primary);
    margin-top: 0;
    font-size: 1.2rem;
}

.feature figure {
    text-align: center;
    margin-bottom: 1rem;
}

.feature figure img {
    max-width: 300px;
    margin: 0 auto;
}

/* Status Panel */
.status-panel {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--color-surface);
    border-radius: var(--radius);
    text-align: center;
}

.status-panel h3 {
    margin-top: 0;
}

/* Form Styles */
.contact-phone {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
    margin: -0.5rem 0 1.25rem;
}

.contact-phone a {
    color: var(--color-accent);
    text-decoration: none;
}

.contact-phone a:hover {
    text-decoration: underline;
}

.contact-form-wrap {
    max-width: 600px;
    margin: 2rem auto;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--color-text);
}

input,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s;
    font-size: 1rem;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: var(--color-accent);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--color-accent-dark);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-top: 1rem;
}

.status-badge.online {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.loading {
    background-color: #fff3cd;
    color: #856404;
}

/* Customers ticker */
#customers {
    padding: 3rem 0 2rem;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    overflow: hidden;
}

#customers .container {
    margin-bottom: 1.25rem;
    text-align: center;
}

#customers h2 {
    text-align: center;
    margin-bottom: 0.75rem;
}

#customers .section-intro {
    text-align: center;
    margin-bottom: 0;
}

.customer-ticker {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.customer-ticker-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: customerTicker 45s linear infinite;
}

.customer-ticker:hover .customer-ticker-track {
    animation-play-state: paused;
}

.customer-ticker-group {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 0 1.5rem;
}

.customer-logo {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
    filter: grayscale(0.15);
    opacity: 0.9;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.customer-logo:hover {
    filter: none;
    opacity: 1;
}

@keyframes customerTicker {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .customer-ticker-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        row-gap: 1.5rem;
    }

    .customer-ticker-group:last-child {
        display: none;
    }
}

/* Footer */
footer {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--color-text);
    text-align: center;
    padding: 2.5rem 2rem;
    margin-top: 3rem;
    border-top: 1px solid #cbd5e1;
}

footer p {
    margin-bottom: 0.75rem;
}

footer a {
    color: var(--color-primary);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 auto 0.5rem;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
    border: 1px solid #e2e8f0;
}

.footer-keywords {
    font-size: 0.85rem;
    margin-top: 1rem;
    opacity: 0.85;
    color: var(--color-muted);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #1e3c72 0%, #1e4a8c 100%);
        padding: 1rem 2rem;
        gap: 0;
        margin-left: 0;
        box-shadow: 0 8px 16px rgba(15, 23, 42, 0.2);
        border-bottom: none;
    }

    nav ul.active {
        display: flex;
    }

    nav li {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    nav li:last-child {
        border-bottom: none;
    }

    nav ul a {
        color: #fff;
    }

    .menu-toggle {
        display: block;
        color: #fff;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
        color: #0f172a;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    section:not(.hero) {
        padding: 2rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .grid,
    .products,
    .features,
    .gallery-grid,
    .showcase-row {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid--plm {
        grid-template-columns: 1fr;
    }

    .advantage-panel {
        grid-template-columns: 1fr;
    }

    .ax-live-panel {
        grid-template-columns: 1fr;
    }

    .smartplm-panel {
        grid-template-columns: 1fr;
    }

    .smartplm-panel__media {
        order: 0;
    }

    .da-card,
    .da-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .da-card:nth-child(even) .da-card__media {
        order: 0;
    }

    .da-flow li:not(:last-child)::after {
        display: none;
    }

    .da-flow li:not(:last-child) {
        margin-right: 0;
    }

    .hero {
        text-align: center;
        background:
            linear-gradient(180deg, rgba(248, 250, 252, 0.55) 0%, rgba(248, 250, 252, 0.2) 40%, transparent 70%),
            url("../images/ironcad-hero-banner.jpg") center top / cover no-repeat;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero h1,
    .hero-subtitle,
    .hero-description {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.25rem;
        gap: 0.5rem;
    }

    .logo-name {
        font-size: 1.25rem;
    }

    .logo-tagline {
        font-size: 0.52rem;
    }

    .logo-img {
        height: calc(1.25rem * 1.15 + 0.1rem + 0.52rem * 1.2);
        width: auto;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .cta-button {
        padding: 0.85rem 2rem;
        width: 100%;
        max-width: 280px;
    }
}

/* Config-driven promotion panel: image hotspots are supplied by promotion.json. */
.site-promotion {
    position: fixed;
    top: 76px;
    right: 16px;
    z-index: 900;
    width: min(615px, calc(100vw - 32px));
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.7);
    border-radius: 8px;
    background: #020817;
    box-shadow: 0 12px 30px rgba(2, 8, 23, 0.45);
}

.site-promotion__media {
    position: relative;
    line-height: 0;
}

.site-promotion__media img {
    display: block;
    width: 100%;
    height: auto;
}

.site-promotion__hotspot {
    position: absolute;
    display: block;
    border-radius: 5px;
    outline: none;
}

.site-promotion__hotspot:hover,
.site-promotion__hotspot:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85);
}

.site-promotion__dismiss {
    display: flex;
    align-items: center;
    min-height: 31px;
    padding: 0 10px;
    color: #dbeafe;
    background: #0f172a;
    font-size: 0.82rem;
    line-height: 1.2;
    cursor: pointer;
}

.site-promotion__dismiss input {
    width: 15px;
    height: 15px;
    accent-color: #2563eb;
}

@media (max-width: 768px) {
    .site-promotion {
        top: 62px;
        right: 8px;
        width: 75vw;
    }
}
