/* ============================================
   Frank & Partners — Static Site Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-black: #0a0a0a;
  --color-dark: #1a1a1a;
  --color-gold: #c9a84c;
  --color-gold-light: #d4b86a;
  --color-cream: #f5f0e8;
  --color-white: #ffffff;
  --color-gray-100: #f7f7f7;
  --color-gray-200: #e8e8e8;
  --color-gray-400: #999;
  --color-gray-600: #666;
  --color-gray-800: #333;
  --color-text: #1a1a1a;
  --color-text-light: #666;

  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --font-accent: 'Playfair Display', serif;

  --max-width: 1400px;
  --section-padding: clamp(60px, 10vw, 140px);
  --side-padding: clamp(20px, 5vw, 80px);

  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* --- Typography --- */
.heading-xl {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

.heading-lg {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.02em;
}

.heading-md {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.heading-sm {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.text-lg {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.8;
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* --- Underline Animation --- */
.underline-draw {
  position: relative;
  display: inline-block;
}

.underline-draw::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.underline-draw.revealed::after {
  width: 100%;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px var(--side-padding);
  transition: all var(--transition-slow);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px var(--side-padding);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 40px;
  transition: transform var(--transition-base);
}

.logo:hover {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

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

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

.nav-links a.btn-consultation {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-white);
  background: transparent;
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-block;
  font-weight: 400;
  white-space: nowrap;
}

.nav-links a.btn-consultation:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-black);
  transform: none;
  box-shadow: none;
}

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

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgb(10, 10, 10);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition-slow);
  padding: 8px 0;
}

.mobile-nav a:hover {
  color: var(--color-gold);
}

/* Override btn-primary inside mobile nav */
.mobile-nav a.btn-primary {
  margin-top: 16px;
  font-size: 0.8rem;
  padding: 14px 32px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
}

.mobile-nav a.btn-primary:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: transparent;
  transform: none;
  box-shadow: none;
}

.mobile-nav.active a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.active a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.active a:nth-child(5) { transition-delay: 0.3s; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  background: #000000;
  display: flex;
  align-items: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

/* Video Background */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: grayscale(100%) brightness(0.35);
}

/* Hide Safari's native play button overlay */
.hero-video-bg video::-webkit-media-controls {
  display: none !important;
}
.hero-video-bg video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(10, 10, 10, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--side-padding);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  color: var(--color-white);
  font-weight: 300;
  line-height: 1.15;
  max-width: 950px;
  letter-spacing: -0.02em;
}

.hero h1 .gold {
  color: var(--color-gold);
}

.hero-tagline {
  margin-top: 40px;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  line-height: 1.9;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: none;
  border-left: 1px solid var(--color-gold);
  padding-left: 20px;
}

.hero-cta {
  margin-top: 48px;
  display: flex;
  gap: 24px;
  align-items: center;
}

.btn-primary {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-black);
  background: var(--color-gold);
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-block;
}

.btn-primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.25);
}

.btn-outline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
  background: transparent;
  padding: 16px 40px;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* Animated gold line */
.hero-line {
  position: absolute;
  bottom: 80px;
  left: var(--side-padding);
  width: 1px;
  height: 60px;
  overflow: hidden;
}

.hero-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--color-gold));
  animation: lineSlide 2s ease-in-out infinite;
}

@keyframes lineSlide {
  0% { top: -100%; }
  50% { top: 100%; }
  50.01% { top: -100%; }
  100% { top: 100%; }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-indicator .arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--color-gold);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.8;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: var(--section-padding) 0;
  background: var(--color-dark);
  color: var(--color-white);
  position: relative;
}

.services .section-label {
  color: var(--color-gold);
}

.services .section-label::before {
  background: var(--color-gold);
}

.services .section-title {
  color: var(--color-white);
}

.services .section-subtitle {
  color: rgba(255,255,255,0.5);
}

