:root {
  --ink: #10202e;
  --muted: #5e7081;
  --line: #d8e8f3;
  --cloud: #f5fbff;
  --white: #ffffff;
  --blue: #47b8e9;
  --blue-deep: #1175a7;
  --green: #1fae83;
  --shadow: 0 18px 55px rgba(20, 76, 108, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Avenir Next", "Nunito Sans", "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  padding: 8px 5vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 232, 243, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  width: 220px;
  min-width: 150px;
  height: 66px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

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

.main-nav a:hover {
  color: var(--blue-deep);
}

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--white) !important;
  background: var(--blue-deep);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 91svh;
  display: flex;
  align-items: center;
  padding: 138px 5vw 96px;
  isolation: isolate;
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 22, 34, 0.86), rgba(7, 34, 50, 0.60) 42%, rgba(7, 34, 50, 0.18) 74%, rgba(255, 255, 255, 0.04)),
    linear-gradient(0deg, rgba(4, 18, 28, 0.42), rgba(4, 18, 28, 0.02));
}

.hero-content {
  width: min(980px, 100%);
  color: var(--white);
}

.kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .kicker {
  color: #a9e8ff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: 5.35rem;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 860px;
  font-size: 2.2rem;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 900;
}

.hero-copy {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.90);
  font-size: 1.42rem;
}

.hero-actions,
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin-top: 24px;
}

.hero-proof span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.10);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  box-shadow: 0 14px 28px rgba(17, 117, 167, 0.24);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.46);
}

.btn-soft {
  color: var(--blue-deep);
  background: #e9f8ff;
  border-color: var(--line);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1120px, 90vw);
  margin: -34px auto 0;
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--line);
}

