* { box-sizing: border-box; }
:root {
    --bg: #0c1324;
    --panel: #121b31;
    --panel-soft: #f7f8fc;
    --text: #1d2433;
    --text-light: #e7edf9;
    --muted: #7b869c;
    --accent: #ff5a1f;
    --accent-dark: #e44b15;
    --border: #e8ebf2;
    --shadow: 0 20px 40px rgba(5, 16, 35, 0.1);
    --radius: 22px;
    --container: 1180px;
}
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 2rem)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(12, 19, 36, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 82px;
}
.brand img { height: 42px; width: auto; }
.main-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.main-nav a { color: #fff; font-weight: 600; opacity: 0.92; }
.main-nav a:hover { color: var(--accent); }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .9rem 1.3rem;
    border-radius: 999px;
    font-weight: 700;
    transition: .2s ease;
    border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline { border-color: rgba(255,255,255,.24); color: #fff; }
.hero .btn-outline { color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.08); }
.hero-home {
    background:
      radial-gradient(circle at 15% 20%, rgba(255,90,31,.20), transparent 0 28%),
      radial-gradient(circle at 85% 10%, rgba(70,110,255,.18), transparent 0 24%),
      linear-gradient(135deg, #0c1324 0%, #101b35 55%, #0e1830 100%);
    color: var(--text-light);
    padding: 5.5rem 0 4.5rem;
}
.hero-grid, .two-col, .office-card {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 3rem;
}
.hero h1, .page-hero h1 { font-size: clamp(2.3rem, 4vw, 4.6rem); line-height: 1.05; margin: 0 0 1rem; }
.page-hero {
    padding: 4.5rem 0 3rem;
    background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
}

.page-hero-image {
    position: relative;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.page-hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12,19,36,.82) 0%, rgba(16,27,53,.72) 55%, rgba(14,24,48,.78) 100%);
}
.page-hero-image > .container {
    position: relative;
    z-index: 1;
}
.page-hero-image .eyebrow,
.page-hero-image h1,
.page-hero-image .lead,
.page-hero-image h2,
.page-hero-image h3,
.page-hero-image p,
.page-hero-image span,
.page-hero-image li {
    color: #fff;
}
.page-hero-about {
    background-image: url('/assets/images/iot-consultation.jpeg');
}
.page-hero-services {
    background-image: url('/assets/images/iot_automation.jpg');
}
.page-hero-contact {
    background-image: url('/assets/images/iot_automation.jpg');
}
.page-hero .lead, .hero .lead { font-size: 1.1rem; max-width: 62ch; }
.eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .82rem;
    font-weight: 800;
    color: var(--accent);
    margin: 0 0 .75rem;
}
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-art {
    filter: drop-shadow(0 32px 80px rgba(0,0,0,.25));
}
.section { padding: 5rem 0; }
.alt-bg { background: var(--panel-soft); }
.align-center { align-items: center; }
.align-start { align-items: start; }
.rounded-image {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
}
.bullet-list {
    padding-left: 1.25rem;
    margin: 1.4rem 0 1.6rem;
}
.bullet-list li { margin-bottom: .7rem; }
.chip-grid, .social-row {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 1.25rem;
}
.chip {
    padding: .8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(18, 27, 49, 0.06);
}
.dark-panel {
    background: linear-gradient(135deg, #0f1830 0%, #142141 100%);
    color: var(--text-light);
}
.stats-grid, .card-grid.three-up, .logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.stat-card, .feature-card, .testimonial-card, .form-card, .contact-panel, .logo-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.stat-card {
    background: rgba(255,255,255,.06);
    color: #fff;
    border: 1px solid rgba(255,255,255,.1);
    padding: 1.5rem;
}
.stat-value { font-size: 2.4rem; font-weight: 900; color: var(--accent); }
.stat-label { font-size: 1.1rem; font-weight: 800; }
.feature-card {
    padding: 1.6rem;
    border: 1px solid var(--border);
}
.center-card { text-align: center; min-height: 150px; display: grid; place-items: center; }
.testimonial-card { padding: 1.5rem; border: 1px solid var(--border); }
.testimonial-card img {
    width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem;
}
.logo-card {
    min-height: 120px;
    display: grid;
    place-items: center;
    padding: 1rem;
    border: 1px solid var(--border);
}
.logo-card img { max-height: 46px; width: auto; }
.cta-band {
    background: linear-gradient(135deg, #0f1830 0%, #18274b 100%);
    color: #fff;
}
.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.contact-panel, .form-card { padding: 1.6rem; }
.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: .45rem; font-weight: 700; }
.contact-form input, .contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: .95rem 1rem;
    font: inherit;
}
.alert {
    border-radius: 16px;
    padding: .9rem 1rem;
    margin-bottom: 1rem;
}
.alert-success { background: #ecfdf3; color: #166534; }
.alert-error { background: #fef2f2; color: #991b1b; }
.office-card {
    align-items: center;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}
.office-image { max-height: 320px; object-fit: cover; }
.site-footer {
    background: #0c1324;
    color: #d7dfef;
    padding-top: 3.4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
    gap: 2rem;
}
.footer-logo { height: 42px; width: auto; margin-bottom: 1rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .6rem; }
.footer-list a:hover { color: var(--accent); }
.footer-bottom {
    padding: 1.25rem 0 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.08);
}
.muted { color: #9aa6c0; }
@media (max-width: 980px) {
    .hero-grid, .two-col, .office-card, .footer-grid { grid-template-columns: 1fr; }
    .stats-grid, .card-grid.three-up, .logo-grid { grid-template-columns: 1fr 1fr; }
    .nav-wrap { flex-wrap: wrap; padding: 1rem 0; }
    .main-nav { width: 100%; justify-content: center; }
    .cta-box { flex-direction: column; align-items: start; }
}
@media (max-width: 640px) {
    .stats-grid, .card-grid.three-up, .logo-grid { grid-template-columns: 1fr; }
    .main-nav { gap: 1rem; }
    .hero-home, .section, .page-hero { padding-top: 3.8rem; padding-bottom: 3.2rem; }
}
