/* ==========================================================================
   Coastline Digital - Premium Styles
   Brand: Navy #0F2744, Sand #D4C4A8, Cream #F7F3EC, Slate #1C2430
   ========================================================================== */

/* Custom Properties */
:root {
  --color-navy: #0F2744;
  --color-navy-light: #1a3a5c;
  --color-sand: #D4C4A8;
  --color-sand-light: #e2d6c2;
  --color-cream: #F7F3EC;
  --color-cream-dark: #ebe5da;
  --color-slate: #1C2430;
  --color-white: #FFFFFF;
  
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --shadow-sm: 0 2px 8px rgba(15, 39, 68, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 39, 68, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 39, 68, 0.12);
  --shadow-glow: 0 0 40px rgba(212, 196, 168, 0.3);
  
  --container-max: 1200px;
  --container-narrow: 720px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-slate);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--color-sand);
  color: var(--color-navy);
}

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

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-sand);
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 6vw + 0.5rem, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw + 0.5rem, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.5rem);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-xl);
  }
}

/* Section Title */
.section__title {
  margin-bottom: var(--space-xl);
  text-align: center;
  position: relative;
}

.section__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-sand), var(--color-sand-light));
  margin: var(--space-md) auto 0;
  border-radius: 2px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 39, 68, 0.06);
  transition: all var(--transition-base);
}

.nav--scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(247, 243, 236, 0.98);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  height: 64px;
}

@media (min-width: 768px) {
  .nav__container {
    padding: var(--space-sm) var(--space-xl);
    height: 72px;
  }
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  transition: opacity var(--transition-fast);
}

.nav__logo:hover {
  color: var(--color-navy);
  opacity: 0.8;
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.nav__toggle:hover {
  background: rgba(15, 39, 68, 0.05);
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-cream);
  padding: var(--space-md);
  border-bottom: 1px solid rgba(15, 39, 68, 0.08);
  flex-direction: column;
  gap: var(--space-xs);
  box-shadow: var(--shadow-md);
}

.nav__menu--open {
  display: flex;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav__link {
  display: block;
  padding: var(--space-sm) var(--space-xs);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-slate);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav__link:hover {
  color: var(--color-navy);
  background: rgba(15, 39, 68, 0.04);
}

/* Desktop nav */
@media (min-width: 768px) {
  .nav__toggle {
    display: none;
  }
  
  .nav__menu {
    display: flex;
    position: static;
    flex-direction: row;
    gap: var(--space-xs);
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }
  
  .nav__link {
    padding: var(--space-xs) var(--space-sm);
    position: relative;
    background: transparent;
  }
  
  .nav__link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: var(--space-sm);
    right: var(--space-sm);
    height: 2px;
    background: var(--color-sand);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-base);
  }
  
  .nav__link:hover {
    background: transparent;
  }
  
  .nav__link:hover::after {
    transform: scaleX(1);
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn--primary {
  background: var(--color-navy);
  color: var(--color-cream);
  box-shadow: 0 4px 16px rgba(15, 39, 68, 0.2);
}

.btn--primary:hover {
  background: var(--color-navy-light);
  color: var(--color-cream);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 39, 68, 0.25);
}

.btn--primary:active {
  transform: translateY(-1px);
}

.btn--full {
  width: 100%;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: calc(64px + var(--space-3xl)) 0 var(--space-3xl);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
}

@media (min-width: 768px) {
  .hero {
    padding: calc(72px + var(--space-4xl)) 0 var(--space-4xl);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  padding: 0.5rem 1rem;
  background: rgba(15, 39, 68, 0.04);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-navy);
  animation: fadeInUp 0.8s ease both;
}

.hero__eyebrow-icon {
  width: 16px;
  height: 16px;
  color: var(--color-sand);
}

