*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #ffffff;
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid rgba(209, 213, 219, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.35rem;
}

.logo span {
  color: #fbbf24;
}

.header-inner .logo {
  text-decoration: none;
  color: inherit;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.15rem;
  color: #4b5563;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-cta {
  margin-left: 0.5rem;
  padding-inline: 1rem;
  font-size: 0.85rem;
}

.header-cta::after {
  display: none;
}

.hero {
  background: #ffffff;
  padding: 4.5rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 3vw + 1rem, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-copy p {
  color: #4b5563;
  max-width: 34rem;
  margin-bottom: 1.7rem;
}

.hero-promise {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.hero-promise-item {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0f172a;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease,
    transform 0.08s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #111827;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.3);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
}

.btn.ghost {
  background: #e5e7eb;
  color: #111827;
}

.btn.ghost:hover {
  background: #d1d5db;
}

.btn.full-width {
  width: 100%;
}

.hero-media {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.5rem;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(209, 213, 219, 0.8);
  max-width: 320px;
}

.hero-card h2 {
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.hero-card ul {
  padding-left: 1.1rem;
  margin: 0;
  color: #4b5563;
  font-size: 0.9rem;
}

.hero-card li + li {
  margin-top: 0.3rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: #f9fafb;
}

.section-heading {
  text-align: left;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: 1.7rem;
  margin: 0 0 0.4rem;
}

.section-heading p {
  margin: 0;
  color: #6b7280;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.two-column {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.projects-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: #ffffff;
  border-radius: 1.3rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.card p {
  margin: 0;
  color: #4b5563;
}

.project-card {
  background: #ffffff;
  border-radius: 1.3rem;
  overflow: hidden;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.project-image {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.project-image-1 {
  background-image: none;
}

.project-image-2 {
  background-image: none;
}

.project-image-3 {
  background-image: none;
}

.project-content {
  padding: 1.3rem 1.5rem 1.4rem;
}

.project-content h3 {
  margin: 0 0 0.4rem;
}

.project-content p {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
}

.section-cta {
  margin-top: 2rem;
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
  color: #4b5563;
  font-size: 0.95rem;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.8rem;
  color: #fbbf24;
}

.testimonials blockquote {
  margin: 0 0 0.75rem;
  padding: 1.1rem 1.3rem;
  border-radius: 1.1rem;
  background: #111827;
  color: #e5e7eb;
  font-size: 0.9rem;
}

.testimonial-name {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.contact-form .form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.7rem;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.4);
}

.form-note {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.contact-details h3 {
  margin-top: 0;
}

.contact-details p {
  margin: 0 0 0.4rem;
}

.contact-details .small-text {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.site-footer {
  border-top: 1px solid rgba(229, 231, 235, 0.8);
  background: linear-gradient(to top, #f3f4f6 0%, #f9fafb 40%, #ffffff 100%);
  padding: 1.5rem 0 1.75rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-tagline {
  width: 100%;
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  letter-spacing: 0.02em;
}

.footer-brand {
  color: #f59e0b;
  font-weight: 600;
}

.footer-legal {
  width: 100%;
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.6;
}

.footer-legal .footer-sep {
  margin: 0 0.5rem;
  color: #9ca3af;
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 1rem;
  width: 100%;
  margin-top: 0.25rem;
}

.footer-links a {
  color: #4b5563;
  font-weight: 500;
}

.subpage .hero,
.subpage main {
  background: #ffffff;
}

.page-hero {
  padding: 3rem 0 1.5rem;
  background: linear-gradient(135deg, #f9fafb, #ffffff);
  border-bottom: 1px solid #e5e7eb;
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-size: 1.9rem;
  color: #111827;
}

.page-intro {
  margin: 0;
  max-width: 40rem;
  color: #4b5563;
}

.hero-advert {
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  max-width: 520px;
  width: 100%;
}

.legal-copy h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.legal-copy h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
}

.legal-copy p,
.legal-copy ul {
  margin: 0 0 0.75rem;
  color: #4b5563;
  font-size: 0.95rem;
}

.legal-copy ul {
  padding-left: 1.3rem;
}

.legal-copy code {
  font-size: 0.9em;
  background: #f3f4f6;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  color: #374151;
}

.legal-copy a {
  color: #2563eb;
  text-decoration: none;
}

.legal-copy a:hover {
  text-decoration: underline;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: #4b5563;
}

.legal-table th,
.legal-table td {
  padding: 0.6rem 0.85rem;
  text-align: left;
  border: 1px solid #e5e7eb;
}

.legal-table th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
}

.legal-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.legal-note {
  margin-top: 1.4rem;
  font-size: 0.8rem;
  color: #6b7280;
  border-left: 3px solid #f97316;
  padding-left: 0.7rem;
}

.section-subtitle {
  margin-top: 0;
  margin-bottom: 1.3rem;
  color: #6b7280;
  font-size: 0.9rem;
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-item {
  margin: 0;
}

.gallery-image {
  border-radius: 1.1rem;
  overflow: hidden;
  height: 200px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.3);
}

.gallery-item figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.video-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.video-wrapper {
  background: #0f172a;
  border-radius: 1.1rem;
  padding: 0.9rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.5);
}

.video-wrapper iframe {
  width: 100%;
  border-radius: 0.75rem;
  min-height: 190px;
}

.video-caption {
  margin: 0.55rem 0 0;
  color: #e5e7eb;
  font-size: 0.85rem;
}

code {
  background: #e5e7eb;
  padding: 0.05rem 0.35rem;
  border-radius: 0.25rem;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .site-header .container {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .header-inner {
    padding: 0.75rem 0;
    flex-wrap: wrap;
    gap: 0.75rem 0;
  }

  .header-inner .logo {
    order: 1;
    flex-shrink: 0;
    margin-left: 0.25rem;
  }

  .header-cta {
    order: 2;
    margin-left: auto;
    margin-right: 0.25rem;
    flex-shrink: 0;
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }

  .main-nav {
    order: 3;
    width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    padding-top: 0.5rem;
    padding-left: 0.25rem;
    border-top: 1px solid rgba(209, 213, 219, 0.6);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav a {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    justify-content: center;
    min-height: 200px;
  }

  .hero-advert {
    min-height: 200px;
    width: 100%;
    object-fit: cover;
  }

  .project-image {
    min-height: 180px;
    height: 180px;
    background-size: cover;
    background-position: center;
  }

  .hero-card {
    max-width: 100%;
  }

  .section {
    padding: 2.5rem 0;
  }

  .page-hero {
    padding: 2.4rem 0 1.3rem;
  }

  .gallery-image {
    min-height: 200px;
    height: 200px;
    background-size: cover;
    background-position: center;
  }
}

