* {
  box-sizing: border-box;
}
:root {
  --brand-primary: #3a5f9b;
  --brand-accent: #c86a2b;
  --text-main: #1f2a44;
  --text-subtle: #4a5a7a;
  --bg-soft: #f7f9fc;
  --ring: rgba(58, 95, 155, 0.25);
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-main);
  background: #ffffff;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo {
  height: 64px;
  width: 200px;
  border-radius: 20px;
}
.title-block {
  margin-left: auto;
  text-align: right;
}
.company-name {
  margin: 0;
  font-size: 26px;
  color: var(--brand-primary);
  font-weight: 700;
  letter-spacing: 0.4px;
}
.company-sub {
  margin: 4px 0 0 0;
  color: var(--brand-primary);
  font-size: 18px;
  line-height: 1.25;
}

.hero {
  display: flex;
  position: relative;
  max-height: 100vh;
  min-height: 520px;
}

.hero-bg {
  width: auto;
  /* height: auto; */
  /* height: fit-content; */
  display: block;
  opacity: 0.95;
  filter: saturate(1.05) contrast(1.02);
  max-height: 50vh;
}

.tower {
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
}

.circle-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  background: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.circle-img:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.circle-right {
  margin-left: auto;
}

.hero-aside {
  position: absolute;
  display: flex;
  flex-direction: column;
  right: 0;
  top: 0;
  height: 100%;
  width: 30%;
  gap: 18px;
  padding: 16px 16px 16px 0;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
}

.circle-flip {
  width: 220px;
  height: 220px;
  perspective: 900px;
  border-radius: 50%;
}
.circle-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
  border-radius: 50%;
}
.circle-flip:hover .circle-flip-inner {
  transform: rotateY(180deg);
}
.circle-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  backface-visibility: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  background: #fff;
  border: 6px solid #fff;
}
.circle-face.front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.circle-face.back {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-align: center;
  color: #ffffff;
  background: radial-gradient(160px 160px at 30% 20%, rgba(255, 255, 255, 0.2), transparent),
    linear-gradient(145deg, #2b6cb0, #3a5f9b);
  transform: rotateY(180deg);
}
.circle-face.back p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

@keyframes floatY {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}
.float-y {
  animation: floatY 6s ease-in-out infinite;
}

/* Float flip-card as a whole so its border/shadow stays intact */
.circle-flip {
  animation: floatY 7.5s ease-in-out infinite;
}
.circle-flip img {
  animation: none;
}
/* //////////////////////////////////////////////// */

.contacts {
  padding: 16px 0;
}

.contacts-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.contact {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact a {
  color: #2b6cb0;
  text-decoration: none;
}
.contact a:hover {
  text-decoration: underline;
}
.icon {
  width: 28px;
  height: 28px;
  opacity: 0.9;
}

.bottom-bar {
  height: 24px;
  background: var(--brand-accent);
}

/* /////////////////// Services /////////////////// */
.services {
  padding: 28px 0 12px 0;
}
.services-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 24px;
}
.services-title {
  margin: 0 0 12px 0;
  color: var(--brand-primary);
}
.services-text {
  margin: 0 0 16px 0;
  line-height: 1.6;
  color: var(--text-subtle);
  font-weight: 500;
  font-size: 18px;
}
.btn {
  display: inline-block;
  background: var(--brand-accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px var(--ring);
}
.btn:active {
  transform: translateY(0);
}
.services-right {
  display: grid;
  gap: 18px;
}
.oval {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 50% / 34%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.oval:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.rect {
  width: 100%;
  max-width: 520px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.services-media-left {
  display: flex;
}

/* alt services layout */
.services-alt-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 28px;
}
.oval-vertical {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  border-radius: 50% / 15%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.oval-large {
  max-width: 640px;
}
.services-copy {
  text-align: center;
}

/* gallery */
.gallery {
  padding: 20px 0 12px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: center;
}
.gallery-grid .circle {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-grid .circle:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}
.gallery-grid .span-2 {
  grid-column: span 2;
}

/* services wide */
.services-wide-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.2fr;
  align-items: center;
  gap: 24px;
}
.stacked-circles {
  display: grid;
  gap: 16px;
}
.stacked-circles .circle {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.stacked-circles .circle-flip {
  width: 220px;
  height: 220px;
}
.wide-globe {
  display: flex;
  justify-content: flex-end;
}

/* services energy */
.services-energy-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  align-items: center;
  gap: 24px;
}
.energy-center {
  display: grid;
  gap: 16px;
  justify-content: center;
}
.energy-center .circle {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.energy-center .circle-flip {
  width: 200px;
  height: 200px;
}
@media (max-width: 900px) {
  .services-inner,
  .services-alt-inner {
    grid-template-columns: 1fr;
  }
  .oval {
    max-width: 100%;
  }
  .oval-large {
    max-width: 100%;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .services-wide-inner {
    grid-template-columns: 1fr;
  }
  .stacked-circles {
    justify-content: center;
  }
  .wide-globe {
    justify-content: center;
  }
  .services-energy-inner {
    grid-template-columns: 1fr;
  }
  .energy-center {
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .hide {
    display: none;
  }

  .hero-bg {
    width: -webkit-fill-available;
  }

  .services-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .hide {
    display: none;
  }

  .hero-aside {
    display: none;
  }

  .tower {
    display: none;
  }

  .hero-bg {
    width: -webkit-fill-available;
  }

  .services-right {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 400px) {
  .header-inner {
    flex-direction: column;
    width: 100%;
  }

  .logo {
    width: 100%;
    height: 100px;
  }

  .title-block {
    margin: auto;
    text-align: center;
  }
}
