/* Space Coast Co-Hosts — shared design system and reusable components */
/* =========================================================
   SPACE COAST CO-HOSTS — COMPONENT DESIGN SYSTEM
   v1.11: centralized layout, typography, components and responsive rules
   ========================================================= */

:root { /* Brand */
  --color-brand: #027dad; --color-brand-hover: #015e82; --color-brand-mid: #0e7086; --color-brand-deep: #052b3a; --color-brand-deep-2: #07394b; --color-accent: #fdaf26; --color-accent-hover: #f5a318; --color-accent-bright: #ffbb3e; --color-accent-text: #9b6100; /* Text */
  --color-ink: #101820; --color-ink-soft: #102b36; --color-copy: #35434a; --color-copy-deep: #24323a; --color-muted: #5b6970; --color-muted-2: #68757b; --color-white: #fff; /* Surfaces */
  --color-surface: #f8fbfc; --color-surface-soft: #f4f8fa; --color-surface-muted: #eef6f8; --color-surface-media: #eef3f4; --color-surface-icon: #e5f3f7; --color-surface-selected: #e8f5f8; --color-surface-control: #f5f9fa; --color-card-dark: #0a4052; --color-card-media: #163f49; --color-border: #d8e5ea; --color-border-strong: #cfe1e6; --color-border-soft: #dce9ed; --color-border-contact: #dfe9ec; --color-border-contact-strong: #d5e4e8; --color-contact-icon-border: #c9dde2; --color-dot: #d6dde0; --color-brand-soft-border: #b8dfe6; --color-brand-300: #8ccbdc; --color-brand-400: #1597bd; --color-brand-600: #056d94; --color-brand-650: #00678e; --color-brand-700: #005f84; --color-ink-700: #17333d; --color-ink-800: #112f39; --color-muted-mid: #62747b; --color-muted-light: #6d7b82; --color-muted-lighter: #728189; --color-muted-soft: #73838a; --color-contact-note: #6e8087; --color-contact-location: #61767e; --color-contact-label: #75888f; --color-contact-arrow: #7f949b; --color-contact-foot: #71858c; --color-contact-dot: #a8bcc2; --color-surface-cta: #f7fafb; --color-surface-option-hover: #eef7f9; --color-surface-stepper: #edf7f9; --color-surface-divider: #e7eff1; --color-surface-toggle: #edf5f7; --color-surface-things: #f4f7f8; /* Alpha channels */
  --rgb-white: 255, 255, 255; --rgb-brand: 2, 125, 173; --rgb-brand-deep: 5, 43, 58; --rgb-accent: 253, 175, 38; --rgb-shadow: 4, 45, 61; --rgb-shadow-deep: 0, 18, 28; --rgb-overlay: 3, 25, 33; --rgb-sky: 63, 182, 226; --rgb-border: 216, 229, 234; --rgb-overlay-dark: 5, 47, 56; /* Typography */
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --font-heading: "Marcellus", Georgia, serif; --line-height-body: 1.62; --line-height-heading: 1.08; /* Layout */
  --container-width: 1280px; --container-narrow: 1100px; --container-hero: 1180px; --page-gutter: 28px; --section-space: 72px; --section-space-compact: 72px; /* Shape / elevation */
  --radius-sm: 12px; --radius-md: 18px; --radius-lg: 24px; --radius-xl: 30px; --radius-pill: 999px; --shadow-sm: 0 10px 24px rgba(var(--rgb-shadow), .08); --shadow-md: 0 16px 38px rgba(var(--rgb-shadow), .11); --shadow-lg: 0 22px 55px rgba(var(--rgb-shadow), .18); /* Motion */
  --ease-standard: cubic-bezier(.22, .7, .2, 1); --ease-emphasis: cubic-bezier(.22, .78, .23, 1); --duration-fast: 180ms; --duration-medium: 260ms; --duration-slow: 420ms;
}

