:root {
  --navy: #0b3764;
  --navy-dark: #072747;
  --blue: #165da2;
  --orange: #f5a000;
  --green: #65a91c;
  --text: #17212b;
  --muted: #64717e;
  --light: #f4f7f8;
  --white: #fff;
  --shadow: 0 18px 50px rgba(11,55,100,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, 90%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 20px rgba(0,0,0,.08);
  backdrop-filter: blur(10px);
}
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 180px; height: 68px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 28px; font-weight: 700; }
.main-nav a:hover { color: var(--orange); }
.nav-cta { background: var(--orange); color: var(--navy-dark); padding: 12px 18px; border-radius: 10px; }
.menu-button { display: none; border: 0; background: transparent; font-size: 1.8rem; }

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: center;
  background: url("assets/hero-vigo.png") center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,32,57,.92) 0%, rgba(5,32,57,.72) 48%, rgba(5,32,57,.18) 100%);
}
.hero-content { position: relative; color: white; padding: 100px 0; }
.hero h1 { max-width: 760px; margin: 8px 0 20px; font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: 1.02; letter-spacing: -.04em; }
.hero-copy { max-width: 660px; font-size: 1.2rem; color: rgba(255,255,255,.88); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; color: var(--orange); font-size: .82rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 23px; border-radius: 10px; border: 0; font-weight: 800; cursor: pointer; font-size: 1rem; }
.primary { background: var(--orange); color: var(--navy-dark); }
.primary:hover { filter: brightness(.95); transform: translateY(-1px); }
.secondary { border: 2px solid rgba(255,255,255,.8); color: white; }
.trust-row { display: flex; flex-wrap: wrap; gap: 24px; color: rgba(255,255,255,.9); font-weight: 700; }

.section { padding: 96px 0; }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading h2, .about h2, .contact h2 { color: var(--navy-dark); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; margin: 8px 0 16px; }
.section-heading p { color: var(--muted); font-size: 1.08rem; }

.services { background: var(--light); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: white; padding: 30px; border-radius: 18px; box-shadow: var(--shadow); border-top: 4px solid transparent; transition: .2s ease; }
.card:hover { transform: translateY(-5px); border-top-color: var(--orange); }
.card-icon { font-size: 2rem; }
.card h3 { color: var(--navy); margin: 14px 0 8px; }
.card p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1.35fr .65fr; gap: 55px; align-items: center; }
.check-list { padding: 0; list-style: none; }
.check-list li { margin: 12px 0; padding-left: 28px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.about-panel { background: var(--navy); color: white; padding: 38px; border-radius: 20px; box-shadow: var(--shadow); }
.about-panel strong { font-size: 1.35rem; }
.about-panel p { color: rgba(255,255,255,.75); }
.about-panel a { color: var(--orange); font-weight: 800; }

.projects { background: #eef3f6; }
.project-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; }
.project-card { margin: 0; overflow: hidden; border-radius: 18px; background: white; box-shadow: var(--shadow); }
.project-card img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; }
.project-card figcaption { padding: 18px 20px; font-weight: 800; color: var(--navy); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { padding: 25px; border-left: 3px solid var(--orange); background: var(--light); border-radius: 0 14px 14px 0; }
.step span { width: 40px; height: 40px; display: grid; place-items: center; background: var(--navy); color: white; border-radius: 50%; font-weight: 900; }
.step h3 { color: var(--navy); }

.contact { background: var(--navy-dark); color: white; }
.contact h2 { color: white; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.contact-info { display: grid; gap: 12px; margin-top: 30px; font-size: 1.08rem; }
.contact form { background: white; color: var(--text); padding: 32px; border-radius: 18px; display: grid; gap: 16px; }
.contact label { display: grid; gap: 7px; font-weight: 700; }
input, textarea { width: 100%; padding: 13px 14px; border: 1px solid #ccd4dc; border-radius: 9px; font: inherit; }
input:focus, textarea:focus { outline: 3px solid rgba(245,160,0,.2); border-color: var(--orange); }
.full { width: 100%; }
.form-note { margin: 0; color: var(--muted); font-size: .9rem; }

footer { background: #041d35; color: white; padding: 36px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 180px 1fr 1fr; gap: 30px; align-items: center; }
.footer-grid img { width: 150px; background: white; border-radius: 8px; }
.footer-grid p { color: rgba(255,255,255,.65); margin: 5px 0; }
.footer-bottom { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.55); font-size: .9rem; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 84px; left: 0; right: 0; background: white; padding: 24px 5%; flex-direction: column; align-items: flex-start; display: none; box-shadow: 0 18px 30px rgba(0,0,0,.1); }
  .main-nav.open { display: flex; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .project-grid { grid-template-columns: 1fr; }
  .hero { min-height: 650px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.65rem; }
  .trust-row { display: grid; gap: 8px; }
  .project-card img { min-height: 260px; }
  .brand img { width: 145px; }
}