.hero__title {
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero__title-accent {
  color: var(--color-sand);
  position: relative;
}

.hero__subtitle {
  font-size: clamp(1.0625rem, 1.5vw + 0.5rem, 1.25rem);
  color: var(--color-slate);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero .btn {
  animation: fadeInUp 0.8s ease 0.3s both;
}

/* Coastal visual elements */
.hero__visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__wave {
  position: absolute;
  bottom: -5%;
  left: -10%;
  right: -10%;
  height: 35%;
  opacity: 0.6;
}

.hero__wave svg {
  width: 100%;
  height: 100%;
}

.hero__wave--back {
  bottom: -2%;
  opacity: 0.3;
  animation: waveMove 12s ease-in-out infinite;
}

.hero__wave--front {
  bottom: -8%;
  opacity: 0.15;
  animation: waveMove 8s ease-in-out infinite reverse;
}

.hero__particles {
  position: absolute;
  inset: 0;
}

.hero__particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--color-sand);
  border-radius: 50%;
  opacity: 0.4;
  animation: float 6s ease-in-out infinite;
}

.hero__particle:nth-child(1) { top: 20%; right: 15%; animation-delay: 0s; }
.hero__particle:nth-child(2) { top: 40%; right: 25%; animation-delay: 1s; width: 4px; height: 4px; }
.hero__particle:nth-child(3) { top: 60%; right: 10%; animation-delay: 2s; width: 8px; height: 8px; }
.hero__particle:nth-child(4) { top: 30%; right: 35%; animation-delay: 3s; width: 5px; height: 5px; }
.hero__particle:nth-child(5) { top: 70%; right: 30%; animation-delay: 4s; }

/* Gradient orb */
.hero__orb {
  position: absolute;
  top: 10%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(212, 196, 168, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.6;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* ==========================================================================
   Services
   ========================================================================== */

.services {
  padding: var(--space-3xl) 0 var(--space-4xl);
  background: var(--color-white);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 39, 68, 0.08), transparent);
}

.services__list {
  list-style: none;
  display: grid;
  gap: var(--space-md);
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.services__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-cream);
  border-radius: var(--radius-md);
  font-size: 1rem;
  line-height: 1.6;
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.services__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 196, 168, 0.3);
}

.services__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-sand-light) 100%);
  border-radius: var(--radius-sm);
  color: var(--color-navy);
  box-shadow: 0 4px 12px rgba(212, 196, 168, 0.3);
}

.services__icon svg {
  width: 22px;
  height: 22px;
}

.services__text {
  padding-top: 0.25rem;
}

/* ==========================================================================
   Offers
   ========================================================================== */

.offers {
  padding: var(--space-4xl) 0;
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
}

/* Subtle pattern overlay */
.offers::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='%23D4C4A8' fill-opacity='0.02'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  opacity: 0.5;
}

.offers > .container {
  position: relative;
  z-index: 1;
}

.offers .section__title {
  color: var(--color-cream);
}

.offers .section__title::after {
  background: linear-gradient(90deg, var(--color-sand), transparent);
}

.offers__grid {
  display: grid;
  gap: var(--space-lg);
}

.offer {
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 196, 168, 0.12);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.offer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-sand), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.offer:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 196, 168, 0.25);
  box-shadow: var(--shadow-glow);
}

.offer:hover::before {
  opacity: 1;
}

.offer__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-md);
  background: rgba(212, 196, 168, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-sand);
}

.offer__icon svg {
  width: 28px;
  height: 28px;
}

.offer__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.offer__text {
  color: rgba(247, 243, 236, 0.8);
  line-height: 1.75;
  font-size: 0.9375rem;
}

.offer__sample-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  padding: 0.5rem 0.875rem;
  background: rgba(212, 196, 168, 0.15);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-sand);
  transition: all var(--transition-fast);
}

.offer__sample-link:hover {
  background: rgba(212, 196, 168, 0.25);
  color: var(--color-cream);
  transform: translateX(4px);
}

@media (min-width: 768px) {
  .offers__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

/* ==========================================================================
   Who it is for
   ========================================================================== */

.who {
  padding: var(--space-4xl) 0;
  background: var(--color-cream);
  position: relative;
}

.who__grid {
  display: grid;
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.who__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.who__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-sand-light);
}

.who__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
  border-radius: 50%;
  color: var(--color-navy);
  box-shadow: inset 0 2px 4px rgba(15, 39, 68, 0.05);
}

.who__icon svg {
  width: 32px;
  height: 32px;
}

.who__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-slate);
}

@media (min-width: 640px) {
  .who__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .who__card {
    text-align: left;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-lg);
  }
  
  .who__icon {
    flex-shrink: 0;
    margin-bottom: 0;
  }
}