.services-header {
  margin-bottom: 80px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.service-card {
  background: transparent;
  padding: clamp(36px, 4vw, 52px);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Gold top-left corner accent */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 0;
  background: var(--color-gold);
  transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animate on scroll reveal (desktop: 60px, then hover expands fully) */
.service-card.revealed::before {
  width: 60px;
}

.service-card.revealed::after {
  height: 60px;
}

/* Stagger the animation per card */
.service-card:nth-child(1) { --card-delay: 0s; }
.service-card:nth-child(2) { --card-delay: 0.15s; }
.service-card:nth-child(3) { --card-delay: 0.3s; }
.service-card:nth-child(4) { --card-delay: 0.45s; }
.service-card:nth-child(5) { --card-delay: 0.6s; }
.service-card:nth-child(6) { --card-delay: 0.75s; }

.service-card::before,
.service-card::after {
  transition-delay: var(--card-delay, 0s);
}

/* Expand fully on hover (desktop) */
.service-card:hover::before {
  width: 100%;
}

.service-card:hover::after {
  height: 100%;
}

/* Mobile: progressive scroll-driven line animation */
@media (hover: none) {
  .service-card.revealed::before {
    width: calc(var(--line-progress, 0.3) * 100%);
    transition: none;
  }
  .service-card.revealed::after {
    height: calc(var(--line-progress, 0.3) * 100%);
    transition: none;
  }
}

.service-card:hover {
  background: rgba(255,255,255,0.03);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: rgba(201, 168, 76, 0.12);
  margin-bottom: 20px;
  display: block;
  font-weight: 300;
  line-height: 1;
  transition: color var(--transition-slow);
}

.service-card:hover .service-number {
  color: rgba(201, 168, 76, 0.25);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  margin-bottom: 16px;
  font-weight: 400;
  color: var(--color-white);
  transition: color var(--transition-base);
}

.service-card:hover h3 {
  color: var(--color-gold);
}

.service-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  transition: color var(--transition-slow);
}

.service-card:hover p {
  color: rgba(255,255,255,0.65);
}

/* ============================================
   PROPERTIES / TRANSACTIONS
   ============================================ */
.properties {
  padding: var(--section-padding) 0;
  background: var(--color-black);
  color: var(--color-white);
}

.properties .section-subtitle {
  color: rgba(255,255,255,0.5);
}

.properties-header {
  margin-bottom: 60px;
}

.properties-carousel {
  position: relative;
  overflow: hidden;
  max-width: var(--max-width);
  margin: 0 auto;
}

.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16/7;
}

.property-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-slide.active {
  opacity: 1;
}

.property-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.5);
}

.property-slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(32px, 5vw, 60px);
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.property-slide-info h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--color-white);
  font-weight: 300;
  margin-bottom: 6px;
  line-height: 1.2;
}

.property-detail {
  font-size: clamp(0.8rem, 1.1vw, 0.9rem);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 6px;
}

.property-price {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  color: var(--color-gold);
  display: block;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 24px 0 0;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.carousel-dot.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.carousel-dot:hover {
  border-color: var(--color-gold);
}

/* ============================================
   ABOUT / TEAM
   ============================================ */
.about {
  padding: var(--section-padding) 0;
  background: var(--color-cream);
}

.about-header {
  margin-bottom: 80px;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 100px;
}

.about-intro-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 24px;
  font-weight: 300;
}

.about-intro-text p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.team-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.team-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
  filter: grayscale(20%);
}

.team-card:hover .team-photo img {
  transform: scale(1.03);
  filter: grayscale(0%);
}

.team-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
  display: block;
}

.team-info p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.team-languages {
  font-size: 0.85rem;
  color: var(--color-text);
  font-weight: 500;
  margin-top: 16px;
}

.team-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-top: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--color-gray-200);
  transition: all var(--transition-base);
}

.team-social a:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

/* Affiliations */
.affiliations {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.affiliations img {
  height: 50px;
  opacity: 0.5;
  transition: opacity var(--transition-base);
  filter: grayscale(100%);
}

.affiliations img:hover {
  opacity: 0.8;
  filter: grayscale(0%);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: var(--section-padding) 0;
  background: var(--color-black);
  color: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-form-wrapper {
  max-width: 560px;
}

.contact-form-wrapper h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  margin-bottom: 16px;
}

.contact-form-wrapper .section-subtitle {
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}

#contactForm {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: clamp(28px, 4vw, 44px);
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-base);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  background: rgba(255,255,255,0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

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

.btn-submit {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-black);
  background: var(--color-gold);
  padding: 16px 48px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  margin-top: 16px;
}

