:root {
  --bg: #f8fbff;
  --panel: #ffffff;
  --text: #10213d;
  --muted: #5a6c8f;
  --electric: #0f63ff;
  --electric-2: #00a8ff;
  --line: #d6e4ff;
  --shadow: 0 12px 35px rgba(12, 70, 190, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(circle at 20% 0%, #ffffff 0%, var(--bg) 45%, #edf4ff 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(40px);
}

body::before {
  width: 280px;
  height: 280px;
  left: -90px;
  top: -90px;
  background: rgba(15, 99, 255, 0.22);
}

body::after {
  width: 320px;
  height: 320px;
  right: -120px;
  bottom: -120px;
  background: rgba(0, 168, 255, 0.2);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.brand-name {
  display: block;
  font-size: 1.12rem;
  color: var(--electric);
  letter-spacing: 0.4px;
  font-weight: 700;
  line-height: 1.25;
}

.brand-tagline {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.menu-toggle {
  display: none;
  border: 0;
  background: linear-gradient(135deg, var(--electric), var(--electric-2));
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  padding: 10px 13px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--electric), var(--electric-2));
  box-shadow: 0 8px 18px rgba(15, 99, 255, 0.25);
}

.hero {
  padding: 72px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  background: var(--electric);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
}

.hero h1,
.hero .page-title {
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero h1 span,
.hero .page-title span {
  color: var(--electric);
}

.hero p {
  color: var(--muted);
  margin-bottom: 20px;
}

.cta-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--electric), var(--electric-2));
  box-shadow: 0 10px 24px rgba(15, 99, 255, 0.3);
}

.btn-outline {
  color: var(--electric);
  border-color: var(--electric);
  background: #fff;
}

.floating-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
  animation: float 6s ease-in-out infinite;
}

.floating-card img,
.floating-card video,
.hero-video {
  width: 100%;
  border-radius: 14px;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #dbe8ff;
}

.hero-video {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hero-video.is-ready {
  opacity: 1;
}

.card img,
.card video {
  width: 100%;
  height: 205px;
  object-fit: cover;
  display: block;
  background: #dbe8ff;
}

.card-media-wrap {
  position: relative;
  overflow: hidden;
  height: 205px;
  background: #0a1f3d;
}

.card-media-wrap video,
.card-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-fiume .hero {
  padding-top: 36px;
}

.page-fiume .section-zones {
  padding-top: 12px;
}

.floating-card p {
  margin-top: 10px;
  color: var(--muted);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

section {
  padding: 40px 0;
}

.section-title {
  margin-bottom: 18px;
}

.section-title h2,
.section-title h3,
.section-title h1 {
  font-size: 1.6rem;
  color: var(--electric);
}

.section-title h1 span {
  color: var(--electric);
}

.section-title p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateY(24px);
  opacity: 0;
  transition: all 0.7s ease;
}

.card.visible {
  transform: translateY(0);
  opacity: 1;
}

.card-logo-wrap {
  height: 205px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fbff;
  padding: 16px;
  box-shadow: inset 0 0 0 4px #000;
  border-radius: 16px 16px 0 0;
}

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

.card-body {
  padding: 14px;
}

.card-body h3,
.card-body h4 {
  color: var(--electric);
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.badge {
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--electric);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 8px;
  background: #f4f8ff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  background: linear-gradient(145deg, #ffffff, #edf4ff);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  opacity: 1;
  transform: none;
}

.stat strong {
  font-size: 1.25rem;
  color: var(--electric);
  display: block;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.data-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.data-card h2,
.data-card h4 {
  color: var(--electric);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.weather-list {
  list-style: none;
  display: grid;
  gap: 9px;
}

.weather-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 5px;
}

.meteo-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 280px;
  display: grid;
  align-items: end;
  margin-bottom: 18px;
  isolation: isolate;
}

.meteo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      115deg,
      rgba(9, 31, 79, 0.8) 12%,
      rgba(15, 99, 255, 0.4) 55%,
      rgba(0, 168, 255, 0.15) 100%
    ),
    url("assets/images/foce-sele-f7688df5-329e-4f6d-a098-e87289c7ac5b-806x396.jpg");
  background-size: cover;
  background-position: center;
  animation: driftZoom 14s ease-in-out infinite alternate;
  z-index: -1;
}

.meteo-hero-content {
  color: #fff;
  padding: 24px;
}

.meteo-hero-content h1,
.meteo-hero-content h3 {
  color: #fff;
  margin-bottom: 8px;
  font-size: clamp(1.2rem, 3.6vw, 2rem);
}

.meteo-hero-content p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
  max-width: 640px;
}

.hero-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-chip {
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.86rem;
  backdrop-filter: blur(5px);
}

.data-card {
  position: relative;
  overflow: hidden;
}

.data-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -45% -30%;
  height: 70%;
  background: radial-gradient(circle, rgba(15, 99, 255, 0.15), rgba(15, 99, 255, 0));
  pointer-events: none;
}

