:root {
  --primary: #0f777c;
  --primary-deep: #07565a;
  --accent: #d93945;
  --accent-deep: #a91f2d;
  --ink: #14242f;
  --paper: #f7f8fa;
  --line: rgba(20, 36, 47, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(20, 36, 47, 0.92);
  box-shadow: 0 18px 48px rgba(7, 18, 24, 0.22);
  backdrop-filter: blur(6px);
  border-radius: 18px;
}

.nav-link,
.mobile-link,
.footer-link {
  position: relative;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-link::after,
.footer-link::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--accent);
  transition: transform 0.25s ease;
}

.nav-link:hover,
.mobile-link:hover,
.footer-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-link:hover::after,
.footer-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.whatsapp-button,
.cta-primary,
.cta-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.whatsapp-button,
.cta-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  box-shadow: 0 16px 32px rgba(217, 57, 69, 0.26);
}

.cta-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.whatsapp-button:hover,
.cta-primary:hover,
.cta-secondary:hover {
  transform: translateY(-3px);
}

.mobile-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 2px 0;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.header-hidden {
  transform: translateY(-120%);
}

.hero-section {
  isolation: isolate;
}

.hero-title {
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.42);
}

.hero-subtitle {
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.48);
}

.hero-texture {
  opacity: 0.42;
  background-image: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.11) 52%, transparent 54%);
  background-size: 100% 100%;
}

.hero-info {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  color: #ffffff;
  box-shadow: 0 24px 70px rgba(7, 18, 24, 0.26);
}

.hero-info .info-label {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(15, 119, 124, 0.1);
  padding: 0.45rem 0.75rem;
  color: var(--primary-deep);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-info h2 {
  margin-top: 1rem;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 900;
  line-height: 1.05;
}

.hero-info p {
  margin-top: 1rem;
  color: #506270;
  line-height: 1.75;
}

.hero-info .grid > div {
  border-left: 4px solid var(--primary);
  border-radius: 16px;
  background: #f7f8fa;
  padding: 1rem;
}

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

.hero-info strong {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-info span {
  margin-top: 0.35rem;
  color: #506270;
}

.section-band {
  background: var(--paper);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: rgba(15, 119, 124, 0.08);
  padding: 0.55rem 0.9rem;
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  content: "";
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(217, 57, 69, 0.1);
}

.image-frame {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 0.65rem;
  box-shadow: 0 24px 64px rgba(20, 36, 47, 0.12);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  object-fit: cover;
}

.detail-grid {
  display: grid;
  gap: 1rem;
}

.detail-grid div {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  padding: 1.25rem;
  box-shadow: 0 16px 36px rgba(20, 36, 47, 0.08);
}

.detail-grid strong,
.detail-grid span {
  display: block;
}

.detail-grid strong {
  font-weight: 900;
  color: var(--ink);
}

.detail-grid span {
  margin-top: 0.45rem;
  color: #64717c;
  line-height: 1.55;
}

.service-glow {
  background:
    linear-gradient(180deg, rgba(15, 119, 124, 0.05), transparent 42%),
    radial-gradient(circle at 92% 8%, rgba(217, 57, 69, 0.08), transparent 26%);
}

.service-card {
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 20px 54px rgba(20, 36, 47, 0.1);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(15, 119, 124, 0.32);
  background: #fbfdfd;
}

.service-card h3 {
  margin-top: 1rem;
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--ink);
}

.service-card p {
  margin-top: 1rem;
  color: #64717c;
  line-height: 1.75;
}

.service-card ul {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.65rem;
  text-align: left;
  color: #364855;
}

.service-card li {
  display: flex;
  gap: 0.6rem;
  line-height: 1.45;
}

.service-card li::before {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  margin-top: 0.42rem;
  border-radius: 999px;
  content: "";
  background: var(--accent);
}

.support-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f7f8fa;
  padding: 1.25rem;
  box-shadow: 0 20px 48px rgba(20, 36, 47, 0.08);
}

.support-panel h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink);
}

.support-panel div {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.support-panel span {
  border: 1px solid rgba(15, 119, 124, 0.18);
  border-radius: 999px;
  background: #ffffff;
  padding: 0.7rem 0.9rem;
  color: #364855;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(20, 36, 47, 0.06);
}

.text-primary-DEFAULT,
.text-primary {
  color: var(--primary);
}

.gallery-showcase {
  display: grid;
  gap: 1.25rem;
}

.gallery-feature,
.gallery-item,
.gallery-detail {
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 22px 50px rgba(20, 36, 47, 0.12);
}

.gallery-feature,
.gallery-item {
  position: relative;
}

.gallery-feature img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: brightness(0.94) contrast(1.05) saturate(0.92);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.gallery-feature {
  min-height: 520px;
}

.gallery-feature::after,
.gallery-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 42%, rgba(10, 20, 28, 0.72));
}

.gallery-feature figcaption,
.gallery-item figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  color: #ffffff;
}

.gallery-feature strong,
.gallery-feature span,
.gallery-item figcaption {
  display: block;
}

.gallery-feature strong {
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 900;
}

.gallery-feature span {
  margin-top: 0.45rem;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
}

.gallery-side {
  display: grid;
  gap: 1.25rem;
}

.gallery-item {
  min-height: 250px;
}

.gallery-item figcaption {
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.gallery-feature:hover img,
.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.98) contrast(1.06) saturate(0.98);
}

.gallery-detail {
  border: 1px solid rgba(15, 119, 124, 0.12);
  padding: 1.4rem;
}

.gallery-detail span {
  color: var(--primary-deep);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-detail h3 {
  margin-top: 0.65rem;
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.12;
}

.gallery-detail p {
  margin-top: 0.8rem;
  color: #64717c;
  line-height: 1.7;
}

.contact-panel,
.map-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(20, 36, 47, 0.1);
}

.contact-panel {
  padding: 1.25rem;
}

.contact-panel dl > div {
  border-radius: 16px;
  border: 1px solid rgba(15, 119, 124, 0.1);
  background: #f7f8fa;
  padding: 1rem;
}

.contact-panel dt {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-deep);
}

.contact-panel dd {
  margin-top: 0.35rem;
  overflow-wrap: anywhere;
  font-weight: 800;
  color: var(--ink);
}

.contact-panel a:not(.cta-primary) {
  color: var(--accent);
}

.map-panel {
  min-height: 500px;
  overflow: hidden;
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 43, 54, 0.72);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  width: min(680px, 100%);
  max-height: min(82vh, 680px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 24px;
  background: #ffffff;
  padding: 2rem;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.modal-card h2 {
  margin-bottom: 1.25rem;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 900;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--accent);
  font-size: 1.8rem;
  line-height: 1;
}

.reveal {
  transform: translateY(28px);
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-150 {
  transition-delay: 0.15s;
}

.delay-200 {
  transition-delay: 0.2s;
}

@media (min-width: 768px) {
  .contact-panel {
    padding: 2rem;
  }

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

@media (min-width: 1024px) {
  .gallery-showcase {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  }

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

  .gallery-side .gallery-item:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .gallery-feature,
  .gallery-item {
    min-height: 260px;
  }

  .service-card {
    min-height: auto;
  }

  .modal-card {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
