/* Rotor Pulse Engineering — site styles
   Brand: Navy #0B1E3F, Cyan #1FB5C9, font Inter (see BRAND.md) */

:root {
  --navy: #0B1E3F;
  --navy-2: #13294F;
  --cyan: #1FB5C9;
  --cyan-dark: #158C9C;
  --ink: #1C2533;
  --muted: #5A6475;
  --line: #DCE3EA;
  --light: #F2F5F8;
  --white: #FFFFFF;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(11, 30, 63, 0.10);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--cyan-dark); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--light { background: var(--light); }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title p { color: var(--muted); max-width: 640px; margin: 8px auto 0; }
.section-title h2::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 2px;
  background: var(--cyan); margin: 16px auto 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a, .nav button.nav-drop {
  font: inherit; font-size: .92rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; padding: 10px 14px; border-radius: 6px;
  background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav button.nav-drop:hover { color: var(--cyan-dark); }
.nav a.active { color: var(--cyan-dark); box-shadow: inset 0 -3px 0 var(--cyan); border-radius: 0; }
.nav a.btn-nav { background: var(--cyan); color: var(--navy); margin-left: 8px; border-radius: 6px; box-shadow: none; }
.nav a.btn-nav:hover { background: var(--navy); color: var(--white); }

.has-drop { position: relative; }
.has-drop > a::after { content: " ▾"; font-size: .75em; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 270px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; display: none;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { display: block; }
.dropdown a { display: block; text-transform: none; letter-spacing: 0; font-weight: 500; padding: 9px 12px; }
.dropdown a:hover { background: var(--light); }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); text-align: center;
  background: var(--navy) center/cover no-repeat;
  padding: 120px 0 110px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,30,63,.82) 0%, rgba(11,30,63,.68) 55%, rgba(11,30,63,.9) 100%);
}
.hero .container { position: relative; }
.hero h1 { color: var(--white); text-transform: uppercase; }
.hero .tagline { font-size: 1.1rem; color: #D6E4F0; margin: 4px 0 6px; }
.hero .pulse-line { color: var(--cyan); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; margin-top: 18px; }
.hero .actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.page-hero { padding: 90px 0 80px; }
.page-hero h1 { text-transform: none; }

.btn {
  display: inline-block; font-weight: 700; text-decoration: none; border-radius: 999px;
  padding: 13px 28px; transition: background .2s, color .2s, border-color .2s;
  border: 2px solid var(--cyan); background: var(--cyan); color: var(--navy); cursor: pointer; font: inherit; font-weight: 700;
}
.btn:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }

/* ---------- "What we do" carousel ---------- */
.carousel { display: flex; align-items: stretch; gap: 16px; }
.carousel-btn {
  flex: 0 0 52px; border: 0; border-radius: var(--radius); background: var(--cyan); color: var(--navy);
  font-size: 1.6rem; font-weight: 700; cursor: pointer;
}
.carousel-btn:hover { background: var(--navy); color: var(--white); }
.carousel-track { flex: 1; position: relative; min-height: 170px; }
.slide {
  position: absolute; inset: 0; background: var(--light); border-left: 5px solid var(--cyan);
  border-radius: var(--radius); padding: 26px 30px; opacity: 0; visibility: hidden; transition: opacity .4s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide h3 { font-size: 1.35rem; }
.slide p { color: var(--muted); margin: 0; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; padding: 0; }
.dots button.is-active { background: var(--cyan); }

/* ---------- Dark image band ("What we offer", "Our values") ---------- */
.band {
  position: relative; background: var(--navy) center/cover no-repeat; color: var(--white);
}
.band::before { content: ""; position: absolute; inset: 0; background: rgba(11,30,63,.88); }
.band .container { position: relative; }
.band h2 { color: var(--white); }
.band .section-title p { color: #C9D6E3; }

.cards { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.cards--5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.card {
  position: relative; background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: 54px 26px 28px; text-align: center; box-shadow: var(--shadow); margin-top: 30px;
}
.card .icon {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 60px; border-radius: 12px; background: var(--cyan); color: var(--navy);
  display: grid; place-items: center;
}
.card .icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.cards--5 .card { padding: 50px 18px 24px; }
.cards--5 .card h3 { font-size: 1.02rem; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Services grid (home) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 48px; }
.svc-grid .svc:nth-child(even) { margin-top: 70px; }
.svc h3 { font-size: 1.45rem; text-transform: uppercase; letter-spacing: .02em; font-weight: 700; }
.svc img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); margin: 12px 0 18px; }
.svc p { color: var(--muted); }

/* ---------- Industries strip ---------- */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.industry { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--white); }
.industry h3 { display: flex; align-items: center; gap: 10px; }
.industry h3 svg { width: 26px; height: 26px; color: var(--cyan-dark); flex: none; }
.industry p { color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta { background: var(--cyan); padding: 56px 0; }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta p { margin: 6px 0 0; color: var(--navy); }

/* ---------- About ---------- */
.prose { max-width: 820px; margin: 0 auto; font-size: 1.05rem; }
.prose strong { color: var(--navy); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.profile { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.profile .avatar { width: 220px; height: 220px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.profile .avatar img { width: 62%; }
.profile .role { color: var(--cyan-dark); font-weight: 600; margin-top: -6px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags span { background: var(--light); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: .88rem; color: var(--navy); }

/* ---------- Services page ---------- */
.svc-block { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.svc-block:last-child { border-bottom: 0; }
.svc-block:nth-child(even) .svc-media { order: 2; }
.svc-media { position: sticky; top: 110px; }
.svc-media img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.svc-block h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.svc-block .lead { color: var(--muted); font-size: 1.05rem; }
.items { display: grid; gap: 14px; margin-top: 20px; }
.item { background: var(--light); border-left: 4px solid var(--cyan); border-radius: 8px; padding: 16px 20px; }
.item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.item p { margin: 0; color: var(--muted); font-size: .95rem; }

.jump { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.jump a { color: var(--white); border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 8px 16px; text-decoration: none; font-size: .92rem; }
.jump a:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 10px; background: var(--navy); color: var(--cyan); display: grid; place-items: center; flex: none; }
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--cyan-dark); }

form.contact { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: .88rem; font-weight: 600; color: var(--navy); display: grid; gap: 6px; }
input, select, textarea {
  font: inherit; color: var(--ink); padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--light); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; background: var(--white); }
textarea { min-height: 150px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.consent input { width: auto; margin-top: 4px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-status { font-weight: 600; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C9D6E3; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer a { color: #C9D6E3; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .logo img { height: 44px; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; font-size: .85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Placeholder text the owner still needs to fill in (remove the class once done) */
.todo { background: #FFF3B0; color: #5B4A00; padding: 0 4px; border-radius: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards--5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 84px; left: 0; right: 0; background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px;
    border-bottom: 1px solid var(--line); display: none;
  }
  .nav.open { display: flex; }
  .nav a.active { box-shadow: none; }
  .nav a.btn-nav { margin: 8px 0 0; text-align: center; }
  .dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .cards, .industries, .svc-grid, .split, .svc-block, .contact-grid, .profile { grid-template-columns: 1fr; }
  .svc-grid .svc:nth-child(even) { margin-top: 0; }
  .svc-block:nth-child(even) .svc-media { order: 0; }
  .profile .avatar { margin: 0 auto; width: 160px; height: 160px; }
  .row2 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .cards--5 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .carousel-btn { flex-basis: 40px; }
}