.trust-strip div {
  min-width: 0;
  padding: 22px;
  background: var(--white);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 6px;
  font-size: 1rem;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section-pad {
  padding: 94px 5vw;
}

.section-heading {
  width: min(1120px, 100%);
  margin: 0 auto 34px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.65fr);
  gap: 54px;
  align-items: end;
  width: min(1120px, 90vw);
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.intro .section-heading {
  margin: 0;
}

.intro-text {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.services {
  background: linear-gradient(180deg, var(--cloud), #ffffff);
}

.service-grid {
  width: min(1120px, 90vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.before-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 35px rgba(22, 78, 110, 0.08);
}

.service-card {
  min-width: 0;
  padding: 24px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--blue-deep);
  border-radius: var(--radius);
  font-weight: 900;
}

.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-list {
  width: min(1120px, 90vw);
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-list span {
  max-width: 100%;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: #e9f8ff;
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 0.9rem;
}

.section-action {
  width: min(1120px, 90vw);
  margin: 28px auto 0;
  display: flex;
  justify-content: center;
}

.work-band {
  background: var(--white);
}

.work-grid {
  width: min(1120px, 90vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 16px;
}

.work-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #d8e8f3;
  box-shadow: var(--shadow);
}

.work-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.work-card.wide {
  grid-column: span 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.work-card:hover img {
  transform: scale(1.035);
}

.work-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(10, 45, 64, 0.76);
  border-radius: var(--radius);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.before-after {
  background: #f4fbff;
}

.before-grid,
.video-grid {
  width: min(1120px, 90vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.before-card {
  overflow: hidden;
}

.split-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: 270px;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.before-labels span {
  padding: 12px;
  text-align: center;
  color: var(--blue-deep);
  font-weight: 900;
}

.before-labels span + span {
  color: var(--green);
  border-left: 1px solid var(--line);
}

.video-section {
  background: var(--ink);
  color: var(--white);
}

.video-section .section-heading .kicker {
  color: #9fe4ff;
}

.video-section h2 {
  color: var(--white);
}

.video-grid {
  width: min(1280px, 92vw);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.video-grid video {
  width: 100%;
  aspect-ratio: 16 / 12;
  object-fit: cover;
  border-radius: var(--radius);
  background: #071a25;
}

.page-hero {
  min-height: 62svh;
  display: flex;
  align-items: flex-end;
  padding: 150px 5vw 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 34, 50, 0.88), rgba(7, 34, 50, 0.46)),
    url("assets/hero_thomaslux_clean.png") center / cover;
}

.page-hero > div {
  width: min(980px, 100%);
}

.page-hero p:not(.kicker) {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
}

.gallery-page {
  background: var(--white);
}

.photo-gallery {
  width: min(1280px, 92vw);
  margin: 0 auto;
  columns: 3 300px;
  column-gap: 18px;
}

.photo-gallery figure {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #d8e8f3;
  box-shadow: var(--shadow);
  break-inside: avoid;
}

.photo-gallery img {
  width: 100%;
  min-height: 260px;
  max-height: 520px;
  object-fit: cover;
}

.photo-gallery figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 11px;
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(10, 45, 64, 0.74);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.before-page-gallery {
  columns: 4 240px;
}

.blog-prep {
  background: linear-gradient(180deg, #ffffff, var(--cloud));
}

.blog-preview-grid {
  width: min(1120px, 90vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-preview-grid article {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 35px rgba(22, 78, 110, 0.08);
}

.blog-preview-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: #e9f8ff;
  font-weight: 900;
  font-size: 0.85rem;
}

.blog-preview-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.gallery-cta {
  background: linear-gradient(180deg, #ffffff, var(--cloud));
}

.gallery-cta-box {
  width: min(1120px, 90vw);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(71, 184, 233, 0.13), rgba(255, 255, 255, 0.92)),
    var(--white);
  box-shadow: var(--shadow);
}

.gallery-cta-box p:not(.kicker) {
  max-width: 720px;
  color: var(--muted);
}

.contact-section {
  width: min(1120px, 90vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
  padding-left: 0;
  padding-right: 0;
}

.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-details {
  margin: 28px 0 0;
}

.contact-details div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.contact-details dt {
  font-weight: 900;
}

.contact-details dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.contact-form {
  padding: 26px;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-row.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  font-weight: 900;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdff;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(71, 184, 233, 0.15);
}

.form-submit {
  width: 100%;
  border: 0;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--blue-deep);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.7fr;
  gap: 28px;
  padding: 48px 5vw;
  color: #dbeaf4;
  background:
    linear-gradient(135deg, rgba(71, 184, 233, 0.12), rgba(7, 26, 37, 0) 42%),
    #071a25;
}

.site-footer img {
  width: 180px;
  height: 74px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(1.12);
}

.site-footer p {
  max-width: 380px;
  margin: 8px 0 0;
  color: #aec4d2;
}

.site-footer strong,
.site-footer a,
.site-footer span {
  display: block;
}

.site-footer strong {
  margin-bottom: 10px;
  color: var(--white);
}

.site-footer a,
.site-footer span {
  color: #cce0ed;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.footer-link {
  display: flex !important;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.footer-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: -2px !important;
  color: #9fe4ff !important;
  border: 1px solid rgba(159, 228, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notdot-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 20px 82px;
  color: rgba(245, 248, 255, 0.70);
  background: #06141d;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.notdot-footer a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: calc(100vw - 40px);
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 15px 30px rgba(31, 174, 131, 0.28);
  font-weight: 900;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    left: 5vw;
    right: 5vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px;
  }

  .nav-cta {
    margin-top: 6px;
  }

  .trust-strip,
  .intro,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .before-grid,
  .blog-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 74px;
    padding: 8px 18px;
  }

  .brand {
    width: 164px;
    min-width: 132px;
    height: 58px;
  }

  .brand img {
    width: 100%;
    height: 100%;
  }

  .main-nav {
    top: 74px;
    left: 18px;
    right: 18px;
  }

  .hero {
    min-height: 88svh;
    padding: 110px 20px 46px;
    align-items: flex-end;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 22, 34, 0.88), rgba(7, 34, 50, 0.62)),
      linear-gradient(0deg, rgba(6, 23, 35, 0.38), rgba(6, 23, 35, 0.08));
  }

  h1 {
    font-size: 2.9rem;
    line-height: 1.03;
  }

  .hero-content {
    width: 100%;
  }

  h2 {
    font-size: 1.55rem;
    line-height: 1.16;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .hero-actions,
  .contact-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    min-height: 46px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 0.92rem;
  }

  .trust-strip,
  .section-heading,
  .service-grid,
  .service-list,
  .work-grid,
  .before-grid,
    .video-grid,
    .photo-gallery,
    .blog-preview-grid,
    .contact-section {
    width: calc(100vw - 36px);
  }

  .section-pad {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .intro {
    width: calc(100vw - 36px);
    gap: 22px;
  }

  .service-grid,
  .before-grid,
  .video-grid,
  .blog-preview-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 68svh;
    padding: 118px 20px 52px;
  }

  .page-hero p:not(.kicker) {
    font-size: 1.03rem;
  }

  .photo-gallery,
  .before-page-gallery {
    columns: 1;
  }

  .photo-gallery img {
    min-height: 245px;
    max-height: 420px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .work-card.large,
  .work-card.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .split-media {
    height: 230px;
  }

  .form-row.two {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }

  .site-footer {
    padding: 34px 20px;
  }

  .notdot-footer {
    flex-wrap: wrap;
    padding: 12px 20px 84px;
  }
}