.btn-submit:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.25);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-detail {
  margin-bottom: 40px;
}

.contact-detail h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.contact-detail p, .contact-detail a {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.contact-detail a:hover {
  color: var(--color-white);
}

.contact-hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 24px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

.contact-hours strong {
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  color: rgba(255,255,255,0.6);
}

.social-links a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 60px var(--side-padding) 32px;
  background: var(--color-black);
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.4);
}

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-top: 20px;
  max-width: 320px;
}

.footer-brand .logo {
  height: 32px;
  opacity: 0.7;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
  transition: color var(--transition-base);
}

.footer-col a:hover {
  color: var(--color-white);
}

.footer-col p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255,255,255,0.25);
  transition: color var(--transition-base);
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: var(--color-gold);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ============================================
   ARTICLES PAGE
   ============================================ */
.page-header {
  padding: 160px 0 80px;
  background: var(--color-black);
  color: var(--color-white);
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: var(--section-padding) 0;
}

.article-card {
  transition: transform var(--transition-base);
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  margin-bottom: 24px;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-card-meta {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-400);
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
}

.article-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.3;
  transition: color var(--transition-base);
}

.article-card:hover h3 {
  color: var(--color-gold);
}

.article-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   INDIVIDUAL ARTICLE PAGE
   ============================================ */
.article-hero {
  padding: 160px 0 60px;
  background: var(--color-black);
  color: var(--color-white);
}

.article-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.article-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 24px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px var(--side-padding) var(--section-padding);
}

.article-content h2 {
  font-size: 1.75rem;
  margin: 48px 0 16px;
}

.article-content h3 {
  font-size: 1.35rem;
  margin: 32px 0 12px;
}

.article-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--color-gray-800);
}

.article-content ul, .article-content ol {
  margin: 20px 0;
  padding-left: 24px;
  list-style: disc;
}

.article-content li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--color-gray-800);
}

/* ============================================
   POLICY PAGES
   ============================================ */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px var(--side-padding) var(--section-padding);
}

.policy-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
}

.policy-content p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--color-gray-800);
}

.policy-content ul {
  margin: 16px 0;
  padding-left: 24px;
  list-style: disc;
}

.policy-content li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--color-gray-800);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hamburger {
    display: flex;
  }

  /* Hero mobile fixes */
  .hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .hero-tagline {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-top: 24px;
    padding-left: 16px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 32px;
  }

  .btn-primary,
  .btn-outline {
    padding: 14px 32px;
    font-size: 0.7rem;
  }

  /* Services mobile */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    aspect-ratio: 3/4;
  }

  /* Team photos: use top positioning to show faces */
  .team-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .team-photo {
    aspect-ratio: 3/4;
    max-width: 260px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

  .affiliations {
    flex-wrap: wrap;
    gap: 30px;
  }
}

/* ============================================
   PAGE TRANSITION
   ============================================ */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--color-black);
  z-index: 9999;
  transform: scaleY(1);
  transform-origin: top;
  animation: pageReveal 0.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes pageReveal {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: top; }
}

/* ============================================
   CUSTOM CURSOR (optional enhancement)
   ============================================ */
@media (hover: hover) {
  .property-card,
  .article-card {
    cursor: pointer;
  }
}

/* ============================================
   LOADING ANIMATION
   ============================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--color-black);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.loaded {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  width: 200px;
  opacity: 0;
  animation: logoFade 1s ease-out 0.2s forwards;
}

@keyframes logoFade {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Gold shimmer effect on hover for service cards */
.service-card:hover .service-number {
  text-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

/* Smooth image reveal */
.img-reveal {
  overflow: hidden;
  position: relative;
}

.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-cream);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.img-reveal.revealed::after {
  transform: scaleX(0);
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--color-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px var(--side-padding);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.cookie-banner a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn-accept {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--color-gold);
  color: var(--color-black);
  border: none;
  padding: 10px 24px;
  cursor: pointer;
  transition: all var(--transition-base);
  font-weight: 500;
}

.cookie-btn-accept:hover {
  background: var(--color-gold-light);
}

.cookie-btn-decline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 24px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.cookie-btn-decline:hover {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner-buttons {
    width: 100%;
    justify-content: center;
  }
}
