:root {
  --blue: #43687d;
  --text: #22313b;
  --muted: #4d4d4d;
  --bg: #f3f3f3;
  --white: #ffffff;
  --border: #d9d9d9;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.45;
}

p {
  text-align: justify;
}

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

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

.container {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #d8d8d8;
}

.topbar-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar.hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  letter-spacing: .04em;
  font-weight: 700;
  color: #476171;
}

.brand-logo {
  width: 90px;
  height: auto;
  display: block;
  object-fit: contain;
  position: relative;
  top: 0px;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #6b6b6b;
  font-size: 1rem;
}

nav a.active {
  color: #111;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center center;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, .18), rgba(0, 0, 0, .18)),
    url('img/foto1.jpeg') center/cover no-repeat;
  background-attachment: fixed;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .10), rgba(0, 0, 0, .22));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding: 40px 20px;
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(4rem, 9vw, 7.5rem);
  line-height: .95;
  letter-spacing: .02em;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.hero-line {
  width: 72px;
  height: 6px;
  background: #3c708f;
  margin: 18px auto 0;
  border-radius: 999px;
}

.section-band {
  background: var(--blue);
  color: white;
}

.section-band .container {
  padding: 26px 0;
}

.section-band h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  text-transform: uppercase;
  line-height: 1;
}

.section {
  padding: 28px 0 34px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px 22px;
  align-items: start;
}

.member {
  text-align: center;
}

.member img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #ece9df;
  border: 1px solid #e3e3e3;
}

.member h3 {
  margin-top: 12px;
  color: #4d6b7a;
  font-size: 1.1rem;
  font-weight: 700;
}

.member p {
  margin-top: 8px;
  font-size: 0.98rem;
  color: #333;
  text-align: center;
}

.team-text {
  grid-column: 4 / span 3;
  text-align: justify;
  align-self: center;
  padding-top: 10px;
  font-size: 1.05rem;
  color: #2b2b2b;
}

.team-text strong {
  font-weight: 700;
}

.divider {
  height: 1px;
  background: #e0e0e0;
  margin-top: 26px;
}

.content {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 10px;
  font-size: 1.15rem;
  color: #222;
}

.content-with-image {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.content-image {
  flex-shrink: 0;
  width: 280px;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-text {
  flex: 1;
}

.content p {
  margin-bottom: 22px;
}

.content strong {
  font-weight: 700;
}

.carousel-wrap {
  width: min(860px, calc(100% - 40px));
  margin: 20px auto 50px;
  position: relative;
}

.carousel {
  position: relative;
  overflow: hidden;
  background: #fafafa;
}

.slides {
  display: flex;
  transition: transform .45s ease;
}

.slide {
  min-width: 100%;
  aspect-ratio: 16 / 9;
  background: #ddd center/cover no-repeat;
}

.slide:nth-child(1) {
  background-image: url('img/foto1.jpeg');
}

.slide:nth-child(2) {
  background-image: url('img/foto2.jpeg');
}

.slide:nth-child(3) {
  background-image: url('img/foto3.jpeg');
}

.slide:nth-child(4) {
  background-image: url('img/foto4.jpeg');
}

.slide:nth-child(5) {
  background-image: url('img/foto5.jpeg');
}

.slide:nth-child(6) {
  background-image: url('img/foto6.jpeg');
}

.slide:nth-child(7) {
  background-image: url('img/foto7.jpeg');
}

.slide:nth-child(8) {
  background-image: url('img/foto8.jpeg');
}

.slide:nth-child(9) {
  background-image: url('img/foto9.jpeg');
}

.slide:nth-child(10) {
  background-image: url('img/foto10.jpeg');
}

.slide:nth-child(11) {
  background-image: url('img/foto11.jpeg');
}

.slide:nth-child(12) {
  background-image: url('img/foto12.jpeg');
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(70, 70, 70, .82);
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.arrow.prev {
  left: 8px;
}

.arrow.next {
  right: 8px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9c9c9;
  border: none;
  cursor: pointer;
}

.dot.active {
  background: #4b6a7c;
}

.bottom-note {
  width: 100%;
  background: #eef0f2;
  padding: 16px 0 40px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: center;
}

.footer-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}

.footer-icon:hover {
  transform: scale(1.1);
}

.footer-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.insta {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #585858;
  color: white;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-text {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .content-with-image {
    flex-direction: column;
  }

  .content-image {
    width: 100%;
  }

  .topbar-inner {
    height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .hero {
    min-height: 400px;
  }

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

  .content {
    font-size: 1rem;
  }
}

.logo-section {
  padding: 30px 0;
  background: #f8f9fb;
}

.logo-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.logo-card {
  flex: 1 1 calc(33.333% - 10px);
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 20px;
  padding: 28px;
  display: grid;
  place-items: center;
  min-height: 160px;
}

.logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

@media (max-width: 700px) {
  .logo-card {
    flex: 1 1 100%;
  }
}
