
:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --white: #fff;
  --panel: #edf2f6;
  --ink: #14263b;
  --body: #4d5e6f;
  --navy: #183751;
  --blue: #305b78;
  --line: #d4dce2;
  --control: #909eaa;
  --max: 1240px;
  --header-height: 76px;
  --display: 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 'Segoe UI', Arial, sans-serif;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { margin: 0; }
:focus-visible { outline: 2px solid #296f9e; outline-offset: 4px; }
.container { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }

.kicker, .service-index {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.55;
  text-transform: uppercase;
}

.header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 30;
  background: #ffffffed;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo { width: 42px; height: 42px; object-fit: cover; object-position: 50% 34%; border-radius: 5px; }
.brand-name { font: 800 21px/1.2 var(--display); letter-spacing: .12em; }
.brand-sub { color: var(--body); font-size: 9px; font-weight: 700; letter-spacing: .12em; margin-top: 4px; }
.links { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); font-size: 13px; font-weight: 700; }
.links a:not(.nav-cta), .footer-nav a { color: var(--body); }
.links a:not(.nav-cta):hover, .footer-nav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 46px;
  padding: 11px 17px;
  border: 1px solid var(--navy);
  border-radius: 5px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  transition: background-color .2s, border-color .2s, color .2s;
}
.nav-cta:hover, .btn:hover { background: #254d6d; border-color: #254d6d; }
.btn.outline { background: transparent; border-color: var(--control); color: var(--navy); }
.btn.outline:hover { background: var(--panel); border-color: var(--navy); }
.hamb { display: none; background: var(--white); border: 1px solid var(--control); border-radius: 5px; color: var(--navy); width: 44px; min-height: 44px; font-size: 20px; }

.hero { padding-top: clamp(52px, 7.8vw, 104px); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr); align-items: center; gap: clamp(25px, 4vw, 64px); }
.hero .kicker { max-width: 45ch; }
.hero h1 {
  margin: 18px 0 21px;
  font: 800 clamp(2.55rem, 4.65vw, 4.45rem)/1.05 var(--display);
  letter-spacing: -.06em;
}
.hero h1 em { color: var(--blue); font-style: normal; }
.hero p { max-width: 46ch; color: var(--body); font-size: clamp(16px, 1.35vw, 18px); line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-image {
  width: 100%;
  aspect-ratio: 1.51;
  height: auto;
  object-fit: cover;
  object-position: 78% center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  box-shadow: 0 18px 38px #233b521e;
}
.hero-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(36px, 5.4vw, 70px);
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.statstrip { background: var(--white); border-block: 1px solid var(--line); }
.statgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 21px 22px; border-right: 1px solid var(--line); color: var(--body); font-size: 13px; line-height: 1.45; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat span { display: block; color: var(--navy); font: 800 17px/1.25 var(--display); margin-bottom: 5px; }

.section { padding-block: clamp(64px, 7.25vw, 104px); }
.section-head { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 34px; }
.section h2 { margin: 10px 0 0; font: 800 clamp(1.95rem, 3.55vw, 3.2rem)/1.13 var(--display); letter-spacing: -.047em; }
.section-desc { max-width: 42ch; color: var(--body); font-size: 15px; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 5px 15px #233b5208;
}
.service img { width: 100%; aspect-ratio: 2.2; object-fit: cover; object-position: center 40%; }
.service-body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 25px 28px 27px; }
.service h3, .project h3 { font: 800 clamp(1.3rem, 2.3vw, 1.65rem)/1.2 var(--display); letter-spacing: -.025em; margin: 7px 0 10px; }
.service p, .project p { color: var(--body); font-size: 14px; line-height: 1.65; }
.service p { margin-bottom: 18px; }
.service .arrow {
  margin-top: auto;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #95aab9;
  border-radius: 0;
  padding: 6px 0 4px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: left;
}
.service .arrow:hover { color: var(--blue); border-color: var(--blue); }

#hakkimizda { background: var(--white); border-block: 1px solid var(--line); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature-image { width: 100%; aspect-ratio: 1.2; object-fit: cover; object-position: 72% center; border-radius: 8px; }
.about-text p { color: var(--body); margin-top: 16px; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 25px 0; }
.check { border-top: 1px solid var(--line); padding-top: 10px; font-size: 13px; font-weight: 700; }
.check::before { content: '↗'; color: var(--blue); margin-right: 7px; }