/* =========================================================
   BASE + RESPONSIVE SAFETY
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; overflow-x: clip;
}
body { margin: 0; width: 100%; max-width: 100%; overflow-x: hidden; overflow-x: clip; background: var(--color-white); color: var(--color-ink-soft); font-family: var(--font-body);
}
main { width: 100%; min-width: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
p { margin-top: 0; }
strong,
b { font-weight: 600; }

/* Normalize Flaticon baselines without changing component display rules.
   Component-specific flex/grid containers handle optical centering. */
i.fi { line-height: 1; vertical-align: middle; }
i.fi::before { margin: 0; line-height: 1; }

/* Accessibility utility: keep semantic helper text available to screen readers
   without displaying it in the visual layout. */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link { position: fixed; left: 16px; top: 12px; z-index: 9999; transform: translateY(-160%); padding: 10px 14px; border: 2px solid var(--color-brand); border-radius: 10px; background: var(--color-white); color: var(--color-ink-soft); font-weight: 600; box-shadow: var(--shadow-md); transition: transform var(--duration-fast) ease;
}
.skip-link:focus { transform: translateY(0); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible { outline: 3px solid rgba(var(--rgb-accent), .9); outline-offset: 3px;
}

/* =========================================================
   SHARED LAYOUT COMPONENTS
   ========================================================= */

.container { --container-current: var(--container-width); width: min(var(--container-current), calc(100% - (var(--page-gutter) * 2))); margin-inline: auto; min-width: 0;
}
.container--narrow { --container-current: var(--container-narrow); }
.container--hero { --container-current: var(--container-hero); }

.section { position: relative; isolation: isolate; width: 100%; padding-block: var(--section-space); overflow-x: hidden; overflow-x: clip;
}
.section > .container { position: relative; z-index: 2; }
.section--compact { padding-block: var(--section-space-compact); }

.component-grid { display: grid; min-width: 0; }
.card { min-width: 0; }
.media-frame { overflow: hidden; border-radius: var(--radius-lg); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.recognition-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.recognition-item { height: 92px; display: flex; align-items: center; justify-content: center; padding: 12px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-white); }
.recognition-item img { width: auto; max-height: 66px; }

/* =========================================================
   TYPOGRAPHY COMPONENTS — all heading typography lives here
   ========================================================= */

.heading { margin: 0; color: var(--color-ink);
}
.heading--hero,
.heading--section { font-family: var(--font-heading); font-weight: 400;
}
.heading--hero { max-width: 900px; margin-inline: auto; line-height: 1.08; letter-spacing: -1.6px; margin-top: 18px; margin-bottom: 12px;
}
.heading--section { line-height: var(--line-height-heading); letter-spacing: -.65px;
}
.heading--card { font-family: var(--font-body); line-height: 1.28; font-weight: 500;
}
.heading--process { font-family: var(--font-body); line-height: 1.25; font-weight: 500;
}
.heading--property { font-family: var(--font-body); line-height: 1.25; font-weight: 500;
}
.heading--footer { font-family: var(--font-body); line-height: 1.3; font-weight: 500;
}
.heading--calendar { font-family: var(--font-body); line-height: 1.25; font-weight: 600;
}

.body-copy { margin-bottom: 0; color: var(--color-copy); line-height: var(--line-height-body);
}
.section-kicker,
.about-kicker,
.services-kicker,
.properties-kicker { color: var(--color-brand); font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
}
.site-title-black,
.hero-title-black { color: var(--color-ink) !important; }
.site-title-blue,
.hero-title-blue { color: var(--color-brand) !important; }
.services-section .site-title-black,
.booking-section .site-title-black { color: var(--color-white) !important; }

/* =========================================================
   SHARED BUTTONS
   ========================================================= */

.top-cta,
.primary,
.revenue-cta__button,
.stays-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: var(--color-brand); color: var(--color-white); font-weight: 600; box-shadow: 0 10px 22px rgba(var(--rgb-brand), .2); transition: transform var(--duration-fast) ease, background var(--duration-fast) ease;
}
.top-cta:hover,
.primary:hover,
.revenue-cta__button:hover,
.stays-btn:hover { transform: translateY(-2px); background: var(--color-brand-hover);
}
.top-cta { padding: 12px 18px; }
.primary { margin-top: 18px; padding: 15px 28px; }
.revenue-cta__button { margin-top: 12px; padding: 15px 24px; }
.stays-btn { margin-top: 12px; padding: 14px 24px; }

