* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Manrope', sans-serif;
  background-color: #f9fafc;
  color: #1e1e2f;
  line-height: 1.5;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #0b2b40;
}

.logo span {
  color: #2a7faa;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-weight: 500;
  color: #2d3e50;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #2a7faa;
}

.btn {
  display: inline-block;
  background-color: #0b2b40;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #1d4b6e;
}

.btn-outline {
  background: transparent;
  border: 2px solid #0b2b40;
  color: #0b2b40;
  padding: 8px 22px;
}

.btn-outline:hover {
  background: #0b2b40;
  color: white;
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding: 60px 0 80px;
}

.hero-content {
  flex: 1 1 380px;
}

.hero-badge {
  background: #e1eef6;
  color: #0b2b40;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 40px;
  display: inline-block;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #0b2b40;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.15rem;
  color: #3e4e5e;
  margin-bottom: 32px;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  flex: 1 1 380px;
  background: linear-gradient(145deg, #d9e9f2, #b3d4e8);
  border-radius: 40px;
  padding: 24px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 40px -15px rgba(0, 40, 60, 0.25);
}

.hero-visual i {
  font-size: 10rem;
  color: #0b2b40;
  opacity: 0.7;
}

/* Stats strip */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  background: white;
  padding: 36px 40px;
  border-radius: 60px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
  margin-bottom: 80px;
}

.stat-item {
  text-align: center;
  flex: 1 1 120px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0b2b40;
}

.stat-label {
  font-size: 0.95rem;
  color: #5f6c7a;
  font-weight: 500;
}

/* Section headings */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #0b2b40;
  margin-bottom: 12px;
}

.section-header p {
  color: #5f6c7a;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 100px;
}

.project-card {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 40px -15px rgba(0, 40, 60, 0.2);
}

.project-thumb {
  height: 180px;
  background: #d4e4ef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.8rem;
  color: #0b2b40;
  opacity: 0.9;
  position: relative;
}

.project-thumb i {
  filter: drop-shadow(0 6px 8px rgba(0,0,0,0.05));
}

.project-info {
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #2a7faa;
  background: #e1eef6;
  padding: 4px 12px;
  border-radius: 40px;
  align-self: flex-start;
  margin-bottom: 12px;
}

.project-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0b2b40;
  margin-bottom: 8px;
}

.project-info p {
  color: #4e5e6e;
  font-size: 0.95rem;
  margin-bottom: 18px;
  flex: 1;
}

.project-link {
  text-decoration: none;
  font-weight: 600;
  color: #0b2b40;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}

.project-link i {
  transition: transform 0.2s;
}

.project-link:hover {
  gap: 12px;
}

.project-link:hover i {
  transform: translateX(3px);
}

/* CTA section */
.cta-section {
  background: #0b2b40;
  border-radius: 60px;
  padding: 70px 40px;
  text-align: center;
  color: white;
  margin-bottom: 80px;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-section p {
  color: #cbdae6;
  font-size: 1.15rem;
  max-width: 550px;
  margin: 0 auto 32px;
}

.cta-section .btn {
  background: white;
  color: #0b2b40;
}

.cta-section .btn:hover {
  background: #e1eef6;
}

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0 40px;
  border-top: 1px solid #dee7ed;
  color: #5f6c7a;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  text-decoration: none;
  color: #5f6c7a;
}

.footer-links a:hover {
  color: #0b2b40;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero {
    padding: 40px 0 60px;
  }
  .stats {
    padding: 28px 24px;
    border-radius: 40px;
  }
  .cta-section {
    padding: 50px 24px;
    border-radius: 40px;
  }
  .cta-section h2 {
    font-size: 1.9rem;
  }
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }
}

