/* Yacht Site - Main Styles */

:root {
  --color-primary: #0d3d4d;
  --color-primary-light: #145a6e;
  --color-accent: #b8860b;
  --color-text: #2c2c2c;
  --color-text-muted: #5a5a5a;
  --color-bg: #fafaf9;
  --color-bg-alt: #f2f1ef;
  --color-border: rgba(0, 0, 0, 0.06);
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --spacing: 1.5rem;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Global heading font – consistent across all pages */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Header - white frosted by default; transparent on home/contact at top; transparent when menu open (mobile) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-text);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease, color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Home and contact: transparent header at top of page */
body.hero-page .site-header:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-text);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.site-nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.site-nav .logo {
  flex-shrink: 0;
}

.site-nav .nav-links {
  flex: 1;
  justify-content: center;
  margin: 0 auto;
}

.site-nav .header-contact {
  flex-shrink: 0;
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.header-contact-label {
  font-size: 0.8rem;
  opacity: 0.9;
  color: inherit;
}

.header-contact-phone {
  font-size: 1.1rem;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  opacity: 0.94;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.header-contact-phone:hover {
  opacity: 1;
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.35);
}

.site-header.scrolled .header-contact-phone:hover {
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2);
}

.site-header.scrolled .header-contact-label {
  color: var(--color-text-muted);
}

.logo {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: inherit;
  text-decoration: none;
  display: block;
}

.logo-img {
  display: block;
  height: 3.75rem;
  width: auto;
}

.logo-img--main {
  display: none;
}

.site-header.scrolled .logo-img--white {
  display: none;
}

.site-header.scrolled .logo-img--main {
  display: block;
}

.site-header .nav-links a {
  position: relative;
  color: inherit;
  text-decoration: none;
  padding: 0.25rem 0;
  font-weight: 600;
  transition: color 0.25s ease;
}

.site-header .nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}

.site-header .nav-links a:hover::after {
  width: 100%;
}

.site-header.scrolled .nav-links a:hover {
  color: var(--color-primary);
}

.site-header.scrolled .nav-links a:hover::after {
  background: var(--color-primary);
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4rem;
}

/* Hamburger: hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.06);
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Dropdown: on desktop behaves as flow content */
.nav-dropdown {
  display: contents;
}

/* Main content */
main {
  padding: 0;
  min-height: 50vh;
}

/* Push content below fixed header on non-hero pages (gallery, about, etc.) */
body:not(.hero-page) main {
  padding-top: 6rem;
}

@media (max-width: 600px) {
  body:not(.hero-page) main {
    padding-top: 4.5rem;
  }
}

main > .page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing);
}

/* Home hero - single static image, full viewport */
.hero-home {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 400px;
  overflow: hidden;
  background-color: #0a1628;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/gallery/1-yacht.jpg");
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
}

@media (max-width: 600px) {
  .hero-home {
    min-height: 350px;
  }
}

.hero-home-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.25) 100%);
  z-index: 0;
}

.hero-home .hero-overlay {
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  color: white;
  text-align: left;
  padding: 18rem 2rem 6.5rem 4.5rem;
}

@media (max-width: 900px) {
  .hero-overlay {
    padding: 14rem 2rem 5rem 3rem;
  }
}