/* =========================================================
   HEADER
   ========================================================= */

.header { position: sticky; top: 0; z-index: 100; width: 100%; height: 100px; background: rgba(var(--rgb-white), .98); border-bottom: 1px solid rgba(var(--rgb-border), .9); box-shadow: 0 7px 24px rgba(var(--rgb-shadow), .055); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.header__inner { height: 100%; display: grid; grid-template-columns: 160px 1fr 190px; align-items: center;
}
.brand { display: inline-flex; align-items: center; width: max-content; }
.brand img { width: auto; height: 86px; max-height: 86px; object-fit: contain; }
.nav { display: flex; justify-content: center; gap: 24px; font-weight: 500;
}
.nav--mobile { display: none; }
.nav a { position: relative; padding: 10px 4px; }
.nav a::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 4px; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: center; transition: transform var(--duration-fast) ease;
}
.nav a:hover { color: var(--color-brand); }
.nav a:hover::after,
.nav a:focus-visible::after { transform: scaleX(1); }

/* Mobile drawer-only header elements; revealed at <= 991px. */
.nav-mobile-brand,
.nav-mobile-cta,
.nav-link-arrow { display: none; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-white);
}

/* =========================================================
   HERO
   ========================================================= *//* =========================================================
   SHARED PARTNERS COMPONENT
   ========================================================= */

.partners-section { background: var(--color-white); }
.partners-heading { margin-bottom: 32px; text-align: center; }
.partners-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.partner-card { height: 170px; display: flex; align-items: center; justify-content: center; padding: 28px; border: 1px solid var(--color-border); border-radius: 22px; background: var(--color-white); box-shadow: 0 12px 30px rgba(var(--rgb-shadow), .06); transition: transform var(--duration-medium) ease, border-color var(--duration-medium) ease, box-shadow var(--duration-medium) ease;
}
.partner-card:hover { transform: translateY(-4px); border-color: var(--color-brand-300); box-shadow: 0 18px 36px rgba(var(--rgb-shadow), .10);
}
.partner-card:focus-visible { outline: 3px solid rgba(var(--rgb-brand), .24); outline-offset: 4px; }
.partner-card img { width: auto; max-height: 100px; pointer-events: none; }

/* =========================================================
   INTERNAL PAGE STRUCTURE — shared once
   ========================================================= */