:root { --ink: #0b2b40; --accent: #2a7faa; --paper: #f9fafc; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { overflow-wrap: break-word; }
h1, h2, h3, .logo { font-family: 'Outfit', sans-serif; }
.logo { text-decoration: none; }
.navbar { border-bottom: 1px solid #dee7ed; }
.nav-links a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 7px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; transition: background-color .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.skip-link { position: absolute; left: 24px; top: 12px; z-index: 10; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.hero h1 { font-size: clamp(2.7rem, 4.6vw, 4.4rem); line-height: 1.08; }
.hero-visual { position: relative; padding: 0; min-height: 420px; overflow: hidden; background: #d9e9f2; border-radius: 30px 90px 30px 30px; }
.hero-visual img { width: 100%; height: 420px; object-fit: cover; display: block; }
.photo-caption { position: absolute; bottom: 22px; left: 22px; right: 22px; display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-radius: 16px; background: #ffffffed; color: var(--ink); font-weight: 600; font-size: .85rem; }
.status-dot { width: 8px; height: 8px; background: #467d64; border-radius: 50%; flex-shrink: 0; }
.project-thumb { height: 215px; opacity: 1; overflow: hidden; }
.project-thumb img { display: block; height: 100%; width: 100%; object-fit: cover; transition: transform .6s ease; }
.project-card:hover .project-thumb img { transform: scale(1.045); }
.projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.project-info { padding: 28px; }
.eyebrow { display: block; color: var(--accent); text-transform: uppercase; font-size: .75rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 16px; }
.section-header { text-align: left; }
.section-header p { margin: 0; }
.page-heading { padding: 76px 0 54px; max-width: 900px; }
.page-heading h1 { font-size: clamp(2.7rem, 5vw, 4.7rem); line-height: 1.08; color: var(--ink); letter-spacing: -1.5px; margin-bottom: 24px; }
.page-heading p { max-width: 660px; font-size: 1.15rem; color: #4e5e6e; }
.page-heading .hero-actions { margin-top: 28px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-button { border: 1px solid #c7d8e3; background: transparent; color: var(--ink); padding: 10px 20px; border-radius: 30px; font: inherit; font-size: .9rem; cursor: pointer; transition: background-color .2s, color .2s; }
.filter-button:hover { background: #e1eef6; }
.filter-button[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
[hidden] { display: none !important; }
.project-card[id] { scroll-margin-top: 28px; }
.project-card:target { outline: 3px solid var(--accent); outline-offset: 6px; }
.project-details { padding-top: 16px; border-top: 1px solid #dee7ed; font-size: .85rem !important; color: #5f6c7a; }
.stock-note { margin: -48px 0 60px; }
.services-list { margin-bottom: 80px; border-top: 1px solid #cddde6; }
.service-row { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 28px; padding: 38px 0; border-bottom: 1px solid #cddde6; align-items: start; }
.service-number { color: var(--accent); font-size: .9rem; padding-top: 7px; }
.service-row h2 { color: var(--ink); font-size: 1.8rem; line-height: 1.2; }
.service-row p { color: #4e5e6e; margin-bottom: 14px; }
.service-row ul { padding-left: 20px; color: #4e5e6e; font-size: .9rem; }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-bottom: 80px; }
.process h3 { color: var(--ink); margin: 12px 0; font-size: 1.25rem; }
.process p { font-size: .95rem; color: #4e5e6e; }
.process-number { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; border-radius: 50%; background: #e1eef6; color: var(--ink); font-weight: 600; }
.about-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.about-photo { width: 100%; height: 440px; object-fit: cover; border-radius: 28px 70px 28px 28px; }
.about-copy h2 { font-size: 2.3rem; color: var(--ink); line-height: 1.15; margin-bottom: 24px; }
.about-copy p { color: #4e5e6e; margin-bottom: 20px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 80px; }
.value { padding: 28px 0; border-top: 1px solid #cddde6; }
.value h3 { font-size: 1.5rem; color: var(--ink); margin-bottom: 12px; }
.value p { color: #4e5e6e; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; margin-bottom: 80px; }
.contact-aside { background: #e1eef6; border-radius: 28px; padding: 36px; align-self: start; }
.contact-aside h2 { color: var(--ink); font-size: 1.8rem; margin-bottom: 18px; }
.contact-aside p { color: #4e5e6e; margin-bottom: 24px; }
.contact-aside ul { padding-left: 20px; color: #4e5e6e; }
.contact-aside li { margin-bottom: 12px; }
.contact-form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: grid; gap: 8px; }
.form-field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-width: 0; padding: 14px 16px; border: 1px solid #b9cdd9; border-radius: 12px; background: white; font: inherit; color: var(--ink); }
.form-field textarea { resize: vertical; min-height: 160px; }
.form-note { font-size: .85rem; color: #5f6c7a; }
.form-message { padding: 16px; background: #e1eef6; color: var(--ink); border-radius: 12px; }
.form-message[data-state="error"] { background: #fae9e4; color: #8b3d2b; }
.contact-form .btn { justify-self: start; }
.btn:disabled { cursor: wait; opacity: .65; transform: none; }
.success-panel { max-width: 700px; padding: 30px 0 100px; }
.success-panel p { margin-bottom: 28px; color: #4e5e6e; }

@media (prefers-reduced-motion: no-preference) {
  .hero-content > * { animation: enter .7s both; }
  .hero-content > :nth-child(2) { animation-delay: .1s; }
  .hero-content > :nth-child(3) { animation-delay: .2s; }
  .hero-content > :nth-child(4) { animation-delay: .3s; }
  .hero-visual, .page-heading { animation: enter .85s .15s both; }
  .reveal-pending { opacity: 0; transform: translateY(24px); }
  .reveal-visible { opacity: 1; transform: translateY(0); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--reveal-delay, 0ms); }
  @keyframes enter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 900px) {
  .navbar { gap: 20px; }
  .nav-links { gap: 20px; }
  .hero { gap: 32px; }
  .hero-visual { flex-basis: 100%; }
  .hero-visual img { height: 380px; }
  .hero-visual { min-height: 380px; }
  .about-layout, .contact-layout { gap: 32px; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .navbar { padding: 22px 0; }
  .nav-links { gap: 18px; font-size: .9rem; }
  .navbar > .btn { display: none; }
  .hero-visual, .hero-visual img { min-height: 300px; height: 300px; }
  .hero-visual { border-top-right-radius: 60px; }
  .photo-caption { left: 14px; right: 14px; bottom: 14px; font-size: .75rem; padding: 14px; }
  .stats { border-radius: 24px; margin-bottom: 60px; }
  .stat-item { flex-basis: 40%; }
  .stat-number { font-size: 1.8rem; }
  .stat-label { font-size: .8rem; }
  .projects-grid, .values, .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .projects-grid { margin-bottom: 60px; gap: 24px; }
  .section-header h2 { font-size: 2rem; }
  .page-heading { padding: 48px 0 36px; }
  .service-row { grid-template-columns: 36px 1fr; gap: 12px; }
  .service-row > div { grid-column: 2; }
  .service-row h2 { font-size: 1.6rem; }
  .process { gap: 24px; }
  .about-photo { height: 320px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-aside { padding: 28px; }
  .cta-section { border-radius: 28px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
}