@media (max-width: 600px) {
  .hero-overlay {
    padding: 10rem 1.5rem 4rem 1.5rem;
  }
  .hero-overlay-content {
    max-width: 100%;
  }
  .hero-overlay h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .hero-overlay p {
    font-size: 1rem;
  }
  .hero-book-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

.hero-overlay-content {
  max-width: 32rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-overlay h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1.2rem;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-overlay p {
  font-size: 1.2rem;
  margin: 0 0 2.25rem;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.hero-book-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  margin-top: auto;
  margin-bottom: 1.5rem;
  align-self: flex-start;
  background: #f6f4f0;
  color: var(--color-primary);
  border: 1px solid #f6f4f0;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hero-book-btn:hover {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.9);
}

.hero-intro {
  max-width: 1600px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
  font-size: 1.25rem;
  color: var(--color-text-muted);
}

@media (max-width: 600px) {
  .hero-intro {
    padding: 2rem 1rem;
    font-size: 1.1rem;
  }
}

/* Yacht showcase - Bento grid - wider to use side space */
.yacht-showcase {
  padding: 3rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .yacht-showcase {
    padding: 2rem 1rem;
  }
  .yacht-showcase .section-heading {
    font-size: 1.5rem;
  }
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.1rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.section-intro {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  max-width: 600px;
  font-weight: 400;
}

.section-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.section-link:hover {
  text-decoration: underline;
}

/* Bento grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 0.75rem;
}

.bento-item {
  overflow: hidden;
  border-radius: 6px;
}

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

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-medium {
  grid-column: span 2;
}

.bento-small {
  grid-column: span 1;
}

@media (max-width: 900px) {
  .nav-links {
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 1rem 1rem;
  }
  .site-nav {
    gap: 1rem;
  }
  .nav-links {
    gap: 1.25rem;
  }
  .logo {
    font-size: 1.1rem;
  }
  .logo-img {
    height: 2.85rem;
  }
}

@media (max-width: 400px) {
  .nav-links {
    gap: 0.9rem;
  }
  .logo {
    font-size: 1rem;
  }
  .logo-img {
    height: 2rem;
  }
}

@media (max-width: 768px) {
  .header-contact {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-header.nav-open:not(.scrolled) .nav-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  .nav-dropdown {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: max-height 0.3s ease;
    color: var(--color-text);
  }

  .site-header.nav-open .nav-dropdown {
    max-height: 20rem;
  }

  /* When menu is open at top of page: header turns teal; when scrolled, keep white */
  .site-header.nav-open:not(.scrolled) {
    background: rgba(13, 61, 77, 0.97);
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.15);
    box-shadow: none;
  }

  /* Dropdown is always white */
  .nav-dropdown .nav-links {
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.5rem 1.25rem;
  }

  .nav-dropdown .nav-links li {
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-dropdown .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-dropdown .nav-links a {
    display: block;
    padding: 0.75rem 0;
    color: inherit;
  }

  .nav-dropdown .nav-links a::after {
    display: none;
  }

  .nav-dropdown .nav-links a:hover {
    color: var(--color-primary);
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px 160px;
    gap: 0.5rem;
  }
  .bento-large {
    grid-column: span 2;
    grid-row: span 1;
  }
  .bento-medium {
    grid-column: span 1;
  }
}

@media (max-width: 500px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 140px);
  }
  .bento-large,
  .bento-medium,
  .bento-small {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Video section - wider to use side space */
.yacht-video-section {
  padding: 3rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .yacht-video-section {
    padding: 2rem 1rem;
  }
  .yacht-video-section .section-heading {
    font-size: 1.5rem;
  }
}

.yacht-video-section .section-intro {
  margin-bottom: 1.5rem;
}

.video-container {
  overflow: hidden;
  border-radius: 6px;
  background: #0a1628;
  box-shadow: var(--shadow-md);
}

.video-container video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* Destinations section - wider to use side space */
.destinations-section {
  padding: 3rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .destinations-section {
    padding: 2rem 1rem;
  }
  .destinations-section .section-heading {
    font-size: 1.5rem;
  }
  .destination-name {
    font-size: 1.2rem;
    padding: 1rem;
  }
}

.destinations-section .section-heading {
  position: relative;
  padding-bottom: 0.5rem;
}

.destinations-section .section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--color-primary);
}

.destinations-section .section-intro {
  margin-bottom: 2rem;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .destinations-grid {
    grid-template-columns: 1fr;
  }
}

.destination-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.destination-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.destination-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

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

.destination-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.25rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.destinations-cta {
  text-align: center;
  margin-top: 2rem;
}

