/* ===========================================
   Data Lighthouse — estilos base
   =========================================== */

:root {
  --navy: #303841;
  --navy-soft: #3d434c;
  --navy-softer: #454b55;
  --orange: #e6804b;
  --orange-dark: #c9642f;
  --mint: #eaf2ec;
  --text-light: #acaeb1;
  --text-muted: #5b6270;
  --white: #ffffff;
  --radius: 10px;
  --container: 1440px;
  --font-head: "Inconsolata", monospace;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-muted);
  background: var(--white);
  line-height: 1.55;
}

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

a { text-decoration: none; color: inherit; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--text-light);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.logo-img-footer {
  height: 60px;
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: var(--text-light);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

/* ===== Hero ===== */

.hero {
  position: relative;
  background: var(--navy);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 90px 0 110px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(48, 56, 65, 0.94) 0%, rgba(48, 56, 65, 0.86) 42%, rgba(48, 56, 65, 0.5) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-card {
  max-width: 620px;
  background: linear-gradient(135deg, var(--orange) 0%, #a3562b 60%, #5c3a26 100%);
  border-radius: 16px;
  padding: 48px 46px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
}

.hero-card h1 {
  color: var(--white);
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 26px;
}

.hero-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
}

.hero-check {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.hero-check svg {
  width: 12px;
  height: 12px;
  stroke: var(--white);
  fill: none;
  stroke-width: 3;
}

/* ===== Services ===== */

.services {
  background: var(--navy);
  padding: 90px 0;
}

.services .eyebrow { color: var(--orange); }

.services h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 32px);
  max-width: 560px;
  margin-bottom: 50px;
}

.services-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.services-row:last-child { margin-bottom: 0; }

.services-row.reverse .services-row-media { order: 2; }

.services-row-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.4s ease;
}

.services-row-media:hover img {
  transform: scale(1.03);
}

.services-row-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.service-item {
  display: flex;
  gap: 18px;
  transition: transform 0.2s ease;
}

.service-item:hover {
  transform: translateX(4px);
}

.service-icon {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(230, 128, 75, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}

.service-item h3 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 6px;
}

.service-item p {
  color: var(--text-light);
  font-size: 14px;
  margin: 0;
}

/* ===== About ===== */

.about {
  background: var(--mint);
  padding: 90px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.about h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 18px;
}

.about-intro p {
  font-size: 15px;
  margin: 0 0 28px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 28px;
}

.about-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: 32px;
  color: var(--navy);
}

.about-stats span {
  font-size: 13px;
  color: var(--text-muted);
}

.about-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.about-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.about-icon {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 16px;
}

.about-card h3 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 8px;
}

.about-card p {
  color: var(--text-light);
  font-size: 13.5px;
  margin: 0;
}

/* ===== Cases ===== */

.cases {
  background: var(--navy);
  padding: 90px 0;
}

.cases .eyebrow { color: var(--orange); }

.cases h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 32px);
  max-width: 560px;
  margin-bottom: 50px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 48px -20px rgba(0, 0, 0, 0.55);
}

.case-banner {
  height: 150px;
  overflow: hidden;
}

.case-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-card:hover .case-banner img {
  transform: scale(1.06);
}

.case-body {
  padding: 26px 24px 30px;
}

.case-body h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.case-tag {
  display: block;
  font-size: 12.5px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 16px;
}

.case-body h4 {
  font-family: var(--font-body);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin: 14px 0 4px;
}

.case-body p {
  font-size: 13.5px;
  margin: 0;
  color: var(--text-muted);
}

.case-impact {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-impact li {
  font-size: 13.5px;
  display: flex;
  gap: 8px;
  color: var(--text-muted);
}

.case-impact li::before {
  content: "↗";
  color: var(--orange);
  font-weight: 700;
}

/* ===== Contact ===== */

.contact {
  background: var(--navy);
  padding: 90px 0 70px;
  text-align: center;
}

.contact h2 {
  color: var(--white);
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: 46px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item span {
  color: var(--text-light);
  font-size: 14.5px;
}

.contact-item a:hover span { color: var(--orange); }

/* ===== Footer ===== */

.site-footer {
  background: var(--navy);
  padding: 60px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-about p {
  color: var(--text-light);
  font-size: 13.5px;
  margin-top: 14px;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-col span {
  color: var(--text-light);
  font-size: 14px;
}

.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  padding-top: 22px;
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
}

/* ===== Scroll reveal ===== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .services-row-media img,
  .case-banner img,
  .service-item,
  .case-card {
    transition: none;
  }
}

/* ===== Responsive ===== */

@media (max-width: 960px) {
  .services-row { grid-template-columns: 1fr; }
  .services-row.reverse .services-row-media { order: 0; }
  .services-row-media img { height: 260px; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-primary { display: none; }
  .cases-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .about-stats { gap: 28px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 60px 0 70px; }
  .hero-card { padding: 34px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header.nav-open .main-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px 24px 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-header.nav-open .main-nav ul {
    flex-direction: column;
    gap: 18px;
  }
}