/* ==========================================================================
   How we work
   ========================================================================== */

.how {
  padding: var(--space-4xl) 0;
  background: var(--color-white);
  position: relative;
}

.how::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 39, 68, 0.08), transparent);
}

.how__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: var(--container-narrow);
  margin: 0 auto var(--space-xl);
  position: relative;
}

/* Connecting line */
.how__steps::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 48px;
  bottom: 48px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-sand), var(--color-cream-dark));
  border-radius: 1px;
}

@media (min-width: 640px) {
  .how__steps::before {
    left: 28px;
  }
}

.how__step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  position: relative;
}

.how__number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-navy);
  color: var(--color-cream);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(15, 39, 68, 0.2);
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .how__number {
    width: 56px;
    height: 56px;
    font-size: 1.375rem;
  }
}

.how__step-content {
  padding-top: 0.5rem;
}

.how__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-slate);
}

.how__note {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
  border-left: 4px solid var(--color-sand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.9375rem;
  color: var(--color-slate);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  padding: var(--space-4xl) 0;
  background: linear-gradient(180deg, var(--color-cream-dark) 0%, var(--color-cream) 100%);
  position: relative;
}

.contact__wrapper {
  max-width: 540px;
  margin: 0 auto;
}

.contact__success {
  max-width: 540px;
  margin: 0 auto var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-white);
  border: 2px solid var(--color-sand);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--color-navy);
  font-weight: 500;
  box-shadow: var(--shadow-md);
}

.contact__success p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 39, 68, 0.04);
}

@media (min-width: 480px) {
  .contact__form {
    padding: var(--space-2xl);
  }
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.01em;
}

.form__input {
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-slate);
  background: var(--color-cream);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.form__input:hover {
  background: var(--color-cream-dark);
}

.form__input:focus {
  outline: none;
  background: var(--color-white);
  border-color: var(--color-navy);
  box-shadow: 0 0 0 4px rgba(15, 39, 68, 0.08);
}

.form__input::placeholder {
  color: rgba(28, 36, 48, 0.35);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__alt {
  margin-top: var(--space-lg);
  text-align: center;
}

.contact__email-note {
  font-size: 0.9375rem;
  color: var(--color-slate);
}

.contact__email-note a {
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-sand);
  text-decoration-thickness: 2px;
  transition: all var(--transition-fast);
}

.contact__email-note a:hover {
  color: var(--color-sand);
  text-decoration-color: var(--color-navy);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--color-navy);
  color: var(--color-cream);
  position: relative;
  overflow: hidden;
}

/* Subtle gradient overlay */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-sand), transparent);
  opacity: 0.3;
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(212, 196, 168, 0.1);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-cream);
  letter-spacing: -0.02em;
}

.footer__tagline {
  font-size: 0.9375rem;
  color: rgba(247, 243, 236, 0.6);
  line-height: 1.5;
}

.footer__email {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-sand);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.footer__email:hover {
  color: var(--color-cream);
  transform: translateX(4px);
}

.footer__location {
  font-size: 0.875rem;
  color: rgba(247, 243, 236, 0.5);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
}

.footer__link {
  font-size: 0.9375rem;
  color: rgba(247, 243, 236, 0.6);
  transition: all var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-cream);
}

.footer__disclosure {
  padding: var(--space-lg) 0 var(--space-md);
  font-size: 0.8125rem;
  color: rgba(247, 243, 236, 0.4);
  text-align: center;
  line-height: 1.6;
}

.footer__copyright {
  font-size: 0.75rem;
  color: rgba(247, 243, 236, 0.3);
  text-align: center;
}

@media (min-width: 640px) {
  .footer__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ==========================================================================
   Utilities
   ========================================================================== */

[hidden] {
  display: none !important;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  html {
    scroll-behavior: auto;
  }
  
  .hero__particle,
  .hero__wave,
  .hero__orb {
    animation: none !important;
  }
  
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* Print styles */
@media print {
  .nav,
  .hero__visual,
  .contact__form,
  .hero__particles,
  .hero__orb {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .offers {
    background: #f5f5f5;
  }
  
  .footer {
    background: #333;
  }
}
