/* JLC Fishing · shared public layout */
:root {
  --ink: #142839;
  --muted: #4d6070;
  --navy: #142a53;
  --blue: #253f82;
  --coral: #aa432a;
  --paper: #fff;
  --tint: #f0f5f7;
  --line: #d9e2e7;
  --space: clamp(3rem, 6vw, 5.5rem);
  --content-width: 1170px;
}
*, *::before, *::after { box-sizing: border-box }
html { scroll-padding-top: 6rem }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.58 system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-wrap: break-word;
}
img, iframe { max-width: 100% }
img { vertical-align: middle }
p, blockquote, figure { margin: 0 0 1em }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; text-wrap: balance }
h1 { font-size: clamp(2rem, 4.5vw, 3.65rem) }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.65rem) }
h3 { font-size: clamp(1.17rem, 2vw, 1.4rem) }
a { color: var(--blue); text-decoration: none }
a:hover { color: var(--coral) }
button, input, select, textarea { font: inherit }
button { cursor: pointer }
:focus-visible { outline: 3px solid #ce6726; outline-offset: 4px }
[hidden] { display: none !important }
.container, .jlc-nav-inner {
  width: min(var(--content-width), calc(100% - 3rem));
  margin-inline: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .65em 1.45em;
  border: 1px solid transparent;
  border-radius: .35rem;
  background: var(--blue);
  color: white;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.btn:hover { color: white; background: var(--navy) }
.btn-success { background: var(--coral) }
.btn-success:hover { background: #85311d }
.skip-link, .jlc-skip { position: fixed; z-index: 20; top: .4rem; left: .5rem; padding: .65em 1em; background: white; color: var(--navy); transform: translateY(-160%) }
.skip-link:focus, .jlc-skip:focus { transform: none }
.jlc-nav { position: sticky; top: 0; z-index: 10; background: white; border-bottom: 1px solid var(--line) }
.jlc-nav-inner { position: relative; display: flex; align-items: center; gap: clamp(.8rem, 2.5vw, 2rem); min-height: 76px }
.jlc-brand { display: inline-flex; align-items: center; margin-right: auto; flex-shrink: 0 }
.jlc-brand img { display: block; object-fit: contain; width: 72px; height: auto }
.jlc-links, .jlc-socials { display: flex; align-items: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 }
.jlc-links { gap: clamp(.1rem, 1vw, .9rem) }
.jlc-links a, .jlc-language {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy); text-decoration: none; font-size: .92rem; font-weight: 650;
  padding: .6rem .4rem; min-height: 44px;
}
.jlc-links a:hover, .jlc-links a[aria-current="page"], .jlc-language:hover {
  color: var(--coral);
}
.jlc-links a[aria-current="page"] { background: #f8efeb; border-radius: .35rem }
.jlc-language { border: 1px solid var(--line); border-radius: .35rem; padding-inline: .8rem; gap: .4rem; white-space: nowrap }
.jlc-language img { width: 22px; height: auto }
.jlc-menu-toggle { display: none; padding: .45em .8em; min-height: 44px; color: var(--navy); border: 1px solid var(--line); border-radius: .35rem; background: white; font-weight: 650 }
.jlc-footer {
  color: #e9f1f7;
  background: linear-gradient(115deg, #10223e, #142f49 76%, #194354);
  border-top: 4px solid #74c7c1;
  padding: clamp(2.6rem, 5vw, 4.3rem) 0 max(1.5rem, env(safe-area-inset-bottom));
}
.jlc-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 4rem);
}
.jlc-footer h2 { margin: 0 0 .9rem; font-size: 1.15rem; color: white }
.jlc-footer address { font-style: normal; max-width: 21rem }
.jlc-footer ul { list-style: none; padding: 0; margin: 0 }
.jlc-footer a { color: #e9f1f7; text-decoration: none }
.jlc-footer a:hover, .jlc-footer a:focus-visible { color: #a6e9dc }
.jlc-icon { display: block; flex: none; width: 1.25rem; height: 1.25rem; fill: currentColor }
.jlc-footer-brand {
  display: inline-flex; align-items: center; gap: .9rem; margin-bottom: .9rem;
  color: white; font-size: 1.5rem; font-weight: 700; letter-spacing: -.025em;
}
.jlc-footer-brand img { width: 63px; height: auto; border-radius: .45rem }
.jlc-footer-contact { display: grid; justify-items: start }
.jlc-footer-detail { display: inline-flex; align-items: start; gap: .65rem; padding-block: .3rem; overflow-wrap: anywhere }
.jlc-footer-detail .jlc-icon { margin-top: .2rem; width: 1.08rem; height: 1.08rem; color: #9bd6d4 }
.jlc-socials { gap: .45rem }
.jlc-socials a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid #6c8799; background: #26435b; color: white;
}
.jlc-socials a:hover, .jlc-socials a:focus-visible { background: #b8eee2; color: #102a3e; border-color: #b8eee2 }
.jlc-copyright {
  margin: clamp(1.6rem, 4vw, 3rem) 0 0; padding: 1rem 4.25rem 0 0;
  border-top: 1px solid #49667a; color: #c0d2e1; font-size: .875rem;
}
@media (max-width: 780px) {
  .jlc-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.65rem }
  .jlc-footer-location { grid-column: 1/-1 }
}
@media (max-width: 520px) {
  .jlc-footer-grid { grid-template-columns: minmax(0, 1fr) }
  .jlc-footer-location { grid-column: auto }
}
#header {
  color: white; background-color: var(--navy);
  background-image: var(--hero-desktop); background-size: cover; background-position: center;
}
#header.hero-custom { position: relative; background-image: none }
.custom-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center }
#header.hero-custom .overlay { position: relative }
.hero-home { --hero-desktop: url(../img/slider/home.webp); --hero-mobile: url(../img/slider/home-mobile.webp) }
.hero-services { --hero-desktop: url(../img/slider/servicios.webp); --hero-mobile: url(../img/slider/servicios-mobile.webp) }
.hero-boats { --hero-desktop: url(../img/slider/embarcaciones.webp); --hero-mobile: url(../img/slider/embarcaciones-mobile.webp) }
.hero-gallery { --hero-desktop: url(../img/slider/galeria.webp); --hero-mobile: url(../img/slider/galeria-mobile.webp) }
#header .overlay {
  display: grid; align-items: center; min-height: clamp(24rem, 38vw, 37rem);
  padding: 3.5rem 0;
  background: linear-gradient(90deg, rgba(7,23,40,.83), rgba(8,25,40,.48) 45%, rgba(8,25,40,.03) 85%);
}
#header .header-cont { max-width: 39rem }
#header h1 { margin-bottom: .25em; line-height: 1.02; text-transform: uppercase; font-weight: 800 }
#header .header-txt-small { font-size: clamp(.9rem, 1.5vw, 1.2rem); line-height: 1.8; letter-spacing: .12em }
#header .header-cont p, #header h3 { max-width: 33rem; font-size: clamp(1.1rem, 2.1vw, 1.55rem); line-height: 1.4; margin-bottom: .9rem }
#header .btn { background: #fff; color: var(--navy) }
#header .btn:hover { background: #e5eef4 }
.page-section, #contact { padding-block: var(--space) }
.page-tint, #logos { background: var(--tint) }
.section-heading { text-align: center; max-width: 53rem; margin: 0 auto 2rem }
.section-heading h2 { color: var(--navy) }
.section-heading > :last-child, .technique-card > :last-child, .section-copy > :last-child { margin-bottom: 0 }
.section-subtitle { color: var(--blue); font-size: 1.1rem; font-weight: 600; line-height: 1.4 }
.section-description { color: var(--muted); max-width: 47rem; margin-inline: auto }
.section-action { margin-top: 2rem; text-align: center }
.technique-grid, .photo-grid, .video-grid, .quote-grid, .package-grid, .split-section {
  display: grid; gap: clamp(.85rem, 2.4vw, 1.65rem);
}
.technique-grid, .photo-grid, .video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) }
.technique-card { text-align: center; color: var(--muted) }
.technique-card img { height: auto; max-width: min(100%, 185px); margin-bottom: .6rem }
.technique-card h3 { color: var(--blue) }
.photo-grid a { display: block; cursor: zoom-in; background: var(--tint); border-radius: .35rem; overflow: hidden }
.photo-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; transition: transform .2s ease }
.photo-grid a:hover img { transform: scale(1.025) }
.video-grid { margin-block: 1rem 2rem }
.video-grid a, .video-grid iframe { width: 100%; border: 0; aspect-ratio: 16/9; border-radius: .35rem }
.video-grid a { position: relative; display: grid; place-items: center; isolation: isolate; background: var(--navy); overflow: hidden; text-decoration: none; color: white; font-weight: 650; }
.video-grid img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; filter: brightness(.65) }
.video-grid a:hover { color: white; box-shadow: 0 0 0 3px var(--blue) }
.video-grid a::before { content: ''; display: inline-block; border-style: solid; border-width: 10px 0 10px 15px; border-color: transparent transparent transparent white; filter: drop-shadow(0 1px 4px #13243a) }
.split-section { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(1.8rem, 5vw, 5rem); align-items: center }
.split-section > img, .split-section figure img { display: block; width: 100%; height: auto; object-fit: contain }
.section-copy { max-width: 43rem }
#tabs, #testimonials { color: white; background-color: var(--navy); background-size: cover; background-position: center; padding: 0 }
#tabs { background-image: url(../img/parallax_bg/equipo.webp); text-align: center }
#testimonials { background-image: url(../img/parallax_bg/comentarios.webp) }
.overlay-sec { padding: var(--space) 0; background: rgba(11,31,49,.78) }
#tabs p { max-width: 48rem; margin: 1em auto 0; font-size: 1.06rem }
#testimonials .section-heading h2, #pricing .section-heading h2, #pricing .section-subtitle { color: white }
.quote-grid, .package-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) }
.quote-grid blockquote { padding: 1.25rem; margin: 0; border-left: 3px solid #8faabc; background: rgba(10,29,49,.5) }
.quote-grid cite, .quote-grid footer { font-style: normal; font-weight: 650; font-size: .94rem }
#pricing { color: white; background: #192f56 url(../img/bg03.webp) center/cover }
.package-card { padding: 1.4rem; background: white; color: var(--ink); border-radius: .4rem }
.package-card h3 { color: var(--blue) }
.package-card ul { padding-left: 1.25em; margin-bottom: 0 }
.package-card li + li { margin-top: .55rem }
.package-card ul + h4 { margin-top: 1.25rem }
.marina-map { display: block; width: 100%; height: clamp(245px, 34vw, 420px); border: 0 }
.jlc-contact-grid { display: grid; align-items: start; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem) }
.jlc-contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; margin-top: 1.65rem }
.jlc-contact-form .btn { justify-self: start }
.jlc-field { display: flex; flex-direction: column; gap: .35rem }
.jlc-field span { font-weight: 600 }
.jlc-field input, .jlc-field textarea, .jlc-field select {
  width: 100%; border: 1px solid #a4b4be; border-radius: .3rem; min-height: 46px;
  padding: .65em .8em; color: var(--ink); background: #fff;
}
.jlc-field textarea { resize: vertical; min-height: 8rem }
.jlc-field [aria-invalid="true"] { border-color: var(--coral) }
.jlc-field small { color: #8e3021 }
.jlc-field-wide, .jlc-form-notice { grid-column: 1/-1 }
.jlc-form-notice { padding: .8em 1em; background: #e5f4eb; border-left: 3px solid #27714c }
.jlc-form-notice.is-error { background: #fff0eb; border-color: var(--coral) }
.jlc-reviews { min-width: 0; padding: clamp(1rem, 2vw, 1.6rem); border: 1px solid #cededb; border-top: 4px solid #20836c; border-radius: .75rem; background: #fff; scroll-margin-top: 1rem }
.jlc-reviews h2 { margin: 0 0 1rem; color: var(--navy); font-size: clamp(1.35rem, 2vw, 1.65rem) }
.jlc-reviews #CDSWIDSSP { max-width: 100%; margin-inline: auto }
.jlc-reviews #CDSWIDSSP li:has(.widSSPQuote) { margin-block: .75rem; }
.jlc-reviews #CDSWIDSSP .widSSPQuote,
.jlc-reviews #CDSWIDSSP li:has(.widSSPQuote) a { font-size: 1rem !important; line-height: 1.45 !important; }
.jlc-reviews:has(.widSSPQuote:not(:empty)) .jlc-review-backup { display: none }
.jlc-review-backup h3 { margin: 0 0 .85rem; color: var(--muted); font-size: .95rem; font-weight: 600 }
.jlc-review-backup ul { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none }
.jlc-review-backup li + li { padding-top: 1rem; border-top: 1px solid var(--line) }
.jlc-review-byline { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .15em .6em }
.jlc-review-byline a { color: #14594b; font-weight: 700 }
.jlc-review-byline time { color: var(--muted); font-size: .88rem }
.jlc-review-backup p { margin: .3rem 0 0; line-height: 1.52 }
.jlc-reviews-link { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; padding-top: .8rem; min-height: 44px; border-top: 1px solid var(--line); color: #14594b; font-weight: 650 }
.jlc-reviews-link:hover { color: #0b4538 }
.jlc-brand-logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem 1rem }
.jlc-brand-logos { padding-block: 1.75rem; gap: 1.3rem clamp(1.2rem, 4vw, 4rem) }
.jlc-brand-logos img { width: min(122px, 27%); height: auto }
.jlc-lightbox { position: fixed; padding: .75rem; border: none; border-radius: .5rem; background: #fff; color: var(--ink); max-width: calc(100vw - 2rem); max-height: calc(100dvh - 2rem); box-shadow: 0 12px 48px #07162588; overscroll-behavior: contain }
.jlc-lightbox::backdrop { background: rgba(7,18,30,.86) }
.jlc-lightbox img { display: block; width: auto; max-height: 70vh; max-width: 100%; margin: 0 auto; object-fit: contain }
.jlc-lightbox .viewer-controls { display: flex; gap: .65rem; justify-content: space-between; align-items: center; margin-top: .6rem }
.viewer-controls button { border: 1px solid var(--line); border-radius: .25rem; padding: .45rem .9rem; min-height: 44px; background: white; color: var(--navy) }
body:has(.jlc-lightbox[open]) { overflow: hidden }
@media (max-width: 920px) {
  .jlc-nav-inner { flex-wrap: wrap; gap: .35rem .8rem; padding-block: .45rem; min-height: 65px }
  .jlc-brand img { width: 58px }
  .jlc-links { order: 5; flex-basis: 100%; justify-content: center; border-top: 1px solid var(--line) }
  .jlc-nav.is-interactive .jlc-menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .45em }
  .jlc-nav.is-interactive .jlc-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: .45rem; box-shadow: 0 8px 18px #14283922; border-radius: 0 0 .4rem .4rem; background: white; max-height: 70vh; overflow-y: auto }
  .jlc-nav.is-interactive .jlc-links:not(.is-open) { display: none }
  .jlc-links a { padding-inline: .85rem; justify-content: flex-start }
  .jlc-nav.is-interactive .jlc-links a { width: 100% }
  .technique-grid, .photo-grid, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .jlc-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem }
}
@media (max-width: 680px) {
  .container, .jlc-nav-inner { width: calc(100% - 2rem) }
  #header { background-image: var(--hero-mobile) }
  #header .overlay { align-items: end; min-height: clamp(22rem, 92vw, 30rem); padding-block: 2.5rem; background: linear-gradient(0deg, rgba(7,23,40,.91), rgba(7,23,40,.52) 60%, rgba(7,23,40,.05)) }
  .split-section, .package-grid, .quote-grid, .jlc-contact-grid { grid-template-columns: 1fr }
  .technique-grid { gap: 1.5rem 1rem }
  .jlc-contact-form { grid-template-columns: 1fr }
  .quote-grid { gap: 1rem }
  .split-section > img { max-width: 420px; margin: auto }
  .jlc-lightbox { padding: .4rem }
}
@media (max-width: 430px) {
  .technique-grid { grid-template-columns: 1fr }
  .jlc-language, .jlc-menu-toggle { font-size: .875rem }
}
@media (prefers-reduced-motion: reduce) {
  .photo-grid img { transition: none }
}

.jlc-whatsapp {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 7;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #13834e;
  color: white;
  box-shadow: 0 4px 15px #0d2f353d;
}
.jlc-whatsapp .jlc-icon { width: 33px; height: 33px }
.jlc-whatsapp:hover, .jlc-whatsapp:focus-visible { color: white; background: #086e40 }
@media (max-width: 680px) {
  .jlc-whatsapp { width: 52px; height: 52px; right: max(.75rem, env(safe-area-inset-right)); bottom: max(.75rem, env(safe-area-inset-bottom)) }
  .jlc-whatsapp .jlc-icon { width: 30px; height: 30px }
}
@media print { .jlc-whatsapp { display: none } }