/* What we offer - before destinations */
.offerings-section {
  padding: 3rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.offerings-block {
  padding: 2.5rem 2rem;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  border-radius: 6px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.offerings-lead {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.offerings-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

.offerings-intro {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.offerings-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offerings-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

.offerings-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

@media (max-width: 700px) {
  .offerings-section {
    padding: 2rem 1rem;
  }
  .offerings-block {
    padding: 2rem 1.5rem;
  }
  .offerings-lead {
    font-size: 1.1rem;
  }
  .offerings-list {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

.cta-button {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.cta-button:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .cta-button {
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Testimonials section */
.testimonials-section {
  position: relative;
  padding: 5rem 2rem;
  margin: 0 auto;
  background-image: url("../images/gallery/2-yacht.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 77, 104, 0.35);
  z-index: 0;
}

.testimonials-inner {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
}

.testimonials-section .section-heading {
  color: white;
}

.testimonials-section .section-intro {
  margin-bottom: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

.testimonial-card {
  background: #fff;
  border-radius: 6px;
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 1.25rem;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .testimonials-section {
    padding: 3rem 1rem;
  }
  .testimonials-section .section-heading {
    font-size: 1.5rem;
  }
  .testimonial-card {
    padding: 1.5rem;
  }
}

/* Gallery page */
/* Gallery hero – matches About/Charters */
.gallery-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-color: var(--color-primary);
}

.gallery-hero--with-bg {
  background-image: url("../images/gallery/2-yacht.jpg");
}

.gallery-hero .about-hero-content {
  padding: 4rem 2rem;
}

.gallery-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.gallery-sections {
  max-width: 1600px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.gallery-intro-text {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 3rem;
  line-height: 1.6;
  max-width: 480px;
}

.gallery-section {
  margin-bottom: 4rem;
}

.gallery-section:last-of-type {
  margin-bottom: 0;
}

.gallery-section-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.gallery-section-caption {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-grid--section {
  margin: 0;
}

.gallery-figure {
  margin: 0;
  min-width: 0;
}

.gallery-item {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: middle;
}

.gallery-figcaption {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Gallery closing CTA */
.gallery-cta-section {
  padding: 4rem 2rem 5rem;
  background: #f8f7f5;
  color: var(--color-text);
  text-align: center;
  margin-top: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.06);
}

.gallery-cta-inner {
  max-width: 520px;
  margin: 0 auto;
}

.gallery-cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.gallery-cta-text {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.55;
}

.gallery-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.gallery-cta-link {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.gallery-cta-link:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

@media (max-width: 600px) {
  .gallery-hero .about-hero-content {
    padding: 3rem 1.25rem;
  }
  .gallery-hero h1 {
    font-size: 1.75rem;
  }
  .gallery-sections {
    padding: 3rem 1rem;
  }
  .gallery-intro-text {
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
  }
  .gallery-section {
    margin-bottom: 3rem;
  }
  .gallery-section-heading {
    font-size: 1.1rem;
  }
  .gallery-cta-section {
    padding: 3rem 1rem 4rem;
    margin-top: 0;
  }
  .gallery-cta-buttons {
    flex-direction: column;
  }
  .gallery-cta-buttons .cta-button,
  .gallery-cta-link {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Gallery lightbox - fullscreen viewer */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.95);
}

/* Must override display when hidden - .gallery-lightbox sets display:flex which overrides [hidden] */
.gallery-lightbox[hidden] {
  display: none !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.lightbox-image-wrap {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  background: rgba(13, 61, 77, 0.85);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--color-primary);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.04);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

@media (max-width: 600px) {
  .lightbox-prev,
  .lightbox-next {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.25rem;
  }
  .lightbox-prev {
    left: 0.75rem;
  }
  .lightbox-next {
    right: 0.75rem;
  }
}


/* Page content – shared heading style */
.page-content h1,
.contact-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

/* About page */
.about-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-color: var(--color-primary);
}

.about-hero--with-bg {
  background-image: url("../images/gallery/18-yacht.jpg");
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13, 61, 77, 0.5) 0%, rgba(13, 61, 77, 0.85) 100%);
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.about-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 600;
  margin: 0 0 1.25rem;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.about-hero-tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.about-intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  max-width: 42rem;
}

.about-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.about-section {
  padding: 3.5rem 2rem;
}

.about-section--alt {
  background: var(--color-bg-alt);
}

.about-section .section-heading {
  position: relative;
  padding-bottom: 0.5rem;
}

.about-section .section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--color-primary);
}

.about-section p {
  margin: 0 0 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.about-section p:last-child {
  margin-bottom: 0;
}

.about-subsection {
  margin-top: 1.75rem;
}

.about-subsection:first-of-type {
  margin-top: 1.25rem;
}

.about-subheading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.4rem;
  letter-spacing: 0.02em;
}

.about-subsection p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* Yacht Specifications – stat cards (Charters-style) */
.about-specs-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.about-spec-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.about-spec-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.about-spec-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.about-spec-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  line-height: 1.25;
}

/* Amenities – rounded feature chips */
.about-amenities-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.about-amenity-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.4;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-amenity-chip:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-primary);
}

@media (max-width: 900px) {
  .about-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-crew {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 1.5rem;
}

.about-crew-image {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-crew-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-crew-content p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.about-crew-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .about-crew {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-crew-image {
    max-width: 300px;
    margin: 0 auto;
  }
}

.about-cta {
  padding: 3.5rem 2rem 5rem;
  text-align: center;
  background: #f8f7f5;
  color: var(--color-text);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.06);
}

.about-cta-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 1.25rem;
  color: var(--color-primary);
}

.about-cta .cta-button {
  background: var(--color-primary);
  color: #fff;
}

.about-cta .cta-button:hover {
  background: var(--color-primary-light);
  color: #fff;
}

.charters-cta-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.25rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* Charters & Rates page */
.charters-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-color: var(--color-primary);
}

.charters-hero--with-bg {
  background-image: url("../images/gallery/109-yacht.jpg");
}

.charters-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.charters-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.charters-hero-tagline {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1.75rem;
  line-height: 1.5;
  font-weight: 400;
}

.charters-hero-cta {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: #fff;
  color: var(--color-primary);
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
  box-shadow: var(--shadow-md);
}

.charters-hero-cta:hover {
  background: var(--color-bg);
  transform: translateY(-2px);
}

/* Charter Durations & Rates – cards */
.charters-rates-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.charters-rates-inner {
  margin: 0 auto;
}

.charters-rates-section .section-heading {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.charters-rates-section .section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--color-primary);
}

.charters-rates-note {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 2.5rem;
  font-weight: 400;
}

.charters-rate-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.charters-rate-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.charters-rate-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.charters-rate-card-duration {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.charters-rate-card-price {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.charters-rate-card-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

.charters-rate-card--weekly {
  border-color: var(--color-primary);
  background: linear-gradient(180deg, rgba(13, 61, 77, 0.04) 0%, #fff 100%);
  box-shadow: var(--shadow-md);
}

.charters-rate-card--weekly .charters-rate-card-duration {
  font-size: 1.6rem;
}

.charters-rate-card--weekly .charters-rate-card-price {
  font-size: 2rem;
  color: var(--color-primary);
}

/* Destinations – clean bullets */
.charters-destinations .charters-dest-intro {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.charters-dest-bullets {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: center;
}

.charters-dest-bullets li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.charters-dest-bullets li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 600;
}

/* What's Included – grid with check icons */
.charters-included-section {
  padding: 4rem 2rem;
  background: var(--color-bg-alt);
}

.charters-included-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.charters-included-section .section-heading {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.charters-included-section .section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--color-primary);
}

.charters-included-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem 2rem;
}

.charters-included-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
}

.charters-check {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

.charters-check::after {
  content: "✓";
}

/* Optional Add-Ons – minimal */
.charters-addons-section {
  padding: 3rem 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.charters-addons-inner {
  text-align: center;
}

.charters-addons-section .section-heading {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.charters-addons-section .section-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--color-primary);
}

.charters-addons-text {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Closing CTA */
.charters-cta-section {
  padding: 4rem 2rem 5rem;
  background: #f8f7f5;
  color: var(--color-text);
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.06);
}

.charters-cta-inner {
  max-width: 520px;
  margin: 0 auto;
}

.charters-cta-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.charters-cta-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.charters-cta-btn {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
  box-shadow: var(--shadow-md);
}

.charters-cta-btn:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
}

/* Ideal For – keep bullets */
.charters-lead {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
  line-height: 1.6;
}

.charters-ideal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem 2rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.charters-ideal li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  font-size: 0.98rem;
}

.charters-ideal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  background: var(--color-primary);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .charters-rate-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .charters-hero-content {
    padding: 3rem 1.25rem;
  }
  .charters-hero-tagline {
    font-size: 1rem;
  }
  .charters-rates-section {
    padding: 3rem 1rem;
  }
  .charters-rate-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .charters-rate-card {
    padding: 1.5rem 1.25rem;
  }
  .charters-rate-card-duration {
    font-size: 1.35rem;
  }
  .charters-rate-card-price {
    font-size: 1.5rem;
  }
  .charters-rate-card--weekly .charters-rate-card-duration {
    font-size: 1.4rem;
  }
  .charters-rate-card--weekly .charters-rate-card-price {
    font-size: 1.75rem;
  }
  .charters-dest-bullets {
    justify-content: flex-start;
  }
  .charters-included-grid {
    grid-template-columns: 1fr;
  }
  .charters-ideal {
    grid-template-columns: 1fr;
  }
  .charters-cta-section {
    padding: 3rem 1rem 4rem;
  }
  .about-hero-content {
    padding: 3rem 1.25rem;
  }
  .about-hero h1 {
    font-size: 1.75rem;
  }
  .about-hero-tagline {
    font-size: 1rem;
  }
  .about-intro {
    font-size: 1rem;
  }
  .about-section {
    padding: 2.5rem 1rem;
  }
  .about-section .section-heading {
    font-size: 1.5rem;
  }
  .about-subsection {
    margin-top: 1.25rem;
  }
  .about-subheading {
    font-size: 1.05rem;
  }
  .about-specs-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  .about-spec-card {
    padding: 1.5rem 1.25rem;
  }
  .about-spec-value {
    font-size: 1.2rem;
  }
  .about-amenities-grid {
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
    gap: 0.75rem;
  }
  .about-amenity-chip {
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
  }
  .about-cta {
    padding: 3rem 1rem 4rem;
  }
  .about-cta-text {
    font-size: 1.15rem;
  }
}

