/* EDUVI Smart School — CSS trích từ prototype (màu, cỡ chữ, khoảng cách giữ nguyên). */
:root {
    --navy: #0B2A5B;
    --navy-2: #13386F;
    --teal: #0E7FA0;
    --teal-2: #1495B8;
    --sky: #7FD3EC;
    --red: #C9443A;
    --coral: #E2574C;
    --ink: #3B5170;
    --muted: #C8D7EA;
    --bg: #F2F9FC;
    --bg-2: #F6FAFC;
    --line: #DCEBF2;
    --input-line: #B9D3E0;
    --map-bg: #E8F2F7;
    --card-red-bg: #FFF3F1;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Be Vietnam Pro', system-ui, sans-serif; color: var(--navy); background: #fff; line-height: 1.55; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--teal); }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.eyebrow.light { color: var(--sky); }
h1, h2, h3 { line-height: 1.2; }
.section { padding: 88px 0; }
.section-head { max-width: 720px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.section-head.wide { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { margin: 0; font-size: 38px; font-weight: 800; }

/* Header */
.site-header { border-bottom: 1px solid #E3EEF4; background: #fff; }
.site-header .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { height: 48px; width: auto; display: block; }
.main-nav { display: flex; flex-wrap: wrap; gap: 28px; font-weight: 600; font-size: 15px; }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hotline { font-weight: 700; font-size: 15px; color: var(--teal); }
.btn { display: inline-block; font-weight: 700; border-radius: 12px; padding: 15px 26px; font-size: 16px; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { color: #fff; opacity: .92; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); padding: 14px 24px; }
.btn-small { padding: 12px 20px; border-radius: 10px; font-size: 15px; }

/* Hero */
.hero { background: var(--bg); }
.hero-grid { padding-top: 72px; padding-bottom: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-copy h1 { margin: 0; font-size: 52px; line-height: 1.12; font-weight: 800; }
.hero-copy p { margin: 0; font-size: 19px; color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero-img { width: 100%; height: 420px; object-fit: cover; border-radius: 24px; display: block; }
.pillars { padding-bottom: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.pillar { background: #fff; border-radius: 16px; padding: 20px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); }
.pillar-num { width: 48px; height: 48px; flex: none; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.pillar-title { font-weight: 700; font-size: 17px; }

/* Problems */
.problems { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.problem { background: var(--bg-2); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.problem-num { font-size: 32px; font-weight: 800; }
.problem h3 { margin: 0; font-size: 18px; font-weight: 700; }
.problem p { margin: 0; font-size: 15px; color: var(--ink); }

/* Flow */
.flow { background: var(--navy); color: #fff; }
.flow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.flow-step { background: var(--navy-2); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.flow-step-num { width: 40px; height: 40px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.flow-step h3 { margin: 0; font-size: 17px; font-weight: 700; }
.flow-step p { margin: 0; font-size: 14px; color: var(--muted); }
.flow-note { margin: 40px 0 0; font-size: 20px; font-weight: 700; color: var(--sky); }

/* Products */
.products { display: flex; flex-direction: column; gap: 96px; }
.products .section-head { margin-bottom: -48px; }
.dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 48px; align-items: center; }
.dashboard-img { width: 100%; border-radius: 16px; display: block; box-shadow: 0 12px 40px rgba(11, 42, 91, .14); }
.dashboard-copy { display: flex; flex-direction: column; gap: 16px; }
.dashboard-copy .kicker { margin: 0; font-weight: 700; color: var(--red); }
.dashboard-copy h3 { margin: 0; font-size: 30px; font-weight: 800; line-height: 1.25; }
.dashboard-copy p { margin: 0; font-size: 17px; color: var(--ink); }
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.feat { display: flex; gap: 8px; font-size: 15px; font-weight: 600; }
.feat svg { flex: none; margin-top: 2px; }
.app-grid, .hw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.app-card { border-radius: 24px; padding: 32px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.app-card.blue { background: var(--bg); }
.app-card.pink { background: var(--card-red-bg); }
.app-card img { border-radius: 20px; display: block; }
.app-card img.portrait { width: 180px; flex: none; }
.app-card img.wide { width: 100%; height: 180px; object-fit: cover; border-radius: 16px; }
.app-body { flex: 1 1 200px; display: flex; flex-direction: column; gap: 12px; }
.app-body h3, .hw-body h3, .hw-card h3 { margin: 0; font-size: 24px; font-weight: 800; }
.app-body p, .hw-body p, .hw-card p { margin: 0; font-size: 15px; color: var(--ink); }
.app-body .features { font-weight: 600; color: var(--navy); }
.hw-card { border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.hw-card.stack { flex-direction: column; align-items: stretch; gap: 16px; }
.hw-card img.device { width: 160px; flex: none; display: block; }
.hw-card img.wide { width: 100%; height: 200px; object-fit: cover; border-radius: 16px; display: block; }
.hw-body { flex: 1 1 200px; display: flex; flex-direction: column; gap: 14px; }
.specs { display: flex; flex-wrap: wrap; gap: 10px; }
.specs span { background: var(--bg); border-radius: 10px; padding: 8px 12px; font-size: 14px; }

/* Benefits */
.benefits { background: var(--bg); }
.benefits h2 { margin: 0 0 40px; font-size: 38px; font-weight: 800; }
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.benefit { background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; border-top: 6px solid var(--teal); }
.benefit h3 { margin: 0; font-size: 22px; font-weight: 800; }
.benefit-item { display: flex; gap: 8px; font-size: 16px; }
.benefit-item svg { flex: none; margin-top: 3px; }

/* Process */
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.step { border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.step-label { font-size: 15px; font-weight: 800; }
.step h3 { margin: 0; font-size: 20px; font-weight: 800; }
.step p { margin: 0; font-size: 15px; color: var(--ink); }
.assurance-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.assurance { background: var(--navy); color: #fff; border-radius: 16px; padding: 28px; }
.assurance h3 { margin: 0 0 10px; font-size: 20px; font-weight: 800; }
.assurance p { margin: 0; font-size: 15px; color: var(--muted); }

/* About */
.about { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 48px; }
.about-copy { display: flex; flex-direction: column; gap: 16px; }
.about-copy h2 { margin: 0; font-size: 34px; line-height: 1.25; font-weight: 800; }
.about-copy p { margin: 0; font-size: 17px; color: var(--ink); }
.about-grid-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.about-card { background: #fff; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.about-card h3 { margin: 0; font-size: 16px; font-weight: 800; }
.about-card p { margin: 0; font-size: 15px; color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info h2 { margin: 0; font-size: 38px; font-weight: 800; }
.contact-info p { margin: 0; font-size: 17px; color: var(--ink); }
.contact-lines { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.map-box { height: 200px; border-radius: 16px; background: var(--map-bg); display: flex; align-items: center; justify-content: center; color: var(--ink); font-size: 15px; text-align: center; padding: 16px; }
.map-box a { font-weight: 700; }
.consult-form { background: var(--bg); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.consult-form h3 { margin: 0; font-size: 22px; font-weight: 800; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field textarea { font: inherit; font-weight: 400; padding: 13px 14px; border: 1px solid var(--input-line); border-radius: 10px; background: #fff; color: var(--navy); }
.field textarea { resize: vertical; }
.field-error { color: var(--red); font-size: 13px; font-weight: 600; }
.alert-success { background: #EAF7EE; border: 1px solid #9ED3AE; color: #1E6B34; border-radius: 12px; padding: 14px 16px; font-size: 15px; font-weight: 600; }
.btn-submit { font: inherit; font-weight: 700; font-size: 16px; background: var(--red); color: #fff; border: none; border-radius: 12px; padding: 15px; cursor: pointer; }

/* Footer */
.site-footer { background: var(--navy); color: var(--muted); }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand b { color: #fff; font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: #fff; }

@media (max-width: 640px) {
    .hero-copy h1 { font-size: 36px; }
    .section-head h2, .benefits h2, .contact-info h2 { font-size: 28px; }
    .hero-img { height: 260px; }
    .about-grid-cards, .feat-grid { grid-template-columns: 1fr; }
    .products { gap: 56px; }
    .products .section-head { margin-bottom: 0; }
}
