:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fb;
  --text: #ffffff;
  --muted: #ffffff;
  --primary: #2354d8;
  --border: #dde3f1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.nav-list a {
  color: #000000;
  font-weight: 600;
  font-size: 0.95rem;
}

.section {
  padding: 4rem 0;
}

.hero {
  background-image: url("./media/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-alt {
  background: var(--bg-alt);
}

#from-code-to-clarity {
  background: #2b4842;
}

#from-code-to-clarity .about-grid article {
  background: #2b4842;
  border-color: #2b4842;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

#what-we-offer,
#what-we-offer h2,
#what-we-offer h3,
#what-we-offer h4,
#what-we-offer p,
#what-we-offer li {
  color: #000000;
}

#what-we-offer {
  background: #f3f3f5;
}

#what-we-offer .card {
  background: #fdfdfd;
}

#microsoft-apps,
#microsoft-apps h2,
#microsoft-apps h3,
#microsoft-apps p {
  color: #000000;
}

#microsoft-apps {
  background: #f2f6fa;
}

#microsoft-apps .card {
  background: #f2f6fa;
}

#microsoft-apps .card h3 a {
  color: var(--primary);
}

#get-in-touch,
#get-in-touch h2,
#get-in-touch p,
#get-in-touch label,
#get-in-touch input,
#get-in-touch textarea,
#get-in-touch select,
#get-in-touch option,
#get-in-touch span,
#get-in-touch a,
#get-in-touch button {
  color: #000000;
}

.app-title-row {
  margin-left: 0.35rem;
}

.app-title-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.app-title-row img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

h1,
h2,
h3,
h4 {
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
}

h3 {
  font-size: 1.2rem;
}

h4 {
  font-size: 1rem;
  color: var(--muted);
}

.subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 0;
}

.subtitle-small {
  color: var(--muted);
  margin-top: -0.3rem;
}

ul {
  padding-left: 1.2rem;
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
}

.hero-image {
  width: min(360px, 100%);
  border-radius: 20px;
  border: 1px solid var(--border);
}

.about-grid,
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.about-grid article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.cards .card h3 {
  margin-bottom: 0.5rem;
}

.cards .card p {
  margin-top: 0.35rem;
}

.apps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.apps-note {
  margin-top: 1rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 0.65rem;
  max-width: 720px;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.contact-form button {
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.85rem 1rem;
  cursor: pointer;
}

.contact-form button:hover {
  filter: brightness(1.05);
}

.form-note,
.contact-details {
  color: var(--muted);
}

.contact-details {
  display: inline-grid;
  gap: 0.35rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 52px auto;
  align-items: baseline;
  column-gap: 0.45rem;
}

.contact-label {
  margin-left: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  background-image: url("./media/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer-inner {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.footer-left {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-left a[aria-label="LinkedIn profile"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 4px;
  padding: 0.1rem;
}

.linkedin-logo {
  width: 22px;
  height: 22px;
  display: block;
}

.footer-copy {
  text-align: right;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 940px) {
  .hero-grid,
  .about-grid,
  .cards,
  .apps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.2rem 0;
  }
}