.process { background: var(--panel); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.step { border-top: 2px solid #9fb4c4; padding: 14px 0 0; }
.step strong { color: var(--blue); font: 750 26px/1 var(--display); }
.step h3 { font: 800 16px/1.35 var(--display); margin: 13px 0 7px; }
.step p { color: var(--body); font-size: 13px; }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.project { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.project img { width: 100%; aspect-ratio: 2.05; object-fit: cover; object-position: center 42%; }
.project .overlay { padding: 21px 24px; }
.notice { color: var(--body); font-size: 13px; line-height: 1.65; margin-top: 16px; }

.cta-section { background: #e8eef3; border-block: 1px solid var(--line); padding-block: clamp(44px, 5.5vw, 78px); }
.cta-section .inner { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.cta-section h2 { max-width: 24ch; }
.cta-section .btn { flex-shrink: 0; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(30px, 7vw, 85px); }
.contact-layout p { color: var(--body); margin-top: 14px; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 800; }
.field input, .field select, .field textarea, #toast + textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--control);
  border-radius: 5px;
  background: #fcfcfb;
  color: var(--ink);
  font-size: 14px;
}
.field input::placeholder, .field textarea::placeholder { color: #5d6975; opacity: 1; }
.field textarea { min-height: 116px; resize: vertical; }
.form-note { font-size: 12px; line-height: 1.65; }
.contact-layout .toast { display: none; color: #23543c; font-size: 13px; font-weight: 700; margin-bottom: 10px; }

.footer { padding: 38px 0 22px; background: var(--panel); border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 24px; }
.footer p { color: var(--body); font-size: 13px; margin-top: 9px; }
.footer-nav { display: flex; align-items: start; flex-wrap: wrap; gap: 10px 18px; font-size: 13px; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid var(--line); margin-top: 26px; padding-top: 16px; color: var(--body); font-size: 12px; }

.modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 16px; background: #14263b80; }
.modal.show { display: flex; }
.modal-panel { width: min(100%, 648px); max-height: 85vh; overflow: auto; position: relative; padding: 34px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); box-shadow: 0 20px 60px #14263b40; }
.close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border: 0; border-radius: 5px; background: var(--panel); color: var(--navy); font-size: 26px; line-height: 1; }
.close:hover { background: #dce7ee; }
.modal-panel .kicker { padding-right: 48px; }
.modal-panel h2 { font: 800 clamp(1.4rem, 4vw, 1.9rem)/1.2 var(--display); margin: 10px 0; }
.modal-panel p, .modal-panel li { color: var(--body); font-size: 14px; }
.modal-panel ul { padding-left: 20px; margin: 14px 0 20px; }
.modal-panel li + li { margin-top: 5px; }

@media (max-width: 930px) {
  .links { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 32px 18px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 10px 22px #14263b12; }
  .links.open, .hamb { display: flex; }
  .hamb { align-items: center; justify-content: center; }
  .links a:not(.nav-cta) { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .links .nav-cta { align-self: start; margin-top: 12px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 740px) {
  :root { --header-height: 66px; }
  .container { width: min(calc(100% - 40px), var(--max)); }
  .brand-logo { width: 38px; height: 38px; }
  .brand-name { font-size: 19px; }
  .links { padding-inline: 20px; }
  .hero { padding-top: 38px; }
  .hero-inner, .two-col, .contact-layout { grid-template-columns: 1fr; gap: 27px; }
  .hero h1 { font-size: clamp(2.2rem, 7.5vw, 3.5rem); margin: 12px 0 14px; }
  .hero .kicker { max-width: 38ch; }
  .hero-image { aspect-ratio: 1.75; }
  .actions { margin-top: 21px; }
  .hero-foot { margin-top: 24px; }
  .statgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 13px 12px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(even) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat span { font-size: 15px; }
  .section-head { display: block; margin-bottom: 24px; }
  .section-desc { margin-top: 13px; }
  .service-body, .project .overlay { padding: 18px; }
  .feature-image { aspect-ratio: 1.65; }
  .cta-section .inner { display: block; }
  .cta-section .btn { margin-top: 21px; }
  .footer-top { flex-direction: column; gap: 15px; }
}

@media (max-width: 540px) {
  .services, .projects-grid, .form-row { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 13px; }
  .section { padding-block: 54px; }
  .form, .modal-panel { padding: 20px; }
  .close { top: 8px; right: 8px; }
  .hero-foot { font-size: 9px; letter-spacing: .075em; }
  .hero-foot span:last-child { text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-cta { transition: none; }
}

.header,
.hero {
  --ink: #f5f7fa;
  --body: #c3cfda;
  --blue: #b5cde0;
  --line: #3b536a;
  --panel: #20374c;
  color: var(--ink);
}

.header { background: #101e2d; }
.hero { background: linear-gradient(115deg, #101e2d, #1c3247); }
.hero-image { box-shadow: 0 18px 38px #060e1780; }

.header .nav-cta,
.hero .btn {
  border-color: #e7eff6;
  background: #e7eff6;
  color: #14263b;
}
.header .nav-cta:hover,
.hero .btn:hover {
  border-color: #c8dcec;
  background: #c8dcec;
}
.header .links a:not(.nav-cta):hover { color: var(--ink); }

.header .hamb,
.hero .btn.outline {
  border-color: #8198ac;
  background: transparent;
  color: var(--ink);
}
.header .hamb:hover,
.hero .btn.outline:hover {
  border-color: #b5cde0;
  background: var(--panel);
}
.header :focus-visible,
.hero :focus-visible { outline-color: #b5d9f4; }

@media (max-width: 930px) {
  .header .links {
    background: #142638;
    box-shadow: 0 10px 22px #060e1759;
  }
}
@supports (font-size: 1cqi) {
  .hero-copy { container-type: inline-size; }
  .hero h1 { font-size: clamp(1.5rem, 8.75cqi, 3.5rem); }
}

/* Enhancements keep the original palette and section structure. */
body { overflow-wrap: break-word; }
figure { margin: 0; min-width: 0; }
.media figcaption { padding: 8px 0 0; color: var(--body); font-size: .75rem; line-height: 1.6; }
.service .media figcaption, .project .media figcaption { padding: 8px 18px 0; }
.media figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.hero-image, .feature-image, .service img, .project img { object-position: center; }
.media-construction img { object-position: center 35%; }
.kicker, .service-index { font-size: .875rem; letter-spacing: .09em; }
.links, .nav-cta, .btn, .service .arrow, .field label, .field input, .field select, .field textarea, .footer-nav, .check, .stat { font-size: .875rem; }
.brand-sub { font-size: .625rem; }
.hero-foot, .form-note, .footer-bottom, .notice { font-size: .8125rem; }
.section-desc, .service p, .project p, .step p, .modal-panel p, .modal-panel li { font-size: 1rem; }
.service .arrow { min-height: 44px; }
.brand { min-height: 44px; }
.hero h1 { font-size: clamp(2.15rem, 4.3vw, 4rem); }
.hero-copy { container-type: normal; }
.hero-foot { letter-spacing: .06em; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: #fff; color: #14263b; padding: 12px 20px; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2314263b' stroke-width='1.5' d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-layout .toast { display: block; }
.toast:empty { display: none; }
.draft-result { margin-top: 18px; }
.draft-result[hidden] { display: none; }
.draft-result textarea { width: 100%; min-height: 200px; padding: 12px; border: 1px solid var(--control); border-radius: 4px; font: inherit; }
.modal[hidden] { display: none; }
.modal-panel { overscroll-behavior: contain; }
.sources { max-width: 850px; }
.sources article { padding: 24px 0; border-bottom: 1px solid var(--line); }
.sources a, .footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.sources p + p { margin-top: 10px; }
@media(max-width:740px) { .hero h1 { font-size: clamp(2.05rem, 7.5vw, 3.3rem); letter-spacing: -.045em; } .hero-foot { flex-wrap: wrap; } .section h2 { font-size: clamp(1.8rem, 6.5vw, 2.5rem); } .brand-sub { letter-spacing: .06em; } }
@media(max-width:360px) { .container { width: calc(100% - 32px); } .brand-name { font-size: 17px; } .hero h1 { font-size: 1.95rem; } .checklist { grid-template-columns: 1fr; } }

.feature-image, .service img, .project img { height: auto; }

@supports (font-size: 1cqi) { .hero-copy { container-type: inline-size; } .hero h1 { font-size: clamp(2rem, 9cqi, 3.5rem); } }

/* Contact details and project enquiry form */
.contact-details { margin: 28px 0 0; }
.contact-details > div { padding: 15px 0; border-top: 1px solid var(--line); }
.contact-details dt { font-size: .875rem; color: var(--body); }
.contact-details dd { margin: 4px 0 0; font: 700 clamp(1.05rem, 2vw, 1.3rem)/1.5 var(--display); }
.contact-details a:hover, .footer-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-layout .contact-invite { font-size: .9375rem; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; color: var(--body); font-size: .875rem; }
.optional { font-size: .8125rem; font-weight: 400; }
.form-actions > .btn { flex: 1 1 170px; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form [aria-busy="true"] { cursor: wait; }
.btn:disabled { opacity: .65; cursor: wait; }
.toast[data-state="error"] { color: #8c2929; }
.toast[data-state="sending"] { color: var(--body); }
.form-note a { text-decoration: underline; }