.about-page-intro,
.blog-index-section,
.single-blog__header,
.contact-page-section { scroll-margin-top: 100px;
}
.about-page-intro,
.blog-index-section { padding-top: clamp(68px, 7vw, 104px);
}
.about-page-lead { max-width: 720px; margin-bottom: 22px; color: var(--color-copy); line-height: 1.7;
}
.about-page-lead strong { color: var(--color-ink); }
.single-blog__header { padding-top: clamp(64px, 7vw, 96px); padding-bottom: clamp(42px, 5vw, 64px);
}
.article-title.heading--section { max-width: 980px; margin: 18px 0 20px; line-height: 1.08;
}
.article-section { padding-top: clamp(42px, 5vw, 64px); }

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--color-brand-deep); color: var(--color-white); }
.footer-wrap { position: relative; z-index: 2; padding-block: 74px 30px; }
.footer-grid { grid-template-columns: 1.05fr .72fr .95fr 1.35fr; gap: 36px; }
.footer-brand { min-width: 0; }
.footer-logo-box { width: 190px; display: inline-flex; justify-content: center; padding: 14px; border-radius: var(--radius-md); background: transparent; }
.footer-logo-box img { width: 160px; height: auto; }
.footer-tagline { margin: 22px 0; line-height: 1.3; font-weight: 500; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(var(--rgb-white), .16); border-radius: var(--radius-pill); color: var(--color-white); line-height: 1; }
.footer-social i { display: inline-flex; align-items: center; justify-content: center; width: 1em; height: 1em; line-height: 1; }
.footer-social i::before,
.footer-social span { display: block; line-height: 1; }
.footer-social a:hover { background: rgba(var(--rgb-white), .08); }
.footer-heading { margin: 5px 0 18px; color: var(--color-white); }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list li,
.footer-list a,
.footer-list span { color: var(--color-white); line-height: 1.45; }
.footer-list a { display: inline-flex; width: fit-content; position: relative; transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
}
.footer-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--color-accent-bright); transform: scaleX(0); transform-origin: left center; transition: transform var(--duration-fast) ease;
}
.footer-list a:hover,
.footer-list a:focus-visible { color: var(--color-accent-bright); transform: translateX(3px); }
.footer-list a:hover::after,
.footer-list a:focus-visible::after { transform: scaleX(1); }
.footer-map { position: relative; height: 290px; overflow: hidden; border: 1px solid rgba(var(--rgb-white), .12); border-radius: 20px; }
.footer-map iframe { width: 100%; height: 100%; border: 0; }
.map-service-pills { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.map-service-pills span { padding: 6px 8px; border: 1px solid rgba(var(--rgb-white), .16); border-radius: var(--radius-pill); background: rgba(var(--rgb-overlay-dark), .86); color: var(--color-white); backdrop-filter: blur(8px); }
.footer-bottom { position: relative; min-height: 26px; margin-top: 42px; padding-top: 20px; display: flex; justify-content: center; border-top: 1px solid rgba(var(--rgb-white), .12); color: var(--color-white); text-align: center; }
.footer-bottom a,
.footer-legal a { color: var(--color-white); }
.footer-bottom > div:not(.footer-accent) a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--duration-fast) ease; }
.footer-bottom > div:not(.footer-accent) a:hover,
.footer-bottom > div:not(.footer-accent) a:focus-visible { color: var(--color-accent-bright); }
.footer-accent { position: absolute; left: 0; top: 22px; width: 82px; height: 3px; border-radius: var(--radius-pill); background: var(--color-accent); }

/* =========================================================
   COASTAL DECORATION SYSTEM
   ========================================================= */

.about-section::before,
.services-section::before,
.partners-section::before,
.potential-section::before,
.process-section::before,
.revenue-cta::before,
.booking-section::before,
.stays-section::before,
.things-section::before,
.about-section::after,
.services-section::after,
.partners-section::after,
.potential-section::after,
.process-section::after,
.revenue-cta::after,
.booking-section::after,
.stays-section::after,
.things-section::after,
.site-footer::before,
.site-footer::after { content: ""; position: absolute; z-index: 0; pointer-events: none;
}
.about-section::before,
.potential-section::before,
.revenue-cta::before,
.things-section::before { width: 168px; height: 168px; border: 2px solid rgba(var(--rgb-brand), .09); border-radius: 50%; box-shadow: 0 0 0 18px rgba(var(--rgb-brand), .045), 0 0 0 38px rgba(var(--rgb-brand), .022); animation: sectionRipple 8.5s ease-in-out infinite;
}
.about-section::before { top: 54px; left: -86px; }
.potential-section::before { top: 72px; right: -78px; }
.revenue-cta::before { left: -76px; bottom: 42px; }
.things-section::before { top: 72px; right: -72px; }

.partners-section::before,
.process-section::before,
.stays-section::before { width: 138px; height: 138px; border: 2px solid rgba(var(--rgb-brand), .075); border-radius: 50%; box-shadow: 0 0 0 16px rgba(var(--rgb-brand), .035); animation: sectionRipple 9.5s ease-in-out infinite reverse;
}
.partners-section::before { top: 48px; left: -64px; }
.process-section::before { right: -62px; bottom: 34px; }
.stays-section::before { left: -62px; bottom: 48px; }

.partners-section::after,
.process-section::after,
.stays-section::after { width: 290px; height: 108px; border-radius: var(--radius-pill); background: linear-gradient(180deg, rgba(var(--rgb-accent), .10), rgba(var(--rgb-accent), .035)); animation: sectionDune 10s ease-in-out infinite;
}
.partners-section::after { right: -96px; bottom: 22px; transform: rotate(9deg); }
.process-section::after { top: 72px; left: -104px; transform: rotate(-8deg); }
.stays-section::after { top: 64px; right: -92px; transform: rotate(8deg); }

