:root {
  --navy: #020817;
  --navy-2: #071426;
  --blue: #38bdf8;
  --ice: #dff7ff;
  --white: #ffffff;
  --paper: #eef4f8;
  --panel: #f8fbfd;
  --text: #111827;
  --muted: #607086;
  --line: #d8e3ee;
  --whatsapp: #25d366;
  --coral: #ff6b4a;
  --shadow: 0 22px 70px rgba(2, 8, 23, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, #eef4f8 0%, #f8fbfd 34%, #eef4f8 100%);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: rgba(2, 8, 23, 0.94);
  border-bottom: 1px solid rgba(125, 211, 252, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
  font-weight: 700;
}

nav a:hover,
.brand:hover {
  color: var(--blue);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--white);
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.language-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--navy);
  background: var(--blue);
  border-radius: 8px;
  font-weight: 800;
}

.hero {
  --pointer-x: 0;
  --pointer-y: 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    radial-gradient(circle at calc(50% + (var(--pointer-x) * 24%)) calc(28% + (var(--pointer-y) * 18%)), rgba(125, 211, 252, 0.22), transparent 28%),
    radial-gradient(circle at 78% 12%, rgba(56, 189, 248, 0.25), transparent 28%),
    linear-gradient(135deg, #020817 0%, #071426 58%, #102434 100%);
  overflow: hidden;
}

.hero::before,
.hero::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.hero::before {
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.hero::after {
  right: -12%;
  bottom: -30%;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(125, 211, 252, 0.14);
  border-radius: 50%;
  transform: translate(calc(var(--pointer-x) * -18px), calc(var(--pointer-y) * -18px));
  transition: transform 160ms ease-out;
}

.brand-watermark {
  position: absolute;
  right: clamp(-120px, -9vw, -70px);
  top: 14%;
  width: min(46vw, 560px);
  aspect-ratio: 1;
  pointer-events: none;
  background: url("assets/orely-logo.jpeg") center / cover no-repeat;
  border-radius: 50%;
  opacity: 0.055;
  mix-blend-mode: screen;
  filter: saturate(0.8) contrast(1.12);
  transform: translate(calc(var(--pointer-x) * 14px), calc(var(--pointer-y) * 14px));
  transition: transform 160ms ease-out;
}

.hero-content,
.hero-panel {
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.55rem, 6vw, 5.8rem);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  margin: 16px 0 10px;
  font-size: 1.22rem;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-copy-en {
  max-width: 650px;
  margin-top: 12px;
  color: rgba(223, 247, 255, 0.7);
  font-size: clamp(0.96rem, 1.6vw, 1.08rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(2, 8, 23, 0.18);
}

.btn-whatsapp {
  color: var(--navy);
  background: var(--whatsapp);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.btn-light {
  color: var(--navy);
  background: var(--white);
}

.btn-office {
  color: var(--navy);
  background: var(--blue);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.contact-strip span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 16px;
  min-height: 520px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
}

.logo-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: clamp(14px, 3vw, 24px);
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(2, 8, 23, 0.34), rgba(2, 8, 23, 0.78));
}

.logo-frame img {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.service-photo {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background: var(--navy);
}

.service-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.service-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 42%, rgba(2, 8, 23, 0.86));
}

.service-photo figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.35;
}

.hero-stats {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  background: rgba(125, 211, 252, 0.2);
}

.hero-stats div {
  min-height: 118px;
  padding: 16px;
  background: rgba(2, 8, 23, 0.58);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--white);
  font-size: 0.98rem;
}

