
:root {
  --navy:   #1F2937;
  --mid:    #FF8A3D;
  --blue:   #FF6600;
  --sky:    #E65C00;
  --bg:     #FAFAFA;
  --white:  #FFFFFF;
  --border: #E5E7EB;
  --text:   #111827;
  --muted:  #6B7280;
  --tag-bg: #FFF4E6;
}
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
body { font-family:'Segoe UI',Arial,sans-serif; background:var(--bg); color:var(--text); line-height:1.7; font-size:15px; }

/* ── Top nav ── */
.topnav {
  background:var(--navy);
  display:flex; align-items:center;
  padding:0 40px; height:58px; gap:0;
  position:sticky; top:0; z-index:100;
  box-shadow:0 2px 12px rgba(0,0,0,.3);
}
.topnav .brand {
  color:#fff; font-size:1.35rem; font-weight:800;
  text-decoration:none; letter-spacing:-.5px;
  padding-right:32px;
  margin-right:24px; white-space:nowrap;
}
.topnav .brand em { color:var(--sky); font-style:normal; }
.topnav nav { display:flex; gap:4px; flex:1; }
.topnav nav a {
  color:rgba(255,255,255,.65); text-decoration:none;
  font-size:.83rem; font-weight:500;
  padding:7px 16px; border-radius:6px;
  transition:background .15s,color .15s;
  white-space:nowrap;
}
.topnav nav a:hover { background:rgba(255,255,255,.1); color:#fff; }
.topnav nav a.active { background:rgba(255,255,255,.15); color:#fff; }
.topnav .cta-nav {
  margin-left:auto;
  background:var(--blue); color:#fff !important;
  border-radius:6px; font-weight:600 !important;
  padding:7px 18px !important;
}
.topnav .cta-nav:hover { background:var(--sky) !important; }
.nav-contact { display: none; }

/* ── Nav dropdown ── */
.nav-dropdown { position:relative; }
.nav-dropdown .nav-parent {
  display:flex; align-items:center; gap:5px; cursor:default;
}
.nav-arrow {
  font-size:.6rem; opacity:.7; line-height:1;
  transition:transform .15s; display:inline-block;
}
.nav-dropdown:hover .nav-arrow { transform:rotate(180deg); }
.nav-dropdown__menu {
  display:none;
  position:absolute; top:100%; left:0;
  min-width:210px;
  background:var(--navy);
  border-radius:8px;
  box-shadow:0 8px 28px rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.08);
  padding:10px 0 6px;
  z-index:200;
}
.nav-dropdown:hover .nav-dropdown__menu { display:block; }
.nav-dropdown__menu a {
  display:block; padding:9px 18px; border-radius:0;
}
.nav-dropdown__menu a:hover { border-radius:0; }

@media (max-width:900px) {
  .nav-dropdown__menu {
    position:static; display:block;
    box-shadow:none; border:none; border-radius:0;
    padding:0; min-width:0; background:transparent;
  }
  .nav-dropdown__menu a { padding:7px 12px; font-size:.78rem; }
  .nav-arrow { display:none; }
}

/* ── Root hero ── */
.root-hero {
  background:linear-gradient(145deg, var(--navy) 0%, var(--mid) 55%, #1A4A7A 100%);
  color:#fff; padding:96px 48px 80px; text-align:center;
}
.root-hero .pre-label {
  display:inline-block; background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.2); border-radius:20px;
  padding:5px 16px; font-size:.75rem; font-weight:600;
  letter-spacing:1px; text-transform:uppercase; margin-bottom:24px;
}
.root-hero h1 { font-size:3rem; font-weight:800; line-height:1.15; margin-bottom:20px; }
.root-hero h1 em { color:var(--sky); font-style:normal; }
.root-hero p  { font-size:1.1rem; opacity:.8; max-width:600px; margin:0 auto 40px; }
.root-hero .hero-cta { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.btn-primary {
  background:var(--blue); color:#fff; text-decoration:none;
  padding:13px 28px; border-radius:8px; font-weight:700; font-size:.95rem;
  transition:background .15s, transform .15s;
  display:inline-block;
}
.btn-primary:hover { background:var(--sky); transform:translateY(-2px); }
.btn-ghost {
  background:rgba(255,255,255,.1); color:#fff; text-decoration:none;
  padding:13px 28px; border-radius:8px; font-weight:600; font-size:.95rem;
  border:1px solid rgba(255,255,255,.25);
  transition:background .15s;
  display:inline-block;
}
.btn-ghost:hover { background:rgba(255,255,255,.18); }

/* ── Trust bar ── */
.trust-bar {
  background:var(--white); border-bottom:1px solid var(--border);
  display:flex; justify-content:center; align-items:center;
  gap:40px; padding:18px 48px; flex-wrap:wrap;
  font-size:.8rem; color:var(--muted); font-weight:600;
}
.trust-bar span { display:flex; align-items:center; gap:8px; }

/* ── Area intro text ── */
.area-intro {
  max-width:1100px; margin:56px auto 0; padding:0 40px; text-align:center;
}
.area-intro p {
  font-size:1rem; color:var(--muted); max-width:700px; margin:0 auto; line-height:1.7;
}

/* ── Area cards (root) ── */
.area-grid {
  max-width:1100px; margin:28px auto 64px;
  display:grid; grid-template-columns:repeat(auto-fill,minmax(310px,1fr));
  gap:24px; padding:0 40px;
}
.area-card--integration {
  grid-column:1 / -1;
  flex-direction:row; align-items:center; padding:28px 36px; gap:24px;
}
.area-card--integration .integration-text {
  flex:1; display:flex; flex-direction:column; gap:6px;
}
.area-card--integration .feat-count { margin-top:0; flex-shrink:0; white-space:nowrap; }
.area-card {
  background:var(--white); border-radius:14px; padding:24px 28px;
  text-decoration:none; color:inherit;
  box-shadow:0 2px 12px rgba(0,0,0,.07);
  border-top:4px solid;
  transition:transform .18s, box-shadow .18s;
  display:flex; flex-direction:column; gap:12px;
}
.area-card:hover { transform:translateY(-6px); box-shadow:0 12px 32px rgba(0,0,0,.13); }
.area-card .a-icon { font-size:2.2rem; }
.area-card h2 { font-size:1.25rem; font-weight:700; }
.area-card p  { font-size:.9rem; color:var(--muted); line-height:1.6; }
.area-card .feat-count { margin-top:auto; font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.5px; }

/* ── About section ── */
.about-once {
  background:var(--bg);
  border-bottom:1px solid var(--border);
  padding:72px 40px;
}
.about-inner {
  max-width:1100px; margin:0 auto;
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:stretch;
}
.about-text .pre-label {
  display:inline-block; border-radius:20px; border:1px solid;
  padding:5px 16px; font-size:.75rem; font-weight:600;
  letter-spacing:1px; text-transform:uppercase; margin-bottom:16px;
}
.about-text h2 { font-size:1.6rem; font-weight:800; color:var(--navy); margin-bottom:14px; line-height:1.25; }
.about-text > p { font-size:.93rem; color:var(--muted); line-height:1.75; margin-bottom:28px; }
.about-points {
  list-style:none; display:flex; flex-direction:column; gap:8px; margin-bottom:28px;
}
.about-points li {
  display:flex; align-items:flex-start; gap:10px;
  font-size:.9rem; color:var(--text); line-height:1.5;
}
.about-points li::before {
  content:"✓"; color:var(--blue); font-weight:800; flex-shrink:0; margin-top:1px;
}
/* Gallery */
.about-gallery { display:flex; flex-direction:column; gap:14px; height:100%;margin-top: 40px; }
.gallery-track {
  position:relative; overflow:hidden; border-radius:14px;
  flex:1; min-height:380px; background:var(--border);
  box-shadow:0 4px 20px rgba(0,0,0,.08);
}
.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: transform .4s ease;
}
.gallery-slide img { width:100%; height:100%; object-fit:cover; display:block; }
.gallery-controls { display:flex; align-items:center; justify-content:center; gap:16px; }
.gallery-btn {
  width:36px; height:36px; border-radius:50%;
  border:1px solid var(--border); background:var(--white);
  color:var(--navy); cursor:pointer; font-size:1rem; font-weight:700;
  display:flex; align-items:center; justify-content:center;
  transition:background .15s, border-color .15s, color .15s;
}
.gallery-btn:hover { background:var(--blue); border-color:var(--blue); color:#fff; }
.gallery-dots { display:flex; gap:7px; }
.gallery-dot {
  width:7px; height:7px; border-radius:50%; background:var(--border);
  cursor:pointer; transition:background .2s, transform .2s;
}
.gallery-dot.active { background:var(--blue); transform:scale(1.35); }

/* ── Section hero ── */
.section-hero {
  background:linear-gradient(135deg, var(--navy) 0%, var(--mid) 100%);
  color:#fff; padding:72px 48px 60px; text-align:center;
}
.section-hero .s-icon { font-size:2.8rem; display:block; margin-bottom:16px; }
.section-hero h1 { font-size:2.2rem; font-weight:800; margin-bottom:14px; }
.section-hero p  { font-size:1rem; opacity:.8; max-width:620px; margin:0 auto 28px; }
.section-hero .accent-line { display:inline-block; height:3px; width:50px; border-radius:2px; margin-bottom:20px; }

/* ── Feature cards grid ── */
.feat-grid {
  max-width:1060px; margin:48px auto;
  display:grid; grid-template-columns:repeat(auto-fill,minmax(290px,1fr));
  gap:20px; padding:0 40px 64px;
}
.feat-card {
  background:var(--white); border-radius:12px; padding:28px 24px;
  text-decoration:none; color:inherit;
  border:1px solid var(--border);
  transition:transform .15s, box-shadow .15s, border-color .15s;
  display:flex; flex-direction:column; gap:10px;
}
.feat-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,0,0,.1); border-color:var(--blue); }
.feat-card .f-icon { font-size:1.7rem; }
.feat-card h3 { font-size:.97rem; font-weight:700; }
.feat-card p  { font-size:.83rem; color:var(--muted); line-height:1.55; }
.feat-card .caps { margin-top:auto; }
.feat-card .cap-pill {
  display:inline-block; background:var(--tag-bg); color:var(--blue);
  border-radius:4px; padding:2px 8px; font-size:.72rem; font-weight:600;
  margin:2px 2px 0 0;
}
.feat-card .explore { font-size:.8rem; font-weight:700; color:var(--blue); margin-top:10px; display:block; }