/* Contact page */
.contact-section {
  position: relative;
  min-height: calc(100vh - 6rem);
  padding: 9rem 2rem 5rem;
  background-color: #0a1628;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/gallery/10-yacht.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: blur(4px);
  -webkit-filter: blur(4px);
  z-index: 0;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
  color: white;
}

.contact-header h1 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: white;
  letter-spacing: 0.02em;
}

.contact-header p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
}

.contact-info {
  padding: 0;
  color: white;
}

.contact-info h2 {
  font-size: 1.15rem;
  margin: 0 0 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-info-item {
  margin-bottom: 1.25rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 0.3rem;
}

.contact-info a,
.contact-info span {
  font-size: 0.95rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  padding: 0;
}

.contact-form textarea {
  grid-column: 1 / -1;
}

.contact-form .contact-submit-btn {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  color: white;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

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

.contact-form .contact-submit-btn {
  align-self: flex-start;
  margin-top: 0.25rem;
  padding: 0.95rem 2.25rem;
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.contact-form .contact-submit-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: white;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .contact-section {
    background-attachment: scroll;
  }
}

@media (max-width: 600px) {
  .contact-section {
    padding: 6rem 1rem 3rem;
    min-height: auto;
  }
  .contact-header h1 {
    font-size: 1.75rem;
  }
  .contact-header p {
    font-size: 1rem;
  }
  .contact-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .contact-section {
    padding: 5rem 0.75rem 2rem;
  }
  .contact-card {
    padding: 1.5rem 1rem;
  }
}

/* Footer */
.site-footer {
  margin-top: 0;
  background: linear-gradient(180deg, var(--color-primary) 0%, #082a35 100%);
}

.site-footer .footer-logo {
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
}

.footer-main {
  padding: 2.5rem 2rem 2rem;
}

.footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.footer-brand {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.footer-logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: inline-block;
}

.footer-logo-img {
  display: block;
  height: 3.35rem;
  width: auto;
}

.footer-logo:hover {
  color: rgba(255, 255, 255, 0.95);
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  max-width: 260px;
}

.footer-columns {
  display: contents;
}

.footer-col {
  /* grid item via contents - no change */
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 1.25rem;
}

.footer-links,
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li,
.footer-contact-list li {
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.88);
}

.footer-links a,
.footer-contact-list a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover,
.footer-contact-list a:hover {
  color: white;
}

.footer-contact-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer-col-contact .footer-cta {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.85rem 2rem;
  background: white;
  color: var(--color-primary) !important;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-col-contact .footer-cta:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 2rem;
}

.footer-bottom-inner {
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-col-contact {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .footer-main {
    padding: 2rem 1.5rem 1.5rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .footer-col-contact {
    grid-column: span 1;
  }
}

/* Page content */