.ring-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.ring {
  background: #f6f9ff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.ring-value {
  width: 76px;
  height: 76px;
  margin: 0 auto 7px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: #0c2f7a;
  background: conic-gradient(var(--electric) var(--p, 0%), #dbe8ff 0%);
  transition: background 0.5s ease;
}

.ring p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.3;
}

.forecast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.forecast-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #f8fbff;
  animation: float 6s ease-in-out infinite;
}

.forecast-card:nth-child(2) {
  animation-delay: 0.4s;
}

.forecast-card:nth-child(3) {
  animation-delay: 0.8s;
}

.forecast-card h3,
.forecast-card h5 {
  color: var(--electric);
  margin-bottom: 4px;
  font-size: 1rem;
}

.forecast-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.fishing-meteo-panel {
  margin-top: 24px;
}

.tide-section {
  margin-top: 28px;
}

.tide-table-card,
.tide-marea-card {
  overflow: visible;
}

.tide-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.tide-table-scroll-hint {
  display: none;
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.tide-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.88rem;
}

.tide-table th,
.tide-table td {
  border: 1px solid var(--line);
  padding: 8px 6px;
  text-align: center;
  vertical-align: middle;
}

.tide-table th {
  background: #eef4ff;
  color: #15376f;
  font-weight: 700;
}

.tide-table .day-num {
  font-weight: 800;
  color: var(--electric);
  background: #f8fbff;
}

.tide-table .day-letter {
  font-weight: 700;
  color: var(--muted);
}

.tide-table .tide-high {
  color: #c62828;
  font-weight: 700;
}

.tide-table .tide-low {
  color: #1565c0;
  font-weight: 700;
}