.hero-stats span {
  margin-top: 6px;
  color: rgba(223, 247, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.35;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 1px clamp(18px, 5vw, 72px);
  background: linear-gradient(180deg, var(--navy), #0b1d2b);
  border-bottom: 1px solid var(--line);
}

.trust-bar div {
  padding: 22px clamp(16px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.96);
}

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

.trust-bar span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

.section,
.commercial,
.work-proof,
.family-trust,
.payments,
.contact {
  padding: clamp(46px, 7vw, 84px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: start;
  border-top: 1px solid rgba(216, 227, 238, 0.8);
  border-bottom: 1px solid rgba(216, 227, 238, 0.8);
  background:
    linear-gradient(90deg, rgba(2, 8, 23, 0.03), transparent 26%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(248, 251, 253, 0.9)),
    radial-gradient(circle at 88% 18%, rgba(56, 189, 248, 0.13), transparent 30%);
}

.intro p:not(.eyebrow) {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 1.14rem;
}

.section-heading {
  max-width: 780px;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px clamp(18px, 5vw, 72px);
  background: var(--line);
}

.process-strip div {
  padding: 22px;
  background: var(--navy-2);
}

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

.process-strip span {
  color: var(--blue);
  font-weight: 900;
}

.process-strip strong {
  margin-top: 8px;
  color: var(--white);
  font-size: 1.05rem;
}

.process-strip p {
  margin: 6px 0 0;
  color: rgba(223, 247, 255, 0.7);
}

.work-proof {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(340px, 1.18fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  background:
    radial-gradient(circle at 16% 20%, rgba(56, 189, 248, 0.12), transparent 26%),
    linear-gradient(135deg, #f8fbfd 0%, #eef4f8 100%);
}

.work-proof .section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.work-gallery {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: repeat(2, 210px);
  gap: 14px;
}

.work-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 8px;
  background: var(--navy);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.work-gallery figure:first-child {
  grid-row: span 2;
}

.work-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

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

.work-gallery figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(2, 8, 23, 0.72);
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.family-trust {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(2, 8, 23, 0.96), rgba(7, 20, 38, 0.94)),
    radial-gradient(circle at 14% 26%, rgba(56, 189, 248, 0.16), transparent 34%);
}

.family-photo {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.family-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 50%, rgba(2, 8, 23, 0.45));
}

.family-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.family-copy p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.family-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.family-points span {
  padding: 15px 16px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.services {
  background:
    radial-gradient(circle at 12% 8%, rgba(56, 189, 248, 0.12), transparent 26%),
    linear-gradient(180deg, #eef4f8, #f8fbfd);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.service-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.95));
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-grid article:hover,
.payment-grid article:hover,
.check-list p:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.42);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.11);
}

.service-grid article:nth-child(7) {
  grid-column: span 2;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--navy);
  background: var(--ice);
  border-radius: 8px;
  font-weight: 900;
}

.service-grid p,
.commercial p,
.check-list p,
.contact p {
  color: var(--muted);
}

.commercial {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(2, 8, 23, 0.96), rgba(7, 20, 38, 0.94)),
    linear-gradient(45deg, rgba(56, 189, 248, 0.18), transparent);
}

.commercial p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.commercial aside {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.commercial ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.commercial li {
  padding-left: 18px;
  border-left: 3px solid var(--blue);
}

.property-visual {
  min-height: 190px;
  margin-top: 24px;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(2, 8, 23, 0.2), rgba(2, 8, 23, 0.92)),
    linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(255, 107, 74, 0.16)),
    url("assets/orely-team-2-pro.jpg") center 48% / cover;
}

.property-visual div {
  max-width: 360px;
}

.property-visual span,
.property-visual strong {
  display: block;
}

.property-visual span {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.property-visual strong {
  margin-top: 6px;
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1.18;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(24px, 5vw, 76px);
  background:
    linear-gradient(135deg, #f8fbfd 0%, #eef4f8 100%);
}

.check-list {
  display: grid;
  gap: 14px;
}

.check-list p {
  margin: 0;
  padding: 18px 18px 18px 22px;
  border: 1px solid rgba(216, 227, 238, 0.9);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.payments {
  background:
    linear-gradient(180deg, rgba(2, 8, 23, 0.96), rgba(7, 20, 38, 0.96));
  color: var(--white);
}

.payments .section-heading p:not(.eyebrow) {
  max-width: 840px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.payment-grid article {
  min-height: 172px;
  padding: 24px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.payment-grid strong {
  display: block;
  color: var(--white);
  font-size: 1.05rem;
}

.payment-grid p {
  margin: 10px 0 0;
  color: rgba(223, 247, 255, 0.72);
}

.areas {
  background: var(--panel);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.area-list span {
  padding: 12px 16px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  color: var(--white);
  background: var(--navy);
}

.contact p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  margin-top: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.contact-card .btn,
.contact-card > a:not(.btn) {
  width: 100%;
}

.contact-card > a:not(.btn) {
  color: var(--blue);
  font-weight: 800;
  word-break: break-word;
}

footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #00050f;
}

footer img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 8px;
  background: rgba(2, 8, 23, 0.92);
  box-shadow: 0 18px 44px rgba(2, 8, 23, 0.28);
  backdrop-filter: blur(12px);
}

.floating-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--blue);
  font-weight: 900;
}

.floating-contact a:last-child {
  background: var(--whatsapp);
}

@media (max-width: 1050px) {
  .hero,
  .intro,
  .commercial,
  .work-proof,
  .family-trust,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    grid-template-columns: 0.78fr 1.22fr;
    gap: 10px;
    padding: 18px;
  }

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

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

  .work-gallery {
    grid-template-rows: repeat(2, 190px);
  }

  .family-photo,
  .family-photo img {
    min-height: 360px;
  }

  .trust-bar,
  .process-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    max-width: 180px;
    font-size: 0.86rem;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 14px;
  }

  .header-tools {
    margin-left: auto;
  }

  .hero-panel {
    min-height: auto;
  }

  .logo-frame img {
    width: 100%;
  }

  .service-photo img {
    min-height: 260px;
  }

  .hero-stats {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-height: auto;
  }

  .service-grid,
  .trust-bar,
  .process-strip {
    grid-template-columns: 1fr;
  }

  .work-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .work-gallery figure,
  .work-gallery figure:first-child {
    grid-row: auto;
    min-height: 260px;
  }

  .service-grid article:nth-child(7) {
    grid-column: auto;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-contact {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .floating-contact a {
    flex: 1;
    padding: 0 10px;
  }
}

@media (max-width: 520px) {
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .service-photo img {
    min-height: 320px;
  }
}
