:root {
  --navy: #001f3f;
  --orange: #ff8c00;
  --black: #000000;
  --white: #ffffff;
  --soft: #f6f8fc;
  --max-width: 1100px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--black);
  background:
    radial-gradient(circle at top right, rgba(255, 140, 0, 0.13), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  line-height: 1.55;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid rgba(0, 31, 63, 0.1);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
}

body.home-page .brand img {
  border-radius: 999px;
}

.brand span {
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.language-switch {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.32rem;
}

.language-switch-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  text-align: right;
}

.language-switch-buttons {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-button {
  border: 1px solid rgba(0, 31, 63, 0.3);
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.lang-button:hover,
.lang-button:focus-visible {
  border-color: var(--orange);
  outline: none;
}

.lang-button.is-active {
  background: rgba(255, 140, 0, 0.15);
  border-color: var(--orange);
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--orange);
  background: rgba(255, 140, 0, 0.08);
  outline: none;
}

.header-social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.home-floating-social {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(0, 31, 63, 0.18);
  color: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-icon:hover,
.social-icon:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
  outline: none;
}

.social-icon-facebook {
  background: #1877f2;
}

.social-icon-whatsapp {
  background: #25d366;
}

.social-icon-instagram {
  background: radial-gradient(circle at 25% 110%, #fdf497 0%, #fdf497 15%, #fd5949 45%, #d6249f 70%, #285aeb 100%);
}

main {
  padding: 1.5rem 0 3rem;
}

body.home-page main {
  padding-bottom: 7rem;
}

.hero {
  margin: 1rem 0 1.6rem;
  background:
    linear-gradient(135deg, rgba(0, 31, 63, 0.97), rgba(0, 31, 63, 0.85)),
    linear-gradient(45deg, rgba(255, 140, 0, 0.35), transparent);
  color: var(--white);
  border-radius: 20px;
  padding: 2rem 1.3rem;
  box-shadow: 0 18px 32px rgba(0, 31, 63, 0.22);
}

.hero h1 {
  margin: 0 0 0.65rem;
  line-height: 1.15;
  font-size: clamp(1.9rem, 5.4vw, 3rem);
}

.hero p {
  margin: 0;
  max-width: 58ch;
}

.hero .lead {
  margin: 0.7rem 0 0;
  font-weight: 600;
}

.home-banner {
  margin-top: 0;
  overflow: hidden;
  padding: 1.2rem;
}

.photo-slider {
  overflow: hidden;
}

.photo-slider h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.slider-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 540px;
  border-radius: 12px;
  overflow: hidden;
  background: #d9dfe7;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 500ms ease;
}

.slide:first-child,
.slide.is-active {
  opacity: 1;
}

.slider-dots {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 1px solid rgba(0, 31, 63, 0.5);
  background: var(--white);
  cursor: pointer;
  padding: 0;
}

.slider-dot.is-active {
  background: var(--orange);
  border-color: var(--orange);
}

.slider-dot:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.home-banner h2 {
  margin-bottom: 1rem;
  text-align: center;
}

.home-banner-media {
  max-width: 760px;
  margin-inline: auto;
}

.home-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.panel {
  background: var(--white);
  border: 1px solid rgba(0, 31, 63, 0.12);
  border-radius: var(--radius);
  padding: 1.15rem;
  margin-top: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.panel h2 {
  margin: 0 0 0.55rem;
  color: var(--navy);
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
}

.panel-subtitle {
  margin: 0 0 0.7rem;
  color: #233;
  font-weight: 600;
}

.list {
  margin: 0;
  padding-left: 1rem;
}

.list li {
  margin-bottom: 0.45rem;
}

.cta-grid {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.cta-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 800;
  padding: 0.7rem 1rem;
  border: 2px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease;
  text-align: center;
  white-space: normal;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
  outline: none;
}

.cta-whatsapp {
  background: var(--orange);
  color: var(--black);
}

.cta-call {
  background: var(--navy);
  color: var(--white);
}

.cta-location {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
  font-size: 1.02rem;
  min-height: 52px;
  padding: 0.85rem 1.15rem;
  box-shadow: 0 8px 18px rgba(0, 31, 63, 0.14);
}

.map-embed {
  margin-top: 1rem;
  border: 1px solid rgba(0, 31, 63, 0.16);
  border-radius: 12px;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.social-links {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  background: var(--soft);
  border: 1px solid rgba(0, 31, 63, 0.18);
  color: var(--navy);
  font-weight: 700;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: var(--orange);
  outline: none;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  margin-top: 2rem;
}

.footer-inner {
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.footer-inner p {
  margin: 0;
}

@media (min-width: 780px) {
  main {
    padding-top: 2.2rem;
  }

  .hero {
    padding: 2.4rem 2.1rem;
  }

  .panel {
    padding: 1.4rem;
  }

  .home-banner {
    padding: 1.45rem;
  }

  .cta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 460px;
  }

  .cta-location {
    grid-column: 1 / -1;
  }

  .map-embed iframe {
    height: 360px;
  }
}

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

  .language-switch {
    width: 100%;
    align-items: flex-start;
  }

  .language-switch-label {
    text-align: left;
  }

  .language-switch-buttons {
    width: 100%;
    justify-content: flex-start;
  }

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

  .home-floating-social {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    gap: 0.45rem;
  }

  .home-floating-social .social-icon {
    width: 38px;
    height: 38px;
  }

  body.home-page main {
    padding-bottom: 6.2rem;
  }
}