.about-section::after,
.potential-section::after,
.revenue-cta::after,
.things-section::after { width: 126px; height: 38px; background: radial-gradient(circle, rgba(var(--rgb-brand), .09) 0 21%, transparent 23%) 0 50% / 24px 24px repeat-x; opacity: .72; animation: sectionFoam 7.5s ease-in-out infinite;
}
.about-section::after { right: 5%; bottom: 42px; }
.potential-section::after { left: 4%; bottom: 52px; }
.revenue-cta::after { top: 54px; right: 4%; }
.things-section::after { left: 5%; bottom: 40px; }

.services-section::before,
.booking-section::before { width: 176px; height: 176px; border: 2px solid rgba(var(--rgb-white), .075); border-radius: 50%; box-shadow: 0 0 0 18px rgba(var(--rgb-white), .032), 0 0 0 38px rgba(var(--rgb-brand), .055); animation: sectionRipple 9s ease-in-out infinite;
}
.services-section::before { top: 58px; right: -84px; }
.booking-section::before { left: -86px; bottom: 72px; }
.services-section::after,
.booking-section::after { width: 136px; height: 40px; background: radial-gradient(circle, rgba(var(--rgb-sky), .18) 0 21%, transparent 23%) 0 50% / 25px 25px repeat-x; opacity: .8; animation: sectionFoam 8s ease-in-out infinite;
}
.services-section::after { left: 4%; bottom: 54px; }
.booking-section::after { top: 58px; right: 4%; }

.site-footer::before { width: 164px; height: 164px; top: 52px; right: -74px; border: 2px solid rgba(var(--rgb-white), .07); border-radius: 50%; box-shadow: 0 0 0 18px rgba(var(--rgb-white), .03), 0 0 0 38px rgba(var(--rgb-brand), .05); animation: sectionRipple 9.5s ease-in-out infinite;
}
.site-footer::after { left: 4%; bottom: 34px; width: 126px; height: 38px; background: radial-gradient(circle, rgba(var(--rgb-sky), .16) 0 21%, transparent 23%) 0 50% / 24px 24px repeat-x; opacity: .72; animation: sectionFoam 8s ease-in-out infinite;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes heroRippleLeft { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .9; }
  50% { transform: translate3d(8px, -8px, 0) scale(1.05); opacity: .62; }
}
@keyframes heroRippleRight { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .82; }
  50% { transform: translate3d(-7px, 7px, 0) scale(1.06); opacity: .58; }
}
@keyframes heroDuneDrift { 0%, 100% { transform: rotate(-8deg) translate3d(0, 0, 0); }
  50% { transform: rotate(-5deg) translate3d(14px, -5px, 0); }
}
@keyframes heroShellLeft { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(5px, -10px, 0) rotate(-4deg); }
}
@keyframes heroShellRight { 0%, 100% { transform: scale(.88) translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: scale(.88) translate3d(-5px, -9px, 0) rotate(4deg); }
}
@keyframes heroFoamFloat { 0%, 100% { transform: translate3d(0, 0, 0); opacity: .72; }
  50% { transform: translate3d(-10px, -6px, 0); opacity: 1; }
}
@keyframes sectionRipple { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .88; }
  50% { transform: translate3d(7px, -7px, 0) scale(1.045); opacity: .58; }
}
@keyframes sectionFoam { 0%, 100% { transform: translate3d(0, 0, 0); opacity: .65; }
  50% { transform: translate3d(-9px, -5px, 0); opacity: .92; }
}
@keyframes sectionDune { 0%, 100% { translate: 0 0; }
  50% { translate: 12px -5px; }
}
@keyframes searchPopoverIn { from { opacity: 0; transform: translateY(-5px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes datePopoverIn { from { opacity: 0; transform: translate(-50%, -7px) scale(.985); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

.nav a[aria-current="page"] { color: var(--color-brand); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