.tide-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.tide-next-high,
.tide-next-low,
.tide-trend {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.tide-next-high strong,
.tide-next-low strong,
.tide-trend strong {
  display: block;
  margin-top: 6px;
  font-size: 1.15rem;
  color: var(--text);
}

.tide-badge {
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 999px;
}

.tide-badge-high {
  background: #ffebee;
  color: #c62828;
}

.tide-badge-low {
  background: #e3f2fd;
  color: #1565c0;
}

.tide-badge-trend {
  background: #eef4ff;
  color: var(--electric);
}

.tide-status-box {
  background: linear-gradient(145deg, #f8fbff, #eef4ff);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.55;
}

.tide-month-chart-wrap {
  margin-bottom: 16px;
}

.tide-chart-month {
  min-width: 0;
}

.tide-chart-wrap {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  overflow: hidden;
}

.tide-chart {
  width: 100%;
  min-width: 0;
  height: auto;
  display: block;
  max-height: 340px;
}

.tide-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.tide-legend .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.dot-high {
  background: #e53935;
}

.dot-low {
  background: #1e88e5;
}

.dot-sun {
  background: #ffb300;
}

.tide-events-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.tide-events-list li {
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.92rem;
}

.tide-events-list strong {
  color: var(--electric);
}

.fishing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fishing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.fishing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(12, 70, 190, 0.24);
}

.fishing-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.fishing-body {
  padding: 14px;
}

.fishing-body h3,
.fishing-body h4 {
  color: var(--electric);
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.fish-score {
  display: inline-flex;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0d4acc;
  border: 1px solid #b9d3ff;
  background: #eef5ff;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 6px;
}

@keyframes driftZoom {
  from {
    transform: scale(1) translateX(0);
  }
  to {
    transform: scale(1.06) translateX(-10px);
  }
}

.contact-panel {
  background: linear-gradient(145deg, #ffffff, #edf3ff);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.contact-panel h3,
.panel-title {
  margin-bottom: 12px;
  color: var(--electric);
  font-size: 1.15rem;
}

.panel-lead {
  margin-bottom: 14px;
  color: var(--muted);
}

.marine-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.privacy-box {
  margin-top: 6px;
  padding: 16px 18px;
  border: 1px solid #c5d9ff;
  border-radius: 14px;
  background: linear-gradient(145deg, #f8fbff, #eef4ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  font-weight: 400;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.6;
}

.privacy-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--electric);
  cursor: pointer;
}

.privacy-check-text {
  display: block;
  color: #2a4068;
}

.privacy-check-text a {
  color: var(--electric);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-check-text a:hover {
  color: var(--electric-2);
}

.privacy-check:has(input:focus-visible) {
  outline: 2px solid rgba(15, 99, 255, 0.35);
  outline-offset: 4px;
  border-radius: 8px;
}

.legal-content {
  max-width: 760px;
}

.legal-content h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--electric);
  margin-bottom: 14px;
}

.legal-content h2 {
  color: var(--electric);
  font-size: 1.2rem;
  margin: 24px 0 10px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  margin-bottom: 10px;
}

.legal-content ul {
  padding-left: 1.2rem;
  margin-bottom: 12px;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.contact-list a {
  color: var(--electric);
  text-decoration: none;
  font-weight: 700;
}

.contact-list .doc-link {
  color: var(--electric);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc-download-wrap {
  margin-top: 14px;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form > label {
  font-weight: 700;
  color: #15376f;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(15, 99, 255, 0.18);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.hidden-honey {
  display: none;
}

.form-status {
  min-height: 20px;
  font-weight: 700;
  color: #1b4ea2;
  margin-top: 4px;
}

.form-status.error {
  color: #b00020;
}

body.menu-open {
  overflow: hidden;
}

.footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding: 36px 0 0;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(237, 244, 255, 0.9));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  text-align: left;
  padding-bottom: 28px;
}

.footer-brand p {
  margin-top: 8px;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.95rem;
  color: var(--electric);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-nav ul,
.footer-contact ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-nav a,
.footer-contact a,
.footer-legal a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-legal a:hover {
  color: var(--electric);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.footer-credits p {
  margin: 0;
}

.footer-maker {
  color: var(--muted);
  font-weight: 600;
}

.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.breadcrumbs-wrap {
  padding: 10px 0 4px;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.breadcrumbs li {
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: #9db2dc;
}

.breadcrumbs a {
  color: var(--electric);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs li[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .card-grid,
  .stats,
  .fishing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .data-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    display: none;
    width: min(300px, 92vw);
    box-shadow: var(--shadow);
    z-index: 30;
  }

  .nav.open {
    display: grid;
  }

  .nav a {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .tide-status-grid {
    gap: 10px;
  }

  .tide-table {
    min-width: 680px;
  }

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

  .tide-chart {
    max-height: 310px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(1120px, 94%);
  }

  .hero {
    padding: 48px 0 36px;
  }

  .hero-grid,
  .data-grid,
  .card-grid,
  .stats,
  .ring-grid,
  .forecast-grid,
  .fishing-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2,
  .section-title h3 {
    font-size: 1.35rem;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .brand-tagline {
    font-size: 0.82rem;
  }

  .brand img {
    width: 64px;
    height: 64px;
  }

  .cta-wrap {
    flex-direction: column;
  }

  .cta-wrap .btn {
    width: 100%;
    min-height: 44px;
  }

  .card img,
  .card video,
  .card-media-wrap,
  .card-logo-wrap,
  .fishing-card img {
    height: 190px;
  }

  .card-media-wrap {
    height: 190px;
  }

  .meteo-hero {
    min-height: 240px;
  }

  .meteo-hero-content {
    padding: 18px;
  }

  .weather-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .ring-value {
    width: 68px;
    height: 68px;
    font-size: 0.92rem;
  }

  .contact-panel {
    padding: 16px;
  }

  .privacy-box {
    padding: 14px;
  }

  .privacy-check {
    gap: 12px;
    font-size: 0.9rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    padding-top: 28px;
  }

  .tide-section .section-title p {
    font-size: 0.9rem;
    line-height: 1.45;
    word-break: break-word;
  }

  #tide-day-title {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
  }

  .tide-status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tide-next-high strong,
  .tide-next-low strong,
  .tide-trend strong {
    font-size: 1.05rem;
  }

  .tide-status-box {
    padding: 12px 14px;
    font-size: 0.92rem;
  }

  .tide-chart-wrap {
    padding: 8px;
  }

  .tide-chart {
    max-height: 300px;
  }

  .tide-chart-month {
    max-height: 220px;
  }

  .tide-legend {
    gap: 10px 14px;
    font-size: 0.84rem;
  }

  .tide-events-list {
    grid-template-columns: 1fr;
  }

  .tide-table-scroll-hint {
    display: block;
  }

  .tide-table {
    min-width: 620px;
    font-size: 0.8rem;
  }

  .tide-table th,
  .tide-table td {
    padding: 6px 4px;
  }

  .tide-table .day-num {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 30px;
    box-shadow: 2px 0 4px rgba(15, 55, 111, 0.08);
  }

  .tide-table .day-letter {
    position: sticky;
    left: 30px;
    z-index: 2;
    min-width: 22px;
    background: #fff;
    box-shadow: 2px 0 4px rgba(15, 55, 111, 0.08);
  }

  .tide-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 3;
    min-width: 30px;
  }

  .tide-table thead th:nth-child(2) {
    position: sticky;
    left: 30px;
    z-index: 3;
    min-width: 22px;
  }

  .marine-note {
    font-size: 0.88rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .brand-tagline {
    display: none;
  }

  .hero h1,
  .hero .page-title {
    font-size: 1.45rem;
  }

  .floating-card {
    padding: 14px;
  }

  .card-body,
  .fishing-body,
  .data-card {
    padding: 12px;
  }

  .hero-chip {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .tide-status-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tide-next-high,
  .tide-next-low,
  .tide-trend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    text-align: left;
  }

  .tide-next-high strong,
  .tide-next-low strong,
  .tide-trend strong {
    margin-top: 0;
    font-size: 1.1rem;
  }

  .tide-badge {
    font-size: 0.72rem;
    flex-shrink: 0;
  }

  .tide-table {
    min-width: 560px;
    font-size: 0.74rem;
  }

  .tide-chart {
    max-height: 260px;
  }

  .tide-chart-month {
    max-height: 190px;
  }

  .tide-events-list li {
    padding: 9px 10px;
    font-size: 0.88rem;
  }
}

@media (min-width: 1025px) {
  .nav {
    display: flex !important;
  }
}