/* ── Testimonials ── */
.testimonials {
  background:var(--white);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  padding:72px 40px;
}
.testimonials-inner { max-width:1100px; margin:0 auto; display:flex; flex-direction:column; gap:24px; }
.testimonials-header {
  text-align:center; margin-bottom:8px;
}
.testimonials-header .pre-label {
  display:inline-block; border-radius:20px; border:1px solid;
  padding:5px 16px; font-size:.75rem; font-weight:600;
  letter-spacing:1px; text-transform:uppercase; margin-bottom:16px;
}
.testimonials-header h2 {
  font-size:1.85rem; font-weight:800; color:var(--navy); margin-bottom:10px;
}
.testimonials-header p {
  font-size:.95rem; color:var(--muted); max-width:520px; margin:0 auto;
}

/* Featured 2-col card */
.t-featured {
  display:grid; grid-template-columns:1fr 1fr;
  border-radius:16px; overflow:hidden;
  box-shadow:0 4px 24px rgba(0,0,0,.1);
  min-height:340px;
}
.t-featured__img { overflow:hidden; }
.t-featured__img img {
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .4s;
}
.t-featured:hover .t-featured__img img { transform:scale(1.03); }
.t-featured__body {
  background:var(--navy); color:#fff;
  padding:36px 32px; display:flex; flex-direction:column; gap:20px; justify-content:center;
}
.t-logo { height:36px; width:auto; object-fit:contain; object-position:left; }
.t-featured__body .tq-quote {
  font-size:1rem; line-height:1.7; font-style:italic;
  color:rgba(255,255,255,.9);
}
.t-featured__body .tq-author { border-top:1px solid rgba(255,255,255,.15); padding-top:18px; }
.t-featured__body .tq-name  { color:#fff; }
.t-featured__body .tq-role  { color:rgba(255,255,255,.55); }

/* Testimonial grid */
.testimonial-grid {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}

/* Base card */
.testimonial-card {
  background:var(--bg); border:1px solid var(--border);
  border-radius:14px; overflow:hidden;
  display:flex; flex-direction:column;
  transition:box-shadow .18s, transform .18s;
}
.testimonial-card:hover {
  box-shadow:0 8px 28px rgba(0,0,0,.1);
  transform:translateY(-3px);
}
.testimonial-card--wide { grid-column:1 / -1; }

/* Portrait photo at top of card */
.tc-portrait {
  width:100%; height:auto; aspect-ratio:2/2; object-fit:cover; object-position:top center;
  display:block;
}

/* Logo band (dark header inside card) */
.tc-logo-band {
  background:var(--navy);
  display:flex; align-items:center; justify-content:center;
  padding:20px 28px; height:90px;
}
.tc-logo-band img { max-height:44px; max-width:160px; object-fit:contain; }

/* Card body padding (quote + author) */
.tq-quote {
  font-size:.9rem; color:var(--text); line-height:1.75;
  font-style:italic; padding:24px 24px 0;
  flex:1;
}
.tq-author {
  display:flex; align-items:center; gap:12px;
  padding:16px 24px 24px;
  border-top:1px solid var(--border); margin-top:16px;
}
.tq-photo {
  width:44px; height:44px; border-radius:50%;
  object-fit:cover; flex-shrink:0;
  border:2px solid var(--border);
}
.tq-avatar {
  width:44px; height:44px; border-radius:50%;
  background:linear-gradient(135deg, var(--blue), var(--sky));
  color:#fff; font-size:.78rem; font-weight:800;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; letter-spacing:.5px;
}
.tq-name { font-size:.88rem; font-weight:700; color:var(--navy); }
.tq-role { font-size:.76rem; color:var(--muted); margin-top:2px; }

/* ── Demo CTA band ── */
.demo-cta {
  background:linear-gradient(135deg, var(--navy) 0%, #0E3060 60%, #1A4A7A 100%);
  padding:64px 40px;
  text-align:center;
}
.demo-cta__inner {
  max-width:800px; margin:0 auto;
  display:flex; flex-direction:column; align-items:center; gap:28px;
}
.demo-cta__text h2 {
  font-size:2rem; font-weight:800; color:#fff; margin-bottom:10px; line-height:1.2;
}
.demo-cta__text p { font-size:1rem; color:rgba(255,255,255,.7); }
.demo-cta__actions {
  display:flex; flex-direction:column; align-items:center; gap:14px;
}
.demo-cta__btns { display:flex; gap:14px; flex-wrap:wrap; justify-content:center; }
.btn-xl { padding:16px 36px; font-size:1rem; border-radius:10px; }
.demo-cta__sub {
  font-size:.78rem; color:rgba(255,255,255,.4); letter-spacing:.3px;
}

/* ── Footer ── */
footer {
  background:var(--navy); color:rgba(255,255,255,.45);
  text-align:center; padding:24px; font-size:.78rem;
  border-top:1px solid rgba(255,255,255,.07);
}
footer strong { color:rgba(255,255,255,.75); }
footer a { color:var(--sky); text-decoration:none; }

/* ── Rich footer ── */
.footer-rich { text-align:left; padding:0; }
.footer-inner {
  max-width:1100px; margin:0 auto;
  padding:48px 40px 36px;
  display:grid; grid-template-columns:1fr 1fr 1fr; gap:40px;
}
.footer-col__label {
  font-size:.68rem; font-weight:700; text-transform:uppercase;
  letter-spacing:1px; color:var(--blue); margin-bottom:10px;
}
.footer-col strong { display:block; color:rgba(255,255,255,.85); font-weight:700; margin-bottom:2px; }
.footer-formerly { display:block; font-size:.75rem; color:rgba(255,255,255,.38); margin-bottom:8px; }
.footer-col address { font-style:normal; line-height:1.7; margin-bottom:4px; }
.footer-org { color:rgba(255,255,255,.35); font-size:.75rem; margin-bottom:10px; }
.footer-map { display:inline-block; font-size:.78rem; font-weight:600; text-decoration:none; }
.footer-map:hover { text-decoration:underline; }
.footer-bottom {
  max-width:1100px; margin:0 auto;
  padding:18px 40px;
  border-top:1px solid rgba(255,255,255,.07);
  font-size:.75rem; color:rgba(255,255,255,.3); text-align:center;
}
.footer-bottom strong { color:rgba(255,255,255,.55); }

@media(max-width:768px) {
  .root-hero h1 { font-size:2rem; }
  .area-grid, .feat-grid { padding:0 16px; }
  .area-intro { padding:0 16px; }
  .area-card--integration { flex-direction:column; align-items:flex-start; }
  .topnav { padding:0 16px; position:fixed; top:0; left:0; right:0; transition:transform .3s ease; }
  .topnav--hidden { transform:translateY(-100%); }
  body { padding-top:58px; }
  .testimonials { padding:48px 16px; }
  .about-once { padding:48px 16px; }
  .about-inner { grid-template-columns:1fr; gap:36px; }
  .t-featured { grid-template-columns:1fr; }
  .t-featured__img { height:220px; }
  .t-featured__img img { height:100%; }
  .testimonial-grid { grid-template-columns:1fr; }
  .testimonial-card--wide { grid-column:auto; }
  .demo-cta { padding:48px 20px; }
  .demo-cta__text h2 { font-size:1.5rem; }
  .footer-inner { grid-template-columns:1fr; gap:28px; padding:36px 20px 28px; }
  .footer-bottom { padding:16px 20px; }
  .footer-col:nth-child(2) { display:none; }
  .topnav nav a.nav-contact { display: block; margin: 8px 20px 4px; border-radius: 8px; text-align: center; }
}
